PageSourceSearch

https://bacctrack-7ha7hyw7.manus.space/assets/AdminDashboardPage-zB3Tu1o4.js

js bacctrack-7ha7hyw7.manus.space collected 2026-10-03 05:01:46 UTC 26,021 bytes, 11 lines download raw bytes

1import{f as P,r as A,t as m,j as a,g as w,u as S,S as k,A as h}from"./index-C3Qps0S4.js";import{B as I}from"./badge-DBCec9J8.js";import{S as z}from"./skeleton-Dte_fR4v.js";import{U as x}from"./users-DTIsUZbE.js";import{M as O}from"./monitor-75UmjWyb.js";import{C}from"./clock-CHw5d3NP.js";import{L as v}from"./layout-dashboard-BoaL4xma.js";import{B as T}from"./ban-CxViRXpU.js";import{C as j}from"./credit-card-B52_WeAG.js";import{T as M}from"./trending-up-Dq4_iocl.js";import{C as N}from"./coins-Cn4zgY_g.js";import{C as L}from"./calendar-days-C-4YinGr.js";import{C as $}from"./circle-check-big-D8n-k-Kq.js";import{C as F}from"./circle-x-BRy8Ip-h.js";import{G as b}from"./gamepad-2-IE90SSqp.js";import{Z as U}from"./zap-Dg3Ucl6s.js";import{S as B}from"./shield-dycmF_Bu.js";import{G as y}from"./gift-Dnnb3vap.js";import{M as f,T as G}from"./ticket-B5N_1x6y.js";import{Q}from"./qr-code-BU__z4eM.js";import{T as D}from"./trophy-C56YBVkm.js";import{R}from"./rotate-cw-N2Ip-iOP.js";import{I as E}from"./image-BchddWpn.js";import{V}from"./video-B3bCWWD7.js";import{G as W}from"./globe-BOZ36Itx.js";import{B as Z}from"./bell-BS0Ukiqj.js";import{L as q}from"./link-2-CMBdbpN2.js";import{F as X}from"./flask-conical-BddQd_pP.js";import{G as Y}from"./git-compare-arrows-BpXt8cnX.js";import{W as _}from"./wrench-CR_3XmeC.js";import{D as H}from"./database-zap-1FoMEBzX.js";import{D as J}from"./database-backup-BMSf9Pv0.js";import{S as K}from"./settings-Cj6VgvAK.js";import"./index-Jol-UBUv.js";/**
2 * @license lucide-react v0.453.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const aa=P("Goal",[["path",{d:"M12 13V2l8 4-8 4",key:"5wlwwj"}],["path",{d:"M20.561 10.222a9 9 0 1 1-12.55-5.29",key:"1c0wjv"}],["path",{d:"M8.002 9.997a5 5 0 1 0 8.9 2.02",key:"gb1g7m"}]]);/**
7 * @license lucide-react v0.453.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const ea=P("MonitorPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);function ta(){const[t,r]=A.useState(!1),{data:s,isLoading:p}=m.activity.getOnlineUsers.useQuery(void 0,{refetchInterval:15e3}),o=s?.count??0,d=s?.users??[],g=n=>{const i=Date.now()-new Date(n).getTime(),e=Math.floor(i/1e3);if(e<60)return"เมื่อสักครู่";const c=Math.floor(e/60);return c<5?`${c} นาทีที่แล้ว`:`${c} นาทีที่แล้ว`},u=n=>{if(!n)return"ไม่ทราบ";const i={"/":"หน้าหลัก","/play":"เล่นบาคาร่า","/analysis":"AI วิเคราะห์","/formulas":"สูตรทำนาย","/wallet":"กระเป๋าเงิน","/profile":"โปรไฟล์","/leaderboard":"ลีดเดอร์บอร์ด","/rewards":"รางวัล","/admin":"แอดมิน"};for(const[e,c]of Object.entries(i))if(n.startsWith(e)&&e!=="/")return c;return n==="/"?"หน้าหลัก":n};return a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:45",className:"relative",children:[a.jsxs("button",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:47",onClick:()=>r(!t),className:"flex items-center gap-2 px-3 py-1.5 rounded-full bg-gray-800/60 border border-gray-700/50 hover:border-green-500/50 transition-all duration-200 hover:bg-gray-800/80",children:[a.jsxs("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:52",className:"relative flex h-2.5 w-2.5",children:[a.jsx("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:53",className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"}),a.jsx("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:54",className:"relative inline-flex rounded-full h-2.5 w-2.5 bg-green-500"})]}),a.jsx("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:58",className:"text-sm font-medium text-green-400",children:p?"...":o}),a.jsx("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:61",className:"text-xs text-gray-400 hidden sm:inline",children:"ออนไลน์"})]}),t&&a.jsxs(a.Fragment,{children:[a.jsx("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:68",className:"fixed inset-0 z-40",onClick:()=>r(!1)}),a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:74",className:"absolute top-full mt-2 right-0 z-50 w-72 sm:w-80 bg-gray-900/95 backdrop-blur-xl border border-gray-700/50 rounded-xl shadow-2xl shadow-black/50 overflow-hidden",children:[a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:76",className:"px-4 py-3 border-b border-gray-800/50 flex items-center justify-between",children:[a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:77",className:"flex items-center gap-2",children:[a.jsx(x,{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:78",className:"w-4 h-4 text-green-400"}),a.jsx("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:79",className:"text-sm font-semibold text-white",children:"ผู้ใช้ออนไลน์"})]}),a.jsxs("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:81",className:"text-xs px-2 py-0.5 rounded-full bg-green-500/20 text-green-400 font-medium",children:[o," คน"]})]}),a.jsx("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:87",className:"max-h-64 overflow-y-auto",children:d.length===0?a.jsx("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:89",className:"px-4 py-6 text-center text-gray-500 text-sm",children:"ไม่มีผู้ใช้ออนไลน์"}):a.jsx("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:93",className:"py-1",children:d.map(n=>a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:95",className:"px-4 py-2.5 hover:bg-gray-800/50 transition-colors flex items-center gap-3",children:[a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:100",className:"relative shrink-0",children:[a.jsx("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:101",className:"w-8 h-8 rounded-full overflow-hidden bg-gradient-to-br from-orange-500 to-amber-500 flex items-center justify-center text-white text-xs font-bold",children:n.avatarUrl?a.jsx("img",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:103",src:w(n.avatarUrl),alt:"",className:"w-full h-full object-cover"}):(n.displayName||n.username||"?")[0].toUpperCase()}),a.jsx("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:113",className:"absolute -bottom-0.5 -right-0.5 w-3 h-3 bg-green-500 rounded-full border-2 border-gray-900"})]}),a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:117",className:"flex-1 min-w-0",children:[a.jsx("p",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:118",className:"text-sm font-medium text-white truncate",children:n.displayName||n.username||"ผู้ใช้"}),a.jsxs("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:121",className:"flex items-center gap-2 text-[11px] text-gray-500",children:[a.jsxs("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:122",className:"flex items-center gap-1",children:[a.jsx(O,{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:123",className:"w-3 h-3"}),u(n.currentPage)]}),a.jsxs("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:126",className:"flex items-center gap-1",children:[a.jsx(C,{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:127",className:"w-3 h-3"}
11),g(n.lastActiveAt)]})]})]})]},n.userId))})}),a.jsx("div",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:139",className:"px-4 py-2 border-t border-gray-800/50 text-center",children:a.jsx("span",{"data-loc":"client/src/components/OnlineStatusIndicator.tsx:140",className:"text-[10px] text-gray-600",children:"อัปเดตทุก 15 วินาที • active ภายใน 5 นาที"})})]})]})]})}function Fa(){const{data:t,isLoading:r}=m.admin.dashboard.useQuery(),{data:s}=m.adminDashboardEnhanced.stats.useQuery(),{data:p}=m.admin.pendingFreeClaimsCount.useQuery(),[,o]=S();if(r)return a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:20",className:"space-y-3",children:[a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:21",className:"flex items-center gap-2",children:[a.jsx(v,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:22",className:"w-5 h-5 text-orange-400"}),a.jsx("h1",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:23",className:"text-lg font-bold text-orange-400",children:"ศูนย์ควบคุม"})]}),a.jsx("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:25",className:"grid grid-cols-4 gap-1.5",children:Array.from({length:12}).map((e,c)=>a.jsx(z,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:27",className:"h-16"},c))})]});const d=[{label:"สมาชิก",value:t?.totalUsers??s?.totalMembers??0,icon:x,color:"text-blue-400"},{label:"ใหม่วันนี้",value:s?.newMembersToday??0,icon:k,color:"text-cyan-400"},{label:"ใช้งานอยู่",value:t?.activeUsers??s?.activeMembers??0,icon:h,color:"text-green-400"},{label:"ระงับ/แบน",value:(t?.suspendedUsers??0)+(t?.bannedUsers??0),icon:T,color:"text-red-400"}],g=[{label:"Point รวม",value:`฿${Number(t?.totalCreditsInSystem??s?.totalCreditsInSystem??0).toLocaleString()}`,icon:j,color:"text-emerald-400"},{label:"เติมวันนี้",value:`+${Number(s?.creditsAddedToday??t?.todayTopups??0).toLocaleString()}`,icon:M,color:"text-green-400"},{label:"หักวันนี้",value:`-${Number(t?.todayCreditsDeducted??s?.creditsDeductedToday??0).toLocaleString()}`,icon:N,color:"text-amber-400"},{label:"รายได้/เดือน",value:`${Number(t?.creditRevenueThisMonth??0).toLocaleString()}`,icon:L,color:"text-cyan-400"}],u=[{label:"ถูกวันนี้",value:t?.todaySuccessfulPredictions??0,icon:$,color:"text-green-400"},{label:"ผิดวันนี้",value:t?.todayFailedPredictions??0,icon:F,color:"text-red-400"},{label:"สูตรทั้งหมด",value:t?.totalFormulas??0,icon:b,color:"text-purple-400"},{label:"เปิดใช้",value:t?.activeFormulas??0,icon:U,color:"text-yellow-400"}],n=[{label:"รอตรวจ Point",value:t?.pendingTopups??s?.pendingTopups??0,path:"/admin/credits",icon:B,color:"text-orange-400",urgent:!0,section:"urgent"},{label:"Point ฟรีรอตรวจ",value:p??0,path:"/admin/free-credits",icon:y,color:"text-pink-400",urgent:!0,section:"urgent"},{label:"ตั๋วซัพพอร์ต",value:s?.newSupportTickets??0,path:"/admin/tickets",icon:f,color:"text-blue-400",urgent:!0,section:"urgent"},{label:"ประวัติเติม Point",value:"ดู",path:"/admin/topup-history",icon:j,color:"text-amber-400",urgent:!1,section:"finance"},{label:"ฝาก USDT",value:"ดู",path:"/admin/crypto-deposits",icon:N,color:"text-cyan-400",urgent:!1,section:"finance"},{label:"บัญชีรับโอน/QR",value:"จัดการ",path:"/admin/banks",icon:Q,color:"text-emerald-400",urgent:!1,section:"finance"},{label:"สมาชิก",value:`${t?.totalUsers??0}`,path:"/admin/users",icon:x,color:"text-cyan-400",urgent:!1,section:"members"},{label:"ฉายาผู้เล่น",value:"จัดการ",path:"/admin/titles",icon:x,color:"text-amber-400",urgent:!1,section:"members"},{label:"ลีดเดอร์บอร์ด",value:"ตั้งค่า",path:"/admin/leaderboard",icon:D,color:"text-purple-400",urgent:!1,section:"members"},{label:"รางวัล",value:"ดู",path:"/admin/rewards",icon:y,color:"text-pink-400",urgent:!1,section:"rewards"},{label:"กงล้อ",value:`${s?.luckyDrawParticipantsToday??0}`,path:"/admin/lucky-draw",icon:D,color:"text-yellow-400",urgent:!1,section:"rewards"},{label:"วงล้อ/แลกแต้ม",value:"จัดการ",path:"/admin/spin-wheel",icon:R,color:"text-fuchsia-400",urgent:!1,section:"rewards"},{label:"แบนเนอร์หน้าหลัก",value:"จัดการ",path:"/admin/banners",icon:E,color:"text-amber-400",urgent:!1,section:"content"},{label:"แบนเนอร์ Login",value:"จัดการ",path:"/admin/banners-login",icon:ea,color:"text-indigo-400",urgent:!1,section:"content"},{label:"คลิป YouTube",value:"จัดการ",path:"/admin/tutorial-videos",icon:V,color:"text-red-400",urgent:!1,section:"content"},{label:"เว็บแนะนำ",value:"จัดการ",path:"/admin/recommended-sites",icon:W,color:"text-teal-400",urgent:!1,section:"content"},{label:"ประกาศ",value:"จัดการ",path:"/admin/announcements",icon:Z,color:"text-orange-400",urgent:!1,section:"content"},{label:"ลิงก์เกม",value:"จัดการ",path:"/admin/game-links",icon:q,color:"text-cyan-400",urgent:!1,section:"games"},{label:"ลิงก์เกมรายตัว",value:"จัดการ",path:"/admin/game-individual-links",icon:b,color:"text-purple-400",urgent:!1,section:"games"},{label:"SIC BO Paytable",value:"ตั้งค่า",path:"/admin/sicbo-paytables",icon:b,color:"text-amber-400",urgent:!1,section:"games"},{label:"Football Data",value:"Dev Preview",path:"/admin/football-preview",icon:aa,c
11olor:"text-emerald-400",urgent:!1,section:"games"},{label:"Football Validation",value:"Admin Dev",path:"/admin/football-validation",icon:X,color:"text-amber-400",urgent:!1,section:"games"},{label:"Football Architecture",value:"STEP 6 Dev",path:"/admin/football-architecture",icon:Y,color:"text-sky-400",urgent:!1,section:"games"},{label:"Football Repair",value:"STEP 6.1 Dev",path:"/admin/football-architecture-repair",icon:_,color:"text-violet-400",urgent:!1,section:"games"},{label:"Football Readiness",value:"STEP 6.2 Dev",path:"/admin/football-forward-readiness",icon:H,color:"text-amber-400",urgent:!1,section:"games"},{label:"Football Forward Monitor",value:"F1-D",path:"/admin/football-forward-data",icon:J,color:"text-sky-400",urgent:!1,section:"games"},{label:"แชทสด",value:"ดู",path:"/admin/live-chat",icon:f,color:"text-blue-400",urgent:!1,section:"system"},{label:"ติดต่อ",value:"จัดการ",path:"/admin/contact",icon:f,color:"text-green-400",urgent:!1,section:"system"},{label:"ตั้งค่า",value:"",path:"/admin/settings",icon:K,color:"text-zinc-400",urgent:!1,section:"system"}],i=[{key:"urgent",label:"🔔 รอดำเนินการ"},{key:"finance",label:"💰 การเงิน"},{key:"members",label:"👥 สมาชิก"},{key:"rewards",label:"🎁 รางวัล & กิจกรรม"},{key:"content",label:"📢 คอนเทนต์ & สื่อ"},{key:"games",label:"🎮 เกม & สูตร"},{key:"system",label:"💬 ซัพพอร์ต & ระบบ"}];return a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:98",className:"space-y-3",children:[a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:100",className:"flex items-center justify-between",children:[a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:101",className:"flex items-center gap-2",children:[a.jsx(v,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:102",className:"w-5 h-5 text-orange-400"}),a.jsx("h1",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:103",className:"text-lg font-bold text-orange-400",children:"ศูนย์ควบคุม"})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:105",className:"flex items-center gap-2",children:[a.jsx(ta,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:106"}),a.jsxs(I,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:107",variant:"outline",className:"border-green-500/50 text-green-400 text-[10px] px-1.5 py-0",children:[a.jsx(h,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:108",className:"w-2.5 h-2.5 mr-0.5"})," ปกติ"]})]})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:114",className:"space-y-1.5",children:[a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:115",className:"text-[11px] font-medium text-zinc-500 uppercase tracking-wider",children:"สมาชิก"}),a.jsx("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:116",className:"grid grid-cols-4 gap-1.5",children:d.map(e=>a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:118",className:"bg-zinc-900/60 border border-zinc-800 rounded-lg p-2 text-center",children:[a.jsx(e.icon,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:119",className:`w-3.5 h-3.5 mx-auto ${e.color} mb-0.5`}),a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:120",className:`text-base font-bold ${e.color} leading-tight`,children:e.value}),a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:121",className:"text-[9px] text-zinc-500 mt-0.5 truncate",children:e.label})]},e.label))})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:127",className:"space-y-1.5",children:[a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:128",className:"text-[11px] font-medium text-zinc-500 uppercase tracking-wider",children:"Point"}),a.jsx("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:129",className:"grid grid-cols-4 gap-1.5",children:g.map(e=>a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:131",className:"bg-zinc-900/60 border border-zinc-800 rounded-lg p-2 text-center",children:[a.jsx(e.icon,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:132",className:`w-3.5 h-3.5 mx-auto ${e.color} mb-0.5`}),a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:133",className:`text-sm font-bold ${e.color} leading-tight`,children:e.value}),a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:134",className:"text-[9px] text-zinc-500 mt-0.5 truncate",children:e.label})]},e.label))})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:140",className:"space-y-1.5",children:[a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:141",className:"text-[11px] font-medium text-zinc-500 uppercase tracking-wider",children:"สูตรทำนาย"}),a.jsx("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:142",className:"grid grid-cols-4 gap-1.5",children:u.map(e=>a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:144",className:"bg-zinc-900/60 border border-zinc-800 rounded-lg p-2 text-center",children:[a.jsx(e.icon,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:145",className:`w-3.5 h-3.5 mx-auto ${e.color} mb-0.5`}),a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:146",className:`text-base font-bold ${e.color} leading-tight`,children:e.value}),a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:147",className:"text-[9px] text-zinc-500 mt-0.5 truncate",children:e.label})]},e.label))})]}),i.map(e=>{const c=n.filter(l=>
11l.section===e.key);return c.length===0?null:a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:158",className:"space-y-1.5",children:[a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:159",className:"text-[11px] font-medium text-zinc-500 uppercase tracking-wider",children:e.label}),a.jsx("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:160",className:"grid grid-cols-3 gap-1.5",children:c.map(l=>a.jsxs("button",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:162",onClick:()=>o(l.path),className:`flex flex-col items-center gap-1 p-2.5 rounded-lg border transition-all hover:scale-[1.02] active:scale-[0.97] ${l.urgent&&Number(l.value)>0?"bg-orange-500/10 border-orange-500/40":"bg-zinc-900/60 border-zinc-800 hover:border-zinc-700"}`,children:[a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:171",className:"relative",children:[a.jsx(l.icon,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:172",className:`w-4 h-4 ${l.color}`}),l.urgent&&Number(l.value)>0&&a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:174",className:"absolute -top-1 -right-1.5 w-2 h-2 bg-orange-400 rounded-full animate-pulse"})]}),a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:177",className:"text-[10px] font-medium text-zinc-300 text-center leading-tight truncate w-full",children:l.label}),l.value!==""&&a.jsx("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:179",className:`text-[9px] ${l.urgent&&Number(l.value)>0?"text-orange-400":"text-zinc-500"}`,children:l.value})]},l.label))})]},e.key)}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:191",className:"grid grid-cols-2 gap-1.5",children:[a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:192",className:"bg-zinc-900/60 border border-zinc-800 rounded-lg p-2.5",children:[a.jsxs("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:193",className:"text-[10px] font-medium text-zinc-400 mb-1.5 flex items-center gap-1",children:[a.jsx(h,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:194",className:"w-3 h-3"})," สรุประบบ"]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:196",className:"space-y-1",children:[a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:197",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:198",className:"text-zinc-500",children:"เซสชันเกม"}),a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:199",className:"text-blue-400 font-medium",children:t?.totalGameSessions??0})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:201",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:202",className:"text-zinc-500",children:"Bankroll"}),a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:203",className:"text-orange-400 font-medium",children:t?.activeBankrollSessions??0})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:205",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:206",className:"text-zinc-500",children:"กงล้อวันนี้"}),a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:207",className:"text-yellow-400 font-medium",children:s?.luckyDrawParticipantsToday??0})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:209",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:210",className:"text-zinc-500",children:"ซัพพอร์ตรอ"}),a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:211",className:"text-pink-400 font-medium",children:s?.newSupportTickets??0})]})]})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:216",className:"bg-zinc-900/60 border border-zinc-800 rounded-lg p-2.5",children:[a.jsxs("p",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:217",className:"text-[10px] font-medium text-zinc-400 mb-1.5 flex items-center gap-1",children:[a.jsx(G,{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:218",className:"w-3 h-3"})," อัปเดตล่าสุด"]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:220",className:"space-y-1",children:[a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:221",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:222",className:"text-zinc-500",children:"อนุมัติ"}),a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:223",className:"text-green-400 font-medium",children:s?.approvedTopupsToday??0})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:225",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:226",className:"text-zinc-500",children:"สมาชิกใหม่"}),a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:227",className:"text-cyan-400 font-medium",children:s?.newMembersToday??0})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:229",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:230",className:"text-zinc-500",children:"Point+"}),a.jsxs("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:231",className:"text-green-400 font-medium",children:["+",Number(s?.creditsAddedToday??0).toLocaleStr
11ing()]})]}),a.jsxs("div",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:233",className:"flex justify-between text-[11px]",children:[a.jsx("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:234",className:"text-zinc-500",children:"Point-"}),a.jsxs("span",{"data-loc":"client/src/pages/admin/AdminDashboardPage.tsx:235",className:"text-amber-400 font-medium",children:["-",Number(s?.creditsDeductedToday??0).toLocaleString()]})]})]})]})]})]})}export{Fa 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.