import{a as B}from"./index.bb0afb15.js";import{C as E}from"./Blur.601d8ea8.js";import{b as I}from"./index.7fee6f1a.js";import{_ as w}from"./Caret.7cc96622.js";import"./translations.d159963e.js";import{_ as C}from"./_plugin-vue_export-helper.eefbdd86.js";import{s as L,_ as e}from"./default-i18n.20001971.js";import{v as t,o as a,k as m,l as s,a as h,t as i,H as l,x as k,c as D,u as n,b as O}from"./runtime-dom.esm-bundler.baf35205.js";import{R as F}from"./RequiredPlans.d562d70d.js";import{C as U}from"./Card.16558ba3.js";import{C as V}from"./ProBadge.2e262a91.js";import{C as A}from"./Index.9f340035.js";import{S as R}from"./Download.7a5bbc25.js";import{C as $}from"./Cta.27e22a04.js";import{u as N}from"./AddonConditions.37007fe7.js";import"./helpers.80db7619.js";import"./addons.9733312c.js";import"./upperFirst.ebdcbcf5.js";import"./toString.5aade9aa.js";import"./license.48e46450.js";import"./Tooltip.78b61f71.js";import"./Slide.1db617da.js";import"./Row.c7b7fb90.js";import"./constants.a8a14dc3.js";const f="all-in-one-seo-pack",q={components:{BaseButton:w,BaseSelect:I,CoreBlur:E},data(){return{plugin:null,strings:{importOthersDescription:L(e("Choose a plugin to import Local SEO directly into %1$s.",f),"AIOSEO"),selectPlugin:e("Select a plugin...",f),import:e("Import",f),notInstalled:e("not installed",f)}}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}},H={class:"aioseo-section-description"},T={class:"import-plugin-label"},z={class:"plugin-label"};function M(x,c,b,S,o,_){const p=t("base-select"),d=t("base-button"),g=t("core-blur");return a(),m(g,null,{default:s(()=>[h("div",H,i(o.strings.importOthersDescription),1),l(p,{size:"medium",modelValue:o.plugin,"onUpdate:modelValue":c[0]||(c[0]=u=>o.plugin=u),options:_.plugins,placeholder:o.strings.selectPlugin},{option:s(({option:u})=>[h("div",T,[h("span",z,i(u.label),1)])]),_:1},8,["modelValue","options","placeholder"]),l(d,{type:"blue",size:"medium",class:"import"},{default:s(()=>[k(i(o.strings.import),1)]),_:1})]),_:1})}const Y=C(q,[["render",M]]),r="all-in-one-seo-pack",j={components:{SvgDownload:R,Blur:Y,Cta:A,CoreCard:U,CoreProBadge:V,RequiredPlans:F},data(){return{links:B,importSuccess:!1,importError:!1,options:{},plugin:null,loading:!1,strings:{importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",r),ctaButtonText:e("Unlock Local SEO",r),ctaHeader:L(e("Local SEO is a %1$s Feature",r),"PRO"),ctaDescription:e("Import your Local SEO settings and locations from other plugins.",r)},features:[e("Yoast SEO",r),e("Rank Math SEO",r),e("SEOPress",r)]}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}};function G(x,c,b,S,o,_){const p=t("svg-download"),d=t("core-pro-badge"),g=t("blur"),u=t("required-plans"),P=t("cta"),v=t("core-card");return a(),m(v,{class:"aioseo-local-seo-import-others-lite",slug:"importOtherPluginsLocalSeo",toggles:!1,"no-slide":""},{"header-icon":s(()=>[l(p)]),header:s(()=>[h("span",null,i(o.strings.importLocalSeoFromOtherPlugins),1),l(d)]),default:s(()=>[l(g),l(P,{"cta-link":o.links.getPricingUrl("local-seo","local-seo-upsell","import"),"button-text":o.strings.ctaButtonText,"learn-more-link":o.links.getUpsellUrl("local-seo",null,"home"),"feature-list":o.features},{"header-text":s(()=>[k(i(o.strings.ctaHeader),1)]),description:s(()=>[l(u,{addon:"aioseo-local-business"}),k(" "+i(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])]),_:1})}const y=C(j,[["render",G]]),So={__name:"Import",setup(x){const c="all-in-one-seo-pack",{shouldShowActivate:b,shouldShowLite:S,shouldShowMain:o,shouldShowUpdate:_}=N({addonSlug:"aioseo-local-business"}),p={importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",c)};return(d,g)=>(a(),D("div",null,[n(o)?(a(),m(n(y),{key:0})):O("",!0),n(_)||n(b)?(a(),m(n($),{key:1,"card-slug":"localBusinessImport","header-text":p.importLocalSeoFromOtherPlugins},null,8,["header-text"])):O("",!0),n(S)?(a(),m(n(y),{key:2})):O("",!0)]))}};export{So as default};
