import{C}from"./Blur.d6d433b6.js";import{b as L}from"./index.fadde3df.js";import{B as k}from"./Caret.baea7fe0.js";import{x as t,o as r,k as u,l as s,a as _,t as i,z as n,A as g,c as P,b as h}from"./vue.runtime.esm-bundler.308f2021.js";import{_ as f}from"./_plugin-vue_export-helper.5bcc150c.js";import{R as v}from"./RequiredPlans.8a901e64.js";import{C as B}from"./Card.3bd391bc.js";import{C as x}from"./ProBadge.bf5a3f4e.js";import{C as E}from"./Index.6f50ed01.js";import{S as I}from"./Download.1d6c4d94.js";import{C as A}from"./Cta.26be2204.js";import{A as w}from"./AddonConditions.04a16b73.js";import"./links.bbde6535.js";import"./default-i18n.3881921e.js";import"./isArrayLikeObject.965a2149.js";import"./addons.c8e26c5a.js";import"./upperFirst.56425447.js";import"./_stringToArray.4de3b1f3.js";import"./toString.1bb388e8.js";import"./license.5bf5af6e.js";import"./Tooltip.432f1167.js";import"./Slide.22dc72dc.js";import"./Row.16199427.js";import"./constants.b87c371e.js";const D={components:{BaseButton:k,BaseSelect:L,CoreBlur:C},data(){return{strings:{importOthersDescription:this.$t.sprintf(this.$t.__("Choose a plugin to import Local SEO directly into %1$s.",this.$td),"AIOSEO"),selectPlugin:this.$t.__("Select a plugin...",this.$td),import:this.$t.__("Import",this.$td),allLocalSeo:this.$t.__("All Local Seo",this.$td),notInstalled:this.$t.__("not installed",this.$td)}}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}},F={class:"aioseo-section-description"},U={class:"import-plugin-label"},V={class:"plugin-label"};function R(e,m,$,S,o,d){const l=t("base-select"),a=t("base-button"),c=t("core-blur");return r(),u(c,null,{default:s(()=>[_("div",F,i(o.strings.importOthersDescription),1),n(l,{size:"medium",modelValue:e.plugin,"onUpdate:modelValue":m[0]||(m[0]=p=>e.plugin=p),options:d.plugins,placeholder:o.strings.selectPlugin},{option:s(({option:p})=>[_("div",U,[_("span",V,i(p.label),1)])]),_:1},8,["modelValue","options","placeholder"]),n(a,{type:"blue",size:"medium",class:"import"},{default:s(()=>[g(i(o.strings.import),1)]),_:1})]),_:1})}const N=f(D,[["render",R]]);const q={components:{SvgDownload:I,Blur:N,Cta:E,CoreCard:B,CoreProBadge:x,RequiredPlans:v},data(){return{importSuccess:!1,importError:!1,options:{},plugin:null,loading:!1,strings:{importLocalSeoFromOtherPlugins:this.$t.__("Import Local SEO From Other Plugins",this.$td),ctaButtonText:this.$t.__("Unlock Local SEO",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Local SEO is a %1$s Feature",this.$td),"PRO"),ctaDescription:this.$t.__("Import your Local SEO settings and locations from other plugins.",this.$td)},features:[this.$t.__("Yoast SEO",this.$td),this.$t.__("Rank Math SEO",this.$td),this.$t.__("SEOPress",this.$td)]}},computed:{plugins(){return[{value:"yoast-seo",label:"yoast-seo",canImport:!1,version:"1.0.0",$isDisabled:!1}]}}};function z(e,m,$,S,o,d){const l=t("svg-download"),a=t("core-pro-badge"),c=t("blur"),p=t("required-plans"),O=t("cta"),y=t("core-card");return r(),u(y,{class:"aioseo-local-seo-import-others-lite",slug:"importOtherPluginsLocalSeo",toggles:!1,"no-slide":""},{"header-icon":s(()=>[n(l)]),header:s(()=>[_("span",null,i(o.strings.importLocalSeoFromOtherPlugins),1),n(a)]),default:s(()=>[n(c),n(O,{"cta-link":e.$links.getPricingUrl("local-seo","local-seo-upsell","import"),"button-text":o.strings.ctaButtonText,"learn-more-link":e.$links.getUpsellUrl("local-seo",null,"home"),"feature-list":o.features},{"header-text":s(()=>[g(i(o.strings.ctaHeader),1)]),description:s(()=>[n(p,{addon:"aioseo-local-business"}),g(" "+i(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])]),_:1})}const b=f(q,[["render",z]]),T={mixins:[w],components:{Import:b,Lite:b,Cta:A},data(){return{addonSlug:"aioseo-local-business",strings:{importLocalSeoFromOtherPlugins:this.$t.__("Import Local SEO From Other Plugins",this.$td)}}}};function H(e,m,$,S,o,d){const l=t("import",!0),a=t("cta"),c=t("lite");return r(),P("div",null,[e.shouldShowMain?(r(),u(l,{key:0})):h("",!0),e.shouldShowUpdate||e.shouldShowActivate?(r(),u(a,{key:1,"card-slug":"localBusinessImport","header-text":o.strings.importLocalSeoFromOtherPlugins},null,8,["header-text"])):h("",!0),e.shouldShowLite?(r(),u(c,{key:2})):h("",!0)])}const dt=f(T,[["render",H]]);export{dt as default};
