관리-도구
편집 파일: Import.144e7pug.js
import{l as B}from"./index.ba51ghj9.js";import{C as E}from"./Blur.mu93d3e2.js";import{b as I}from"./index.kaabvvzj.js";import{_ as w}from"./Caret.dwp6xpza.js";import"./translations.b896ab1m.js";import{_ as C}from"./_plugin-vue_export-helper.oebm7xum.js";import{a as L,_ as e}from"./default-i18n.hohxoesu.js";import{v as t,o as a,k as m,l as s,a as h,t as i,C as l,x as k,c as D,u as n,b as O}from"./runtime-dom.esm-bundler.h3clfjuw.js";import{R as F}from"./RequiredPlans.fcb8z72b.js";import{C as U}from"./Card.0q0mr1wq.js";import{C as V}from"./ProBadge.e32os6n3.js";import{C as A}from"./Index.jq0lth54.js";import{S as R}from"./Download.cmimu09k.js";import{C as $}from"./Cta.s0osod2h.js";import{u as N}from"./AddonConditions.ji5vd84m.js";import"./helpers.lwqbledo.js";import"./addons.eq04tz3m.js";import"./upperFirst.bgyeasim.js";import"./_stringToArray.mpukyt2g.js";import"./toString.oppn28a8.js";import"./license.ij9c7ra4.js";import"./Tooltip.i4md1nj9.js";import"./Slide.dop8j51m.js";import"./Row.h4gujlzc.js";import"./constants.hcfrsngk.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}]}}},T={class:"aioseo-section-description"},z={class:"import-plugin-label"},H={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",T,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",z,[h("span",H,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]]),Oo={__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{Oo as default};