PageSourceSearch

https://granimatortrading.com/_next/static/chunks/pages/games/[...games]-b527c54bb8c6a7fd.js

js granimatortrading.com collected 2026-10-03 00:47:07 UTC 16,267 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3117],{10490:(e,l,i)=>{"use strict";i.d(l,{A:()=>m});var n=i(37876),t=i(1213),r=i(24400),a=i(68191),o=i(31306),s=i(91238),d=i.n(s);function u(){return(0,n.jsx)(p,{children:(0,n.jsx)(t.IH,{color:"#FFFFFF"})})}function c(){return(0,n.jsx)(p,{children:(0,n.jsx)(t.pW,{color:"#FFFFFF"})})}function m(e){let{page:l,onPageChange:i,meta:t}=e,{isMobile:a}=(0,o.F)();if(!t)return null;let s=Math.ceil(t.total/t.perPage);return s<=0?null:(0,n.jsx)(g,{children:(0,n.jsx)(x,{children:(0,n.jsx)(d(),{onPageChange:e=>{var l,n;let{selected:t}=e;i(t),"undefined"!=typeof document&&(null==(n=document)||null==(l=n.getElementById("__next"))||l.scrollIntoView())},pageCount:s,forcePage:l,pageRangeDisplayed:a?2:4,marginPagesDisplayed:2,previousLabel:(0,n.jsx)(c,{}),nextLabel:(0,n.jsx)(u,{}),containerClassName:v.pagination(),previousClassName:"previous",activeClassName:"active",pageLabelBuilder:e=>(0,n.jsx)(r.EY,{variant:"body2Regular",children:e}),disabledClassName:v.disabled()})})})}let v={pagination:(0,a.AH)({display:"flex",alignItems:"center",padding:0,"& > li":{display:"inline-block",paddingLeft:0,listStyle:"none",cursor:"pointer"},"& > li > a":{position:"relative",float:"left",borderRadius:"4px",outline:"none",margin:"0 20px",color:"white",userSelect:"none","@mobile":{margin:"0 16px"}},"& > li.active > a > span":{},"& > li.active > a":{background:"$primaryDefault",width:32,height:32,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",margin:"0 8px"}}),disabled:(0,a.AH)({opacity:.5,cursor:"not-allowed"})},g=(0,a.I4)("div",{display:"flex",marginTop:20,alignItems:"center",flex:1}),x=(0,a.I4)("div",{display:"flex",flex:2,justifyContent:"center"}),p=(0,a.I4)("div",{display:"flex",alignItems:"center"})},19448:(e,l,i)=>{"use strict";i.d(l,{A:()=>d});var n=i(37876),t=i(75922),r=i(24400),a=i(68191),o=i(72315),s=i(2233);function d(e){let{query:l}=e,{t:i}=(0,s.A)();return l?(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",flexDirection:"column"},children:[(0,n.jsx)(r.hw,{src:o.A.noResult,width:200,height:200,alt:""}),(0,n.jsx)(t.wv,{mt:20}),(0,n.jsx)(r.EY,{variant:{"@desktop":"title2Bold","@mobile":"body1Bold"},children:i("common:no_results")})]}):"favorite"===e.tagId?(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",flexDirection:"column"},children:[(0,n.jsx)(r.hw,{src:o.A.noFavorite,width:200,height:200,alt:""}),(0,n.jsx)(t.wv,{mt:20}),(0,n.jsx)(r.EY,{variant:{"@desktop":"title2Bold","@mobile":"body1Bold"},children:i("common:no_favorites")})]}):(e.tagId,i("common:no_new_game_empty"),(0,n.jsxs)(u,{children:[(0,n.jsx)(r.hw,{src:o.A.comingSoon,width:200,height:200,alt:""}),(0,n.jsx)(t.wv,{mt:20}),(0,n.jsx)(r.EY,{variant:{"@desktop":"title2Bold","@mobile":"body1Bold"},children:i("common:coming_soon")})]}))}let u=(0,a.I4)("div",{display:"flex",alignItems:"center",flexDirection:"column"})},25764:(e,l,i)=>{"use strict";i.d(l,{L:()=>d,v:()=>u});var n=i(37876),t=i(89099),r=i.n(t),a=i(14232);let o=(0,a.createContext)({searchQuery:void 0,tagSelectedIdx:0}),{Provider:s}=o;function d(e){let[l,i]=(0,a.useState)(),[t,o]=(0,a.useState)(0),d=(0,a.useCallback)(e=>{let{shallow:l}=e;o(0),i(void 0)},[]);return(0,a.useEffect)(()=>(r().events.on("routeChangeComplete",d),()=>{r().events.off("routeChangeComplete",d)}),[d]),(0,n.jsx)(s,{value:{searchQuery:l,setSearchQuery:i,setTagSelectedIdx:o,tagSelectedIdx:t},children:e.children})}function u(){return(0,a.useContext)(o)}},33593:(e,l,i)=>{"use strict";i.r(l),i.d(l,{__N_SSP:()=>eo,default:()=>es});var n=i(37876),t=i(46258),r=i(25764),a=i(5751),o=i(75922),s=i(68191),d=i(89099),u=i(14232),c=i(60173),m=i(54343),v=i(13273),g=i(10490),x=i(19448),p=i(1213),h=i(24400),f=i(66530),j=i(2233);function b(){let{theme:e}=(0,f.DP)(),{t:l}=(0,j.A)();return(0,n.jsxs)(w,{children:[(0,n.jsx)(p.QO,{className:y.gameMaintenanceSvg(),color:e.colors.primaryDefault}),(0,n.jsx)("div",{style:{marginBottom:48}}),(0,n.jsx)(h.EY,{variant:{"@desktop":"title2Bold","@mobile":"body1Bold"},align:"center",children:l("common:game_under_maintenance_desc")})]})}let y={gameMaintenanceSvg:(0,s.AH)({maxWidth:280,height:"fit-content"})},w=(0,s.I4)("div",{mx:"auto",display:"flex",flex:1,flexDirection:"column",alignItems:"center"});function I(){var e,l,i,a,o,s,d,p,h,f;let[j,y]=(0,u.useState)(1),{website:w}=(0,t.NQ)(),{searchQuery:I,tagSelectedIdx:P}=(0,r.v)(),A=null==w||null==(e=w.gamesPage)?void 0:e.category,_=null==w||null==(l=w.gamesPage)?void 0:l.provider,D=(0,u.useMemo)(()=>{var e,l;return null==w||null==(l=w.websitePersonalize)||null==(e=l.frameBackgroun
1dColors)?void 0:e.primary},[null==w||null==(a=w.websitePersonalize)||null==(i=a.frameBackgroundColors)?void 0:i.primary]),{data:F}=(0,c.Z9)({params:{category:A,provider:_}},{enabled:!!A}),{data:N,isLoading:S,isFetching:B,refetch:E,error:L}=(0,c.B9)({params:{category:A,provider:_,limit:28,page:j,q:I,tag:I?void 0:(null==F||null==(s=F.data)||null==(o=s[P])?void 0:o.id)||void 0}},{enabled:!!A}),R=(0,u.useMemo)(()=>{if(null==N?void 0:N.pages){var e;return null==N||null==(e=N.pages)?void 0:e.reduce((e,l)=>[...e,...l.data],[])}return[]},[null==N?void 0:N.pages]);return(0,n.jsx)(k,{css:{"@desktop":{background:D||""}},children:(0,n.jsx)(m.A,{isLoading:(S||B)&&!R.length,onRetry:E,error:!R.length&&L,errorComponent:(null==L?void 0:L.status)===400&&(0,n.jsx)(b,{}),loadingComponent:(0,n.jsx)(v.x,{}),component:(null==R?void 0:R.length)===0?(0,n.jsx)(x.A,{tagId:(null==F||null==(p=F.data)||null==(d=p[P])?void 0:d.id)||"",query:I}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C,{children:null==R?void 0:R.map((e,l)=>(0,u.createElement)(v.A,{index:l,...e,key:e.id}))}),(0,n.jsx)(g.A,{page:j-1,onPageChange:e=>y(e+1),meta:null==N||null==(f=N.pages)||null==(h=f[0])?void 0:h.meta})]})})})}let k=(0,s.I4)("div",{"@mobile":{mt:20},"@desktop":{mt:24,background:"$inkDefault",padding:"32px",borderRadius:20}}),C=(0,s.I4)("div",{display:"grid",gap:"12px",gridTemplateColumns:"repeat(3, 1fr)","@md":{gridTemplateColumns:"repeat(4, 1fr)"},"@lg":{gridTemplateColumns:"repeat(6, 1fr)"},"@xl":{gridTemplateColumns:"repeat(8, 1fr)"}});var P=i(15039),A=i.n(P),_=i(72315),D=i(18563),F=i(47142);function N(){var e;let{website:l}=(0,t.NQ)(),{onScrollCapture:i,ref:r}=(0,F.Y)(),a=(0,D.r)(),s=(0,u.useMemo)(()=>{var e,i;return(null==l||null==(i=l.menuData)||null==(e=i.find(e=>{var i;return e.name===(null==l||null==(i=l.gamesPage)?void 0:i.category)}))?void 0:e.providers)||[]},[null==l||null==(e=l.gamesPage)?void 0:e.category,null==l?void 0:l.menuData]);return(0,n.jsxs)(B,{children:[(0,n.jsx)(L,{children:(0,n.jsx)(h.hw,{src:_.A.arrowLeftLightJackpot,alt:""})}),(0,n.jsx)(R,{ref:e=>{r.current=e,a.current=e},onScrollCapture:i,children:null==s?void 0:s.map((e,i)=>{var t,r,a,s;return(0,n.jsxs)(u.Fragment,{children:[0!==i&&(0,n.jsx)(H,{}),(0,n.jsx)(o.PI,{tags:e.tags,containerClassName:A()(S.providerTagContainer(),S.item({active:(null==e?void 0:e.name)===(null==l||null==(t=l.gamesPage)?void 0:t.provider)})),relativeContainer:!0,children:(0,n.jsxs)(h.gH,{href:"/games/".concat(null==l||null==(r=l.gamesPage)?void 0:r.category,"/").concat(e.name),className:S.item({active:(null==e?void 0:e.name)===(null==l||null==(a=l.gamesPage)?void 0:a.provider)}),children:[(0,n.jsx)("div",{className:S.bgWhite({active:(null==e?void 0:e.name)===(null==l||null==(s=l.gamesPage)?void 0:s.provider)})}),(0,n.jsx)(h.hw,{src:null==e?void 0:e.logoImage,alt:"",className:S.image()})]})})]},i.toString())})}),(0,n.jsx)(E,{children:(0,n.jsx)(h.hw,{src:_.A.arrowRightLightJackpot,alt:""})})]})}let S={bgWhite:(0,s.AH)({"@desktop":{borderRadius:20},variants:{active:{false:{},true:{position:"absolute",background:"white",filter:"brightness(0.75)",width:"100%",height:"100%"}}}}),item:(0,s.AH)({display:"flex",height:"100%",position:"relative",alignItems:"center",justifyContent:"center",flexDirection:"column",background:"$inkDefault",variants:{active:{true:{},false:{}}},"&:hover":{opacity:1},"@desktop":{minWidth:"128px",height:"64px",borderRadius:20},"@mobile":{minWidth:"96px",height:"44px",borderRadius:0}}),image:(0,s.AH)({objectFit:"contain",zIndex:0,"@desktop":{maxWidth:88,maxHeight:38},"@mobile":{maxWidth:72,maxHeight:28}}),providerTagContainer:(0,s.AH)({overflow:"visible","@desktop":{borderRadius:20},"@mobile":{"& img":{right:-6,top:1}}})},B=(0,s.I4)("div",{display:"flex",alignItems:"center",justifyContent:"center",position:"relative",gap:4}),E=(0,s.I4)("div",{position:"absolute",right:-16,"@maxsm":{right:-8},"@desktop":{display:"none"},variants:{overflow:{true:{visibility:"visible"},false:{visibility:"hidden"}}}}),L=(0,s.I4)("div",{position:"absolute",left:-16,"@maxsm":{left:-8},"@desktop":{display:"none"},variants:{overflow:{true:{visibility:"visible"},false:{visibility:"hidden"}}}}),R=(0,s.I4)("div",{display:"flex",overflowX:"scroll",overscrollBehavior:"none",position:"relative","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none","@mobile":{borderRadius:20,width:"95%"}}),H=(0,s.I4)("div",{"@desktop":{ml:16},"@mobile":{borderLeft:"1px solid",borderLeftColor:"$inkLightest"}});var M=i(93835),W=i(89198),T=i(27542);function z(e){var l,i,a;let{theme:s}=(0,f.DP)(),{searchQuery:d,setSearchQuery:m,tagSelectedIdx:v,setTagSelectedIdx:g}=(0,r.v)(),{website:x}
1=(0,t.NQ)(),h=null==x||null==(l=x.gamesPage)?void 0:l.category,j=null==x||null==(i=x.gamesPage)?void 0:i.provider,{data:b,isLoading:y,refetch:w,error:I,isFetching:k}=(0,c.Z9)({params:{category:h,provider:j}},{enabled:!!h}),C=(0,u.useMemo)(()=>{var e;return(null==b||null==(e=b.data)?void 0:e.map(e=>({label:e.name})))||[]},[null==b?void 0:b.data]),P=(null==x||null==(a=x.websitePersonalize)?void 0:a.type)==="type3";return(0,n.jsxs)(Q,{children:[(0,n.jsx)(O,{children:(0,n.jsx)(W.A,{data:C,activeIdx:v,onChangeTab:e=>null==g?void 0:g(e)})}),(0,n.jsx)(o.wv,{mt:20,media:"onlyMobile"}),(0,n.jsx)(M.k,{placeholder:"Search here...",value:d,onChange:e=>null==m?void 0:m(e.currentTarget.value),startEnhancer:(0,n.jsx)(p.VS,{color:(0,T.bn)(s.colors.primaryDark)?s.colors.primaryDefault:P?"#FFF":s.colors.primaryDark}),containerClassName:Y.containerTextInput()})]})}let Y={containerTextInput:(0,s.AH)({"@mobile":{width:"100%"}})},Q=(0,s.I4)("div",{display:"flex",alignItems:"center",mt:24,"@mobile":{mt:20,flexDirection:"column",alignItems:"flex-start"}}),O=(0,s.I4)("div",{flex:1,width:"100%"});function $(){var e,l;let{website:i}=(0,t.NQ)();return(0,n.jsxs)(X,{isOneProviderOnly:(null==i||null==(e=i.activeProviders)?void 0:e.length)===1,children:[((null==i||null==(l=i.activeProviders)?void 0:l.length)||0)>1&&(0,n.jsx)(N,{}),(0,n.jsx)(z,{}),(0,n.jsx)(I,{})]})}let X=(0,s.I4)("div",{variants:{isOneProviderOnly:{true:{mt:20},false:{mt:32}}},"@mobile":{mt:20}});var q=i(92136),J=i(63050),V=i(91297);function Z(e){var l,i;let{theme:r}=(0,f.DP)(),{active:a,name:s}=e,{website:d}=(0,t.NQ)(),u=(null==d||null==(l=d.websitePersonalize)?void 0:l.type)==="type3",c=(null==d||null==(i=d.websitePersonalize)?void 0:i.type)==="type2";return(0,n.jsx)(K,{active:a,children:(0,n.jsx)(U,{active:a,children:(0,n.jsxs)(h.gH,{href:"/games/".concat(s),className:G.container(),children:[c||u?(0,n.jsx)(V.A,{name:s,width:24,height:24}):(0,n.jsx)(o.M5,{name:s}),(0,n.jsx)(o.wv,{mr:8}),(0,n.jsx)(h.EY,{variant:"body3Medium",color:r.colors.jackpot,capitalize:!0,elipsis:!0,children:s.replaceAll("_"," ")})]})})})}let G={image:(0,s.AH)({width:24,height:24}),container:(0,s.AH)({display:"flex",alignItems:"center"}),svg:(0,s.AH)({width:"24px",height:"24px"})},K=(0,s.I4)("div",{minWidth:"124px",height:"40px",borderRadius:20,padding:1,variants:{active:{true:{background:"$jackpot"}}}}),U=(0,s.I4)("div",{height:"100%",cursor:"pointer",padding:"8px 12px",borderRadius:20,variants:{active:{true:{background:"$primaryDefault"}}}});function ee(e){var l;let{website:i}=(0,t.NQ)(),r=(0,D.r)();return(0,n.jsx)(ei,{children:(0,n.jsx)(o.wn,{children:(0,n.jsx)(el,{ref:r,children:null==i||null==(l=i.menuData)?void 0:l.map((e,l)=>{var t;return(0,n.jsxs)(u.Fragment,{children:[0!==l&&(0,n.jsx)(o.wv,{ml:12,media:"onlyMobile"}),(0,n.jsx)(Z,{...e,active:(null==i||null==(t=i.gamesPage)?void 0:t.category)===e.name})]},l.toString())})})})})}let el=(0,s.I4)("div",{display:"flex",flex:1,alignItems:"center",overflowX:"scroll",overscrollBehavior:"none","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"}),ei=(0,s.I4)("div",{mt:12});function en(e){let{provider:l,category:i}=e,{website:r}=(0,t.NQ)(),a=(0,u.useMemo)(()=>{var e;return null==r||null==(e=r.menuData)?void 0:e.reduce((e,n)=>{if(n.name===i){var t;return null==(t=n.providers.filter(e=>e.name===l)[0])?void 0:t.bannerImage}return e},"")},[i,l,null==r?void 0:r.menuData]);if(2>((null==r?void 0:r.activeProviders.length)||0)){var s;let e=null==r||null==(s=r.menuData)?void 0:s.find(e=>e.name===i);return(0,n.jsx)(o.wn,{children:(0,n.jsxs)(et,{children:[(0,n.jsx)(o.M5,{name:null==e?void 0:e.name,desktopSize:48,mobileSize:32}),(0,n.jsx)(o.wv,{mr:16}),(0,n.jsx)(h.EY,{capitalize:!0,variant:{"@desktop":"title2Semibold","@mobile":"title3Semibold"},children:null==e?void 0:e.name.replaceAll("_"," ")})]})})}return(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)(q.b,{ratio:1366/151,children:(0,n.jsx)(h.hw,{src:a,alt:""})}),(0,n.jsx)(J.k,{children:(0,n.jsx)(ee,{})})]})}let et=(0,s.I4)("div",{display:"flex",alignItems:"center",mt:32});function er(e){var l,i,r;let{setWebsite:a,website:s}=(0,t.NQ)(),c=(0,d.useRouter)(),m=null==c||null==(l=c.query)?void 0:l.games,v=null==m?void 0:m[0],g=null==m?void 0:m[1],x=(0,u.useMemo)(()=>{var e,l;return null==s||null==(l=s.websitePersonalize)||null==(e=l.frameBackgroun
1dColors)?void 0:e.primary},[null==s||null==(r=s.websitePersonalize)||null==(i=r.frameBackgroundColors)?void 0:i.primary]);return(0,u.useEffect)(()=>{s&&a&&a({...s,gamesPage:{category:v,provider:g}})},[v,g]),(0,n.jsxs)(ea,{css:{"@mobile":{background:x||""}},children:[(0,n.jsx)(en,{provider:g,category:v}),(0,n.jsx)(o.wn,{children:(0,n.jsx)($,{})})]})}let ea=(0,s.I4)("div",{pb:32});var eo=!0;function es(e){let{category:l,provider:i,...o}=e;return(0,n.jsx)(t.Ay,{value:{...o,gamesPage:{category:l,provider:i}},children:(0,n.jsx)(a.m,{children:(0,n.jsx)(r.L,{children:(0,n.jsx)(er,{})})})})}},47142:(e,l,i)=>{"use strict";i.d(l,{Y:()=>t});var n=i(14232);let t=()=>{let[e,l]=(0,n.useState)(!1),[i,t]=(0,n.useState)(!1),r=(0,n.useRef)();(0,n.useEffect)(()=>{var e,l,i;t((null==r||null==(e=r.current)?void 0:e.scrollLeft)+(null==r||null==(l=r.current)?void 0:l.clientWidth)+5<=(null==r||null==(i=r.current)?void 0:i.scrollWidth))},[r]);let a=(0,n.useCallback)(e=>{var i,n,r,a;l((null==e||null==(i=e.target)?void 0:i.scrollLeft)>5),t((null==e||null==(n=e.target)?void 0:n.scrollLeft)+(null==e||null==(r=e.target)?void 0:r.clientWidth)+5<=(null==e||null==(a=e.target)?void 0:a.scrollWidth))},[]),o=(0,n.useCallback)(e=>{r.current.scrollLeft+=2*e.deltaY},[]);return{onScrollCapture:a,overflow:{left:e,right:i},ref:r,onWheel:o}}},54343:(e,l,i)=>{"use strict";i.d(l,{A:()=>x});var n=i(37876);i(14232);var t=i(1213),r=i(24400),a=i(68191),o=i(66530),s=i(2233),d=i(96262);function u(e){let{t:l}=(0,s.A)(),{isLoading:i,refetch:a}=e,{theme:u}=(0,o.DP)();return(0,n.jsxs)(c,{children:[(0,n.jsx)(m,{children:(0,n.jsx)(r.EY,{variant:"body1Regular",children:l("common:load_failed_title")})}),(0,n.jsx)(v,{children:i?(0,n.jsx)(d.BM,{color:"white",height:18,width:18}):(0,n.jsx)(g,{onClick:()=>{a&&a()},children:(0,n.jsx)(t.gM,{color:u.colors.primaryDefault})})})]})}let c=(0,a.I4)("div",{display:"flex",flexDirection:"row",maxWidth:"100%",alignSelf:"flex-start",alignItems:"center",background:"$inkLight",padding:"12px 12px",borderRadius:12,my:16}),m=(0,a.I4)("div",{margin:"0px 8px",textAlign:"center"}),v=(0,a.I4)("div",{marginLeft:12,display:"flex",alignItems:"center"}),g=(0,a.I4)("div",{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center"});function x(e){let{isLoading:l=!1,error:i,onRetry:t,loadingComponent:r,component:a,errorComponent:o}=e;return l?(0,n.jsx)(n.Fragment,{children:r})||null:i?o?(0,n.jsx)(n.Fragment,{children:o}):(0,n.jsx)(u,{refetch:t}):(0,n.jsx)(n.Fragment,{children:a})}},69402:(e,l,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/games/[...games]",function(){return i(33593)}])}},e=>{e.O(0,[9089,1418,1238,5751,3273,636,6593,8792],()=>e(e.s=69402)),_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.