PageSourceSearch

https://xyes.ai/_next/static/chunks/7237.d3101a9777445f83.js

js xyes.ai collected 2026-10-05 14:50:37 UTC 2,883 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7237],{87237:function(e,s,t){t.r(s);var n=t(57437),i=t(7310),a=t.n(i),r=t(60033),o=t(70802),l=t(55343),u=t(25578),m=t(2265),d=t(57099),c=t(31691),g=t(82156),x=t(90486),h=t(89414),p=t(47080),j=t(1899),Z=t(46387),b=t(73222),f=t(78045),w=t(51644);s.default=e=>{let{options:s,category:t,routeType:i}=e,{t:v}=(0,r.i)(),[k,E]=(0,m.useState)([]),[y,C]=(0,m.useState)(1),M=(0,c.Z)(),_=(0,g.Z)(M.breakpoints.down("sm")),A=(0,g.Z)(M.breakpoints.between("sm","md")),I=(0,g.Z)(M.breakpoints.up("md")),N=(0,m.useMemo)(()=>{let e;switch(!0){case _:e=Number("36");break;case A:e=Number("64");break;case I:e=Number("104")||64;break;default:e=64}return{...s,limit:e,page:y}},[y,_,A,I,s]),{games:P,limit:F,totalPages:S,totalDocuments:H,isSuccess:L,isFetching:R,isLoading:V,isError:D,error:G}=(0,u.u)({options:N,page:y}),O=(0,m.useCallback)(()=>{R||S&&y>=S||C(e=>e+1)},[R,S,y]),Y=(0,m.useCallback)(()=>{let e=window.scrollY,s=window.innerHeight,{scrollHeight:t}=document.documentElement,n=_?.2*s:.1*s;e+s>=t-n&&O()},[_,O]),q=(0,m.useMemo)(()=>a()(Y,100),[Y]),z=Math.max(0,Math.min(F||32,(H||0)-k.length));(0,m.useEffect)(()=>{C(1),E([])},[t.slug]),(0,m.useEffect)(()=>(window.addEventListener("scroll",q),()=>window.removeEventListener("scroll",q)),[q]),(0,m.useEffect)(()=>{L&&P&&("favorites"===t.slug?E(P):E(e=>Array.from(new Map([...e,...P].map(e=>[e.gameId||e._id,e])).values())))},[P,L]);let B=(0,m.useMemo)(()=>(0,n.jsx)(x.Z,{in:!0,timeout:500,children:(0,n.jsx)(h.ZP,{container:!0,spacing:1,mt:.5,children:Array.from({length:z||32},(e,s)=>{let i="providers"===t.slug,a=(0,d.iP)(_,i);return(0,n.jsx)(h.ZP,{item:!0,xs:4,sm:4,md:3,lg:2,xl:1.5,children:(0,n.jsx)(p.Z,{variant:"rectangular",width:"100%",height:a,sx:{borderRadius:2,margin:"auto",padding:"8px",transition:"opacity 0.3s ease-in-out"}})},"skeleton-".concat(s))})})}),[z,t.slug,_]);return(0,n.jsxs)(j.Z,{pb:_?15:2,children:[(0,n.jsxs)(h.ZP,{container:!0,spacing:1,children:[R&&1===y&&B,k.map((e,s)=>(0,n.jsx)(x.Z,{in:!0,timeout:500,children:(0,n.jsx)(h.ZP,{item:!0,xs:4,sm:3,lg:2,xl:1.5,children:"providers"===t.slug?(0,n.jsx)(w.F,{...e,providerRoute:i,showCursorCard:!0}):(0,n.jsx)(f._,{...e,gameId:String(e.gameId),isFav:"isFav"in e&&e.isFav})})},e.gameId||e._id))]}),(0,n.jsx)(x.Z,{in:V||R,timeout:500,unmountOnExit:!0,children:(0,n.jsx)(j.Z,{sx:{width:"100%",mx:"auto",textAlign:"center",p:_?2:10,transition:"opacity 0.5s ease-in-out",position:"relative",minHeight:100,display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(b.AG,{})})}),!!S&&y>=S&&!R&&(0,n.jsx)(x.Z,{in:!0,timeout:500,children:(0,n.jsx)(j.Z,{mt:3,textAlign:"center",children:(0,n.jsx)(Z.Z,{variant:"body2",children:v("casino.noMoreData")})})}),D&&(0,d.VZ)(G.message)&&(0,n.jsx)(l.kb,{message:G.message}),D&&G.message&&!(0,d.VZ)(G.message)&&(0,n.jsx)(o.default,{})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.