import{C as b}from"./Blur.17ef7d02.js";import{C as M}from"./DisplayInfo.ddf17cd3.js";import{C as A}from"./SettingsRow.bc3a4ca9.js";import{_ as d,r as o,o as r,c as g,d as e,w as n,a as C,t as l,y as m,b as _,f as u}from"./_plugin-vue_export-helper.a81c6319.js";import{R as k}from"./RequiredPlans.5c16d60d.js";import{C as x}from"./Card.0a3b54f8.js";import{C as P}from"./ProBadge.c7f4f378.js";import{C as S}from"./Index.3662e61b.js";import{C as B}from"./Cta.01c6de0e.js";import{A as K}from"./WpTable.3e09f0c1.js";import"./default-i18n.0e8bc810.js";import"./constants.e56e1512.js";import"./index.4dbecc01.js";import"./SaveChanges.c85e9ba4.js";import"./Row.d42459be.js";import"./Tooltip.c4cc47a2.js";import"./CheckSolid.76edafdf.js";import"./index.fae5bbc8.js";import"./Caret.19bf2275.js";import"./Slide.4392623f.js";import"./vuex.esm-bundler.55d3d5b3.js";import"./helpers.51e5fd9c.js";import"./RequiresUpdate.52f5acf2.js";import"./postContent.f08c6962.js";import"./cleanForSlug.d16f1e3a.js";import"./html.a669733f.js";import"./Index.048705a6.js";import"./_commonjsHelpers.f84db168.js";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(),g("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=d(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(),g("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=d(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(),g("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 ft=d(N,[["render",q]]);export{ft as default};
