import{j as M,u as P,a as B}from"./index.bb0afb15.js";import{C as K}from"./Blur.601d8ea8.js";import{C as U}from"./SettingsRow.70a7af04.js";import{C as L}from"./Index.fb644286.js";import"./translations.d159963e.js";import{_ as b}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as e,s as R}from"./default-i18n.20001971.js";import{v as s,o as c,c as k,H as t,l as a,a as v,t as u,x as C,u as i,k as y,b as h}from"./runtime-dom.esm-bundler.baf35205.js";import{R as G}from"./RequiredPlans.d562d70d.js";import{C as I}from"./Card.16558ba3.js";import{C as D}from"./ProBadge.2e262a91.js";import{C as E}from"./Index.9f340035.js";import{C as N}from"./Cta.27e22a04.js";import{u as O}from"./AddonConditions.37007fe7.js";import"./helpers.80db7619.js";import"./Row.c7b7fb90.js";import"./Tooltip.78b61f71.js";import"./CheckSolid.1941c38f.js";import"./index.7fee6f1a.js";import"./Caret.7cc96622.js";import"./Slide.1db617da.js";import"./addons.9733312c.js";import"./upperFirst.ebdcbcf5.js";import"./toString.5aade9aa.js";import"./license.48e46450.js";import"./constants.a8a14dc3.js";const w="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.",w),apiKey:e("API Key",w),mapPreview:e("Map Preview",w)},displayInfo:{block:{copy:"",desc:""}}}}},q={class:"aioseo-maps-blur"},H={class:"aioseo-settings-row"};function T(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",H,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(()=>[C(u(o.strings.description),1)]),_:1},8,["name"])]),_:1})])}const $=b(V,[["render",T]]),n="all-in-one-seo-pack",j={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)}}}},z={class:"aioseo-local-maps"};function F(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",z,[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(()=>[C(u(o.strings.ctaHeader),1)]),description:a(()=>[t(m,{addon:"aioseo-local-business"}),C(" "+u(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list","hide-bonus"])]),_:1})])}const S=b(j,[["render",F]]),J={class:"aioseo-maps"},xo={__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{xo as default};
