;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="030efcc1-a1c5-2b3e-ead2-89861620bc8d")}catch(e){}}(); (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,117595,e=>{"use strict";function t(e){for(var t=1;ttypeof document){"number"==typeof(s=t({},a,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var n="";for(var i in s)s[i]&&(n+="; "+i,!0!==s[i]&&(n+="="+s[i].split(";")[0]));return document.cookie=e+"="+r.write(o,e)+n}}return Object.create({set:o,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],a={},o=0;or])},489565,e=>{"use strict";var t=e.i(568433),r=e.i(117595);let a=(e,a="/",o)=>{try{r.default.remove(e,{path:a,...o?{domain:o}:{}})}catch(e){t.logger?.error("cookies","Remove Client Cookie",{error:e})}};function o(e,t="/",r){for(let o of e)a(o,t,r)}let s=async e=>{try{await fetch("/api/v2/cookie",{method:"DELETE",headers:{"Cache-Control":"no-cache",Pragma:"no-cache","Content-Type":"application/json"},cache:"no-cache",credentials:"same-origin",body:JSON.stringify({opId:window.opId,key:e})})}catch(e){t.logger?.error("cookies","Remove Cookie from Server",{error:e})}};e.s(["getCookie",0,e=>r.default.get(e)??null,"removeCookie",0,a,"removeCookieFromServer",0,s,"removeMultiClientCookie",()=>o,"setCookie",0,(e,a,o,s="/",n)=>{try{r.default.set(e,a,{expires:o,path:s,...n?{domain:n}:{},sameSite:"lax"})}catch(e){t.logger?.error("cookies","Set Client Cookie",{error:e})}}])},723751,e=>{"use strict";e.s(["EventsHandler",()=>_]);var t=e.i(643174),r=e.i(255348),a=e.i(688641),o=e.i(678656),s=e.i(486989),n=e.i(24185),i=e.i(41185),l=e.i(473297),c=e.i(33986),d=e.i(822315),u=e.i(338264),p=e.i(489565);class _{async handleInit(e){if(window.opId&&window.opId!==e.player?.opId)return void await (0,u.removeAuth)();let s=Date.now(),_=parseInt(`${localStorage.getItem("lastShowToastTime")}`)||0;_||localStorage.setItem("lastShowToastTime",`${s}`),(0,d.default)(s).diff((0,d.default)(_),"day")>=1&&(localStorage.setItem("lastShowToastTime",`${s}`),t.default.dispatch((0,a.showToast)({message:"user_login_success",options:{variant:"success"},browserId:(0,c.getUniqID)("browserId")})));let{player:I,profileData:E}=e,{wallet:h,activeCurrency:g}=I;I.isBlocked&&await (0,u.removeAuth)(),I?.playerId&&(t.default.dispatch((0,n.setActiveCurrency)(g)),t.default.dispatch((0,n.setPlayerWallet)(h)),t.default.dispatch((0,o.setPlayerInitData)({shouldCompleteProfile:I.shouldCompleteProfile,username:I.username,usernameIsVerified:I.usernameIsVerified,usernameIsSet:I.usernameIsSet,playerId:I.playerId,playerCode:I.playerCode,emailAddress:I?.emailAddress,telegramId:I?.telegramId,metaMaskWallet:I?.metaMaskWallet,hasReferralData:I?.hasReferralData,isForceVerification:I?.isForceVerification,isTest:I?.isTest,profileData:E,activeLanguage:I?.activeLanguage,otpSentTo:I?.otpSentTo,otpSendAt:I?.otpSendAt,phoneNumber:I?.phoneNumber,otpFormIsRequired:I?.otpFormIsRequired,extraData:I?.extraData})),t.default.dispatch((0,r.setVerified)(I?.isVerified)),t.default.dispatch((0,r.setForceKyc)(I?.isForceVerification)),t.default.dispatch((0,i.setCloseWindow)(l.WindowEnum.AUTH)),t.default.dispatch((0,i.setCloseWindow)(l.WindowEnum.CHECKAGE)),window.clarity&&window.clarity?.("set","userId",I?.playerCode)),(0,p.removeMultiClientCookie)(["refId","affId","aff","channelId","partnerId","partnerChannelId"])}async handleRefresh(e){let{player:a,profileData:i}=e,{wallet:l,activeCurrency:c}=a;a.isBlocked&&await (0,u.removeAuth)(),a?.playerId&&(t.default.dispatch((0,s.setAuthState)(!0)),t.default.dispatch((0,n.setActiveCurrency)(c)),t.default.dispatch((0,n.setPlayerWallet)(l)),t.default.dispatch((0,o.setPlayerInitData)({shouldCompleteProfile:a.shouldCompleteProfile,username:a.username,usernameIsVerified:a.usernameIsVerified,usernameIsSet:a.usernameIsSet,playerId:a.playerId,playerCode:a.playerCode,emailAddress:a?.emailAddress,telegramId:a?.telegramId,metaMaskWallet:a?.metaMaskWallet,hasReferralData:a?.hasReferralData,isForceVerification:a?.isForceVerification,isTest:a?.isTest,profileData:i,activeLanguage:a?.activeLanguage,otpSentTo:a?.otpSentTo,otpSendAt:a?.otpSendAt,phoneNumber:a?.phoneNumber,otpFormIsRequired:a?.otpFormIsRequired,extraData:a?.extraData})),t.default.dispatch((0,r.setVerified)(a?.isVerified)),t.default.dispatch((0,r.setForceKyc)(a?.isForceVerification)))}}},220934,e=>{"use strict";function t(e){if(!e)return"";{let t=e.match(/