1import{r as C,t as A,j as l,T as $,S as H,J as Z,d as L,b as E,I as T,L as _,aa as ll,ab as al,ac as tl,C as sl,e as B,ad as el,u as ol}from"./index-C3Qps0S4.js";import{S as y}from"./skeleton-Dte_fR4v.js";import{B as Q}from"./badge-DBCec9J8.js";import{B as k}from"./button-xdpkFraK.js";import{d as S}from"./footballUi-63-GIEDR.js";import{D as U}from"./FootballHomeComponents-BE1VZLe4.js";import{M as f,a as u,b as nl,c as il,O as cl,S as rl,H as dl,d as xl,L as ml,e as G,E as bl}from"./FootballMatchComponents-Cz2x-Dkj.js";import{D as J}from"./database-zap-1FoMEBzX.js";import{I as pl}from"./info-DmEqpz6r.js";import{G as Al}from"./gauge-C7AQYjdr.js";import{C as I}from"./circle-check-DmGdFs0e.js";import{H as fl}from"./history-B2QWoLNH.js";import{R as O}from"./refresh-cw-DwgqC19c.js";import{A as R}from"./arrow-left-AxGNO8ZF.js";import"./index-Jol-UBUv.js";import"./calendar-days-C-4YinGr.js";const q={recent_form:"à¸à¸à¸£à¹à¸¡à¸¥à¹à¸²à¸ªà¸¸à¸",home_away_form:"à¸à¸¥à¸à¸²à¸à¹à¸«à¸¢à¹à¸²/à¹à¸¢à¸·à¸à¸",standings:"à¸à¸²à¸£à¸²à¸à¸à¸°à¹à¸à¸",goals_for_against:"à¸à¸£à¸°à¸à¸¹à¹à¸à¹/à¹à¸ªà¸µà¸¢",match_statistics:"สà¸à¸´à¸à¸´à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸",h2h:"à¸à¸¥à¸à¸²à¸à¸à¸à¸à¸±à¸",lineups:"รายà¸à¸·à¹à¸à¸à¸¹à¹à¹à¸¥à¹à¸",injuries:"à¸à¸¹à¹à¹à¸¥à¹à¸à¸à¸²à¸à¹à¸à¹à¸"},K={available:{label:"à¸à¸£à¹à¸à¸¡",icon:"â",tone:"text-emerald-300"},pending:{label:"รà¸à¸à¹à¸à¸¡à¸¹à¸¥",icon:"â¦",tone:"text-amber-300"},unavailable:{label:"à¹à¸¡à¹à¸¡à¸µà¸à¹à¸à¸¡à¸¹à¸¥",icon:"â",tone:"text-zinc-500"}},hl={"home.recentFormScore":"à¸à¸à¸£à¹à¸¡à¸¥à¹à¸²à¸ªà¸¸à¸à¸à¸à¸à¹à¸
1à¹à¸²à¸à¹à¸²à¸","away.recentFormScore":"à¸à¸à¸£à¹à¸¡à¸¥à¹à¸²à¸ªà¸¸à¸à¸à¸à¸à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸","home.venueFormScore":"à¸à¸¥à¸à¸²à¸à¹à¸à¸à¹à¸²à¸à¸à¸à¸à¹à¸à¹à¸²à¸à¹à¸²à¸","away.venueFormScore":"à¸à¸¥à¸à¸²à¸à¸à¸à¸à¸à¹à¸²à¸à¸à¸à¸à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸","home.goalsScoredAverage":"à¸à¹à¸²à¹à¸à¸¥à¸µà¹à¸¢à¸à¸£à¸°à¸à¸¹à¹à¸à¹à¸à¸à¸à¹à¸à¹à¸²à¸à¹à¸²à¸","away.goalsScoredAverage":"à¸à¹à¸²à¹à¸à¸¥à¸µà¹à¸¢à¸à¸£à¸°à¸à¸¹à¹à¸à¹à¸à¸à¸à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸","home.goalsConcededAverage":"à¸à¹à¸²à¹à¸à¸¥à¸µà¹à¸¢à¸à¸£à¸°à¸à¸¹à¹à¸ªà¸µà¸¢à¸à¸à¸à¹à¸à¹à¸²à¸à¹à¸²à¸","away.goalsConcededAverage":"à¸à¹à¸²à¹à¸à¸¥à¸µà¹à¸¢à¸à¸£à¸°à¸à¸¹à¹à¸ªà¸µà¸¢à¸à¸à¸à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸","home.attackStrength":"à¸à¸£à¸°à¸ªà¸´à¸à¸à¸´à¸ าà¸à¹à¸à¸¡à¸£à¸¸à¸à¸à¸à¸à¹à¸à¹à¸²à¸à¹à¸²à¸","away.attackStrength":"à¸à¸£à¸°à¸ªà¸´à¸à¸à¸´à¸ าà¸à¹à¸à¸¡à¸£à¸¸à¸à¸à¸à¸à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸","home.defenceStrength":"à¸à¸£à¸°à¸ªà¸´à¸à¸à¸´à¸ าà¸à¹à¸à¸¡à¸£à¸±à¸à¸à¸à¸à¹à¸
1à¹à¸²à¸à¹à¸²à¸","away.defenceStrength":"à¸à¸£à¸°à¸ªà¸´à¸à¸à¸´à¸ าà¸à¹à¸à¸¡à¸£à¸±à¸à¸à¸à¸à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸","home.leaguePosition":"à¸à¸±à¸à¸à¸±à¸à¹à¸à¸¥à¸µà¸à¸à¸à¸à¹à¸à¹à¸²à¸à¹à¸²à¸","away.leaguePosition":"à¸à¸±à¸à¸à¸±à¸à¹à¸à¸¥à¸µà¸à¸à¸à¸à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸",h2hHomePerformance:"à¸à¸¥à¸à¸²à¸à¸à¸²à¸£à¸à¸à¸à¸±à¸",leaguePositionDifference:"à¸à¸§à¸²à¸¡à¹à¸à¸à¸à¹à¸²à¸à¸à¸à¸à¸à¸±à¸à¸à¸±à¸à¹à¸à¸¥à¸µà¸",leagueHomeGoalsAverage:"à¸à¹à¸²à¹à¸à¸¥à¸µà¹à¸¢à¸à¸£à¸°à¸à¸¹à¹à¸à¹à¸²à¸à¹à¸²à¸à¹à¸à¸¥à¸µà¸",leagueAwayGoalsAverage:"à¸à¹à¸²à¹à¸à¸¥à¸µà¹à¸¢à¸à¸£à¸°à¸à¸¹à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸à¹à¸à¸¥à¸µà¸"};function p(a){return Number.isFinite(a)?`${(a*100).toFixed(1)}%`:"N/A"}function V(a){return Number.isFinite(a)?a.toFixed(2):"N/A"}function W(a){return hl[a]??"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸£à¸°à¸à¸à¸à¸à¸²à¸à¹à¸à¸à¸à¸³à¸¥à¸à¸"}function D(a){return a.replace(/^Match Statistics:\s*/i,"สà¸à¸´à¸à¸´à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸: ").replace(/^Lineups:\s*/i,"รายà¸à¸·à¹à¸à¸à¸¹à¹à¹à¸¥à¹à¸: ").replace(/^Injuries:\s*/i,"à¸à¸¹à¹à¹à¸¥à¹à¸à¸à¸²à¸à¹à¸à¹à¸: ").replace(/^Standings:\s*/i,"à¸à¸²à¸£à¸²à¸à¸à¸°à¹à¸à¸: ").replace(/^Recent Form:\s*/i,"à¸à¸à¸£à¹à¸¡à¸¥à¹à¸²à¸ªà¸¸à¸: ")}function ul(a){if(!a)return[];const s=["สรุà¸à¸à¸§à¸²à¸¡à¸«à¸¡à¸²à¸¢:","à¹à¸«à¸à¸¸à¸à¸¥à¸«à¸¥à¸±à¸à¸à¸µà¹à¸ªà¸à¸±à¸à¸ªà¸à¸¸à¸à¸à¸²à¸£à¸à¸£à¸°à¹à¸¡à¸´à¸:","à¸à¸§à¸²à¸¡à¹à¸ªà¸µà¹à¸¢à¸à¹à¸¥à¸°à¸à¹à¸à¸à¸³à¸à¸±à¸à¸à¸à¸à¸à¸²à¸£à¸à¸£à¸°à¹à¸¡à¸´à¸:","à¸à¹à¸à¸à¸§à¸£à¸£à¸°à¸§à¸±à¸à¸ªà¸¸à¸à¸à¹à¸²à¸¢:"];let t=a;for(const e of s)t=t.replace(e,`|||${e}`);return t.split("|||").map(e=>e.trim()).filter(Boolean)}function b({label:a,value:s,note:t,info:e}){return l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:97",className:`rounded-xl p-3 ${u}`,children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:98",className:"flex items-center gap-1.5",children:[l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:99",className:"text-[9px] font-bold uppercase tracking-[0.09em] text-zinc-600",children:a}),e&&l.jsxs(ll,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:100",children:[l.jsx(al,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:100",asChild:!0,children:l.jsx("button",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:100",type:"button","aria-label":`à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸¡à¹à¸à¸µà¹à¸¢à¸§à¸à¸±à¸ ${a}`,className:"grid h-5 w-5 place-items-center rounded-full text-zinc-500 hover:bg-white/5 hover:text-amber-300",children:l.jsx(pl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:100",className:"h-3.5 w-3.5"})})}),l.jsx(tl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:100",side:"bottom",className:"max-w-[280px] text-[10px] leading-5",children:e})]})]}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:102",className:"mt-1 text-lg font-black tabular-nums text-white",children:s}),t&&l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:103",className:"mt-1 text-[9px] leading-4 text-zinc-500",children:t})]})}function yl({canAnalyze:a,onAnalyze:s,loading:t}){return l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:110",className:`rounded-3xl px-5 py-12 text-center ${f}`,children:[a?l.jsx(T,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:111",className:"mx-auto h-10 w-10 text-amber-300"}):l.jsx(_,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:111",className:"mx-auto h-10 w-10 text-zinc-500"}),l.jsx("h2",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:112",className:"mt-3 text-base font-black text-white",children:a?"ยัà¸à¹à¸¡à¹à¸¡à¸µà¸à¸à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸¹à¹à¸à¸µà¹":"à¸à¸à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¹à¸à¸à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¸à¸¹à¸à¸¥à¹à¸à¸"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:113",className:"mx-auto mt-2 max-w-lg text-[11px] leading-5 text-zinc-500",children:a?"Admin สามารà¸à¹à¸£à¸´à¹à¸¡à¹à¸«à¸¥à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸£à¸´à¸à¹à¸¥à¸°à¸à¸³à¸à¸§à¸à¹à¸à¸ manual à¹à¸à¹ à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸±à¸à¹à¸à¸¡à¸±à¸à¸´ à¹à¸¥à¸°à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¸ªà¸£à¹à¸²à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¹à¸à¸":"à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¹à¸£à¸´à¹à¸¡à¹à¸¥à¹à¸§ ระà¸à¸à¸à¸
1¶à¸à¹à¸¡à¹à¸ªà¸£à¹à¸²à¸à¸à¸¥à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸¢à¹à¸à¸à¸«à¸¥à¸±à¸à¸«à¸¥à¸±à¸à¸à¸£à¸²à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸"}),a&&l.jsxs(k,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:116",type:"button",onClick:s,disabled:t,className:"mt-5 min-h-11 bg-gradient-to-r from-amber-300 to-amber-500 font-black text-zinc-950 hover:from-amber-200 hover:to-amber-400",children:[l.jsx(H,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:116",className:`mr-2 h-4 w-4 ${t?"animate-pulse motion-reduce:animate-none":""}`}),"à¹à¸£à¸´à¹à¸¡à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¹à¸§à¸¢à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸£à¸´à¸"]})]})}function gl({record:a}){const s=a.modelOutput;if(!s)return null;const t=[{key:"home",label:"à¹à¸à¹à¸²à¸à¹à¸²à¸",value:s.matchResult.home,tone:"bg-amber-400"},{key:"draw",label:"à¹à¸ªà¸¡à¸",value:s.matchResult.draw,tone:"bg-zinc-400"},{key:"away",label:"à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸",value:s.matchResult.away,tone:"bg-orange-500"}];return l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:130",className:`rounded-2xl p-4 ${f}`,children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:131",className:"flex items-start gap-2",children:[l.jsx(sl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:131",className:"mt-0.5 h-4 w-4 shrink-0 text-amber-300"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:131",children:[l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:131",className:"text-sm font-black text-white",children:"à¸à¸§à¸²à¸¡à¸à¹à¸²à¸à¸°à¹à¸à¹à¸ 1X2 à¸à¸²à¸à¹à¸à¸à¸à¸³à¸¥à¸à¸"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:131",className:"mt-1 text-[10px] leading-4 text-zinc-500",children:"à¹à¸ªà¸à¸à¸à¹à¸²à¸à¸²à¸ Model Output à¹à¸à¸¢à¸à¸£à¸ à¹à¸¡à¹à¹à¸à¹à¸à¸³à¸à¸§à¸à¸«à¸£à¸·à¸à¸à¸£à¸±à¸à¸à¸±à¸§à¹à¸¥à¸à¹à¸«à¸¡à¹à¹à¸à¸«à¸à¹à¸²à¸à¸"})]})]}),l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:132",className:"mt-4 flex h-3 overflow-hidden rounded-full bg-white/[0.05]","aria-label":`à¹à¸à¹à¸²à¸à¹à¸²à¸ ${p(t[0].value)} à¹à¸ªà¸¡à¸ ${p(t[1].value)} à¸à¸µà¸¡à¹à¸¢à¸·à¸à¸ ${p(t[2].value)}`,children:t.map(e=>l.jsx("span",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:133",className:`${e.tone} transition-[width] duration-500 motion-reduce:transition-none`,style:{width:p(e.value)}},e.key))}),l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:135",className:"mt-3 grid grid-cols-3 gap-2",children:t.map(e=>l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:135",className:`rounded-xl p-2.5 text-center ${u}`,children:[l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:135",className:"truncate text-[9px] text-zinc-500",children:e.label}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:135",className:"mt-1 text-base font-black tabular-nums text-white",children:p(e.value)})]},e.key))}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:136",className:"mt-3 text-[9px] leading-4 text-zinc-600",children:"à¸à¸²à¸£à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸µà¹à¹à¸à¹à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¥à¸°à¹à¸à¸à¸à¸³à¸¥à¸à¸à¸à¸²à¸à¸ªà¸à¸´à¸à¸´ à¸à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¸à¸£à¸´à¸à¸à¸²à¸à¹à¸à¸à¸à¹à¸²à¸à¹à¸à¹"})]})}function Fl({record:a}){const s=a.modelOutput;if(!s)return null;const t=s.goals;return l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:146",className:"grid gap-3 lg:grid-cols-[0.8fr_1.2fr]",children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:147",className:`rounded-2xl p-4 ${f}`,children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:148",className:"flex items-center gap-2",children:[l.jsx(Al,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:148",className:"h-4 w-4 text-amber-300"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:148",children:[l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:148",className:"text-sm font-black text-white",children:"Model Expected Goals"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:148",className:"text-[9px] text-zinc-600",children:"à¸à¸£à¸°à¸à¸¹à¸à¸²à¸à¸«à¸¡à¸²à¸¢à¸à¸²à¸à¹à¸à¸à¸à¸³à¸¥à¸à¸"})]})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:149",className:"mt-3 grid grid-cols-2 gap-2",children:[l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:149",label:"Home",value:V(t.expectedHomeGoals)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:149",label:"Away",value:V(t.expectedAwayGoals)})]}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:150",className:"mt-3 text-[9px] leading-4 text-zinc-600",children:"à¹à¸à¹à¸à¸à¹à¸²à¸à¸²à¸à¸«à¸¡à¸²à¸¢à¸à¸²à¸à¹à¸à¸à¸à¸³à¸¥à¸à¸à¸à¸à¸ MAWIN à¹à¸¡à¹à¹à¸à¹à¸ªà¸à¸´à¸à¸´à¸à¸²à¸à¸à¸²à¸£à¸à¸²à¸à¸à¸¹à¹à¹à¸«à¹à¸à¸£à¸´à¸à¸²à¸£ à¹à¸¥à¸°à¹à¸¡à¹à¹à¸à¹à¸ªà¸à¸à¸£à¹à¸à¸µà¹à¸¢à¸·à¸à¸¢à¸±à¸à¸§à¹à¸²à¸à¸°à¹à¸
1ิà¸à¸à¸¶à¹à¸à¸à¸£à¸´à¸"})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:152",className:`rounded-2xl p-4 ${f}`,children:[l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:153",className:"text-sm font-black text-white",children:"à¸à¸§à¸²à¸¡à¸à¹à¸²à¸à¸°à¹à¸à¹à¸à¸à¹à¸²à¸à¸à¸£à¸°à¸à¸¹"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:154",className:"mt-3 grid grid-cols-2 gap-2 sm:grid-cols-3",children:[l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:155",label:"Over 1.5",value:p(t.over15)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:156",label:"Over 2.5",value:p(t.over25)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:157",label:"Over 3.5",value:p(t.over35)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:158",label:"Under 2.5",value:p(t.under25)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:159",label:"Under 3.5",value:p(t.under35)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:160",label:"BTTS Yes / No",value:`${p(t.btts.yes)} / ${p(t.btts.no)}`})]})]})]})}function X(a){const s=[];for(const t of a.eligibility.dimensions)t.status!=="available"&&(t.key==="lineups"&&t.status==="pending"?s.push("รายà¸à¸·à¹à¸à¸à¸¹à¹à¹à¸¥à¹à¸à¸à¸±à¸§à¸à¸£à¸´à¸à¸¢à¸±à¸à¹à¸¡à¹à¸à¸£à¸°à¸à¸²à¸¨"):t.key==="match_statistics"?s.push("สà¸à¸´à¸à¸´à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¸à¸²à¸à¸ªà¹à¸§à¸à¸¢à¸±à¸à¹à¸¡à¹à¸¡à¸µà¸à¹à¸à¸¡à¸¹à¸¥"):t.key==="injuries"?s.push("à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸¹à¹à¹à¸¥à¹à¸à¸à¸²à¸à¹à¸à¹à¸à¸¢à¸±à¸à¹à¸¡à¹à¸à¸£à¸"):s.push(`${q[t.key]??t.label}: ${K[t.status].label}`));a.modelOutput?.calibration.status==="uncalibrated_development"&&s.push("à¹à¸à¸à¸à¸³à¸¥à¸à¸à¸¢à¸±à¸à¸à¸¢à¸¹à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸²à¸£à¸à¸à¸ªà¸à¸à¹à¸¥à¸°à¸à¸£à¸±à¸à¹à¸à¸µà¸¢à¸"),a.modelOutput?.confidence.disagreement&&a.modelOutput.disagreementMessage&&s.push(a.modelOutput.disagreementMessage);for(const t of a.eligibility.missingReasons)s.push(D(t));for(const t of a.explanation?.riskFactors??[])s.push(D(t));return Array.from(new Set(s)).slice(0,8)}function Pl({record:a}){const s=a.explanation,t=s?.status==="ready"?s.keyFactors.slice(0,6).map(W):[],e=X(a);return l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:188",className:"grid gap-3 lg:grid-cols-2",children:[l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:189",className:`rounded-2xl p-4 ${f}`,children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:190",className:"flex items-center gap-2",children:[l.jsx(I,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:190",className:"h-4 w-4 text-emerald-300"}),l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:190",className:"text-sm font-black text-white",children:"à¸à¸±à¸à¸à¸±à¸¢à¸ªà¸³à¸à¸±à¸"})]}),t.length?l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:191",className:"mt-3 flex flex-wrap gap-2",children:t.map((d,o)=>l.jsxs("span",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:191",className:"inline-flex items-center gap-1.5 rounded-full border border-emerald-400/15 bg-emerald-400/[0.05] px-3 py-2 text-[10px] leading-4 text-zinc-300",children:[l.jsx(I,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:191",className:"h-3.5 w-3.5 shrink-0 text-emerald-300"}),d]},`factor-${o}`))}):l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:191",className:"mt-3 text-[10px] text-zinc-500",children:"à¸à¸³à¸à¸à¸´à¸à¸²à¸¢à¸à¸±à¸à¸à¸±à¸¢à¸¢à¸±à¸à¹à¸¡à¹à¸à¸£à¹à¸à¸¡"})]}),l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:193",className:"rounded-2xl border border-orange-400/15 bg-orange-400/[0.035] p-4",children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:194",className:"flex items-center gap-2",children:[l.jsx($,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:194",className:"h-4 w-4 text-orange-300"}),l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:194",className:"text-sm font-black text-white",children:"สิà¹à¸à¸à¸µà¹à¸à¸§à¸£à¸à¸´à¸à¸²à¸£à¸à¸²"})]}),e.length?l.jsx("ul",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:195",className:"mt-3 space-y-2",children:e.map((d,o)=>l.jsxs("li",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:195",className:"flex items-start gap-2 text-[10px] leading-5 text-zinc-300",children:[l.jsx($,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:195",className:"mt-0.5 h-3.5 w-3.5 shrink-0 text-orange-300"}),d]},`${d}-${o}`))}):l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:195",className:"mt-3 text-[10px] text-zinc-500",children:"ยัà¸à¹à¸¡à¹à¸à¸à¸à¹à¸à¸à¸³à¸à¸±à¸à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸¡à¸à¸²à¸à¸ªà¸à¸²à¸à¸°à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸±à¸à¸à¸¸à¸à¸±à¸"})]})]})}function P({title:a,children:s}){return l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:202",className:`rounded-xl p-3 ${u}`,children:[l.jsx("h4",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:202",className:"text-[10px] font-black text-amber-300",children:a}),l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:202",className:"mt-2 space-y-2 text-[11px] leading-6 text-zinc-300",children:s})]})}function z(a,s){return a.explanation?.status!=="ready"?[]:a.explanation.reasons.filter(t=>t.featureKeys.some(e=>s.some(d=>e.includes(d)))).map(t=>t.statement)}function jl({record:a}){const s=a.explanation;if(s?.status!=="ready")return l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:212",className:`rounded-2xl p-4 ${f}`,children:[l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:212",className:"text-sm font-black text-white",children:"à¸à¸à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹ AI ภาษาà¹à¸à¸¢"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:212",className:"mt-3 text-[10px] leading-5 text-zinc-500",children:"à¸à¸³à¸à¸à¸´à¸à¸²à¸¢ AI ยัà¸à¹à¸¡à¹à¸à¸£à¹à¸à¸¡ à¹à¸à¹à¸à¸¥à¸à¸±à¸§à¹à¸¥à¸à¸à¸²à¸à¹à¸à¸à¸à¸³à¸¥à¸à¸à¸¢à¸±à¸à¸à¸à¹à¸à¸´à¸¡à¹à¸¥à¸°à¹à¸¡à¹à¸à¸¹à¸à¹à¸à¹à¹à¸"})]});const t=z(a,["recentForm","venueForm"]),e=z(a,["attackStrength","goalsScored"]),d=z(a,["defenceStrength","goalsConceded","cleanSheet"]),o=z(a,["h2h"]),m=X(a),n=ul(s.text);return l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:220",className:`rounded-2xl p-4 ${f}`,children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:221",className:"flex items-start justify-between gap-3",children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:221",className:"flex items-start gap-2",children:[l.jsx(T,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:221",className:"mt-0.5 h-4 w-4 shrink-0 text-amber-300"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:221",children:[l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:221",className:"text-sm font-black text-white",children:"à¸à¸à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹ AI ภาษาà¹à¸à¸¢"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:221",className:"mt-1 text-[9px] text-zinc-600",children:"à¸à¸à¸´à¸à¸²à¸¢ Model Output à¹à¸¥à¸° Traceable Evidence à¹à¸à¹à¸²à¸à¸±à¹à¸ à¹à¸¡à¹à¸¡à¸µà¸ªà¸´à¸à¸à¸´à¹à¹à¸à¹à¸à¸±à¸§à¹à¸¥à¸"})]})]}),l.jsx(Q,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:221",variant:"outline",className:"border-white/10 text-[8px] text-zinc-500",children:"AI Explanation"})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:222",className:"mt-4 grid gap-2 sm:grid-cols-2",children:[l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:223",title:"ภาà¸à¸£à¸§à¸¡",children:n.map((i,c)=>l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:223",children:i},c))}),t.length>0&&l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:224",title:"à¸à¸à¸£à¹à¸¡à¸¥à¹à¸²à¸ªà¸¸à¸",children:t.map((i,c)=>l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:224",children:i},c))}),e.length>0&&l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:225",title:"à¹à¸à¸¡à¸£à¸¸à¸",children:e.map((i,c)=>l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:225",children:i},c))}),d.length>0&&l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:226",title:"à¹à¸à¸¡à¸£à¸±à¸",children:d.map((i,c)=>l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:226",children:i},c))}),o.length>0&&l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:227",title:"à¸à¸¥à¸à¸²à¸à¸à¸à¸à¸±à¸",children:o.map((i,c)=>l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:227",children:i},c))}),l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:228",title:"à¸à¸±à¸à¸à¸±à¸¢à¸à¸µà¹à¸¡à¸µà¸à¸¥",children:l.jsx("ul",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:228",className:"space-y-1.5",children:s.keyFactors.map((i,c)=>l.jsxs("li",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:228",children:["⢠",W(i)]},c))})}),l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:229",title:"à¸à¹à¸à¸à¸³à¸à¸±à¸à¸à¸à¸à¸à¹à¸à¸¡à¸¹à¸¥",children:l.jsx("ul",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:229",className:"space-y-1.5",children:m.map((i,c)=>l.jsxs("li",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:229",children:["⢠",i]},c))})}),l.jsx(P,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:230",title:"à¸à¸à¸ªà¸£à¸¸à¸",children:l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:230",children:"à¸à¸§à¸£à¸à¹à¸²à¸à¸à¸¥à¸à¸µà¹à¸£à¹à¸§à¸¡à¸à¸±à¸à¸à¸§à¸²à¸¡à¸à¸£à¹à¸à¸¡à¸à¸à¸à¸à¹à¸à¸¡à¸¹à¸¥ สà¸à¸²à¸à¸°à¸à¸²à¸£à¸à¸£à¸±à¸à¹à¸à¸µà¸¢à¸ à¹à¸¥à¸°à¸à¹à¸à¸¡à¸¹à¸¥à¸¥à¹à¸²à¸ªà¸¸à¸à¸à¹à¸à¸à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¹à¸ªà¸¡à¸"})})]})]})}function Nl({record:a}){const s=a.eligibility.dimensions.filter(t=>t.status==="available").length;return l.jsxs("details",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:239",className:`group overflow-hidden rounded-2xl ${f}`,children:[l.jsxs("summary",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:240",className:"flex min-h-14 cursor-pointer list-none items-center gap-3 px-4",children:[l.jsx(J,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:240",className:"h-4 w-4 shrink-0 text-amber-300"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:240",className:"min-w-0 flex-1",children:[l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:240",className:"text-[11px] font-black text-white",children:"à¸à¸§à¸²à¸¡à¸à¸£à¹à¸à¸¡à¸à¸à¸à¸à¹à¸à¸¡à¸¹à¸¥"}),l.jsxs("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:240",className:"mt-0.5 text-[9px] text-zinc-600",children:[s,"/",a.eligibility.dimensions.length," à¸à¸£à¹à¸à¸¡ · à¹à¸à¸°à¹à¸à¸·à¹à¸à¸à¸¹à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸"]})]}),l.jsx(U,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:240",level:a.eligibility.level,compact:!0}),l.jsx(B,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:240",className:"h-4 w-4 shrink-0 text-zinc-500 transition-transform group-open:rotate-180 motion-reduce:transition-none"})]}),l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:241",className:"grid grid-cols-1 gap-1.5 border-t border-white/[0.06] p-3 min-[390px]:grid-cols-2 sm:grid-cols-4",children:a.eligibility.dimensions.map(t=>{const e=K[t.status];return l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:241",className:`rounded-xl p-3 ${u}`,children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:241",className:"flex items-center justify-between gap-2",children:[l.jsx("span",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:241",className:"truncate text-[10px] font-bold text-zinc-300",children:q[t.key]??t.label}),l.jsx("span",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:241",className:`shrink-0 text-[10px] font-black ${e.tone}`,children:e.icon})]}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:241",className:`mt-1 text-[9px] font-semibold ${e.tone}`,children:e.label}),l.jsxs("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:241",className:"mt-1 text-[8px] leading-4 text-zinc-600",children:["Sample ",t.sampleSize]})]},t.key)})})]})}function vl({record:a,sourceUpdatedAt:s,phase:t}){const e=a.audit.lockState==="locked"||t!=="upcoming",d=a.eligibility.dimensions.find(o=>o.key==="lineups")?.status==="available";return l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:250",className:`rounded-2xl p-4 ${f}`,children:[e&&l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:251",className:"mb-3 flex items-start gap-2 rounded-xl border border-zinc-500/20 bg-white/[0.025] p-3",children:[l.jsx(_,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:251",className:"mt-0.5 h-4 w-4 shrink-0 text-zinc-400"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:251",children:[l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:251",className:"text-[10px] font-black text-zinc-200",children:"à¸à¸à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¹à¸à¸à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸"}),l.jsxs("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:251",className:"mt-1 text-[9px] text-zinc-500",children:["ลà¹à¸à¸à¹à¸¡à¸·à¹à¸ ",S(a.audit.analysisCreatedAt)]})]})]}),!e&&l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:252",className:"mb-3 flex items-start gap-2 rounded-xl border border-emerald-400/15 bg-emerald-400/[0.035] p-3",children:[l.jsx(L,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:252",className:"mt-0.5 h-4 w-4 shrink-0 text-emerald-300"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:252",children:[l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:252",className:"text-[10px] font-black text-zinc-200",children:"Pre-match analysis · ยัà¸à¹à¸à¸´à¸à¸£à¸±à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¹à¸à¸à¹à¸£à¸´à¹à¸¡à¹à¸à¹à¸"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:252",className:"mt-1 text-[9px] leading-4 text-zinc-500",children:"ระà¸à¸à¸à¸°à¸¥à¹à¸à¸à¹à¸§à¸à¸£à¹à¸à¸±à¸à¸à¹à¸à¸à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¹à¸¡à¸·à¹à¸à¹à¸à¹à¸²à¸ªà¸¹à¹à¹à¸§à¸¥à¸²à¹à¸à¹à¸à¸à¸±à¸ à¹à¸¥à¸°à¹à¸¡à¹à¸ªà¸£à¹à¸²à¸à¸à¸¥à¸¢à¹à¸à¸à¸«à¸¥à¸±à¸à¸«à¸¥à¸±à¸à¸à¸£à¸²à¸à¸à¸¥"})]})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:253",className:"grid gap-2 min-[390px]:grid-cols-2 sm:grid-cols-3",children:[l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:254",label:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸
1±à¸à¹à¸à¸à¸¥à¹à¸²à¸ªà¸¸à¸",value:S(s??a.updatedAt)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:255",label:"วิà¹à¸à¸£à¸²à¸°à¸«à¹à¹à¸¡à¸·à¹à¸",value:S(a.createdAt)}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:256",label:"Analysis Version",value:a.audit.predictionVersion,note:a.audit.predictionVersion==="UPDATED"&&d?"à¸à¸±à¸à¹à¸à¸à¸«à¸¥à¸±à¸à¸à¸£à¸°à¸à¸²à¸¨à¸£à¸²à¸¢à¸à¸·à¹à¸à¸à¸¹à¹à¹à¸¥à¹à¸":void 0})]})]})}function wl({record:a,versions:s,onAnalyze:t,onRefresh:e,onRetry:d,activeAction:o,canAnalyze:m}){return l.jsxs("details",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:264",className:"group overflow-hidden rounded-2xl border border-sky-400/15 bg-sky-400/[0.025]",children:[l.jsxs("summary",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:265",className:"flex min-h-14 cursor-pointer list-none items-center gap-3 px-4",children:[l.jsx(fl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:265",className:"h-4 w-4 text-sky-300"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:265",className:"min-w-0 flex-1",children:[l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:265",className:"text-[11px] font-black text-white",children:"Admin Technical / Audit"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:265",className:"mt-0.5 text-[9px] text-zinc-600",children:"Feature Values · Model Output · Hashes · Source References"})]}),l.jsx(B,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:265",className:"h-4 w-4 text-zinc-500 transition-transform group-open:rotate-180 motion-reduce:transition-none"})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:266",className:"space-y-3 border-t border-white/[0.06] p-3",children:[l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:267",className:"grid gap-2 sm:grid-cols-2",children:[["Prediction Version",a.audit.predictionVersion],["Model Version",a.audit.modelVersion],["Data Version",a.audit.dataVersion],["Lock State",a.audit.lockState],["Input Hash",a.audit.normalizedInputHash],["Feature Hash",a.audit.featureHash],["Model Output Hash",a.audit.modelOutputHash],["Explanation Hash",a.audit.explanationHash??"N/A"]].map(([n,i])=>l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:269",className:`rounded-xl p-3 ${u}`,children:[l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:269",className:"text-[8px] uppercase tracking-[0.1em] text-zinc-600",children:n}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:269",className:"mt-1 break-all font-mono text-[9px] leading-4 text-zinc-300",children:i})]},n))}),l.jsxs("details",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:270",className:`rounded-xl ${u}`,children:[l.jsx("summary",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:270",className:"cursor-pointer list-none px-3 py-3 text-[10px] font-bold text-zinc-300",children:"Normalized Fixture / Feature Values"}),l.jsx("pre",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:270",className:"max-h-80 overflow-auto border-t border-white/[0.05] p-3 text-[8px] leading-4 text-zinc-500",children:JSON.stringify({fixture:a.fixture,features:a.features},null,2)})]}),l.jsxs("details",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:271",className:`rounded-xl ${u}`,children:[l.jsx("summary",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:271",className:"cursor-pointer list-none px-3 py-3 text-[10px] font-bold text-zinc-300",children:"Model Output / Calibration"}),l.jsx("pre",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:271",className:"max-h-80 overflow-auto border-t border-white/[0.05] p-3 text-[8px] leading-4 text-zinc-500",children:JSON.stringify(a.modelOutput,null,2)})]}),l.jsxs("details",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:272",className:`rounded-xl ${u}`,children:[l.jsxs("summary",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:272",className:"cursor-pointer list-none px-3 py-3 text-[10px] font-bold text-zinc-300",children:["Source References (",a.audit.sourceRefs.length,")"]}),l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:272",className:"max-h-64 overflow-auto border-t border-white/[0.05] p-3",children:a.audit.sourceRefs.map(n=>l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:272",className:"break-all font-mono text-[8px] leading-4 text-zinc-600",children:n},n))})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:273",className:`rounded-xl p-3 ${u}`,children:[l.jsxs("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:273",className:"text-[9px] text-zinc-500",children:["Version history: ",s.length," · Development memory only"]}),l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:273",className:"mt-2 space-y-1",children:s.map(n=>l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:273",className:"flex items-center justify-between gap-3 text-[8px]",children:[l.jsxs("span",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:273",className:"font-mono text-zinc-500",children:[n.audit.predictionVersion," · ",n.audit.dataVersion]}),l.jsx("span",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:273",className:"text-zinc-600",children:S(n.updatedAt)})]},`${n.audit.dataVersion}-${n.createdAt}`))})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:274",className:"grid gap-2 sm:grid-cols-3",children:[l.jsxs(k,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:274",type:"button",variant:"outline",onClick:t,disabled:!m||o!==null,className:"min-h-11 border-white/10 text-zinc-300",children:[l.jsx(T,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:274",className:`mr-2 h-4 w-4 ${o==="analyze"?"animate-pulse motion-reduce:animate-none":""}`}),"à¹à¸à¹ Analysis Cache"]}
1),l.jsxs(k,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:274",type:"button",variant:"outline",onClick:e,disabled:!m||o!==null,className:"min-h-11 border-amber-400/30 text-amber-300",children:[l.jsx(O,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:274",className:`mr-2 h-4 w-4 ${o==="refresh"?"animate-spin motion-reduce:animate-none":""}`}),"รีà¹à¸à¸£à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸£à¸´à¸"]}),l.jsxs(k,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:274",type:"button",variant:"outline",onClick:d,disabled:!m||o!==null||a.explanation?.status==="ready",className:"min-h-11 border-sky-400/25 text-sky-300",children:[l.jsx(O,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:274",className:`mr-2 h-4 w-4 ${o==="retry"?"animate-spin motion-reduce:animate-none":""}`}),"Retry à¸à¸³à¸à¸à¸´à¸à¸²à¸¢"]})]}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:275",className:"text-center text-[8px] leading-4 text-zinc-600",children:"à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸±à¸à¹à¸à¸¡à¸±à¸à¸´ · à¹à¸¡à¹à¸¡à¸µ LLM call à¸à¸à¸à¹à¸à¸´à¸à¸«à¸à¹à¸² · à¹à¸¡à¹à¸¡à¸µ Cron · à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¹à¸à¹ Model Output à¹à¸ Frontend"})]})]})}function kl({fixtureId:a,kickoffAt:s,phase:t,sourceUpdatedAt:e}){const[d,o]=C.useState(null),m=C.useMemo(()=>({fixtureId:a}),[a]),n=A.useUtils(),i=A.football.aiLatest.useQuery(m,{staleTime:15e3}),c=A.football.aiVersions.useQuery(m,{staleTime:15e3}),v=A.football.aiAnalyze.useMutation(),N=t==="upcoming",g=async F=>{o(F);try{const h=await v.mutateAsync({fixtureId:a,includeExplanation:!0,forceData:F==="refresh"||void 0,forceExplanation:F==="retry"||void 0});n.football.aiLatest.setData(m,h.record),await Promise.all([n.football.aiLatest.invalidate(m),n.football.aiVersions.invalidate(m),n.football.aiTodayRanking.invalidate({date:s.slice(0,10)})]);const Y=h.explanationUpdated===!0;E.success(h.versionCreated?"สรà¹à¸²à¸ Analysis Version à¹à¸¥à¹à¸§":Y?"à¸à¸±à¸à¹à¸à¸à¸à¸³à¸à¸à¸´à¸à¸²à¸¢ AI à¹à¸à¹à¸§à¸à¸£à¹à¸à¸±à¸à¹à¸à¸´à¸¡à¹à¸¥à¹à¸§":"à¹à¸à¹à¸à¸¥à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸²à¸ Cache")}catch(h){E.error(h instanceof Error?h.message:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¸à¸µà¹à¹à¸à¹")}finally{o(null)}};if(i.isLoading)return l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:305",className:"space-y-3",children:[l.jsx(y,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:305",className:"h-40 rounded-3xl"}),l.jsx(y,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:305",className:"h-48 rounded-2xl"}),l.jsx(y,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:305",className:"h-72 rounded-2xl"})]});if(i.error)return l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:306",role:"alert",className:"rounded-2xl border border-red-400/20 bg-red-400/[0.06] p-5 text-center",children:[l.jsx($,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:306",className:"mx-auto h-8 w-8 text-red-300"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:306",className:"mt-2 text-sm font-black text-red-100",children:"à¹à¸«à¸¥à¸ Football AI Development data à¹à¸¡à¹à¸ªà¸³à¹à¸£à¹à¸"}),l.jsx(k,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:306",variant:"outline",size:"sm",onClick:()=>i.refetch(),className:"mt-4 border-red-400/30 text-red-200",children:"ลà¸à¸à¹à¸«à¸¡à¹"})]});const x=i.data;if(!x)return l.jsx(yl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:309",canAnalyze:N,onAnalyze:()=>g("analyze"),loading:d==="analyze"});const r=x.modelOutput,M=r?.calibration.status==="uncalibrated_development";return l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:314",className:"space-y-3",children:[l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:315",className:`relative overflow-hidden rounded-3xl p-4 sm:p-5 ${f}`,children:[l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:316","aria-hidden":!0,
1className:"pointer-events-none absolute inset-x-0 top-0 h-40 bg-[radial-gradient(circle_at_top_right,rgba(251,191,36,0.14),transparent_62%)]"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:317",className:"relative flex flex-wrap items-start justify-between gap-3",children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:317",children:[l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:317",className:"flex items-center gap-2 text-[9px] font-black uppercase tracking-[0.16em] text-amber-300",children:[l.jsx(H,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:317",className:"h-3.5 w-3.5"})," MAWIN FOOTBALL AI"]}),l.jsx("h2",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:317",className:"mt-2 text-lg font-black text-white",children:"à¸à¸²à¸£à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸²à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¥à¸°à¹à¸à¸à¸à¸³à¸¥à¸à¸à¸à¸²à¸à¸ªà¸à¸´à¸à¸´"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:317",className:"mt-1 max-w-xl text-[10px] leading-5 text-zinc-500",children:"สำหรัà¸à¸à¹à¸²à¸à¹à¸à¸§à¹à¸à¹à¸¡à¹à¸à¸´à¸à¸ªà¸à¸´à¸à¸´ à¹à¸¡à¹à¹à¸à¹à¸à¸³à¸ªà¸±à¹à¸à¹à¸à¸´à¸¡à¸à¸±à¸ à¹à¸¥à¸°à¸à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¸à¸£à¸´à¸à¸à¸²à¸à¹à¸à¸à¸à¹à¸²à¸à¹à¸à¹"})]}),l.jsx(U,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:317",level:x.eligibility.level})]}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:318",className:"relative mt-4 grid grid-cols-2 gap-2 sm:grid-cols-4",children:[l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:318",label:"à¸à¸§à¸²à¸¡à¸à¸£à¹à¸à¸¡à¸à¹à¸à¸¡à¸¹à¸¥",value:p(x.eligibility.completeness),note:"Evidence à¸à¸µà¹à¸à¸£à¹à¸à¸¡à¹à¸à¹"}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:318",label:"Experimental Confidence",value:r?p(r.confidence.score):"N/A",note:"à¹à¸¡à¹à¹à¸à¹à¹à¸à¸à¸²à¸ªà¸à¸à¸°",info:"Experimental Confidence à¹à¸à¹à¸à¸à¸±à¸à¸à¸µà¸ ายà¹à¸à¸à¸µà¹à¸¢à¸±à¸à¹à¸¡à¹à¸à¹à¸²à¸ empirical validation à¸à¸¢à¹à¸²à¸à¹à¸à¸µà¸¢à¸à¸à¸ à¹à¸¥à¸°à¹à¸¡à¹à¹à¸à¹à¸à¸§à¸²à¸¡à¸à¹à¸²à¸à¸°à¹à¸à¹à¸à¸«à¸£à¸·à¸à¹à¸à¸à¸£à¹à¹à¸à¹à¸à¸à¹à¸£à¸±à¸à¸à¸£à¸°à¸à¸±à¸à¸à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸"}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:318",label:"Analysis Version",value:x.audit.predictionVersion}),l.jsx(b,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:318",label:"Model Status",value:M?"Development":r?.calibration.status??"No model"})]}),M&&l.jsx("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:319",role:"status",className:"relative mt-3 rounded-xl border border-amber-400/25 bg-amber-400/[0.06] p-3",children:l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:319",className:"flex flex-wrap items-center gap-2",children:[l.jsx(Q,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:319",variant:"outline",className:"border-amber-400/30 bg-amber-400/10 text-[9px] text-amber-200",children:"Development Estimate"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:319",className:"text-[10px] font-bold text-amber-100",children:"à¸à¹à¸²à¸à¸§à¸²à¸¡à¸à¹à¸²à¸à¸°à¹à¸à¹à¸à¸à¸µà¹à¹à¸à¹à¸à¸à¸¥à¸à¸£à¸°à¸¡à¸²à¸à¸à¸²à¸à¹à¸à¸à¸à¸³à¸¥à¸à¸à¸à¸µà¹à¸à¸¢à¸¹à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸²à¸£à¸à¸à¸ªà¸à¸à¹à¸¥à¸°à¸à¸£à¸±à¸à¹à¸à¸µà¸¢à¸ à¹à¸¡à¹à¹à¸à¹à¸à¸²à¸£à¸£à¸±à¸à¸à¸£à¸°à¸à¸±à¸à¸à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸"})]})}),x.eligibility.warning&&l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:320",className:"relative mt-3 flex items-start gap-2 rounded-xl border border-orange-400/15 bg-orange-400/[0.04] p-3 text-[10px] leading-5 text-orange-200",children:[l.jsx($,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:320",className:"mt-0.5 h-4 w-4 shrink-0"}),x.eligibility.warning]})]}),r?l.jsxs(l.Fragment,{children:[l.jsx(gl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",record:x}),l.jsx(Fl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",record:x}),l.jsx(Pl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",record:x}),l.jsx(jl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",record:x})]}):l.jsxs("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",className:`rounded-2xl px-5 py-10 text-center ${f}`,children:[l.jsx(J,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",className:"mx-auto h-9 w-9 text-zinc-500"}),l.jsx("h3",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",className:"mt-3 text-base font-black text-white",children:"à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¹à¸à¸µà¸¢à¸à¸à¸à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸²à¸£à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹"}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:323",className:"mx-auto mt-2 max-w-lg text-[11px] leading-5 text-zinc-500",children:"ระà¸à¸à¸à¸±à¸à¸à¸¶à¸à¹à¸à¸à¸²à¸°à¸ªà¸à¸²à¸à¸°à¸à¸¸à¸à¸ าà¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¥à¸°à¹à¸¡à¹à¸ªà¸£à¹à¸²à¸ Probability, Confidence หรืà¸à¸à¸³à¸à¸à¸´à¸à¸²à¸¢à¹à¸à¸´à¸à¸à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¹à¸¡à¸·à¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸¢à¸±à¸à¹à¸¡à¹à¸à¹à¸²à¸ Core Evidence Gate"})]}),l.jsx(Nl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:325",record:x}),l.jsx(vl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:326",record:x,sourceUpdatedAt:e,phase:t}),r&&l.jsx("section",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:327",className:"rounded-2xl border border-sky-400/15 bg-sky-4
100/[0.03] p-4",children:l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:327",className:"flex items-start gap-2",children:[l.jsx(Z,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:327",className:"mt-0.5 h-4 w-4 shrink-0 text-sky-300"}),l.jsxs("div",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:327",children:[l.jsxs("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:327",className:"text-[10px] font-black text-sky-200",children:["สà¸à¸²à¸à¸°à¸à¸²à¸£à¸à¸£à¸±à¸à¹à¸à¸µà¸¢à¸: ",r.calibration.status]}),l.jsx("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:327",className:"mt-1 text-[9px] leading-4 text-zinc-500",children:r.calibration.note})]})]})}),l.jsx(wl,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:328",record:x,versions:c.data??[],onAnalyze:()=>g("analyze"),onRefresh:()=>g("refresh"),onRetry:()=>g("retry"),activeAction:d,canAnalyze:N}),l.jsxs("p",{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:329",className:"px-2 text-center text-[9px] leading-5 text-zinc-600",children:[l.jsx(L,{"data-loc":"client/src/components/football/FootballAiAnalysisPanel.tsx:329",className:"mr-1 inline h-3.5 w-3.5"}),"à¸à¸²à¸£à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸µà¹à¹à¸à¹à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¥à¸°à¹à¸à¸à¸à¸³à¸¥à¸à¸à¸à¸²à¸à¸ªà¸à¸´à¸à¸´ à¸à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¸à¸£à¸´à¸à¸à¸²à¸à¹à¸à¸à¸à¹à¸²à¸à¹à¸à¹"]})]})}function Ml(){const a=new URLSearchParams(window.location.search).get("tab");return G.some(([s])=>s===a)?a:"overview"}function j({text:a="à¹à¸«à¸¥à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¹à¸§à¸à¸à¸µà¹à¹à¸¡à¹à¸ªà¸³à¹à¸£à¹à¸ à¸à¸£à¸¸à¸à¸²à¸¥à¸à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸"}){return l.jsx("div",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:26",role:"alert",className:"rounded-2xl border border-red-400/20 bg-red-400/[0.06] px-4 py-8 text-center text-[11px] text-red-200",children:a})}function w({height:a="h-72"}){return l.jsxs("div",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:30",className:"space-y-2",children:[l.jsx(y,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:30",className:"h-16 rounded-2xl"}),l.jsx(y,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:30",className:`${a} rounded-2xl`})]})}function Ul(){const[,a]=el("/admin/football-match/:fixtureId"),s=Number(a?.fixtureId??0),[,t]=ol(),[e,d]=C.useState(Ml),o={fixtureId:s},m=A.football.overview.useQuery(o,{enabled:s>0,staleTime:3e4}),n=A.football.forms.useQuery(o,{enabled:s>0&&e==="overview",staleTime:3e4}),i=A.football.aiLatest.useQuery(o,{enabled:s>0&&e==="overview",staleTime:15e3}),c=A.football.statistics.useQuery(o,{enabled:s>0&&e==="statistics",staleTime:3e4}),v=A.football.h2h.useQuery(o,{enabled:s>0&&e==="h2h",staleTime:3e4}),N=A.football.standings.useQuery(o,{enabled:s>0&&e==="standings",staleTime:3e4}),g=A.football.lineups.useQuery(o,{enabled:s>0&&e==="players",staleTime:3e4}),x=A.football.injuries.useQuery(o,{enabled:s>0&&e==="players",staleTime:3e4}),r=m.data?.data,M=F=>{d(F);const h=new URLSearchParams(window.location.search);h.set("tab",F),window.history.replaceState(null,"",`${window.location.pathname}?${h.toString()}`)};return s<=0?l.jsx(j,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:57",text:"Fixture ID à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸"}):m.isLoading?l.jsxs("div",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:58",className:"space-y-3",children:[l.jsx(y,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:58",className:"h-10 rounded-xl"}),l.jsx(y,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:58",className:"h-64 rounded-3xl"}),l.jsx(y,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:58",className:"h-12 rounded-2xl"}),l.jsx(y,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:58",className:"h-72 rounded-2xl"})]}):m.error||!r?l.jsxs("div",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:59",className:"space-y-3",children:[l.jsxs("button",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:59",type:"button",onClick:()=>t("/admin/football-preview"),className:"inline-flex min-h-11 items-center gap-2 text-[11px] font-semibold text-zinc-400",children:[l.jsx(R,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:59",className:"h-4 w-4"})," à¸à¸¸à¸à¸à¸à¸¥à¸§à¸±à¸à¸à¸µà¹"]}),l.jsx(j,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:59"})]}):l.jsxs("div",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:62",className:"mx-auto w-full max-w-5xl space-y-3 pb-10 text-zinc-100",children:[l.jsxs("button",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:63",type:"button",onClick:()=>t("/admin/football-preview"),className:"inline-flex min-h-11 items-center gap-2 rounded-xl px-1 text-[11px] font-bold text-zinc-500 transition hover:text-white active:scale-[0.98] motion-reduce:transition-none",children:[l.jsx(R,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:63",className:"h-4 w-4"})," à¸à¸¥à¸±à¸à¸à¸¸à¸à¸à¸à¸¥à¸§à¸±à¸à¸à¸µà¹"]}),l.jsx(nl,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:65",match:r,stale:m.data?.cache.stale===!0}),l.jsx(il,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:66",active:e,onCh
1ange:M}),l.jsxs("div",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:68",className:"animate-in fade-in slide-in-from-bottom-1 duration-200 motion-reduce:animate-none",children:[e==="overview"&&(n.isLoading||i.isLoading?l.jsx(w,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:70"}):n.error?l.jsx(j,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:70"}):l.jsx(cl,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:70",match:r,homeForm:n.data?.home??null,awayForm:n.data?.away??null,analysis:i.data??null})),e==="statistics"&&(c.isLoading?l.jsx(w,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:74"}):c.error?l.jsx(j,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:74"}):l.jsx(rl,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:74",rows:c.data?.data??[],hasStarted:r.status.phase!=="upcoming"})),e==="h2h"&&(v.isLoading?l.jsx(w,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:78"}):v.error?l.jsx(j,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:78"}):l.jsx(dl,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:78",rows:v.data?.data??[],homeId:r.home.id,awayId:r.away.id})),e==="standings"&&(N.isLoading?l.jsx(w,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:82"}):N.error?l.jsx(j,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:82"}):l.jsx(xl,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:82",rows:N.data?.data??[],homeId:r.home.id,awayId:r.away.id})),e==="players"&&(g.isLoading||x.isLoading?l.jsx(w,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:86"}):g.error||x.error?l.jsx(j,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:86"}):l.jsx(ml,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:86",rows:g.data?.data??[],injuries:x.data?.data??[]})),e==="ai"&&l.jsx(kl,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:89",fixtureId:s,kickoffAt:r.kickoffAt,phase:r.status.phase,sourceUpdatedAt:m.data?.meta.requestedAt}),!G.some(([F])=>F===e)&&l.jsx(bl,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:91",title:"à¹à¸¡à¹à¸à¸à¹à¸à¹à¸à¸à¸µà¹à¹à¸¥à¸·à¸à¸",description:"à¸à¸£à¸¸à¸à¸²à¹à¸¥à¸·à¸à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¸à¸²à¸à¹à¸¡à¸à¸¹à¸à¹à¸²à¸à¸à¸"})]},e),l.jsxs("footer",{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:94",className:"flex items-center justify-center gap-2 py-2 text-center text-[9px] leading-4 text-zinc-600",children:[l.jsx(L,{"data-loc":"client/src/pages/admin/AdminFootballMatchPage.tsx:94",className:"h-3.5 w-3.5 shrink-0"})," à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸£à¸´à¸à¸à¸²à¸ API-Football · Development Preview · à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¸ªà¸£à¹à¸²à¸à¸à¸¥à¸à¸²à¸£à¹à¸à¹à¸à¸à¸±à¸à¹à¸à¸"]})]})}export{Ul 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.