import{A as f}from"./AddonConditions.C8XINbzC.js";import{C as y}from"./Blur.BIgRC1HX.js";import{C}from"./SettingsRow.BjeXKLX-.js";import{C as b}from"./Index.CwHWmYAB.js";import{x as o,o as l,c as w,C as e,m as r,a as x,t as u,D as S,l as p,v as $}from"./vue.esm-bundler.DqIKZLqK.js";import{_ as d}from"./_plugin-vue_export-helper.BN1snXvA.js";import{C as P}from"./Caret.CE8P-qnG.js";import{C as v}from"./Card.D-184XDc.js";import{C as A}from"./Index.D5-hosOV.js";const T={components:{CoreBlur:y,CoreSettingsRow:C,CoreUiElementSlider:b},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:""}}}}},B={class:"aioseo-maps-blur"},k={class:"aioseo-settings-row"};function I(i,_,n,m,t,a){const c=o("base-input"),s=o("core-settings-row"),g=o("core-ui-element-slider"),h=o("core-blur");return l(),w("div",B,[e(h,null,{default:r(()=>[x("div",k,u(t.strings.description),1),e(s,{name:t.strings.apiKey,align:""},{content:r(()=>[e(c,{size:"medium"})]),_:1},8,["name"]),e(g,{options:t.displayInfo},null,8,["options"]),e(s,{name:t.strings.mapPreview,align:""},{content:r(()=>[S(u(t.strings.description),1)]),_:1},8,["name"])]),_:1})])}const L=d(T,[["render",I]]),O={mixins:[f],components:{Blur:L,CoreAlert:P,CoreCard:v,Cta:A},props:{cardSlug:{type:String,required:!0},headerText:{type:String,required:!0},alignTop:Boolean},data(){return{addonSlug:"aioseo-local-business",strings:{locationSeoHeader:this.$t.__("Enable Local SEO on Your Site",this.$tdPro),ctaDescription:this.$t.__("Local Business schema markup informs Google about your business details like name, address, phone number, hours, and price range, which can appear in a Knowledge Graph card or business carousel.",this.$tdPro),learnMoreText:this.$t.__("Learn more about Local SEO",this.$tdPro),showOpeningHours:this.$t.__("Show Opening Hours",this.$tdPro),googleMaps:this.$t.__("Google Maps",this.$tdPro),businessType:this.$t.__("Type",this.$tdPro),businessContact:this.$t.__("Contact Info",this.$tdPro),paymentInfo:this.$t.__("Payment Info",this.$tdPro),image:this.$t.__("Image",this.$tdPro)}}},computed:{ctaButtonText(){return this.shouldShowUpdate?this.$t.__("Update Local SEO",this.$tdPro):this.$t.__("Activate Local SEO",this.$tdPro)}},methods:{addonActivated(){window.location.reload()}}};function E(i,_,n,m,t,a){const c=o("blur"),s=o("core-card");return l(),p(s,{slug:n.cardSlug,"header-text":n.headerText,noSlide:!0},{default:r(()=>[e(c),(l(),p($(i.ctaComponent),{"addon-slug":t.addonSlug,"cta-header":t.strings.locationSeoHeader,"cta-description":t.strings.ctaDescription,"cta-button-text":a.ctaButtonText,"learn-more-text":t.strings.learnMoreText,"learn-more-link":i.$links.getDocUrl("localSeo"),"feature-list":[t.strings.businessType,t.strings.businessContact,t.strings.paymentInfo,t.strings.image,t.strings.showOpeningHours,t.strings.googleMaps],onAddonActivated:a.addonActivated,"align-top":n.alignTop},null,40,["addon-slug","cta-header","cta-description","cta-button-text","learn-more-text","learn-more-link","feature-list","onAddonActivated","align-top"]))]),_:1},8,["slug","header-text"])}const q=d(O,[["render",E]]);export{L as B,q as C};
