PageSourceSearch

https://xyes.ai/_next/static/js/app/layout.59401b8796e11d49.js

js xyes.ai collected 2026-10-05 14:49:17 UTC 116,944 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{55243:function(e,t,o){Promise.resolve().then(o.bind(o,64049)),Promise.resolve().then(o.bind(o,48393)),Promise.resolve().then(o.t.bind(o,92270,23)),Promise.resolve().then(o.t.bind(o,52451,23)),Promise.resolve().then(o.bind(o,95132)),Promise.resolve().then(o.bind(o,9887)),Promise.resolve().then(o.bind(o,24828)),Promise.resolve().then(o.bind(o,62995)),Promise.resolve().then(o.bind(o,36767)),Promise.resolve().then(o.bind(o,29373)),Promise.resolve().then(o.bind(o,56516)),Promise.resolve().then(o.bind(o,91040)),Promise.resolve().then(o.bind(o,73807)),Promise.resolve().then(o.bind(o,30836)),Promise.resolve().then(o.bind(o,94346)),Promise.resolve().then(o.bind(o,38113)),Promise.resolve().then(o.bind(o,93866)),Promise.resolve().then(o.bind(o,17640)),Promise.resolve().then(o.bind(o,64824)),Promise.resolve().then(o.bind(o,33037)),Promise.resolve().then(o.t.bind(o,68073,23)),Promise.resolve().then(o.bind(o,93274)),Promise.resolve().then(o.bind(o,2842)),Promise.resolve().then(o.bind(o,54205)),Promise.resolve().then(o.bind(o,73715))},81457:function(e,t,o){"use strict";o.d(t,{kN:function(){return u},si:function(){return l},YK:function(){return i}}),o(2265);var n=o(55447),r=o(29827),a=o(21770);let i=()=>{let e=(0,r.NL)();return(0,a.D)({mutationFn:async e=>{let{notificationSystemNo:t}=e,o="".concat("https://api.xyes.com/api/v1").concat(n.Hv.notifications.v2.markAsRead(t));return(await n.ZP.post(o,void 0)).data},onSuccess:()=>{e.invalidateQueries({queryKey:["notificationsV2"]})}})},l=()=>{let e=(0,r.NL)();return(0,a.D)({mutationFn:async e=>{let{type:t}=e,o="".concat("https://api.xyes.com/api/v1").concat(n.Hv.notifications.v2.markAllAsRead);return(await n.ZP.post(o,{type:t})).data},onSuccess:()=>{e.invalidateQueries({queryKey:["notificationsV2"]})}})};var s=o(68575),c=o(16593),d=o(45345);let u=e=>{let{type:t,page:o=1,limit:r=20,filter:a="all",enabled:i=!0}=e,l=(0,s.v9)(e=>e.user.data),u=null==l?void 0:l.memberId,p=new URL("".concat("https://api.xyes.com/api/v1").concat(n.Hv.notifications.v2.getByMember));return p.searchParams.set("type",t),p.searchParams.set("page",String(o)),p.searchParams.set("limit",String(r)),p.searchParams.set("filter",a),(0,c.a)({queryKey:["notificationsV2",u,t,o,r,a],queryFn:async()=>{var e;let t=(await n.ZP.get(p.toString())).data,o=t&&(null!==(e=t.data)&&void 0!==e?e:t);return null!=o?o:{notifications:[],totalDocuments:0,unreadCount:0,readCount:0,page:1,limit:20,totalPages:0}},enabled:i&&!!u,placeholderData:d.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0})}},95132:function(e,t,o){"use strict";o.d(t,{AuthConsumer:function(){return i}});var n=o(57437),r=o(73222),a=o(9887);function i(e){let{children:t}=e;return(0,n.jsx)(a.AuthContext.Consumer,{children:e=>(null==e?void 0:e.loading)?(0,n.jsx)(r.ch,{}):t})}},9887:function(e,t,o){"use strict";o.d(t,{AuthContext:function(){return n}});let n=(0,o(2265).createContext)(void 0)},24828:function(e,t,o){"use strict";o.d(t,{AuthProvider:function(){return k}});var n,r,a=o(57437),i=o(68575),l=o(38083),s=o(77533);let c=e=>{let t=document.getElementById(e);t&&t.parentNode&&t.parentNode.removeChild(t)};var d=o(2265),u=o(55447),p=o(35447),h=o(59866);let g="xyes-auth-tab-id",x=null;function m(){try{let e=sessionStorage.getItem(g);return e||(e=crypto.randomUUID(),sessionStorage.setItem(g,e)),e}catch(e){return"tab-".concat(Date.now())}}function f(){return"undefined"==typeof BroadcastChannel?null:(x||(x=new BroadcastChannel("xyes-auth-session")),x)}function b(e){let t=f();if(!t)return;let o={type:e,tabId:m(),at:Date.now()};try{t.postMessage(o)}catch(e){}}var v=o(9887),y=o(14086);(n=r||(r={})).INITIAL="INITIAL",n.LOGIN="LOGIN",n.REGISTER="REGISTER",n.LOGOUT="LOGOUT",n.SET_BALANCE="SET_BALANCE";let w={user:null,loading:!0,balance:null},C=(e,t)=>{switch(t.type){case"INITIAL":return{...e,loading:!1,user:t.payload.user};case"LOGIN":case"REGISTER":return{...e,user:t.payload.user};case"LOGOUT":return{...e,user:null,balance:null};case"SET_BALANCE":return{...e,balance:t.payload.balance};default:return e}};function k(e){let{children:t}=e,[o,n]=(0,d.useReducer)(C,w),r=(0,i.I0)(),g=(0,d.useRef)(0),x=(0,d.useRef)(async()=>void 0),k=(0,d.useRef)(()=>void 0),S=(0,d.useCallback)(async()=>{try{let e=(await u.ZP.get(u.Hv.wallet.getUserBalances)).data;n({type:"SET_BALANCE",payload:{balance:(null==e?void 0:e.data)||null}})}catch(e){n({type:"SET_BALANCE",payload:{balance:null}})}},[]),Z=(0,d.useCallback)(async function(){var e,t;let o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2?arguments[2]:void 0,d=Date.now(),x=d-g.current;if(o||a||!(x<1e3)){g.current=d;try{let a=(0,p.hP)(),d=a&&(0,y.wu)(a)?null:await (0,h.o3)(),g=(0,p.hP)(),x=null;x=g&&(0,y.wu)(g)?g:a&&(0,y.wu)(a)?a:null!==(e=null==d?void 0:d.accessToken)&&void 0!==e?e:null;let m=null==d?void 0:d.expiresIn;
1if(x&&(0,y.wu)(x)){(0,y.KY)(x,void 0,m);let e=await u.ZP.get(u.Hv.auth.me),{data:a}=e.data;if(window.Intercom){let e=new URL("".concat("https://api.xyes.com/api/v1"+u.Hv.auth.getDataIntercom)),{data:o}=await u.ZP.get(e.toString()),n=null==o?void 0:null===(t=o.data)||void 0===t?void 0:t.memberInfo;window.Intercom("boot",{hide_default_launcher:!0,name:n.memberUsername,user_id:n.memberId,app_id:"xtjwfs6m",...n.userHash?{user_hash:n.userHash}:{},email:null==a?void 0:a.email,avatar:{type:"avatar",image_url:null==a?void 0:a.avatar},agentId:null==n?void 0:n.agentId,balance:null==n?void 0:n.balance,vipLevel:null==n?void 0:n.vipLevel,totalDepositAmount:null==n?void 0:n.totalDepositAmount,totalWithdrawAmount:null==n?void 0:n.totalWithdrawAmount,companyIncome:null==n?void 0:n.companyIncome,lastLoginDate:null==n?void 0:n.lastLoginDate,loginType:null==n?void 0:n.loginType})}!o||(l.Y.dispatchEvent(new CustomEvent("auth-update",{detail:{data:a}})),(null==i?void 0:i.skipBroadcast)||b("SESSION_LOGIN")),r((0,s.eN)(e.data)),c("betby-script"),n({type:"INITIAL",payload:{user:{email:null==a?void 0:a.email,avatar:null==a?void 0:a.avatar,accessToken:x}}}),S()}else n({type:"INITIAL",payload:{user:null}})}catch(e){if(e instanceof DOMException&&"AbortError"===e.name||e instanceof Error&&"AbortError"===e.name||"object"==typeof e&&null!==e&&"code"in e&&"ERR_CANCELED"===e.code)return;n({type:"INITIAL",payload:{user:null}})}}},[r,S]),j=(0,d.useCallback)(e=>{(0,y.KY)(null),localStorage.removeItem("userInfo"),sessionStorage.removeItem("spt_session"),window.Intercom&&(window.Intercom("shutdown",{hide_default_launcher:!0}),window.Intercom("boot",{app_id:"xtjwfs6m",hide_default_launcher:!0})),n({type:"LOGOUT"}),window.dispatchEvent(new Event("BETBY_LOGOUT")),(null==e?void 0:e.skipBroadcast)||b("SESSION_LOGOUT")},[]);x.current=Z,k.current=j,(0,d.useEffect)(()=>{{let e=window.location.pathname,t=new URLSearchParams(window.location.search);if(e.includes("/auth/telegram/callback")||e.includes("/auth/google/callback")||e.includes("/auth/line/success")&&(t.has("auth_code")||t.has("token")))return}Z()},[Z]),(0,d.useEffect)(()=>(function(e){let t=f();if(!t)return()=>void 0;let o=t=>{let o=t.data;if(o&&"object"==typeof o&&o.tabId!==m())switch(o.type){case"SESSION_LOGIN":e.onLoginFromOtherTab();break;case"SESSION_LOGOUT":e.onLogoutFromOtherTab()}};return t.addEventListener("message",o),()=>{t.removeEventListener("message",o)}})({onLoginFromOtherTab:()=>{(0,p.$9)(),(0,h.Ts)(),x.current(!0,!0,{skipBroadcast:!0}).catch(()=>void 0)},onLogoutFromOtherTab:()=>{k.current({skipBroadcast:!0})}}),[]);let L=(0,d.useCallback)(async(e,t)=>{let{token:o,getStreamToken:r}=(await u.ZP.post(u.Hv.auth.login,{email:e,password:t})).data;(0,y.KY)(o,r),await Z(!0),n({type:"LOGIN",payload:{user:{token:o,getStreamToken:r}}})},[Z]),I=(0,d.useCallback)(async e=>{let t={email:e.email,phone:e.phone,password:e.password,repeatPassword:e.repeatPassword},{token:o,user:r,getStreamToken:a}=(await u.ZP.post(u.Hv.auth.register,t)).data;(0,y.KY)(o,a),await Z(!0),n({type:"REGISTER",payload:{user:{...r,token:o}}})},[Z]),M=(0,d.useCallback)(async()=>{j()},[j]),P=o.user?"authenticated":"unauthenticated",E=o.loading?"loading":P,O=(0,d.useMemo)(()=>({user:o.user,balance:o.balance,method:"jwt",loading:"loading"===E,authenticated:"authenticated"===E,unauthenticated:"unauthenticated"===E,login:L,register:I,logout:M,initialize:Z,fetchBalance:S}),[o.user,o.balance,E,L,I,M,Z,S]);return(0,a.jsx)(v.AuthContext.Provider,{value:O,children:t})}},62995:function(e,t,o){"use strict";o.d(t,{NotificationProvider:function(){return s}});var n=o(57437),r=o(2265);class a{static async initialize(){if("serviceWorker"in navigator)try{this.serviceWorkerRegistration=await navigator.serviceWorker.register("/notification-sw.js"),await navigator.serviceWorker.ready}catch(e){}}static cleanup(){this.recentNotifications.clear()}static checkSupport(){return"Notification"in window}static checkPermission(){return!!this.checkSupport()&&"granted"===Notification.permission}static async requestPermission(){if(!this.checkSupport())return!1;try{let e=await Notification.requestPermission();return"granted"===e}catch(e){return!1}}static shouldShowNotification(e){return!(!e.id||this.recentNotifications.has(e.id))&&"POPUPNOTIFICATION"===e.type&&document.hidden&&this.checkSupport()&&this.checkPermission()&&!!e.payload.message}static async showNotification(e){if(this.shouldShowNotification(e)){this.recentNotifications.add(e.id);try{var t,o;let n={body:e.payload.message,icon:null!==(o=null===(t=e.payload.data)||void 0===t?void 0:t.image)&&void 0!==o?o:this.DEFAULT_ICON,tag:e.id,requireInteraction:!1,silent:!1,data:e,badge:this.DEFAULT_ICON};if(this.serviceWorkerRegistration){await this.serviceWorkerRegistration.showNotification(this.SITE_NAME,n);return}let r=new Notification(this.SITE_NAME,n);r.onclick=()=>{window.focus(),r.close()},setTimeout(()=>{r.close(),this.recentNotifications.delete(e.id)},this.AUTO_CLOSE_DELAY)}catch(t){this.recentNotifications.delete(e.id)}}}static isWebSocketNotification(e){return e&&"object"==typeof e&&"type"in e&&"payload"in e&&"object"==typeof e.payload&&null!==e.payload&&"message"in e.payload&&"string"==typeof e.payload.message}}a.SITE_NAME="XYES.com Notification",a.DEFAULT_ICON="".concat("https://img.xyes.com/","assets/icons/logos/xyes-favicon-dark-mode.svg"),a.AUTO_CLOSE_DELAY=1e4,a.serviceWorkerRegistration=null,a.recentNotifications=new Set;var i=o(46629),l=o(36767);let s=e=>{let{children:t}=e,[o,s]=(0,r.useState)({toasts:[],currentModal:null}),[c,d]=(0,r.useState)(!1),{lastMessage:u}=(0,l.useWebSocketContext)(),p=(0,r.useRef)({}),h=(0,r.useRef)(new Set),g=(0,r.useRef)(!1);(0,r.useEffect)(()=>()=>{Object.values(p.current).forEach(clearTimeout),a.cleanup()},[]);let x=(0,r.useCallback)(e=>{if(!g.current){g.current=!0;try{s(t=>({...t,toasts:t.toasts.filter(t=>t.id!==e)})),clearTimeout(p.current[e]),delete p.current[e],h.current.delete(e)}finally{g.current=!1}}},[]),m=(0,r.useCallback)(e=>{if(!g.current&&!h.current.has(e.id)){g.current=!0;try{h.current.add(e.id),s(t=>{if(t.toasts.some(t=>t.id===e.id))return t;
1p.current[e.id]=setTimeout(()=>{x(e.id)},1e4);let o=[...t.toasts,e];return{...t,toasts:o}})}finally{g.current=!1}}},[x]),f=(0,r.useCallback)(e=>{if(["UPDATEBALANCE","WITHDRAW_UPDATE","DEPOSIT_UPDATE","BONUS_CLAIMED"].includes(e.type))return;let t=null;if(a.isWebSocketNotification(e))t=e;else if("object"==typeof e&&"type"in e){var o,n;let r=e.message||(null===(o=e.payload)||void 0===o?void 0:o.message)||"Notificaci\xf3n",a=(null===(n=e.payload)||void 0===n?void 0:n.data)||e.payload||{},i=e.id||(null==a?void 0:a.id);t={id:i?"".concat(i,"-").concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9)):"notification-".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9)),userId:e.userId||"public",type:"ANNOUNCEMENT"===e.type||"NOTIFICATION"===e.type?"POPUPNOTIFICATION":e.type,payload:{message:r,data:{...a,title:a.title||e.type||"Notificaci\xf3n",type:e.type||"NOTIFICATION"}},timestamp:e.timestamp||new Date().toISOString()}}if(t){if(document.hidden&&"POPUPNOTIFICATION"===t.type&&c){a.showNotification(t);return}switch(t.type){case"POPUPNOTIFICATION":m(t);break;case"POPUPNOTIFICATIONMODAL":s(e=>({...e,currentModal:t}));break;default:{let e=t.type;("ANNOUNCEMENT"===e||"NOTIFICATION"===e)&&m({...t,type:"POPUPNOTIFICATION"})}}}},[m,c]);(0,r.useEffect)(()=>{(async()=>{await a.initialize(),d(await a.requestPermission())})()},[]),(0,r.useEffect)(()=>{u&&f(u)},[u,f]);let b=(0,r.useMemo)(()=>({state:o,handleNotification:f,closeToast:x,closeModal:()=>s(e=>({...e,currentModal:null})),desktopEnabled:c,requestNotifications:async()=>{d(await a.requestPermission())}}),[o,f,x,c]);return(0,n.jsx)(i.u.Provider,{value:b,children:t})}},46629:function(e,t,o){"use strict";o.d(t,{n:function(){return a},u:function(){return r}});var n=o(2265);let r=(0,n.createContext)({state:{toasts:[],currentModal:null},handleNotification:()=>{},closeToast:()=>{},closeModal:()=>{},desktopEnabled:!1,requestNotifications:async()=>{}}),a=()=>(0,n.useContext)(r)},20418:function(e,t,o){"use strict";o.d(t,{E:function(){return n.E}});var n=o(89011)},89011:function(e,t,o){"use strict";o.d(t,{E:function(){return a}});var n=o(2265),r=o(9887);let a=()=>{let e=(0,n.useContext)(r.AuthContext);if(!e)throw Error("useAuthContext context must be use inside AuthProvider");return e}},56516:function(e,t,o){"use strict";o.d(t,{MotionLazy:function(){return l}});var n=o(57437),r=o(50278),a=o(59364),i=o(8233);function l(e){let{children:t}=e;return(0,n.jsx)(r.X,{strict:!0,features:a.g,children:(0,n.jsxs)(i.m.div,{style:{height:"100%"},children:[" ",t," "]})})}},91040:function(e,t,o){"use strict";var n=o(2265),r=o(99376),a=o(95671);t.default=()=>{let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),{trackPageView:o}=(0,a.t)();return(0,n.useEffect)(()=>{o()},[e,t,o]),null}},57871:function(e,t,o){"use strict";o.d(t,{lR:function(){return s},Es:function(){return u},ht:function(){return c}});var n=o(57437),r=o(18848),a=o(68575),i=o(48116);let l=["First.Name","Email","USD.Exchange.nextValue"],s=e=>{let{content:t,mergeTags:o}=e,i=c(t,o||{},(0,a.v9)(e=>e.userCurrencies));return i?(0,n.jsx)("div",{style:{overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"pre-wrap",width:"100%",maxWidth:"100%",boxSizing:"border-box",display:"block"},className:"notification-content",dangerouslySetInnerHTML:{__html:r.Z.sanitize(i,{ADD_ATTR:["target","rel"]})}}):(0,n.jsx)("div",{children:"No hay contenido disponible."})},c=(e,t,o)=>{let n=Object.entries(t).reduce((e,t)=>{let[o,n]=t;return e[o]=n,e},{});return(e||"").replace(RegExp(l.map(e=>e.includes("nextValue")?"{{".concat(e,"}}(.+?)(?=\\s|<)"):"{{".concat(e,"}}")).join("|"),"g"),e=>{let t=e.replace(/{{|}}/g,"");if(t.includes("nextValue")){let e=t.split("nextValue")[1],l=t.split(e)[0],s=n[l];if("USD.Exchange.nextValue"===l){var r,a;let t=(null===(r=o.fiats.find(e=>e.symbol===s))||void 0===r?void 0:r.usdRate)||1,n=(null===(a=o.fiats.find(e=>e.symbol===s))||void 0===a?void 0:a.symbol)||"USD",l=(Number(e)*Number(t)).toString();return"".concat(n," ").concat((0,i.dN)(Number(l),"fiat")," ")}return e}return n[t]||""})},d=(e,t)=>{if(null!=e&&"object"==typeof e)return t.split(".").reduce((e,t)=>
1null!=e&&"object"==typeof e&&t in e?e[t]:void 0,e)},u=(e,t)=>{let{templateProperties:o,transaction:n,mergeTags:r,currencyList:a,userData:l}=t;if(!e)return e;let s=null!=l?l:null;if(null==s){let e=window.sessionStorage;if(e)try{let t=e.getItem("persist:user");if(t){let e=JSON.parse(t);null!=e.data&&"object"==typeof e.data&&(s=e.data)}}catch(e){}}return e.replace(/\{\{([^}]+)\}\}([\d.]+)?/g,(e,t,l)=>{var c,u,p,h,g;let x=t.trim();if(x.startsWith("user.")){let e=x.slice(5).trim(),t=s?d(s,e):void 0;return null==t?"":String(t)}if(x.startsWith("transaction.")){if(!n)return e;let t=x.slice(12).trim();if(!t)return e;let o=d(n,t);return null==o?"":String(o)}if(o&&x in o)return String(o[x]);if("First.Name"===x||"Email"===x)return null!==(c=r[x])&&void 0!==c?c:"";if("USD.Exchange.nextValue"===x&&null!=l){let e=r["USD.Exchange.nextValue"],t=null!==(h=null===(u=a.fiats.find(t=>t.symbol===e))||void 0===u?void 0:u.usdRate)&&void 0!==h?h:1,o=null!==(g=null===(p=a.fiats.find(t=>t.symbol===e))||void 0===p?void 0:p.symbol)&&void 0!==g?g:"USD",n=Number(l)*Number(t);return"".concat(o," ").concat((0,i.dN)(n,"fiat")," ")}return e})}},45225:function(e,t,o){"use strict";var n=o(57437),r=o(2265),a=o(68720),i=o(1899);let l=(0,r.forwardRef)((e,t)=>{let{icon:o,width:r=20,sx:l,...s}=e;return(0,n.jsx)(i.Z,{ref:t,component:a.JO,className:"component-iconify",icon:o,sx:{width:r,height:r,...l},...s})});t.Z=l},76975:function(e,t,o){"use strict";o.d(t,{Z:function(){return n.Z}});var n=o(45225)},67972:function(e,t,o){"use strict";o.d(t,{A:function(){return b}});var n=o(57437),r=o(60033),a=o(78948),i=o(76975),l=o(2265),s=o(66274),c=o(31691),d=o(82156),u=o(35791),p=o(1899),h=o(95576),g=o(46387),x=o(73053),m=o(73992);let f=o(87256).nK,b=e=>{let{type:t,title:o,modalProps:b={},requireAuth:v=!1,showModal:y,handleModal:w,size:C,fullScreenOnMobile:k=!0,hasIcon:S=!1,showCloseButton:Z=!0,allowScroll:j=!0,height:L,showTitle:I=!0,disablePadding:M=!1,customIcon:P,dialogSx:E,sx:O,transparentBackground:T=!1,overflowVisible:F=!1,stickyHeader:N=!1,closeBtnStyle:A}=e,{t:R}=(0,r.i)(),z=(0,c.Z)(),D=(0,d.Z)(z.breakpoints.down("sm")),B=(0,s.jD)(),W=(0,s.tv)(),_=(0,s.lr)(),[q,H]=(0,l.useState)(!1),U=(0,l.useCallback)(()=>{let e=_.get("modal")===t;H(void 0!==y?y:e)},[_,t,y]);(0,l.useEffect)(()=>{U()},[U]),(0,l.useEffect)(()=>{let e=()=>{U()};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[U]);let G=f[t],V=(0,l.useCallback)(e=>{let t="".concat(B,"?").concat(e.toString());W.replace(t)},[W,B]),K=(0,l.useCallback)(()=>{w?w(!1):V(new URLSearchParams)},[w,V]),Y=(0,l.useCallback)(e=>{if(w)w(e);else if(e){let e=new URLSearchParams(_);e.set("modal",t),V(e)}else K()},[w,K,_,V,t]);return(0,n.jsx)(u.Z,{fullWidth:!C,maxWidth:!1,fullScreen:D&&k,open:q,onClose:K,sx:{"& .MuiDialog-paper":{margin:D&&!k?z.spacing(2):D?0:z.spacing(2),maxHeight:"100%",height:L||"auto",display:"flex",flexDirection:"column",overflow:F?"visible":j?"auto":"hidden",width:C||"auto",maxWidth:C||"none",borderRadius:D&&k?0:void 0,boxShadow:T?"none":a.y0.boxShadow,backgroundColor:T?"transparent":z.palette.background.default,...E}},children:(0,n.jsxs)(p.Z,{sx:{position:"relative",pt:M?0:3,px:M?0:3,pb:M?0:2,display:"flex",flexDirection:"column",height:"100%",...O},children:[(0,n.jsxs)(p.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",position:N?"sticky":"relative",top:N?0:"auto",left:N?0:"auto",width:"100%",mb:I?2:0,backgroundColor:N?"background.default":"transparent",zIndex:N?1100:"auto"},children:[Z&&(0,n.jsx)(h.Z,{"aria-label":"close",onClick:K,sx:{position:"absolute",right:-19,top:"4%",transform:"translateY(-50%)",color:z.palette.grey[500],zIndex:10,...A},children:(0,n.jsx)(i.Z,{icon:"solar:close-circle-linear",sx:{height:24,width:24}})}),I&&(0,n.jsxs)(p.Z,{sx:{display:"flex",alignItems:"center"},children:[S&&(0,n.jsx)(m.d3,{iconUrl:P||"".concat("https://img.xyes.com/","assets/icons/logos/xyes-favicon-dark-mode.svg"),style:{flexShrink:0,width:{xs:"clamp(24px, 3.5vw, 18px)",sm:"18px",md:"20px",lg:"22px"},height:{xs:"clamp(24px, 3.5vw, 18px)",sm:"18px",md:"20px",lg:"22px"},color:z.palette.orange[900],marginRight:"8px"}}),(0,n.jsx)(g.Z,{variant:"h2",sx:{textAlign:"center"},children:R(o)})]})]}),(0,n.jsx)(p.Z,{sx:{flexGrow:1,overflow:F?"visible":"auto",pt:M?0:2,pb:M?0:2,"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:(0,n.jsx)(l.Suspense,{fallback:(0,n.jsx)(p.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"200px"},children:(0,n.jsx)(x.Z,{})}),children:(0,n.jsx)(G,{showModal:q,handleModal:Y,...b})})})]})})}},73807:function(e,t,o){"use strict";o.d(t,{NotificationContainer:function(){return b}});var n=o(57437),r=o(68720),a=o(5095),i=o(8233),l=o(46629),s=o(67972);let c=e=>{let{notification:t,onClose:o}=e;if(!t.payload.data)return null;let{data:r}=t.payload;return(0,n.jsx)(a.M,{mode:"wait",children:(0,n.jsx)(s.A,{type:"verifyPopUpModal",title:r.title||"Notification",showModal:!0,handleModal:e=>{e||o()}})})};
1var d=o(33145),u=o(2265),p=o(1899),h=o(95576),g=o(7878),x=o(46387);let m=(e,t)=>{if(!e)return"";let o=String(e);if(o.length<=t)return o;let n=o.substring(0,t),r=n.lastIndexOf(" "),a=r>t-20?n.substring(0,r):n;return"".concat(a.trim(),"...")},f=(0,u.forwardRef)((e,t)=>{var o;let{notification:a,onClose:i}=e;return(0,n.jsxs)(p.Z,{ref:t,sx:{width:{xs:"21rem",sm:"25rem"},minHeight:"90px",backgroundColor:"background.paper",position:"relative",p:2,borderRadius:1,boxShadow:3,border:"1px solid",borderColor:"divider",overflow:"hidden","& .MuiAlert-message":{width:"100%"}},children:[(0,n.jsx)(h.Z,{"aria-label":"close",color:"inherit",size:"small",onClick:i,sx:{position:"absolute",right:8,top:8},children:(0,n.jsx)(r.JO,{icon:"material-symbols:close",width:"20"})}),(0,n.jsxs)(p.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:.5},children:[(0,n.jsx)(p.Z,{sx:{position:"relative",width:30,height:30,flexShrink:0,borderRadius:"50%",overflow:"hidden"},children:(0,n.jsx)(d.default,{src:"".concat("https://img.xyes.com/","assets/icons/logos/xyes-favicon-dark-mode.svg"),alt:"Game Card",fill:!0,style:{objectFit:"cover"},sizes:"30px"})}),(0,n.jsx)(g.Z,{sx:{m:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",pr:4},children:m(null===(o=a.payload.data)||void 0===o?void 0:o.title,30)})]}),(0,n.jsx)(x.Z,{variant:"body2",sx:{mt:.5,pr:3,mb:1,wordBreak:"break-word"},children:m(a.payload.message,50)})]})});f.displayName="NotificationToast";let b=()=>{let{state:e,closeToast:t,closeModal:o}=(0,l.n)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(p.Z,{sx:{position:"fixed",top:16,right:16,zIndex:9999,maxWidth:"calc(100vw - 32px)",pointerEvents:"none","& > *":{pointerEvents:"auto"}},children:[e.toasts.length>0&&(0,n.jsx)(p.Z,{sx:{display:"flex",justifyContent:"flex-end",mb:1},children:(0,n.jsx)(h.Z,{size:"small",onClick:()=>{e.toasts.forEach(e=>t(e.id))},sx:{bgcolor:"background.paper",boxShadow:1,"&:hover":{bgcolor:"action.hover"}},children:(0,n.jsx)(r.JO,{icon:"material-symbols:close",width:"20"})})}),(0,n.jsxs)(p.Z,{sx:{position:"relative",display:{xs:"block",md:"none"}},children:[(0,n.jsx)(a.M,{mode:"wait",children:e.toasts.length>0&&(0,n.jsx)(p.Z,{component:i.m.div,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:(0,n.jsx)(f,{notification:e.toasts[e.toasts.length-1],onClose:()=>t(e.toasts[e.toasts.length-1].id)})})}),e.toasts.length>1&&(0,n.jsx)(p.Z,{sx:{position:"absolute",top:-8,right:-8,bgcolor:"primary.main",color:"primary.contrastText",borderRadius:"50%",width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:1},children:(0,n.jsx)(r.JO,{icon:"material-symbols:notifications",width:"16",color:"white"})})]}),(0,n.jsx)(p.Z,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",gap:1,alignItems:"flex-end"},children:(0,n.jsx)(a.M,{mode:"popLayout",initial:!1,children:e.toasts.map((o,r)=>(0,n.jsx)(p.Z,{component:i.m.div,layout:!0,initial:{opacity:0,x:300,scale:.8},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,x:300,scale:.8},transition:{duration:.3,type:"spring",stiffness:300,damping:30},style:{position:"relative",zIndex:e.toasts.length-r},children:(0,n.jsx)(f,{notification:o,onClose:()=>t(o.id)})},o.id))})})]}),e.currentModal&&(0,n.jsx)(c,{notification:e.currentModal,onClose:o})]})}},30836:function(e,t,o){"use strict";o.d(t,{default:function(){return u}});var n=o(57437),r=o(71318),a=o.n(r),i=o(2265),l=o(66274),s=o(31691),c=o(64049);function d(){let e=(0,s.Z)();return(0,n.jsx)(c.default,{styles:{"#nprogress":{pointerEvents:"none",".bar":{top:0,left:0,height:2.5,zIndex:9999,width:"100%",position:"fixed",backgroundColor:e.palette.primary.main,boxShadow:"0 0 2px ".concat(e.palette.primary.main)},".peg":{right:0,opacity:1,width:100,height:"100%",display:"block",position:"absolute",transform:"rotate(3deg) translate(0px, -4px)",boxShadow:"0 0 10px ".concat(e.palette.primary.main,", 0 0 5px ").concat(e.palette.primary.main)}}}})}function u(){return(0,i.useEffect)(()=>{a().configure({showSpinner:!1});let e=e=>{e.currentTarget.href!==window.location.href&&a().start()};new MutationObserver(()=>{Array.from(document.querySelectorAll("a[href]")).filter(e=>{let t=e.getAttribute("href");return t&&t.startsWith("/")}).filter(e=>!["/racing","/racing/horse-racing","/racing/greyhound","/racing/harness"].some(t=>
1e.href.includes(t))).forEach(t=>t.addEventListener("click",e))}).observe(document,{childList:!0,subtree:!0}),window.history.pushState=new Proxy(window.history.pushState,{apply:(e,t,o)=>(a().done(),e.apply(t,o))})}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(i.Suspense,{fallback:null,children:(0,n.jsx)(p,{})})]})}function p(){let e=(0,l.jD)(),t=(0,l.tv)(),o=(0,l.lr)();return(0,i.useEffect)(()=>{a().done()},[e,t,o]),null}},94346:function(e,t,o){"use strict";o.d(t,{default:function(){return i}});var n=o(2265),r=o(820);let a={path:"/",expires:new Date(Date.now()+2592e6),sameSite:"lax",secure:!0};function i(){return(0,n.useEffect)(()=>{try{let e=new r.Z,t=document.referrer,{host:o}=window.location,n=window.location.href,i=!!t&&t.includes(o),l={referer:t||"direct",currentUrl:n,timestamp:new Date().toISOString(),isInternal:i};i||(e.get("referrer")||e.set("referrer",l.referer,a),e.get("referrer_timestamp")||e.set("referrer_timestamp",l.timestamp,a))}catch(e){}},[]),null}},38113:function(e,t,o){"use strict";o.d(t,{RouteTracker:function(){return s}});var n=o(2265),r=o(68575),a=o(99376),i=o(55447),l=o(89011);let s=()=>{let e=(0,a.usePathname)(),t=(0,r.v9)(e=>e.user.data),o=(0,l.E)();return(0,n.useEffect)(()=>{let n=async()=>{try{let t="".concat("https://api.xyes.com/api/v1"+i.Hv.auth.trackCurrentRoute);await (0,i.ZP)({method:"patch",url:t.toString(),data:{route:"https://xyes.com"+e}})}catch(e){}};(null==t?void 0:t.memberId)&&o.authenticated&&n()},[o.authenticated,e,null==t?void 0:t.memberId]),(0,n.useEffect)(()=>{let e=async()=>{try{let e="".concat("https://api.xyes.com/api/v1"+i.Hv.auth.me);await i.ZP.get(e)}catch(e){}};if(!(null==t?void 0:t.memberId)||!o.authenticated)return;e();let n=setInterval(()=>{e()},Number("305000")||305e3);return()=>clearInterval(n)},[o.authenticated,null==t?void 0:t.memberId]),null}},33037:function(e,t,o){"use strict";o.d(t,{AdvertisementContainer:function(){return B}});var n=o(57437),r=o(2265),a=o(20418),i=o(60033),l=o(68575),s=o(99376),c=o(55447);function d(e){var t,o,n,r;let a=e.publishAt?new Date(e.publishAt):new Date,i=new Date(e.expireAt?e.expireAt:Date.now()+2592e6),l={id:e.id||e._id,systemNo:e.systemNo,name:e.title,type:"CENTER_POPUP"===e.type?"popup":"floating",imageUrl:e.imageUrl||"",linkUrl:e.redirectUrl||"",isExternalURL:"boolean"==typeof e.isExternalURL?e.isExternalURL:"boolean"!=typeof e.is_external_url||e.is_external_url,clickAction:function(e){switch(e){case"SAME_WINDOW":return"same_window";case"NEW_WINDOW":default:return"new_window";case"POPUP":return"popup_content";case"FEATURE":return"popup_feature"}}(e.clickType),loginCondition:function(e){switch(e){case"ALL":default:return"always";case"BEFORE":return"before_login";case"AFTER":return"after_login"}}(e.loginState),memberCondition:function(e){switch(e){case"VIP":return"specific_vip";case"MEMBER":return"specific_member";case"AGENT":return"specific_agent";case"NEW_USER":return"new_user";default:return"all_users"}}(e.segmentType||"ALL"),closeOptions:{allowTemporaryClose:!0,temporaryCloseHours:null!==(t=e.temporaryCloseHours)&&void 0!==t?t:24,allowPermanentClose:!1},badge:e.extraTag||"none",priority:null!==(o=e.priority)&&void 0!==o?o:0,displayPages:e.displayPages||["HOME"],startTime:a,endTime:i,isActive:null===(n=e.isActive)||void 0===n||n,popupTitle:e.popupTitle,popupContent:e.popupContent};if("FLOATING"===e.type){let t=null===(r=e.position)||void 0===r?void 0:r.toString().toUpperCase();return{...l,floatingPosition:"RIGHT"===t?"right":"left"}}return l}async function u(e){let{type:t,page:o,locale:n}=e,{data:r}=await c.ZP.get(c.Hv.ads.list,{params:{type:t,page:o,...n&&{locale:n}}});return(function(e){if(Array.isArray(e))return e;if(e&&"object"==typeof e){if(Array.isArray(e.data))return e.data;if(Array.isArray(e.items))return e.items;if(e.data&&"object"==typeof e.data&&Array.isArray(e.data.data))return e.data.data}return[]})(r).map(d)}async function p(e){await c.ZP.post(c.Hv.ads.close(e),{})}function h(e,t){let o=new Date;return e.filter(e=>{var n,r;if(!e.isActive||o>e.endTime||"before_login"===e.loginCondition&&t.isLoggedIn||"after_login"===e.loginCondition&&!t.isLoggedIn)return!1;if("specific_vip"===e.memberCondition&&(null===(n=e.memberConditionDetail
1s)||void 0===n?void 0:n.vipLevels)){if(!t.isLoggedIn)return!1;let o=null!==(r=t.vipLevel)&&void 0!==r?r:0;if(!e.memberConditionDetails.vipLevels.includes(o))return!1}return!0})}var g=o(81457),x=o(76975),m=o(43161);function f(e,t,o){let n=e.trim();return n?t?n:o(n.replace(/^\/+/,"")||void 0):""}var b=o(31691),v=o(82156),y=o(35791),w=o(1899),C=o(46387),k=o(95576),S=o(77468),Z=o(44811);let j={xs:{width:320},sm:{width:360},md:{width:400}};function L(e){var t;let{id:o,imageUrl:r,title:a,content:l,linkUrl:s,isExternalURL:c=!0,clickAction:d,badge:u,closeOptions:p,queuePosition:h,totalInQueue:g,onClose:L,onTemporaryClose:I,onNext:M,onAction:P}=e,E=(0,b.Z)(),{t:O}=(0,i.i)(),{getLink:T}=(0,m.m)(),F=(0,v.Z)(E.breakpoints.only("xs")),N=(0,v.Z)(E.breakpoints.between("sm","md")),A=F?j.xs:N?j.sm:j.md,R=()=>L(o),z=u&&"NONE"!==u.toUpperCase()?u:null,D=!!s.trim()&&("same_window"===d||"new_window"===d)||"popup_feature"===d;return(0,n.jsxs)(y.Z,{open:!0,maxWidth:!1,PaperProps:{sx:{width:A.width,minWidth:280,maxWidth:"calc(100vw - 32px)",maxHeight:"90vh",borderRadius:2,overflow:"hidden",boxShadow:E.shadows[24],p:0}},slotProps:{backdrop:{sx:{bgcolor:"rgba(0,0,0,0.6)"}}},children:[(0,n.jsxs)(w.Z,{sx:{position:"relative"},children:[(0,n.jsxs)(w.Z,{component:D?"button":"div",type:D?"button":void 0,onClick:D?()=>{if("popup_feature"===d){null==P||P();return}let e=f(s,c,T);if(e&&"same_window"===d){window.location.href=e;return}e&&"new_window"===d&&window.open(e,"_blank","noopener,noreferrer")}:void 0,sx:{position:"relative",display:"block",width:"100%",aspectRatio:"1 / 1",margin:0,padding:0,border:"none",bgcolor:"background.neutral",overflow:"hidden",cursor:D?"pointer":"default"},children:[(0,n.jsx)(w.Z,{component:"img",src:r,alt:"",sx:{display:"block",width:"100%",height:"100%",objectFit:"contain",objectPosition:"top center",verticalAlign:"top",pointerEvents:"none"},onError:e=>{e.target.style.backgroundColor=E.palette.background.neutral}}),z&&(0,n.jsx)(w.Z,{sx:{position:"absolute",top:8,left:8,zIndex:1,px:1.5,py:.5,borderRadius:1,bgcolor:"error.main",color:"common.white"},children:(0,n.jsx)(C.Z,{variant:"caption",sx:{fontWeight:700,fontSize:"0.75rem"},children:z})}),g>1&&(0,n.jsxs)(C.Z,{variant:"caption",sx:{position:"absolute",bottom:8,right:8,zIndex:1,px:1,py:.5,borderRadius:1,bgcolor:"rgba(0,0,0,0.5)",color:"common.white",fontWeight:600},children:[h," / ",g]}),(0,n.jsx)(k.Z,{size:"small",onClick:e=>{e.stopPropagation(),R()},sx:{position:"absolute",top:8,right:8,zIndex:1,bgcolor:"rgba(0,0,0,0.5)",color:"common.white","&:hover":{bgcolor:"rgba(0,0,0,0.7)"}},"aria-label":O("ads.close"),children:(0,n.jsx)(x.Z,{icon:"mingcute:close-line",width:20})})]}),a&&(0,n.jsx)(C.Z,{variant:"body1",component:"p",sx:{px:2,pt:1.5,pb:.5,fontWeight:400,fontSize:"0.9375rem",lineHeight:1.4,textAlign:"left",color:"text.secondary"},children:a})]}),(0,n.jsxs)(S.Z,{sx:{pt:1.5,pb:2,overflow:"auto",maxHeight:"40vh"},children:[l&&(0,n.jsx)(C.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:l}),(0,n.jsxs)(w.Z,{sx:{display:"flex",flexWrap:"wrap",gap:1,justifyContent:"flex-end",alignItems:"center"},children:[p.allowTemporaryClose&&(0,n.jsx)(Z.Z,{variant:"outlined",size:"small",onClick:()=>I(o),children:O("ads.doNotShowForHours",{hours:null!==(t=p.temporaryCloseHours)&&void 0!==t?t:24})}),g>1&&(0,n.jsx)(Z.Z,{variant:"contained",color:"primary",onClick:M,size:"small",sx:{color:"common.white"},children:O("ads.next")})]})]})]})}var I=o(59062);function M(e){let t,{id:o,imageUrl:a,linkUrl:i,isExternalURL:l=!0,clickAction:s,position:c,index:d,total:u,badge:p,onClose:h,onPopupContent:g,onPopupFeature:y}=e,S=(0,b.Z)(),{getLink:Z}=(0,m.m)(),{isNotificationsDrawerOpen:j}=(0,I.K$)(),L=(0,v.Z)(S.breakpoints.up("md")),M=(0,v.Z)(S.breakpoints.up("sm")),P=40;L?P=72:M&&(P=56);let E=P/72,O=Math.max(2,Math.round(4*E)),T=Math.max(18,Math.round(24*E)),F=Math.round(8*E),[N,A]=(0,r.useState)(!0),R=(0,r.useRef)(null),[z,D]=(0,r.useState)(null),[B,W]=(0,r.useState)(null),_=(0,r.useCallback)(()=>{if("popup_content"===s){null==g||g();return}if("popup_feature"===s){null==y||y();return}let e=f(i,l,Z);if(e&&"same_window"===s){window.location.href=e;return}e&&"new_window"===s&&window.open(e,"_blank","noopener,noreferrer")},[s,i,l,Z,g,y]);(0,r.useEffect)(()=>{let e=()=>{D(window.innerHeight||0),W(window.innerWidth||0)};e(),window.addEventListener("resize",e);let t=()=>{A(!1),R.current&&clearTimeout(R.current),R.current=setTimeout(()=>A(!0),1e3)};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t),R.current&&clearTimeout(R.current),window.removeEventListener("resize",e)}},[]);let q=p&&"NONE"!==p.toUpperCase()?p:null,H=80+d*(P+16);z&&u>0&&(H=z/2-(u*P+(u-1)*16)/2+d*(P+16));let U=0;B&&B>=1280?U=260:B&&B>
1=640&&(U=96);let G=U+24,V=U-P-8,K=P+24,Y=j?350-P-8:-K;return t=N?"left"===c?G:j?374:24:"left"===c?V:Y,(0,n.jsxs)(w.Z,{sx:{position:"fixed",top:H,left:"left"===c?t:void 0,right:"right"===c?t:void 0,width:P,height:P,zIndex:"left"===c||j?1e3:1200,transition:"left 0.3s ease-out, right 0.3s ease-out",borderRadius:2,overflow:"visible",boxShadow:S.shadows[8]},children:[(0,n.jsx)(w.Z,{component:"button",type:"button",onClick:_,sx:{display:"block",width:"100%",height:"100%",padding:0,border:"none",borderRadius:"inherit",cursor:"pointer",background:"transparent",overflow:"hidden"},children:(0,n.jsx)(w.Z,{component:"img",src:a,alt:"",sx:{width:"100%",height:"100%",objectFit:"cover"},onError:e=>{e.target.style.backgroundColor=S.palette.background.neutral}})}),q&&(0,n.jsx)(w.Z,{sx:{position:"absolute",top:O,left:O,px:"".concat(Math.max(4,Math.round(6*E)),"px"),py:"".concat(Math.max(2,Math.round(2*E)),"px"),borderRadius:"".concat(Math.max(4,Math.round(4*E)),"px"),bgcolor:"error.main",color:"common.white",boxShadow:1},children:(0,n.jsx)(C.Z,{variant:"caption",sx:{fontWeight:700,fontSize:"".concat(Math.max(7,Math.round(10*E)),"px"),lineHeight:1.2},children:q})}),(0,n.jsx)(k.Z,{size:"small",onClick:e=>{e.stopPropagation(),h(o)},sx:{position:"absolute",top:-F,right:-F,width:T,height:T,bgcolor:"grey.800",color:"common.white",boxShadow:2,"&:hover":{bgcolor:"grey.700"},border:"".concat(Math.max(1,Math.round(2*E)),"px solid"),borderColor:"background.paper",padding:0},"aria-label":"Close ad",children:(0,n.jsx)(x.Z,{icon:"mingcute:close-line",width:Math.max(10,Math.round(14*E))})})]})}var P=o(81380),E=o(57871),O=o(83442),T=o(19643),F=o(73053),N=o(97312);let A="min(620px, 92vh)",R={systemNo:"",title:"",isRead:!0};function z(e){var t;let{notifications:o,unreadCount:a,onClose:l,onViewAll:s,onViewDetailsInDrawer:c,onMarkAsRead:d,getDisplayTitle:u,getDisplayContent:p,mergeTags:h}=e,{t:g,getLang:m}=(0,i.i)(),[f,b]=(0,r.useState)(0),v=(0,r.useRef)(new Set);(0,r.useEffect)(()=>{b(e=>Math.min(e,Math.max(0,o.length-1)))},[o.length]);let S=0===o.length?0:Math.min(f,Math.max(0,o.length-1)),j=null!==(t=o[S])&&void 0!==t?t:R,{data:L,isLoading:I,needsFetch:M}=(0,O.P)(j,{enabled:o.length>0,locale:m()}),P=(0,r.useCallback)(e=>{(null==e?void 0:e.systemNo)&&(v.current.has(e.systemNo)||(v.current.add(e.systemNo),d(e)))},[d]);if(0===o.length)return null;let z=o[S],D=M&&L?L:void 0,B=u(z,D),W=p(z,D),_=!!W&&W.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim().length>0,q=g("notifications.ofTotal").replace("{{current}}",String(S+1)).replace("{{total}}",String(o.length));return(0,n.jsx)(y.Z,{open:!0,onClose:()=>{},disableEscapeKeyDown:!0,maxWidth:!1,PaperProps:{sx:{width:"100%",maxWidth:400,height:A,maxHeight:A,borderRadius:2,bgcolor:"background.paper",boxShadow:24,overflow:"hidden",border:"1px solid",borderColor:"divider",display:"flex",flexDirection:"column"}},slotProps:{backdrop:{sx:{bgcolor:"rgba(0,0,0,0.5)"}}},children:(0,n.jsxs)(w.Z,{sx:{position:"relative",p:2,pt:2.5,flex:1,minHeight:0,display:"flex",flexDirection:"column",boxSizing:"border-box"},children:[(0,n.jsx)(k.Z,{onClick:()=>{P(z),l()},sx:{position:"absolute",top:12,right:12,zIndex:2,width:32,height:32,bgcolor:"error.main",color:"error.contrastText",boxShadow:2,"&:hover":{bgcolor:"error.dark"}},"aria-label":g("general.close"),children:(0,n.jsx)(x.Z,{icon:"mingcute:close-line",width:18})}),(0,n.jsxs)(T.Z,{direction:"row",spacing:1.5,alignItems:"flex-start",sx:{pr:5},children:[(0,n.jsx)(w.Z,{sx:{width:48,height:48,borderRadius:"50%",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"primary.main",color:"primary.contrastText"},children:(0,n.jsx)(x.Z,{icon:"solar:bell-bold",width:26})}),(0,n.jsxs)(w.Z,{sx:{minWidth:0,pt:.25},children:[(0,n.jsx)(C.Z,{variant:"subtitle1",fontWeight:700,color:"text.primary",lineHeight:1.3,children:g("notifications.privateNotification")}),(0,n.jsx)(C.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.25},children:q})]})]}),(0,n.jsx)(C.Z,{variant:"subtitle1",fontWeight:700,color:"text.primary",sx:{mt:2,flexShrink:0,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:B}),(0,n.jsx)(w.Z,{sx:{flex:1,minHeight:0,display:"flex",flexDirection:"column",mt:1.5},children:(0,n.jsxs)(w.Z,{sx:{flex:1,minHeight:0,display:"flex",flexDirection:"column",bgcolor:"action.hover",borderRadius:2,border:"1px solid",borderColor:"divider",overflow:"hidden"},children:[W?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w.Z,{sx:{flex:1,minHeight:0,overflow:"hidden",p:1.5,pb:1},children:M&&I?(0,n.jsxs)(T.Z,{alignItems:"center",justifyContent:"center",sx:{py:3},spacing:1.5,children:[(0,n.jsx)(F.Z,{size:28,color:"primary"}),(0,n.jsx)(C.Z,{variant:"body2",color:"text.secondary",children:g("general.loading")})]}):(0,n.jsx)(w.Z,{sx:{fontSize:"0.875rem",color:"text.secondary",lineHeight:1.6,"& > *":{maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word"}},children:(0,n.jsx)(E.lR,{content:W,mergeTags:h})})}),_?(0,n.jsx)(w.Z,{sx:{px:1.5,pb:1,pt:0,flexShrink:0,borderTop:1,borderColor:"divider"},children:(0,n.jsx)(Z.Z,{type:"button",variant:"text",size:"small",onClick:()=>{P(z),c(z)},sx:{minWidth:0,p:0,fontSize:"0.875rem",fontWeight:600,textTransform:"none"},color:"primary",children:g("notifications.viewDetails")})}):null]}):null,z.link?(0,n.jsx)(w.Z,{sx:{px:1.5,pb:1.5,pt:W?0:1.5,flexShrink:0},children:(0,n.jsxs)(N.Z,{href:z.link,target:"_blank",rel:"noopener noreferrer",sx:{dis
1play:"inline-flex",alignItems:"center",gap:.5,fontSize:"0.875rem",fontWeight:600},color:"primary",children:[g("notifications.joinBattle"),(0,n.jsx)(x.Z,{icon:"mdi:open-in-new",width:16})]})}):null]})}),(0,n.jsx)(T.Z,{direction:"row",alignItems:"center",justifyContent:"center",spacing:1,sx:{mt:2,flexShrink:0,minHeight:40},children:o.length>1?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k.Z,{onClick:()=>{S<=0||(P(o[S]),b(e=>e-1))},disabled:0===S,size:"small",sx:{border:"1px solid",borderColor:"divider","&:disabled":{opacity:.45}},"aria-label":g("notifications.goToPreviousNotification"),children:(0,n.jsx)(x.Z,{icon:"mingcute:left-line",width:18})}),(0,n.jsxs)(C.Z,{variant:"body2",color:"text.secondary",sx:{minWidth:36,textAlign:"center"},children:[S+1,"/",o.length]}),(0,n.jsx)(k.Z,{onClick:()=>{S>=o.length-1||(P(o[S]),b(e=>e+1))},disabled:S===o.length-1,size:"small",sx:{border:"1px solid",borderColor:"divider","&:disabled":{opacity:.45}},"aria-label":g("notifications.goToNextNotification"),children:(0,n.jsx)(x.Z,{icon:"mingcute:right-line",width:18})})]}):null}),(0,n.jsx)(Z.Z,{variant:"contained",fullWidth:!0,onClick:s,color:"primary",sx:{mt:2,flexShrink:0},children:g("notifications.allUnread").replace("{{count}}",String(a))})]})})}function D(){var e,t;let{index:o=0,total:s=1,rightAdsCount:c=0,onPopupOpenChange:d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=(0,b.Z)(),p=(0,v.Z)(u.breakpoints.up("md")),h=(0,v.Z)(u.breakpoints.up("sm")),m=40;p?m=72:h&&(m=56);let f=m/72,y=Math.round(10*f),{t:k,getLang:S}=(0,i.i)(),{authenticated:Z}=(0,a.E)(),{isNotificationsDrawerOpen:j,onUpdate:L}=(0,I.K$)(),M=(0,l.v9)(e=>e.user.data),O=(0,l.v9)(e=>e.userCurrencies),T=S(),{mutate:F}=(0,g.YK)(),[N,A]=(0,r.useState)(null),[R,D]=(0,r.useState)(!0),B=(0,r.useRef)(null),[W,_]=(0,r.useState)(null);(0,r.useEffect)(()=>{null==d||d(null!=N)},[N,d]),(0,r.useEffect)(()=>()=>{null==d||d(!1)},[d]);let{templatesMap:q}=(0,P.L)({locale:T,fallbackLocale:"en",enabled:Z&&null!=N}),{data:H}=(0,g.kN)({type:"personal",filter:"unread",limit:50,enabled:Z}),U=null!==(e=null==H?void 0:H.unreadCount)&&void 0!==e?e:0,G=null!==(t=null==H?void 0:H.notifications)&&void 0!==t?t:[],V=(0,r.useMemo)(()=>{var e,t,o,n;return{"First.Name":null!==(t=null!==(e=null==M?void 0:M.name)&&void 0!==e?e:null==M?void 0:M.memberUsername)&&void 0!==t?t:"",Email:null!==(o=null==M?void 0:M.email)&&void 0!==o?o:"","USD.Exchange.nextValue":null!==(n=null==M?void 0:M.settings.view_in_fiat_object.currency)&&void 0!==n?n:"USD"}},[M]),K=(0,r.useCallback)((e,t)=>{var o;let n=e.templateId?q.get(e.templateId):void 0,r=null!==(o=null==n?void 0:n.attributes.title)&&void 0!==o?o:e.title;return(0,E.Es)(r,{templateProperties:e.templateProperties,transaction:t,mergeTags:V,currencyList:O,userData:M||void 0})},[q,V,O,M]),Y=(0,r.useCallback)((e,t)=>{var o;let n=e.templateId?q.get(e.templateId):void 0,r=n?n.attributes.details:null!==(o=e.content)&&void 0!==o?o:"";return(0,E.Es)(r,{templateProperties:e.templateProperties,transaction:t,mergeTags:V,currencyList:O,userData:M||void 0})},[q,V,O,M]),$=(0,r.useCallback)(e=>{F({notificationSystemNo:e.systemNo,type:"personal"},{onError:()=>{}})},[F]),J=(0,r.useCallback)(()=>{A(null),L("notificationsDrawerOpenWith","personal_unread"),L("isChatDrawerOpen",!1),L("isNotificationsDrawerOpen",!0),L("isRightDrawerOpen",!0)},[L]),Q=(0,r.useCallback)(e=>{A(null),L("notificationsDrawerOpenWith","personal_viewall"),L("notificationsExpandSystemNo",String(e.systemNo)),L("isChatDrawerOpen",!1),L("isNotificationsDrawerOpen",!0),L("isRightDrawerOpen",!0)},[L]),X=Z&&U>0,ee=null!=N;(0,r.useEffect)(()=>{X&&D(!0)},[X]),(0,r.useEffect)(()=>{if(!X)return;let e=()=>{D(!1),B.current&&clearTimeout(B.current),B.current=setTimeout(()=>D(!0),1e3)};return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),B.current&&clearTimeout(B.current)}},[X]),(0,r.useEffect)(()=>{let e=()=>{_(window.innerHeight||0)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let et=m+24,eo=j?350-m-8:-et,en=s>0?s:c+(X||ee?1:0),er=80+o*(m+16);return W&&en>0&&(er=W/2-(en*m+(en-1)*16)/2+o*(m+16)),Z&&(X||ee)?(0,n.jsxs)(n.Fragment,{children:[X?(0,n.jsxs)(w.Z,{component:"button",type:"button",onClick:()=>{0!==G.length&&A({notifications:[...G],unreadCount:U}
1)},sx:{position:"fixed",top:er,right:R?j?374:24:eo,width:m,height:m,zIndex:j?1e3:1200,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:2,border:"none",cursor:"pointer",bgcolor:u.palette.primary.main,color:"primary.contrastText",boxShadow:u.shadows[8],transition:"top 0.3s ease-out, right 0.3s ease-out",overflow:"visible"},"aria-label":k("notifications.notifications"),children:[(0,n.jsx)(x.Z,{icon:"solar:bell-bold",width:Math.max(16,Math.round(28*f))}),(0,n.jsx)(w.Z,{"aria-hidden":!0,sx:{position:"absolute",top:-y,right:-y,minWidth:Math.max(24,Math.round(30*f)),height:Math.max(24,Math.round(30*f)),px:U>9?"".concat(Math.max(6,Math.round(8*f)),"px"):0,borderRadius:999,bgcolor:"error.main",color:"common.white",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:2,border:"".concat(Math.max(2,Math.round(3*f)),"px solid"),borderColor:"background.paper",pointerEvents:"none"},children:(0,n.jsx)(C.Z,{component:"span",sx:{fontWeight:700,fontSize:"".concat(Math.max(12,Math.round(15*f)),"px"),lineHeight:1},children:U>99?"99+":U})})]}):null,N&&(0,n.jsx)(z,{notifications:N.notifications,unreadCount:U,onClose:()=>A(null),onViewAll:J,onViewDetailsInDrawer:Q,onMarkAsRead:$,getDisplayTitle:K,getDisplayContent:Y,mergeTags:V})]}):null}function B(){var e;let{leftFloating:t,rightFloating:o,currentPopup:c,popupQueue:d,currentPopupIndex:x,showPopups:m,handleCloseFloating:f,handleClosePopup:b,handleTemporaryClosePopup:v,handleNextPopup:y}=function(){let e=(0,s.usePathname)(),{user:t,authenticated:o,loading:n}=(0,a.E)(),c=(0,l.v9)(e=>e.user.data),d=(0,r.useMemo)(()=>({isLoggedIn:!!o&&!!t,playerId:null==c?void 0:c.memberId.toString(),memberId:null==c?void 0:c.memberId,vipLevel:null==c?void 0:c.levelInfo.vipLevel,agentId:null==c?void 0:c.agentId}),[o,t,null==c?void 0:c.memberId,null==c?void 0:c.levelInfo.vipLevel,null==c?void 0:c.agentId]),[g,x]=(0,r.useState)([]),[m,f]=(0,r.useState)([]),[b,v]=(0,r.useState)(!0),[y,w]=(0,r.useState)([]),[C,k]=(0,r.useState)(0),[S,Z]=(0,r.useState)(!1),j=function(e){let t=e.split("/").filter(Boolean);if(0===t.length)return"HOME";let o=t[0],n=!!o&&!(o.length<2)&&/^[a-z]{2}(-[a-z0-9]+)?$/i.test(o);return n&&1===t.length?"HOME":n&&t.length>=2?t[1].toUpperCase():o.toUpperCase()}(e||""),L=(0,i.i)().getLang(),I=(0,r.useCallback)(async()=>{v(!0);try{let[e,t]=await Promise.all([u({type:"FLOATING",page:j,locale:L}),u({type:"CENTER_POPUP",page:j,locale:L})]);x(e),f(t),k(0)}catch(e){x([]),f([]),Z(!1)}finally{v(!1)}},[j,L]),M=(0,r.useCallback)(async()=>{try{let e=await u({type:"FLOATING",page:j,locale:L});x(e)}catch(e){x([])}},[j,L]);(0,r.useEffect)(()=>{n||I()},[n,I,d.isLoggedIn,d.memberId]);let P=(0,r.useMemo)(()=>h(g,d),[g,d]),E=(0,r.useMemo)(()=>h(m,d),[m,d]);(0,r.useEffect)(()=>{let e=E.slice(0,3);w(e),k(0),Z(e.length>0)},[E]);let O=P.filter(e=>"left"===e.floatingPosition).slice(0,4),T=P.filter(e=>"right"===e.floatingPosition).slice(0,4),F=(0,r.useCallback)(e=>{let t=g.find(t=>t.id===e);t&&(x(t=>t.filter(t=>t.id!==e)),p(t.systemNo).then(()=>M()).catch(()=>{}))},[g,M]),N=(0,r.useCallback)(e=>{C<y.length-1?k(e=>e+1):Z(!1)},[C,y.length]),A=(0,r.useCallback)(e=>{let t=y.find(t=>t.id===e);t&&p(t.systemNo).catch(()=>{}),C<y.length-1?k(e=>e+1):Z(!1)},[y,C]),R=(0,r.useCallback)(()=>{C<y.length-1?k(e=>e+1):Z(!1)},[C,y.length]),z=y[C];return{currentPage:j,session:d,loading:b,leftFloating:O,rightFloating:T,popupQueue:y,currentPopup:z,currentPopupIndex:C,showPopups:S,handleCloseFloating:F,handleClosePopup:N,handleTemporaryClosePopup:A,handleNextPopup:R,refetch:I}}(),{authenticated:w}=(0,a.E)(),[C,k]=(0,r.useState)(!1),{data:S}=(0,g.kN)({type:"personal",filter:"unread",limit:1,enabled:w}),Z=w&&(null!==(e=null==S?void 0:S.unreadCount)&&void 0!==e?e:0)>0||C,j=Z?1:0,I=o.slice(0,4-j),P=I.length+j;return(0,n.jsxs)(n.Fragment,{children:[t.map((e,o)=>(0,n.jsx)(M,{id:e.id,imageUrl:e.imageUrl,linkUrl:e.linkUrl,isExternalURL:e.isExternalURL,clickAction:e.clickAction,position:"left",index:o,total:t.length,badge:e.badge,onClose:f,onPopupContent:()=>{},onPopupFeature:()=>{}},e.id)),w&&Z&&(0,n.jsx)(D,{index:0,total:P,rightAdsCount:I.length,onPopupOpenChange:k}),I.map((e,t)=>(0,n.jsx)(M,{id:e.id,imageUrl:e.imageUrl,linkUrl:e.linkUrl,isExternalURL:e.isExternalURL,clickAction:e.clickAction,position:"right",index:Z?t+1:t,total:P,badge:e.badge,onClose:f,onPopupContent:()=>{},onPopupFeature:()=>{}},e.id)),m&&(0,n.jsx)(L,{id:c.id,imageUrl:c.imageUrl,title:c.popupTitle||c.name,content:c.popupContent,linkUrl:c.linkUrl,isExternalURL:c.isExternalURL,clickAction:c.clickAction,badge:c.badge,closeOptions:c.closeOptions,queuePosition:x+1,totalInQueue:d.length,onClose:b,onTemporaryClose
1:v,onNext:y},c.id)]})}},95671:function(e,t,o){"use strict";o.d(t,{T:function(){return i},t:function(){return l}});var n=o(2265),r=o(49953),a=o.n(r);function i(){return{trackClick:function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={button_id:t,timestamp:new Date().toISOString(),...o};a().fbq("track",e,n)}}}function l(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let o="1559956652059570";o&&!e&&(a().init(o,void 0,{autoConfig:!0,debug:!1}),a().pageView(),t(!0))},[e]),{trackPageView:()=>e&&a().pageView(),trackEvent:e?(e,t)=>a().track(e,t):()=>console.warn("Facebook Pixel not initialized")}}},98107:function(e,t,o){"use strict";o.d(t,{k:function(){return r}});var n=o(2265);function r(e){let[t,o]=(0,n.useState)(!!e);return{value:t,onTrue:(0,n.useCallback)(()=>{o(!0)},[]),onFalse:(0,n.useCallback)(()=>{o(!1)},[]),onToggle:(0,n.useCallback)(()=>{o(e=>!e)},[]),setValue:o}}},81380:function(e,t,o){"use strict";o.d(t,{L:function(){return s}});var n=o(60033),r=o(55447),a=o(16593),i=o(45345);async function l(e){let t=new Map,o=async n=>{var a,i,l;let s=new URL("".concat("https://api.xyes.com/api/v1").concat(r.Hv.cms.getNotifications));s.searchParams.set("populate","*"),s.searchParams.set("locale",e),s.searchParams.set("pagination[page]",String(n)),s.searchParams.set("pagination[pageSize]",String(100));let c=await r.ZP.get(s.toString());(null!==(i=c.data.data)&&void 0!==i?i:[]).forEach(e=>{let{notificationType:o}=e.attributes;o&&t.set(o,e)});let d=null===(a=c.data.meta)||void 0===a?void 0:a.pagination;n<(null!==(l=null==d?void 0:d.pageCount)&&void 0!==l?l:1)&&await o(n+1)};try{await o(1)}catch(e){}return t}let s=function(){let{locale:e,fallbackLocale:t="en",enabled:o=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{getLang:r}=(0,n.i)(),s=null!=e?e:r(),{data:c,isLoading:d,isFetching:u,error:p}=(0,a.a)({queryKey:["cmsAllNotificationTemplates",s,t],queryFn:async()=>{let[e,o]=await Promise.all([l(s),s!==t?l(t):Promise.resolve(new Map)]),n=new Map(o);return e.forEach((e,t)=>n.set(t,e)),n},enabled:o,placeholderData:i.Wk,staleTime:3e5,gcTime:6e5});return{templatesMap:null!=c?c:new Map,isLoading:d,isFetching:u,error:p}}},70278:function(e,t,o){"use strict";o.d(t,{H:function(){return l}});var n=o(16593),r=o(45345),a=o(49931),i=o(55447);let l=e=>{let{filter:t,populate:o,locale:l}=e,s=(0,a.Aj)(i.Hv.cms.getGlobal,{filter:t,populate:o,locale:l});return(0,n.a)({queryKey:["getCMSGlobal",s.toString()],queryFn:()=>(0,a.p0)(s.toString(),"global"),placeholderData:r.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0})}},43426:function(e,t,o){"use strict";o.d(t,{d:function(){return i}}),o(2265);var n=o(16593),r=o(45345),a=o(55447);let i=(e,t)=>{let{fetchURL:o}=e;return(0,n.a)({queryKey:["useGetLanguages",o,t],queryFn:async()=>(await a.ZP.get(o)).data.data,enabled:t,placeholderData:r.Wk})}},83442:function(e,t,o){"use strict";o.d(t,{P:function(){return b}});let n="Betby Bonus Received",r="Valid Referral Bonus Received";function a(e){var t,o;let n=null===(t=e.orderID)||void 0===t?void 0:t.trim();if(n)return n;let r=null===(o=e.orderId)||void 0===o?void 0:o.trim();if(r)return r}function i(e){var t,o;let r=null===(t=e.templateId)||void 0===t?void 0:t.trim(),a=null===(o=e.notificationType)||void 0===o?void 0:o.trim();return r===n||a===n}function l(e){var t,o;let n=null===(t=e.templateId)||void 0===t?void 0:t.trim(),a=null===(o=e.notificationType)||void 0===o?void 0:o.trim();return n===r||a===r}function s(e){var t;return(null===(t=e.contentType)||void 0===t?void 0:t.toLowerCase())==="system"&&!!e.templateId}function c(e){return s(e)&&!!a(e)&&!i(e)&&!l(e)}function d(e){return s(e)&&!!a(e)&&i(e)}function u(e){return s(e)&&!!a(e)&&l(e)}var p=o(16593),h=o(55447);let g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,{enabled:n=!0,locale:r}=t,a=new URL("".concat("https://api.xyes.com/api/v1").concat(h.Hv.transactions.getTransactionByBillNo));return e&&a.searchParams.set("billNo",e),o&&a.searchParams.set("transactiontype",o.toString()),r&&a.searchParams.set("locale",r),(0,p.a)({queryKey:["transactionByBillNo",e,r],queryFn:async()=>{var e;let t=(await h.ZP.get(a.toString())).data;return null!==(e=null==t?void 0:t.data)&&void 0!==e?e:t},enabled:n&&!!e})},x=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{enabled:o=!0,locale:n}=t,r=new URL("".concat("https://api.xyes.com/api/v1").concat(h.Hv.transactions.getUserBonusByBonusSettingNo));return e&&r.searchParams.set("bonusSettingNo",e),n&&r.searchParams.set("locale",n),(0,p.a)({queryKey:["userBonusByBonusSettingNo",e,n],queryFn:async()=>{var e;let t=(await h.ZP.get(r.toString())).data;return null!==(e=null==t?void 0:t.data)&&void 0!==e?e:t},enabled:o&&!!e})};var m=o(48116);let f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{enabled:o=!0}=t,n=new URL("".concat("https://api.xyes.com/api/v1").concat(h.Hv.promotions.getValidReferralBonusLineById(null!=e?e:"")));return(0,p.a)({queryKey:["validReferralBonusLineById",e],queryFn:async()=>{var e;let t=(await h.ZP.get(n.toString())).data,o=null!==(e=null==t?void 0:t.data)&&void 0!==e?e:t;return{...o,amount:(0,m.lb)(o.amount)}},enabled:o&&!!e})},b=function(e){let t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{enabled:n=!0,locale:r}=o,i=a(e),l=c(e),s=d(e),p=function(e){let t=e.transactionType;if(t)return t}(e),h=u(e),m=n&&!!i,{data:b,isLoading:v,isFetching:y}=g(l?i:void 0,{enabled:m&&l,locale:r},p),{data:w,isLoading:C,isFetching:k}=x(s?i:void 0,{enabled:m&&s,locale:r}),{data:S,isLoading:Z,isFetching:j}=f(h?i:void 0,{enabled:m&&h}),L=c(e)||d(e)||u(e);l?t=b:s?t=w:h&&(t=S);let I=!1;
1l?I=v:s?I=C:h&&(I=Z);let M=!1;return l?M=y:s?M=k:h&&(M=j),{data:t,isLoading:I,isFetching:M,needsFetch:L}}},93274:function(e,t,o){"use strict";o.d(t,{I18nProvider:function(){return a}});var n=o(57437);o(60033);var r=o(2265);function a(e){let{children:t}=e;return(0,n.jsx)(r.Suspense,{fallback:null,children:t})}},2842:function(e,t,o){"use strict";o.d(t,{default:function(){return H}});var n=o(57437),r=o(820),a=o(60033),i=o(78948);let l={fallbackLng:["en"],supportedLngs:["en","es","ar","bn","de","en-in","fil","fr","gu","hi","id","it","ja","kn","ko","mr","ms","nl","pt-br","pt","ru","ta","te","th","tr","ur","vi","zh","zhCn","zhHk","zh-hant","zh-hans"],ns:["translation"],react:{useSuspense:!1},backend:{loadPath:o(90776).resolve("/locales/{{lng}}.json")}};var s=o(55447),c=o(38083),d=o(91055),u=o(20418),p=o(49218),h=o(43426),g=o(70278),x=o(1899),m=o(73053),f=o(46387);let b=e=>{let{message:t="Loading...",size:o=40}=e;return(0,n.jsxs)(x.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:2,gap:2},children:[(0,n.jsx)(m.Z,{size:o}),(0,n.jsx)(f.Z,{variant:"body2",color:"text.secondary",children:t})]})};var v=o(16593),y=o(45345),w=o(49931);let C=e=>{let{filter:t,populate:o}=e,n=(0,w.Aj)(s.Hv.cms.getGlobalScripts,{filter:t,populate:o});return(0,v.a)({queryKey:["getCMSGlobalScripts",n.toString()],queryFn:()=>(0,w.p0)(n.toString(),"global-scripts"),placeholderData:y.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0})};var k=o(66274),S=o(2265),Z=o(19643),j=o(82156),L=o(98107),I=o(59062);let M=new r.Z,P=(0,S.lazy)(()=>Promise.all([o.e(2156),o.e(4463),o.e(601),o.e(2737),o.e(1216),o.e(3754),o.e(1032),o.e(7865),o.e(9980),o.e(4305),o.e(102),o.e(833)]).then(o.bind(o,69914))),E=(0,S.lazy)(()=>Promise.all([o.e(2156),o.e(2737),o.e(1216),o.e(9370),o.e(8596),o.e(3954),o.e(1947)]).then(o.bind(o,91947))),O=(0,S.lazy)(()=>Promise.all([o.e(2737),o.e(1216),o.e(1366)]).then(o.bind(o,61366)).then(e=>({default:e.HomeFooter}))),T=(0,S.lazy)(()=>o.e(6280).then(o.bind(o,6280))),F=(0,S.lazy)(()=>Promise.all([o.e(2156),o.e(2737),o.e(1216),o.e(9370),o.e(8596),o.e(3954),o.e(3337)]).then(o.bind(o,33337))),N=(0,S.lazy)(()=>Promise.all([o.e(2156),o.e(2737),o.e(1216),o.e(9370),o.e(8596),o.e(3954),o.e(7850)]).then(o.bind(o,87850))),A=(0,S.lazy)(()=>Promise.all([o.e(2156),o.e(4463),o.e(2737),o.e(1216),o.e(9370),o.e(8596),o.e(2915)]).then(o.bind(o,97866)).then(e=>({default:e.NavBottom}))),R=(0,S.lazy)(()=>Promise.all([o.e(9496),o.e(1106),o.e(601),o.e(4884),o.e(2737),o.e(1216),o.e(3213),o.e(3952)]).then(o.bind(o,77116)).then(e=>({default:e.AuthDialog}))),z=(0,S.lazy)(()=>o.e(1660).then(o.bind(o,1660)).then(e=>({default:e.ResetPasswordDialog}))),D=(0,S.lazy)(()=>Promise.all([o.e(2737),o.e(4455)]).then(o.bind(o,54455)).then(e=>({default:e.DockedNotificationsDrawer}))),B=(0,S.lazy)(()=>o.e(1325).then(o.bind(o,41325)).then(e=>({default:e.ErrorBoundary}))),W=(0,S.lazy)(()=>Promise.all([o.e(2737),o.e(4708)]).then(o.bind(o,36067)).then(e=>({default:e.SnackbarProvider}))),_=async()=>{let{walletConnectV2:e,hooks:t}=await Promise.all([o.e(601),o.e(1216),o.e(1124)]).then(o.bind(o,75349));return{connectors:[[e,t]],walletConnectV2:e}},q=e=>{let{children:t,needsWeb3:o}=e,[r,a]=(0,S.useState)([]),[i,l]=(0,S.useState)(o),[s,c]=(0,S.useState)(null),[d,u]=(0,S.useState)(0),h=(0,S.useCallback)(async()=>{try{let e=await _();l(!1),c(null),a(e.connectors)}catch(e){c(e),d<3?setTimeout(()=>{u(e=>e+1)},1e3*(d+1)):l(!1)}},[d]);return((0,S.useEffect)(()=>{0===r.length&&(l(o),o&&u(0))},[o]),(0,S.useEffect)(()=>{o&&d<=3&&i&&h()},[i,h,o,d]),i)?(0,n.jsx)(x.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,n.jsx)(b,{message:"Loading wallet..."})}):0===r.length?(0,n.jsx)(n.Fragment,{children:t}):(0,n.jsx)(p.Web3ReactProvider,{connectors:r,lookupENS:!1,children:t})};function H(e){var t,o,r,p,m,f,v,y,w,_,H,U,G,V,K,Y;let{children:$,initialUserAgent:J,initialIsMobile:Q,initialLanguage:X,staticConfig:ee}=e,et=(0,L.k)(),{isRightDrawerOpen:eo,themeLayout:en,onUpdate:er}=(0,I.K$)(),{authenticated:ea}=(0,u.E)(),ei=(0,k.lr)(),el=ei.get("modal"),es=(0,k.jD)(),ec=(0,j.Z)(e=>e.breakpoints.up("lg")),ed=(0,j.Z)("(min-width:640px)"),eu=(0,j.Z)(e=>e.breakpoints.down("sm")),ep=(0,j.Z)(e=>e.breakpoints.between("sm","md")),eh="".concat("https://api.xyes.com/api/v1"+s.Hv.configs.languages),{data:eg}=(0,h.d)({fetchURL:eh}
1,!0),{changeLanguage:ex,getLang:em}=(0,a.i)(),ef=em(),eb=(0,k.tv)(),{lang:ev}=(0,k.UO)(),ey=(0,S.useRef)(ex);ey.current=ex;let ew=es.includes("/sports/"),eC=eu&&["/casino/","/slots/","/providers/"].some(e=>es.includes(e)),[ek,eS]=(0,S.useState)(!1),eZ=(0,j.Z)("(min-width:640px)"),ej=ec?"mini"===en?"".concat(ee.navMiniWidth,"px"):"".concat(ee.navFullWidth,"px"):eZ?"100px":"0px",{data:eL}=(0,g.H)({populate:[{key:"populate[logo][populate]",value:"*"},{key:"populate[alternative_logo][populate]",value:"*"},{key:"populate[seo]",value:"*"}],locale:{key:"locale",value:ef}}),{data:eI}=C({populate:[{key:"populate",value:"*"}]}),{data:eM}=(0,g.H)({populate:[{key:"populate[logo][populate]",value:"*"},{key:"populate[alternative_logo][populate]",value:"*"},{key:"populate[seo]",value:"*"}],locale:{key:"locale",value:"en"}}),eP=(null==eL?void 0:null===(t=eL.data)||void 0===t?void 0:t.attributes)?eL:eM,eE={width:(()=>{switch(!0){case eu:case ep:return"calc(100vw - ".concat(ej," - ").concat(ed?"32px":"16px",")");default:return eo?"calc(100vw - ".concat(ej," - ").concat(ee.chatWidth,"px - ").concat(ed?"32px":"16px",")"):"calc(100vw - ".concat(ej," - ").concat(ed?"32px":"16px",")")}})(),maxWidth:"100%"},eO=(0,S.useCallback)(e=>{let t=(0,d.rt)(e);document.documentElement.lang=t,er("language",t),ey.current(t)},[er]);(0,S.useEffect)(()=>{let e=l.supportedLngs.includes(ev)&&ev,t=M.get("i18nextLng");eO(e||t||X)},[ev,X,eO]),(0,S.useEffect)(()=>{if(ek){eS(!1);let e=em(),t=new URLSearchParams(ei.toString());t.delete("modal"),t.delete("tab");let o=t.toString()?"?".concat(t.toString()):"";eb.replace("/".concat(e).concat(es).concat(o))}},[ek,es,eb,em,ei]),(0,S.useEffect)(()=>{let e=e=>{eO(e.detail.data.settings.language),er("currencyType",e.detail.data.settings.navbarCurrency),eS(!0)};return c.Y.addEventListener("auth-update",e),()=>{c.Y.removeEventListener("auth-update",e)}},[eO,er]),(0,S.useEffect)(()=>{ea||(er("isRightDrawerOpen",!1),er("isNotificationsDrawerOpen",!1),er("isChatDrawerOpen",!1),er("notificationsDrawerOpenWith",void 0),er("notificationsExpandSystemNo",void 0))},[ea,er]),(0,S.useEffect)(()=>{var e,t,o,n,r,a,i,l,s,c,d,u;let p=null==eP?void 0:null===(o=eP.data)||void 0===o?void 0:null===(t=o.attributes)||void 0===t?void 0:null===(e=t.headScripts)||void 0===e?void 0:e.reverse(),h=null==eP?void 0:null===(a=eP.data)||void 0===a?void 0:null===(r=a.attributes)||void 0===r?void 0:null===(n=r.bodyScripts)||void 0===n?void 0:n.reverse(),g=null==eI?void 0:null===(s=eI.data)||void 0===s?void 0:null===(l=s.attributes)||void 0===l?void 0:null===(i=l.headScripts)||void 0===i?void 0:i.reverse(),x=null==eI?void 0:null===(u=eI.data)||void 0===u?void 0:null===(d=u.attributes)||void 0===d?void 0:null===(c=d.bodyScripts)||void 0===c?void 0:c.reverse(),m=[...p||[],...g||[]],f=[...h||[],...x||[]];return Array.isArray(m)&&m.forEach(e=>{let t=document.createElement("div");t.innerHTML=e;let o=t.getElementsByTagName("script"),n=t.getElementsByTagName("noscript");Array.from(o).forEach(e=>{let t=e.src||e.textContent||"",o=Array.from(e.attributes).map(e=>"".concat(e.name,"=").concat(e.value)).join("|"),n="s-".concat(btoa(t+o).slice(0,10));if(!document.getElementById(n)){let t=document.createElement("script");t.id=n,Array.from(e.attributes).forEach(e=>{t.setAttribute(e.name,e.value)}),e.src||(t.textContent=e.textContent),document.head.insertBefore(t,document.head.firstChild)}}),Array.from(n).forEach(e=>{let t="n-".concat(btoa(e.innerHTML).slice(0,10));if(!document.getElementById(t)){let o=document.createElement("noscript");o.id=t,o.innerHTML=e.innerHTML,document.head.insertBefore(o,document.head.firstChild)}})}),Array.isArray(f)&&f.forEach(e=>{let t=document.createElement("div");t.innerHTML=e;let o=t.getElementsByTagName("script"),n=t.getElementsByTagName("noscript");Array.from(o).forEach(e=>{let t=e.src||e.textContent||"",o=Array.from(e.attributes).map(e=>"".concat(e.name,"=").concat(e.value)).join("|"),n="s-".concat(btoa(t+o).slice(0,10));if(!document.getElementById(n)){let t=document.createElement("script");t.id=n,Array.from(e.attributes).forEach(e=>{t.setAttribute(e.name,e.value)}),e.src||(t.textContent=e.textContent),document.body.insertBefore(t,document.body.firstChild)}}
1),Array.from(n).forEach(e=>{let t="n-".concat(btoa(e.innerHTML).slice(0,10));if(!document.getElementById(t)){let o=document.createElement("noscript");o.id=t,o.innerHTML=e.innerHTML,document.body.insertBefore(o,document.body.firstChild)}})}),()=>{document.querySelectorAll("script").forEach(e=>{var t,o,n;((null===(t=e.textContent)||void 0===t?void 0:t.includes("intercomSettings"))||(null===(o=e.textContent)||void 0===o?void 0:o.includes("widget.intercom.io")))&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))})}},[null==eP?void 0:null===(r=eP.data)||void 0===r?void 0:null===(o=r.attributes)||void 0===o?void 0:o.headScripts,null==eP?void 0:null===(m=eP.data)||void 0===m?void 0:null===(p=m.attributes)||void 0===p?void 0:p.bodyScripts,null==eI?void 0:null===(v=eI.data)||void 0===v?void 0:null===(f=v.attributes)||void 0===f?void 0:f.headScripts,null==eI?void 0:null===(w=eI.data)||void 0===w?void 0:null===(y=w.attributes)||void 0===y?void 0:y.bodyScripts]);let eT="auth"===el||"authRequired"===el||es.includes("/crypto/")||es.includes("referrals")||ea;return es.includes("404")?(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading..."}),children:(0,n.jsx)(T,{})}):(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading..."}),children:(0,n.jsx)(B,{children:(0,n.jsx)(q,{needsWeb3:eT,children:(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading..."}),children:(0,n.jsxs)(W,{children:[(0,n.jsxs)(x.Z,{sx:{display:"flex",width:"100%",maxWidth:"100%",overflow:eu?"hidden":"clip"},children:[(0,n.jsxs)(Z.Z,{direction:"row",sx:{flex:1,width:"100%",maxWidth:"100%"},children:[ed&&(0,n.jsx)(x.Z,{sx:{position:"sticky",top:0,left:0,zIndex:{xs:1200,sm:1200,md:1201,lg:1201,xl:1201},width:ej,height:"100vh",background:i.y0.sidebar},children:ec?(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading navigation..."}),children:(0,n.jsx)(F,{openNav:"vertical"===en,onCloseNav:et.onFalse,onOpenNav:et.onTrue,logo:(null==eP?void 0:null===(H=eP.data)||void 0===H?void 0:null===(_=H.attributes)||void 0===_?void 0:_.logo)?eP.data.attributes.logo:void 0,alternativeLogo:(null==eP?void 0:null===(G=eP.data)||void 0===G?void 0:null===(U=G.attributes)||void 0===U?void 0:U.alternative_logo)?eP.data.attributes.alternative_logo:void 0})}):(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading navigation..."}),children:(0,n.jsx)(E,{onOpenNav:et.onTrue,logo:(null==eP?void 0:null===(K=eP.data)||void 0===K?void 0:null===(V=K.attributes)||void 0===V?void 0:V.alternative_logo)?eP.data.attributes.alternative_logo:void 0})})}),(0,n.jsxs)(x.Z,{component:"main",sx:{display:"flex",flexDirection:"column",width:"100%",maxWidth:"100%",ml:0,transition:"margin-left 0.3s",flex:1,position:"relative"},children:[(0,n.jsxs)(x.Z,{sx:{position:"fixed",top:0,right:0,left:ed?ej:0,zIndex:1100,transition:"margin-left 0.3s"},children:[(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading header..."}),children:(0,n.jsx)(P,{onOpenNav:et.onTrue,languages:eg,logo:(null==eP?void 0:null===(Y=eP.data)||void 0===Y?void 0:Y.attributes)?ec?eP.data.attributes.logo:eP.data.attributes.alternative_logo:void 0})}),"horizontal"===en&&(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading navigation..."}),children:(0,n.jsx)(N,{})})]}),(0,n.jsx)(x.Z,{sx:{flexGrow:1,marginTop:ew&&!eu?"5rem":eu?"4rem":"6rem",width:"100%",position:"relative",px:ed?2:1,boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start"},children:(0,n.jsxs)(x.Z,{sx:{...eE,pb:eC?10:0},children:[$,!eC&&(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading footer..."}),children:(0,n.jsx)(O,{})})]})})]}),(0,n.jsx)(x.Z,{sx:{right:0,top:6,bottom:0,zIndex:1300},children:ea&&(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading notifications..."}),children:(0,n.jsx)(D,{})})})]}),!ed&&(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading mobile navigation..."}),children:(0,n.jsx)(A,{onOpenNav:et.onTrue,onCloseNav:et.onFalse,isOpen:et.value})})]}),("auth"===el||"authRequired"===el)&&(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading auth dialog..."}),children:(0,n.jsx)(R,{})}),"reset-password"===el&&(0,n.jsx)(S.Suspense,{fallback:(0,n.jsx)(b,{message:"Loading reset password dialog..."}),children:(0,n.jsx)(z,{})})]})})})})})}},70795:function(e,t,o){"use strict";o.d(t,{E:function(){return a}});var n=o(77513),r=o(15658);let a=new n.S({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1,retryOnMount:!1,refetchOnMount:!1,refetchIntervalInBackgroun
1d:!1}},queryCache:new r.t({onError:e=>{}})})},54205:function(e,t,o){"use strict";o.d(t,{default:function(){return w}});var n=o(57437),r=o(68575),a=o(79625),i=o(9628),l=o(51785),s=o(59688),c=o(20301),d=o(55844),u=o(77533),p=o(9785);let h=(e,t)=>({key:e,storage:t}),g=(0,s.UY)({user:(0,i.OJ)(h("user",l.Z),u.ZP),userBalance:(0,i.OJ)(h("userBalance",l.Z),d.ZP),userCurrencies:(0,i.OJ)(h("userCurrencies",l.Z),p.ZP)}),x=(0,c.xC)({reducer:g,middleware:e=>e({serializableCheck:!1,immutableCheck:!1})}),m=(0,i.p5)(x);function f(e){let{children:t}=e;return(0,n.jsx)(r.zt,{store:x,children:(0,n.jsx)(a.r,{loading:null,persistor:m,children:t})})}var b=o(18229),v=o(29827),y=o(70795),w=e=>{let{children:t}=e;return(0,n.jsx)(f,{children:(0,n.jsx)(v.aH,{client:y.E,children:(0,n.jsx)(b.rg,{clientId:"846123756025-o8d46i5ua9h57t65aqt9h1sb0vdemrsf.apps.googleusercontent.com",children:t})})})}},55844:function(e,t,o){"use strict";o.d(t,{Rn:function(){return r},VH:function(){return a},gr:function(){return i}});let n=(0,o(20301).oM)({name:"userBalance",initialState:{crypto:[],fiat:[],in_game:!1},reducers:{balance(e,t){let{payload:o}=t;e.crypto=o.crypto,e.fiat=o.fiat},clearBalance(e){e.crypto=null,e.fiat=null},setInGame(e,t){e.in_game=t.payload}}}),{balance:r,clearBalance:a,setInGame:i}=n.actions;t.ZP=n.reducer},9785:function(e,t,o){"use strict";o.d(t,{QT:function(){return r}});let n=(0,o(20301).oM)({name:"userCurrencies",initialState:{cryptos:[],fiats:[]},reducers:{currencies(e,t){let{payload:o}=t;e.cryptos=o.cryptos,e.fiats=o.fiats},clearCurrencies(e){e.cryptos=[],e.fiats=[]}}}),{currencies:r,clearCurrencies:a}=n.actions;t.ZP=n.reducer},73715:function(e,t,o){"use strict";o.d(t,{default:function(){return eQ}});var n=o(57437),r=o(23006),a=o.n(r),i=o(2265),l=o(91055),s=o(82156),c=o(9045),d=o(93062),u=o(31691),p=o(36669),h=o(96289),g=o(59062),x=o(78948),m=o(88064),f=o(25382),b=o(93923),v=o(25246);function y(e){let{children:t,themeDirection:o}=e;(0,i.useEffect)(()=>{document.dir=o},[o]);let r=(0,f.Z)({key:"rtl",prepend:!0,stylisPlugins:[b.Z]});return"rtl"===o?(0,n.jsx)(v.C,{value:r,children:t}):(0,n.jsx)(n.Fragment,{children:t})}var w=o(92270),C=o.n(w),k=o(52451),S=o.n(k);function Z(e){return"".concat(e/16,"rem")}function j(e){let{sm:t,md:o,lg:n}=e;return{"@media (max-width:768px)":{fontSize:Z(t)},"@media (min-width:600px)":{fontSize:Z(t)},"@media (min-width:900px)":{fontSize:Z(o)},"@media (min-width:1200px)":{fontSize:Z(n)}}}let L={bottomNavigationButton:{fontWeight:700,fontSize:Z(12),lineHeight:Z(18)},fontFamily:C().style.fontFamily,fontSecondaryFamily:S().style.fontFamily,fontWeightRegular:500,fontWeightMedium:600,fontWeightSemiBold:600,fontWeightBold:700,h1:{fontWeight:800,lineHeight:1.25,fontSize:Z(32),...j({sm:16,md:32,lg:32})},h2:{fontWeight:700,lineHeight:64/48,fontSize:Z(20),...j({sm:14,md:20,lg:20})},h3:{fontWeight:600,lineHeight:1.5,fontSize:Z(18),...j({sm:14,md:18,lg:18})},h4:{fontWeight:600,lineHeight:1.5,fontSize:Z(16),...j({sm:12,md:16,lg:16})},h5:{fontWeight:700,lineHeight:1.5,fontSize:Z(14),...j({sm:12,md:14,lg:14})},h6:{fontWeight:700,lineHeight:28/18,fontSize:Z(13),...j({sm:12,md:12,lg:12})},footerSectionBody:{fontWeight:500,lineHeight:Z(24),fontSize:Z(16),...j({sm:12,md:14,lg:14})},footerSectionTitle:{fontWeight:800,lineHeight:Z(36),fontSize:Z(24),...j({sm:26,md:30,lg:32})},subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:Z(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:Z(14)},body1:{fontWeight:600,lineHeight:1.5,fontSize:Z(14),...j({sm:12,md:14,lg:14})},body2:{lineHeight:22/14,fontSize:Z(14),...j({sm:12,md:14,lg:14})},caption:{lineHeight:1.5,fontSize:Z(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:Z(12),textTransform:"uppercase"},button:{fontWeight:700,lineHeight:24/14,fontSize:Z(16),...j({sm:10,md:16,lg:16}),textTransform:"unset"},buttonTxt:{fontSize:Z(14),...j({sm:10,md:14,lg:14})},thead:{fontWeight:700,fontSize:Z(16),...j({sm:12,md:16,lg:16})},td:{fontSize:Z(14),...j({sm:10,md:14,lg:14})},tab:{fontSize:Z(16),...j({sm:10,md:16,lg:16}),lineHeight:1.5,fontWeight:700},label:{fontSize:Z(12),...j({sm:10,md:12,lg:12})},paragraph:{fontSize:Z(14),...j({sm:12,md:14,lg:14})}};function I(e){let t="light"===e?x.BA[500]:x.y0.black,o=(0,m.Fq)(t,.16);return{z1:"0 1px 2px 0 ".concat(o),z4:"0 4px 8px 0 ".concat(o),z8:"0 8px 16px 0 ".concat(o),z12:"0 12px 24px -4px ".concat(o),z16:"0 16px 32px -4px ".concat(o),z20:"0 20px 40px -4px ".concat(o),z24:"0 24px 48px 0 ".concat(o),card:"0 0 2px 0 ".concat((0,m.Fq)(t,.2),", 0 12px 24px -4px ").concat((0,m.Fq)(t,.12)),dropdown:"0 0 2px 0 ".concat((0,m.Fq)(t,.24),", -20px 20px 40px -4px ").concat((0,m.Fq)(t,.24)),dialog:"-40px 40px 80px -8px ".concat((0,m.Fq)(x.y0.black,.24)),primary:"0 8px 16px 0 ".concat((0,m.Fq)(x.T$.main,.24)),info:"0 8px 16px 0 ".concat((0,m.Fq)(x.um.main,.24)),secondary:"0 8px 16px 0 ".concat((0,m.Fq)(x.BD.main,.24)),success:"0 8px 16px 0 ".concat((0,m.Fq)(x.Vp.main,.24)),warning:"0 8px 16px 0 ".concat((0,m.Fq)(x.Kp.main,.24)),error:"0 8px 16px 0 ".concat((0,m.Fq)(x.vU.main,.24))}}function M(e){let t={default:x.T$,cyan:P,purple:E,blue:O,orange:T,red:F}[e];return{palette:{primary:t},customShadows:{primary:"0 8px 16px 0 ".concat((0,m.Fq)("".concat(t.main),.24))}}}let P={lighter:"#CCF4FE",light:"#68CDF9",main:"#078DEE",dark:"#0351AB",darker:"#012972",contrastText:"#FFFFFF"},E={lighter:"#EBD6FD",light:"#B985F4",main:"#7635dc",dark:"#431A9E",dar
1ker:"#200A69",contrastText:"#FFFFFF"},O={lighter:"#D1E9FC",light:"#76B0F1",main:"#2065D1",dark:"#103996",darker:"#061B64",contrastText:"#FFFFFF"},T={lighter:"#FEF4D4",light:"#FF7901",main:"#FF7901",dark:"#B66816",darker:"#793908",contrastText:x.BA[800]},F={lighter:"#FFE3D5",light:"#FFC1AC",main:"#FF3030",dark:"#B71833",darker:"#7A0930",contrastText:"#FFFFFF"};x.T$.main,P.main,E.main,O.main,T.main,F.main;var N=o(89810);let A=["primary","secondary","info","success","warning","error"];var R=o(19025);let z=["primary","secondary","info","success","warning","error"];var D=o(99732),B=o(76997);let W=e=>({MuiLink:{styleOverrides:{root:{fontSize:Z(14),...j({sm:12,md:14,lg:14})}}}});var _=o(11498),q=o(83476),H=o(67809);let U=["info","success","warning","error"];var G=o(71721),V=o(49541);let K=e=>({MuiInputLabel:{styleOverrides:{root:{fontSize:Z(12),...j({sm:10,md:10,lg:12})}}},MuiFormControlLabel:{styleOverrides:{label:{fontSize:Z(12),...j({sm:10,md:10,lg:12})}}}});var Y=o(87812),$=o(56490);let J=["default","primary","secondary","info","success","warning","error"],Q=e=>{let t=e.charAt(0).toLowerCase();return["a","c","f"].includes(t)?"primary":["e","d","h"].includes(t)?"secondary":["i","k","l"].includes(t)?"info":["m","n","p"].includes(t)?"success":["q","s","t"].includes(t)?"warning":["v","x","y"].includes(t)?"error":"default"};var X=o(86605),ee=o(83653),et=o(35753),eo=o(43860);let en=["primary","secondary","info","success","warning","error","outlinedPrimary","outlinedSecondary","outlinedTerciary"];var er=o(30938),ea=o(76975);let ei=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M12,16 C11.7663478,16.0004565 11.5399121,15.9190812 11.36,15.77 L5.36,10.77 C4.93474074,10.4165378 4.87653776,9.78525926 5.23,9.36 C5.58346224,8.93474074 6.21474074,8.87653776 6.64,9.23 L12,13.71 L17.36,9.39 C17.5665934,9.2222295 17.8315409,9.14373108 18.0961825,9.17188444 C18.3608241,9.2000378 18.6033268,9.33252029 18.77,9.54 C18.9551341,9.74785947 19.0452548,10.0234772 19.0186853,10.3005589 C18.9921158,10.5776405 18.8512608,10.8311099 18.63,11 L12.63,15.83 C12.444916,15.955516 12.2231011,16.0153708 12,16 Z"})}),el=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})}),es=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})}),ec=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})}),ed=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Z"})}),eu=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z"})}),ep=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M17.56,21 C17.4000767,21.0006435 17.2423316,20.9629218 17.1,20.89 L12,18.22 L6.9,20.89 C6.56213339,21.067663 6.15259539,21.0374771 5.8444287,20.8121966 C5.53626201,20.5869161 5.38323252,20.2058459 5.45,19.83 L6.45,14.2 L2.33,10.2 C2.06805623,9.93860108 1.9718844,9.55391377 2.08,9.2 C2.19824414,8.83742187 2.51242293,8.57366684 2.89,8.52 L8.59,7.69 L11.1,2.56 C11.2670864,2.21500967 11.6166774,1.99588989 12,1.99588989 C12.3833226,1.99588989 12.7329136,2.21500967 12.9,2.56 L15.44,7.68 L21.14,8.51 C21.5175771,8.56366684 21.8317559,8.82742187 21.95,9.19 C22.0581156,9.54391377 21.9619438,9.92860108 21.7,10.19 L17.58,14.19 L18.58,19.82 C18.652893,20.2027971 18.4967826,20.5930731 18.18,20.82 C17.9989179,20.9468967 17.7808835,21.010197 17.56,21 L17.56,21 Z"})}),eh=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M12,8 C12.5522847,8 13,8.44771525 13,9 L13,9 L13,11 L15,11 C15.5522847,11 16,11.4477153 16,12 
1C16,12.5522847 15.5522847,13 15,13 L15,13 L13,13 L13,15 C13,15.5522847 12.5522847,16 12,16 C11.4477153,16 11,15.5522847 11,15 L11,15 L11,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 L11,11 L11,9 C11,8.44771525 11.4477153,8 12,8 Z"})}),eg=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 Z"})}),ex=e=>(0,n.jsx)(er.Z,{...e,children:(0,n.jsx)("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M14,8.99420168 C14.2666375,8.99420168 14.5222334,9.10068735 14.71,9.29 C14.8993127,9.4777666 15.0057983,9.73336246 15.0057983,10 C15.0057983,10.2666375 14.8993127,10.5222334 14.71,10.71 L14.71,10.71 L13.41,12 L14.71,13.29 C14.8993127,13.4777666 15.0057983,13.7333625 15.0057983,14 C15.0057983,14.2666375 14.8993127,14.5222334 14.71,14.71 C14.5222334,14.8993127 14.2666375,15.0057983 14,15.0057983 C13.7333625,15.0057983 13.4777666,14.8993127 13.29,14.71 L13.29,14.71 L12,13.41 L10.71,14.71 C10.5222334,14.8993127 10.2666375,15.0057983 10,15.0057983 C9.73336246,15.0057983 9.4777666,14.8993127 9.29,14.71 C9.10068735,14.5222334 8.99420168,14.2666375 8.99420168,14 C8.99420168,13.7333625 9.10068735,13.4777666 9.29,13.29 L9.29,13.29 L10.59,12 L9.29,10.71 C8.89787783,10.3178778 8.89787783,9.68212217 9.29,9.29 C9.68212217,8.89787783 10.3178778,8.89787783 10.71,9.29 L10.71,9.29 L12,10.59 L13.29,9.29 C13.4777666,9.10068735 13.7333625,8.99420168 14,8.99420168 Z"})});var em=o(67708),ef=o(91610),eb=o(20670);let ev=["primary","secondary","info","success","warning","error"];var ey=o(66839),ew=o(42525),eC=o(10135),ek=o(80752),eS=o(77380),eZ=o(67752),ej=o(84964),eL=o(60971),eI=o(2386),eM=o(58108),eP=o(3699),eE=o(56200),eO=o(55595),eT=o(31196);let eF=["primary","secondary","info","success","warning","error"],eN=()=>(0,n.jsx)(ea.Z,{icon:"eva:chevron-down-fill",width:24}),eA=()=>(0,n.jsx)(ea.Z,{icon:"eva:arrow-ios-back-fill",width:24}),eR=()=>(0,n.jsx)(ea.Z,{icon:"eva:arrow-ios-forward-fill",width:24}),ez=()=>(0,n.jsx)(ea.Z,{icon:"solar:calendar-mark-bold-duotone",width:24}),eD=()=>(0,n.jsx)(ea.Z,{icon:"solar:clock-circle-outline",width:24}),eB=["DatePicker","DateTimePicker","StaticDatePicker","DesktopDatePicker","DesktopDateTimePicker","MobileDatePicker","MobileDateTimePicker"].reduce((e,t)=>(e["Mui".concat(t)]={defaultProps:{slots:{openPickerIcon:ez,leftArrowIcon:eA,rightArrowIcon:eR,switchViewIcon:eN}}},e),{}),eW=["TimePicker","MobileTimePicker","StaticTimePicker","DesktopTimePicker"].reduce((e,t)=>(e["Mui".concat(t)]={defaultProps:{slots:{openPickerIcon:eD,rightArrowIcon:eR,switchViewIcon:eN}}},e),{});var e_=o(71550);let eq=["primary","secondary","info","success","warning","error"];var eH=o(67547),eU=o(30670);let eG=["primary","secondary","info","success","warning","error"];var eV=o(68534);function eK(e){var t;return a()({MuiAlert:{defaultProps:{iconMapping:{error:(0,n.jsx)(ea.Z,{icon:"solar:danger-bold",width:24}),info:(0,n.jsx)(ea.Z,{icon:"eva:info-fill",width:24}),success:(0,n.jsx)(ea.Z,{icon:"eva:checkmark-circle-2-fill",width:24}),warning:(0,n.jsx)(ea.Z,{icon:"eva:alert-triangle-fill",width:24})}}},MuiStack:{defaultProps:{useFlexGap:!0}},MuiAppBar:{defaultProps:{color:"transparent"}},MuiAvatarGroup:{defaultProps:{max:4}},MuiButton:{defaultProps:{color:"inherit",disableFocusRipple:!0,disableRipple:!0}},MuiIconButton:{defaultProps:{disableFocusRipple:!0,disableRipple:!0}},MuiCardHeader:{defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:e.spacing(.5)}}},MuiChip:{defaultProps:{deleteIcon:(0,n.jsx)(ea.Z,{icon:"solar:close-circle-bold"})}},MuiDialogActions:{defaultProps:{disableSpacing:!0}},MuiFab:{defaultProps:{color:"primary"}},MuiLink:{defaultProps:{underline:"hover"}},MuiListItemText:{defaultProps:{primaryTypographyProps:{typography:"subtitle2"},secondaryTypographyProps:{component:"span"}}},MuiPaper:{defaultProps:{elevation:0}},MuiSkeleton:{defaultProps:{animation:"wave",variant:"rounded"}}
1,MuiFilledInput:{defaultProps:{disableUnderline:!0}},MuiFormHelperText:{defaultProps:{component:"div"}},MuiTab:{defaultProps:{disableRipple:!0,iconPosition:"start"}},MuiTabs:{defaultProps:{textColor:"inherit",variant:"scrollable",allowScrollButtonsMobile:!0}},MuiTablePagination:{defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"}}},MuiSlider:{defaultProps:{size:"small"}},MuiAutocomplete:{defaultProps:{popupIcon:(0,n.jsx)(ei,{})}},MuiSelect:{defaultProps:{IconComponent:ei}},MuiNativeSelect:{defaultProps:{IconComponent:ei}},MuiCheckbox:{defaultProps:{size:"small",icon:(0,n.jsx)(el,{}),checkedIcon:(0,n.jsx)(es,{}),indeterminateIcon:(0,n.jsx)(ec,{})}},MuiRadio:{defaultProps:{size:"small",icon:(0,n.jsx)(ed,{}),checkedIcon:(0,n.jsx)(eu,{})}},MuiRating:{defaultProps:{emptyIcon:(0,n.jsx)(ep,{}),icon:(0,n.jsx)(ep,{})}},MuiTreeView:{defaultProps:{defaultCollapseIcon:(0,n.jsx)(eh,{}),defaultExpandIcon:(0,n.jsx)(eg,{}),defaultEndIcon:(0,n.jsx)(ex,{})}},MuiDataGrid:{defaultProps:{slots:{columnSortedAscendingIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:alt-arrow-up-bold-duotone",sx:{color:"text.primary"}}),columnSortedDescendingIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:alt-arrow-down-bold-duotone",sx:{color:"text.primary"}}),columnUnsortedIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:alt-arrow-up-bold-duotone",sx:{color:"text.disabled"}}),columnMenuIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"mingcute:more-1-fill"}),columnMenuSortAscendingIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:alt-arrow-up-bold-duotone"}),columnMenuSortDescendingIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:alt-arrow-down-bold-duotone"}),columnMenuFilterIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:filter-bold"}),columnMenuHideIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:eye-closed-bold"}),columnMenuManageColumnsIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:eye-bold"}),columnSelectorIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:eye-bold"}),filterPanelDeleteIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"eva:close-fill"}),openFilterButtonIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:filter-bold"}),columnFilteredIcon:()=>(0,n.jsx)(ea.Z,{width:16,icon:"solar:filter-bold",sx:{color:"text.primary"}}),densityCompactIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"material-symbols:table-rows-narrow-rounded"}),densityStandardIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"mingcute:rows-4-fill"}),densityComfortableIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"mingcute:rows-2-fill"}),exportIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"solar:export-bold"}),quickFilterIcon:()=>(0,n.jsx)(ea.Z,{width:24,icon:"eva:search-fill",sx:{color:"text.secondary"}}),quickFilterClearIcon:()=>(0,n.jsx)(ea.Z,{width:20,icon:"eva:close-fill"})},slotProps:{basePopper:{placement:"bottom-end"},baseTextField:{variant:"outlined",InputLabelProps:{shrink:!0}},baseFormControl:{variant:"outlined"},baseSelect:{variant:"outlined"}}}}},function(e){let t="light"===e.palette.mode,o=o=>{let n="default"===o.color,r="inherit"===o.color,a="circular"===o.variant,i="extended"===o.variant,l="outlined"===o.variant,s="outlinedExtended"===o.variant,c="soft"===o.variant,d="softExtended"===o.variant,u={"&:hover, &:active":{boxShadow:"none"},...(a||i)&&{...(n||r)&&{boxShadow:e.customShadows.z8},...r&&{backgroundColor:e.palette.text.primary,color:t?e.palette.common.white:e.palette.grey[800],"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[400]}}},...(l||s)&&{boxShadow:"none",backgroundColor:"transparent",...(n||r)&&{border:"solid 1px ".concat((0,m.Fq)(e.palette.grey[500],.32))},...n&&{...!t&&{color:e.palette.text.secondary}},"&:hover":{borderColor:"currentColor",boxShadow:"0 0 0 0.5px currentColor",backgroundColor:e.palette.action.hover}},...(c||d)&&{boxShadow:"none",...n&&{color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey[400]}},...r&&{backgroundColor:(0,m.Fq)(e.palette.grey[500],.08),"&:hover":{backgroundColor:(0,m.Fq)(e.palette.grey[500],.24)}}}};return[u,...A.map(n=>({...o.color===n&&{...(a||i)&&{boxShadow:e.customShadows[n],"&:hover":{backgroundColor:e.palette[n].dark}},...(l||s)&&{color:e.palette[n].main,border:"solid 1px ".concat((0,m.Fq)(e.palette[n].main,.48)),"&:hover":{backgroundColor:(0,m.Fq)(e.palette[n].main,.08)}},...(c||d)&&{color:e.palette[n][t?"dark":"light"],backgroundColor:(0,m.Fq)(e.palette[n].main,.16),"&:hover":{backgroundColor:(0,m.Fq)(e.palette[n].main,.32)}}}})),{["&.".concat(N.Z.disabled)]:{...(l||s)&&{backgroundColor:"transparent",border:"solid 1px ".concat(e.palette.action.disabledBackgroun
1d)}}},{...(i||s||d)&&{width:"auto","& svg":{marginRight:e.spacing(1)},..."small"===o.size&&{height:34,minHeight:34,borderRadius:17,padding:e.spacing(0,1)},..."medium"===o.size&&{height:40,minHeight:40,borderRadius:20,padding:e.spacing(0,2)},..."large"===o.size&&{height:48,minHeight:48,borderRadius:24,padding:e.spacing(0,2)}}}]};return{MuiFab:{styleOverrides:{root:e=>{let{ownerState:t}=e;return o(t)}}}}}(e),{MuiTabs:{styleOverrides:{root:{minHeight:4},indicator:{backgroundColor:e.palette.text.primary},scrollButtons:{width:48,borderRadius:"50%"}}},MuiTab:{styleOverrides:{root:{padding:0,opacity:1,minWidth:48,minHeight:36,fontWeight:e.typography.fontWeightSemiBold,"&:not(:last-of-type)":{marginRight:e.spacing(1)},["&:not(.".concat(D.Z.selected,")")]:{color:e.palette.text.secondary}}}}},function(e){let t="light"===e.palette.mode,o=o=>{let n="default"===o.color,r="filled"===o.variant,a="outlined"===o.variant,i="soft"===o.variant;return[{["& .".concat(R.Z.deleteIcon)]:{opacity:.48,color:"currentColor","&:hover":{opacity:1,color:"currentColor"}},...n&&{["& .".concat(R.Z.avatar)]:{color:e.palette.text.primary},...r&&{color:t?e.palette.common.white:e.palette.grey[800],backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[100]},["& .".concat(R.Z.icon)]:{color:t?e.palette.common.white:e.palette.grey[800]}},...a&&{border:"solid 1px ".concat((0,m.Fq)(e.palette.grey[500],.32))},...i&&{color:e.palette.text.primary,backgroundColor:(0,m.Fq)(e.palette.grey[500],.16),"&:hover":{backgroundColor:(0,m.Fq)(e.palette.grey[500],.32)}}}},...z.map(n=>({...o.color===n&&{["& .".concat(R.Z.avatar)]:{color:e.palette[n].lighter,backgroundColor:e.palette[n].dark},...i&&{color:e.palette[n][t?"dark":"light"],backgroundColor:(0,m.Fq)(e.palette[n].main,.16),"&:hover":{backgroundColor:(0,m.Fq)(e.palette[n].main,.32)}}}})),{["&.".concat(R.Z.disabled)]:{opacity:1,color:e.palette.action.disabled,["& .".concat(R.Z.icon)]:{color:e.palette.action.disabled},["& .".concat(R.Z.avatar)]:{color:e.palette.action.disabled,backgroundColor:e.palette.action.disabledBackground},...r&&{backgroundColor:e.palette.action.disabledBackground},...a&&{borderColor:e.palette.action.disabledBackground},...i&&{backgroundColor:e.palette.action.disabledBackground}}},{fontWeight:500,fontSize:Z(14),...j({sm:12,md:14,lg:14}),borderRadius:e.shape.borderRadius}]};return{MuiChip:{styleOverrides:{root:e=>{let{ownerState:t}=e;return o(t)}}}}}(e),{MuiCard:{styleOverrides:{root:{position:"relative",boxShadow:e.customShadows.card,borderRadius:2*e.shape.borderRadius,zIndex:0}}},MuiCardHeader:{styleOverrides:{root:{padding:e.spacing(3,3,0)}}},MuiCardContent:{styleOverrides:{root:{padding:e.spacing(3)}}}},{MuiMenuItem:{styleOverrides:{root:{...(0,B.D9)(e)}}}},{MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemAvatar:{styleOverrides:{root:{minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemText:{styleOverrides:{root:{margin:0},multiline:{margin:0}}}},{MuiBadge:{styleOverrides:{dot:{borderRadius:"50%"},root:t=>{let{ownerState:o}=t,n="alway"===o.variant,r="online"===o.variant,a="busy"===o.variant,i="offline"===o.variant,l="invisible"===o.variant,s={["&.".concat(G.Z.invisible)]:{transform:"unset"},width:10,zIndex:9,padding:0,height:10,minWidth:"auto","&:before, &:after":{content:"''",borderRadius:1,backgroundColor:e.palette.common.white}};return{...r&&{["& .".concat(G.Z.badge)]:{...s,backgroundColor:e.palette.success.main}},...a&&{["& .".concat(G.Z.badge)]:{...s,backgroundColor:e.palette.error.main,"&:before":{width:6,height:2}}},...i&&{["& .".concat(G.Z.badge)]:{...s,backgroundColor:e.palette.text.disabled,"&:before":{width:6,height:6,borderRadius:"50%"}}},...n&&{["& .".concat(G.Z.badge)]:{...s,backgroundColor:e.palette.warning.main,"&:before":{width:2,height:4,transform:"translateX(1px) translateY(-1px)"},"&:after":{width:2,height:4,transform:"translateY(1px) rotate(125deg)"}}},...l&&{["& .".concat(G.Z.badge)]:{display:"none"}}}}}}},{MuiTableContainer:{styleOverrides:{root:{position:"relative"}}
1},MuiTableRow:{styleOverrides:{root:{["&.".concat(_.Z.selected)]:{backgroundColor:(0,m.Fq)(e.palette.primary.dark,.04),"&:hover":{backgroundColor:(0,m.Fq)(e.palette.primary.dark,.08)}},"&:last-of-type":{["& .".concat(q.Z.root)]:{borderColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{borderBottomStyle:"dashed"},head:{fontSize:14,color:e.palette.text.secondary,fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.background.neutral},stickyHeader:{backgroundColor:e.palette.background.paper,backgroundImage:"linear-gradient(to bottom, ".concat(e.palette.background.neutral," 0%, ").concat(e.palette.background.neutral," 100%)")},paddingCheckbox:{paddingLeft:e.spacing(1)}}},MuiTablePagination:{styleOverrides:{root:{width:"100%"},toolbar:{height:64},actions:{marginRight:8},select:{paddingLeft:8,"&:focus":{borderRadius:e.shape.borderRadius}},selectIcon:{right:4,width:16,height:16,top:"calc(50% - 8px)"}}}},{MuiPaper:{styleOverrides:{root:{backgroundImage:"none"},outlined:{borderColor:(0,m.Fq)(e.palette.grey[500],.16)}}}},function(e){let t="light"===e.palette.mode,o=o=>{let n="standard"===o.variant,r="filled"===o.variant,a="outlined"===o.variant;return[...U.map(i=>({...o.severity===i&&{...n&&{color:e.palette[i][t?"darker":"lighter"],border:"solid 2px ".concat((0,m.Fq)(e.palette[i].main,.16)),backgroundColor:e.palette[i][t?"lighter":"darker"],["& .".concat(H.Z.icon)]:{color:e.palette.primary.light}},...r&&{color:e.palette[i].contrastText,backgroundColor:e.palette[i].main},...a&&{backgroundColor:(0,m.Fq)(e.palette[i].main,.08),color:e.palette[i][t?"dark":"light"],border:"solid 1px ".concat((0,m.Fq)(e.palette[i].main,.16)),["& .".concat(H.Z.icon)]:{color:e.palette[i].main}}}}))]};return{MuiAlert:{styleOverrides:{root:e=>{let{ownerState:t}=e;return o(t)},icon:{opacity:1}}},MuiAlertTitle:{styleOverrides:{root:{marginBottom:e.spacing(.5),fontWeight:e.typography.fontWeightSemiBold}}}}}(e),{MuiFormControlLabel:{styleOverrides:{label:{...e.typography.body2}}},MuiRadio:{styleOverrides:{root:t=>{let{ownerState:o}=t,{color:n}=o;return{padding:e.spacing(1),..."default"===n&&{["&.".concat(V.Z.checked)]:{color:e.palette.text.primary}},["&.".concat(V.Z.disabled)]:{color:e.palette.action.disabled}}}}}},{MuiSelect:{styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}},MuiNativeSelect:{styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}}},function(e){let t="light"===e.palette.mode,o=o=>{let n="inherit"===o.color,r="contained"===o.variant,a="outlined"===o.variant,i="text"===o.variant,l="soft"===o.variant,s="outlinedPrimary"===o.variant,c="outlinedSecondary"===o.variant,d="outlinedTerciary"===o.variant,u="header"===o.variant,p="headerSecondary"===o.variant,h="headerTerciary"===o.variant,g="small"===o.size,f="medium"===o.size,b="large"===o.size,v={borderRadius:5,...n&&{...r&&{color:t?e.palette.common.white:e.palette.grey[800],backgroundColor:t?e.palette.grey[800]:e.palette.common.white,"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[400]}},...a&&{border:"2px solid",borderColor:(0,m.Fq)(e.palette.grey[500],.32),"&:hover":{backgroundColor:e.palette.action.hover}},...d&&{border:"2px solid",borderColor:(0,m.Fq)(e.palette.grey[500],.32),backgroundColor:x.y0.buttonOutlinedBG,"&:hover":{backgroundColor:e.palette.action.hover,borderColor:"#333f5c",boxShadow:"0 0 0 0.5px #333f5c"}},...i&&{"&:hover":{backgroundColor:e.palette.action.hover}},...l&&{color:e.palette.text.primary,backgroundColor:(0,m.Fq)(e.palette.grey[500],.08),"&:hover":{backgroundColor:(0,m.Fq)(e.palette.grey[500],.24)}},...u&&{color:e.palette.common.white,background:e.palette.orange[900],gap:10,paddingBottom:8,paddingTop:8,minWidth:40,"&:hover":{background:e.palette.orange[800]},"&:disabled":{color:e.palette.grey[400],backgroundColor:e.palette.grey[800],boxShadow:"none"}},...p&&{color:e.palette.orange[800],background:"#1F272D",boxShadow:"0px -2px 0px 0px #1F272D inset",gap:10,paddingBottom:8,paddingTop:8,minWidth:40,"& .MuiLoadingButton-loadingIndicatorCenter":{color:e.palette.orange[800]},"&:hover":{background:"#29333b",boxShadow:"0px -2px 0px 0px #29333b inset"},"&:active":{boxShadow:"0px 5px 8px 0px #1C274C inset, 0px -3px 6px 0px #636F9880 inset"},"& .icon":{color:"#fe7801"},"&:disabled":{color:e.palette.grey[400],backgroundColor:e.palette.grey[800],boxSh
1adow:"none"}},...h&&{color:e.palette.common.white,background:x.y0.terciary,boxShadow:"0px -2px 0px 0px ".concat(x.y0.terciary," inset"),gap:10,paddingBottom:8,paddingTop:8,minWidth:40,"& .MuiLoadingButton-loadingIndicatorCenter":{color:e.palette.common.white},"&:hover":{background:e.palette.secondary.dark,boxShadow:"0px -2px 0px 0px #252d41 inset"},"&:active":{boxShadow:"0px 5px 8px 0px #1C274C inset, 0px -3px 6px 0px #636F9880 inset"},"&:disabled":{color:e.palette.grey[400],backgroundColor:e.palette.grey[800],boxShadow:"none"}},...s&&{color:e.palette.orange[900],border:"1px solid",borderColor:e.palette.orange[900],backgroundColor:x.y0.buttonOutlinedBG,"&:hover":{backgroundColor:x.y0.buttonOutlinedBG,borderColor:e.palette.orange[900],boxShadow:"0 0 0 0.5px ".concat(e.palette.orange[900])},"&:active":{backgroundColor:x.y0.buttonOutlinedBG,borderColor:e.palette.orange[900],boxShadow:"0 0 0 0.5px ".concat(e.palette.orange[900])}},...c&&{color:e.palette.grey[500],border:"2px solid",borderColor:e.palette.secondary.main,"&:hover":{background:"transparent",color:e.palette.common.white},"&:active":{backgroundColor:e.palette.secondary.main,color:e.palette.common.white},"&:disabled":{color:e.palette.grey[400],background:"transparent",boxShadow:"none",borderColor:e.palette.grey[800]}}},...a&&{"&:hover":{border:"2px solid",borderColor:"currentColor",boxShadow:"0 0 0 0.5px currentColor",transform:"scale(1.03)",transition:"all 0.5s ease"}}};return[v,...en.map(n=>({...o.color===n&&{...r&&{"&:hover":{boxShadow:e.customShadows[n]}},...l&&{color:e.palette[n][t?"dark":"light"],backgroundColor:(0,m.Fq)(e.palette[n].main,.16),"&:hover":{backgroundColor:(0,m.Fq)(e.palette[n].main,.32)}}}})),{["&.".concat(eo.Z.disabled)]:{...l&&{backgroundColor:e.palette.action.disabledBackground}}},{...g&&{height:36,fontSize:Z(10),lineHeight:"19.5px",paddingLeft:12,paddingRight:12,...i&&{paddingLeft:4,paddingRight:4,fontSize:Z(10)}},...f&&{paddingLeft:12,paddingRight:12,fontSize:Z(14),...j({sm:10,md:14,lg:14}),...i&&{paddingLeft:8,paddingRight:8,fontSize:Z(14),...j({sm:10,md:14,lg:14})}},...b&&{height:48,fontSize:Z(16),...j({sm:10,md:16,lg:16}),paddingLeft:16,paddingRight:16,...i&&{paddingLeft:10,paddingRight:10,fontSize:Z(16),...j({sm:10,md:16,lg:16})}}}]};return{MuiButton:{variants:[{props:{size:"xlarge"},style:{fontSize:Z(18),...j({sm:12,md:18,lg:18})}}],styleOverrides:{root:e=>{let{ownerState:t}=e;return o(t)},xlarge:{fontSize:Z(18),...j({sm:12,md:18,lg:18})}}}}}(e),{MuiRating:{styleOverrides:{root:{["&.".concat(X.Z.disabled)]:{opacity:.48}},iconEmpty:{color:(0,m.Fq)(e.palette.grey[500],.48)},sizeSmall:{["& .".concat(ee.Z.root)]:{width:20,height:20}},sizeMedium:{["& .".concat(ee.Z.root)]:{width:24,height:24}},sizeLarge:{["& .".concat(ee.Z.root)]:{width:28,height:28}}}}},{MuiDialog:{styleOverrides:{paper:e=>{let{ownerState:o}=e;return{boxShadow:t.customShadows.dialog,borderRadius:2*t.shape.borderRadius,...!o.fullScreen&&{margin:t.spacing(1),"@media (max-width: 960px)":{width:"auto"}}}},paperFullScreen:{borderRadius:0}}},MuiDialogTitle:{styleOverrides:{root:{padding:(t=e).spacing(3)}}},MuiDialogContent:{styleOverrides:{root:{padding:t.spacing(0,3)},dividers:{borderTop:0,borderBottomStyle:"dashed",paddingBottom:t.spacing(3)}}},MuiDialogActions:{styleOverrides:{root:{padding:t.spacing(3),"& >
1 :not(:first-of-type)":{marginLeft:t.spacing(1.5)}}}}},{MuiAppBar:{styleOverrides:{root:{boxShadow:"none"}}}},{MuiAvatar:{variants:J.map(t=>"default"===t?{props:{color:"default"},style:{color:e.palette.text.secondary,backgroundColor:(0,m.Fq)(e.palette.grey[500],.24)}}:{props:{color:t},style:{color:e.palette[t].contrastText,backgroundColor:e.palette[t].main}}),styleOverrides:{rounded:{borderRadius:1.5*e.shape.borderRadius},colorDefault:t=>{let{ownerState:o}=t,n=Q("".concat(o.alt));return{...!!o.alt&&{..."default"!==n?{color:e.palette[n].contrastText,backgroundColor:e.palette[n].main}:{color:e.palette.text.secondary,backgroundColor:(0,m.Fq)(e.palette.grey[500],.24)}}}}}},MuiAvatarGroup:{styleOverrides:{root:e=>{let{ownerState:t}=e;return{justifyContent:"flex-end",..."compact"===t.variant&&{width:40,height:40,position:"relative",["& .".concat($.Z.avatar)]:{margin:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}}}}},avatar:{fontSize:16,fontWeight:e.typography.fontWeightSemiBold,"&:first-of-type":{fontSize:12,color:e.palette.primary.dark,backgroundColor:e.palette.primary.lighter}}}}},function(e){let t="light"===e.palette.mode;return{MuiSlider:{styleOverrides:{root:{["&.".concat(et.Z.disabled)]:{color:e.palette.action.disabled}},rail:{opacity:.32},markLabel:{fontSize:13,color:e.palette.text.disabled},valueLabel:{borderRadius:8,backgroundColor:e.palette.grey[t?800:700]}}}}}(e),function(e){let t="light"===e.palette.mode;return{MuiDrawer:{styleOverrides:{root:o=>{let{ownerState:n}=o;return{..."temporary"===n.variant&&{["& .".concat(Y.Z.paper)]:{...(0,B.uS)({theme:e}),..."left"===n.anchor&&{boxShadow:"40px 40px 80px -8px ".concat((0,m.Fq)(t?e.palette.grey[500]:e.palette.common.black,.24))},..."right"===n.anchor&&{boxShadow:"-40px 40px 80px -8px ".concat((0,m.Fq)(t?e.palette.grey[500]:e.palette.common.black,.24))}}}}}}}}}(e),{MuiStepConnector:{styleOverrides:{line:{borderColor:e.palette.divider}}}},function(e){let t="light"===e.palette.mode;return{MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:e.palette.grey[t?800:700]},arrow:{color:e.palette.grey[t?800:700]}}}}}(e),{MuiPopover:{styleOverrides:{paper:{...(0,B.uS)({theme:e,dropdown:!0}),["& .".concat(ef.Z.root)]:{paddingTop:0,paddingBottom:0}}}}},{MuiSvgIcon:{styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}}},function(e){let t="light"===e.palette.mode,o=o=>{let{color:n}=o;return{width:58,height:38,padding:"9px 13px 9px 12px",["& .".concat(em.Z.thumb)]:{width:14,height:14,boxShadow:"none",color:e.palette.common.white},["& .".concat(em.Z.track)]:{opacity:1,borderRadius:14,backgroundColor:(0,m.Fq)(e.palette.grey[500],.48)},["& .".concat(em.Z.switchBase)]:{left:3,padding:12,["&.".concat(em.Z.checked)]:{transform:"translateX(13px)",["& .".concat(em.Z.thumb)]:{..."default"===n&&!t&&{color:e.palette.grey[800]}},["&+.".concat(em.Z.track)]:{opacity:1,..."default"===n&&{backgroundColor:e.palette.text.primary}}},["&.".concat(em.Z.disabled)]:{["& .".concat(em.Z.thumb)]:{opacity:t?1:.48},["&+.".concat(em.Z.track)]:{opacity:.48}}},["&.".concat(em.Z.sizeSmall)]:{padding:"4px 8px 4px 7px",width:40,height:24,["& .".concat(em.Z.thumb)]:{width:10,height:10},["& .".concat(em.Z.switchBase)]:{padding:7,["&.".concat(em.Z.checked)]:{transform:"translateX(9px)"}}}}};return{MuiSwitch:{styleOverrides:{root:e=>{let{ownerState:t}=e;return o(t)}}}}}(e),{MuiCheckbox:{styleOverrides:{root:t=>{let{ownerState:o}=t,{color:n}=o;return{padding:e.spacing(1),..."default"===n&&{["&.".concat(ey.Z.checked)]:{color:e.palette.text.primary}},["&.".concat(ey.Z.disabled)]:{color:e.palette.action.disabled}}}}}},function(e){let t=(0,B.uS)({theme:e,dropdown:!0}),o="light"===e.palette.mode;return{MuiDataGrid:{styleOverrides:{root:{"--unstable_DataGrid-radius":0,"--unstable_DataGrid-headWeight":e.typography.fontWeightSemiBold,borderWidth:0,borderRadius:10},withBorderColor:{borderColor:e.palette.divider},columnHeaders:{borderBottom:0,borderRadius:5},columnHeader:{fontSize:14,color:e.palette.text.secondary,backgroundColor:e.palette.grey[o?800:700],"&--sorted":{color:e.palette.text.primary}},columnSeparator:{color:e.palette.divider},row:{backgroundColor:"".concat(e.palette.blue[o?700:800]," !important"),"&:hover":{backgroundColor:"".concat(e.palette.blue[o?400:300],"  !important")}},cell:{"&--editing":{boxShadow:"none !important",backgroundColor:"".concat((0,m.Fq)(e.palette.primary.main,.08)," !important")}},toolbarContainer:{gap:e.spacing(2),padding:e.spacing(2)},toolbarQuickFilter:{padding:0,width:"100%",[e.breakpoints.up("md")]:{width:"unset"}},paper:{...t,padding:0},menu:{["& .".concat(ew.Z.root)]:{...t,minWidth:140},["& .".concat(ef.Z.root)]:{padding:0,["& .".concat(eZ.Z.root)]:{minWidth:0,marginRight:e.spacing(2)}}},menuIcon:{["& .".concat(eC.Z.root)]:{margin:e.spacing(0,1),padding:e.spacing(.25)}},iconButtonContainer:{["& .".concat(eC.Z.root)]:{padding:e.spacing(.25),marginLeft:e.spacing(1)}},footerContainer:{minHeight:"auto",borderTop:"1px dashed"},selectedRowCount:{display:"none",whiteSpace:"nowrap"},overlay:{["& .".concat(ej.Z.root)]:{color:e.palette.text.primary}},panelHeader:{padding:e.spacing(2,2,0,2)},panelContent:{padding:e.spacing(1)},columnsPanelRow:{margin:e.spacing(.5,0)},panelFooter:{display:"none",gap:e.spacing(1),padding:e.spacing(2),justifyContent:"flex-end",borderTop:"dashed 1px ".concat(e.palette.divider),["& .".concat(eo.Z.root)]:{padding:e.spacing(.5,1.5),"&:first-of-type":{border:"solid 1px ".concat((0,m.Fq)(e.palette.grey[500],.24))},"&:last-of-type":{color:e.palette.background.paper,backgroundColor:e.palette.text.primary}}},filterForm:{alignItems:"center",gap:e.spacing(1.5),padding:e.spacing(1)},filterFormValueInput:{["& .".concat(eS.Z.root)]:{width:"100%"},["& .".concat(ek.Z.root)]:{transform:"translate(14px, -9px) scale(0.75)"}}}}}}(e),{MuiSkeleton:{styleOverrides:{root:{backgroundColor:e.palette.background.neutral},rounded:{borderRadius:2*e.shape.borderRadius}}}},{MuiTimelineDot:{styleOverrides:{root:{boxShadow:"none"}}},MuiTimelineConnector:{styleOverrides:{root:{backgroundColor:e.palette.divider}}}},{MuiTreeItem:{styleOverrides:{label:{...e.typography.body2},iconContainer:{width:"auto"}}}},{MuiBackdrop:{styleOverrides:{root:{backgroundColor:"rgb(0 0 0 / 79%)",backdropFilter:"blur(5px)"},invisible:{background:"transparent",backdropFilter:"blur(0px)"}}}},function(e){let t=t=>{let o="buffer"===t.variant;return[{borderRadius:4,["& .".concat(eb.Z.bar)]:{borderRadius:4},...o&&{backgroundColor:"transparent"}},...ev.map(o=>({...t.color===o&&{backgroundColor:(0,m.Fq)(e.palette[o].main,.24)}}))]};return{MuiLinearProgress:{styleOverrides:{root:e=>{let{ownerState:o}=e;return t(o)}}}}}(e),function(e){let t={focused:e.palette.text.primary,active:e.palette.text.secondary,placeholder:e.palette.text.disabled},o={label:e.typography.body1,value:e.typography.body2};return{MuiFormHelperText:{styleOverrides:{root:{marginTop:e.spacing(1)}}},MuiFormLabel:{styleOverrides:{root:{...o.value,color:t.placeholder,["&.".concat(ek.Z.shrink)]:{...o.label,fontWeight:600,color:t.active,["&.".concat(ek.Z.focused)]:{color:t.focused},["&.".concat(ek.Z.error)]:{color:e.palette.error.main},["&.".concat(ek.Z.disabled)]:{color:e.palette.text.disabled},["&.".concat(ek.Z.filled)]:{transform:"translate(12px, 6px) scale(0.75)"}}}}},MuiInputBase:{styleOverrides:{root:{["&.".concat(eL.Z.disabled)]:{"& svg":{color:e.palette.text.disabled}},backgroundColor:e.palette.background.neutral},input:{...o.value,"&::placeholder":{opacity:1,color:t.placeholder,fontSize:Z(14),...j({sm:10,md:10,lg:14})}}}},MuiInput:{styleOverrides:{underline:{"&:before":{borderBottomColor:(0,m.Fq)(e.palette.grey[500],.32)},"&:after":{borderBottomColor:t.focused}}}},MuiOutlinedInput:{styleOverrides:{root:{["&.".concat(eM.Z.focused)]:{["& .".concat(eM.Z.notchedOutline)]:{borderColor:t.focused}},["&.".concat(eM.Z.error)]:{["& .".concat(eM.Z.notchedOutline)]:{borderColor:e.palette.error.main}},["&.".concat(eM.Z.disabled)]:{["& .".concat(eM.Z.notchedOutline)]:{borderColor:e.palette.action.disabledBackgroun
1d}}},notchedOutline:{borderColor:(0,m.Fq)(e.palette.grey[500],.2),transition:e.transitions.create(["border-color"],{duration:e.transitions.duration.shortest})}}},MuiFilledInput:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:(0,m.Fq)(e.palette.grey[500],.08),"&:hover":{backgroundColor:(0,m.Fq)(e.palette.grey[500],.16)},["&.".concat(eI.Z.focused)]:{backgroundColor:(0,m.Fq)(e.palette.grey[500],.16)},["&.".concat(eI.Z.error)]:{backgroundColor:(0,m.Fq)(e.palette.error.main,.08),["&.".concat(eI.Z.focused)]:{backgroundColor:(0,m.Fq)(e.palette.error.main,.16)}},["&.".concat(eI.Z.disabled)]:{backgroundColor:e.palette.action.disabledBackground}}}}}}(e),{MuiContainer:{styleOverrides:{root:{padding:0,[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},[e.breakpoints.up("md")]:{maxWidth:1200,marginLeft:"auto",marginRight:"auto"}}}}},{MuiAccordion:{styleOverrides:{root:{backgroundColor:"transparent",["&.".concat(eP.Z.expanded)]:{boxShadow:e.customShadows.z8,borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper},["&.".concat(eP.Z.disabled)]:{backgroundColor:"transparent"}}}},MuiAccordionSummary:{styleOverrides:{root:{paddingLeft:e.spacing(2),paddingRight:e.spacing(1),["&.".concat(eO.Z.disabled)]:{opacity:1,color:e.palette.action.disabled,["& .".concat(eE.Z.root)]:{color:"inherit"}}},expandIconWrapper:{color:"inherit"}}}},{MuiTypography:{styleOverrides:{paragraph:{marginBottom:e.spacing(2),fontSize:Z(14),...j({sm:12,md:14,lg:14})},gutterBottom:{marginBottom:e.spacing(1)}}}},function(e){let t="light"===e.palette.mode,o=o=>{let n="standard"===o.color,r="text"===o.variant,a="outlined"===o.variant,i="soft"===o.variant;return[{["& .".concat(eT.Z.root)]:{...a&&{borderColor:(0,m.Fq)(e.palette.grey[500],.24)},["&.".concat(eT.Z.selected)]:{fontWeight:e.typography.fontWeightSemiBold,...a&&{borderColor:"currentColor"},...n&&{backgroundColor:(0,m.Fq)(e.palette.grey[500],.08),...r&&{color:t?e.palette.common.white:e.palette.grey[800],backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:t?e.palette.grey[700]:e.palette.grey[100]}}}}}},...eF.map(n=>({...o.color===n&&{["& .".concat(eT.Z.root)]:{["&.".concat(eT.Z.selected)]:{...o.color===n&&{...i&&{color:e.palette[n][t?"dark":"light"],backgroundColor:(0,m.Fq)(e.palette[n].main,.08),"&:hover":{backgroundColor:(0,m.Fq)(e.palette[n].main,.16)}}}}}}}))]};return{MuiPagination:{styleOverrides:{root:e=>{let{ownerState:t}=e;return o(t)}}}}}(e),{MuiPickersLayout:{styleOverrides:{root:{"& .MuiPickersLayout-actionBar":{["& .".concat(eo.Z.root,":last-of-type")]:{backgroundColor:e.palette.text.primary,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[800]}}}}},...eB,...eW},function(e){let t=t=>{let o="inherit"===t.color,n="contained"===t.variant,r="outlined"===t.variant,a="text"===t.variant,i="soft"===t.variant,l="horizontal"===t.orientation,s="vertical"===t.orientation;return[{["& .".concat(e_.Z.grouped)]:{"&:not(:last-of-type)":{...!r&&{borderStyle:"solid",...o&&{borderColor:(0,m.Fq)(e.palette.grey[500],.32)},...l&&{borderWidth:"0px 1px 0px 0px"},...s&&{borderWidth:"0px 0px 1px 0px"}}}}},...eq.map(o=>({["& .".concat(e_.Z.grouped)]:{"&:not(:last-of-type)":{...!r&&{...t.color===o&&{...n&&{borderColor:(0,m.Fq)(e.palette[o].dark,.48)},...a&&{borderColor:(0,m.Fq)(e.palette[o].main,.48)},...i&&{borderColor:(0,m.Fq)(e.palette[o].dark,.24)}}}}}})),{["& .".concat(e_.Z.grouped)]:{["&.".concat(e_.Z.disabled)]:{"&:not(:last-of-type)":{borderColor:e.palette.action.disabledBackground}}}}]};return{MuiButtonGroup:{styleOverrides:{root:e=>{let{ownerState:o}=e;return t(o)}}}}}(e),{MuiBreadcrumbs:{styleOverrides:{separator:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},li:{display:"inline-flex",margin:e.spacing(.25,0),"& > *":{...e.typography.body2}}}}},{MuiCssBaseline:{styleOverrides:{"*":{boxSizing:"border-box"},html:{margin:0,padding:0,width:"100%",height:"100%",WebkitOverflowScrolling:"touch"},body:{margin:0,padding:0,width:"100%",height:"100%"},"#root, #__next":{width:"100%",height:"100%"},input:{"&[type=number]":{MozAppearance:"textfield","&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"}}},img:{maxWidth:"100%",display:"inline-block",verticalAlign:"bottom"}}}},{MuiAutocomplete:{styleOverrides:{root:{["& span.".concat(eH.Z.tag)]:{...e.typography.subtitle2,height:24,minWidth:24,lineHeight:"24px",textAlign:"center",padding:e.spacing(0,.75),color:e.palette.text.secondary,borderRadius:e.shape.borderRadius,backgroundColor:(0,m.Fq)(e.palette.grey[500],.16)}},paper:{...(0,B.uS)({theme:e,dropdown:!0})},listbox:{padding:0,["& .".concat(eH.Z.option)]:{...(0,B.D9)(e)}},endAdornment:{["& .".concat(ee.Z.root)]:{width:18,height:18}}}}},function(e){let t=t=>[{["&.".concat(eU.Z.selected)]:{borderColor:"currentColor",boxShadow:"0 0 0 0.5px currentColor"}},...eG.map(o=>({...t.color===o&&{"&:hover":{borderColor:(0,m.Fq)(e.palette[o].main,.48),backgroundColor:(0,m.Fq)(e.palette[o].main,e.palette.action.hoverOpacity)}}})),{["&.".concat(eU.Z.disabled)]:{["&.".concat(eU.Z.selected)]:{color:e.palette.action.disabled,backgroundColor:e.palette.action.selected,borderColor:e.palette.action.disabledBackgroun
1d}}}];return{MuiToggleButton:{styleOverrides:{root:e=>{let{ownerState:o}=e;return t(o)}}},MuiToggleButtonGroup:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper,border:"solid 1px ".concat((0,m.Fq)(e.palette.grey[500],.08))},grouped:{margin:4,["&.".concat(eU.Z.selected)]:{boxShadow:"none"},"&:not(:first-of-type), &:not(:last-of-type)":{borderRadius:e.shape.borderRadius,borderColor:"transparent"}}}}}}(e),{MuiLoadingButton:{styleOverrides:{root:e=>{let{ownerState:t}=e;return{..."soft"===t.variant&&{["& .".concat(eV.Z.loadingIndicatorStart)]:{left:10},["& .".concat(eV.Z.loadingIndicatorEnd)]:{right:14},..."small"===t.size&&{["& .".concat(eV.Z.loadingIndicatorStart)]:{left:10},["& .".concat(eV.Z.loadingIndicatorEnd)]:{right:10}}}}}}}},K(e),W(e))}function eY(e,t){let o={..."bold"===e&&"light"===t&&{palette:{background:{default:x.BA[200]}}}},n={..."bold"===e&&{MuiCard:{styleOverrides:{root:{boxShadow:I(t).z1}}}}};return{...o,components:n}}var e$=o(99376);function eJ(e){let{options:t,CacheProvider:o=v.C,children:r}=e,[a]=i.useState(()=>{let e=(0,f.Z)(t);e.compat=!0;let o=e.insert,n=[];return e.insert=function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];let[i,l]=r;return void 0===e.inserted[l.name]&&n.push({name:l.name,isGlobal:!i}),o(...r)},{cache:e,flush:()=>{let e=n;return n=[],e}}});return(0,e$.useServerInsertedHTML)(()=>{let e=a.flush();if(0===e.length)return null;let t="",o=a.cache.key,r=[];return e.forEach(e=>{var n;let{name:i,isGlobal:l}=e,s=null!==(n=a.cache.inserted[i])&&void 0!==n?n:"";"boolean"!=typeof s&&(l?r.push({name:i,style:s}):(t+=s,o+=" ".concat(i)))}),(0,n.jsxs)(n.Fragment,{children:[r.map(e=>{let{name:t,style:o}=e;return(0,n.jsx)("style",{"data-emotion":"".concat(a.cache.key,"-global ").concat(t),dangerouslySetInnerHTML:{__html:o}},t)}),t&&(0,n.jsx)("style",{"data-emotion":o,dangerouslySetInnerHTML:{__html:t}})]})}),(0,n.jsx)(o,{value:a.cache,children:r})}function eQ(e){let{children:t}=e,o=(0,g.K$)(),r=(0,l.gd)(o.language,"table"),f=(0,u.Z)(),b=(0,s.Z)(f.breakpoints.down("md")),v=(0,i.useMemo)(()=>({palette:{...(0,x.DG)(o.themeMode),...M(o.themeColorPresets).palette,...eY(o.themeContrast,o.themeMode).palette},customShadows:{...I(o.themeMode),...M(o.themeColorPresets).customShadows},direction:o.themeDirection,shadows:function(e){let t="light"===e?x.BA[500]:x.y0.black,o=(0,m.Fq)(t,.2),n=(0,m.Fq)(t,.14),r=(0,m.Fq)(t,.12);return["none","0px 2px 1px -1px ".concat(o,",0px 1px 1px 0px ").concat(n,",0px 1px 3px 0px ").concat(r),"0px 3px 1px -2px ".concat(o,",0px 2px 2px 0px ").concat(n,",0px 1px 5px 0px ").concat(r),"0px 3px 3px -2px ".concat(o,",0px 3px 4px 0px ").concat(n,",0px 1px 8px 0px ").concat(r),"0px 2px 4px -1px ".concat(o,",0px 4px 5px 0px ").concat(n,",0px 1px 10px 0px ").concat(r),"0px 3px 5px -1px ".concat(o,",0px 5px 8px 0px ").concat(n,",0px 1px 14px 0px ").concat(r),"0px 3px 5px -1px ".concat(o,",0px 6px 10px 0px ").concat(n,",0px 1px 18px 0px ").concat(r),"0px 4px 5px -2px ".concat(o,",0px 7px 10px 1px ").concat(n,",0px 2px 16px 1px ").concat(r),"0px 5px 5px -3px ".concat(o,",0px 8px 10px 1px ").concat(n,",0px 3px 14px 2px ").concat(r),"0px 5px 6px -3px ".concat(o,",0px 9px 12px 1px ").concat(n,",0px 3px 16px 2px ").concat(r),"0px 6px 6px -3px ".concat(o,",0px 10px 14px 1px ").concat(n,",0px 4px 18px 3px ").concat(r),"0px 6px 7px -4px ".concat(o,",0px 11px 15px 1px ").concat(n,",0px 4px 20px 3px ").concat(r),"0px 7px 8px -4px ".concat(o,",0px 12px 17px 2px ").concat(n,",0px 5px 22px 4px ").concat(r),"0px 7px 8px -4px ".concat(o,",0px 13px 19px 2px ").concat(n,",0px 5px 24px 4px ").concat(r),"0px 7px 9px -4px ".concat(o,",0px 14px 21px 2px ").concat(n,",0px 5px 26px 4px ").concat(r),"0px 8px 9px -5px ".concat(o,",0px 15px 22px 2px ").concat(n,",0px 6px 28px 5px ").concat(r),"0px 8px 10px -5px ".concat(o,",0px 16px 24px 2px ").concat(n,",0px 6px 30px 5px ").concat(r),"0px 8px 11px -5px ".concat(o,",0px 17px 26px 2px ").concat(n,",0px 6px 32px 5px ").concat(r),"0px 9px 11px -5px ".concat(o,",0px 18px 28px 2px ").concat(n,",0px 7px 34px 6px ").concat(r),"0px 9px 12px -6px ".concat(o,",0px 19px 29px 2px ").concat(n,",0px 7px 36px 6px ").concat(r),"0px 10px 13px -6px ".concat(o,",0px 20px 31px 3px ").concat(n,",0px 8px 38px 7px ").concat(r),"0px 10px 13px -6px ".concat(o,",0px 21px 33px 3px ").concat(n,",0px 8px 40px 7px ").concat(r),"0px 10px 14px -6px ".concat(o,",0px 22px 35px 3px ").concat(n,",0px 8px 42px 7px ").concat(r),"0px 11px 14px -7px ".concat(o,",0px 23px 36px 3px ").concat(n,",0px 9px 44px 8px ").concat(r),"0px 11px 15px -7px ".concat(o,",0px 24px 38px 3px ").concat(n,",0px 9px 46px 8px ").concat(r)]}(o.themeMode),shape:{borderRadius:b?6:8},typography:L,breakpoints:{values:{xs:0,sm:768,md:1025,lg:1280,xl:1440}}}),[o.themeMode,o.themeColorPresets,o.themeContrast,o.themeDirection,b]),w=(0,p.Z)(v);
1w.components=a()(eK(w),eY(o.themeContrast,o.themeMode).components);let C=(0,i.useMemo)(()=>(0,p.Z)(w,c[r]),[r,w]);return(0,i.useEffect)(()=>{C.components=a()(eK(C),eY(o.themeContrast,o.themeMode).components)},[r,o.language,o.themeContrast,o.themeMode,w,C]),(0,n.jsx)(eJ,{options:{key:"css"},children:(0,n.jsx)(h.Z,{theme:C,children:(0,n.jsxs)(y,{themeDirection:o.themeDirection,children:[(0,n.jsx)(d.ZP,{}),t]})})})}},38083:function(e,t,o){"use strict";o.d(t,{Y:function(){return n}});let n=new EventTarget},68073:function(){}},function(e){e.O(0,[1216,961,2737,5447,7099,424,5070,1494,5422,2971,1744],function(){return e(e.s=55243)}),_N_E=e.O()}]);

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.