import{i as M,u as P,l as B}from"./index.lqcu3hi3.js";import{C as K}from"./Blur.mu93d3e2.js";import{C as U}from"./SettingsRow.d9u0swi1.js";import{C as L}from"./Index.cv6y7emi.js";import"./translations.e22mvhfh.js";import{_ as b}from"./_plugin-vue_export-helper.oebm7xum.js";import{_ as o,s as R}from"./default-i18n.bz7purh4.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.l7pjpdqj.js";import{C as I}from"./Card.nubn9etl.js";import{C as D}from"./ProBadge.e32os6n3.js";import{C as E}from"./Index.bojstwek.js";import{C as N}from"./Cta.s0osod2h.js";import{u as O}from"./AddonConditions.e99yh1v3.js";import"./cleanForSlug.etvx808q.js";import"./Row.h4gujlzc.js";import"./Tooltip.i4md1nj9.js";import"./CheckSolid.ktze41sq.js";import"./index.cw7tfyil.js";import"./Caret.g6s6s7gs.js";import"./Slide.dop8j51m.js";import"./addons.ds3c4v6r.js";import"./upperFirst.d9alxexs.js";import"./license.md0nmssw.js";import"./constants.dnzd2kuo.js";const C="all-in-one-seo-pack",V={components:{CoreBlur:K,CoreSettingsRow:U,CoreUiElementSlider:L},data(){return{strings:{description:o("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:o("API Key",C),mapPreview:o("Map Preview",C)},displayInfo:{block:{copy:"",desc:""}}}}},q={class:"aioseo-maps-blur"},T={class:"aioseo-settings-row"};function H(x,_,d,r,e,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(e.strings.description),1),t(p,{name:e.strings.apiKey,align:""},{content:a(()=>[t(l,{size:"medium"})]),_:1},8,["name"]),t(m,{options:e.displayInfo},null,8,["options"]),t(p,{name:e.strings.mapPreview,align:""},{content:a(()=>[w(u(e.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:[o("Google Places Support",n),o("Google Reviews",n),o("Driving Directions",n),o("Multiple Locations",n)],strings:{googleMapsApiKey:o("Google Maps API Key",n),ctaButtonText:o("Unlock Local SEO",n),ctaHeader:R(o("Local SEO is a %1$s Feature",n),"PRO"),ctaDescription:o("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,e,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(e.strings.googleMapsApiKey),1),t(l)]),default:a(()=>[t(p),t(f,{"cta-link":r.links.getPricingUrl("local-seo","local-seo-upsell","maps"),"button-text":e.strings.ctaButtonText,"learn-more-link":r.links.getUpsellUrl("local-seo",null,r.rootStore.isPro?"pricing":"liteUpgrade"),"feature-list":e.features,"hide-bonus":!r.licenseStore.isUnlicensed},{"header-text":a(()=>[w(u(e.strings.ctaHeader),1)]),description:a(()=>[t(m,{addon:"aioseo-local-business"}),w(" "+u(e.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"},we={__name:"Maps",setup(x){const _="all-in-one-seo-pack",{shouldShowActivate:d,shouldShowLite:r,shouldShowMain:e,shouldShowUpdate:g}=O({addonSlug:"aioseo-local-business"}),l={googleMapsApiKey:o("Google Maps API Key",_)};return(p,m)=>(c(),k("div",J,[i(e)?(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{we as default};
