const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/_app/immutable/chunks/4wEmR0yk.mjs","/_app/immutable/chunks/BWaJ3C7D.mjs","/_app/immutable/chunks/2BB3TurZ.mjs","/_app/immutable/chunks/DRAiiyBy.mjs","/_app/immutable/chunks/Dt-HX3Vu.mjs","/_app/immutable/chunks/DOa9RD2F.mjs","/_app/immutable/chunks/Duo7wYpB.mjs","/_app/immutable/chunks/DclECHGd.mjs","/_app/immutable/chunks/DZ3venUT.mjs","/_app/immutable/chunks/BF6TA2-F.mjs","/_app/immutable/chunks/DgptDjyX.mjs","/_app/immutable/chunks/Da3zqOpz.mjs","/_app/immutable/chunks/BZecBhUN.mjs","/_app/immutable/chunks/Dpaj0clL.mjs","/_app/immutable/chunks/b24ehdM2.mjs","/_app/immutable/chunks/DSpqMVXa.mjs","/_app/immutable/chunks/CcTsc9oC.mjs","/_app/immutable/chunks/Ajls1usU.mjs"])))=>i.map(i=>d[i]); import{r as e}from"../chunks/BWaJ3C7D.mjs";import{a as t,i as n,l as r,o as i,r as a,s as o,t as s}from"../chunks/_pRQK8J6.mjs";import{t as c}from"../chunks/2BB3TurZ.mjs";import{c as l,n as u,r as d}from"../chunks/Duo7wYpB.mjs";import{t as f}from"../chunks/C6dTM10V.mjs";import{t as p}from"../chunks/CpebN-3q.mjs";import{f as m,o as h,r as g,t as _}from"../chunks/C3A_u7bk.mjs";import{b as v,p as ee}from"../chunks/BF6TA2-F.mjs";import{Mt as te,Vt as ne,gi as y}from"../chunks/BZecBhUN.mjs";import"../chunks/DOa9RD2F.mjs";import{t as re}from"../chunks/RYt4Fep7.mjs";import{n as ie,r as ae}from"../chunks/CFKRsHZu.mjs";import{a as oe,s as se,t as ce}from"../chunks/99RDE59g.mjs";import{a as le,i as ue,l as de,o as fe}from"../chunks/BpICqMpk.mjs";import{P as pe,j as me}from"../chunks/BD06q6oP.mjs";import{i as he,r as ge}from"../chunks/a-nh7acf.mjs";import{t as b}from"../chunks/Da3zqOpz.mjs";import{n as _e}from"../chunks/C9TDGC8t.mjs";import{n as x}from"../chunks/DHfcdHWE.mjs";import{n as ve}from"../chunks/ByIFeYMw.mjs";import{c as ye,m as be,p as S,r as xe}from"../chunks/BslQ9wSu.mjs";import{n as Se,t as C}from"../chunks/_xuCeAUM.mjs";import{o as Ce,s as we}from"../chunks/JjXWpIbv.mjs";import{a as Te,c as Ee,l as De,n as Oe}from"../chunks/b24ehdM2.mjs";import{t as ke}from"../chunks/DclECHGd.mjs";import"../chunks/xihTtKlq.mjs";import{At as Ae,B as w,Cn as T,Ft as E,Ht as D,J as O,Jt as k,Lt as A,Nt as je,P as Me,Pt as j,Qt as Ne,S as Pe,U as Fe,V as M,Wt as N,Z as P,Zt as Ie,a as F,at as Le,c as I,dn as L,et as R,fn as z,gt as B,i as Re,it as ze,kt as V,l as H,lt as Be,nn as Ve,nt as U,on as He,rn as W,tt as G,u as Ue,vn as We,w as Ge,yn as K}from"../chunks/DRAiiyBy.mjs";import{t as Ke}from"../chunks/BVGn-lC5.mjs";import{t as qe}from"../chunks/BgpC3b8W.mjs";import{t as Je}from"../chunks/XdWBaqoI.mjs";import"../chunks/4wEmR0yk.mjs";import{t as Ye}from"../chunks/5EcwwInY.mjs";import{d as Xe,h as Ze,p as Qe}from"../chunks/CvecjQ1c.mjs";import{l as q}from"../chunks/BMp7cOJR.mjs";import{t as $e}from"../chunks/Bxco6KJ3.mjs";import{t as et}from"../chunks/LPeaLUqB.mjs";import{t as tt}from"../chunks/DbTw5_kc.mjs";import{n as nt}from"../chunks/BzNMbkCt.mjs";import{t as rt}from"../chunks/CBESYwy_.mjs";import"../chunks/Ajls1usU.mjs";import{n as it}from"../chunks/BwOURxTH.mjs";import{a as at,r as ot}from"../chunks/BhKzNVnb.mjs";import{t as st}from"../chunks/BT5PRuKm.mjs";import{t as ct}from"../chunks/vlcEbad3.mjs";import{a as lt,t as ut}from"../chunks/MYVAsPVa.mjs";import{t as dt}from"../chunks/Dj0xfDrh.mjs";import{u as ft}from"../chunks/B657Q3Jk.mjs";import{a as pt,i as mt,n as ht,o as gt,r as _t}from"../chunks/CWCnfgdW.mjs";import{t as vt}from"../chunks/CL-xaCec.mjs";import{t as yt}from"../chunks/CDeryNRY.mjs";import{a as bt,s as xt,t as St}from"../chunks/mC_M_BMN.mjs";import{t as Ct}from"../chunks/DFahcl4A.mjs";import{t as wt}from"../chunks/C3-3c3M6.mjs";import{t as Tt}from"../chunks/n42gEJ6v.mjs";import{t as Et}from"../chunks/Dyiv6Trt.mjs";import{c as Dt}from"../chunks/2rg_Hy9V.mjs";import{i as Ot}from"../chunks/1d4UEy2t.mjs";import{t as kt}from"../chunks/FLDdv4c4.mjs";import{t as At}from"../chunks/CUieXpBi.mjs";import{n as jt}from"../chunks/DHqiM7gN.mjs";import{c as Mt,d as J,l as Nt,n as Pt,o as Ft,t as It,u as Y,y as X}from"../chunks/BUpDfg0N.mjs";import{r as Lt,t as Rt}from"../chunks/BMmfFUzX.mjs";import{m as zt,p as Bt,t as Z}from"../chunks/CdCBgqjH.mjs";import{a as Vt,c as Ht,i as Ut,o as Wt,r as Gt,t as Kt}from"../chunks/UsVlRXM4.mjs";var qt=e=>g({doc:p,load:e,variables:{}}),Jt={force_unload_version:`1795389431072`},Yt={kind:`Document`,definitions:[{kind:`OperationDefinition`,operation:`query`,name:{kind:`Name`,value:`UserPermissionFlags`},selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`user`},selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`id`}},{kind:`Field`,name:{kind:`Name`,value:`permissionFlags`},selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`value`}},{kind:`Field`,name:{kind:`Name`,value:`permission`},selectionSet:{kind:`SelectionSet`,selections:[{kind:`Field`,name:{kind:`Name`,value:`name`}}]}}]}}]}}]}}]};function Xt(e,t){return({response:n})=>(e.handleGraphQLChallenge(n,t),e.handleBlock(n,`graphql`,t),n)}function Zt(e){return({response:t,request:n})=>{let r=n instanceof Request?n.url:String(n);return e.handleRESTChallenge(t,r),e.handleBlock(t,`rest`,r),t}}var Qt=Xt(C,be),$t=Zt(C),en=()=>{h().includes(Qt)||_(Qt),ve($t)},tn=e({load:()=>dn,prerender:()=>!1}),nn=`neoShellReload`,rn=e=>l(e)||e instanceof Error&&e.message.startsWith(`Unable to preload CSS for`),an=()=>{try{if(sessionStorage.getItem(nn))return!1;sessionStorage.setItem(nn,`1`)}catch{return!1}return f(`neo_nav_chunk`),!0},on=async()=>{try{let e=await Oe();try{sessionStorage.removeItem(nn)}catch{}return e}catch(e){if(rn(e)&&an())return new Promise(()=>{});ke(async()=>{let{reportBrowserFailure:e}=await import(`../chunks/4wEmR0yk.mjs`).then(e=>e.t);return{reportBrowserFailure:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({reportBrowserFailure:t})=>t(`Neo nav failed to load`,{},`error`,e)).catch(()=>{});return}},sn=!0,cn=(e,t)=>{let n=document.documentElement;return e&&De(t?.designSystemReleaseNeoTheme)===`neo`&&(n.dataset.theme=`neo`),n.dataset.theme===`neo`?`neo`:`dark`},ln=`community/rain`,un=`community/write`;en(),Ce();var dn=async e=>{let t=sn;sn=!1;let n=e.data?.session??{},i=n.isAuthenticated?qt(e).then(e=>He(e)):Promise.resolve(He(void 0)),a=Promise.all([de(e,{isAuthenticated:n.isAuthenticated}),fe(e),_e({availability:b.engagement.promotionsContentEnabled,isAuthenticated:!!n.isAuthenticated})?le(e):[]]).then(e=>({promotion:e[0],sponsorshipMenuItems:e[1],sidebarPromotions:e[2]})),[o,{authResponse:s,infoRoles:c},l,u,d,f,p,m,h,_,te,y,{rainPermissionEnabled:ce,communityWritePermissionEnabled:ge},ve,ye,be]=await Promise.all([i,r({...e,isAuthenticated:n.isAuthenticated}),a,g({doc:re,load:e,variables:{}}).then(e=>e?.currentAnnouncements||[]),g({doc:ae,load:e,variables:{limit:50,offset:0}}).then(e=>e?.featureFlagList||[]),n.isAuthenticated&&b.footer.showLastLogin?g({doc:se,load:e,variables:{}}).then(e=>e):null,pe({...e,isAuthenticated:n.isAuthenticated}),me({...e,isAuthenticated:n.isAuthenticated}),ie.getFeatureFlagConfig(ne.enable_kyc_bundle_flag,e),ie.getFeatureFlagConfig(ne.passkeys_flag,e),he.fetch({includeRevokedCurrencies:!1},e),ee&&b.featureFlags.enabled?x.getAllFeatureFlags(void 0,e):null,n.isAuthenticated?g({doc:Yt,load:e,variables:{}}).then(e=>{let t=t=>e?.user?.permissionFlags.some(({permission:e,value:n})=>e.name===t&&n===!0)??!1;return{rainPermissionEnabled:!v&&t(ln),communityWritePermissionEnabled:t(un)}}).catch(()=>({rainPermissionEnabled:!1,communityWritePermissionEnabled:!1})):{rainPermissionEnabled:!1,communityWritePermissionEnabled:!1},oe({...e,isAuthenticated:n.isAuthenticated}),e.data?.theme,b.navigation.alwaysShowCasinoSection?ue(e):void 0]),S=ye??cn(t,y),xe=y&&S!==void 0?{...y,[Ee]:S===`neo`}:y,Se=Te({flags:xe,theme:S})?await on():void 0,C=Se!==void 0;return{session:n,hreflang:e.data?.hreflang,disableSiteLoader:e.data?.disableSiteLoader,cookiesPolicyAccepted:e.data?.cookiesPolicyAccepted,isNativeWebview:e.data?.isNativeWebview,leftSidebarView:e.data?.leftSidebarView,sidebarView:e.data?.sidebarView,neoNav:C,neoShell:Se,liveStatsPinned:e.data?.liveStatsPinned,clientHints:e.data?.clientHints,featureFlagResponse:d,userTransactionEligibilityResponse:p,kycUserInfoResponse:m,leftSidebar:l,...be&&{leftSidebarCasino:be},authResponse:s,userPreferences:o,infoRoles:c,announcementsResponse:u,baselineUnloadVersion:Jt.force_unload_version,userSession:f?.user,kycBundleFlagResponse:h,passkeysFlagResponse:_,allFeatureFlags:xe,streamOnNavigation:e.data?.streamOnNavigation,rainPermissionEnabled:ce,communityWritePermissionEnabled:ge,activeOffersResponse:ve}},fn=()=>{F(async()=>{try{let{value:e}=await x.getBooleanFlag(`engagementReleaseRegisterServiceWorker`,!1);if(!e)return;if(!(`serviceWorker`in navigator)){d(`Service worker registration skipped`,{reason:`service-worker-unavailable`});return}await navigator.serviceWorker.register(`/service-worker.js`,{type:`classic`}),d(`Service worker registered`)}catch(e){u(`Service worker registration failed`,{},e)}})},pn=216e5,mn=e=>Ze({flag:Qe(e?.map(({flag:e})=>e)??[]).flag}),hn=e=>{let t=e.createdAt==null?void 0:Math.floor(new Date(e.createdAt).getTime()/pn)*pn;return{targetingKey:e.id,vipLevel:mn(e?.flags),isPromotionAbuser:!e?.optionalFeatures?.includes(y.promotion),country:e?.kycBasic?.country,...Number.isFinite(t)?{registeredAt:t}:{}}};function gn(e,t){z(t,!0);let n=N(!1),r,i=k(()=>t.userData?.id),a=k(()=>!t.session?.isAuthenticated||!!B(i)),o=k(()=>B(a)),s=k(()=>`