PageSourceSearch

https://andypsx.com/_next/static/chunks/app/(site)/games/page-b654ebf7577d5700.js

js andypsx.com collected 2026-10-02 01:23:40 UTC 16,215 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3657],{14474:(e,t,a)=>{"use strict";a.d(t,{w:()=>l});var s=a(64665);function l(){let[e,t]=(0,s.useState)({user:null,status:"loading"});return(0,s.useEffect)(()=>{let e=!0;return fetch("/api/auth/get-session",{credentials:"include",cache:"no-store"}).then(e=>e.ok?e.json():null).then(a=>{var s;if(!e)return;let l=null!=(s=null==a?void 0:a.user)?s:null;t({user:l,status:l?"authenticated":"unauthenticated"})}).catch(()=>{e&&t({user:null,status:"unauthenticated"})}),()=>{e=!1}},[]),e}},18463:(e,t,a)=>{"use strict";a.d(t,{SlotsBrowser:()=>S});var s=a(6733),l=a(64665),n=a(72177),i=a(7995),r=a(70006),o=a(83316),c=a(39316),d=a(51633),u=a(91686);let m=(0,l.createContext)({nolimitGames:u.RK,bgamingGames:[],wickedgamesGames:[],bgamingEnabled:!1,wickedgamesEnabled:!1,loadingNolimit:!0,loadingBgaming:!1,loadingWickedgames:!1}),h=()=>(0,l.useContext)(m);function x(e){let{children:t}=e,[a,n]=(0,l.useState)(u.RK),[i,r]=(0,l.useState)([]),[o,c]=(0,l.useState)([]),[h,x]=(0,l.useState)(!1),[g,p]=(0,l.useState)(!1),[b,f]=(0,l.useState)(!0),[w,v]=(0,l.useState)(!1),[j,N]=(0,l.useState)(!1),y=(0,l.useRef)(!1);return(0,l.useEffect)(()=>{y.current||(y.current=!0,fetch("/api/nolimit/games").then(e=>e.json()).then(e=>{let t=Array.isArray(e.games)?e.games:[];t.length>0&&n(t.map(d.Bl))}).catch(()=>{}).finally(()=>f(!1)),fetch("/api/bgaming/games").then(e=>e.json()).then(e=>{let t=Array.isArray(e.games)?e.games:[];r(t.map(d.Gh)),x(t.length>0)}).catch(()=>{}).finally(()=>v(!1)),N(!0),fetch("/api/wickedgames/games",{cache:"no-store"}).then(e=>e.json()).then(e=>{let t=Array.isArray(e.games)?e.games:[];c(t.map(e=>(0,d.vu)(e))),p(t.length>0)}).catch(()=>{}).finally(()=>N(!1)))},[]),(0,s.jsx)(m.Provider,{value:{nolimitGames:a,bgamingGames:i,wickedgamesGames:o,bgamingEnabled:h,wickedgamesEnabled:g,loadingNolimit:b,loadingBgaming:w,loadingWickedgames:j},children:t})}let g={nolimit:["BruteForce","BruteForceAlienOnslaught","GoldenShower"],bgaming:["AztecClusters","AztecMagicBonanza","SharkAndSparkHoldAndWin"],wickedgames:["cupidscrush","transformers"]},p={nolimit:3,bgaming:3,wickedgames:2};function b(e,t,a){let s=new Map(e.map(e=>[function(e){let t=e.indexOf(":");return -1===t?e:e.slice(t+1)}(e.id),e])),l=[];for(let e of t){let t=s.get(e);if(t&&l.push(t),l.length>=a)break}return l}var f=a(56321),w=a(14474);let v=[{id:f.D.Slots,label:"Todas"},{id:f.D.New,label:"Nuevos"}],j=()=>(0,s.jsx)("div",{className:"aspect-[3/4] w-full animate-pulse rounded-lg border border-white/5 bg-white/5"});function N(e){let{game:t}=e;return(0,s.jsx)("div",{className:"w-full transition-transform duration-200 hover:-translate-y-1",style:{"--accent":(0,d.oJ)(t)},children:(0,s.jsx)(o.Z,{title:t.title,variant:"live",image:t.image,href:t.href,provider:t.provider,color:t.color,id:t.imageId||t.id,isSlot:!0,noTitleOverlay:t.noTitleOverlay})})}function y(){let{nolimitGames:e,bgamingGames:t,wickedgamesGames:a,bgamingEnabled:o,wickedgamesEnabled:u,loadingNolimit:m,loadingBgaming:x,loadingWickedgames:y}=h(),{user:S,status:C}=(0,w.w)(),[A,_]=(0,l.useState)(f.D.Slots),[z,E]=(0,l.useState)(""),[M,L]=(0,l.useState)(1),D=function(e,t){let[a,s]=(0,l.useState)(e);return(0,l.useEffect)(()=>{let t=setTimeout(()=>s(e),300);return()=>clearTimeout(t)},[e,300]),a}(z,300),W=(0,l.useMemo)(()=>[...e,...t,...a],[e,t,a]),G=(0,l.useMemo)(()=>(function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:p,n=b(e,s.nolimit,l.nolimit);return[...n,...b(t,s.bgaming,l.bgaming),...b(a,s.wickedgames,l.wickedgames)]})(e,t,u?a:[]),[e,t,a,u]),B=(0,l.useMemo)(()=>{let s=[{id:"".concat(f.D.Provider,"-nolimit"),label:"NoLimit",count:e.length,accent:"#f97316"}];return o&&s.push({id:"".concat(f.D.Provider,"-bgaming"),label:"BGaming",count:t.length,accent:"#06b6d4"}),u&&s.push({id:"".concat(f.D.Provider,"-wickedgames"),label:"WickedGames",count:a.length,accent:"#e11d48"}),s},[o,u,e.length,t.length,a.length]),T=(0,l.useMemo)(()=>{let s=(0,d.Oj)(W,A,e,t,a);if(D){let e=D.toLowerCase();s=s.filter(t=>t.title.toLowerCase().includes(e))}return s},[W,A,D,e,t,a]),O=Math.max(1,Math.ceil(T.length/30)),P=Math.min(M,O),F=(0,l.useMemo)(()=>T.slice((P-1)*30,30*P),[T,P]),R=m||A.endsWith("bgaming")&&x||A.endsWith("wickedgames")&&y,K=e=>{_(e),L(1)};return(0,s.jsx)("div",{className:"w-full text-white",children:(0,s.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between pt-8 pb-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("span",{className:"h-8 w-1 rounded-full bg-accent"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-2xl font-black tracking-tight text-white sm:text-3xl",children:"Slots"}),(0,s.jsx)("p",{className:"mt-0.5 text-xs text-white/40",children:"Explora el catalogo de slots de nuestros proveedores"})]})]}),(0,s.jsxs)("div",{className:"text-right",children:[(0,s.jsx)("p",{className:"tabular-nums text-xl font-black text-white",children:W.length}),(0,s.jsx)("p",{className:"text-[10px] uppercase tracking-wider text-white/30",children:"Juegos"})]})]}),(0,s.jsxs)("div",{className:"relative z-30 flex flex-wrap items-center gap-3 border-b border-white/5 bg-[#181A27]/85 py-3 backdrop-blur-xl sm:flex-nowrap md:sticky md:top-0",children:[(0,s.jsxs)("div",{className:"flex w-full min-w-0 items-center gap-2 overflow-x-auto sm:w-auto 
1sm:flex-shrink-0",style:{scrollbarWidth:"none"},children:[v.map(e=>(0,s.jsx)(k,{active:A===e.id,onClick:()=>K(e.id),label:e.label},e.id)),(0,s.jsx)("span",{className:"mx-1 h-5 w-px flex-shrink-0 bg-white/10"}),B.map(e=>(0,s.jsx)(k,{active:A===e.id,onClick:()=>K(e.id),label:e.label,accent:e.accent,count:e.count},e.id))]}),(0,s.jsxs)("div",{className:"relative min-w-[180px] flex-1",children:[(0,s.jsx)(n.A,{className:"absolute left-3 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-white/30"}),(0,s.jsx)("input",{type:"text",placeholder:"Buscar juego...",value:z,onChange:e=>{E(e.target.value),L(1)},className:"w-full rounded-xl border border-white/10 bg-white/5 py-2 pl-9 pr-9 text-xs text-white placeholder-white/30 outline-none transition-colors focus:border-accent/40"}),z&&(0,s.jsx)("button",{type:"button",onClick:()=>E(""),className:"absolute right-3 top-1/2 -translate-y-1/2 text-white/30 transition-colors hover:text-white/60","aria-label":"Limpiar busqueda",children:(0,s.jsx)(i.A,{className:"h-3.5 w-3.5"})})]})]}),D&&(0,s.jsxs)("p",{className:"pt-5 pb-1 text-sm text-white/50",children:[(0,s.jsx)("span",{className:"font-bold text-white",children:T.length})," resultados para"," ",(0,s.jsxs)("span",{className:"font-bold text-accent",children:["“",D,"”"]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-8 pb-16 pt-6",children:[A===f.D.Slots&&!D&&(0,s.jsx)("div",{className:"w-full origin-top-left sm:-mb-14 sm:w-[125%] sm:scale-[0.8]",children:(0,s.jsx)(c.LiveWinsGate,{compact:!1,wide:!0})}),A===f.D.Slots&&!D&&G.length>0&&(0,s.jsxs)("section",{"aria-labelledby":"recomendados-h",className:"rounded-2xl border border-accent/15 bg-gradient-to-br from-accent/[0.08] via-accent/[0.02] to-transparent p-4 sm:p-5",children:[(0,s.jsxs)("header",{className:"flex items-center gap-3 pb-4",children:[(0,s.jsx)(r.A,{className:"h-5 w-5 text-accent"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{id:"recomendados-h",className:"text-xl font-black tracking-tight text-white",children:"Los m\xe1s jugados"}),(0,s.jsx)("p",{className:"mt-0.5 text-xs text-white/40",children:"Los slots favoritos de la comunidad"})]})]}),(0,s.jsx)("div",{className:"grid grid-cols-8 gap-1.5 sm:gap-2 lg:gap-3",children:G.map(e=>(0,s.jsx)(N,{game:e},"rec-".concat(e.id)))})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6",children:R?Array.from({length:12}).map((e,t)=>(0,s.jsx)(j,{},t)):F.map(e=>(0,s.jsx)(N,{game:e},e.id))}),!R&&T.length>30&&(0,s.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,s.jsx)("button",{type:"button",onClick:()=>L(e=>Math.max(1,e-1)),disabled:1===P,className:"rounded-full border border-white/10 bg-white/5 px-4 py-2 text-xs font-bold text-white transition-colors hover:bg-white/10 disabled:cursor-not-allowed disabled:opacity-30",children:"Anterior"}),(0,s.jsxs)("span",{className:"tabular-nums text-xs font-bold text-white/50",children:[P," / ",O]}),(0,s.jsx)("button",{type:"button",onClick:()=>L(e=>Math.min(O,e+1)),disabled:P===O,className:"rounded-full border border-white/10 bg-white/5 px-4 py-2 text-xs font-bold text-white transition-colors hover:bg-white/10 disabled:cursor-not-allowed disabled:opacity-30",children:"Siguiente"})]}),!R&&0===T.length&&(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center gap-3 py-24",children:[(0,s.jsx)("div",{className:"grid h-16 w-16 place-items-center rounded-2xl border border-white/5 bg-white/[0.04]",children:(0,s.jsx)(r.A,{className:"h-7 w-7 text-white/20"})}),(0,s.jsx)("p",{className:"text-sm text-white/30",children:"No se encontraron juegos"}),(0,s.jsx)("button",{type:"button",onClick:()=>{K(f.D.Slots),E("")},className:"mt-1 text-sm font-semibold text-accent transition-colors hover:text-white",children:"Limpiar filtros"})]})]})]})})}function k(e){let{active:t,onClick:a,label:l,accent:n,count:i}=e;return(0,s.jsxs)("button",{type:"button",onClick:a,className:"flex-shrink-0 rounded-full border px-4 py-1.5 text-xs font-black uppercase tracking-wider transition-all",style:t?{background:n?"".concat(n,"25"):"var(--color-accent, rgba(75,186,253,0.25))",color:null!=n?n:void 0,borderColor:n?"".concat(n,"50"):"rgba(75,186,253,0.5)"}:{background:"rgba(255,255,255,0.05)",color:"rgba(255,255,255,0.45)",borderColor:"rgba(255,255,255,0.08)"}
1,children:[l,"number"==typeof i&&(0,s.jsx)("span",{className:"ml-1.5 font-mono text-[0.65rem] font-normal normal-case tabular-nums opacity-55",children:i})]})}function S(){return(0,s.jsx)(x,{children:(0,s.jsx)(y,{})})}},39316:(e,t,a)=>{"use strict";a.d(t,{LiveWinsGate:()=>i});var s=a(6733),l=a(64665),n=a(96743);function i(e){let{compact:t=!0,wide:a=!1}=e,[i,r]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{fetch("/api/feature-flags").then(e=>e.json()).then(e=>{var t;r((null==(t=e.flags)?void 0:t.live_wins)===!0)}).catch(()=>{})},[]),i)?(0,s.jsx)("div",{className:"relative z-20 "+(a?"w-full":"mx-auto w-full max-w-7xl px-4 sm:px-6 lg:px-0")+" "+(t?"-mt-4":""),children:(0,s.jsx)(n.LiveFeedClient,{endpoint:"/api/live-wins",showHeader:!t,showDemoToggle:!1,compact:t})}):null}},81344:(e,t,a)=>{Promise.resolve().then(a.bind(a,18463))},83316:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var s=a(6733),l=a(85710),n=a.n(l),i=a(59946),r=a(21568);function o(e){var t;let{title:a,variant:l,image:o,href:c="#",provider:d="Evolution",color:u="#1a1a1a",id:m,isSlot:h,noTitleOverlay:x}=e;if("comingSoon"===l)return(0,s.jsx)("div",{className:"relative cursor-not-allowed",children:(0,s.jsxs)("div",{className:"relative h-24 overflow-hidden rounded-xl border border-white/[0.08] bg-white/[0.02] shadow-2xl backdrop-blur-xl transition-all duration-300 sm:h-24 md:h-24 lg:h-28",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-white/[0.08] via-trans
1parent to-white/[0.03]"}),(0,s.jsx)("div",{className:"absolute inset-[1px] rounded-xl bg-gradient-to-br from-white/[0.03] via-transparent to-transparent"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/[0.25] to-transparent bg-[length:200%_100%] opacity-20 animate-[shine_3s_ease-in-out_infinite]"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_50%_50%,rgba(255,255,255,0.1)_1px,transparent_1px)] bg-[length:4px_4px] opacity-20"}),(0,s.jsx)("div",{className:"relative z-10 flex h-full items-center justify-center px-4",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-sm font-semibold tracking-wide text-white/90 drop-shadow-sm sm:text-base md:text-lg",children:a}),(0,s.jsx)("div",{className:"mt-1 text-xs font-medium text-white/60",children:"Proximamente"})]})}),(0,s.jsx)("div",{className:"absolute top-2 left-2 h-1 w-8 rounded-full bg-white/20 blur-sm"}),(0,s.jsx)("div",{className:"absolute top-3 right-3 h-2 w-2 rounded-full bg-white/30 blur-[1px]"})]})});let g=m||a.replace(/\s/g,""),p=(null!=d?d:"").toLowerCase(),b=("nolimit"===p||p.startsWith("nolimit"))&&m?r.x[m]:void 0,f="bgaming"===p||"wickedgames"===p||!!b||/^https?:\/\//.test(o)||o.startsWith("data:"),w="bgaming"===p&&m?(0,i.u)("/games/bgaming/".concat(m,".webp")):null,v="wickedgames"===p&&m?(0,i.u)("/games/wickedgames/".concat(m,".webp")):null,j=null!=(t=null!=w?w:v)?t:b||null,N=x||!!b;return(0,s.jsx)(n(),{href:c,className:"group/card relative block h-full w-full cursor-pointer",children:(0,s.jsxs)("div",{className:"relative aspect-[3/4] w-full overflow-hidden rounded-[20px] shadow-2xl ring-1 ring-white/10 transition-all duration-300 hover:shadow-2xl",children:[(0,s.jsx)("div",{className:"absolute inset-0 z-0",style:{background:"linear-gradient(to bottom, ".concat(u,", #000000)")}}),(0,s.jsx)("div",{className:"absolute inset-0 z-10",children:h&&g&&!f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("picture",{className:"contents",children:[(0,s.jsx)("source",{srcSet:(0,i.u)("/games/".concat(g,"/bg.webp")),type:"image/webp"}),(0,s.jsx)("img",{src:(0,i.u)("/games/".concat(g,"/bg.png")),alt:a,className:"h-full w-full object-cover brightness-90 transition-transform duration-700 group-hover/card:scale-110 group-hover/card:brightness-100",loading:"lazy",decoding:"async"})]}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/20 to-transparent to-60% opacity-90 transition-opacity duration-300 group-hover/card:opacity-70"}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center p-6 transition-transform duration-500 group-hover/card:scale-110",children:(0,s.jsxs)("picture",{className:"contents",children:[(0,s.jsx)("source",{srcSet:(0,i.u)("/games/".concat(g,"/icon.webp")),type:"image/webp"}),(0,s.jsx)("img",{src:(0,i.u)("/games/".concat(g,"/icon.png")),alt:"",className:"h-full w-full object-contain drop-shadow-2xl",loading:"lazy",decoding:"async",onError:e=>{e.currentTarget.style.display="none"}})]})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{src:null!=j?j:o,alt:a,className:"h-full w-full object-cover transition-transform duration-700 group-hover/card:scale-110 group-hover/card:brightness-100 ".concat(N?"brightness-95":"brightness-90"),loading:"lazy",decoding:"async",onError:e=>{let t=e.currentTarget;j&&"1"!==t.dataset.fallback?(t.dataset.fallback="1",t.src=o):t.style.display="none"}}),(0,s.jsx)("div",{className:N?"absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-transparent opacity-60 transition-opacity duration-300 group-hover/card:opacity-40":"absolute inset-0 bg-gradient-to-t from-black/85 via-black/20 to-transparent to-60% opacity-90 transition-opacity duration-300 group-hover/card:opacity-70"})]})}),(0,s.jsxs)("div",{className:"relative z-20 flex h-full flex-col justify-between p-3 sm:p-4",children:[(0,s.jsx)("div",{className:"flex w-full justify-end"}),(0,s.jsxs)("div",{className:"flex w-full flex-col items-center justify-end space-y-0.5 pb-2 sm:space-y-1",children:[!N&&(0,s.jsx)("h3",{className:"text-center text-lg font-black uppercase leading-none tracking-wider text-white drop-shadow-lg sm:text-2xl",children:a}),!N&&(0,s.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-widest text-white/60 sm:text-xs",children:d})]})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 z-30 -translate-x-full -skew-x-12 bg-gradient-to-tr from-transparent via-white/10 to-transparent transition-transform duration-1000 group-hover/card:translate-x-full"})]})})}},91686:(e,t,a)=>{"use strict";a.d(t,{RK:()=>l});var s=a(76643);a(56321);let l=s.VY;[...l].sort((e,t)=>
1{var a,s;return(null!=(a=t.popularity)?a:0)-(null!=(s=e.popularity)?s:0)}).slice(0,12)}},e=>{var t=t=>e(e.s=t);e.O(0,[5710,5195,4707,9431,3219,6743,6974,2542,7358],()=>t(81344)),_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.