1import{a as u,u as h,t as m,j as e,C as f,b as j,y as G}from"./index-C3Qps0S4.js";import{S as l}from"./skeleton-Dte_fR4v.js";import{T as S}from"./trophy-C56YBVkm.js";import{F as _}from"./flame-ClgW77Uq.js";import{T as N}from"./target-FUBQRvNw.js";import{L as p}from"./lock-BImxJe9g.js";import{B as P}from"./brain-B6nwQ_cR.js";import{L as v}from"./layers-BXA01U_9.js";import{T as w}from"./trending-up-Dq4_iocl.js";const y="https://d2xsxph8kpxj0f.cloudfront.net/310519663652512475/7HA7hYw7GpnEa4uEBj67tN/game-baccarat-DBfCJeZMaZLzX6EV2zrXou.webp",k="https://d2xsxph8kpxj0f.cloudfront.net/310519663652512475/7HA7hYw7GpnEa4uEBj67tN/game-dragon-tiger-4Zu88pbArgcVe6ymkk6gdr.webp",C="https://d2xsxph8kpxj0f.cloudfront.net/310519663652512475/7HA7hYw7GpnEa4uEBj67tN/game-roulette-JtXMDZmuRo6scqEsjvwqD3.webp",R="https://d2xsxph8kpxj0f.cloudfront.net/310519663652512475/7HA7hYw7GpnEa4uEBj67tN/game-sicbo-VtocfrcMzdR6AEizhJ9uwX.webp",E="https://d2xsxph8kpxj0f.cloudfront.net/310519663652512475/7HA7hYw7GpnEa4uEBj67tN/football-analysis-card-jS6ug2ARtSeEe7bMgWgV7N.webp",A="https://d2xsxph8kpxj0f.cloudfront.net/310519663652512475/7HA7hYw7GpnEa4uEBj67tN/slot-formula-card-RBNToG8PRgy5MbiwJLMxSa.webp";function c({name:a,image:r,status:t,borderColor:n,badgeColor:s,formulaCount:d,winRate:o,onClick:g,statusLabel:x="AI Ready",actionLabel:b="Start Analysis"}){const i=t==="coming_soon";return e.jsxs("button",{"data-loc":"client/src/pages/GameSelectionPage.tsx:32",type:"button",onClick:i?()=>j.info(`${a} à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¸à¸² à¹à¸£à¹à¸§à¹ à¸à¸µà¹!`):g,className:`game-card relative flex flex-col overflow-hidden rounded-2xl border transition-all duration-200 ${i?"border-gray-700/50 opacity-60 grayscale-[30%
1]":`${n} hover:shadow-lg active:scale-[0.97]`}`,style:{background:"linear-gradient(180deg, rgba(10,15,26,0.6) 0%, rgba(10,15,26,0.95) 100%)"},children:[!i&&e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:44",className:"absolute inset-0 overflow-hidden pointer-events-none z-[2]",children:[e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:45",className:"absolute w-[3px] h-[3px] rounded-full bg-amber-400/40",style:{left:"15%",top:"20%",animation:"particle-float 4s ease-in-out infinite 0s"}}),e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:46",className:"absolute w-[2px] h-[2px] rounded-full bg-orange-400/50",style:{left:"75%",top:"40%",animation:"particle-float 4s ease-in-out infinite 1s"}}),e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:47",className:"absolute w-[2px] h-[2px] rounded-full bg-white/30",style:{left:"45%",top:"70%",animation:"particle-float 4s ease-in-out infinite 2s"}}),e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:48",className:"absolute w-[3px] h-[3px] rounded-full bg-amber-300/30",style:{left:"85%",top:"15%",animation:"particle-float 4s ease-in-out infinite 3s"}})]}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:52",className:"relative w-full aspect-[4/3] overflow-hidden",children:[e.jsx("img",{"data-loc":"client/src/pages/GameSelectionPage.tsx:53",src:r,alt:a,className:"w-full h-full object-cover",loading:"lazy"}),e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:60",className:"absolute inset-0 bg-gradient-to-t from-[#0A0F1A] via-trans
1parent to-transparent"}),i&&e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:63",className:"absolute inset-0 flex items-center justify-center bg-black/40",children:e.jsx(p,{"data-loc":"client/src/pages/GameSelectionPage.tsx:64",className:"w-8 h-8 text-gray-400"})})]}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:70",className:"flex flex-col items-center px-3 pb-4 pt-2 -mt-4 relative z-10",children:[e.jsx("h3",{"data-loc":"client/src/pages/GameSelectionPage.tsx:72",className:"text-base font-black text-white tracking-wide uppercase mb-1.5",children:a}),t==="active"?e.jsxs("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:78",className:`inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[10px] font-semibold border ${s}`,children:[e.jsx(P,{"data-loc":"client/src/pages/GameSelectionPage.tsx:79",className:"w-3 h-3"}),x]}):e.jsxs("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:83",className:"inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[10px] font-semibold border border-gray-600 text-gray-400 bg-gray-800/50",children:[e.jsx(p,{"data-loc":"client/src/pages/GameSelectionPage.tsx:84",className:"w-3 h-3"}),"COMING SOON"]}),t==="active"&&e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:91",className:"flex items-center justify-center gap-3 mt-3 w-full",children:[e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:92",className:"flex flex-col items-center",children:[e.jsx(v,{"data-loc":"client/src/pages/GameSelectionPage.tsx:93",className:"w-3.5 h-3.5 text-gray-400 mb-0.5"}),e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:94",className:"text-sm font-bold text-white",children:d??0}),e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:95",className:"text-[8px] text-gray-500 uppercase",children:"Formulas"})]}),o!==void 0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:97",className:"w-px h-8 bg-gray-700"}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:97",className:"flex flex-col items-center",children:[e.jsx(w,{"data-loc":"client/src/pages/GameSelectionPage.tsx:97",className:"w-3.5 h-3.5 text-gray-400 mb-0.5"}),e.jsxs("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:97",className:"text-sm font-bold text-white",children:[o,"%"]}),e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:97",className:"text-[8px] text-gray-500 uppercase",children:"Win Rate"})]})]})]}),t==="active"&&e.jsxs("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:103","data-game-card-action":!0,className:`mt-3 w-full py-2.5 rounded-xl flex items-center justify-center gap-1.5 text-xs font-bold transition-all ${a==="Baccarat"?"bg-gradient-to-r from-amber-500 to-amber-600 text-black shadow-[0_0_20px_rgba(245,158,11,0.3)] hover:shadow-[0_0_30px_rgba(245,158,11,0.5)]":a==="Roulette"?"bg-gradient-to-r from-green-500 to-emerald-600 text-white shadow-[0_0_20px_rgba(34,197,94,0.3)] hover:shadow-[0_0_30px_rgba(34,197,94,0.5)]":a==="Slot"?"bg-gradient-to-r from-purple-500 to-violet-600 text-white shadow-[0_0_20px_rgba(168,85,247,0.3)] hover:shadow-[0_0_30px_rgba(168,85,247,0.5)]":"bg-gradient-to-r from-orange-500 to-red-500 text-white shadow-[0_0_20px_rgba(249,115,22,0.3)] hover:shadow-[0_0_30px_rgba(249,115,22,0.5)]"}`,children:[b,e.jsx(G,{"data-loc":"client/src/pages/GameSelectionPage.tsx:116",className:"w-3.5 h-3.5"})]})]})]})}function H(){const{user:a,loading:r}=u(),[,t]=h(),{data:n}=m.formulas.list.useQuery(),{data:s}=m.predictions.stats.useQuery(void 0,{enabled:!!a}),{data:d}=m.featureFlags.get.useQuery(void 0,{enabled:!!a});if(r)return e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:136",className:"game-selection-page",children:e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:137",className:"p-4 space-y-4",children:[e.jsx(l,{"data-loc":"client/src/pages/GameSelectionPage.tsx:138",className:"h-16 w-3/4 rounded-xl"}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:139",className:"grid grid-cols-2 gap-3",children:[e.jsx(l,{"data-loc":"client/src/pages/GameSelectionPage.tsx:140",className:"h-64 roun
1ded-2xl"}),e.jsx(l,{"data-loc":"client/src/pages/GameSelectionPage.tsx:141",className:"h-64 rounded-2xl"}),e.jsx(l,{"data-loc":"client/src/pages/GameSelectionPage.tsx:142",className:"h-48 rounded-2xl"}),e.jsx(l,{"data-loc":"client/src/pages/GameSelectionPage.tsx:143",className:"h-48 rounded-2xl"})]})]})});const o=n?.length??0,g=s?.winRate??0,x=a?.displayName||a?.name||"à¸à¸¹à¹à¹à¸à¹";return e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:155",className:"game-selection-page",children:[e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:157",className:"gs-header",children:[e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:158",className:"gs-header__avatar",children:e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:159",className:"gs-header__avatar-ring",children:e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:160",className:"gs-header__avatar-inner",children:e.jsx(f,{"data-loc":"client/src/pages/GameSelectionPage.tsx:161",className:"w-5 h-5 text-cyan-400"})})})}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:165",className:"gs-header__text",children:[e.jsxs("h1",{"data-loc":"client/src/pages/GameSelectionPage.tsx:166",className:"text-base font-bold text-white",children:["สวัสà¸à¸µà¸à¸£à¸±à¸ ",a?x:""," ð"]}),e.jsxs("p",{"data-loc":"client/src/pages/GameSelectionPage.tsx:169",className:"text-[11px] text-gray-400 mt-0.5",children:["à¸à¸¡à¸à¸£à¹à¸à¸¡à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¹à¸à¸¡à¹à¸«à¹à¸à¸¸à¸à¹à¸¥à¹à¸§",e.jsx("br",{"data-loc":"client/src/pages/GameSelectionPage.tsx:170"}),"à¹à¸¥à¸·à¸à¸à¹à¸à¸¡à¸à¸µà¹à¸à¸¸à¸à¸à¹à¸à¸à¸à¸²à¸£à¹à¸£à¸´à¹à¸¡à¸à¸²à¸£à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¹à¸à¹à¹à¸¥à¸¢"]})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:177",className:"gs-grid",children:[e.jsx(c,{"data-loc":"client/src/pages/GameSelectionPage.tsx:179",name:"Baccarat",image:y,status:"active",borderColor:"border-amber-500/40 shadow-[0_0_15px_rgba(245,158,11,0.1)]",badgeColor:"border-amber-500/50 text-amber-400 bg-amber-500/10",formulaCount:o,winRate:g,onClick:()=>t("/game")}),e.jsx(c,{"data-loc":"client/src/pages/GameSelectionPage.tsx:191",name:"Dragon Tiger",image:k,status:"active",borderColor:"border-orange-500/40 shadow-[0_0_15px_rgba(249,115,22,0.1)]",badgeColor:"border-orange-500/50 text-orange-400 bg-orange-500/10",formulaCount:5,winRate:71,onClick:()=>t("/game/dragon-tiger")}),e.jsx(c,{"data-loc":"client/src/pages/GameSelectionPage.tsx:203",name:"Roulette",image:C,status:"active",borderColor:"border-green-500/40 shadow-[0_0_15px_rgba(34,197,94,0.1)]",badgeColor:"border-green-500/50 text-green-400 bg-green-500/10",formulaCount:0,winRate:0,onClick:()=>t("/roulette")}),e.jsx(c,{"data-loc":"client/src/pages/GameSelectionPage.tsx:215",name:"Sic Bo",image:R,status:d?.sicboEnabled?"active":"coming_soon",borderColor:"border-cyan-500/40 shadow-[0_0_15px_rgba(34,211,238,0.1)]",badgeColor:"border-cyan-500/50 text-cyan-300 bg-cyan-500/10",formulaCount:3,statusLabel:"Statistics Ready",actionLabel:"Open Analyzer",onClick:()=>t("/sic-bo")}),e.jsx(c,{"data-loc":"client/src/pages/GameSelectionPage.tsx:228",name:"Football",image:E,status:"active",borderColor:"border-amber-500/40 shadow-[0_0_15px_rgba(245,158,11,0.1)]",badgeColor:"border-amber-500/50 text-amber-400 bg-amber-500/10",formulaCount:0,statusLabel:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸£à¸´à¸ · à¸à¸£à¹à¸à¸¡à¹à¸à¹à¸à¸²à¸",actionLabel:"à¹à¸à¸´à¸ Football",onClick:()=>t("/football")}),e.jsx(c,{"data-loc":"client/src/pages/GameSelectionPage.tsx:241",name:"Slot",image:A,status:"active",borderColor:"border-purple-500/40 shadow-[0_0_15px_rgba(168,85,247,0.1)]",badgeColor:"border-purple-500/50 text-purple-400 bg-purple-500/10",formulaCount:0,winRate:0,onClick:()=>t("/slot")})]}),a&&s&&e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:255",className:"gs-quick-stats",children:[e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:256",className:"gs-quick-stats__title",children:[e.jsx(S,{"data-loc":"client/src/pages/GameSelectionPage.tsx:257",className:"w-3 h-3 text-amber-400"}),e.jsx("span",{"data-loc":"client/src/pages/GameSelectionPage.tsx:258",children:"สà¸à¸´à¸à¸´à¸£à¸§à¸¡à¸à¸à¸à¸à¸¸à¸"})]}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:260",className:"gs-quick-stats__grid",children:[e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:261",className:"gs-quick-stats__item",children:[e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:262",className:"gs-quick-stats__item-value text-cyan-400",children:s.total??0}),e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:265",className:"gs-quick-stats__item-label",children:"à¸à¸³à¸à¸²à¸¢à¸à¸±à¹à¸à¸«à¸¡à¸"})]}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:267",className:"gs-quick-stats__item",children:[e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:268",className:"gs-quick-stats__item-value text-green-400 flex items-center justify-center gap-0.5",children:[e.jsx(_,{"data-loc":"client/src/pages/GameSelectionPage.tsx:269",className:"w-3.5 h-3.5"}),s.correct??0]}),e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:272",className:"gs-quick-stats__item-label",children:"à¸à¸¹à¸"})]}),e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:274",className:"gs-quick-stats__item",children:[e.jsxs("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:275",className:"gs-quick-stats__item-value text-amber-400 flex items-center justify-center gap-0.5",children:[e.jsx(N,{"data-loc":"client/src/pages/GameSelectionPage.tsx:276",className:"w-3.5 h-3.5"}),s.winRate??0,"%"]}),e.jsx("div",{"data-loc":"client/src/pages/GameSelectionPage.tsx:279",className:"gs-quick-stats__item-label",children:"Win Rate"})]})]})]})]})}export{H as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.