PageSourceSearch

https://xyes.ai/_next/static/js/5441.a66db45a6d7cbf45.js

js xyes.ai collected 2026-10-05 14:49:31 UTC 14,181 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5441,3400],{63400:function(e,t,r){r.r(t);var n=r(57437),o=r(60033),l=r(2265),a=r(9467),i=r(59062),s=r(25578),c=r(35565),u=r(89414),d=r(47080),m=r(1899),g=r(97312),x=r(46387),p=r(19643),h=r(44811),f=r(31691),b=r(82156),v=r(73992),y=r(78045),w=r(51644),k=r(58180);let S=(0,l.memo)(y._),C=(0,l.memo)(w.F),j=(0,l.memo)(e=>{let{isMobile:t}=e;return(0,n.jsx)(u.ZP,{container:!0,spacing:1,children:Array.from({length:8},(e,r)=>(0,n.jsx)(u.ZP,{item:!0,xs:4,sm:4,lg:4,xl:1.5,display:"flex",justifyContent:"center",children:(0,n.jsx)(d.Z,{variant:"rectangular",width:"100%",height:t?142:190,sx:{borderRadius:2}})},r))})}),Z=(0,l.memo)(e=>{let{category:t,handleTabType:r,title:o,t:a}=e,s=(0,l.useCallback)(()=>{r(t,!1)},[t,r]),c=(0,i.K$)();return(0,n.jsx)(m.Z,{sx:{flexShrink:1,minWidth:0},children:(0,n.jsx)(g.Z,{underline:"hover",color:"inherit",onClick:s,sx:{display:"block",flexShrink:1,minWidth:0,cursor:"pointer"},children:(0,n.jsxs)(x.Z,{variant:"h2",sx:{textAlign:"center",display:"flex",alignItems:"center",gap:{xs:.25,sm:.5,md:.75,lg:1},fontSize:{xs:"clamp(0.6rem, 3vw, 0.9rem)",sm:"0.875rem",md:"1rem",lg:"1.2rem"},whiteSpace:"nowrap",flexShrink:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},children:[(0,n.jsx)(v.d3,{iconUrl:t.icon,style:{color:"primary.main",flexShrink:0,width:{xs:"18px",sm:"20px",md:"22px",lg:"24px"},height:{xs:"18px",sm:"20px",md:"22px",lg:"24px"}}}),(0,n.jsx)(m.Z,{component:"span",sx:{flexShrink:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},children:a(o,{favCount:c.favoriteGames})})]})})})}),_={...c.D.button,whiteSpace:"nowrap",aspectRatio:"auto",width:{xs:"clamp(28px, 7vw, 33px)",sm:"2rem",md:"2.4rem",lg:"2.8rem"},height:{xs:"1.1rem",sm:"1.5rem",md:"1.7rem",lg:"1.9rem"},borderRadius:"4px"},N=(0,l.memo)(e=>{let{category:t,handleTabType:r,t:o,onPrevButtonClick:a,onNextButtonClick:i,prevBtnDisabled:s,nextBtnDisabled:u}=e,d=(0,l.useCallback)(()=>{r(t,!1)},[t,r]);return(0,n.jsx)(p.Z,{sx:{...c.D.stack,flexShrink:0,ml:{xs:.5,sm:1,md:1.5},mb:{xs:.5,sm:.75}},children:(0,n.jsxs)(m.Z,{sx:{display:"flex",alignItems:"center",gap:{xs:.25,sm:.5,md:.5,lg:1},flexShrink:1},children:[(0,n.jsx)(h.Z,{color:"inherit",sx:_,onClick:d,children:(0,n.jsx)(x.Z,{variant:"tab",sx:{textAlign:"center",display:"flex",alignItems:"center",gap:{xs:.25,sm:.5,md:.75,lg:1},fontSize:{xs:"clamp(0.5rem, 2.5vw, 0.75rem)"},flexShrink:1},children:o("transaction.filter.all")})}),(0,n.jsxs)(m.Z,{sx:{display:"flex",gap:{xs:.25,sm:.5,md:.75,lg:1}},children:[(0,n.jsx)(k.Q1,{sx:_,onClick:a,disabled:s}),(0,n.jsx)(k.aW,{sx:_,onClick:i,disabled:u})]})]})})}),F=(0,l.memo)(e=>{let{options:t,category:r,handleTabType:i,routeType:c,title:u,showFirstCustomItem:d,onPlay:g,isLobbyView:x=!1}=e,{t:h}=(0,o.i)(),v=(0,f.Z)(),y=(0,b.Z)(v.breakpoints.down("md")),[w,_]=(0,a.Z)({align:y?"center":"start",dragFree:!0,...y?{slidesToScroll:1}:{}}),{prevBtnDisabled:F,nextBtnDisabled:I,onPrevButtonClick:P,onNextButtonClick:W}=(0,k.XO)(_),D=(0,l.useMemo)(()=>({...t}),[t]),{games:O,isSuccess:R,isFetching:E}=(0,s.u)({options:D,isLobbyView:x}),T=(0,l.useMemo)(()=>{var e;return(null!==(e=null==O?void 0:O.length)&&void 0!==e?e:0)>0&&R},[null==O?void 0:O.length,R]),A=(0,l.useMemo)(()=>T?(0,n.jsxs)(n.Fragment,{children:[d&&(0,n.jsx)(m.Z,{className:"casino__slide",children:(0,n.jsx)(C,{gameName:r.name,providerName:r.name,id:"Provider",totalGames:r.totals,providerSlug:r.providerSlug,showFirstCustomItem:!0,providerRoute:c,showCursorCard:!0,gameId:""})}),null==O?void 0:O.map((e,t)=>(0,n.jsx)(m.Z,{className:"casino__slide",children:"providers"===r.slug?(0,n.jsx)(C,{...e,providerRoute:c}):(0,n.jsx)(S,{...e,onPlay:g})},"".concat(e.id,"-").concat(t)))]}):null,[T,d,r,c,O,g]);return(0,n.jsx)(m.Z,{children:(0,n.jsxs)(m.Z,{className:"casino",children:[T&&(0,n.jsxs)(p.Z,{justifyContent:"space-between",direction:"row",sx:{display:"originalGames"===c?"none":"",my:{xs:.25,sm:.5},gap:{xs:1,sm:1.5,md:2},flexShrink:1,alignItems:"center"},children:[(0,n.jsx)(Z,{category:r,handleTabType:i,title:u||"",t:h}),(0,n.jsx)(N,{category:r,handleTabType:i,t:h,onPrevButtonClick:P,onNextButtonClick:W,prevBtnDisabled:F,nextBtnDisabled:I})]}),T&&(0,n.jsx)(m.Z,{className:"casino__viewport",ref:w,children:(0,n.jsx)(m.Z,{className:"casino__container",children:A})}),!T&&E&&(0,n.jsx)(j,{isMobile:y})]})})});t.default=F},58180:function(e,t,r){r.d(t,{Q1:function(){return d},XO:function(){return s},aW:function(){return m}});var n=r(57437),o=r(2265),l=r(35565),a=r(44811),i=r(76975);let s=e=>{let[t,r]=(0,o.useState)(!0),[n,l]=(0,o.useState)(!0),a=(0,o.useCallback)(()=>{e&&e.scrollPrev()},[e]),i=(0,o.useCallback)(()=>{e&&e.scrollNext()},[e]),s=(0,o.useCallback)(e=>{r(!e.canScrollPrev()),l(!e.canScrollNext())},[]);return(0,o.useEffect)(()=>{e&&(s(e),e.on("reInit",s).on("select",s))},[e,s]),{prevBtnDisabled:t,nextBtnDisabled:n,onPrevButtonClick:a,onNextButtonClick:i}},c={xs:"clamp(12px, 3vw, 14px)",sm:14,md:16,lg:18},u={...l.D.button,whiteSpace:"nowrap",aspectRatio:"auto",width:{xs:"clamp(28px, 7vw, 44px)",sm:"2rem",md:"2.4rem",lg:"2.8rem"},height:{xs:"1.1rem",sm:"1.5rem",md:"1.7rem",lg:"1.9rem"},borderRadius:"4px"},d=e=>{let{children:t,...r}=e;return(0,n.jsxs)(a.Z,{"aria-label":"Previous page",size:"small",sx:u,...r,children:[(0,n.jsx)(i.Z,{icon:"ic:round-keyboard-arrow-left",height:c,width:c}),t]})},m=e=>{let{children:t,...r}=e;return(0,n.jsxs)(a.Z,{"aria-label":"Next page",size:"small",sx:u,...r,children:[(0,n.jsx)(i.Z,{icon:"ic:round-keyboard-arrow-right",he
1ight:c,width:c}),t]})}},35565:function(e,t,r){r.d(t,{D:function(){return n}});let n={button:{minWidth:"auto",height:{xs:"1.2rem",sm:"1.5rem",md:"1.7rem",lg:"1.9rem"},width:{xs:"1.2rem",sm:"1.5rem",md:"1.7rem",lg:"1.9rem"},background:"#2a334a",padding:{xs:"0.1rem 0.3rem",sm:"0.15rem 0.4rem",md:"0.2rem 0.5rem",lg:"0.25rem 0.75rem"},display:"flex",justifyContent:"center",alignItems:"center",flexShrink:1,fontSize:{xs:"0.65rem",sm:"0.75rem",md:"0.875rem",lg:"1rem"},"&:hover":{background:"#2a334a"},"&:disabled":{background:"#172736"}},iconSize:{xs:12,sm:14,md:16,lg:18},stack:{direction:"row",alignItems:"center",gap:{xs:.25,sm:.5,md:.75,lg:1},justifyContent:"flex-start",width:"auto",flexShrink:1},container:{gap:{xs:.25,sm:.5,md:.75,lg:1},my:{xs:.25,sm:.5},flexShrink:1},title:{fontSize:{xs:"1rem",sm:"1.2rem",md:"1.4rem",lg:"1.6rem"},gap:{xs:.5,sm:.75,md:1}},icon:{size:{xs:18,sm:20,md:24,lg:26}}}},70361:function(e,t,r){r.d(t,{K:function(){return n.useSettingsContext}}),r(17640);var n=r(93866)},93866:function(e,t,r){r.d(t,{J:function(){return o},useSettingsContext:function(){return l}});var n=r(2265);let o=(0,n.createContext)(void 0),l=()=>{let e=(0,n.useContext)(o);if(!e)throw Error("useSettingsContext must be use inside SettingsProvider");return e}},17640:function(e,t,r){r.d(t,{SettingsProvider:function(){return d}});var n=r(57437),o=r(21652),l=r.n(o),a=r(2265),i=r(86319);function s(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(){try{let e="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}()&&(t=localStorage.getItem(e)||r),t}var c=r(93866);let u="settings";function d(e){let{children:t,defaultSettings:r}=e,o=s(u),{state:d,update:m,reset:g}=(0,i._)(u,o?JSON.parse(o):r),[x,p]=(0,a.useState)(!1),h="ar"===s("i18nextLng"),f=(0,a.useCallback)(e=>{m("themeDirection","ar"===e?"rtl":"ltr")},[m]);(0,a.useEffect)(()=>{h&&f("ar")},[h,f]);let b=(0,a.useCallback)(()=>{p(e=>!e)},[]),v=(0,a.useCallback)(()=>{p(!1)},[]),y=!l()(d,r),w=(0,a.useMemo)(()=>({...d,onUpdate:m,onChangeDirectionByLang:f,canReset:y,onReset:g,open:x,onToggle:b,onClose:v}),[g,m,d,y,x,v,b,f]);return(0,n.jsx)(c.J.Provider,{value:w,children:t})}},64824:function(e,t,r){r.d(t,{default:function(){return x}});var n=r(57437),o=r(19643),l=r(8350),a=r(31691),i=r(95576),s=r(46387),c=r(63242),u=r(87812),d=r(76997),m=r(76975),g=r(70361);function x(){let e=(0,a.Z)(),t=(0,g.K)(),r=(0,n.jsxs)(o.Z,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{py:2,pr:1,pl:2.5},children:[(0,n.jsx)(s.Z,{variant:"h6",sx:{flexGrow:1},children:"Settings"}),(0,n.jsx)(i.Z,{onClick:t.onClose,children:(0,n.jsx)(m.Z,{icon:"mingcute:close-line"})})]});return(0,n.jsxs)(c.ZP,{anchor:"right",open:t.open,onClose:t.onClose,slotProps:{backdrop:{invisible:!0}},sx:{["& .".concat(u.Z.paper)]:{...(0,d.uS)({theme:e,bgcolor:e.palette.background.default}),width:280}},children:[r,(0,n.jsx)(l.Z,{sx:{borderStyle:"dashed"}})]})}},59062:function(e,t,r){r.d(t,{K$:function(){return n.K}});var n=r(70361);r(64824)},86404:function(e,t,r){r.d(t,{u:function(){return i}});var n=r(2265),o=r(55447),l=r(16593),a=r(45345);let i=e=>{let t=(0,n.useMemo)(()=>"".concat("https://api.xyes.com/api/v1"+o.Hv.auth.profileInformation,"/").concat(e),[e]),{data:r,isLoading:i,error:s,isError:c}=(0,l.a)({queryKey:["getProfileInformation",e],queryFn:async()=>(await o.ZP.get(t)).data.data,placeholderData:a.Wk});return{data:r,isLoading:i,error:s,isError:c}}},82877:function(e,t,r){r.d(t,{SG:function(){return i},Xn:function(){return c},aE:function(){return s}});var n=r(16593),o=r(45345),l=r(20418),a=r(55447);let i=function(){let{all:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{authenticated:t}=(0,l.E)();return(0,n.a)({queryKey:["useGetAllCurrencies",e],queryFn:async()=>{let t=e?a.Hv.wallet.getAllCurrenciesList:a.Hv.wallet.currencyList;return(await a.ZP.get(t)).data},placeholderData:o.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0,enabled:t,staleTime:3e5,gcTime:6e5})},s=()=>{let{authenticated:e}=(0,l.E)();return(0,n.a)({queryKey:["useGetUserBalance"],queryFn:async()=>(await a.ZP.get(a.Hv.wallet.getUserBalances)).data,placeholderData:o.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0,enabled:e,staleTime:3e4,gcTime:3e5})},c=e=>{let{currencyCode:t}=e,{authenticated:r}=(0,l.E)();return(0,n.a)({queryKey:["useGetFiatExchangeRates",t],queryFn:async()=>(await a.ZP.get("".concat(a.Hv.wallet.fiatExchangeRates).concat(t))).data,placeholderData:o.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0,enabled:r&&!!t,staleTime:3e5,gcTime:6e5})}},86319:function(e,t,r){r.d(t,{_:function(){return o}});var n=r(2265);
1function o(e,t){let[r,o]=(0,n.useState)(t);(0,n.useEffect)(()=>{let t=l(e);t&&o(e=>({...e,...t}))},[e]);let s=(0,n.useCallback)(t=>{o(r=>(a(e,{...r,...t}),{...r,...t}))},[e]);return{state:r,update:(0,n.useCallback)((e,t)=>{s({[e]:t})},[s]),reset:(0,n.useCallback)(()=>{i(e),o(t)},[t,e])}}let l=e=>{let t=null;try{let r=window.localStorage.getItem(e);r&&(t=JSON.parse(r))}catch(e){}return t},a=(e,t)=>{try{window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}},i=e=>{try{window.localStorage.removeItem(e)}catch(e){}}},76997:function(e,t,r){r.d(t,{D9:function(){return u},Ls:function(){return d},O1:function(){return m},uS:function(){return c}});var n=r(88064),o=r(42596),l=r(66839),a=r(61512),i=r(67547),s=r(78948);let c=e=>{let{theme:t,bgcolor:r,dropdown:n}=e;return{...d({blur:20,opacity:.9,color:s.y0.sidebar,...!!r&&{color:r}}),backgroundImage:"url(/assets/cyan-blur.png), url(/assets/red-blur.png)",backgroundRepeat:"no-repeat, no-repeat",backgroundPosition:"top right, left bottom",backgroundSize:"50%, 50%",..."rtl"===t.direction&&{backgroundPosition:"top left, right bottom"},...n&&{padding:t.spacing(.5),boxShadow:t.customShadows.dropdown,borderRadius:1.25*t.shape.borderRadius}}},u=e=>({...e.typography.body2,padding:e.spacing(.75,1),borderRadius:.75*e.shape.borderRadius,"&:not(:last-of-type)":{marginBottom:4},["&.".concat(a.Z.selected)]:{fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}},["& .".concat(l.Z.root)]:{padding:e.spacing(.5),marginLeft:e.spacing(-.5),marginRight:e.spacing(.5)},["&.".concat(i.Z.option,'[aria-selected="true"]')]:{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}},["&+.".concat(o.Z.root)]:{margin:e.spacing(.5,0)}});function d(e){let t=(null==e?void 0:e.color)||"#000000",r=(null==e?void 0:e.blur)||6,o=(null==e?void 0:e.opacity)||.8,l=null==e?void 0:e.imgUrl;return l?{position:"relative",backgroundImage:"url(".concat(l,")"),"&:before":{position:"absolute",top:0,left:0,zIndex:9,content:'""',width:"100%",height:"100%",backdropFilter:"blur(".concat(r,"px)"),WebkitBackdropFilter:"blur(".concat(r,"px)"),backgroundColor:(0,n.Fq)(t,o)}}:{backdropFilter:"blur(".concat(r,"px)"),WebkitBackdropFilter:"blur(".concat(r,"px)"),backgroundColor:(0,n.Fq)(t,o)}}let m={x:{msOverflowStyle:"none",scrollbarWidth:"none",overflowX:"scroll","&::-webkit-scrollbar":{display:"none"}},y:{msOverflowStyle:"none",scrollbarWidth:"none",overflowY:"scroll","&::-webkit-scrollbar":{display:"none"}}}},62511:function(e,t,r){r.d(t,{_S:function(){return s},lj:function(){return l},ok:function(){return a}});var n=r(48116);let o=e=>{var t,r,o,l,a;let{row:i,amount:s,fiatCurrency:c,exchangeRates:u,shouldShow:d,type:m,exchangeRateFrom:g,exchangeRateTo:x}=e;if(!d||!u&&!g&&!x)return{shouldDisplay:!1,fiatCurrency:c,formattedAmount:"",isNegative:!1,rawAmount:0};let p="withdraw"===(null!==(t=null==i?void 0:i.type)&&void 0!==t?t:m),h=p?null!==(o=null!==(r=null==i?void 0:i.amount)&&void 0!==r?r:s)&&void 0!==o?o:0:null!==(a=null!==(l=null==i?void 0:i.realityamount)&&void 0!==l?l:s)&&void 0!==a?a:0,f=0;return g&&x?f=(0,n.rN)(Number(h),g,x):u&&u[c]&&(f=(0,n.rN)(Number(h),"1",u[c].toString())),{shouldDisplay:!0,fiatCurrency:c,formattedAmount:(0,n.dN)(f,"fiat"),isNegative:p,rawAmount:f}},l=e=>{let t=o(e);if(!t.shouldDisplay)return"";let r=t.isNegative?"-":"";return"".concat(t.fiatCurrency," ").concat(r).concat(t.formattedAmount)},a=(e,t,r,n)=>{let o=e.currency.split("/")[1]||"USD",a=r[o]?r[o].toString():"1",i=r[t]?r[t].toString():"1";return l({row:e,fiatCurrency:t,exchangeRateFrom:a,exchangeRateTo:i,shouldShow:n})},i=e=>"number"==typeof e?e>=1e6?"".concat((e/1e6).toFixed(1),"M"):e>=1e3?"".concat((e/1e3).toFixed(1),"K"):e.toFixed(2):String(e).slice(0,6),s=e=>{let t=o(e);if(!t.shouldDisplay)return"";let r=t.isNegative?"-":"",n=i(t.rawAmount);return"".concat(t.fiatCurrency," ").concat(r).concat(n)}}}]);

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.