관리-도구
편집 파일: Maps.k1rv3bsu.js
import{m as M,u as P,l as B}from"./index.ba51ghj9.js";import{C as K}from"./Blur.mu93d3e2.js";import{C as U}from"./SettingsRow.d9u0swi1.js";import{C as L}from"./Index.jjaonhxt.js";import"./translations.b896ab1m.js";import{_ as b}from"./_plugin-vue_export-helper.oebm7xum.js";import{_ as e,a as R}from"./default-i18n.hohxoesu.js";import{v as s,o as c,c as k,C as t,l as a,a as v,t as u,x as w,u as i,k as y,b as h}from"./runtime-dom.esm-bundler.h3clfjuw.js";import{R as G}from"./RequiredPlans.fcb8z72b.js";import{C as I}from"./Card.0q0mr1wq.js";import{C as D}from"./ProBadge.e32os6n3.js";import{C as E}from"./Index.jq0lth54.js";import{C as N}from"./Cta.s0osod2h.js";import{u as O}from"./AddonConditions.ji5vd84m.js";import"./helpers.lwqbledo.js";import"./Row.h4gujlzc.js";import"./Tooltip.i4md1nj9.js";import"./CheckSolid.ktze41sq.js";import"./index.kaabvvzj.js";import"./Caret.dwp6xpza.js";import"./Slide.dop8j51m.js";import"./addons.eq04tz3m.js";import"./upperFirst.bgyeasim.js";import"./_stringToArray.mpukyt2g.js";import"./toString.oppn28a8.js";import"./license.ij9c7ra4.js";import"./constants.hcfrsngk.js";const C="all-in-one-seo-pack",V={components:{CoreBlur:K,CoreSettingsRow:U,CoreUiElementSlider:L},data(){return{strings:{description:e("Integrating with Google Maps will allow your users to find exactly where your business is located. Our interactive maps let them see your Google Reviews and get directions directly from your site. Create multiple maps for use with multiple locations.",C),apiKey:e("API Key",C),mapPreview:e("Map Preview",C)},displayInfo:{block:{copy:"",desc:""}}}}},q={class:"aioseo-maps-blur"},T={class:"aioseo-settings-row"};function H(x,_,d,r,o,g){const l=s("base-input"),p=s("core-settings-row"),m=s("core-ui-element-slider"),f=s("core-blur");return c(),k("div",q,[t(f,null,{default:a(()=>[v("div",T,u(o.strings.description),1),t(p,{name:o.strings.apiKey,align:""},{content:a(()=>[t(l,{size:"medium"})]),_:1},8,["name"]),t(m,{options:o.displayInfo},null,8,["options"]),t(p,{name:o.strings.mapPreview,align:""},{content:a(()=>[w(u(o.strings.description),1)]),_:1},8,["name"])]),_:1})])}const $=b(V,[["render",H]]),n="all-in-one-seo-pack",z={setup(){return{licenseStore:M(),rootStore:P(),links:B}},components:{Blur:$,RequiredPlans:G,CoreCard:I,CoreProBadge:D,Cta:E},data(){return{features:[e("Google Places Support",n),e("Google Reviews",n),e("Driving Directions",n),e("Multiple Locations",n)],strings:{googleMapsApiKey:e("Google Maps API Key",n),ctaButtonText:e("Unlock Local SEO",n),ctaHeader:R(e("Local SEO is a %1$s Feature",n),"PRO"),ctaDescription:e("Show your location to your visitors using an interactive Google Map. Create multiple maps for use with multiple locations.",n)}}}},F={class:"aioseo-local-maps"};function j(x,_,d,r,o,g){const l=s("core-pro-badge"),p=s("blur"),m=s("required-plans"),f=s("cta"),A=s("core-card");return c(),k("div",F,[t(A,{slug:"localBusinessMapsApiKey",noSlide:!0},{header:a(()=>[v("span",null,u(o.strings.googleMapsApiKey),1),t(l)]),default:a(()=>[t(p),t(f,{"cta-link":r.links.getPricingUrl("local-seo","local-seo-upsell","maps"),"button-text":o.strings.ctaButtonText,"learn-more-link":r.links.getUpsellUrl("local-seo",null,r.rootStore.isPro?"pricing":"liteUpgrade"),"feature-list":o.features,"hide-bonus":!r.licenseStore.isUnlicensed},{"header-text":a(()=>[w(u(o.strings.ctaHeader),1)]),description:a(()=>[t(m,{addon:"aioseo-local-business"}),w(" "+u(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list","hide-bonus"])]),_:1})])}const S=b(z,[["render",j]]),J={class:"aioseo-maps"},So={__name:"Maps",setup(x){const _="all-in-one-seo-pack",{shouldShowActivate:d,shouldShowLite:r,shouldShowMain:o,shouldShowUpdate:g}=O({addonSlug:"aioseo-local-business"}),l={googleMapsApiKey:e("Google Maps API Key",_)};return(p,m)=>(c(),k("div",J,[i(o)?(c(),y(i(S),{key:0})):h("",!0),i(g)||i(d)?(c(),y(i(N),{key:1,"card-slug":"localBusinessMapsApiKey","header-text":l.googleMapsApiKey},null,8,["header-text"])):h("",!0),i(r)?(c(),y(i(S),{key:2})):h("",!0)]))}};export{So as default};