1import{c as g,u as M,j as e,R as T,X as R,r as u}from"./index-62cLMhgX.js";/** 2 * @license lucide-react v0.554.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 P=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],j=g("chevron-right",P);/** 7 * @license lucide-react v0.554.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 L=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],O=g("eye",L);/** 12 * @license lucide-react v0.554.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const G=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],$=g("layout-grid",G);/** 17 * @license lucide-react v0.554.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const B=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]],D=g("message-square-plus",B);/** 22 * @license lucide-react v0.554.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const V=[["path",{d:"M5 12h14",key:"1ays0h"}]],F=g("minus",V);/** 27 * @license lucide-react v0.554.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const W=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],H=g("panel-right",W);/** 32 * @license lucide-react v0.554.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const q=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],A=g("rotate-ccw",q),a="gantt-showcase",X={claude:"/images/agents/claude-color.svg",grok:"/images/agents/grok.svg",kimi:"/images/agents/kimi-color.svg",codex:"/images/agents/openai.svg"},w=({brand:n,size:d=14})=>e.jsx("img",{src:X[n],width:d,height:d,alt:"","aria-hidden":"true",loading:"lazy",className:"shrink-0"}),I=({text:n,active:d})=>{const[c,s]=u.useState(0);return u.useEffect(()=>{if(!d)return;if(typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches){s(Number.MAX_SAFE_INTEGER);return}const r=window.setInterval(()=>{s(t=>t>=n.length?(window.clearInterval(r),t):t+2)},33);return()=>window.clearInterval(r)},[d,n.length]),e.jsx(e.Fragment,{children:n.slice(0,c)})},v=28,N=1,z=20.2,b=44,i=n=>n/v*100,m=[{id:"plan",name:"Plan creation",badge:"Done",agent:"Fable 5",agentIcon:"claude",status:"done",active:!1,selected:!1,start:.4,end:18.8,planEnd:19.9,bar:"plan",barLabel:"Plan creation"},{id:"news-blitz",name:"AI News Blitz PC/Mobile",badge:null,agent:"Grok 4.5",agentIcon:"grok",status:"done",active:!1,selected:!1,start:1.7,end:4.3,planLineEnd:10.3,dependsOn:["plan"],comments:4,commentAt:3.2,ahead:[{at:5,label:"-5m ahead"},{at:10.6,label:"~8m ahead -5m"}],bar:"pill",pillColor:"#d2b5f9"},{id:"thumbnail-gen",name:"AI News Blitz thumbnail pipeline",badge:null,agent:"Haiku 4.5",agentIcon:"claude",status:"done",active:!1,selected:!1,start:2,end:5.6,planLineEnd:8.4,dependsOn:["news-blitz"],comments:3,commentAt:4.4,ahead:[{at:6.1,label:"-4m ahead"}],bar:"pill",pillColor:"#b79ce8"},{id:"tv-backend",name:"AI TV Station backend",badge:null,agent:"Grok 4.5",agentIcon:"grok",status:"done",active:!1,selected:!1,start:1.4,end:4.2,planLineEnd:10.8,comments:2,commentAt:3,ahead:[{at:5.6,label:"-6m ahead"},{at:10.6,label:"~9m ahead -6m"}],bar:"pill",pillColor:"#8a70aa"},{id:"api-contract",name:"Briefs API contract tests",badge:null,agent:"Sonnet 5",agentIcon:"claude",status:"done",active:!1,selected:!1,start:4.6,end:8.2,depen
36dsOn:["tv-backend"],comments:2,commentAt:7.4,ahead:[{at:8.7,label:"-3m ahead"}],bar:"pill",pillColor:"#6f86c9"},{id:"readiness-sort",name:"AI TV Station: readiness sort",badge:null,agent:"Opus 4.8",agentIcon:"claude",status:"running",active:!1,selected:!0,start:4.8,end:23.1,dependsOn:["tv-backend"],comments:7,commentAt:21.6,ahead:[{at:23.6,label:"-10m ahead"}],bar:"selected",barLabel:"AI TV Station: readiness sort",barChip:"Opâ¦",splitAt:16.8},{id:"i18n-sweep",name:"AI News Blitz i18n sweep (200+ langs)",badge:null,agent:"Haiku 4.5",agentIcon:"claude",status:"done",active:!1,selected:!1,start:5.4,end:11.2,planLineEnd:14,dependsOn:["news-blitz"],comments:5,commentAt:9.8,ahead:[{at:11.7,label:"-7m ahead"}],bar:"pill",pillColor:"#9d7fd1"},{id:"merge-check",name:"AI News Blitz merge check",badge:null,agent:"Fable 5",agentIcon:"claude",status:"running",active:!0,selected:!1,start:4.9,end:12.8,dependsOn:["news-blitz"],comments:7,commentAt:11.4,ahead:[{at:13.3,label:"-19m ahead"}],bar:"pill-dashed",barLabel:"AI News Blitz merge check",pillColor:"#8c6b97"},{id:"audio-cache",name:"Audio cache warmup (target langs)",badge:null,agent:"Kimi K3",agentIcon:"kimi",status:"running",active:!1,selected:!1,start:8.6,end:19.6,dependsOn:["api-contract","i18n-sweep"],comments:5,commentAt:17.9,bar:"pill-dashed",barLabel:"Audio cache warmup (target langs)",pillColor:"#7a5f96"},{id:"perf-audit",name:"Player perf audit (TV + mobile)",badge:null,agent:"GPT-5.4 Codex",agentIcon:"codex",status:"running",active:!1,selected:!1,start:10.4,end:21.4,dependsOn:["merge-check"],ahead:[{at:21.9,label:"-6m ahead"}],bar:"pill-dashed",barLabel:"Player perf audit (TV + mobile)",pillColor:"#66558f"},{id:"regression",name:"Regression suite (both apps)",badge:null,agent:"Sonnet 5",agentIcon:"claude",status:"queued",active:!1,selected:!1,start:21.8,end:26.4,dependsOn:["audio-cache","perf-audit"],bar:"verify",barLabel:"Regression suite (both apps)"},{id:"integration",name:"Integration & verification (both apps)",badge:null,agent:"Grok 4.5",agentIcon:"grok",status:"queued",active:!1,selected:!1,start:23.5,end:28.6,dependsOn:["readiness-sort","merge-check","regression"],bar:"verify",barLabel:"Integration & verification (both apps)"}],_=[{time:"18:24",min:0},{time:"18:30",min:6,em:5,es:15},{time:"18:35",min:11,em:10,es:15},{time:"18:40",min:16,em:15,es:15},{time:"18:45",min:21,em:20,es:15},{time:"18:50",min:26,em:25,es:15}],E=n=>n*b+b/2,K=()=>{const n=new Map(m.map((c,s)=>[c.id,s])),d=[];return m.forEach((c,s)=>{var r;(r=c.dependsOn)==null||r.forEach(t=>{const l=n.get(t);if(l===void 0)return;const o=m[l],x=E(l),h=E(s),p=i(c.start);o.end>=c.start?d.push({d:`M ${i(o.start+.5)} ${x} V ${h} H ${p}`,dashed:!0,arrowX:p,targetIdx:s}):d.push({d:`M ${i(o.end)} ${x} H ${i(c.start-.25)} V ${h} H ${p}`,dashed:!1,arrowX:p,targetIdx:s})})}),d},C=K(),Y=`(3) usePlayerAudio stays untouched on my side too (export-only additions). Can we align on readiness = "scenes present AND cached audio ready for the target lang/voice"? If the briefs API needs a readiness flag, let's make it an opt-in query param (?readiness=1&lang=..) so existing callers keep working.`,J='This is Grok #3 â thanks for the boundary proposal. Since the assigned surface is "AI News Blitz PC/Mobile" and the PC build actually lives at /tv â TVPlayer (hostname-based brand switch only), I had to touch TVPlayer.tsx. Shared tip=3b700c9: src/lib/player-readiness.ts (BACKGROUND_PREGEN_MAX=2, sortBriefsByReadiness, selectPregenTargets) + pregenBrief.ts (warmBriefsBatch). Wired into both MobileBriefFeed and TVPlayer.',U=["All","Worker","Judge","Tester","Merge","Orch"];function S({revealed:n,chatActive:d,cardRef:c}){const{tr:s}=M(),r=t=>n?{className:" gantt-anim-row",style:{animationDelay:`${t*90}ms`}}:{className:" opacity-0",style:{}};return e.jsxs("div",{ref:c,className:"overflow-hidden rounded-2xl border border-white/10 bg-[#0a0a0c] shadow-2xl font-sans text-[13px]",children:[e.jsxs("div",{className:"border-b border-white/5 px-5 pt-4 pb-3",children:[e.jsxs("div",{className:"flex items-center justify-between text-[11px] text-white/40",children:[e.jsx("span",{children:"7/17/2026"}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(A,{size:11})," 61 ",e.jsx($,{size:11})," 343"]})]}),e.jsxs("div",{className:"mt-2 flex items-start justify-between gap-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-white md:text-xl",children:s("Algorithm change: prioritize completed generations first",a)}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2 text-white/50",children:[e.jsx("button",{type:"button",className:"rounded-md border border-white/10 p-1.5 hover:bg-white/5","aria-label":s("Comment",a),children:e.jsx(D,{size:14})}),e.jsx("button",{type:"button",className:"rounded-md border border-white/10 p-1.5 hover:bg-white/5","aria-label":s("Collapse",a),children:e.jsx(F,{size:14})})]})]}),e.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-2.5 text-xs",children:[e.jsxs("span",{className:"font-semibold text-indigo-400",children:[s("Running...",a)," (",s("Round 1",a),")"]}),e.jsxs("span",{className:"text-white/40",children:["â9.9M â176k 19",s("m",a)," 49",s("s",a)]}),e.jsx("button",{type:"button",className:"rounded-full bg-indigo-500/90 px-3 py-1 font-semibold text-white",children:s("Scheduler",a)}),e.jsxs("button",{type:"button",className:"rounded-full border border-indigo-400/40 px-3 py-1 font-semibold text-indigo-300",children:["𧬠",s("Artifact",a)]}),e.jsxs("span",{className:"flex items-center gap-1 text-white/30",children:[e.jsx(j,{size:12})," ",s("Inputs",a)]}),e.jsxs("span",{className:"flex items-center gap-1 text-white/30",children:[e.jsx(j,{size:12})," ",s("Plan summary",a)]})]})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2 border-b border-white/5 px-5 py-2.5 text-xs text-white/60",children:[e.jsx("span",{className:"rounded-md border border-white/10 bg-white/5 px-2.5 py-1 text-white/35",children:s("Filter (engine, oâ¦)",a)}),U.map((t,l)=>e.jsx("button",{type:"button",className:l===0?"rounded-md bg-indigo-500/90 px-2.5 py-1 font-semibold text-white":"rounded-md px-2.5 py-1 text-white/55 hover:bg-white/5",children:s(t,a)},t)),e.jsxs("span",{className:"ml-1 flex items-center gap-1 text-white/45",children:[e.jsx(j,{size:12})," ",s("Expand all",a)]}),e.jsxs("span",{className:"flex items-center gap-1 text-white/45",children:[e.jsx(O,{size:12})," ",s("Follow",a)]}
36),e.jsx("span",{className:"rounded-md bg-violet-500/20 px-2.5 py-1 font-semibold text-violet-300",children:s("Plan",a)}),e.jsxs("span",{className:"text-white/30",children:[s("Plan updated",a)," 18:43"]}),e.jsx("span",{className:"rounded-full border border-violet-400/30 px-2.5 py-1 text-violet-300",children:e.jsxs("span",{className:"flex items-center gap-1.5",children:[s("Plan",a),": ",e.jsx(w,{brand:"claude",size:12})," Fable 5"]})}),e.jsxs("span",{className:"ml-auto flex items-center gap-2 text-white/40",children:[e.jsx(A,{size:13}),e.jsx("span",{className:"rounded-full bg-violet-500/20 px-2 py-0.5 text-violet-300",children:"â 11"}),e.jsx($,{size:14}),e.jsx(H,{size:14})]})]}),e.jsxs("div",{className:"flex items-center gap-4 border-b border-white/5 px-5 py-2 text-[11px] text-white/40",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"h-2.5 w-4 rounded-sm bg-sky-500"})," ",s("Actual",a)]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"h-2.5 w-4 rounded-sm",style:{background:"repeating-linear-gradient(45deg, rgba(167,139,250,0.75) 0 2px, rgba(167,139,250,0.2) 2px 4px)"}})," ",s("Plan",a)]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"h-px w-4 bg-white/40"})," ",s("R1 plan",a)]})]}),e.jsxs("div",{className:"flex flex-col lg:flex-row",children:[e.jsx("div",{className:"min-w-0 flex-1 overflow-x-auto",children:e.jsxs("div",{className:"flex min-w-[956px]",children:[e.jsxs("div",{className:"grid w-[384px] shrink-0 grid-cols-[minmax(0,1fr)_164px]",children:[e.jsx("div",{className:"flex h-11 items-center border-b border-r border-white/5 px-3 text-white/40",children:s("Task",a)}),e.jsx("div",{className:"flex h-11 items-center border-b border-r border-white/5 px-3 text-white/40",children:s("Agent",a)}),m.map((t,l)=>e.jsxs(T.Fragment,{children:[e.jsxs("div",{className:`flex h-11 min-w-0 items-center gap-2 border-b border-r border-white/5 px-3 ${t.selected?"bg-white/[0.06]":""}${r(l).className}`,style:r(l).style,children:[e.jsx(j,{size:11,className:"shrink-0 text-white/25"}),e.jsx("span",{className:`h-2 w-2 shrink-0 rounded-sm ${t.selected?"bg-orange-400":"bg-violet-400/70"}`}),e.jsx("span",{className:`truncate ${t.selected?"font-semibold text-white":"text-white/80"}`,children:s(t.name,a)}),t.badge&&e.jsx("span",{className:"shrink-0 rounded-full bg-indigo-500/20 px-2 py-0.5 text-[10px] font-semibold text-indigo-300",children:s(t.badge,a)})]}),e.jsxs("div",{className:`flex h-11 min-w-0 items-center gap-1.5 border-b border-r border-white/5 px-3 text-white/70 ${t.selected?"bg-white/[0.06]":""} ${t.active?"shadow-[inset_0_-2px_0_0_rgba(251,191,36,0.85)]":""}${r(l).className}`,style:r(l).style,children:[e.jsx(w,{brand:t.agentIcon}),e.jsx("span",{className:"whitespace-nowrap",children:t.agent}),e.jsxs("span",{className:"flex shrink-0 items-end gap-px","aria-hidden":"true",children:[e.jsx("span",{className:"h-1 w-[3px] rounded-[1px] bg-white/45"}),e.jsx("span",{className:"h-[7px] w-[3px] rounded-[1px] bg-white/45"}),e.jsx("span",{className:"h-2.5 w-[3px] rounded-[1px] bg-white/45"})]})]})]},t.id))]}),e.jsxs("div",{className:"relative min-w-[560px] flex-1","data-testid":"gantt-timeline",children:[e.jsxs("div",{className:"relative h-11 border-b border-white/5 text-[10px] text-white/40",children:[_.map(t=>e.jsxs("div",{className:"absolute top-1.5",style:{left:`${i(t.min)}%`},children:[e.jsx("div",{className:"pl-1 whitespace-nowrap",children:t.time}),t.em!==void 0&&e.jsxs("div",{className:"pl-1 whitespace-nowrap text-[9px] text-white/25",children:[t.em,s("m",a)," ",t.es,s("s",a)]})]},t.time)),e.jsxs("div",{className:"absolute top-4",style:{left:`${i(N)}%`},children:[e.jsx("div",{className:"pl-1 text-[9px] font-semibold text-white/70",children:s("Start",a)}),e.jsx("div",{className:"ml-1 mt-0.5 w-fit rounded-sm bg-indigo-500/90 px-1 text-[9px] font-bold text-white",children:"R1"})]}),e.jsxs("div",{className:"absolute bottom-0.5 whitespace-nowrap pl-1.5 text-[10px] font-semibold text-indigo-300",style:{left:`${i(z)}%`},children:[s("Plan baseline",a)," / ",s("Now",a)," 18:44"]})]}),_.map(t=>e.jsx("div",{className:"pointer-events-none absolute bottom-0 top-11 w-px bg-white/[0.05]",style:{left:`${i(t.min)}%`}},`grid-${t.time}`)),e.jsx("div",{className:"pointer-events-none absolute bottom-0 top-11 w-px bg-white/20",style:{left:`${i(N)}%`}}),e.jsx("div",{className:"pointer-events-none absolute bottom-0 top-11 w-px bg-indigo-400/40",style:{left:`${i(N+.35)}%`}}),e.jsx("div",{"data-testid":"gantt-now-line",className:"pointer-events-none absolute bottom-0 top-7 z-10 w-px bg-indigo-400/80",style:{left:`${i(z)}%`}}),m.map((t,l)=>{var k;const o=Math.min(t.end,v),x=i(t.start),h=i(o-t.start),p=n?" gantt-anim-bar":"",f=n?{animationDelay:`${l*90+250}ms`}:{};return e.jsxs("div",{"data-testid":"gantt-row","data-task-id":t.id,"data-status":t.status,className:`relative h-11 border-b border-white/5 ${t.selected?"bg-white/[0.06]":""}${r(l).className}`,style:r(l).style,children:[t.planLineEnd!==void 0&&e.jsx("div",{className:"gantt-plan-line absolute top-1/2 h-[3px] -translate-y-1/2 roun
36ded-full bg-white/20",style:{left:`${x}%`,width:`${i(t.planLineEnd-t.start)}%`}}),t.planEnd!==void 0&&e.jsx("div",{className:"gantt-plan-rect absolute top-1/2 h-[26px] -translate-y-1/2 rounded-md border border-dashed border-violet-300/50",style:{left:`${i(t.start-.15)}%`,width:`${i(t.planEnd-t.start+.15)}%`}}),t.bar==="plan"&&e.jsxs("div",{"data-testid":"gantt-bar",className:`absolute top-1/2 z-20 flex h-[18px] -translate-y-1/2 items-center rounded-[4px] bg-gradient-to-b from-[#f0b49b] to-[#e59a80] px-1.5${p}`,style:{left:`${x}%`,width:`${h}%`,...f},children:[e.jsx("span",{className:"truncate text-[10px] font-semibold text-[#33210f]",children:s(t.barLabel??"",a)}),e.jsx("span",{className:"absolute left-1/2 -translate-x-1/2",children:e.jsx(w,{brand:"claude",size:11})})]}),t.bar==="pill"&&e.jsx("div",{"data-testid":"gantt-bar",className:`absolute top-1/2 z-20 h-[16px] -translate-y-1/2 rounded-md ring-2 ring-emerald-400/80${p}`,style:{left:`${x}%`,width:`${h}%`,backgroundColor:t.pillColor??"#8b5cf6",...f}}),t.bar==="selected"&&e.jsxs("div",{"data-testid":"gantt-bar",className:`absolute top-1/2 z-20 flex h-[18px] -translate-y-1/2 items-center overflow-hidden rounded-[4px] ring-2 ring-sky-400/90${p}`,style:{left:`${x}%`,width:`${h}%`,...f},children:[e.jsx("div",{className:"absolute inset-y-0 left-0 bg-gradient-to-b from-[#f0b49b] to-[#e59a80]",style:{width:`${t.splitAt!==void 0?(Math.min(t.splitAt,o)-t.start)/(o-t.start)*100:100}%`}}),t.splitAt!==void 0&&e.jsx("div",{className:"absolute inset-y-0 right-0 bg-[#f4e8e0]",style:{width:`${(o-Math.min(t.splitAt,o))/(o-t.start)*100}%`}}),e.jsx("span",{className:"relative z-10 truncate pl-1.5 text-[10px] font-semibold text-[#33210f]",children:s(t.barLabel??"",a)}),e.jsx("span",{className:"relative z-10",children:e.jsx(w,{brand:"claude",size:11})}),t.barChip&&e.jsx("span",{className:"relative z-10 ml-auto mr-1 shrink-0 rounded-sm bg-white/85 px-1 text-[9px] font-semibold text-slate-800",children:t.barChip})]}),t.bar==="pill-dashed"&&e.jsx("div",{"data-testid":"gantt-bar",className:`absolute top-1/2 z-20 flex h-[18px] -translate-y-1/2 items-center rounded-md border border-dashed border-emerald-300/80 px-1.5${p}`,style:{left:`${x}%`,width:`${h}%`,backgroundColor:t.pillColor??"#8b5cf6",...f},children:e.jsx("span",{className:"truncate text-[10px] font-medium text-white/90",children:s(t.barLabel??"",a)})}),t.bar==="verify"&&e.jsx("div",{"data-testid":"gantt-bar",className:`absolute top-1/2 z-20 flex h-[18px] -translate-y-1/2 items-center border border-violet-400/60 bg-gradient-to-b from-[#ede0f5] to-[#dccaee] px-1.5 ${t.end>v?"rounded-l-[4px] border-r-0":"rounded-[4px]"}${p}`,style:{left:`${x}%`,width:`${h}%`,...f},children:e.jsx("span",{className:"truncate text-[10px] font-semibold text-[#3b2a52]",children:s(t.barLabel??"",a)})}),t.comments!==void 0&&e.jsx("span",{className:"gantt-comment-bubble absolute z-30 flex h-4 min-w-[16px] items-center justify-center rounded-full bg-violet-500 px-0.5 text-[9px] font-bold text-white ring-1 ring-white/70",style:{left:`calc(${i(t.commentAt??t.end)}% - 8px)`,top:"3px"},children:t.comments}),(k=t.ahead)==null?void 0:k.map(y=>e.jsx("span",{className:"gantt-ahead-badge absolute top-1/2 z-20 -translate-y-1/2 whitespace-nowrap rounded-[4px] border border-emerald-400/60 bg-emerald-500/15 px-1.5 py-px text-[9px] font-semibold text-emerald-300",style:{left:`${i(y.at)}%`},children:s(y.label,a)},y.label))]},t.id)}),e.jsx("svg",{"data-testid":"gantt-deps",className:`pointer-events-none absolute left-0 z-10 w-full${n?" gantt-anim-late":" opacity-0"}`,style:{top:`${b}px`,height:`${m.length*b}px`,animationDelay:`${m.length*90+350}ms`},viewBox:`0 0 100 ${m.length*b}`,preserveAspectRatio:"none","aria-hidden":"true",children:C.map((t,l)=>e.jsx("path",{className:"gantt-dep-line",d:t.d,fill:"none",stroke:"rgba(167,139,250,0.6)",strokeWidth:1.25,strokeDasharray:t.dashed?"4 3":void 0,vectorEffect:"non-scaling-stroke"},l))}),C.map((t,l)=>
36e.jsx("span",{className:`gantt-dep-arrow pointer-events-none absolute z-10 h-0 w-0 border-y-[4px] border-l-[5px] border-y-transparent border-l-violet-400/80${n?" gantt-anim-late":" opacity-0"}`,style:{left:`calc(${t.arrowX}% - 5px)`,top:`${b+t.targetIdx*b+18}px`,animationDelay:`${m.length*90+350}ms`}},`arrow-${l}`))]})]})}),e.jsxs("div",{className:"flex w-full shrink-0 flex-col border-t border-white/10 lg:w-[340px] lg:border-l lg:border-t-0",children:[e.jsxs("div",{className:"flex items-center justify-between border-b border-white/5 px-4 py-2.5",children:[e.jsx("span",{className:"truncate text-xs font-semibold text-white/80",children:s("AI TV Station: â¦",a)}),e.jsx(R,{size:13,className:"shrink-0 text-white/30"})]}),e.jsxs("div",{className:"flex items-center gap-4 border-b border-white/5 px-4 py-2 text-[11px] text-white/40",children:[e.jsx("span",{children:s("Plan",a)}),e.jsx("span",{children:s("Work log",a)}),e.jsx("span",{children:s("Artifacts",a)}),e.jsx("span",{className:"border-b-2 border-indigo-400 pb-2 -mb-2 font-semibold text-white",children:s("Conversation",a)})]}),e.jsxs("div",{className:"flex-1 space-y-4 overflow-y-auto px-4 py-4",children:[e.jsxs("div",{children:[e.jsx("div",{className:"ml-auto max-w-[92%] rounded-2xl rounded-tr-sm bg-emerald-600 px-3.5 py-2.5 text-[12px] leading-relaxed text-white",children:e.jsx(I,{text:s(Y,a),active:d})}),e.jsx("div",{className:"mt-1 text-right text-[10px] text-white/30",children:"2026/07/17 18:36"}),e.jsxs("div",{className:"mt-1.5 flex flex-wrap justify-end gap-1.5",children:[e.jsx("span",{className:"rounded-full border border-white/10 px-2 py-0.5 text-[10px] text-white/50",children:s("medium",a)}),e.jsx("span",{className:"rounded-full border border-white/10 px-2 py-0.5 text-[10px] text-white/50",children:"Fable 5"}),e.jsx("span",{className:"rounded-full border border-white/10 px-2 py-0.5 text-[10px] text-white/50",children:"Claude"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-1.5 flex items-center gap-2 text-[11px]",children:[e.jsxs("span",{className:"flex items-center gap-1.5 text-violet-400",children:[e.jsx(w,{brand:"grok",size:13})," Grok #3"]}),e.jsx("span",{className:"rounded-full border border-white/10 px-2 py-0.5 text-[10px] text-white/50",children:"Grok 4.5"}),e.jsx("span",{className:"rounded-full border border-white/10 px-2 py-0.5 text-[10px] text-white/50",children:s("medium",a)})]}),e.jsx("div",{className:"max-w-[92%] rounded-2xl rounded-tl-sm bg-white/[0.06] px-3.5 py-2.5 text-[12px] leading-relaxed text-white/80",children:e.jsx(I,{text:s(J,a),active:d})}),e.jsx("div",{className:"mt-1 text-[10px] text-white/30",children:"2026/07/17 18:37:02"})]})]})]})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 border-t border-white/5 px-5 py-2 text-[11px] text-white/40",children:[e.jsxs("span",{children:["6 ",s("slots",a)]}),e.jsxs("span",{children:[s("running",a)," 4"]}),e.jsxs("span",{children:[s("failed",a)," 0"]}),e.jsx("span",{children:"â9912k â176k"}),e.jsxs("span",{children:["19",s("m",a)," 49",s("s",a)]})]})]})}const Q=()=>{const{tr:n}=M(),d=u.useRef(null),[c,s]=u.useState(!1),[r,t]=u.useState(!1);return u.useEffect(()=>{const l=d.current;if(!l)return;const o=new IntersectionObserver(([x])=>{x.isIntersecting&&(s(!0),window.setTimeout(()=>t(!0),900),o.disconnect())},{threshold:.25});return o.observe(l),()=>o.disconnect()},[]),e.jsx("section",{className:"py-16 bg-slate-950","aria-labelledby":"gantt-showcase-title",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsxs("div",{className:"mx-auto mb-10 max-w-2xl text-center space-y-3",children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-wider text-kamui-primary",children:n("Live orchestration view",a)}),e.jsx("h2",{id:"gantt-showcase-title",className:"text-2xl font-bold leading-tight text-white md:text-4xl",children:n("Watch every agent work in real time",a)}),e.jsx("p",{className:"text-base leading-relaxed text-kamui-muted md:text-lg",children:n("A single timeline shows what each model is doing, how the schedule shifts, and the conversation behind every decision.",a)})]}),e.jsx(S,{revealed:c,chatActive:r,cardRef:d})]})})},ee=Object.freeze(Object.defineProperty({__proto__:null,GanttDashboardCard:S,default:Q},Symbol.toStringTag,{value:"Module"}));
36export{S as G,A as R,ee as a};
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.