PageSourceSearch

https://slot365.ai/assets/theme-0/RollDiceIndex.BoBJTLNo.js

js slot365.ai collected 2026-10-05 15:07:13 UTC 3,564 bytes, 1 lines download raw bytes

1import{b as x,Z as y,r as _,c as b,f as e,F as j,ad as v}from"../vendors/vendor-stable.B-qaYwd4.js";import{X as C,ar as w,ek as h}from"./commonChunk.ClFq2l8G.js";import{u as R}from"./useGenerateDrawItems.BioTpsZF.js";import{u as S}from"./useRewardTips.XLUnhPSP.js";import{u as z}from"./useShake.9HXB7Ano.js";import{u as D}from"./index.DXaFhhuC.js";import{C as I}from"./CategoryRewardIndex.BUqmHXcz.js";import"./vendorChunk.B0S1SHvJ.js";import{L as s}from"./1_SearchGameChunk.BENWLfH4.js";import{T as L}from"./TitleContentIndex.BEXCchgi.js";import"./surprise.Diq_LpFM.js";import"./1_PromotionChunk.FeY6TfYO.js";import"./1_AgentCenterChunk.Cz5FR2RW.js";import"./0_WithdrawChunk.BzTLyrq2.js";import"./0_EntryLoginRegisterChunk.DeQ-Ywc2.js";import"./0_RechargeDialogsChunk.UPDYD78c.js";import"../vendors/vendor-swiper.BdYoNCW0.js";import"./1_MineChunk.1j_jT2i0.js";const P="_light_1ukpw_115",$="_amount_1ukpw_124",E="_dice_1ukpw_143",N="_idle_1ukpw_155",T="_hand_1ukpw_160",A="_animation_1ukpw_168",B="_shake_1ukpw_172",a={"open-animation":"_open-animation_1ukpw_91","open-images":"_open-images_1ukpw_96","open-image-item":"_open-image-item_1ukpw_103",light:P,amount:$,dice:E,"big-dice":"_big-dice_1ukpw_148",idle:N,hand:T,animation:A,shake:B,"shake-icon":"_shake-icon_1ukpw_177","shake-text":"_shake-text_1ukpw_182"},[F]=C("pages-dialogs-surprise-reward-roll-dice"),te=x({name:F,props:{isCovered:{type:Boolean,default:!1}},emits:["openReward"],setup(u,{emit:c}){const{t:k}=y(),g=D(),n=_(!1),t=_(!1),{randomNum:d,list:l}=R(6,!0),r=S(),{start:f}=z({threshold:12,interval:1500,enableVibrate:!0,onShake(){m()}}),m=async()=>{if(n.value)return;const o=await r.surpriseRewardReceive();if(!(!o||o.error&&!r.isDataExpired.value)){if(r.isDataExpired.value){c("openReward");return}n.value=!0,g.showCloseButton=!1,await h(2e3),t.value=!0,l.value=l.value.map(i=>({...i,status:d.value===i.idx?"winning":"notRewarded"})),await h(2e3),c("openReward")}},p=b(()=>!n.value&&!t.value||n.value&&t.value);return()=>e("div",{class:a["open-animation"],onClick:f},[p.value&&e(L,null,null),e("div",{class:a["open-images"]},[p.value&&l.value.map(o=>{const i=o.status==="unopen"||o.status==="winning"?`dice${o.idx+1}`:`dice${o.idx+1}_1`;return e("div",{key:o.idx,class:a["open-image-item"]},[o.status==="winning"&&e(s,{class:a.light,animationPath:"/lobby_asset/common/common/event/ywjx/animated/dice/lottie/ywjx-sz-zhongjiang.json",loop:!0,onClick:m},null),e(w,{class:a.dice,src:`/lobby_asset/common/common/event/ywjx/dice/${i}.png`,tag:"div"},null),e("span",{class:a.amount},[e(I,{detail:{key:o.bonusEnum,text:o.text}},null)])])})]),e("div",{class:a["big-dice"]},[!n.value&&e(j,null,[e(s,{class:a.idle,loop:!0,paused:u.isCovered,animationPath:"/lobby_asset/common/common/event/ywjx/animated/dice/lottie/ywjx-sz-idle1.json",onClick:m},null),!n.value&&e(s,{class:a.hand,loop:!0,paused:u.isCovered,animationPath:"/lobby_asset/common/common/event/ywjx/animated/shouzi.json"},null),e("div",{class:a.shake},[e(w,{class:a["shake-icon"],src:"/lobby_asset/common/common/common/Shake.svg"},null),e("div",{class:a["shake-text"]},[k("lobby.surprise.clickDice")])])]),!t.value&&e(v,{name:"surprise-animation-zoom-in"},{default:()=>[n.value&&e(s,{class:a.animation,animationPath:"/lobby_asset/common/common/event/ywjx/animated/dice/lottie/lottie_diceshake.json"},null)]}),n.value&&e(v,{name:"surprise-animation-zoom-out"},{default:()=>[t.value&&e(s,{class:a.idle,animationPath:`/lobby_asset/common/common/event/ywjx/animated/dice/lottie/lottie_dice_${d.value+1}.json`},null)]})])])}});export{te 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.