import{_ as r,C as c,A as m,b as i}from"./app.js";import"./swiper.js";const d={name:"Share",components:{CustomHtmlBlock:c},props:["element"],computed:{isNativeApp(){return m}},methods:{nativeShare:function(){console.log("[SoylentShare] Send native share request for `"+this.element.data.share_url+"`"),i.sendPayload({type:"shareURL",message:this.element.data.share_message,url:this.element.data.share_url})}},mounted(){}},o=window.Vue.createElementVNode,s=window.Vue.openBlock,u=window.Vue.createElementBlock;window.Vue.createCommentVNode;const _=window.Vue.resolveComponent,h=window.Vue.createBlock,p={key:0,class:"element soylent share"},k={class:"idvl-socs-tools size-ff"};function v(w,e,n,f,S,t){const a=_("CustomHtmlBlock");return t.isNativeApp?(s(),u("div",p,[o("div",k,[o("a",{class:"idvl-socs-share ss-share",title:"Seite teilen",onClick:e[0]||(e[0]=(...l)=>t.nativeShare&&t.nativeShare(...l))},e[1]||(e[1]=[o("span",null,"Share",-1)]))])])):(s(),h(a,{key:1,element:n.element},null,8,["element"]))}const C=r(d,[["render",v]]);export{C as default};