1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3525],{597:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(65776).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},1671:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>ef});var s=a(6733),r=a(64665),n=a(25195),l=a(46621),i=a(87617),o=a(65776);let c=(0,o.A)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var d=a(95933),m=a(22051),u=a(81471),x=a(35887),h=a(96321),p=a(61361),b=a(597),f=a(89339),g=a(74466),w=a(71987),j=a(85710),v=a.n(j);function y(e){return e.toLocaleString("es-ES",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit",timeZone:"Europe/Madrid"})}let N={days:0,hours:0,minutes:0,seconds:0};function k(e){let{targetDate:t,seasonStatus:a="open",graceEndsAt:n,seasonStartsAt:l,expiredLabel:i,showTargetDate:o=!0}=e,[c,d]=(0,r.useState)(N),m="grace"===a?n:t;if((0,r.useEffect)(()=>{if(!m||"finalized"===a)return void d(N);let e=()=>{let e=m.getTime()-Date.now();if(e<0)return void d(N);d({days:Math.floor(e/864e5),hours:Math.floor(e/36e5)%24,minutes:Math.floor(e/6e4)%60,seconds:Math.floor(e/1e3)%60})};e();let t=setInterval(e,1e3);return()=>clearInterval(t)},[m,a]),i&&m&&m.getTime()<=Date.now())return(0,s.jsx)("p",{role:"status",className:"rounded-xl border border-white/10 bg-white/5 p-4 text-center text-sm text-white/60",children:i});if("finalized"===a){let e=l&&t?"".concat(y(l)," â ").concat(y(t)):null;return(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 rounded-xl border border-white/10 bg-white/5 p-3 sm:p-4",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-white/60",children:"Temporada finalizada"}),e&&(0,s.jsx)("span",{className:"text-[0.65rem] font-medium text-white/40 sm:text-xs",children:e})]})}let u=[{label:"D\xcdAS",value:c.days},{label:"HRS",value:c.hours},{label:"MIN",value:c.minutes},{label:"SEG",value:c.seconds}];return(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:["grace"===a&&(0,s.jsx)("span",{className:"text-xs font-medium text-amber-400/80",children:"Ganadores anunciados en"}),(0,s.jsx)("div",{className:"flex items-center justify-center gap-1 rounded-xl border border-white/10 bg-white/5 p-3 sm:gap-3 sm:p-4",children:u.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center gap-1 sm:gap-3",children:[(0,s.jsxs)("div",{className:"flex min-w-[2.5rem] flex-col items-center sm:min-w-[3rem]",children:[(0,s.jsx)("span",{className:"font-mono text-xl font-black tabular-nums text-white sm:text-2xl",children:e.value.toString().padStart(2,"0")}),(0,s.jsx)("span",{className:"mt-0.5 text-[0.55rem] font-medium text-white/60 sm:mt-1 sm:text-xs",children:e.label})]}),t<u.length-1&&(0,s.jsx)("span",{className:"px-1 text-sm font-light text-white/40 sm:text-xl",children:":"})]},e.label))}),o&&m&&(0,s.jsxs)("span",{className:"text-[0.65rem] font-medium text-white/40 sm:text-xs",children:[m.toLocaleDateString("es-ES",{weekday:"long",day:"numeric",month:"long",year:"numeric",timeZone:"UTC"})," â ",m.toLocaleTimeString("es-ES",{hour:"2-digit",minute:"2-digit",timeZone:"UTC"})," UTC"]})]})}function S(e){let{meta:t,source:a="empiredrop"}=e;if(!t||t.leaderboardSource!==a||"no_active_race"===t.emptyReason)return null;let r=t.seasonEndsAt?new Date(t.seasonEndsAt):null,n=t.seasonStartsAt?new Date(t.seasonStartsAt):null;if(!r||!Number.isFinite(r.getTime()))return null;let l=e=>e.toLocaleString("es-ES",{dateStyle:"medium",timeStyle:"short",timeZone:"UTC"});return(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2",children:["finalized"!==t.seasonStatus&&(0,s.jsx)(k,{targetDate:r,seasonStartsAt:n,showTargetDate:!1,expiredLabel:"La carrera ha finalizado. Esperando la siguiente actualizacion."}),(0,s.jsxs)("p",{className:"text-center text-[0.65rem] text-white/45 sm:text-xs",children:[n&&Number.isFinite(n.getTime())&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("time",{dateTime:t.
1seasonStartsAt,children:l(n)})," â "]}),(0,s.jsx)("time",{dateTime:t.seasonEndsAt,children:l(r)})," UTC"]})]})}let C=(0,o.A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);var F=a(72087),A=a(63416);function P(e){let{className:t="",quantity:a=100,staticity:n=50,ease:l=50,size:i=.4,refresh:o=!1,color:c="#ffffff",vx:d=0,vy:m=0,...u}=e,x=(0,r.useRef)(null),h=(0,r.useRef)(null),p=(0,r.useRef)(null),b=(0,r.useRef)([]),f=function(){let[e,t]=(0,r.useState)({x:0,y:0});return(0,r.useEffect)(()=>{function e(e){t({x:e.clientX,y:e.clientY})}return window.addEventListener("mousemove",e),()=>window.removeEventListener("mousemove",e)},[]),e}(),g=(0,r.useRef)({x:0,y:0}),w=(0,r.useRef)({w:0,h:0}),j=(0,r.useRef)(null),v=(0,r.useRef)(null),y=window.devicePixelRatio,N=function(e){let t=e.replace("#","");3===t.length&&(t=t.split("").map(e=>e+e).join(""));let a=parseInt(t,16);return[a>>16&255,a>>8&255,255&a]}(c),k=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!p.current)return;let{x:a,y:s,translateX:r,translateY:n,size:l,alpha:i}=e;p.current.translate(r,n),p.current.beginPath(),p.current.arc(a,s,l,0,2*Math.PI),p.current.fillStyle="rgba(".concat(N.join(", "),", ").concat(i,")"),p.current.fill(),p.current.setTransform(y,0,0,y,0,0),t||b.current.push(e)},S=()=>({x:Math.floor(Math.random()*w.current.w),y:Math.floor(Math.random()*w.current.h),translateX:0,translateY:0,size:Math.floor(2*Math.random())+i,alpha:0,targetAlpha:parseFloat((.6*Math.random()+.1).toFixed(1)),dx:(Math.random()-.5)*.1,dy:(Math.random()-.5)*.1,magnetism:.1+4*Math.random()}),C=()=>{if(h.current&&x.current&&p.current){w.current.w=h.current.offsetWidth,w.current.h=h.current.offsetHeight,x.current.width=w.current.w*y,x.current.height=w.current.h*y,x.current.style.width="".concat(w.current.w,"px"),x.current.style.height="".concat(w.current.h,"px"),p.current.scale(y,y),b.current=[];for(let e=0;e<a;e+=1)k(S())}},A=()=>{if(!x.current)return;let e=x.current.getBoundingClientRect(),{w:t,h:a}=w.current,s=f.x-e.left-t/2,r=f.y-e.top-a/2;s<t/2&&s>-t/2&&r<a/2&&r>-a/2&&(g.current.x=s,g.current.y=r)},P=()=>{p.current&&p.current.clearRect(0,0,w.current.w,w.current.h)},E=(e,t,a,s,r)=>(e-t)*(r-s)/(a-t)+s,L=()=>{P(),b.current.forEach((e,t)=>{let a=parseFloat(E([e.x+e.translateX-e.size,w.current.w-e.x-e.translateX-e.size,e.y+e.translateY-e.size,w.current.h-e.y-e.translateY-e.size].reduce((e,t)=>Math.min(e,t)),0,20,0,1).toFixed(2));a>1?(e.alpha+=.02,e.alpha>e.targetAlpha&&(e.alpha=e.targetAlpha)):e.alpha=e.targetAlpha*a,e.x+=e.dx+d,e.y+=e.dy+m,e.translateX+=(g.current.x/(n/e.magnetism)-e.translateX)/l,e.translateY+=(g.current.y/(n/e.magnetism)-e.translateY)/l,e.x<-e.size||e.x>w.current.w+e.size||e.y<-e.size||e.y>w.current.h+e.size?(b.current.splice(t,1),k(S())):k({...e,x:e.x,y:e.y,translateX:e.translateX,translateY:e.translateY,alpha:e.alpha},!0)}),j.current=window.requestAnimationFrame(L)};return(0,r.useEffect)(()=>{function e(){v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{C()},200)}return x.current&&(p.current=x.current.getContext("2d")),C(),L(),window.addEventListener("resize",e),()=>{null!==j.current&&window.cancelAnimationFrame(j.current),v.current&&clearTimeout(v.current),window.removeEventListener("resize",e)}},[c]),(0,r.useEffect)(()=>{A()},[f.x,f.y]),(0,r.useEffect)(()=>{C()},[o]),(0,s.jsx)("div",{className:(0,F.cn)("pointer-events-none",t),ref:h,...u,children:(0,s.jsx)("canvas",{ref:x,className:"h-full w-full"})})}var E=a(63843);function L(e){let{image:t,name:a,className:n,fallback:l}=e,[i,o]=(0,r.useState)(!1);return!t||i?(0,s.jsx)(s.Fragment,{children:l}):(0,s.jsx)("img",{src:t,alt:null!=a?a:"",className:n,loading:"lazy",referrerPolicy:"no-referrer",onError:()=>o(!0)})}function D(e,t,a,s,r){if(null===e)return"â";if("money"===s&&"COIN"===r)return"".concat(e.toLocaleString("es-ES",{minimumFractionDigits:2,maximumFractionDigits:2})," Coins");if("money"===s&&r&&!a)return new Intl.NumberFormat("es-ES",{style:"currency",currency:r}).format(e);let n="points"===s?2:"tickets"===s?0:"money"===s&&r?new Intl.NumberFormat("es-ES",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits:2*("usd"===t);
1return"".concat(a).concat(e.toLocaleString("es-ES",{minimumFractionDigits:n,maximumFractionDigits:n}))}function z(e){return void 0===e.metricValue?e.points:e.metricValue}var M=a(95708);let R=[{rank:2,height:214,compactHeight:176,fill:"text-indigo-300",color:"#a5b4fc",gradient:"linear-gradient(180deg, rgba(0,0,0,0.3), rgba(165,180,252,0.44) 35%, rgba(165,180,252,0.72))"},{rank:1,height:260,compactHeight:222,fill:"text-yellow-500",color:"#eab308",gradient:"linear-gradient(180deg, rgba(0,0,0,0.28), rgba(234,179,8,0.45) 35%, rgba(234,179,8,0.95))"},{rank:3,height:214,compactHeight:176,fill:"text-blue-500",color:"#3b82f6",gradient:"linear-gradient(180deg, rgba(0,0,0,0.3), rgba(59,130,246,0.42) 35%, rgba(59,130,246,0.92))"}];function T(e){let{users:t,metric:a,metricPrefix:r="",metricUnit:n,currency:l,prizePoolHeading:i,emptyMetricLabel:o="0",showTies:c=!1,showPrizeForUnknownMetric:d=!1,prizePoolLabel:m,accentColor:u}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative flex h-80 w-full items-end justify-center overflow-hidden rounded-2xl border border-white/10 bg-secondary/90 backdrop-blur-md sm:h-96 sm:rounded-4xl lg:h-110",children:[(0,s.jsx)("div",{className:"absolute left-0 top-0 h-full w-full",children:(0,s.jsx)(P,{})}),(0,s.jsx)("div",{className:"absolute left-0 top-0 h-32 w-16 rounded-full bg-radial from-white/5 from-40% to-white/10 blur-2xl sm:h-50 sm:w-20"}),(0,s.jsx)("div",{className:"absolute right-0 top-0 h-20 w-20 rounded-full bg-radial from-white/5 from-40% to-white/10 blur-2xl sm:h-30 sm:w-30"}),(0,s.jsx)("div",{className:"absolute bottom-0 h-20 w-full translate-y-[50%] rounded-full bg-radial from-40% blur-2xl sm:h-30 sm:w-200",style:{"--tw-gradient-from":"".concat(u,"1a var(--tw-gradient-from-position)"),"--tw-gradient-to":"rgba(202,138,4,0.3) var(--tw-gradient-to-position)"}}),(0,s.jsx)("div",{className:"relative z-10 mb-8 flex w-full origin-bottom scale-75 items-end justify-center gap-2 px-2 sm:mb-12 sm:scale-100 sm:gap-4 sm:px-0",children:R.map(e=>{var i,m;let u=t.find(t=>t.rank===e.rank),x=null!=(i=null==u?void 0:u.name)?i:"---",h=c?t.filter(t=>t.rank===e.rank).length:0,p=!!u&&d&&null===z(u),b=!!u&&!p&&null===z(u),f=p?null!=(m=u.prizeLabel)?m:String(u.prize):u?D(z(u),a,r,n,l):o,g=1===e.rank;return(0,s.jsx)("div",{className:"group relative w-32 shrink-0 cursor-pointer transition-transform duration-300 hover:scale-[1.02] sm:w-40 sm:hover:scale-105 lg:w-50",children:(0,s.jsx)("div",{className:"relative w-32 rounded-b-2xl sm:w-40 sm:rounded-b-4xl lg:w-50",style:{height:"clamp(".concat(e.compactHeight,"px, 22vw, ").concat(e.height,"px)"),boxShadow:"0 10px 0px ".concat(e.color,"66")},children:(0,s.jsxs)("div",{className:"card_leaderboard flex h-full w-32 flex-col items-center justify-end rounded-b-2xl border border-white/50 px-1 pb-0 transition-all duration-300 hover:border-white/70 sm:w-40 sm:rounded-b-3xl sm:border-2 sm:px-2 lg:w-50",style:{background:e.gradient,boxShadow:"0 0 100px ".concat(e.color,"66, -5px -5px 15px #0a0a0a, 5px 5px 15px #000, inset 5px 10px 15px rgba(255,255,255,0.45), inset -5px -5px 10px #222")},children:[(0,s.jsx)(E.Ud,{number:e.rank,className:(0,F.cn)("mb-1 scale-75 sm:mb-2 sm:scale-100",e.fill)}),(0,s.jsxs)("div",{className:(0,F.cn)("flex w-full gap-1 px-1 sm:px-2",n?"flex-col items-center pb-1.5":"flex-row items-center justify-between"),children:[(0,s.jsxs)("div",{className:(0,F.cn)("flex min-w-0 flex-col justify-center",n?"w-full items-center":"items-start"),children:[(!n||h>1)&&(0,s.jsx)("div",{className:"h-[0.9rem] w-full",children:h>1&&(0,s.jsxs)("span",{className:"text-[9px] text-white/75",children:["Empate \xb7 ",h]})}),(0,s.jsx)("h3",{title:x,className:(0,F.cn)("truncate font-semibold text-white",n?"w-full text-center text-sm":"text-xs sm:text-sm"),children:x})]}),(0,s.jsxs)("div",{className:(0,F.cn)("flex shrink-0 flex-col justify-center",n?"w-full items-center":"items-end"),children:[(0,s.jsx)("p",{className:"text-center text-[0.5rem] uppercase sm:text-[0.6rem]",children:p?"Premio oficial":b?"No disponible":"points"===n?"Puntos":"tickets"===n?"Tickets":l||("usd"===a?"â¬"===r?"EUR":"USD":(0,M.Ez)(M.cs))}
1),(0,s.jsx)("h3",{"aria-label":b?"No disponible":void 0,className:(0,F.cn)("w-max whitespace-nowrap rounded-full px-1.5 text-center font-semibold tabular-nums sm:px-2",b?"bg-white/5 text-white/60":"bg-green-500/30 text-green-500",n?"text-sm lg:text-base":"text-[0.6rem] sm:text-xs lg:text-sm"),children:f})]})]}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)("div",{className:(0,F.cn)("overflow-hidden rounded-2xl ring-2 transition-all duration-300 group-hover:ring-[3px] sm:rounded-3xl",g?"h-14 w-14 sm:h-20 sm:w-20 lg:h-24 lg:w-24":"h-12 w-12 sm:h-16 sm:w-16 lg:h-20 lg:w-20"),style:{"--tw-ring-color":"".concat(e.color,"cc"),boxShadow:"0 0 ".concat(g?"22px":"14px"," ").concat(e.color,"59")},children:(0,s.jsx)(L,{image:null==u?void 0:u.image,name:x,className:"h-full w-full object-cover",fallback:(0,s.jsx)(E.Y9,{className:"h-full w-full p-1.5 opacity-80"})})})})]})})},e.rank)})})]}),(0,s.jsx)("div",{className:"mt-6 flex items-center justify-center",children:(0,s.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-xl border border-white/10 bg-white/5 px-4 py-2",children:[(0,s.jsx)(x.A,{className:"h-4 w-4",style:{color:u}}),(0,s.jsx)("span",{className:"text-[10px] font-medium uppercase tracking-wider text-white/50",children:null!=i?i:"Premio ".concat("usd"===a?"mensual":"semanal")}),(0,s.jsx)("span",{className:"text-base font-black",style:{color:u},children:m})]})})]})}function U(e){let{rows:t=8}=e;return(0,s.jsxs)("div",{className:"w-full",role:"status","aria-label":"Cargando clasificacion",children:[(0,s.jsx)("div",{className:"h-80 w-full animate-pulse rounded-2xl border border-white/10 bg-secondary/90 sm:h-96 sm:rounded-4xl lg:h-110"}),(0,s.jsxs)("div",{className:"mt-6 rounded-2xl border border-white/[0.06] bg-white/[0.02] p-4 sm:mt-10 sm:p-6",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)("div",{className:"h-8 w-8 animate-pulse rounded-xl bg-white/10 sm:h-10 sm:w-10"}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("div",{className:"h-4 w-32 animate-pulse rounded bg-white/10"}),(0,s.jsx)("div",{className:"h-2.5 w-48 animate-pulse rounded bg-white/5"})]})]}),(0,s.jsx)("div",{className:"space-y-2",children:Array.from({length:t}).map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center gap-3 rounded-xl border border-white/[0.04] bg-white/[0.02] px-3 py-4 sm:gap-4 sm:px-5",children:[(0,s.jsx)("div",{className:"h-8 w-8 shrink-0 animate-pulse rounded-full bg-white/10 sm:h-10 sm:w-10"}),(0,s.jsx)("div",{className:"h-4 flex-1 animate-pulse rounded bg-white/5"}),(0,s.jsx)("div",{className:"h-4 w-16 shrink-0 animate-pulse rounded bg-white/5 sm:w-24"}),(0,s.jsx)("div",{className:"h-4 w-12 shrink-0 animate-pulse rounded bg-white/5 sm:w-16"})]},t))})]})]})}let _=(0,o.A)("skull",[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]]);var X=a(69908),I=a(31282);function B(e){let{rank:t}=e;return 1===t?(0,s.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-gradient-to-br from-yellow-300 to-yellow-600 shadow-lg shadow-yellow-500/20 sm:h-10 sm:w-10",children:(0,s.jsx)(x.A,{className:"h-4 w-4 text-black sm:h-5 sm:w-5"})}):2===t?(0,s.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-gradient-to-br from-gray-200 to-gray-400 shadow-lg shadow-gray-400/20 sm:h-10 sm:w-10",children:(0,s.jsx)("span",{className:"text-sm font-black text-black",children:"2"})}):3===t?(0,s.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-gradient-to-br from-amber-500 to-amber-700 shadow-lg shadow-amber-600/20 sm:h-10 sm:w-10",children:(0,s.jsx)("span",{className:"text-sm font-black text-black",children:"3"})}):(0,s.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full border border-white/10 bg-white/5 sm:h-10 sm:w-10",children:(0,s.jsx)("span",{className:"text-xs font-bold text-white/50 sm:text-sm",children:t})})}function G(e){let{prize:t,prizeType:a,prizeLabel:r,prizeCurrency:n}=e;return null!=r?(0,s.jsx)("span",{className:"text-xs font-bold text-green-400 sm:text-sm",children:r}):t<=0?(0,s.jsx)("span",{className:"text-xs text-white/20",children:"â"}):n?(0,s.jsx)("span",{className:"text-xs font-bold text-green-400 sm:text-sm",children:D(t,"usd","","money",n)}):(0,M.Xy)(a)===M.cs?(0,s.jsxs)("span",{className:"text-xs font-bold text-[#0a90f
10] sm:text-sm",children:[t.toLocaleString("es-ES")," ",(0,M.Ez)(a)]}):"COINS"===a?(0,s.jsxs)("span",{className:"text-xs font-bold text-cyan-300 sm:text-sm",children:[t.toLocaleString("es-ES")," Coins"]}):(0,s.jsxs)("span",{className:"text-xs font-bold text-green-400 sm:text-sm",children:["$",t.toLocaleString("es-ES")]})}function Y(e){return"".concat((e/100).toLocaleString("es-ES",{minimumFractionDigits:2,maximumFractionDigits:2})," ").concat((0,M.Ez)(M.cs))}function O(){return(0,s.jsx)(X.m,{content:"Menos de 10 PSX en la Wallet",position:"top",children:(0,s.jsx)("span",{className:"flex h-6 w-6 items-center justify-center rounded-md border border-red-500/25 bg-red-500/10 text-red-400/90","aria-label":"Menos de 10 PSX en la Wallet",children:(0,s.jsx)(_,{className:"h-3.5 w-3.5"})})})}function q(e){var t;let{provider:a,game:r,mult:n,betMinor:l,retMinor:i}=e,o=(0,I.cq)({game:r,provider:a}),c=(0,I.gh)({game:r,provider:a}),d=(0,I.hl)({game:r,provider:a}),m=n&&!(n<1)?"\xd7"+(n>=100?Math.round(n).toLocaleString("es-ES"):n.toFixed(1)):"",u="Apost\xf3 ".concat(Y(l)," \xb7 Gan\xf3 ").concat(Y(i));return(0,s.jsx)(X.m,{content:u,position:"top",children:(0,s.jsxs)(v(),{href:d,onClick:e=>e.stopPropagation(),"aria-label":"Mayor victoria: ".concat(m||"big win"," â ").concat(u),className:"flex items-center gap-1 rounded-md border border-amber-400/30 bg-amber-400/10 py-0.5 pl-0.5 pr-1.5 transition-colors hover:border-amber-400/60 hover:bg-amber-400/20",children:[(0,s.jsxs)("span",{className:"relative flex h-6 w-6 shrink-0 items-center justify-center overflow-hidden rounded bg-white/5",children:[o?(0,s.jsx)("img",{src:o.src,"data-fallback":null!=(t=o.fallback)?t:"",alt:"",className:"absolute inset-0 size-full object-cover",onError:e=>{let t=e.target,a=t.getAttribute("data-fallback");if(a&&t.src!==a){t.removeAttribute("data-fallback"),t.src=a;return}t.style.display="none"}}):null,c?(0,s.jsx)("img",{src:c,alt:"",className:"absolute inset-0 m-auto size-4 object-contain drop-shadow",onError:e=>{e.target.style.display="none"}}):null]}),m?(0,s.jsx)("span",{className:"-rotate-3 font-black tabular-nums text-amber-300 text-[11px] sm:text-xs",children:m}):null]})})}function V(e){let{badges:t}=e;return t&&0!==t.length?(0,s.jsx)("div",{className:"flex shrink-0 items-center gap-1.5",children:t.map((e,t)=>"low_wallet"===e.kind?(0,s.jsx)(O,{},"lw-".concat(t)):"big_win"===e.kind?(0,s.jsx)(q,{provider:e.provider,game:e.game,mult:e.mult,betMinor:e.betMinor,retMinor:e.retMinor},"bw-".concat(t)):null)}):null}function H(e){let{entry:t,highlighted:a,metric:r,metricLabel:n,metricPrefix:l,metricUnit:i,currency:o,prizeCurrency:c,hideUnavailableMetric:d}=e,m=t.rank<=3;return(0,s.jsxs)("div",{className:(0,F.cn)("flex items-center gap-3 rounded-xl px-3 py-3 transition-colors sm:gap-4 sm:px-5 sm:py-4",a?"border border-[#00ff7b]/20 bg-[#00ff7b]/5":m?"border border-white/[0.08] bg-white/[0.04]":"border border-white/[0.04] bg-white/[0.02]"),children:[(0,s.jsx)(B,{rank:t.rank}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[(0,s.jsx)(L,{image:t.image,name:t.name,className:"h-7 w-7 shrink-0 rounded-lg object-cover sm:h-8 sm:w-8",fallback:(0,s.jsx)("div",{className:"shrink-0 rounded-lg bg-white/5 p-1",children:(0,s.jsx)(E.ny,{className:"h-3 w-3 text-white/40 sm:h-4 sm:w-4"})})}),(0,s.jsx)("span",{className:"truncate text-sm font-semibold text-white sm:text-base",children:t.name})]}),(0,s.jsx)(V,{badges:t.badges}),(!d||null!==z(t))&&(0,s.jsxs)("div",{className:"shrink-0 text-right",children:[(0,s.jsxs)("p",{"aria-label":null===z(t)?"No disponible":void 0,className:"inline-flex items-center gap-1 font-mono text-xs font-semibold text-white sm:text-sm",children:[D(z(t),r,l,i,o),null!==z(t)&&"points"===r&&!i&&(0,s.jsx)(E.L7,{className:"h-3.5 w-3.5"})]}),(0,s.jsx)("p",{className:(0,F.cn)("text-[10px] text-white/30","points"!==i&&"hidden sm:block"),children:null===z(t)?"No disponible":n})]}),(0,s.jsx)("div",{className:"min-w-[60px] shrink-0 text-right sm:min-w-[80px]",children:(0,s.jsx)(G,{prize:t.prize,prizeType:t.prizeType,prizeLabel:t.prizeLabel,prizeCurrency:c})})]})}function J(e){let{users:t,myPosition:a,metric:r="points",metricLabel:n="puntos",metricPrefix:l="",metricUnit:i,currency:o,prize
1Currency:c,cadenceLabel:d,rankingMetricLabel:m,resultState:u,hideUnavailableMetric:h=!1,accentColor:p="#00ff7b"}=e;return(0,s.jsxs)("section",{children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-xl border sm:h-10 sm:w-10",style:{background:"".concat(p,"18"),borderColor:"".concat(p,"35")},children:(0,s.jsx)(x.A,{className:"h-4 w-4 sm:h-5 sm:w-5",style:{color:p}})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-base font-bold text-white sm:text-lg",children:"final"===u?"Ganadores":"results_pending"===u?"Clasificacion provisional":"Clasificacion"}),(0,s.jsx)("p",{className:"text-[11px] text-white/40",children:"final"===u?"".concat(t.length," ganadores \xb7 resultados finales"):(0,s.jsxs)(s.Fragment,{children:["Top ",t.length," jugadores por ",null!=m?m:"points"===i?"puntos":"tickets"===i?"tickets":"wager"," ",null!=d?d:"usd"===r?"mensual":"semanal"]})})]})]}),a&&(0,s.jsxs)("div",{className:"mb-4",children:[(0,s.jsx)("p",{className:"mb-2 text-xs text-white/50",children:"Mi posicion"}),(0,s.jsx)(H,{entry:a,highlighted:!0,metric:r,metricLabel:n,metricPrefix:l,metricUnit:i,currency:o,prizeCurrency:c,hideUnavailableMetric:h})]}),0===t.length?(0,s.jsx)("div",{className:"py-16 text-center text-sm text-white/30",children:"No hay datos disponibles"}):(0,s.jsx)("div",{className:"space-y-2",children:t.map((e,t)=>(0,s.jsx)(H,{entry:e,metric:r,metricLabel:n,metricPrefix:l,metricUnit:i,currency:o,prizeCurrency:c,hideUnavailableMetric:h},"".concat(e.rank,"-").concat(e.name,"-").concat(t)))})]})}let Z=(0,o.A)("clock-3",[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);function W(e){var t;let{data:a,accentColor:r}=e,n=a.observedRanking;if("final"!==a.resultState||!(null==n?void 0:n.users.length))return null;let l=new Date(n.capturedAt);if(!Number.isFinite(l.getTime()))return null;let i="tickets"===a.metricUnit?"\xdaltimos tickets registrados":(null==(t=a.race)?void 0:t.type)==="DEPOSIT"||/dep[oó]sitos/i.test(a.metricLabel)?"\xdaltimos dep\xf3sitos registrados":"\xdaltimo wager registrado",o=n.users.slice(0,100);return(0,s.jsxs)("section",{"aria-label":"\xdaltimo ranking registrado",className:"mb-8 rounded-2xl border border-white/10 bg-white/[0.03] p-4 sm:p-6",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-start gap-3",children:[(0,s.jsx)(Z,{"aria-hidden":"true",className:"mt-1 h-5 w-5 shrink-0",style:{color:r}}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("h2",{className:"text-base font-bold text-white sm:text-lg",children:i}),(0,s.jsxs)("p",{className:"mt-1 text-xs leading-relaxed text-white/65",children:["Datos registrados el ",(0,s.jsx)("time",{dateTime:n.capturedAt,children:l.toLocaleString("es-ES",{timeZone:"UTC",dateStyle:"medium",timeStyle:"short"})})," UTC."," ","Pueden faltar movimientos posteriores a esta captura. Los premios oficiales se muestran por separado."]})]})]}),(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full text-left text-sm",children:[(0,s.jsx)("thead",{className:"border-b border-white/10 text-[11px] text-white/45",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{scope:"col",className:"pb-3 pr-3 font-medium",children:"Puesto registrado"}),(0,s.jsx)("th",{scope:"col",className:"pb-3 pr-3 font-medium",children:"Jugador"}),(0,s.jsx)("th",{scope:"col",className:"pb-3 text-right font-medium",children:a.metricLabel})]})}),(0,s.jsx)("tbody",{className:"divide-y divide-white/5",children:o.map((e,t)=>(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{className:"w-14 py-3 pr-3 font-mono text-xs text-white/55",children:["#",e.rank]}),(0,s.jsx)("td",{className:"py-3 pr-3",children:(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[(0,s.jsx)(L,{image:e.image,name:e.name,className:"h-7 w-7 shrink-0 rounded-lg object-cover",fallback:(0,s.jsx)("span",{"aria-hidden":"true",className:"h-7 w-7 shrink-0 rounded-lg bg-white/5"})}),(0,s.jsx)("span",{title:e.name,className:"max-w-[8rem] truncate font-semibold text-white sm:max-w-xs",children:e.name})]})}),(0,s.jsx)("td",{className:"whitespace-nowrap py-3 text-right font-mono text-xs font-semibold text-white sm:text-sm",children:D(e.metricValue,a.metric,a.metricPrefix,a.metricUnit,a.currency)})]},"".concat(e.rank,"-").concat(t)))})]})}),n.total>o.length&&(0,s.jsxs)("p",{className:"mt-4 text-xs text-white/45",children:["Se muestran los primeros ",o.length," de ",n.total," jugadores registrados."]})]})}function $(e){return"empiredrop"===e||"csdrop"===e}function Q(e,t,a){return(null==e?void 0:e.leaderboardSource)===t&&(!($(t)||"gamdom"===t)||"service"===e.source&&(!a||e.periodId===a))}function K(e,t){if("source"===t.type)return t.source===e.source?e:{...e,source:t.source,period:void 0,metadata:null};if("period"===t.type)return t.period===e.period?e:{...e,period:t.period,metadata:null};if(t.source!==e.source||t.period!==e.period)return e;let a=Q(t.payload,t.source,t.period)?t.payload:null;
1return{...e,metadata:a,availablePeriods:a?{...e.availablePeriods,[e.source]:a.availablePeriods}:e.availablePeriods}}function ee(e){var t;let{periods:a,selectedPeriod:r,onSelect:n,accentColor:l,showCurrentFallback:i=!1}=e,o=i&&!a.some(e=>e.isCurrent);if(a.length<=1&&!o)return null;let c=null!=r?r:null==(t=a.find(e=>e.isCurrent))?void 0:t.id;return(0,s.jsxs)("div",{className:"mb-4 flex flex-wrap items-center gap-2",children:[o&&(0,s.jsxs)("button",{type:"button",onClick:()=>n(void 0),"aria-pressed":!r,className:(0,F.cn)("inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-xs font-medium transition",r?"border-white/10 bg-white/5 text-white/45 hover:bg-white/10 hover:text-white":"border-transparent"),style:r?void 0:{backgroundColor:"".concat(l,"26"),borderColor:"".concat(l,"4d"),color:l},children:[(0,s.jsx)(C,{className:"h-3 w-3"})," Actual"]}),a.map(e=>{let t=e.id===c;return(0,s.jsxs)("button",{type:"button","aria-pressed":t,onClick:()=>n(e.isCurrent?void 0:e.id),className:(0,F.cn)("inline-flex items-center gap-1.5 rounded-full border px-3 py-1 text-xs font-medium transition",t?"border-transparent":"border-white/10 bg-white/5 text-white/45 hover:bg-white/10 hover:text-white"),style:t?{backgroundColor:"".concat(l,"26"),borderColor:"".concat(l,"4d"),color:l}:void 0,children:[e.isCurrent&&(0,s.jsx)(C,{className:"h-3 w-3"}),e.label,e.isCurrent&&(0,s.jsx)("span",{className:"ml-0.5 text-[10px] text-white/45",children:"Actual"})]},e.id)})]})}async function et(e){let t=await fetch(e,{credentials:"include",cache:"no-store"});if(!t.ok)throw Error("Leaderboard request failed: ".concat(t.status));return t.json()}function ea(e){var t;let{data:a}=e;return(null==(t=a.freshness)?void 0:t.stale)?(0,s.jsxs)("div",{role:"status",className:"mb-4 rounded-xl border border-amber-500/30 bg-amber-500/5 px-4 py-3 text-sm text-amber-200",children:[(0,s.jsx)("span",{className:"font-semibold",children:"Datos desactualizados. "}),"Las posiciones pueden haber cambiado en ","csdrop"===a.leaderboardSource?"CSDrop":"EmpireDrop","."]}):null}function es(e){var t;let{data:a}=e;if("final"===a.resultState)return(0,s.jsxs)("div",{role:"status",className:"mb-4 rounded-xl border border-white/10 bg-white/[0.03] px-4 py-3 text-sm text-white/70",children:[(0,s.jsx)("p",{className:"font-semibold text-white",children:"Resultados finales"}),(0,s.jsxs)("p",{className:"mt-1",children:["Ganadores y premios publicados por ",a.sourceLabel,".",(null==(t=a.observedRanking)?void 0:t.users.length)?" Tambi\xe9n puedes consultar el \xfaltimo ranking registrado, con la fecha de su captura.":" El volumen no publicado se muestra como \xabâ\xbb."]})]});if("results_pending"!==a.resultState)return null;let r=a.rankingCapturedAt?new Date(a.rankingCapturedAt):null,n=r&&Number.isFinite(r.getTime());return(0,s.jsxs)("div",{role:"status",className:"mb-4 rounded-xl border border-amber-500/30 bg-amber-500/5 px-4 py-3 text-sm text-amber-200",children:[(0,s.jsx)("p",{className:"font-semibold",children:"Resultados pendientes"}),a.users.length>0?(0,s.jsxs)("p",{className:"mt-1",children:["Clasificacion provisional",n?(0,s.jsxs)(s.Fragment,{children:[" capturada el ",(0,s.jsx)("time",{dateTime:a.rankingCapturedAt,children:r.toLocaleString("es-ES",{timeZone:"UTC",dateStyle:"medium",timeStyle:"short"})})," UTC"]}):null,". Estas posiciones no acreditan los ganadores ni los premios finales."]}):(0,s.jsx)("p",{className:"mt-1",children:"El proveedor todavia no ha publicado los ganadores. No hay una clasificacion previa disponible."})]})}function er(e){var t;let{userId:a,season:n,source:l="andypsx",period:i,accentColor:o="#00ff7b",onMeta:c}=e,d="csdrop"===l?"CSDrop":"EmpireDrop",m=new URLSearchParams;!$(l)&&n&&m.set("season",String(n)),!$(l)&&a&&m.set("userId",a),l&&m.set("source",l),i&&m.set("period",i);let u=m.toString(),{data:h,error:p,isLoading:b}=(0,A.Ay)("/api/leaderboard".concat(u?"?".concat(u):""),et,{refreshInterval:3e4,revalidateOnFocus:!1}),f=Q(h,l,i)?h:void 0;if((0,r.useEffect)(()=>{null==c||c(!p&&f?f:null,l,i)},[f,p,c,l,i]),b&&!f)return(0,s.jsx)(U,{});if(p||!f)return(0,s.jsx)("div",{role:"alert",className:"rounded-2xl border border-white/[0.06] bg-white/[0.02] py-16 text-center text-sm text-white/40",children:"No se pudo cargar la clasificacion. Intenta de nuevo mas tarde."});if($(l)&&"no_race_for_period"===f.emptyReason)return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ea,{data:f}),(0,s.jsxs)("div",{role:"status",className:"rounded-2xl border border-white/[0.06] bg-white/[0.02] px-5 py-16 text-center",children:[(0,s.jsx)(x.A,{className:"mx-auto mb-4 h-8 w-8",style:{color:o}}),(0,s.jsxs)("p",{className:"font-semibold text-white/80",children:["No hay datos de ",d," para este periodo."]}),(0,s.jsx)("p",{className:"mt-2 text-sm text-white/45",children:"Puedes consultar otro mes desde el selector."})]})]});if($(l)&&"no_active_race"===f.emptyReason)return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ea,{data:f}),(0,s.jsxs)("div",{role:"status",className:"rounded-2xl border border-white/[0.06] bg-white/[0.02] px-5 py-16 text-center",children:[(0,s.jsx)(x.A,{className:"mx-auto mb-4 h-8 w-8",style:{color:o}}),(0,s.jsxs)("p",{className:"font-semibold text-white/80",children:["No hay ninguna carrera activa de ",d,"."]}),(0,s.jsxs)("p",{className:"mt-2 text-sm text-white/45",children:["La clasificacion aparecera cuando ",d," publique una nueva carrera."]})]})]});let g=$(l)&&"final"===f.resultState&&!!(null==(t=f.observedRanking)?void 0:t.users.length)&&Number.isFinite(Date.parse(f.observedRanking.capturedAt));return(0,s.jsxs)(s.Fragment,{children:["gamdom"===l&&"grace"===f.seasonStatus&&(0,s.jsx)("p",{role:"status",className:"mb-4 text-sm text-amber-200",children:"Clasificacion provisional: el mes ha terminado y estamos esperando la actualizacion de cierre de Gamdom."}),$(l)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ea,{data:f}),(0,s.jsx)(es,{data:f})]}),g&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(W,{data:f,accentColor:o}),(0,s.jsx)("h2",{className:"mb-4 text-lg font-bold text-white",children:"Ganadores oficiales"})]}),($(l)||"gamdom"===l)&&0===f.users.length?(0,s.jsxs)("div",{role:"status",className:"rounded-2xl border border-white/[0.06] bg-white/[0.02] px-5 py-12 text-center",children:[(0,s.jsx)("p",{className:"font-semibold text-white/80",children:"results_pending"===f.resultState?"Los resultados se mostraran cuando esten disponibles.":"finalized"===f.seasonStatus?"No hay participantes registrados en este periodo.":"gamdom"===l?"Todavia no hay participantes en este periodo.":"Todavia no hay participantes en esta carrera."}),(0,s.jsxs)("p",{className:"mt-2 text-sm text-white/45",children:["Premios: ",f.prizePoolLabel]})]}):(0,s.jsx)(T,{users:f.users,metric:f.metric,metricPrefix:f.metricPrefix,metricUnit:f.metricUnit,currency:f.currency,prizePoolHeading:$
1(l)?"Premios de la carrera":"gamdom"===l?"Premio mensual":void 0,emptyMetricLabel:$(l)?"â":void 0,showTies:$(l),showPrizeForUnknownMetric:g,prizePoolLabel:f.prizePoolLabel,accentColor:o}),"gamdom"===f.leaderboardSource?(0,s.jsx)("div",{className:"mt-6 rounded-xl border border-amber-500/30 bg-amber-500/5 px-4 py-3.5 sm:px-5 sm:py-4",children:(0,s.jsxs)("div",{className:"space-y-4 text-left",children:[(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(x.A,{className:"mt-0.5 h-5 w-5 shrink-0 text-amber-400"}),(0,s.jsx)("p",{className:"text-sm leading-relaxed text-white/70 sm:text-base",children:"points"===f.metricUnit?(0,s.jsx)(s.Fragment,{children:"La clasificacion utiliza los puntos oficiales de Gamdom. Los juegos Originals estan incluidos. Se comprobara manualmente que cada usuario cumpla con las reglas y no cometa abusos. Los puntos se actualizan aproximadamente cada hora y pueden ajustarse por reembolsos. Los premios se mantienen en USD."}):(0,s.jsxs)(s.Fragment,{children:["Se comprobara manualmente que cada usuario cumpla con las reglas de la tabla de clasificacion y no cometa abusos. No se permite apostar en los juegos originales de Gamdom."," ",(0,s.jsx)("span",{className:"font-semibold text-amber-400",children:"Las apuestas totales del 50% o mas en originales daran lugar a la descalificacion."})]})})]}),(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(x.A,{className:"mt-0.5 h-5 w-5 shrink-0 text-amber-400"}),(0,s.jsxs)("div",{className:"text-sm leading-relaxed text-white/70 sm:text-base",children:[(0,s.jsx)("p",{children:"Para poder aparecer en esta Leaderboard se deben cumplir los siguientes requisitos:"}),(0,s.jsxs)("ul",{className:"mt-2 list-disc space-y-1 pl-5",children:[(0,s.jsxs)("li",{children:["La cuenta debe haber sido creada bajo los codigos de afiliado ",(0,s.jsx)("span",{className:"font-medium text-amber-400",children:"Andypsx"})," ","o ",(0,s.jsx)("span",{className:"font-medium text-amber-400",children:"Topbonus"}),"."]}
1),(0,s.jsx)("li",{children:"En usuarios nuevos, la informacion puede tardar aproximadamente 24 horas en aparecer."})]})]})]})]})}):f.notices.length>0&&(0,s.jsx)("div",{className:"mt-6 rounded-xl border px-4 py-3.5 sm:px-5 sm:py-4",style:{background:"".concat(o,"0d"),borderColor:"".concat(o,"33")},children:(0,s.jsx)("div",{className:"space-y-3 text-left",children:f.notices.map(e=>(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(x.A,{className:"mt-0.5 h-4 w-4 shrink-0",style:{color:o}}),(0,s.jsx)("p",{className:"text-xs leading-relaxed text-white/65 sm:text-sm",children:e})]},e))})}),(!$(l)||f.users.length>0)&&(0,s.jsx)("div",{className:"mt-6 rounded-2xl border border-white/[0.06] bg-white/[0.02] p-4 sm:mt-10 sm:p-6",children:(0,s.jsx)(J,{users:f.users,myPosition:f.myPosition,metric:f.metric,metricLabel:f.metricLabel,metricPrefix:f.metricPrefix,metricUnit:f.metricUnit,currency:f.currency,prizeCurrency:f.prizeCurrency,cadenceLabel:f.cadenceLabel,rankingMetricLabel:$(l)||"gamdom"===l?f.metricLabel:void 0,resultState:$(l)?f.resultState:void 0,hideUnavailableMetric:g,accentColor:o})})]})}function en(e){let{availableSeasons:t,currentSeason:a,selectedSeason:r,onSelect:n}=e;if(t.length<=1)return null;let l=null!=r?r:a;return(0,s.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:t.map(e=>{let t=e===l,r=e===a;return(0,s.jsxs)("button",{type:"button",onClick:()=>n(e),className:(0,F.cn)("rounded-lg border px-3 py-1.5 text-xs font-bold uppercase tracking-wide transition",t?"border-[#00ff7b]/40 bg-[#00ff7b]/15 text-[#00ff7b]":"border-white/10 bg-white/5 text-white/60 hover:bg-white/10 hover:text-white"),children:["S",e,r&&(0,s.jsx)("span",{className:"ml-1 text-[9px] text-white/40",children:"actual"})]},e)})})}var el=a(96416);function ei(){return(0,s.jsxs)("div",{className:"flex w-full items-center justify-center gap-2 rounded-lg border border-amber-500/20 bg-amber-500/10 px-3 py-2 text-center text-xs text-amber-200/90 sm:text-sm",children:[(0,s.jsx)(b.A,{className:"h-4 w-4 shrink-0 text-amber-400"}),(0,s.jsxs)("span",{children:["Para una competici\xf3n justa en el Leaderboard, cada cuenta tiene un limite de ",(0,s.jsx)("strong",{className:"text-amber-300",children:"2 slots a la vez"}),"."]})]})}function eo(){return(0,s.jsxs)("div",{className:"flex w-full items-center justify-center gap-2 rounded-lg border border-sky-500/20 bg-sky-500/10 px-3 py-2 text-center text-xs text-sky-200/90 sm:text-sm",children:[(0,s.jsx)(b.A,{className:"h-4 w-4 shrink-0 text-sky-400"}),(0,s.jsxs)("span",{children:["El ",(0,s.jsx)("strong",{className:"text-sky-300",children:"leaderboard de temporada"})," est\xe1 en pausa ahora mismo. Volver\xe1 con la pr\xf3xima temporada â tu progreso y tus Mochuelos no se ven afectados."]})]})}var ec=a(93665),ed=a(10346),em=a(14474);let eu=["andypsx","gamdom"],ex=[{key:"andypsx",label:"PSXRewards",tab:"#00ff7b",bg:"#181A27",icon:(0,s.jsx)(E.L7,{className:"h-4 w-4"})},{key:"gamdom",label:"Gamdom",tab:"#4BBAFD",bg:"#181D27",icon:(0,s.jsx)(E.hm,{className:"h-4 w-4"})},{key:"empiredrop",label:"EmpireDrop",tab:"#FF4646",bg:"#1F181E",icon:(0,s.jsx)(E.zn,{className:"h-4 w-4"})},{key:"csdrop",label:"CSDrop",tab:"#00C8FF",bg:"#181D22",icon:(0,s.jsx)(E.l$,{className:"h-4 w-4"})}],eh={andypsx:[{number:"01",icon:i.A,title:"Registrate en Gamdom",color:"#4BBAFD",action:{label:"Ir a Gamdom",href:el.Qo,external:!0},highlights:[{text:"ANDYPSX",accent:!0,color:"#00FF86"}],detail:(0,s.jsxs)(s.Fragment,{children:["Crea tu cuenta en Gamdom.com usando el codigo de referido"," ",(0,s.jsx)("span",{className:"font-bold text-[#00FF86]",children:"ANDYPSX"}),"."]})},{number:"02",icon:c,title:"Valida tu Cuenta",color:"#00ff7b",highlights:[{text:"PSXRewards",accent:!0},{text:"Vincular Gamdom",accent:!0}],detail:"Registrate en PSXRewards y vincula tu cuenta de Gamdom desde Perfil."},{number:"03",icon:d.A,title:"Reclama tus Recompensas",color:"#FFD54B",action:{label:"Ver Recompensas",href:"/bonus",external:!1},highlights:[{text:"Daily Rewards",accent:!0},{text:"Cada dia",accent:!1}],detail:"Reclama recompensas diarias para conseguir saldo y jugar."},{number:"04",icon:m.A,title:"Juega y Compite",color:"#FF6B6B",action:{label:"Ver Juegos",href:"/games",external:!1},highlights:[{text:"Cada apuesta = puntos",accent:!0},{text:"Leaderboard semanal",accent:!1}],detail:"Cada apuesta suma puntos automaticamente. Cuanto mas juegues, mas alto llegas."}],gamdom:[{number:"01",icon:i.A,title:"Registrate en Gamdom",color:"#4BBAFD",action:{label:"Ir a Gamdom",href:el.Qo,external:!0},highlights:[{text:"ANDYPSX",accent:!0,color:"#00FF86"}],detail:"Crea tu cuenta bajo el codigo de referido ANDYPSX."},{number:"02",icon:u.A,title:"Reclama tu Bonus",color:"#00FF86",action:{label:"Ver Ofertas",href:"/gamdom-exclusive",external:!1},highlights:[{text:"15% de rakeback",accent:!0},{text:"Bonus diarios",accent:!0}],detail:"Recibe ofertas exclusivas desde el primer dia."},{number:"03",icon:m.A,title:"Juega y Acumula",color:"#FFD54B",action:{label:"Ver Juegos",href:"/games",external:!1},highlights:[{text:"Slots & Juegos",accent:!1},{text:"Puntos Gamdom",accent:!0}],detail:"Los puntos oficiales de Gamdom determinan tu posicion en la leaderboard mensual."},{number:"04",icon:x.A,title:"Gana Premios",color:"#FF6B6B",prizes:[{rank:"1\xba",amount:"$6,000",color:"#FFD54B"},{rank:"2\xba",amount:"$3,600",color:"#C0C0C0"},{rank:"3\xba",amount:"$2,400",color:"#CD7F32"}],detail:null}],empiredrop:[{number:"01",icon:i.A,title:"Registrate en EmpireDrop",color:"#FF4646",action:{label:"Ir a EmpireDrop",href:"https://empiredrop.com/r/andypsx",external:!0},highlights:[{text:"ANDYPSX",accent:!0,color:"#FF4646"}],detail:"Accede a EmpireDrop desde nuestro enlace de referido."},{number:"02",icon:m.A,title:"Participa en la carrera",color:"#FF8C32",highlights:[{text:"Periodo publicado",accent:!0}],detail:"Consulta las fechas y la unidad de clasificacion de la carrera activa."},{number:"03",icon:c,title:"Consulta tu posicion",color:"#FFD54B",highlights:[{text:"Datos sincronizados",accent:!0}],detail:"Las posiciones reflejan la ultima sincronizacion con EmpireDrop."},{number:"04",icon:x.A,title:"Premios de la carrera",color:"#FF4646",detail
1:"Consulta el premio de cada posicion en la clasificacion. Las condiciones de la carrera las establece EmpireDrop."}],csdrop:[{number:"01",icon:i.A,title:"Registrate en CSDrop",color:"#00C8FF",action:{label:"Ir a CSDrop",href:"https://csdrop.com/?ref=andypsx",external:!0},highlights:[{text:"ANDYPSX",accent:!0,color:"#00C8FF"}],detail:"Accede a CSDrop desde nuestro enlace de referido."},{number:"02",icon:m.A,title:"Participa en la carrera",color:"#00FFC8",highlights:[{text:"Periodo publicado",accent:!0}],detail:"Consulta las fechas y la unidad de clasificacion de la carrera activa."},{number:"03",icon:c,title:"Consulta tu posicion",color:"#FFD54B",highlights:[{text:"Datos sincronizados",accent:!0}],detail:"Las posiciones reflejan la ultima sincronizacion con CSDrop."},{number:"04",icon:x.A,title:"Premios de la carrera",color:"#00C8FF",detail:"Consulta el premio de cada posicion en la clasificacion. Las condiciones de la carrera las establece CSDrop."}]};function ep(e){let{active:t,onSelect:a,sources:r}=e;return(0,s.jsx)("div",{className:"flex flex-wrap gap-1 rounded-xl border border-white/10 bg-white/5 p-1",children:r.map(e=>{let r=t===e.key;return(0,s.jsxs)("button",{type:"button",onClick:()=>a(e.key),className:(0,F.cn)("inline-flex min-h-10 items-center gap-1.5 rounded-lg px-4 text-sm font-medium transition-all",r?"border shadow-lg":"cursor-pointer text-zinc-400 hover:bg-white/5 hover:text-white"),style:r?{backgroundColor:"".concat(e.tab,"18"),borderColor:"".concat(e.tab,"4d"),color:e.tab,boxShadow:"0 4px 15px ".concat(e.tab,"1a")}:void 0,children:[e.icon,(0,s.jsx)("span",{children:e.label})]},e.key)})})}function eb(e){let{source:t,accentColor:a,metric:n,metricUnit:l}=e,i="gamdom"===t&&"points"!==l?eh[t].map(e=>"03"===e.number?{...e,highlights:[{text:"Slots & Juegos",accent:!1},{text:"usd"===n?"Wager en USD":"Clasificacion mensual",accent:!0}],detail:"usd"===n?"Las apuestas en USD determinan tu posicion en este periodo de la leaderboard mensual.":"La metrica de este periodo se mostrara cuando se cargue la clasificacion."}:e):eh[t];return(0,s.jsxs)("div",{className:"mt-4 rounded-xl px-5 py-6",style:{background:"".concat(a,"0a"),border:"1px solid ".concat(a,"22")},children:[(0,s.jsx)("div",{className:"grid grid-cols-1 items-stretch gap-x-0 gap-y-4 lg:grid-cols-[1fr_auto_1fr_auto_1fr_auto_1fr]",children:i.map((e,t)=>(0,s.jsxs)(r.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3 rounded-xl p-4",style:{background:"".concat(e.color,"06"),border:"1px solid ".concat(e.color,"15")},children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-xs font-black",style:{background:"".concat(e.color,"15"),border:"2px solid ".concat(e.color,"40"),color:e.color},children:e.number}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(e.icon,{className:"h-4 w-4",style:{color:e.color}}),(0,s.jsx)("h4",{className:"text-sm font-bold text-white",children:e.title})]})]}),e.prizes?(0,s.jsxs)("div",{className:"flex flex-col gap-1.5",children:[e.prizes.map(e=>(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-lg px-3 py-1.5",style:{background:"".concat(e.color,"10"),border:"1px solid ".concat(e.color,"20")},children:[(0,s.jsx)("span",{className:"text-[11px] font-bold uppercase tracking-wider",style:{color:e.color},children:e.rank}),(0,s.jsx)("span",{className:"text-sm font-black",style:{color:e.color},children:e.amount})]},e.rank)),(0,s.jsx)("p",{className:"mt-0.5 text-[10px] text-white/30",children:"+ premios adicionales para el resto del ranking"})]}):(0,s.jsxs)(s.Fragment,{children:[e.highlights&&(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.highlights.map(t=>{var a;let r=null!=(a=t.color)?a:e.color;return(0,s.jsx)("span",{className:"rounded-md px-2.5 py-1 text-[11px] font-semibold",style:{background:t.accent?"".concat(r,"15"):"rgba(255,255,255,0.05)",color:t.accent?r:"rgba(255,255,255,0.6)",border:"1px solid ".concat(t.accent?"".concat(r,"25"):"rgba(255,255,255,0.08)")},children:t.text},t.text)})}),(0,s.jsx)("p",{className:"text-xs leading-relaxed text-white/40",children:e.detail})]}),e.action&&(e.action.external?(0,s.jsxs)("a",{href:e.action.href,target:"_blank",rel:"noopener noreferrer",className:"mt-auto inline-flex min-h-9 w-fit items-center gap-1 text-[11px] font-bold uppercase tracking-wider",style:{color:e.color},children:[e.action.label,(0,s.jsx)(h.A,{className:"h-3 w-3"})]}):(0,s.jsxs)(v(),{href:e.action.href,className:"mt-auto inline-flex min-h-9 w-fit items-center gap-1 text-[11px] font-bold uppercase tracking-wider",style:{color:e.color},children:[e.action.label,(0,s.jsx)(p.A,{className:"h-3 w-3"})]}))]}),t<i.length-1&&(0,s.jsx)(ed.N,{fromColor:e.color,toColor:i[t+1].color})]},e.number))}),"andypsx"===t&&(0,s.jsx)("div",{className:"mt-5 rounded-xl border border-[#00ff7b]/15 bg-[#00ff7b]/5 p-4",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(b.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#00ff7b]"}),(0,s.jsxs)("p",{className:"text-xs leading-relaxed text-white/60",children:[(0,s.jsx)("span",{className:"font-semibold text-[#00ff7b]",children:"Como se calculan los puntos:"})," ","cada apuesta suma puntos. Las ganancias no cuentan, solo las apuestas."]})]})})]})}function ef(){var e,t,a,i,o,c,d;let m=(0,em.w)(),[u,h]=(0,r.useReducer)(K,{source:"gamdom",period:void 0,metadata:null,availablePerio
1ds:{}}),{source:p,period:b,metadata:j}=u,v=(0,r.useCallback)(e=>{h({type:"source",source:e})},[]),y=(0,r.useCallback)(e=>{h({type:"period",period:e})},[]),[N,C]=(0,r.useState)(void 0),[A,P]=(0,r.useState)(!1),[E,L]=(0,r.useState)({isAdmin:!1,csdropPublic:!1,empiredropPublic:!1});(0,r.useEffect)(()=>{let e=!0;return fetch("/api/leaderboard/sources",{credentials:"include",cache:"no-store"}).then(e=>e.ok?e.json():null).then(t=>{e&&t&&L({isAdmin:!0===t.isAdmin,csdropPublic:!0===t.csdropPublic,empiredropPublic:!0===t.empiredropPublic})}).catch(()=>{}),()=>{e=!1}},[]);let D=(c={csdropPublic:E.csdropPublic,empiredropPublic:E.empiredropPublic},d=E.isAdmin,ex.filter(e=>{var t;return t=e.key,!!eu.includes(t)||!!d||("csdrop"===t?!0===c.csdropPublic:"empiredrop"!==t||!0===c.empiredropPublic)}));(0,r.useEffect)(()=>{if(!D.some(e=>e.key===p)){var e,t;let a=null!=(t=null==(e=D[0])?void 0:e.key)?t:"gamdom";a!==p&&v(a)}},[D,p,v]);let z=null!=(t=ex.find(e=>e.key===p))?t:ex[0],M=null!=(a=null!=N?N:null==j?void 0:j.season)?a:null==j?void 0:j.currentSeason;(0,r.useEffect)(()=>{C(void 0)},[p]);let R=(0,r.useCallback)((e,t,a)=>{h({type:"metadata",source:t,period:a,payload:e})},[]),T=(null==j?void 0:j.seasonEndsAt)?new Date(j.seasonEndsAt):null,U=(null==j?void 0:j.graceEndsAt)?new Date(j.graceEndsAt):null,_=(null==j?void 0:j.seasonStartsAt)?new Date(j.seasonStartsAt):null;return(0,s.jsxs)("div",{className:"relative overflow-hidden text-white transition-colors duration-500",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-[400px]","aria-hidden":!0,style:{background:"radial-gradient(ellipse 70% 60% at 50% 0%, ".concat(z.tab,"14, transparent)")}}),(0,s.jsx)("div",{className:"relative mx-auto flex w-full max-w-7xl flex-col items-center justify-start pb-20 transition-all duration-500",children:(0,s.jsxs)(n.P.div,{className:"relative w-full",initial:!1,animate:{opacity:1,filter:"blur(0)"},transition:{duration:.5,ease:[.76,0,.24,1]},children:[(0,s.jsxs)("div",{className:"px-3 sm:mt-10 sm:px-6",children:[(0,s.jsx)(ec.K,{className:"mb-4"}),(null==j?void 0:j.seasonLeaderboardPaused)?(0,s.jsx)("div",{className:"mb-4",children:(0,s.jsx)(eo,{})}):null,"andypsx"===p&&(0,s.jsx)("div",{className:"mb-4",children:(0,s.jsx)(ei,{})}),(0,s.jsxs)("div",{className:"mb-6 flex w-full flex-col items-start gap-4 sm:mb-8 sm:flex-row sm:items-center",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("h1",{className:"font-asset text-2xl font-bold sm:text-3xl",children:"Leaderboard"}),j&&(0,s.jsx)("span",{className:"flex items-center gap-1.5 rounded-lg border px-2.5 py-1 text-xs font-medium sm:text-sm",style:{backgroundColor:"".concat(z.tab,"15"),borderColor:"".concat(z.tab,"33"),color:z.tab},children:"andypsx"===p?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.A,{className:"h-3 w-3"}),"Season ",M]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.A,{className:"h-3 w-3"}),j.periodLabel]})})]}),(0,s.jsx)(ep,{active:p,onSelect:v,sources:D})]}),"andypsx"===p&&j&&(0,s.jsx)("div",{className:"mb-4",children:(0,s.jsx)(en,{availableSeasons:j.availableSeasons,currentSeason:j.currentSeason,selectedSeason:N,onSelect:e=>C(e===j.currentSeason?void 0:e)})}),"andypsx"!==p&&(0,s.jsx)(ee,{periods:null!=(i=u.availablePeriods[p])?i:[],selectedPeriod:b,showCurrentFallback:$(p),onSelect:y,accentColor:z.tab}),(0,s.jsxs)("div",{className:(0,F.cn)("relative flex items-center justify-center",$(p)&&"sm:min-h-20"),children:[(0,s.jsx)("div",{children:$(p)?(0,s.jsx)(S,{meta:j,source:p}):(0,s.jsx)(k,{targetDate:T,seasonStatus:null!=(o=null==j?void 0:j.seasonStatus)?o:"open",graceEndsAt:U,seasonStartsAt:_})}),(0,s.jsxs)("button",{type:"button",onClick:()=>P(e=>!e),className:"absolute right-0 top-1/2 hidden shrink-0 -translate-y-1/2 cursor-pointer items-center gap-2 rounded-xl px-5 py-3 font-bold uppercase tracking-wider text-[#131620] transition-all hover:scale-105 sm:flex",style:{background:A?"linear-gradient(135deg, #FFD54B, #F0A030)":"linear-gradient(135deg, #FFD54BCC, #F0A03099)",boxShadow:"0 0 20px rgba(255,213,75,0.3), 0 4px 12px rgba(255,213,75,0.2)",border:"1px solid rgba(255,213,75,0.5)"},"aria-expanded":A,children:[(0,s.jsxs)("span",{className:"flex flex-col items-start leading-tight",children:[(0,s.jsx)("span",{className:"text-xs",children:"Qu
1iero"}),(0,s.jsx)("span",{className:"text-sm",children:"Participar!"})]}),A?(0,s.jsx)(g.A,{className:"h-4 w-4"}):(0,s.jsx)(w.A,{className:"h-4 w-4"})]})]}),(0,s.jsx)(l.N,{children:A&&(0,s.jsx)(n.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:(0,s.jsx)(eb,{source:p,accentColor:z.tab,metric:null==j?void 0:j.metric,metricUnit:null==j?void 0:j.metricUnit})})})]}),(0,s.jsx)(l.N,{mode:"wait",children:(0,s.jsx)(n.P.div,{initial:{opacity:0,filter:"blur(4px)"},animate:{opacity:1,filter:"blur(0)"},exit:{opacity:0},transition:{duration:.25},className:"w-full",children:(0,s.jsx)("div",{className:"relative flex h-auto items-center justify-center rounded-lg px-3 py-3 sm:px-6 sm:py-5",children:(0,s.jsx)("div",{className:"w-full text-center text-white",children:(0,s.jsx)(er,{userId:"authenticated"===m.status?null==(e=m.user)?void 0:e.id:null,season:N,source:p,period:b,accentColor:z.tab,onMeta:R})})})},p)})]})})]})}},10346:(e,t,a)=>{"use strict";a.d(t,{N:()=>l});var s=a(6733),r=a(64665);let n={sm:"hidden items-center justify-center px-2 sm:flex",lg:"hidden items-center justify-center px-2 lg:flex"};function l(e){let{fromColor:t,toColor:a,breakpoint:l="lg"}=e,i=(0,r.useId)();return(0,s.jsx)("div",{className:n[l],"aria-hidden":"true",children:(0,s.jsxs)("div",{className:"relative flex h-8 w-8 items-center justify-center",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-full",style:{background:"radial-gradient(circle, ".concat(a,"30, transparent 70%)"),filter:"blur(6px)"}}),(0,s.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",className:"relative z-10",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:i,x1:"6",y1:"14",x2:"22",y2:"14",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{offset:"0",stopColor:t,stopOpacity:"0.8"}),(0,s.jsx)("stop",{offset:"1",stopColor:a,stopOpacity:"0.9"})]})}),(0,s.jsx)("path",{d:"M10 7l7 7-7 7",stroke:"url(#".concat(i,")"),strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})]})})}},14474:(e,t,a)=>{"use strict";a.d(t,{w:()=>r});var s=a(64665);function r(){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 r=null!=(s=null==a?void 0:a.user)?s:null;t({user:r,status:r?"authenticated":"unauthenticated"})}).catch(()=>{e&&t({user:null,status:"unauthenticated"})}),()=>{e=!1}},[]),e}},31282:(e,t,a)=>{"use strict";a.d(t,{cq:()=>o,gh:()=>c,hl:()=>d});var s=a(51633),r=a(76643),n=a(21568),l=a(59946);function i(e){var t,a;return null!=(a=null!=(t=n.x[e])?t:r.Yc[e])?a:""}function o(e){let t=(e.provider||"").toLowerCase();if(!e.game)return null;if("nolimit"===t){let t=i(e.game);return t?{src:t,fallback:(0,l.u)("/games/".concat(e.game,"/bg.png"))}:{src:(0,l.u)("/games/".concat(e.game,"/bg.png")),fallback:null}}if("bgaming"===t)return{src:(0,l.u)("/games/bgaming/".concat(e.game,".webp")),fallback:(0,s.wY)(t,e.game)};if("wickedgames"===t){let t=e.game.replace(/^wicked_/i,"").toLowerCase();return{src:(0,l.u)("/games/wickedgames/".concat(t,".webp")),fallback:null}}return{src:(0,l.u)("/games/".concat(t,"/").concat(e.game,".webp")),fallback:null}}function c(e){let t=(e.provider||"").toLowerCase();return e.game?"nolimit"!==t||i(e.game)?null:(0,l.u)("/games/".concat(e.game,"/icon.png")):null}function d(e){let t=(e.provider||"").toLowerCase();return t&&e.game?"/games/slots/".concat(t,"/").concat(encodeURIComponent(e.game)):"/games"}},43432:(e,t,a)=>{Promise.resolve().then(a.bind(a,1671))},56518:(e,t,a)=>{"use strict";a.d(t,{h:()=>s});let s={enabled:!1,id:"s13-1semana-2026-06",emoji:"\uD83C\uDF89",headline:"Recompensas diarias",body:"1 semana de recompensas PSX diarias.",short:"1 semana de recompensas PSX diarias."}},69908:(e,t,a)=>{"use strict";a.d(t,{m:()=>c});var s=a(6733),r=a(64665),n=a(75052),l=a(46621),i=a(25195),o=a(72087);let c=e=>{let{children:t,content:a,position:c="top",className:d,delay:m=300,coords:u}=e,[x,h]=(0,r.useState)(!1),[p,b]=(0,r.useState)(!1),[f,g]=(0,r.useState)({x:0,y:0}),w=(0,r.useRef)(null),j=(0,r.useRef)(null),v=(0,r.useRef)(null),y=()=>{let e=0,t=0;if(u)e=u.x,t=u.y;else if(w.current){var a,s;let r=w.current.getBoundingClientRect(),n=null!=(s=null==(a=j.current)?void 0:a.offsetWidth)?s:0;
1e=r.left+r.width/2-n/2,t="bottom"===c?r.bottom+10:r.top-10}g({x:e,y:t})};return(0,r.useEffect)(()=>{b(!0)},[]),(0,r.useEffect)(()=>{x&&y()},[x]),(0,r.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:w,onMouseEnter:()=>{v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{h(!0),y()},m)},onMouseLeave:()=>{v.current&&clearTimeout(v.current),h(!1)},className:"inline-block relative",children:t}),p&&(0,n.createPortal)((0,s.jsx)(l.N,{children:x&&(0,s.jsxs)(i.P.section,{ref:j,variants:{hidden:{opacity:0,scale:.8,y:"top"===c?10:"bottom"===c?-10:0,x:"left"===c?10:"right"===c?-10:0},visible:{opacity:1,scale:1,y:0,x:0},exit:{opacity:0,scale:.8,y:"top"===c?10:"bottom"===c?-10:0,x:"left"===c?10:"right"===c?-10:0}},initial:"hidden",animate:"visible",exit:"exit",transition:{duration:.2,ease:"easeOut"},className:(0,o.cn)(u?"!absolute z-[999999] !top-0 !left-1/2 -translate-x-1/2 px-3 py-2 text-sm text-white bg-background-secondary rounded-lg shadow-lg pointer-events-none":"fixed z-[999999] px-3 py-2 text-sm text-white bg-background-secondary rounded-lg shadow-lg pointer-events-none","border border-background-secondary backdrop-blur-sm",!u&&"-top-28",d),style:{left:f.x,top:f.y,transform:u?"translateX(-50%) translateY(-100%)":void 0},children:[a,(0,s.jsx)("span",{className:(0,o.cn)("absolute w-2 h-2 bg-background-secondary border border-white/5 rotate-45","top"===c&&"bottom-[-5px] left-1/2 transform -translate-x-1/2 border-t-0 border-l-0","bottom"===c&&"top-[-5px] left-1/2 transform -translate-x-1/2 border-b-0 border-r-0","left"===c&&"right-[-5px] top-1/2 transform -translate-y-1/2 border-l-0 border-b-0","right"===c&&"left-[-5px] top-1/2 transform -translate-y-1/2 border-r-0 border-t-0")})]})}),document.body)]})}},72087:(e,t,a)=>{"use strict";a.d(t,{a:()=>l,cn:()=>n});var s=a(65210),r=a(36774);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.QP)((0,s.$)(t))}let l=e=>{let t=Math.abs(e),a=e<0?"-":"";return t>=1e9?{value:"".concat(a).concat((t/1e9).toFixed(2)),suffix:"B"}:t>=1e6?{value:"".concat(a).concat((t/1e6).toFixed(2)),suffix:"M"}:t>=1e3?{value:"".concat(a).concat((t/1e3).toFixed(2)),suffix:"K"}:{value:new Intl.NumberFormat("es-ES",{minimumFractionDigits:2,maximumFractionDigits:2}).format(e),suffix:""}}},89339:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(65776).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},93665:(e,t,a)=>{"use strict";a.d(t,{K:()=>i});var s=a(6733),r=a(70006),n=a(56518),l=a(72087);function i(e){let{className:t}=e;return n.h.enabled?(0,s.jsxs)("div",{className:(0,l.cn)("flex w-full items-center justify-center gap-2 rounded-lg border border-emerald-400/30 bg-emerald-500/10 px-3 py-2 text-center text-xs text-emerald-200/90 sm:text-sm",t),children:[(0,s.jsx)(r.A,{className:"h-4 w-4 shrink-0"}),(0,s.jsxs)("span",{children:[(0,s.jsxs)("span",{"aria-hidden":!0,children:[n.h.emoji," "]}),n.h.short]})]}):null}},95708:(e,t,a)=>{"use strict";a.d(t,{Ez:()=>o,Xy:()=>i,cs:()=>s,rU:()=>r});let s="currency_psx",r="currency_mochuelo",n={[s]:{es:"PSX",en:"PSX"},[r]:{es:"Mochuelos",en:"Mochuelos"},currency_raffle:{es:"Tickets",en:"Tickets"},USD:{es:"USD",en:"USD"}},l={PSX:s,MOCHUELOS:r,Mochuelos:r,COINS:r};function i(e){var t;return e?n[e]?e:null!=(t=l[e])?t:e:null}function o(e){var t,a;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es",r=i(e);return r?null!=(a=null==(t=n[r])?void 0:t[s])?a:r:""}},95933:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(65776).A)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},96416:(e,t,a)=>{"use strict";a.d(t,{Qo:()=>s,qv:()=>r});let s="https://gamdom.io/r/andypsx";function r(e){let{claimed:t,max:a}=function(e){let[t,a]=e.split("/");return{claimed:parseInt(t,10)||0,max:parseInt(a,10)||0}}(e.claims);return a>0&&t>=a}}},e=>{var t=t=>e(e.s=t);e.O(0,[5710,4133,5195,4707,8769,3843,3219,6974,2542,7358],()=>t(43432)),_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.