import{C as b}from"./Blur.8cc39c73.js";import{C as M}from"./DisplayInfo.eab5fba5.js";import{C as A}from"./SettingsRow.1adac8e2.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.b39e1078.js";import{_ as g}from"./_plugin-vue_export-helper.b97bdf23.js";import{R as k}from"./RequiredPlans.77523a56.js";import{C as x}from"./Card.79fe964d.js";import{C as P}from"./ProBadge.34da75c2.js";import{C as S}from"./Index.f7bbb33f.js";import{C as B}from"./Cta.41e96926.js";import{A as K}from"./AddonConditions.1b54da61.js";import"./default-i18n.3881921e.js";import"./constants.1758f66e.js";import"./links.23796d97.js";/* empty css                                              */import"./Row.5242dafa.js";/* empty css                                            */import"./Tooltip.6979830f.js";import"./CheckSolid.9519160a.js";import"./index.0eabb636.js";import"./Caret.164d8058.js";import"./Slide.cdf6c622.js";import"./addons.afbe11a7.js";import"./upperFirst.8df5cd57.js";import"./_stringToArray.4de3b1f3.js";import"./toString.0891eb3e.js";import"./isArrayLikeObject.22a096cb.js";import"./license.df046522.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};
