import{C as b}from"./Blur.7ed1854b.js";import{C as M}from"./DisplayInfo.ccaf81f1.js";import{C as A}from"./SettingsRow.2432af31.js";import{r as o,o as r,c as d,d as e,w as n,a as C,t as l,g as m,b as _,f as u}from"./vue.runtime.esm-bundler.1bf81f69.js";import{_ as g}from"./_plugin-vue_export-helper.4292a25a.js";import{R as k}from"./RequiredPlans.b62db276.js";import{C as x}from"./Card.37225977.js";import{C as P}from"./ProBadge.5f8b58d0.js";import{C as S}from"./Index.632f6288.js";import{C as B}from"./Cta.c7a19d9a.js";import{A as K}from"./AddonConditions.9547b419.js";import"./default-i18n.41786823.js";import"./constants.a78fc4cb.js";import"./links.4e9269a4.js";/* empty css                                              */import"./Row.1358a527.js";/* empty css                                            */import"./Tooltip.fc81232d.js";import"./CheckSolid.a45b4265.js";import"./index.cd7fac8b.js";import"./Caret.0b57d359.js";import"./Slide.c4e68d01.js";import"./addons.b699e1f7.js";import"./upperFirst.65f07810.js";import"./_stringToArray.4de3b1f3.js";import"./toString.16b91dfe.js";import"./isArrayLikeObject.76f0d098.js";import"./license.1ec1762f.js";/* empty css                                              */const I={components:{CoreBlur:b,CoreDisplayInfo:M,CoreSettingsRow:A},data(){return{strings:{description:this.$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.",this.$td),apiKey:this.$t.__("API Key",this.$td),mapPreview:this.$t.__("Map Preview",this.$td)},displayInfo:{block:{copy:"",desc:""}}}}},G={class:"aioseo-maps-blur"},L={class:"aioseo-settings-row"};function U(s,h,f,y,t,$){const a=o("base-input"),i=o("core-settings-row"),c=o("core-display-info"),p=o("core-blur");return r(),d("div",G,[e(p,null,{default:n(()=>[C("div",L,l(t.strings.description),1),e(i,{name:t.strings.apiKey,align:""},{content:n(()=>[e(a,{size:"medium"})]),_:1},8,["name"]),e(c,{options:t.displayInfo},null,8,["options"]),e(i,{name:t.strings.mapPreview,align:""},{content:n(()=>[m(l(t.strings.description),1)]),_:1},8,["name"])]),_:1})])}const D=g(I,[["render",U]]);const R={components:{Blur:D,RequiredPlans:k,CoreCard:x,CoreProBadge:P,Cta:S},data(){return{features:[this.$t.__("Google Places Support",this.$td),this.$t.__("Google Reviews",this.$td),this.$t.__("Driving Directions",this.$td),this.$t.__("Multiple Locations",this.$td)],strings:{googleMapsApiKey:this.$t.__("Google Maps API Key",this.$td),ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Local SEO",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Local SEO Maps are only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro"),ctaDescription:this.$t.__("Show your location to your visitors using an interactive Google Map. Create multiple maps for use with multiple locations.",this.$td)}}}},O={class:"aioseo-local-maps"};function E(s,h,f,y,t,$){const a=o("core-pro-badge"),i=o("blur"),c=o("required-plans"),p=o("cta"),v=o("core-card");return r(),d("div",O,[e(v,{slug:"localBusinessMapsApiKey",noSlide:!0},{header:n(()=>[C("span",null,l(t.strings.googleMapsApiKey),1),e(a)]),default:n(()=>[e(i),e(p,{"cta-link":s.$links.getPricingUrl("local-seo","local-seo-upsell","maps"),"button-text":t.strings.ctaButtonText,"learn-more-link":s.$links.getUpsellUrl("local-seo",null,"home"),"feature-list":t.features},{"header-text":n(()=>[m(l(t.strings.ctaHeader),1)]),description:n(()=>[e(c,{addon:"aioseo-local-business"}),m(" "+l(t.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])]),_:1})])}const w=g(R,[["render",E]]),N={mixins:[K],components:{Maps:w,Cta:B,Lite:w},data(){return{addonSlug:"aioseo-local-business",strings:{googleMapsApiKey:this.$t.__("Google Maps API Key",this.$td)}}}},V={class:"aioseo-maps"};function q(s,h,f,y,t,$){const a=o("maps",!0),i=o("cta"),c=o("lite");return r(),d("div",V,[s.shouldShowMain?(r(),_(a,{key:0})):u("",!0),s.shouldShowUpdate||s.shouldShowActivate?(r(),_(i,{key:1,"card-slug":"localBusinessMapsApiKey","header-text":t.strings.googleMapsApiKey,"align-top":""},null,8,["header-text"])):u("",!0),s.shouldShowLite?(r(),_(c,{key:2})):u("",!0)])}const yt=g(N,[["render",q]]);export{yt as default};
