import{e,aV as a,aW as r,t as o,a0 as n,U as s,V as t}from"./index_1730355973.js";function i(){const i=e((()=>"Receba 200 BRL de graça,SAQUE RÁPIDO!")),l=e((()=>a().globalConfig.platformConfig||{})),u=e((()=>[{icon:"share/icon_1.png",path:`${l.value.web_fb_url}?u=${p.value}`,type:"facebook"},{icon:"share/icon_2.png",path:`${l.value.web_tg_url}?url=AmazingGame ${p.value}`,type:"tg"},{icon:"share/icon_3.png",path:`${l.value.web_whats_url}?text=AmazingGame ${p.value}`,type:"whatsapp"},{icon:"share/icon_4.png",path:`${l.value.web_X_url}text=AmazingGame&url=${p.value}`,type:"twitter"},{icon:"share/icon_6.png",path:`${l.value.web_line_url}?url=${p.value}`,type:"line"}])),h=e((()=>a().shareLinkUrl)),p=e((()=>r().userInfo.uid?`${h.value}?u=${r().userInfo.uid}`:h.value));return{shareMessage:i,shareList:u,shareUrl:p,goLink:(e,a)=>{if("xitong"!=a)n("facebook"==a?e:e+" "+i.value);else try{navigator.share({title:"webShare",text:"webShare",url:location.href})}catch(r){o("share error")}},onSendSms:(e,a)=>{JSON.parse(s.getSessionStorage(t.BROWSER)).isIos?window.location.href=`sms:/open?addresses=${e}&body=${a}`:window.location.href=`sms:${e}?body=${a}`}}}export{i as u};
