import{j as M,b as x}from"./index.bd66e758.js";import{C as S}from"./Blur.4fe4b9a3.js";import{C as A}from"./SettingsRow.8aa99257.js";import{C as P}from"./Index.d50d1304.js";import"./translations.d159963e.js";import{_ as B}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as t,s as K}from"./default-i18n.20001971.js";import{x as u,o as i,c as h,H as n,m as r,a as b,t as a,y,u as e,l as d,b as g}from"./runtime-dom.esm-bundler.5d5e6b71.js";import{R as U}from"./RequiredPlans.54d3867a.js";import{C as G}from"./Card.88a70537.js";import{C as L}from"./ProBadge.aeac9858.js";import{C as R}from"./Index.1a358ca4.js";import{C as I}from"./Cta.2e110243.js";import{u as D}from"./AddonConditions.21ed0fed.js";import"./helpers.bf0d86e6.js";import"./Row.aff98451.js";import"./Tooltip.418c677c.js";import"./CheckSolid.7a7052c3.js";import"./index.eb92a2a8.js";import"./Caret.382b7591.js";import"./Slide.a525748d.js";import"./addons.efc46fe0.js";import"./upperFirst.9b123e9b.js";import"./license.32be7976.js";import"./constants.fe8bda37.js";const f="all-in-one-seo-pack",$={components:{CoreBlur:S,CoreSettingsRow:A,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"),v=u("core-blur");return i(),h("div",E,[n(v,null,{default:r(()=>[b("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($,[["render",O]]),H={class:"aioseo-local-maps"},k={__name:"Maps",setup(w){const s="all-in-one-seo-pack",l=M(),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",H,[n(e(G),{slug:"localBusinessMapsApiKey",noSlide:!0},{header:r(()=>[b("span",null,a(o.googleMapsApiKey),1),n(e(L))]),default:r(()=>[n(e(V)),n(e(R),{"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})]))}},T={class:"aioseo-maps"},ge={__name:"Maps",setup(w){const s="all-in-one-seo-pack",{shouldShowActivate:l,shouldShowLite:c,shouldShowMain:o,shouldShowUpdate:m}=D({addonSlug:"aioseo-local-business"}),p={googleMapsApiKey:t("Google Maps API Key",s)};return(_,C)=>(i(),h("div",T,[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{ge as default};
