import{C as b}from"./Blur.a27209d0.js";import{C as k}from"./DisplayInfo.7ad01f7a.js";import{C as x}from"./SettingsRow.09a16661.js";import{_,r as t,o as n,c as u,d as s,w as r,f as h,t as l,e as g,h as d,a as f}from"./_plugin-vue_export-helper.2d9794a3.js";import{R as A}from"./RequiredPlans.661fcd2c.js";import{C as M}from"./Card.24f1a534.js";import{C as S}from"./ProBadge.bcf74c08.js";import{C as P}from"./Index.a5b2ee90.js";import{A as B}from"./WpTable.4d19dc46.js";import"./default-i18n.ab92175e.js";import"./constants.7044c894.js";import"./index.02a5ed9a.js";import"./SaveChanges.bc66cd69.js";import"./Row.5e452de4.js";import"./Tooltip.ae0bcccb.js";import"./CheckSolid.e371bc31.js";import"./index.fd0fcee8.js";import"./Caret.42a820e0.js";import"./Slide.cd756e61.js";import"./vuex.esm-bundler.8589b2dd.js";import"./helpers.de7566d0.js";import"./RequiresUpdate.52f5acf2.js";import"./postContent.bb42e0a8.js";import"./cleanForSlug.62b08993.js";import"./isArrayLikeObject.c492f682.js";import"./html.14f2a8b9.js";import"./Index.1fd8fc42.js";import"./_commonjsHelpers.f84db168.js";const U={components:{CoreBlur:b,CoreDisplayInfo:k,CoreSettingsRow:x},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:""}}}}},I={class:"aioseo-maps-blur"},K={class:"aioseo-settings-row"},L={class:"apikey-description"};function D(e,m,$,y,o,v){const a=t("base-input"),i=t("core-settings-row"),c=t("core-display-info"),p=t("core-blur");return n(),u("div",I,[s(p,null,{default:r(()=>[h("div",K,[h("p",L,l(o.strings.description),1)]),s(i,{name:o.strings.apiKey,align:""},{content:r(()=>[s(a,{size:"medium"})]),_:1},8,["name"]),s(c,{options:o.displayInfo},null,8,["options"]),s(i,{name:o.strings.mapPreview,align:""},{content:r(()=>[g(l(o.strings.description),1)]),_:1},8,["name"])]),_:1})])}const G=_(U,[["render",D]]);const R={components:{Blur:G,RequiredPlans:A,CoreCard:M,CoreProBadge:S,Cta:P},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(e,m,$,y,o,v){const a=t("core-pro-badge"),i=t("blur"),c=t("required-plans"),p=t("cta"),C=t("core-card");return n(),u("div",O,[s(C,{slug:"localBusinessMapsApiKey",noSlide:!0},{header:r(()=>[h("span",null,l(o.strings.googleMapsApiKey),1),s(a)]),default:r(()=>[s(i),s(p,{"cta-link":e.$links.getPricingUrl("local-seo","local-seo-upsell","maps"),"button-text":o.strings.ctaButtonText,"learn-more-link":e.$links.getUpsellUrl("local-seo",null,"home"),"feature-list":o.features},{"header-text":r(()=>[g(l(o.strings.ctaHeader),1)]),description:r(()=>[s(c,{addon:"aioseo-local-business"}),g(" "+l(o.strings.ctaDescription),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])]),_:1})])}const w=_(R,[["render",E]]),N={};function V(e,m){return n(),u("div")}const q=_(N,[["render",V]]),T={};function H(e,m){return n(),u("div")}const z=_(T,[["render",H]]),j={mixins:[B],components:{Maps:w,Activate:q,Lite:w,Update:z},data(){return{addonSlug:"aioseo-local-business"}}},F={class:"aioseo-maps"};function J(e,m,$,y,o,v){const a=t("maps",!0),i=t("activate"),c=t("update"),p=t("lite");return n(),u("div",F,[e.shouldShowMain?(n(),d(a,{key:0})):f("",!0),e.shouldShowActivate?(n(),d(i,{key:1})):f("",!0),e.shouldShowUpdate?(n(),d(c,{key:2})):f("",!0),e.shouldShowLite?(n(),d(p,{key:3})):f("",!0)])}const bt=_(j,[["render",J]]);export{bt as default};
