1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DQ4ViE2g.js","./BPlt5jNJ.js","./entry.SJ_nTWi7.css","./BWkuNxku.js","./CAUx-lc2.js","./Bwyh989z.js","./pOVZAtmk.js","./CwOVI-1L.js","./DQD6uPAd.js","./WcPvyFDg.js","./BT5BOhML.js","./CQqZNgi8.js","./CfwAnYyF.js","./DiRBqciI.js","./Bs5nwDIw.js"])))=>i.map(i=>d[i]); 2import{o as _,an as t,n as o,a9 as l,F as m,bM as b,aj as f,a8 as h,bq as d,bp as c,bz as s,a7 as p,bR as g}from"./BPlt5jNJ.js";import y from"./BWkuNxku.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5a3e21a3-9a18-4c53-93f6-5ae2a9e2a687",e._sentryDebugIdIdentifier="sentry-dbid-5a3e21a3-9a18-4c53-93f6-5ae2a9e2a687")}catch{}{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:splash-application":!0})}const k=t(()=>o(()=>import("./DQ4ViE2g.js"),__vite__mapDeps([0,1,2]),import.meta.url)),V=t(()=>o(()=>import("./BWkuNxku.js"),__vite__mapDeps([3,1,2]),import.meta.url)),v=t(()=>o(()=>import("./CAUx-lc2.js"),__vite__mapDeps([4,1,2]),import.meta.url)),I=t(()=>o(()=>import("./Bwyh989z.js"),__vite__mapDeps([5,1,2]),import.meta.url)),E=t(()=>o(()=>import("./pOVZAtmk.js"),__vite__mapDeps([6,1,2]),import.meta.url)),O=t(()=>o(()=>import("./CwOVI-1L.js"),__vite__mapDeps([7,1,2]),import.meta.url)),M=t(()=>o(()=>import("./DQD6uPAd.js"),__vite__mapDeps([8,1,2]),import.meta.url)),C=t(()=>o(()=>import("./WcPvyFDg.js"),__vite__mapDeps([9,1,2]),import.meta.url)),L=t(()=>o(()=>import("./BT5BOhML.js"),__vite__mapDeps([10,1,2]),import.meta.url)),T=t(()=>o(()=>import("./CQqZNgi8.js"),__vite__mapDeps([11,1,2]),import.meta.url)),P=t(()=>o(()=>import("./CfwAnYyF.js"),__vite__mapDeps([12,1,2]),import.meta.url)),D=t(()=>o(()=>import("./DiRBqciI.js"),__vite__mapDeps([13,1,2]),import.meta.url)),w=t(()=>o(()=>import("./Bs5nwDIw.js"),__vite__mapDeps([14,1,2]),import.meta.url)),x={components:{BlueskyIcon:k,FacebookIcon:V,GoodreadsIcon:D,InstagramIcon:v,LinkedinIcon:I,LinkIcon:T,PinterestIcon:E,SnapchatIcon:P,TiktokIcon:L,ThreadsIcon:O,TwitterIcon:M,YoutubeIcon:C,SubstackIcon:w},props:{modelValue:{type:Object,default:()=>{}},editable:{type:Boolean,default:!1}},emits:["tracking","update:modelValue"],computed:{classObject(){return{editable:this.editable,[this.modelValue.button.colorOption]:this.modelValue.button.colorOption,"justify-center":this.modelValue.button.alignment==="center"}},socialCssVars(){return{"--theme-button-background":this.modelValue.button.background,"--theme-button-background-hover":this.modelValue.button.hover,"--theme-button-border-radius":this.modelValue.button.borderRadius+"%","--theme-button-icon-fill":this.modelValue.button.color}},activeSocialNetworks(){return Object.keys(this.socialMediaConstants).filter(n=>this.modelValue.services[n]?.url).sort((n,i)=>this.modelValue.services[n].order-this.modelValue.services[i].order)},isPublic(){return this.$store.getters.isPublic},socialMediaConstants(){return this.$store.state.constants.constants.SocialMedia.services}},methods:{defaultCssVars(e){if(this.modelValue.button.colorOption=="default")return{"--theme-button-background":this.socialMediaConstants[e].background,"--theme-button-background-hover":this.socialMediaConstants[e].hover,"--theme-button-icon-fill":this.socialMediaConstants[e].fill?this.socialMediaConstants[e].fill:"#ffffff"};if(this.modelValue.button.colorOption=="white")return{"--theme-button-background":"#ffffff","--theme-button-background-hover":"#ebebeb","--theme-button-icon-fill":"#000000"};if(this.modelValue.button.colorOption=="black")return{"--theme-button-background":"#000000","--theme-button-background-hover":"#373737"}},trackSocialClick(e){const n={event_type:"product_share",social_platform:this.socialMediaConstants[e].name};this.$emit("tracking",n)},linkLabel(e){return`${this.socialMediaConstants[e].prefix} ${this.socialMediaConstants[e].name}`}}},A=["data-editable-title"],R=["href","data-test","aria-label","t
2itle","onClick"],S={key:0,class:"flex items-center justify-center w-10 h-10 px-3 py-2 mb-3 mr-3 bg-gray-100 border-2 border-gray-800 border-dashed rounded-full"};function j(e,n,i,B,F,r){const u=y;return s(),l("div",{class:c(["flex flex-row flex-wrap",r.classObject]),style:d(r.socialCssVars),"data-test":"social-links","data-editable-title":i.editable?"Edit Social Media Links":""},[(s(!0),l(m,null,b(r.activeSocialNetworks,a=>(s(),l("a",{key:a,href:i.modelValue.services[a].url,"data-test":"social-link-"+a,style:d(r.defaultCssVars(a)),"aria-label":r.linkLabel(a),title:r.linkLabel(a),target:"_blank",rel:"noopener",class:c(["flex items-center justify-center w-7 h-7 p-2 mb-3 mr-3",{"border-gray-700 border-1 border-solid":i.modelValue.button.colorOption==="black"||(a==="tiktok"||a==="snapchat"||a==="threads")&&i.modelValue.button.colorOption!=="white","border-gray-200 border-1 border-solid":i.modelValue.button.colorOption==="white"}]),onClick:z=>r.trackSocialClick(a)},[(s(),p(g(a+"-icon"),{id:a+"Icon",class:"flex-grow social-icon"},null,8,["id"]))],14,R))),128)),r.activeSocialNetworks.length===0&&!r.isPublic?(s(),l("span",S,[f(u,{style:{fill:"none",stroke:"#000000","stroke-width":"18px",padding:"1px",transform:"scale(1.75)"},class:"flex-grow social-icon"})])):h("",!0)],14,A)}const K=Object.assign(_(x,[["render",j],["__scopeId","data-v-9defeae0"]]),{__name:"SocialMedia"});export{K as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.