import{j as v,b as E}from"./index.bd66e758.js";import{C as I}from"./Blur.4fe4b9a3.js";import{a as U}from"./index.eb92a2a8.js";import{_ as w}from"./Caret.382b7591.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{x as t,o as i,l as m,m as s,a as S,t as a,H as l,y as k,c as D,u as n,b as y}from"./runtime-dom.esm-bundler.5d5e6b71.js";import{R as F}from"./RequiredPlans.54d3867a.js";import{C as V}from"./Card.88a70537.js";import{C as A}from"./ProBadge.aeac9858.js";import{C as R}from"./Index.1a358ca4.js";import{S as N}from"./Download.cd0121de.js";import{C as $}from"./Cta.2e110243.js";import{u as q}from"./AddonConditions.21ed0fed.js";import"./helpers.bf0d86e6.js";import"./addons.efc46fe0.js";import"./upperFirst.9b123e9b.js";import"./license.32be7976.js";import"./Tooltip.418c677c.js";import"./Slide.a525748d.js";import"./Row.aff98451.js";import"./constants.fe8bda37.js";const h="all-in-one-seo-pack",H={components:{BaseButton:w,BaseSelect:U,CoreBlur:I},data(){return{plugin:null,strings:{importOthersDescription:L(e("Choose a plugin to import Local SEO directly into %1$s.",h),"AIOSEO"),selectPlugin:e("Select a plugin...",h),import:e("Import",h),notInstalled:e("not installed",h)}}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}},T={class:"aioseo-section-description"},z={class:"import-plugin-label"},M={class:"plugin-label"};function j(b,c,O,_,o,d){const p=t("base-select"),g=t("base-button"),f=t("core-blur");return i(),m(f,null,{default:s(()=>[S("div",T,a(o.strings.importOthersDescription),1),l(p,{size:"medium",modelValue:o.plugin,"onUpdate:modelValue":c[0]||(c[0]=u=>o.plugin=u),options:d.plugins,placeholder:o.strings.selectPlugin},{option:s(({option:u})=>[S("div",z,[S("span",M,a(u.label),1)])]),_:1},8,["modelValue","options","placeholder"]),l(g,{type:"blue",size:"medium",class:"import"},{default:s(()=>[k(a(o.strings.import),1)]),_:1})]),_:1})}const Y=C(H,[["render",j]]),r="all-in-one-seo-pack",G={setup(){return{licenseStore:v()}},components:{SvgDownload:N,Blur:Y,Cta:R,CoreCard:V,CoreProBadge:A,RequiredPlans:F},data(){return{links:E,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 J(b,c,O,_,o,d){const p=t("svg-download"),g=t("core-pro-badge"),f=t("blur"),u=t("required-plans"),P=t("cta"),B=t("core-card");return i(),m(B,{class:"aioseo-local-seo-import-others-lite",slug:"importOtherPluginsLocalSeo",toggles:!1,"no-slide":""},{"header-icon":s(()=>[l(p)]),header:s(()=>[S("span",null,a(o.strings.importLocalSeoFromOtherPlugins),1),l(g)]),default:s(()=>[l(f),l(P,{"cta-link":o.links.getPricingUrl("local-seo","local-seo-upsell","import","liteUpgrade"),"button-text":o.strings.ctaButtonText,"learn-more-link":o.links.getUpsellUrl("local-seo","local-seo-upsell","liteUpgrade"),"feature-list":o.features,"hide-bonus":!_.licenseStore.isUnlicensed},{"header-text":s(()=>[k(a(o.strings.ctaHeader),1)]),description:s(()=>[l(u,{addon:"aioseo-local-business"}),k(" "+a(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list","hide-bonus"])]),_:1})}const x=C(G,[["render",J]]),bo={__name:"Import",setup(b){const c="all-in-one-seo-pack",{shouldShowActivate:O,shouldShowLite:_,shouldShowMain:o,shouldShowUpdate:d}=q({addonSlug:"aioseo-local-business"}),p={importLocalSeoFromOtherPlugins:e("Import Local SEO From Other Plugins",c)};return(g,f)=>(i(),D("div",null,[n(o)?(i(),m(n(x),{key:0})):y("",!0),n(d)||n(O)?(i(),m(n($),{key:1,"card-slug":"localBusinessImport","header-text":p.importLocalSeoFromOtherPlugins},null,8,["header-text"])):y("",!0),n(_)?(i(),m(n(x),{key:2})):y("",!0)]))}};export{bo as default};
