import{g as S,l as x}from"./index.e0fdfdc6.js";import{C as A}from"./Blur.92695742.js";import{C as b}from"./SettingsRow.fd3e214f.js";import{C as P}from"./Index.431b3da3.js";import"./translations.5e539ab1.js";import{_ as B}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as t,s as K}from"./default-i18n.368c2d5c.js";import{a6 as u,o as i,c as h,l as n,a2 as r,_ as v,$ as a,a7 as y,R as e,a1 as d,a4 as g}from"./runtime-core.esm-bundler.ce5add0b.js";import{R as U}from"./RequiredPlans.a441f3ff.js";import{C as R}from"./Card.a415c187.js";import{C as G}from"./ProBadge.e6ec5f9a.js";import{C as L}from"./Index.98b153be.js";import{C as I}from"./Cta.5c0d267b.js";import{u as $}from"./AddonConditions.88221402.js";import"./helpers.b1696305.js";import"./Row.bb9acf3f.js";import"./runtime-dom.esm-bundler.dc49ee3e.js";import"./Tooltip.23c7170d.js";import"./CheckSolid.5be77a11.js";import"./Input.94feb999.js";import"./Index.2a391835.js";import"./Close.ccd53ef3.js";import"./Pencil.d82df6a1.js";import"./Trash.87a7d946.js";import"./Slide.3003ef51.js";import"./addons.9f9e1bb8.js";import"./upperFirst.f1673ffa.js";import"./license.09950db1.js";import"./Caret.cd869c5d.js";import"./Button.277f0e3d.js";import"./constants.cb29e214.js";const f="all-in-one-seo-pack",D={components:{CoreBlur:A,CoreSettingsRow:b,CoreUiElementSlider:P},data(){return{strings:{description:t("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.",f),apiKey:t("API Key",f),mapPreview:t("Map Preview",f)},displayInfo:{block:{copy:"",desc:""}}}}},E={class:"aioseo-maps-blur"},N={class:"aioseo-settings-row"};function O(w,s,l,c,o,m){const p=u("base-input"),_=u("core-settings-row"),C=u("core-ui-element-slider"),M=u("core-blur");return i(),h("div",E,[n(M,null,{default:r(()=>[v("div",N,a(o.strings.description),1),n(_,{name:o.strings.apiKey,align:""},{content:r(()=>[n(p,{size:"medium"})]),_:1},8,["name"]),n(C,{options:o.displayInfo},null,8,["options"]),n(_,{name:o.strings.mapPreview,align:""},{content:r(()=>[y(a(o.strings.description),1)]),_:1},8,["name"])]),_:1})])}const V=B(D,[["render",O]]),T={class:"aioseo-local-maps"},k={__name:"Maps",setup(w){const s="all-in-one-seo-pack",l=S(),c=[t("Google Places Support",s),t("Google Reviews",s),t("Driving Directions",s),t("Multiple Locations",s)],o={googleMapsApiKey:t("Google Maps API Key",s),ctaButtonText:t("Unlock Local SEO",s),ctaHeader:K(t("Local SEO is a %1$s Feature",s),"PRO"),ctaDescription:t("Show your location to your visitors using an interactive Google Map. Create multiple maps for use with multiple locations.",s)};return(m,p)=>(i(),h("div",T,[n(e(R),{slug:"localBusinessMapsApiKey",noSlide:!0},{header:r(()=>[v("span",null,a(o.googleMapsApiKey),1),n(e(G))]),default:r(()=>[n(e(V)),n(e(L),{"cta-link":e(x).getPricingUrl("local-seo","local-seo-upsell","maps","liteUpgrade"),"button-text":o.ctaButtonText,"learn-more-link":e(x).getUpsellUrl("local-seo",null,"liteUpgrade"),"feature-list":c,"hide-bonus":!e(l).isUnlicensed},{"header-text":r(()=>[y(a(o.ctaHeader),1)]),description:r(()=>[n(e(U),{addon:"aioseo-local-business"}),y(" "+a(o.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","hide-bonus"])]),_:1})]))}},H={class:"aioseo-maps"},xe={__name:"Maps",setup(w){const s="all-in-one-seo-pack",{shouldShowActivate:l,shouldShowLite:c,shouldShowMain:o,shouldShowUpdate:m}=$({addonSlug:"aioseo-local-business"}),p={googleMapsApiKey:t("Google Maps API Key",s)};return(_,C)=>(i(),h("div",H,[e(o)?(i(),d(e(k),{key:0})):g("",!0),e(m)||e(l)?(i(),d(e(I),{key:1,"card-slug":"localBusinessMapsApiKey","header-text":p.googleMapsApiKey},null,8,["header-text"])):g("",!0),e(c)?(i(),d(e(k),{key:2})):g("",!0)]))}};export{xe as default};
