@attalabs/vinaya 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/README.md +8 -2
  2. package/aeg-root/contracts/planner-brief.md +1 -1
  3. package/aeg-root/enforcement.md +2 -2
  4. package/aeg-root/roles/developer.md +1 -0
  5. package/aeg-root/roles/planner.md +2 -2
  6. package/aeg-root/roles/reviewer.md +1 -1
  7. package/aeg-root/skills/aeg/SKILL.md +1 -1
  8. package/aeg-root/state-machine.md +1 -1
  9. package/aeg-root/templates/pr-report-template.md +2 -0
  10. package/aeg-root/tranche-model.md +1 -1
  11. package/dist/checks/bin/check-body-bare-digits.js +3545 -0
  12. package/dist/checks/bin/check-branch-topology.js +72 -6
  13. package/dist/checks/bin/check-brief-shape.js +72 -6
  14. package/dist/checks/bin/check-closes-n.js +72 -6
  15. package/dist/checks/bin/check-coherence.js +77 -7
  16. package/dist/checks/bin/check-dead-branch-push.js +72 -6
  17. package/dist/checks/bin/check-dispatch-readiness.js +77 -7
  18. package/dist/checks/bin/check-doc-coverage-push.js +77 -7
  19. package/dist/checks/bin/check-doc-coverage.js +80 -11
  20. package/dist/checks/bin/check-evidence-fresh.js +72 -6
  21. package/dist/checks/bin/check-first-push-dispatch.js +77 -7
  22. package/dist/checks/bin/check-issue-assignment.js +72 -6
  23. package/dist/checks/bin/check-no-disk-state.js +72 -6
  24. package/dist/checks/bin/check-reader-resolvable-prose.js +72 -6
  25. package/dist/checks/bin/check-registry-gates.js +72 -6
  26. package/dist/checks/bin/check-review-gate.js +77 -18
  27. package/dist/checks/bin/check-single-plan-pr.js +72 -6
  28. package/dist/checks/bin/check-test-plan.js +72 -6
  29. package/dist/index.js +591 -206
  30. package/package.json +1 -1
  31. package/studio-standalone/apps/vinaya-studio/web/.next/BUILD_ID +1 -1
  32. package/studio-standalone/apps/vinaya-studio/web/.next/build-manifest.json +3 -3
  33. package/studio-standalone/apps/vinaya-studio/web/.next/prerender-manifest.json +3 -3
  34. package/studio-standalone/apps/vinaya-studio/web/.next/required-server-files.json +1 -1
  35. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.html +1 -1
  36. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.rsc +1 -1
  37. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  38. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  39. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  40. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_not-found/page/server-reference-manifest.json +2 -2
  41. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  42. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  43. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/page/server-reference-manifest.json +2 -2
  44. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/page.js.nft.json +1 -1
  45. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/page_client-reference-manifest.js +1 -1
  46. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/backlog/page/server-reference-manifest.json +2 -2
  47. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/backlog/page.js +1 -1
  48. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/backlog/page.js.nft.json +1 -1
  49. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/backlog/page_client-reference-manifest.js +1 -1
  50. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/page/server-reference-manifest.json +2 -2
  51. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/page.js +1 -1
  52. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/page.js.nft.json +1 -1
  53. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/page_client-reference-manifest.js +1 -1
  54. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/page/server-reference-manifest.json +2 -2
  55. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/page.js.nft.json +1 -1
  56. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/page_client-reference-manifest.js +1 -1
  57. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/page/server-reference-manifest.json +2 -2
  58. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/page.js +1 -1
  59. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/page.js.nft.json +1 -1
  60. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/page_client-reference-manifest.js +1 -1
  61. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/tasks/[taskId]/page/server-reference-manifest.json +2 -2
  62. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/tasks/[taskId]/page.js +1 -1
  63. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/tasks/[taskId]/page.js.nft.json +1 -1
  64. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/[name]/tranches/[slug]/tasks/[taskId]/page_client-reference-manifest.js +1 -1
  65. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/page/server-reference-manifest.json +2 -2
  66. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/page.js +1 -1
  67. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/page.js.nft.json +1 -1
  68. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/projects/page_client-reference-manifest.js +1 -1
  69. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/tranches/page/server-reference-manifest.json +2 -2
  70. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/tranches/page.js.nft.json +1 -1
  71. package/studio-standalone/apps/vinaya-studio/web/.next/server/app/studio/tranches/page_client-reference-manifest.js +1 -1
  72. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/1q96_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-creator-reader_0lom2js.js +1 -1
  73. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__029-1ch._.js +1 -1
  74. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__0gw1_g2._.js +1 -1
  75. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__0q56ohl._.js +1 -1
  76. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__0rr_lq7._.js +1 -1
  77. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__19jyp3m._.js +1 -1
  78. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__1_ojzp1._.js +1 -1
  79. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{[root-of-the-server]__1qpl4m_._.js → [root-of-the-server]__1ccgndq._.js} +1 -1
  80. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__1d_8nm4._.js +1 -1
  81. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__1dfzjrd._.js +1 -1
  82. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__1zkwtx8._.js +1 -1
  83. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/[root-of-the-server]__210ehg9._.js +1 -1
  84. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_0-n77dx._.js +1 -1
  85. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_00yjcv1._.js +1 -1
  86. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_01605g7._.js +1 -1
  87. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_0o54suy._.js +1 -1
  88. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_0rix02i._.js +1 -1
  89. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{_1u3abhy._.js → _0x999pb._.js} +2 -2
  90. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{_0ndy563._.js → _1-6rzip._.js} +2 -2
  91. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_18-d2be._.js +1 -1
  92. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{_087xa25._.js → _1_talrs._.js} +2 -2
  93. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{_11vnfnm._.js → _1ar5uqe._.js} +2 -2
  94. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/{_02drwa_._.js → _1c9b9j-._.js} +2 -2
  95. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/_1gw6vc9._.js +1 -1
  96. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/apps_vinaya-studio_web_src_app_studio_18kqbvs._.js +1 -1
  97. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/apps_vinaya-studio_web_src_app_studio_projects_[name]_tranches_[slug]_20yap_f._.js +1 -1
  98. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/node_modules_1vo08dj._.js +2 -2
  99. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/packages_ui_libraries_animate_components_index_ts_186fje1._.js +1 -1
  100. package/studio-standalone/apps/vinaya-studio/web/.next/server/chunks/ssr/packages_ui_libraries_basic_components_index_ts_0xk1vda._.js +1 -1
  101. package/studio-standalone/apps/vinaya-studio/web/.next/server/middleware-build-manifest.js +3 -3
  102. package/studio-standalone/apps/vinaya-studio/web/.next/server/pages/500.html +1 -1
  103. package/studio-standalone/apps/vinaya-studio/web/.next/server/server-reference-manifest.js +1 -1
  104. package/studio-standalone/apps/vinaya-studio/web/.next/server/server-reference-manifest.json +3 -3
  105. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{1mexqnauhtbtp.js → 0_jnwbarv-cqk.js} +1 -1
  106. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0ek6qlqhokys0.js → 0l_vubs1ephe5.js} +1 -1
  107. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/0ojfbn3yvy-8_.js +1 -0
  108. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{1jx5_q1g9l-cm.js → 0phqfqwbnt_ey.js} +1 -1
  109. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0qcu17x3h94a9.js → 17r0szvqeeyhx.js} +1 -1
  110. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0ve1-nz-mu_lr.js → 18x3rbqzeutpz.js} +1 -1
  111. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{22y4d5yrovcv-.js → 1bqpfvromtwn1.js} +1 -1
  112. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{39w6jbw3rleez.js → 24ojyzmt_fkg3.js} +1 -1
  113. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0tmcnl-z8yt2_.js → 30lyvn0yzwdiz.js} +1 -1
  114. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0fm4p9os2lsom.js → 3m0_gk59s-rbx.js} +1 -1
  115. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0ywkq74falx-x.js → 40x7f5hm7a5tk.js} +1 -1
  116. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/{0-08g_jjalnd9.js → 453zhecht_m1q.js} +1 -1
  117. package/studio-standalone/apps/vinaya-studio/web/server.js +1 -1
  118. package/studio-standalone/apps/vinaya-studio/web/.next/static/chunks/1s9ixp5nhnevp.js +0 -1
  119. /package/studio-standalone/apps/vinaya-studio/web/.next/static/{R7xvB2iuNFp_jxENpL7xv → p5sWGp4ANwORiaX4Kk6U2}/_buildManifest.js +0 -0
  120. /package/studio-standalone/apps/vinaya-studio/web/.next/static/{R7xvB2iuNFp_jxENpL7xv → p5sWGp4ANwORiaX4Kk6U2}/_clientMiddlewareManifest.js +0 -0
  121. /package/studio-standalone/apps/vinaya-studio/web/.next/static/{R7xvB2iuNFp_jxENpL7xv → p5sWGp4ANwORiaX4Kk6U2}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,319458,e=>{"use strict";var t=e.i(843476),a=e.i(618566);e.i(799321);var n=e.i(76616),r=e.i(167012);e.i(828627);var i=e.i(974817);e.s(["ProjectsSubBar",0,function({projects:e}){let o,s,l=(0,a.usePathname)(),d=-1!==(s=(o=l?.split("/")??[]).indexOf("projects"))&&o[s+1]?o[s+1]:null;return(0,t.jsx)("div",{className:"sticky top-0 z-20 -mt-6 shrink-0",children:(0,t.jsx)(n.ChromeFrame,{variant:"bar",className:"h-10 justify-center gap-4 px-6 font-mono text-[11px] select-none",children:(0,t.jsx)(i.Flex,{align:"center",gap:2,className:"overflow-x-auto no-scrollbar",children:e.map((a,n)=>{let o=d===a.name;return(0,t.jsxs)(i.Flex,{as:"span",align:"center",gap:2,children:[(0,t.jsx)(r.NextLink,{variant:"unstyled",href:`/studio/projects/${a.name}`,className:`px-3 py-1 rounded-md transition-colors flex items-center gap-1.5 ${o?"bg-primary/10 text-primary font-semibold":"text-muted-foreground hover:text-foreground"}`,children:(0,t.jsx)("span",{className:"text-xs",children:a.name})}),n<e.length-1&&(0,t.jsx)("span",{className:"text-muted-foreground/30",children:"·"})]},a.name)})})})})}])},382449,e=>{"use strict";var t=e.i(388474);e.s(["Checkbox",0,t])},687607,e=>{"use strict";var t=e.i(271645),a=e.i(981140),n=e.i(30030),r=e.i(369340),i=e.i(934620),o=e.i(820783),s=e.i(248425),l=e.i(296626),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),m="Collapsible",[f,g]=(0,n.createContextScope)(m),[v,x]=f(m),b=t.forwardRef(p(function(e,a){let{__scopeCollapsible:n,open:i,defaultOpen:o,disabled:l,onOpenChange:u,...p}=e,[f,g]=(0,r.useControllableState)({prop:i,defaultProp:o??!1,onChange:u,caller:m});return(0,c.jsx)(v,{scope:n,disabled:l,contentId:(0,d.useId)(),open:f,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),children:(0,c.jsx)(s.Primitive.div,{"data-state":N(f),"data-disabled":l?"":void 0,...p,ref:a})})},"Collapsible")),h=t.forwardRef(p(function(e,t){let{__scopeCollapsible:n,...r}=e,i=x("CollapsibleTrigger",n);return(0,c.jsx)(s.Primitive.button,{type:"button","aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":N(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,i.onOpenToggle)})},"CollapsibleTrigger")),w="CollapsibleContent",j=t.forwardRef(p(function(e,t){let{forceMount:a,...n}=e,r=x(w,e.__scopeCollapsible);return(0,c.jsx)(l.Presence,{present:a||r.open,children:({present:e})=>(0,c.jsx)(y,{...n,ref:t,present:e})})},"CollapsibleContent")),y=t.forwardRef(p(function(e,a){let{__scopeCollapsible:n,present:r,children:l,...d}=e,u=x(w,n),[p,m]=t.useState(r),f=t.useRef(null),g=(0,o.useComposedRefs)(a,f),v=t.useRef(0),b=v.current,h=t.useRef(0),j=h.current,y=u.open||p,C=t.useRef(y),T=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=f.current;if(e){T.current=T.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,h.current=t.width,C.current||(e.style.transitionDuration=T.current.transitionDuration,e.style.animationName=T.current.animationName),m(r)}},[u.open,r]),(0,c.jsx)(s.Primitive.div,{"data-state":N(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!y,...d,ref:g,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:y&&l})},"CollapsibleContentImpl"));function N(e){return e?"open":"closed"}p(N,"getState"),e.s(["Collapsible",0,b,"CollapsibleContent",0,j,"CollapsibleTrigger",0,h,"Content",0,j,"Root",0,b,"Trigger",0,h,"createCollapsibleScope",0,g])},768467,e=>{"use strict";var t=e.i(57287);e.s(["Switch",0,t])},926209,e=>{"use strict";var t=e.i(271645),a=e.i(981140),n=e.i(30030),r=e.i(842727),i=e.i(296626),o=e.i(248425),s=e.i(586318),l=e.i(369340),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),m="Tabs",[f,g]=(0,n.createContextScope)(m,[r.createRovingFocusGroupScope]),v=(0,r.createRovingFocusGroupScope)(),[x,b]=f(m),h=t.forwardRef(p(function(e,t){let{__scopeTabs:a,value:n,onValueChange:r,defaultValue:i,orientation:u="horizontal",dir:p,activationMode:f="automatic",...g}=e,v=(0,s.useDirection)(p),[b,h]=(0,l.useControllableState)({prop:n,onChange:r,defaultProp:i??"",caller:m});return(0,c.jsx)(x,{scope:a,baseId:(0,d.useId)(),value:b,onValueChange:h,orientation:u,dir:v,activationMode:f,children:(0,c.jsx)(o.Primitive.div,{dir:v,"data-orientation":u,...g,ref:t})})},"Tabs")),w=t.forwardRef(p(function(e,t){let{__scopeTabs:a,loop:n=!0,...i}=e,s=b("TabsList",a),l=v(a);return(0,c.jsx)(r.Root,{asChild:!0,...l,orientation:s.orientation,dir:s.dir,loop:n,children:(0,c.jsx)(o.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:t})})},"TabsList")),j=t.forwardRef(p(function(e,t){let{__scopeTabs:n,value:i,disabled:s=!1,...l}=e,d=b("TabsTrigger",n),u=v(n),p=N(d.baseId,i),m=C(d.baseId,i),f=i===d.value;return(0,c.jsx)(r.Item,{asChild:!0,...u,focusable:!s,active:f,children:(0,c.jsx)(o.Primitive.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":m,"data-state":f?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:p,...l,ref:t,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(i)}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!s&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&d.onValueChange(i)}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==d.activationMode;f||s||!e||d.onValueChange(i)})})})},"TabsTrigger")),y=t.forwardRef(p(function(e,a){let{__scopeTabs:n,value:r,forceMount:s,children:l,...d}=e,u=b("TabsContent",n),p=N(u.baseId,r),m=C(u.baseId,r),f=r===u.value,g=t.useRef(f);return t.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.jsx)(i.Presence,{present:s||f,children:({present:t})=>(0,c.jsx)(o.Primitive.div,{"data-state":f?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":p,hidden:!t,id:m,tabIndex:0,...d,ref:a,style:{...e.style,animationDuration:g.current?"0s":void 0},children:t&&l})})},"TabsContent"));function N(e,t){return`${e}-trigger-${t}`}function C(e,t){return`${e}-content-${t}`}p(N,"makeTriggerId"),p(C,"makeContentId"),e.s(["Content",0,y,"List",0,w,"Root",0,h,"Tabs",0,h,"TabsContent",0,y,"TabsList",0,w,"TabsTrigger",0,j,"Trigger",0,j,"createTabsScope",0,g])},504607,e=>{"use strict";var t=e.i(980305);e.s(["Toggle",0,t])},503636,358729,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDownIcon",()=>t.default],503636);var a=e.i(144716);e.s(["ChevronUpIcon",()=>a.default],358729)},799321,e=>{"use strict";e.i(19710),e.s([])},263724,867927,471415,566407,e=>{"use strict";var t=e.i(843476),a=e.i(271645),n=e.i(690923);let r=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("code",{ref:r,className:(0,n.cn)("rounded-sm bg-muted px-1.5 py-0.5 font-mono text-[0.92em] text-foreground",e),...a}));r.displayName="Code";let i=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("pre",{ref:r,className:(0,n.cn)("my-4 overflow-x-auto rounded-md bg-muted p-4 font-mono text-sm text-foreground",e),...a}));i.displayName="CodeBlock",e.s(["Code",0,r,"CodeBlock",0,i],263724);var o=e.i(991918),s=e.i(986253);e.s(["ChevronRight",()=>s.default],867927);var s=s;let l=(0,e.i(456420).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]),d=a.forwardRef(({...e},a)=>(0,t.jsx)("nav",{ref:a,"aria-label":"breadcrumb",...e}));d.displayName="Breadcrumb";let c=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("ol",{ref:r,className:(0,n.cn)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...a}));c.displayName="BreadcrumbList";let u=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("li",{ref:r,className:(0,n.cn)("inline-flex items-center gap-1.5",e),...a}));u.displayName="BreadcrumbItem";let p=a.forwardRef(({asChild:e,className:a,...r},i)=>{let s=e?o.Slot:"a";return(0,t.jsx)(s,{ref:i,className:(0,n.cn)("transition-colors hover:text-foreground",a),...r})});p.displayName="BreadcrumbLink";let m=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:(0,n.cn)("font-normal text-foreground",e),...a}));m.displayName="BreadcrumbPage";let f=({children:e,className:a,...r})=>(0,t.jsx)("li",{role:"presentation","aria-hidden":"true",className:(0,n.cn)("[&>svg]:w-3.5 [&>svg]:h-3.5",a),...r,children:e??(0,t.jsx)(s.default,{})});f.displayName="BreadcrumbSeparator";let g=({className:e,...a})=>(0,t.jsxs)("span",{role:"presentation","aria-hidden":"true",className:(0,n.cn)("flex h-9 w-9 items-center justify-center",e),...a,children:[(0,t.jsx)(l,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More"})]});g.displayName="BreadcrumbElipssis",e.s(["Breadcrumb",0,d,"BreadcrumbEllipsis",0,g,"BreadcrumbItem",0,u,"BreadcrumbLink",0,p,"BreadcrumbList",0,c,"BreadcrumbPage",0,m,"BreadcrumbSeparator",0,f],471415),e.s(["makeScrollableTable",0,function(e,a){function r({className:i,containerClassName:o,stickyHeader:s=!1,...l}){return(0,t.jsx)("div",{className:"@container/tbl w-full min-w-0 max-w-full",children:(0,t.jsx)("div",{className:(0,n.cn)(s&&"@min-[780px]/tbl:[&>div]:overflow-visible",s&&a,o),children:(0,t.jsx)(e,{className:i,...l})})})}return r.displayName="Table",r}],566407)},19710,929570,336583,76616,721930,7956,992250,137951,186506,398313,888624,884941,e=>{"use strict";var t=e.i(843476),a=e.i(225913),n=e.i(586011),r=e.i(690923);let i=(0,a.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded border-2 px-2 py-0.5 text-xs font-head font-medium whitespace-nowrap shadow-sm transition-all focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive text-destructive-foreground [a]:hover:bg-destructive/90",outline:"bg-transparent text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"border-transparent bg-transparent shadow-none hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"border-transparent bg-transparent shadow-none text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function o({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded border-2 bg-card py-(--card-spacing) text-sm text-card-foreground shadow-md [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})}e.s(["Badge",0,function({className:e,variant:a="default",asChild:o=!1,...s}){let l=o?n.Slot.Root:"span";return(0,t.jsx)(l,{"data-slot":"badge","data-variant":a,className:(0,r.cn)(i({variant:a}),e),...s})}],929570),e.i(263724),e.s(["Card",0,o,"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t-2 bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("cn-font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}],336583),e.s(["ChromeFrame",0,function({variant:e,className:a,children:n,...i}){return"rail"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,r.cn)("flex h-full w-full flex-col overflow-hidden rounded bg-sidebar py-0",a),...i,children:n})}):"panel"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,r.cn)("flex h-full w-full flex-col overflow-y-auto rounded bg-card py-0",a),...i,children:n})}):"bar"===e?(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,r.cn)("flex w-full flex-row items-center rounded bg-card py-0",a),...i,children:n})}):(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,r.cn)("relative flex h-14 w-full flex-row items-center gap-0 rounded px-6 py-0 overflow-visible",a),...i,children:n})})}],76616),e.i(971763);var s=e.i(829834);e.s(["TabsTrigger",0,function({className:e,...a}){return(0,t.jsx)(s.TabsTrigger,{className:(0,r.cn)(e,"data-active:hover:text-primary-foreground"),...a})}],721930),e.i(277718),e.i(900843),e.i(382115),e.i(19810),e.i(649320);var l=e.i(392784);function d({variant:e,size:a,error:n,leftSection:i,rightSection:o,className:s,...c}){return i||o?(0,t.jsxs)("div",{className:"w-full flex items-center gap-1",children:[i,(0,t.jsx)(l.Input,{className:(0,r.cn)("flex-1",n&&"border-destructive",s),...c}),o]}):(0,t.jsx)(l.Input,{className:(0,r.cn)(n&&"border-destructive",s),...c})}function c({className:e,leftSection:a,rightSection:n,error:i,children:o}){return(0,t.jsxs)("div",{className:(0,r.cn)("w-full flex gap-1 items-center",i&&"border-destructive",e),children:[a,o,n]})}d.displayName="Input",c.displayName="InputBlock",e.s(["Input",0,d,"InputBlock",0,c],7956),e.i(500418),e.i(691298),e.i(311690),e.i(396409),e.i(74778),e.i(598349),e.i(471415);var u=e.i(503636),p=e.i(576958),p=p;let m=(0,a.cva)("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground");function f({className:e,...a}){return(0,t.jsx)("div",{className:(0,r.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,t.jsx)(p.Viewport,{"data-slot":"navigation-menu-viewport",className:(0,r.cn)("origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded border-2 bg-popover text-popover-foreground shadow-md duration-100 md:w-(--radix-navigation-menu-viewport-width) data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90",e),...a})})}e.s(["NavigationMenu",0,function({className:e,children:a,viewport:n=!0,...i}){return(0,t.jsxs)(p.Root,{"data-slot":"navigation-menu","data-viewport":n,className:(0,r.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...i,children:[a,n&&(0,t.jsx)(f,{})]})},"NavigationMenuContent",0,function({className:e,...a}){return(0,t.jsx)(p.Content,{"data-slot":"navigation-menu-content",className:(0,r.cn)("top-0 left-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded group-data-[viewport=false]/navigation-menu:border-2 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:duration-300 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95",e),...a})},"NavigationMenuIndicator",0,function({className:e,...a}){return(0,t.jsx)(p.Indicator,{"data-slot":"navigation-menu-indicator",className:(0,r.cn)("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",e),...a,children:(0,t.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})},"NavigationMenuItem",0,function({className:e,...a}){return(0,t.jsx)(p.Item,{"data-slot":"navigation-menu-item",className:(0,r.cn)("relative",e),...a})},"NavigationMenuLink",0,function({className:e,...a}){return(0,t.jsx)(p.Link,{"data-slot":"navigation-menu-link",className:(0,r.cn)("flex items-center gap-2 rounded-sm p-2 text-sm transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary in-data-[slot=navigation-menu-content]:rounded-sm data-active:bg-accent data-active:text-accent-foreground [&_svg:not([class*='size-'])]:size-4",e),...a})},"NavigationMenuList",0,function({className:e,...a}){return(0,t.jsx)(p.List,{"data-slot":"navigation-menu-list",className:(0,r.cn)("group flex flex-1 list-none items-center justify-center gap-0",e),...a})},"NavigationMenuTrigger",0,function({className:e,children:a,...n}){return(0,t.jsxs)(p.Trigger,{"data-slot":"navigation-menu-trigger",className:(0,r.cn)(m(),"group",e),...n,children:[a," ",(0,t.jsx)(u.ChevronDownIcon,{className:"relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180","aria-hidden":"true"})]})},"NavigationMenuViewport",0,f,"navigationMenuTriggerStyle",0,m],992250);var g=e.i(408277);let v=(0,e.i(566407).makeScrollableTable)(g.Table,"@min-[780px]/tbl:[&_thead_th]:sticky @min-[780px]/tbl:[&_thead_th]:top-0 @min-[780px]/tbl:[&_thead_th]:z-10 @min-[780px]/tbl:[&_thead_th]:bg-muted @min-[780px]/tbl:[&_thead_th]:shadow-[inset_0_-2px_0_0_var(--border)] @min-[780px]/tbl:[&_thead_th:first-child]:rounded-tl @min-[780px]/tbl:[&_thead_th:last-child]:rounded-tr");e.s(["Table",0,v,"TableCell",0,function({className:e,...a}){return(0,t.jsx)(g.TableCell,{className:(0,r.cn)("whitespace-normal",e),...a})}],137951),e.i(828627);var x=e.i(881736);e.s(["Button",0,function({className:e,...a}){return(0,t.jsx)(x.Button,{className:(0,r.cn)(e,"leading-none"),...a})}],186506);var b=e.i(96834);let h=(0,r.cn)("data-[state=checked]:bg-primary","[&_[data-slot=switch-thumb]]:data-[state=unchecked]:translate-x-0","[&_[data-slot=switch-thumb]]:data-[state=checked]:bg-background","data-[size=default]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-5","data-[size=sm]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-4");e.s(["Switch",0,function({className:e,...a}){return(0,t.jsx)(b.Switch,{className:(0,r.cn)(h,e),...a})}],398313);var w=e.i(802143);e.s(["Toggle",0,function({className:e,...a}){return(0,t.jsx)(w.Toggle,{className:(0,r.cn)(e,"cursor-pointer disabled:cursor-not-allowed"),...a})}],888624),e.i(678223),e.i(575360);var j=e.i(271645),y=e.i(579104);e.s(["SidebarMenuButton",0,function({render:e,children:a,asChild:n,...r}){return e&&(0,j.isValidElement)(e)?(0,t.jsx)(y.SidebarMenuButton,{asChild:!0,...r,children:(0,j.cloneElement)(e,void 0,a)}):(0,t.jsx)(y.SidebarMenuButton,{asChild:n,...r,children:a})}],884941),e.i(732002),e.i(943696),e.i(595040),e.s([],19710)},828627,974817,15758,e=>{"use strict";var t=e.i(843476),a=e.i(991918),n=e.i(690923),r=e.i(271645);let i=r.default.forwardRef(({asChild:e,as:r="div",direction:i,align:o,justify:s,wrap:l,gap:d,className:c,...u},p)=>{let m=e?a.Slot:r,f=(0,n.cn)((e=>{let{direction:t,align:a,justify:n,wrap:r,gap:i}=e,o=["flex"];"column"===t&&o.push("flex-col"),"row-reverse"===t&&o.push("flex-row-reverse"),"column-reverse"===t&&o.push("flex-col-reverse"),"start"===a&&o.push("items-start"),"center"===a&&o.push("items-center"),"end"===a&&o.push("items-end"),"baseline"===a&&o.push("items-baseline"),"stretch"===a&&o.push("items-stretch"),"start"===n&&o.push("justify-start"),"center"===n&&o.push("justify-center"),"end"===n&&o.push("justify-end"),"between"===n&&o.push("justify-between"),"around"===n&&o.push("justify-around"),"evenly"===n&&o.push("justify-evenly"),"wrap"===r&&o.push("flex-wrap"),"nowrap"===r&&o.push("flex-nowrap"),"wrap-reverse"===r&&o.push("flex-wrap-reverse");let s=(e=>{if(void 0!==e)return({0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",7:"gap-7",8:"gap-8",9:"gap-9",10:"gap-10",11:"gap-11",12:"gap-12",14:"gap-14",16:"gap-16",20:"gap-20",24:"gap-24",28:"gap-28",32:"gap-32",36:"gap-36",40:"gap-40",44:"gap-44",48:"gap-48",52:"gap-52",56:"gap-56",60:"gap-60",64:"gap-64",72:"gap-72",80:"gap-80",96:"gap-96"})[e]||`gap-[${.25*e}rem]`})(i);return s&&o.push(s),o})({direction:i,align:o,justify:s,wrap:l,gap:d}),c);return(0,t.jsx)(m,{...u,ref:p,className:f})});i.displayName="Flex",e.s(["Flex",0,i],974817),e.i(702201);let o={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},s={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},l=r.forwardRef(({as:e="p",size:a="md",weight:r,muted:i,className:l,children:d,...c},u)=>(0,t.jsx)(e,{ref:u,className:(0,n.cn)(o[a],r&&s[r],i&&"text-muted-foreground",l),...c,children:d}));l.displayName="Text",e.s(["Text",0,l],15758),e.i(519410),e.i(947511),e.i(467384),e.s([],828627)},595040,e=>{"use strict";e.i(816396),e.s([])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,319458,e=>{"use strict";var t=e.i(843476),a=e.i(618566);e.i(207530);var n=e.i(76616),r=e.i(167012);e.i(828627);var i=e.i(974817);e.s(["ProjectsSubBar",0,function({projects:e}){let o,s,l=(0,a.usePathname)(),d=-1!==(s=(o=l?.split("/")??[]).indexOf("projects"))&&o[s+1]?o[s+1]:null;return(0,t.jsx)("div",{className:"sticky top-0 z-20 -mt-6 shrink-0",children:(0,t.jsx)(n.ChromeFrame,{variant:"bar",className:"h-10 justify-center gap-4 px-6 font-mono text-[11px] select-none",children:(0,t.jsx)(i.Flex,{align:"center",gap:2,className:"overflow-x-auto no-scrollbar",children:e.map((a,n)=>{let o=d===a.name;return(0,t.jsxs)(i.Flex,{as:"span",align:"center",gap:2,children:[(0,t.jsx)(r.NextLink,{variant:"unstyled",href:`/studio/projects/${a.name}`,className:`px-3 py-1 rounded-md transition-colors flex items-center gap-1.5 ${o?"bg-primary/10 text-primary font-semibold":"text-muted-foreground hover:text-foreground"}`,children:(0,t.jsx)("span",{className:"text-xs",children:a.name})}),n<e.length-1&&(0,t.jsx)("span",{className:"text-muted-foreground/30",children:"·"})]},a.name)})})})})}])},382449,e=>{"use strict";var t=e.i(388474);e.s(["Checkbox",0,t])},687607,e=>{"use strict";var t=e.i(271645),a=e.i(981140),n=e.i(30030),r=e.i(369340),i=e.i(934620),o=e.i(820783),s=e.i(248425),l=e.i(296626),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),m="Collapsible",[f,g]=(0,n.createContextScope)(m),[v,x]=f(m),b=t.forwardRef(p(function(e,a){let{__scopeCollapsible:n,open:i,defaultOpen:o,disabled:l,onOpenChange:u,...p}=e,[f,g]=(0,r.useControllableState)({prop:i,defaultProp:o??!1,onChange:u,caller:m});return(0,c.jsx)(v,{scope:n,disabled:l,contentId:(0,d.useId)(),open:f,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),children:(0,c.jsx)(s.Primitive.div,{"data-state":N(f),"data-disabled":l?"":void 0,...p,ref:a})})},"Collapsible")),h=t.forwardRef(p(function(e,t){let{__scopeCollapsible:n,...r}=e,i=x("CollapsibleTrigger",n);return(0,c.jsx)(s.Primitive.button,{type:"button","aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":N(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,i.onOpenToggle)})},"CollapsibleTrigger")),w="CollapsibleContent",j=t.forwardRef(p(function(e,t){let{forceMount:a,...n}=e,r=x(w,e.__scopeCollapsible);return(0,c.jsx)(l.Presence,{present:a||r.open,children:({present:e})=>(0,c.jsx)(y,{...n,ref:t,present:e})})},"CollapsibleContent")),y=t.forwardRef(p(function(e,a){let{__scopeCollapsible:n,present:r,children:l,...d}=e,u=x(w,n),[p,m]=t.useState(r),f=t.useRef(null),g=(0,o.useComposedRefs)(a,f),v=t.useRef(0),b=v.current,h=t.useRef(0),j=h.current,y=u.open||p,C=t.useRef(y),T=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=f.current;if(e){T.current=T.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,h.current=t.width,C.current||(e.style.transitionDuration=T.current.transitionDuration,e.style.animationName=T.current.animationName),m(r)}},[u.open,r]),(0,c.jsx)(s.Primitive.div,{"data-state":N(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!y,...d,ref:g,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:y&&l})},"CollapsibleContentImpl"));function N(e){return e?"open":"closed"}p(N,"getState"),e.s(["Collapsible",0,b,"CollapsibleContent",0,j,"CollapsibleTrigger",0,h,"Content",0,j,"Root",0,b,"Trigger",0,h,"createCollapsibleScope",0,g])},768467,e=>{"use strict";var t=e.i(57287);e.s(["Switch",0,t])},926209,e=>{"use strict";var t=e.i(271645),a=e.i(981140),n=e.i(30030),r=e.i(842727),i=e.i(296626),o=e.i(248425),s=e.i(586318),l=e.i(369340),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),m="Tabs",[f,g]=(0,n.createContextScope)(m,[r.createRovingFocusGroupScope]),v=(0,r.createRovingFocusGroupScope)(),[x,b]=f(m),h=t.forwardRef(p(function(e,t){let{__scopeTabs:a,value:n,onValueChange:r,defaultValue:i,orientation:u="horizontal",dir:p,activationMode:f="automatic",...g}=e,v=(0,s.useDirection)(p),[b,h]=(0,l.useControllableState)({prop:n,onChange:r,defaultProp:i??"",caller:m});return(0,c.jsx)(x,{scope:a,baseId:(0,d.useId)(),value:b,onValueChange:h,orientation:u,dir:v,activationMode:f,children:(0,c.jsx)(o.Primitive.div,{dir:v,"data-orientation":u,...g,ref:t})})},"Tabs")),w=t.forwardRef(p(function(e,t){let{__scopeTabs:a,loop:n=!0,...i}=e,s=b("TabsList",a),l=v(a);return(0,c.jsx)(r.Root,{asChild:!0,...l,orientation:s.orientation,dir:s.dir,loop:n,children:(0,c.jsx)(o.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:t})})},"TabsList")),j=t.forwardRef(p(function(e,t){let{__scopeTabs:n,value:i,disabled:s=!1,...l}=e,d=b("TabsTrigger",n),u=v(n),p=N(d.baseId,i),m=C(d.baseId,i),f=i===d.value;return(0,c.jsx)(r.Item,{asChild:!0,...u,focusable:!s,active:f,children:(0,c.jsx)(o.Primitive.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":m,"data-state":f?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:p,...l,ref:t,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(i)}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!s&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&d.onValueChange(i)}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==d.activationMode;f||s||!e||d.onValueChange(i)})})})},"TabsTrigger")),y=t.forwardRef(p(function(e,a){let{__scopeTabs:n,value:r,forceMount:s,children:l,...d}=e,u=b("TabsContent",n),p=N(u.baseId,r),m=C(u.baseId,r),f=r===u.value,g=t.useRef(f);return t.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.jsx)(i.Presence,{present:s||f,children:({present:t})=>(0,c.jsx)(o.Primitive.div,{"data-state":f?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":p,hidden:!t,id:m,tabIndex:0,...d,ref:a,style:{...e.style,animationDuration:g.current?"0s":void 0},children:t&&l})})},"TabsContent"));function N(e,t){return`${e}-trigger-${t}`}function C(e,t){return`${e}-content-${t}`}p(N,"makeTriggerId"),p(C,"makeContentId"),e.s(["Content",0,y,"List",0,w,"Root",0,h,"Tabs",0,h,"TabsContent",0,y,"TabsList",0,w,"TabsTrigger",0,j,"Trigger",0,j,"createTabsScope",0,g])},504607,e=>{"use strict";var t=e.i(980305);e.s(["Toggle",0,t])},503636,358729,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDownIcon",()=>t.default],503636);var a=e.i(144716);e.s(["ChevronUpIcon",()=>a.default],358729)},207530,e=>{"use strict";e.i(19710),e.s([])},263724,867927,471415,566407,e=>{"use strict";var t=e.i(843476),a=e.i(271645),n=e.i(690923);let r=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("code",{ref:r,className:(0,n.cn)("rounded-sm bg-muted px-1.5 py-0.5 font-mono text-[0.92em] text-foreground",e),...a}));r.displayName="Code";let i=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("pre",{ref:r,className:(0,n.cn)("my-4 overflow-x-auto rounded-md bg-muted p-4 font-mono text-sm text-foreground",e),...a}));i.displayName="CodeBlock",e.s(["Code",0,r,"CodeBlock",0,i],263724);var o=e.i(991918),s=e.i(986253);e.s(["ChevronRight",()=>s.default],867927);var s=s;let l=(0,e.i(456420).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]),d=a.forwardRef(({...e},a)=>(0,t.jsx)("nav",{ref:a,"aria-label":"breadcrumb",...e}));d.displayName="Breadcrumb";let c=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("ol",{ref:r,className:(0,n.cn)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...a}));c.displayName="BreadcrumbList";let u=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("li",{ref:r,className:(0,n.cn)("inline-flex items-center gap-1.5",e),...a}));u.displayName="BreadcrumbItem";let p=a.forwardRef(({asChild:e,className:a,...r},i)=>{let s=e?o.Slot:"a";return(0,t.jsx)(s,{ref:i,className:(0,n.cn)("transition-colors hover:text-foreground",a),...r})});p.displayName="BreadcrumbLink";let m=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:(0,n.cn)("font-normal text-foreground",e),...a}));m.displayName="BreadcrumbPage";let f=({children:e,className:a,...r})=>(0,t.jsx)("li",{role:"presentation","aria-hidden":"true",className:(0,n.cn)("[&>svg]:w-3.5 [&>svg]:h-3.5",a),...r,children:e??(0,t.jsx)(s.default,{})});f.displayName="BreadcrumbSeparator";let g=({className:e,...a})=>(0,t.jsxs)("span",{role:"presentation","aria-hidden":"true",className:(0,n.cn)("flex h-9 w-9 items-center justify-center",e),...a,children:[(0,t.jsx)(l,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More"})]});g.displayName="BreadcrumbElipssis",e.s(["Breadcrumb",0,d,"BreadcrumbEllipsis",0,g,"BreadcrumbItem",0,u,"BreadcrumbLink",0,p,"BreadcrumbList",0,c,"BreadcrumbPage",0,m,"BreadcrumbSeparator",0,f],471415),e.s(["makeScrollableTable",0,function(e,a){function r({className:i,containerClassName:o,stickyHeader:s=!1,...l}){return(0,t.jsx)("div",{className:"@container/tbl w-full min-w-0 max-w-full",children:(0,t.jsx)("div",{className:(0,n.cn)(s&&"@min-[780px]/tbl:[&>div]:overflow-visible",s&&a,o),children:(0,t.jsx)(e,{className:i,...l})})})}return r.displayName="Table",r}],566407)},19710,929570,336583,76616,721930,7956,992250,137951,186506,398313,888624,884941,e=>{"use strict";var t=e.i(843476),a=e.i(225913),n=e.i(586011),r=e.i(690923);let i=(0,a.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded border-2 px-2 py-0.5 text-xs font-head font-medium whitespace-nowrap shadow-sm transition-all focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive text-destructive-foreground [a]:hover:bg-destructive/90",outline:"bg-transparent text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"border-transparent bg-transparent shadow-none hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"border-transparent bg-transparent shadow-none text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function o({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded border-2 bg-card py-(--card-spacing) text-sm text-card-foreground shadow-md [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})}e.s(["Badge",0,function({className:e,variant:a="default",asChild:o=!1,...s}){let l=o?n.Slot.Root:"span";return(0,t.jsx)(l,{"data-slot":"badge","data-variant":a,className:(0,r.cn)(i({variant:a}),e),...s})}],929570),e.i(263724),e.s(["Card",0,o,"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t-2 bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("cn-font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}],336583),e.s(["ChromeFrame",0,function({variant:e,className:a,children:n,...i}){return"rail"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,r.cn)("flex h-full w-full flex-col overflow-hidden rounded bg-sidebar py-0",a),...i,children:n})}):"panel"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,r.cn)("flex h-full w-full flex-col overflow-y-auto rounded bg-card py-0",a),...i,children:n})}):"bar"===e?(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,r.cn)("flex w-full flex-row items-center rounded bg-card py-0",a),...i,children:n})}):(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,r.cn)("relative flex h-14 w-full flex-row items-center gap-0 rounded px-6 py-0 overflow-visible",a),...i,children:n})})}],76616),e.i(971763);var s=e.i(829834);e.s(["TabsTrigger",0,function({className:e,...a}){return(0,t.jsx)(s.TabsTrigger,{className:(0,r.cn)(e,"data-active:hover:text-primary-foreground"),...a})}],721930),e.i(277718),e.i(900843),e.i(382115),e.i(19810),e.i(649320);var l=e.i(392784);function d({variant:e,size:a,error:n,leftSection:i,rightSection:o,className:s,...c}){return i||o?(0,t.jsxs)("div",{className:"w-full flex items-center gap-1",children:[i,(0,t.jsx)(l.Input,{className:(0,r.cn)("flex-1",n&&"border-destructive",s),...c}),o]}):(0,t.jsx)(l.Input,{className:(0,r.cn)(n&&"border-destructive",s),...c})}function c({className:e,leftSection:a,rightSection:n,error:i,children:o}){return(0,t.jsxs)("div",{className:(0,r.cn)("w-full flex gap-1 items-center",i&&"border-destructive",e),children:[a,o,n]})}d.displayName="Input",c.displayName="InputBlock",e.s(["Input",0,d,"InputBlock",0,c],7956),e.i(500418),e.i(691298),e.i(311690),e.i(396409),e.i(74778),e.i(598349),e.i(471415);var u=e.i(503636),p=e.i(576958),p=p;let m=(0,a.cva)("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground");function f({className:e,...a}){return(0,t.jsx)("div",{className:(0,r.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,t.jsx)(p.Viewport,{"data-slot":"navigation-menu-viewport",className:(0,r.cn)("origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded border-2 bg-popover text-popover-foreground shadow-md duration-100 md:w-(--radix-navigation-menu-viewport-width) data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90",e),...a})})}e.s(["NavigationMenu",0,function({className:e,children:a,viewport:n=!0,...i}){return(0,t.jsxs)(p.Root,{"data-slot":"navigation-menu","data-viewport":n,className:(0,r.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...i,children:[a,n&&(0,t.jsx)(f,{})]})},"NavigationMenuContent",0,function({className:e,...a}){return(0,t.jsx)(p.Content,{"data-slot":"navigation-menu-content",className:(0,r.cn)("top-0 left-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded group-data-[viewport=false]/navigation-menu:border-2 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:duration-300 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95",e),...a})},"NavigationMenuIndicator",0,function({className:e,...a}){return(0,t.jsx)(p.Indicator,{"data-slot":"navigation-menu-indicator",className:(0,r.cn)("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",e),...a,children:(0,t.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})},"NavigationMenuItem",0,function({className:e,...a}){return(0,t.jsx)(p.Item,{"data-slot":"navigation-menu-item",className:(0,r.cn)("relative",e),...a})},"NavigationMenuLink",0,function({className:e,...a}){return(0,t.jsx)(p.Link,{"data-slot":"navigation-menu-link",className:(0,r.cn)("flex items-center gap-2 rounded-sm p-2 text-sm transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary in-data-[slot=navigation-menu-content]:rounded-sm data-active:bg-accent data-active:text-accent-foreground [&_svg:not([class*='size-'])]:size-4",e),...a})},"NavigationMenuList",0,function({className:e,...a}){return(0,t.jsx)(p.List,{"data-slot":"navigation-menu-list",className:(0,r.cn)("group flex flex-1 list-none items-center justify-center gap-0",e),...a})},"NavigationMenuTrigger",0,function({className:e,children:a,...n}){return(0,t.jsxs)(p.Trigger,{"data-slot":"navigation-menu-trigger",className:(0,r.cn)(m(),"group",e),...n,children:[a," ",(0,t.jsx)(u.ChevronDownIcon,{className:"relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180","aria-hidden":"true"})]})},"NavigationMenuViewport",0,f,"navigationMenuTriggerStyle",0,m],992250);var g=e.i(408277);let v=(0,e.i(566407).makeScrollableTable)(g.Table,"@min-[780px]/tbl:[&_thead_th]:sticky @min-[780px]/tbl:[&_thead_th]:top-0 @min-[780px]/tbl:[&_thead_th]:z-10 @min-[780px]/tbl:[&_thead_th]:bg-muted @min-[780px]/tbl:[&_thead_th]:shadow-[inset_0_-2px_0_0_var(--border)] @min-[780px]/tbl:[&_thead_th:first-child]:rounded-tl @min-[780px]/tbl:[&_thead_th:last-child]:rounded-tr");e.s(["Table",0,v,"TableCell",0,function({className:e,...a}){return(0,t.jsx)(g.TableCell,{className:(0,r.cn)("whitespace-normal",e),...a})}],137951),e.i(828627);var x=e.i(881736);e.s(["Button",0,function({className:e,...a}){return(0,t.jsx)(x.Button,{className:(0,r.cn)(e,"leading-none"),...a})}],186506);var b=e.i(96834);let h=(0,r.cn)("data-[state=checked]:bg-primary","[&_[data-slot=switch-thumb]]:data-[state=unchecked]:translate-x-0","[&_[data-slot=switch-thumb]]:data-[state=checked]:bg-background","data-[size=default]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-5","data-[size=sm]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-4");e.s(["Switch",0,function({className:e,...a}){return(0,t.jsx)(b.Switch,{className:(0,r.cn)(h,e),...a})}],398313);var w=e.i(802143);e.s(["Toggle",0,function({className:e,...a}){return(0,t.jsx)(w.Toggle,{className:(0,r.cn)(e,"cursor-pointer disabled:cursor-not-allowed"),...a})}],888624),e.i(678223),e.i(575360);var j=e.i(271645),y=e.i(579104);e.s(["SidebarMenuButton",0,function({render:e,children:a,asChild:n,...r}){return e&&(0,j.isValidElement)(e)?(0,t.jsx)(y.SidebarMenuButton,{asChild:!0,...r,children:(0,j.cloneElement)(e,void 0,a)}):(0,t.jsx)(y.SidebarMenuButton,{asChild:n,...r,children:a})}],884941),e.i(732002),e.i(943696),e.i(595040),e.s([],19710)},828627,974817,15758,e=>{"use strict";var t=e.i(843476),a=e.i(991918),n=e.i(690923),r=e.i(271645);let i=r.default.forwardRef(({asChild:e,as:r="div",direction:i,align:o,justify:s,wrap:l,gap:d,className:c,...u},p)=>{let m=e?a.Slot:r,f=(0,n.cn)((e=>{let{direction:t,align:a,justify:n,wrap:r,gap:i}=e,o=["flex"];"column"===t&&o.push("flex-col"),"row-reverse"===t&&o.push("flex-row-reverse"),"column-reverse"===t&&o.push("flex-col-reverse"),"start"===a&&o.push("items-start"),"center"===a&&o.push("items-center"),"end"===a&&o.push("items-end"),"baseline"===a&&o.push("items-baseline"),"stretch"===a&&o.push("items-stretch"),"start"===n&&o.push("justify-start"),"center"===n&&o.push("justify-center"),"end"===n&&o.push("justify-end"),"between"===n&&o.push("justify-between"),"around"===n&&o.push("justify-around"),"evenly"===n&&o.push("justify-evenly"),"wrap"===r&&o.push("flex-wrap"),"nowrap"===r&&o.push("flex-nowrap"),"wrap-reverse"===r&&o.push("flex-wrap-reverse");let s=(e=>{if(void 0!==e)return({0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",7:"gap-7",8:"gap-8",9:"gap-9",10:"gap-10",11:"gap-11",12:"gap-12",14:"gap-14",16:"gap-16",20:"gap-20",24:"gap-24",28:"gap-28",32:"gap-32",36:"gap-36",40:"gap-40",44:"gap-44",48:"gap-48",52:"gap-52",56:"gap-56",60:"gap-60",64:"gap-64",72:"gap-72",80:"gap-80",96:"gap-96"})[e]||`gap-[${.25*e}rem]`})(i);return s&&o.push(s),o})({direction:i,align:o,justify:s,wrap:l,gap:d}),c);return(0,t.jsx)(m,{...u,ref:p,className:f})});i.displayName="Flex",e.s(["Flex",0,i],974817),e.i(702201);let o={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},s={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},l=r.forwardRef(({as:e="p",size:a="md",weight:r,muted:i,className:l,children:d,...c},u)=>(0,t.jsx)(e,{ref:u,className:(0,n.cn)(o[a],r&&s[r],i&&"text-muted-foreground",l),...c,children:d}));l.displayName="Text",e.s(["Text",0,l],15758),e.i(519410),e.i(947511),e.i(467384),e.s([],828627)},595040,e=>{"use strict";e.i(816396),e.s([])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,722835,e=>{"use strict";e.i(828627);var t,n,r,a=e.i(218265),o=e.i(843476),i=e.i(263676),s=e.i(632781),l=e.i(271645),d=e.i(690923);let u={xs:"px-1.5 py-0.5 text-xs",sm:"px-2.5 py-0.5 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-4 py-2 text-base",xl:"px-5 py-2.5 text-lg","2xl":"px-6 py-3 text-xl"},c={xs:"w-3 h-3",sm:"w-3.5 h-3.5",md:"w-4 h-4",lg:"w-5 h-5",xl:"w-6 h-6","2xl":"w-7 h-7"},p={none:"",pulse:"animate-pulse",bounce:"animate-bounce",rotate:"animate-spin",scale:"hover:scale-110 transition-transform"},b={default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",destructive:"bg-destructive text-destructive-foreground",outline:"border border-border bg-background text-foreground",ai:"text-white [background:linear-gradient(90deg,#3b82f6,#8b5cf6,#a855f7,#d946ef)]","ai-outline":"border border-transparent [background:linear-gradient(var(--background),var(--background))_padding-box,linear-gradient(90deg,#3b82f6,#8b5cf6,#a855f7,#d946ef)_border-box] text-foreground"},g=l.default.forwardRef(({children:e,size:t="md",shape:n="rounded",animation:r="none",variant:a="default",radius:g,iconLeft:m,iconRight:f,badge:x,loading:h=!1,className:v="",opacity:S,animationDuration:y="normal",disabled:w=!1,active:C=!1,onDismiss:M,onHover:j,onClick:T,href:D,...N},k)=>{let[I,P]=(0,l.useState)(!1);if(I)return null;let R=v&&/rounded(-[a-z0-9[\]/]+)?/i.test(v),B=c[t],_=(0,d.cn)("inline-flex items-center justify-center font-medium transition-all duration-200","focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",u[t],R?"":"pill"===n||"circle"===n?"rounded-full":"square"===n?"rounded-none":g?({none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"})[g]??"":"rounded-md",p[r],{fast:"duration-150",normal:"duration-300",slow:"duration-500"}[y],b[a],w&&"opacity-50 cursor-not-allowed",C&&"ring-2 ring-ring ring-offset-2",h&&"cursor-wait",v),E={...void 0!==S&&{opacity:S}},A=(0,o.jsxs)(o.Fragment,{children:[h?(0,o.jsx)(s.Loader2,{className:(0,d.cn)(B,"animate-spin")}):m&&(0,o.jsx)("span",{className:"mr-1.5",children:l.default.cloneElement(m,{className:B})}),(0,o.jsx)("span",{className:"truncate",children:e}),!h&&f&&(0,o.jsx)("span",{className:"ml-1.5",children:l.default.cloneElement(f,{className:B})}),x&&(0,o.jsx)("span",{className:"ml-1.5 inline-flex items-center justify-center px-1.5 py-0.5 text-xs font-bold leading-none text-white bg-destructive rounded-full",children:x}),M&&(0,o.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:e=>{e.stopPropagation(),P(!0),M?.(e)},className:"ml-1.5 -mr-1 flex-shrink-0 rounded-full p-0.5 hover:bg-black/10 focus:outline-none",children:(0,o.jsx)(i.X,{className:B})})]});return D?(0,o.jsx)("a",{ref:k,href:D,className:_,style:E,onMouseEnter:j,...N,children:A}):T?(0,o.jsx)("button",{ref:k,onClick:T,className:_,style:E,onMouseEnter:j,disabled:w||h,...N,children:A}):(0,o.jsx)("div",{ref:k,className:_,style:E,onMouseEnter:j,...N,children:A})});g.displayName="Badge";var m=e.i(263724),f=e.i(158968);e.i(968040);var x=e.i(962033),h=e.i(907781),v=e.i(388474),S=e.i(689664);let y=l.forwardRef(({className:e,...t},n)=>(0,o.jsx)(v.Root,{ref:n,className:(0,d.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:(0,o.jsx)(v.Indicator,{className:(0,d.cn)("flex items-center justify-center text-current"),children:(0,o.jsx)(S.Check,{className:"h-4 w-4"})})}));y.displayName=v.Root.displayName;let w=l.forwardRef((e,t)=>(0,o.jsx)(y,{ref:t,...e}));w.displayName="Checkbox";var C=e.i(691513),M=e.i(57287);let j=l.forwardRef(({className:e,...t},n)=>(0,o.jsx)(M.Root,{className:(0,d.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:n,children:(0,o.jsx)(M.Thumb,{className:(0,d.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));j.displayName=M.Root.displayName;var T=e.i(979808);e.s([],958842),e.i(958842);var D=e.i(667865),N=e.i(552245),k=e.i(951437),I=e.i(788015),P=e.i(675606),R=e.i(56434),B=e.i(223910),_=e.i(733332);let E=l.createContext(void 0);function A(){let e=l.useContext(E);if(void 0===e)throw Error((0,_.default)(15));return e}var L=e.i(209407);let z=((t={}).open="data-open",t.closed="data-closed",t[t.startingStyle=L.TransitionStatusDataAttributes.startingStyle]="startingStyle",t[t.endingStyle=L.TransitionStatusDataAttributes.endingStyle]="endingStyle",t),F=((n={}).panelOpen="data-panel-open",n),H={[z.open]:""},G={[z.closed]:""},O={open:e=>e?H:G,...L.transitionStatusMapping},V=l.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:a=!1,disabled:i=!1,onOpenChange:s,open:d,style:u,...c}=e,p=(0,D.useStableCallback)(s),b=function(e){let{open:t,defaultOpen:n,onOpenChange:r,disabled:a}=e,[o,i]=(0,k.useControlled)({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:s,setMounted:d,transitionStatus:u}=(0,B.useTransitionStatus)(o,!0,!0),c=(0,I.useBaseUiId)(),[p,b]=l.useState(),g=null===p?void 0:p??c,m=(0,D.useStableCallback)(e=>{let t=!o,n=(0,P.createChangeEventDetails)(R.REASONS.triggerPress,e.nativeEvent);r(t,n),n.isCanceled||i(t)});return l.useMemo(()=>({defaultPanelId:c,disabled:a,handleTrigger:m,mounted:s,open:o,panelId:g,setMounted:d,setOpen:i,setPanelIdState:b,transitionStatus:u}),[c,a,m,s,o,g,d,i,b,u])}({open:d,defaultOpen:a,onOpenChange:p,disabled:i}),g=l.useMemo(()=>({open:b.open,disabled:b.disabled,transitionStatus:b.transitionStatus}),[b.open,b.disabled,b.transitionStatus]),m=l.useMemo(()=>({...b,onOpenChange:p,state:g}),[b,p,g]),f=(0,N.useRenderElement)("div",e,{state:g,ref:t,props:c,stateAttributesMapping:O});return(0,o.jsx)(E.Provider,{value:m,children:f})});var U=e.i(540886);let W={open:e=>e?{[F.panelOpen]:""}:null,...L.transitionStatusMapping},q=l.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:a,state:o,disabled:i}=A(),{className:s,disabled:l=i,render:d,nativeButton:u=!0,style:c,...p}=e,{getButtonProps:b,buttonRef:g}=(0,U.useButton)({disabled:l,focusableWhenDisabled:!0,native:u});return(0,N.useRenderElement)("button",e,{state:o,ref:[t,g],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:a},p,b],stateAttributesMapping:W})});var K=e.i(146376),$=e.i(377570),X=e.i(574735),J=e.i(828918),Q=e.i(708445),Y=e.i(446265),Z=e.i(333848),ee=e.i(137584),et=e.i(222640);let en={height:void 0,width:void 0};function er(e){return{height:e.scrollHeight,width:e.scrollWidth}}function ea(e){return e.split(",").map(e=>e.trim()).some(e=>""!==e&&Number.parseFloat(e)>0)}function eo(e,t,n){let r=e.style.getPropertyValue(t),a=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{""===r?e.style.removeProperty(t):e.style.setProperty(t,r,a)}}let ei=((r={}).collapsiblePanelHeight="--collapsible-panel-height",r.collapsiblePanelWidth="--collapsible-panel-width",r),es=l.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:a,render:o,id:i,style:s,...d}=e,{defaultPanelId:u,mounted:c,onOpenChange:p,open:b,setMounted:g,setPanelIdState:m,setOpen:f,state:x,transitionStatus:h}=A(),v=i||void 0,S=v??u;(0,K.useIsoLayoutEffect)(()=>(m(e=>v??(null===e?void 0:e)),()=>{m(e=>e===v?null:e)}),[v,m]);let{height:y,props:w,ref:C,shouldPreventOpenAnimation:M,shouldRender:j,transitionStatus:T,width:k}=function(e){let{externalRef:t,hiddenUntilFound:n,id:r,keepMounted:a,mounted:o,onOpenChange:i,open:s,setMounted:d,setOpen:u,transitionStatus:c}=e,p=l.useRef(null),b=l.useRef(null),[g,m]=l.useState(en),f=l.useRef(en),x=l.useRef(!1),h=l.useRef(s),v=l.useRef(!1),[S,y]=l.useState(!1),w=l.useRef(null),C=(0,J.useMergedRefs)(t,p),M=(0,Y.useValueAsRef)(s),j=(0,et.useAnimationsFinished)(p),T=!s&&!o,N=S?"idle":c,k=s&&(h.current||v.current),I=!s&&o&&"css-animation"===b.current&&void 0===g.height&&void 0===g.width?f.current:g,B=n&&T&&"css-animation"!==b.current,_=(0,D.useStableCallback)((e,t=!0)=>{t&&(f.current=e),m(e)}),E=(0,D.useStableCallback)(()=>{w.current?.(),w.current=null}),A=(0,D.useStableCallback)(e=>{E(),w.current=()=>{w.current=null,e()}}),L=(0,D.useStableCallback)(()=>{s&&o&&"css-animation"===b.current&&(v.current=!0)});(0,K.useIsoLayoutEffect)(()=>{S&&"starting"!==c&&y(!1)},[S,c]),l.useEffect(()=>()=>{L(),E()},[L,E]),(0,K.useIsoLayoutEffect)(()=>{var e,t;let n,r,a,i=p.current;if(!i)return;!s&&w.current&&E();let l=(e=i,t=k,r=((n=(0,Z.ownerWindow)(e).getComputedStyle(e)).animationName.split(",").map(e=>e.trim()).some(e=>""!==e&&"none"!==e)||t)&&ea(n.animationDuration),a=ea(n.transitionDuration),r&&a||a?"css-transition":r?"css-animation":"none");if(b.current=l,s&&"idle"===c&&h.current&&"css-animation"===l){f.current=er(i);return}if(s&&"starting"===c){let e=x.current;if(x.current=!1,"none"===l){_(er(i)),y(!0);return}if("css-transition"===l){let t=function(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};function n(){Object.entries(t).forEach(([t,n])=>{""===n?e.style.removeProperty(t):e.style.setProperty(t,n)})}Object.keys(t).forEach(t=>{e.style.setProperty(t,"initial","important")});let r=Q.AnimationFrame.request(n);return()=>{Q.AnimationFrame.cancel(r),n()}}(i);return _(er(i)),e&&(A(eo(i,"transition-duration","0s")),y(!0)),t}_(er(i));let t=eo(i,"animation-name","none");if(!e)return void t();let n=eo(i,"animation-duration","0s");return t(),A(n),void y(!0)}if(!s&&o&&("idle"===c||"starting"===c)){if(h.current=!1,v.current=!1,"none"===l){_(en,!1),d(!1);return}_(er(i));return}if("ending"!==c)return;if("none"===l)return void d(!1);let u=er(i);u.height>0||u.width>0?(_(u),"css-animation"===l&&eo(i,"animation-name","none")()):d(!1)},[o,s,E,_,d,A,k,c]),(0,ee.useOpenChangeComplete)({enabled:s&&o&&"idle"===N,open:!0,ref:p,onComplete(){s&&_(en,!1)}}),l.useEffect(()=>{if(s||!o||"ending"!==N||!p.current)return;let e=new AbortController,t=-1;function n(){M.current||(d(!1),_(en,!1))}return t=Q.AnimationFrame.request(()=>{j(n,e.signal)}),()=>{Q.AnimationFrame.cancel(t),e.abort()}},[M,o,s,N,j,_,d]),(0,K.useIsoLayoutEffect)(()=>{let e=p.current;e&&n&&T&&e.setAttribute("hidden","until-found")},[T,n]),l.useEffect(function(){let e=p.current;if(e)return(0,X.addEventListener)(e,"beforematch",function(e){let t=(0,P.createChangeEventDetails)(R.REASONS.none,e);i(!0,t),t.isCanceled||(x.current=!0,u(!0))})},[i,u]);let F=a||n||o||s;return{height:I.height,props:{...B?{[z.startingStyle]:""}:void 0,hidden:T,id:r},ref:C,shouldPreventOpenAnimation:k,shouldRender:F,transitionStatus:N,width:I.width}}({externalRef:t,hiddenUntilFound:r??!1,id:S,keepMounted:a??!1,mounted:c,onOpenChange:p,open:b,setMounted:g,setOpen:f,transitionStatus:h}),I={...x,transitionStatus:T},B=(0,$.resolveStyle)(s,I),_=(0,N.useRenderElement)("div",{...e,style:void 0},{state:I,ref:C,props:[w,{style:{[ei.collapsiblePanelHeight]:void 0===y?"auto":`${y}px`,[ei.collapsiblePanelWidth]:void 0===k?"auto":`${k}px`}},d,B?{style:B}:void 0,M?{style:{animationName:"none"}}:void 0],stateAttributesMapping:O});return j?_:null});e.s(["Panel",0,es,"Root",0,V,"Trigger",0,q],596315);var el=e.i(596315),el=el;function ed({...e}){return(0,o.jsx)(el.Trigger,{"data-slot":"collapsible-trigger",...e})}var eu=e.i(834263),ec=e.i(504936),ep=e.i(454211),eb=e.i(619439),eg=e.i(788285),em=e.i(129402),ef=e.i(593698),ex=e.i(503636),eh=e.i(358729);function ev({className:e,...t}){return(0,o.jsx)(em.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,d.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,o.jsx)(eh.ChevronUpIcon,{className:"size-4"})})}function eS({className:e,...t}){return(0,o.jsx)(em.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,d.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,o.jsx)(ex.ChevronDownIcon,{className:"size-4"})})}var ey=e.i(424132),ew=e.i(396409),eC=e.i(74778),eM=e.i(126820),ej=e.i(471415),eT=e.i(260827),eD=e.i(857415);let eN=(0,e.i(566407).makeScrollableTable)(function({className:e,...t}){return(0,o.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,o.jsx)("table",{"data-slot":"table",className:(0,d.cn)("w-full caption-bottom text-sm",e),...t})})},"@min-[780px]/tbl:[&_thead_th]:sticky @min-[780px]/tbl:[&_thead_th]:top-0 @min-[780px]/tbl:[&_thead_th]:z-10 @min-[780px]/tbl:[&_thead_th]:bg-card @min-[780px]/tbl:[&_thead_th]:shadow-[inset_0_-1px_0_0_color-mix(in_oklab,var(--border)_60%,transparent)]");var ek=e.i(611228),eI=e.i(404279),eP=e.i(242399);e.i(595040),e.s([],490029),e.i(490029);var eR=e.i(519410),eB=e.i(974817),e_=e.i(702201),eE=e.i(15758),eA=e.i(714885),eL=e.i(247277),ez=e.i(359607),eF=e.i(941890),eH=e.i(913790),eG=e.i(657326),eO=e.i(816396);e.s(["AgentThinkingText",()=>eR.AgentThinkingText,"Badge",0,g,"Breadcrumb",()=>ej.Breadcrumb,"BreadcrumbEllipsis",()=>ej.BreadcrumbEllipsis,"BreadcrumbItem",()=>ej.BreadcrumbItem,"BreadcrumbLink",()=>ej.BreadcrumbLink,"BreadcrumbList",()=>ej.BreadcrumbList,"BreadcrumbPage",()=>ej.BreadcrumbPage,"BreadcrumbSeparator",()=>ej.BreadcrumbSeparator,"Button",()=>C.Button,"Card",()=>a.Card,"CardContent",()=>eA.CardContent,"CardDescription",()=>eA.CardDescription,"CardFooter",()=>eA.CardFooter,"CardHeader",()=>eA.CardHeader,"CardTitle",()=>eA.CardTitle,"Checkbox",0,w,"ChromeFrame",()=>f.ChromeFrame,"Code",()=>m.Code,"CodeBlock",()=>m.CodeBlock,"Collapsible",0,function({...e}){return(0,o.jsx)(el.Root,{"data-slot":"collapsible",...e})},"CollapsibleContent",0,function({...e}){return(0,o.jsx)(el.Panel,{"data-slot":"collapsible-content",...e})},"CollapsibleTrigger",0,function({asChild:e,children:t,render:n,...r}){let a=n??(e?(0,eu.resolveSingleChild)(t):void 0);return(0,o.jsx)(ed,{render:a,...r,children:a?void 0:t})},"Command",()=>ey.Command,"CommandEmpty",()=>ey.CommandEmpty,"CommandGroup",()=>ey.CommandGroup,"CommandInput",()=>ey.CommandInput,"CommandItem",()=>ey.CommandItem,"CommandList",()=>ey.CommandList,"CommandSeparator",()=>ey.CommandSeparator,"CommandShortcut",()=>ey.CommandShortcut,"Dialog",()=>eP.Dialog,"DialogClose",()=>eP.DialogClose,"DialogContent",()=>eP.DialogContent,"DialogDescription",()=>eP.DialogDescription,"DialogFooter",()=>eP.DialogFooter,"DialogHeader",()=>eP.DialogHeader,"DialogOverlay",()=>eP.DialogOverlay,"DialogPortal",()=>eP.DialogPortal,"DialogTitle",()=>eP.DialogTitle,"DialogTrigger",()=>eP.DialogTrigger,"DropdownMenu",()=>ep.DropdownMenu,"DropdownMenuCheckboxItem",()=>ep.DropdownMenuCheckboxItem,"DropdownMenuContent",()=>ep.DropdownMenuContent,"DropdownMenuGroup",()=>ep.DropdownMenuGroup,"DropdownMenuItem",()=>ep.DropdownMenuItem,"DropdownMenuItemTextHighlight",()=>eb.DropdownMenuItemTextHighlight,"DropdownMenuLabel",()=>ep.DropdownMenuLabel,"DropdownMenuPortal",()=>ep.DropdownMenuPortal,"DropdownMenuRadioGroup",()=>ep.DropdownMenuRadioGroup,"DropdownMenuRadioItem",()=>ep.DropdownMenuRadioItem,"DropdownMenuSeparator",()=>ep.DropdownMenuSeparator,"DropdownMenuShortcut",()=>ep.DropdownMenuShortcut,"DropdownMenuSub",()=>ep.DropdownMenuSub,"DropdownMenuSubContent",()=>ep.DropdownMenuSubContent,"DropdownMenuSubTrigger",()=>ep.DropdownMenuSubTrigger,"DropdownMenuTrigger",()=>ep.DropdownMenuTrigger,"Flex",()=>eB.Flex,"Heading",()=>e_.Heading,"Input",()=>x.Input,"InputBlock",()=>x.InputBlock,"ModelIcon",()=>ew.ModelIcon,"ModelPicker",()=>eC.ModelPicker,"NavigationMenu",()=>eT.NavigationMenu,"NavigationMenuContent",()=>eT.NavigationMenuContent,"NavigationMenuIndicator",()=>eT.NavigationMenuIndicator,"NavigationMenuItem",()=>eT.NavigationMenuItem,"NavigationMenuLink",()=>eT.NavigationMenuLink,"NavigationMenuList",()=>eT.NavigationMenuList,"NavigationMenuTrigger",()=>eT.NavigationMenuTrigger,"NavigationMenuViewport",()=>eT.NavigationMenuViewport,"Popover",()=>eg.Popover,"PopoverAnchor",()=>eg.PopoverAnchor,"PopoverContent",()=>eg.PopoverContent,"PopoverTrigger",()=>eg.PopoverTrigger,"Select",0,function({...e}){return(0,o.jsx)(em.Root,{"data-slot":"select",...e})},"SelectContent",0,function({className:e,children:t,position:n="popper",...r}){return(0,o.jsx)(em.Portal,{children:(0,o.jsxs)(em.Content,{"data-slot":"select-content",className:(0,d.cn)("bg-popover text-popover-foreground relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-[8rem] origin-[var(--radix-select-content-transform-origin)] overflow-x-hidden overflow-y-auto rounded-md border shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[(0,o.jsx)(ev,{}),(0,o.jsx)(em.Viewport,{className:(0,d.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,o.jsx)(eS,{})]})})},"SelectGroup",0,function({...e}){return(0,o.jsx)(em.Group,{"data-slot":"select-group",...e})},"SelectItem",0,function({className:e,children:t,...n}){return(0,o.jsxs)(em.Item,{"data-slot":"select-item",className:(0,d.cn)("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...n,children:[(0,o.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,o.jsx)(em.ItemIndicator,{children:(0,o.jsx)(ef.CheckIcon,{className:"size-3.5"})})}),(0,o.jsx)(em.ItemText,{children:t})]})},"SelectLabel",0,function({className:e,...t}){return(0,o.jsx)(em.Label,{"data-slot":"select-label",className:(0,d.cn)("px-2 py-1.5 text-xs font-medium text-muted-foreground",e),...t})},"SelectScrollDownButton",0,eS,"SelectScrollUpButton",0,ev,"SelectSeparator",0,function({className:e,...t}){return(0,o.jsx)(em.Separator,{"data-slot":"select-separator",className:(0,d.cn)("-mx-1 my-1 block h-px bg-border",e),...t})},"SelectTrigger",0,function({className:e,children:t,...n}){return(0,o.jsxs)(em.Trigger,{"data-slot":"select-trigger",className:(0,d.cn)("flex h-9 w-full items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...n,children:[t,(0,o.jsx)(em.Icon,{asChild:!0,children:(0,o.jsx)(ex.ChevronDownIcon,{className:"size-4 opacity-50"})})]})},"SelectValue",0,function({...e}){return(0,o.jsx)(em.Value,{"data-slot":"select-value",...e})},"Separator",()=>eM.Separator,"Sheet",()=>eG.Sheet,"SheetClose",()=>eI.SheetClose,"SheetContent",()=>eG.SheetContent,"SheetDescription",()=>eG.SheetDescription,"SheetFooter",()=>eG.SheetFooter,"SheetHeader",()=>eG.SheetHeader,"SheetTitle",()=>eG.SheetTitle,"SheetTrigger",()=>eI.SheetTrigger,"Sidebar",()=>ek.Sidebar,"SidebarContent",()=>ek.SidebarContent,"SidebarFooter",()=>ek.SidebarFooter,"SidebarGroup",()=>ek.SidebarGroup,"SidebarGroupAction",()=>ek.SidebarGroupAction,"SidebarGroupContent",()=>ek.SidebarGroupContent,"SidebarGroupLabel",()=>ek.SidebarGroupLabel,"SidebarHeader",()=>ek.SidebarHeader,"SidebarInput",()=>ek.SidebarInput,"SidebarInset",()=>ek.SidebarInset,"SidebarMenu",()=>ek.SidebarMenu,"SidebarMenuAction",()=>ek.SidebarMenuAction,"SidebarMenuBadge",()=>ek.SidebarMenuBadge,"SidebarMenuButton",()=>ek.SidebarMenuButton,"SidebarMenuItem",()=>ek.SidebarMenuItem,"SidebarMenuSkeleton",()=>ek.SidebarMenuSkeleton,"SidebarMenuSub",()=>ek.SidebarMenuSub,"SidebarMenuSubButton",()=>ek.SidebarMenuSubButton,"SidebarMenuSubItem",()=>ek.SidebarMenuSubItem,"SidebarProvider",()=>ek.SidebarProvider,"SidebarRail",()=>ek.SidebarRail,"SidebarSeparator",()=>ek.SidebarSeparator,"SidebarTrigger",()=>ek.SidebarTrigger,"Slider",()=>eD.Slider,"Switch",0,function(e){return(0,o.jsx)(j,{...e})},"Table",0,eN,"TableBody",0,function({className:e,...t}){return(0,o.jsx)("tbody",{"data-slot":"table-body",className:(0,d.cn)("[&_tr:last-child]:border-0",e),...t})},"TableCaption",0,function({className:e,...t}){return(0,o.jsx)("caption",{"data-slot":"table-caption",className:(0,d.cn)("mt-4 text-sm text-muted-foreground",e),...t})},"TableCell",0,function({className:e,...t}){return(0,o.jsx)("td",{"data-slot":"table-cell",className:(0,d.cn)("px-3 py-2 align-top [&:has([role=checkbox])]:pr-0",e),...t})},"TableFooter",0,function({className:e,...t}){return(0,o.jsx)("tfoot",{"data-slot":"table-footer",className:(0,d.cn)("bg-muted/50 border-t border-border/60 font-medium [&>tr]:last:border-b-0",e),...t})},"TableHead",0,function({className:e,...t}){return(0,o.jsx)("th",{"data-slot":"table-head",className:(0,d.cn)("h-10 px-3 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t})},"TableHeader",0,function({className:e,...t}){return(0,o.jsx)("thead",{"data-slot":"table-header",className:(0,d.cn)("[&_tr]:border-b [&_tr]:border-border/60",e),...t})},"TableRow",0,function({className:e,...t}){return(0,o.jsx)("tr",{"data-slot":"table-row",className:(0,d.cn)("border-b border-border/60 transition-colors hover:bg-muted/40 data-[state=selected]:bg-muted",e),...t})},"Tabs",0,function({className:e,orientation:t="horizontal",...n}){return(0,o.jsx)(ec.Tabs.Root,{"data-slot":"tabs",orientation:t,className:(0,d.cn)("group/tabs flex gap-2","horizontal"===t?"flex-col":"flex-row",e),...n})},"TabsContent",0,function({className:e,...t}){return(0,o.jsx)(ec.Tabs.Panel,{"data-slot":"tabs-content",className:(0,d.cn)("flex-1 text-sm outline-none",e),...t})},"TabsList",0,function({className:e,...t}){return(0,o.jsx)(ec.Tabs.List,{"data-slot":"tabs-list",className:(0,d.cn)("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground bg-muted","group-data-[orientation=horizontal]/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",e),...t})},"TabsTrigger",0,function({className:e,...t}){return(0,o.jsx)(ec.Tabs.Tab,{"data-slot":"tabs-trigger",className:(0,d.cn)("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 data-[state=active]:after:opacity-100",e),...t})},"Text",()=>eE.Text,"TextReveal",()=>eO.TextReveal,"Textarea",()=>h.Textarea,"Toast",()=>eL.Toast,"ToastProvider",()=>ez.ToastProvider,"Toggle",()=>T.Toggle,"buttonVariants",()=>eF.buttonVariants,"navigationMenuTriggerStyle",()=>eT.navigationMenuTriggerStyle,"toggleVariants",()=>eH.toggleVariants,"useSidebar",()=>ek.useSidebar,"useToastContext",()=>ez.useToastContext],722835)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,722835,e=>{"use strict";e.i(828627);var t,n,r,a=e.i(218265),o=e.i(843476),i=e.i(263676),s=e.i(632781),l=e.i(271645),d=e.i(690923);let u={xs:"px-1.5 py-0.5 text-xs",sm:"px-2.5 py-0.5 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-4 py-2 text-base",xl:"px-5 py-2.5 text-lg","2xl":"px-6 py-3 text-xl"},c={xs:"w-3 h-3",sm:"w-3.5 h-3.5",md:"w-4 h-4",lg:"w-5 h-5",xl:"w-6 h-6","2xl":"w-7 h-7"},p={none:"",pulse:"animate-pulse",bounce:"animate-bounce",rotate:"animate-spin",scale:"hover:scale-110 transition-transform"},b={default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",destructive:"bg-destructive text-destructive-foreground",outline:"border border-border bg-background text-foreground",ai:"text-white [background:linear-gradient(90deg,#3b82f6,#8b5cf6,#a855f7,#d946ef)]","ai-outline":"border border-transparent [background:linear-gradient(var(--background),var(--background))_padding-box,linear-gradient(90deg,#3b82f6,#8b5cf6,#a855f7,#d946ef)_border-box] text-foreground"},g=l.default.forwardRef(({children:e,size:t="md",shape:n="rounded",animation:r="none",variant:a="default",radius:g,iconLeft:m,iconRight:f,badge:x,loading:h=!1,className:v="",opacity:S,animationDuration:y="normal",disabled:w=!1,active:C=!1,onDismiss:M,onHover:j,onClick:T,href:D,...N},k)=>{let[I,P]=(0,l.useState)(!1);if(I)return null;let R=v&&/rounded(-[a-z0-9[\]/]+)?/i.test(v),B=c[t],_=(0,d.cn)("inline-flex items-center justify-center font-medium transition-all duration-200","focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",u[t],R?"":"pill"===n||"circle"===n?"rounded-full":"square"===n?"rounded-none":g?({none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"})[g]??"":"rounded-md",p[r],{fast:"duration-150",normal:"duration-300",slow:"duration-500"}[y],b[a],w&&"opacity-50 cursor-not-allowed",C&&"ring-2 ring-ring ring-offset-2",h&&"cursor-wait",v),E={...void 0!==S&&{opacity:S}},A=(0,o.jsxs)(o.Fragment,{children:[h?(0,o.jsx)(s.Loader2,{className:(0,d.cn)(B,"animate-spin")}):m&&(0,o.jsx)("span",{className:"mr-1.5",children:l.default.cloneElement(m,{className:B})}),(0,o.jsx)("span",{className:"truncate",children:e}),!h&&f&&(0,o.jsx)("span",{className:"ml-1.5",children:l.default.cloneElement(f,{className:B})}),x&&(0,o.jsx)("span",{className:"ml-1.5 inline-flex items-center justify-center px-1.5 py-0.5 text-xs font-bold leading-none text-white bg-destructive rounded-full",children:x}),M&&(0,o.jsx)("button",{type:"button","aria-label":"Dismiss",onClick:e=>{e.stopPropagation(),P(!0),M?.(e)},className:"ml-1.5 -mr-1 flex-shrink-0 rounded-full p-0.5 hover:bg-black/10 focus:outline-none",children:(0,o.jsx)(i.X,{className:B})})]});return D?(0,o.jsx)("a",{ref:k,href:D,className:_,style:E,onMouseEnter:j,...N,children:A}):T?(0,o.jsx)("button",{ref:k,onClick:T,className:_,style:E,onMouseEnter:j,disabled:w||h,...N,children:A}):(0,o.jsx)("div",{ref:k,className:_,style:E,onMouseEnter:j,...N,children:A})});g.displayName="Badge";var m=e.i(263724),f=e.i(158968);e.i(968040);var x=e.i(962033),h=e.i(907781),v=e.i(388474),S=e.i(689664);let y=l.forwardRef(({className:e,...t},n)=>(0,o.jsx)(v.Root,{ref:n,className:(0,d.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:(0,o.jsx)(v.Indicator,{className:(0,d.cn)("flex items-center justify-center text-current"),children:(0,o.jsx)(S.Check,{className:"h-4 w-4"})})}));y.displayName=v.Root.displayName;let w=l.forwardRef((e,t)=>(0,o.jsx)(y,{ref:t,...e}));w.displayName="Checkbox";var C=e.i(691513),M=e.i(57287);let j=l.forwardRef(({className:e,...t},n)=>(0,o.jsx)(M.Root,{className:(0,d.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:n,children:(0,o.jsx)(M.Thumb,{className:(0,d.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));j.displayName=M.Root.displayName;var T=e.i(979808);e.s([],958842),e.i(958842);var D=e.i(667865),N=e.i(552245),k=e.i(951437),I=e.i(788015),P=e.i(675606),R=e.i(56434),B=e.i(223910),_=e.i(733332);let E=l.createContext(void 0);function A(){let e=l.useContext(E);if(void 0===e)throw Error((0,_.default)(15));return e}var L=e.i(209407);let z=((t={}).open="data-open",t.closed="data-closed",t[t.startingStyle=L.TransitionStatusDataAttributes.startingStyle]="startingStyle",t[t.endingStyle=L.TransitionStatusDataAttributes.endingStyle]="endingStyle",t),F=((n={}).panelOpen="data-panel-open",n),H={[z.open]:""},G={[z.closed]:""},O={open:e=>e?H:G,...L.transitionStatusMapping},V=l.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:a=!1,disabled:i=!1,onOpenChange:s,open:d,style:u,...c}=e,p=(0,D.useStableCallback)(s),b=function(e){let{open:t,defaultOpen:n,onOpenChange:r,disabled:a}=e,[o,i]=(0,k.useControlled)({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:s,setMounted:d,transitionStatus:u}=(0,B.useTransitionStatus)(o,!0,!0),c=(0,I.useBaseUiId)(),[p,b]=l.useState(),g=null===p?void 0:p??c,m=(0,D.useStableCallback)(e=>{let t=!o,n=(0,P.createChangeEventDetails)(R.REASONS.triggerPress,e.nativeEvent);r(t,n),n.isCanceled||i(t)});return l.useMemo(()=>({defaultPanelId:c,disabled:a,handleTrigger:m,mounted:s,open:o,panelId:g,setMounted:d,setOpen:i,setPanelIdState:b,transitionStatus:u}),[c,a,m,s,o,g,d,i,b,u])}({open:d,defaultOpen:a,onOpenChange:p,disabled:i}),g=l.useMemo(()=>({open:b.open,disabled:b.disabled,transitionStatus:b.transitionStatus}),[b.open,b.disabled,b.transitionStatus]),m=l.useMemo(()=>({...b,onOpenChange:p,state:g}),[b,p,g]),f=(0,N.useRenderElement)("div",e,{state:g,ref:t,props:c,stateAttributesMapping:O});return(0,o.jsx)(E.Provider,{value:m,children:f})});var U=e.i(540886);let W={open:e=>e?{[F.panelOpen]:""}:null,...L.transitionStatusMapping},q=l.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:a,state:o,disabled:i}=A(),{className:s,disabled:l=i,render:d,nativeButton:u=!0,style:c,...p}=e,{getButtonProps:b,buttonRef:g}=(0,U.useButton)({disabled:l,focusableWhenDisabled:!0,native:u});return(0,N.useRenderElement)("button",e,{state:o,ref:[t,g],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:a},p,b],stateAttributesMapping:W})});var K=e.i(146376),$=e.i(377570),X=e.i(574735),J=e.i(828918),Q=e.i(708445),Y=e.i(446265),Z=e.i(333848),ee=e.i(137584),et=e.i(222640);let en={height:void 0,width:void 0};function er(e){return{height:e.scrollHeight,width:e.scrollWidth}}function ea(e){return e.split(",").map(e=>e.trim()).some(e=>""!==e&&Number.parseFloat(e)>0)}function eo(e,t,n){let r=e.style.getPropertyValue(t),a=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{""===r?e.style.removeProperty(t):e.style.setProperty(t,r,a)}}let ei=((r={}).collapsiblePanelHeight="--collapsible-panel-height",r.collapsiblePanelWidth="--collapsible-panel-width",r),es=l.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:a,render:o,id:i,style:s,...d}=e,{defaultPanelId:u,mounted:c,onOpenChange:p,open:b,setMounted:g,setPanelIdState:m,setOpen:f,state:x,transitionStatus:h}=A(),v=i||void 0,S=v??u;(0,K.useIsoLayoutEffect)(()=>(m(e=>v??(null===e?void 0:e)),()=>{m(e=>e===v?null:e)}),[v,m]);let{height:y,props:w,ref:C,shouldPreventOpenAnimation:M,shouldRender:j,transitionStatus:T,width:k}=function(e){let{externalRef:t,hiddenUntilFound:n,id:r,keepMounted:a,mounted:o,onOpenChange:i,open:s,setMounted:d,setOpen:u,transitionStatus:c}=e,p=l.useRef(null),b=l.useRef(null),[g,m]=l.useState(en),f=l.useRef(en),x=l.useRef(!1),h=l.useRef(s),v=l.useRef(!1),[S,y]=l.useState(!1),w=l.useRef(null),C=(0,J.useMergedRefs)(t,p),M=(0,Y.useValueAsRef)(s),j=(0,et.useAnimationsFinished)(p),T=!s&&!o,N=S?"idle":c,k=s&&(h.current||v.current),I=!s&&o&&"css-animation"===b.current&&void 0===g.height&&void 0===g.width?f.current:g,B=n&&T&&"css-animation"!==b.current,_=(0,D.useStableCallback)((e,t=!0)=>{t&&(f.current=e),m(e)}),E=(0,D.useStableCallback)(()=>{w.current?.(),w.current=null}),A=(0,D.useStableCallback)(e=>{E(),w.current=()=>{w.current=null,e()}}),L=(0,D.useStableCallback)(()=>{s&&o&&"css-animation"===b.current&&(v.current=!0)});(0,K.useIsoLayoutEffect)(()=>{S&&"starting"!==c&&y(!1)},[S,c]),l.useEffect(()=>()=>{L(),E()},[L,E]),(0,K.useIsoLayoutEffect)(()=>{var e,t;let n,r,a,i=p.current;if(!i)return;!s&&w.current&&E();let l=(e=i,t=k,r=((n=(0,Z.ownerWindow)(e).getComputedStyle(e)).animationName.split(",").map(e=>e.trim()).some(e=>""!==e&&"none"!==e)||t)&&ea(n.animationDuration),a=ea(n.transitionDuration),r&&a||a?"css-transition":r?"css-animation":"none");if(b.current=l,s&&"idle"===c&&h.current&&"css-animation"===l){f.current=er(i);return}if(s&&"starting"===c){let e=x.current;if(x.current=!1,"none"===l){_(er(i)),y(!0);return}if("css-transition"===l){let t=function(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};function n(){Object.entries(t).forEach(([t,n])=>{""===n?e.style.removeProperty(t):e.style.setProperty(t,n)})}Object.keys(t).forEach(t=>{e.style.setProperty(t,"initial","important")});let r=Q.AnimationFrame.request(n);return()=>{Q.AnimationFrame.cancel(r),n()}}(i);return _(er(i)),e&&(A(eo(i,"transition-duration","0s")),y(!0)),t}_(er(i));let t=eo(i,"animation-name","none");if(!e)return void t();let n=eo(i,"animation-duration","0s");return t(),A(n),void y(!0)}if(!s&&o&&("idle"===c||"starting"===c)){if(h.current=!1,v.current=!1,"none"===l){_(en,!1),d(!1);return}_(er(i));return}if("ending"!==c)return;if("none"===l)return void d(!1);let u=er(i);u.height>0||u.width>0?(_(u),"css-animation"===l&&eo(i,"animation-name","none")()):d(!1)},[o,s,E,_,d,A,k,c]),(0,ee.useOpenChangeComplete)({enabled:s&&o&&"idle"===N,open:!0,ref:p,onComplete(){s&&_(en,!1)}}),l.useEffect(()=>{if(s||!o||"ending"!==N||!p.current)return;let e=new AbortController,t=-1;function n(){M.current||(d(!1),_(en,!1))}return t=Q.AnimationFrame.request(()=>{j(n,e.signal)}),()=>{Q.AnimationFrame.cancel(t),e.abort()}},[M,o,s,N,j,_,d]),(0,K.useIsoLayoutEffect)(()=>{let e=p.current;e&&n&&T&&e.setAttribute("hidden","until-found")},[T,n]),l.useEffect(function(){let e=p.current;if(e)return(0,X.addEventListener)(e,"beforematch",function(e){let t=(0,P.createChangeEventDetails)(R.REASONS.none,e);i(!0,t),t.isCanceled||(x.current=!0,u(!0))})},[i,u]);let F=a||n||o||s;return{height:I.height,props:{...B?{[z.startingStyle]:""}:void 0,hidden:T,id:r},ref:C,shouldPreventOpenAnimation:k,shouldRender:F,transitionStatus:N,width:I.width}}({externalRef:t,hiddenUntilFound:r??!1,id:S,keepMounted:a??!1,mounted:c,onOpenChange:p,open:b,setMounted:g,setOpen:f,transitionStatus:h}),I={...x,transitionStatus:T},B=(0,$.resolveStyle)(s,I),_=(0,N.useRenderElement)("div",{...e,style:void 0},{state:I,ref:C,props:[w,{style:{[ei.collapsiblePanelHeight]:void 0===y?"auto":`${y}px`,[ei.collapsiblePanelWidth]:void 0===k?"auto":`${k}px`}},d,B?{style:B}:void 0,M?{style:{animationName:"none"}}:void 0],stateAttributesMapping:O});return j?_:null});e.s(["Panel",0,es,"Root",0,V,"Trigger",0,q],596315);var el=e.i(596315),el=el;function ed({...e}){return(0,o.jsx)(el.Trigger,{"data-slot":"collapsible-trigger",...e})}var eu=e.i(834263),ec=e.i(504936),ep=e.i(454211),eb=e.i(619439),eg=e.i(788285),em=e.i(129402),ef=e.i(593698),ex=e.i(503636),eh=e.i(358729);function ev({className:e,...t}){return(0,o.jsx)(em.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,d.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,o.jsx)(eh.ChevronUpIcon,{className:"size-4"})})}function eS({className:e,...t}){return(0,o.jsx)(em.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,d.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,o.jsx)(ex.ChevronDownIcon,{className:"size-4"})})}var ey=e.i(424132),ew=e.i(396409),eC=e.i(74778),eM=e.i(126820),ej=e.i(471415),eT=e.i(260827),eD=e.i(857415);let eN=(0,e.i(566407).makeScrollableTable)(function({className:e,...t}){return(0,o.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,o.jsx)("table",{"data-slot":"table",className:(0,d.cn)("w-full caption-bottom text-sm",e),...t})})},"@min-[780px]/tbl:[&_thead_th]:sticky @min-[780px]/tbl:[&_thead_th]:top-0 @min-[780px]/tbl:[&_thead_th]:z-10 @min-[780px]/tbl:[&_thead_th]:bg-card @min-[780px]/tbl:[&_thead_th]:shadow-[inset_0_-1px_0_0_color-mix(in_oklab,var(--border)_60%,transparent)]");var ek=e.i(611228),eI=e.i(404279),eP=e.i(242399);e.i(595040),e.s([],490029),e.i(490029);var eR=e.i(519410),eB=e.i(974817),e_=e.i(702201),eE=e.i(15758),eA=e.i(714885),eL=e.i(247277),ez=e.i(359607),eF=e.i(941890),eH=e.i(913790),eG=e.i(657326),eO=e.i(816396);e.s(["AgentThinkingText",()=>eR.AgentThinkingText,"Badge",0,g,"Breadcrumb",()=>ej.Breadcrumb,"BreadcrumbEllipsis",()=>ej.BreadcrumbEllipsis,"BreadcrumbItem",()=>ej.BreadcrumbItem,"BreadcrumbLink",()=>ej.BreadcrumbLink,"BreadcrumbList",()=>ej.BreadcrumbList,"BreadcrumbPage",()=>ej.BreadcrumbPage,"BreadcrumbSeparator",()=>ej.BreadcrumbSeparator,"Button",()=>C.Button,"Card",()=>a.Card,"CardContent",()=>eA.CardContent,"CardDescription",()=>eA.CardDescription,"CardFooter",()=>eA.CardFooter,"CardHeader",()=>eA.CardHeader,"CardTitle",()=>eA.CardTitle,"Checkbox",0,w,"ChromeFrame",()=>f.ChromeFrame,"Code",()=>m.Code,"CodeBlock",()=>m.CodeBlock,"Collapsible",0,function({...e}){return(0,o.jsx)(el.Root,{"data-slot":"collapsible",...e})},"CollapsibleContent",0,function({...e}){return(0,o.jsx)(el.Panel,{"data-slot":"collapsible-content",...e})},"CollapsibleTrigger",0,function({asChild:e,children:t,render:n,...r}){let a=n??(e?(0,eu.resolveSingleChild)(t):void 0);return(0,o.jsx)(ed,{render:a,...r,children:a?void 0:t})},"Command",()=>ey.Command,"CommandEmpty",()=>ey.CommandEmpty,"CommandGroup",()=>ey.CommandGroup,"CommandInput",()=>ey.CommandInput,"CommandItem",()=>ey.CommandItem,"CommandList",()=>ey.CommandList,"CommandSeparator",()=>ey.CommandSeparator,"CommandShortcut",()=>ey.CommandShortcut,"Dialog",()=>eP.Dialog,"DialogClose",()=>eP.DialogClose,"DialogContent",()=>eP.DialogContent,"DialogDescription",()=>eP.DialogDescription,"DialogFooter",()=>eP.DialogFooter,"DialogHeader",()=>eP.DialogHeader,"DialogOverlay",()=>eP.DialogOverlay,"DialogPortal",()=>eP.DialogPortal,"DialogTitle",()=>eP.DialogTitle,"DialogTrigger",()=>eP.DialogTrigger,"DropdownMenu",()=>ep.DropdownMenu,"DropdownMenuCheckboxItem",()=>ep.DropdownMenuCheckboxItem,"DropdownMenuContent",()=>ep.DropdownMenuContent,"DropdownMenuGroup",()=>ep.DropdownMenuGroup,"DropdownMenuItem",()=>ep.DropdownMenuItem,"DropdownMenuItemTextHighlight",()=>eb.DropdownMenuItemTextHighlight,"DropdownMenuLabel",()=>ep.DropdownMenuLabel,"DropdownMenuPortal",()=>ep.DropdownMenuPortal,"DropdownMenuRadioGroup",()=>ep.DropdownMenuRadioGroup,"DropdownMenuRadioItem",()=>ep.DropdownMenuRadioItem,"DropdownMenuSeparator",()=>ep.DropdownMenuSeparator,"DropdownMenuShortcut",()=>ep.DropdownMenuShortcut,"DropdownMenuSub",()=>ep.DropdownMenuSub,"DropdownMenuSubContent",()=>ep.DropdownMenuSubContent,"DropdownMenuSubTrigger",()=>ep.DropdownMenuSubTrigger,"DropdownMenuTrigger",()=>ep.DropdownMenuTrigger,"Flex",()=>eB.Flex,"Heading",()=>e_.Heading,"Input",()=>x.Input,"InputBlock",()=>x.InputBlock,"ModelIcon",()=>ew.ModelIcon,"ModelPicker",()=>eC.ModelPicker,"NavigationMenu",()=>eT.NavigationMenu,"NavigationMenuContent",()=>eT.NavigationMenuContent,"NavigationMenuIndicator",()=>eT.NavigationMenuIndicator,"NavigationMenuItem",()=>eT.NavigationMenuItem,"NavigationMenuLink",()=>eT.NavigationMenuLink,"NavigationMenuList",()=>eT.NavigationMenuList,"NavigationMenuTrigger",()=>eT.NavigationMenuTrigger,"NavigationMenuViewport",()=>eT.NavigationMenuViewport,"Popover",()=>eg.Popover,"PopoverAnchor",()=>eg.PopoverAnchor,"PopoverContent",()=>eg.PopoverContent,"PopoverTrigger",()=>eg.PopoverTrigger,"Select",0,function({...e}){return(0,o.jsx)(em.Root,{"data-slot":"select",...e})},"SelectContent",0,function({className:e,children:t,position:n="popper",...r}){return(0,o.jsx)(em.Portal,{children:(0,o.jsxs)(em.Content,{"data-slot":"select-content",className:(0,d.cn)("bg-popover text-popover-foreground relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-[8rem] origin-[var(--radix-select-content-transform-origin)] overflow-x-hidden overflow-y-auto rounded-md border shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[(0,o.jsx)(ev,{}),(0,o.jsx)(em.Viewport,{className:(0,d.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,o.jsx)(eS,{})]})})},"SelectGroup",0,function({...e}){return(0,o.jsx)(em.Group,{"data-slot":"select-group",...e})},"SelectItem",0,function({className:e,children:t,...n}){return(0,o.jsxs)(em.Item,{"data-slot":"select-item",className:(0,d.cn)("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...n,children:[(0,o.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,o.jsx)(em.ItemIndicator,{children:(0,o.jsx)(ef.CheckIcon,{className:"size-3.5"})})}),(0,o.jsx)(em.ItemText,{children:t})]})},"SelectLabel",0,function({className:e,...t}){return(0,o.jsx)(em.Label,{"data-slot":"select-label",className:(0,d.cn)("px-2 py-1.5 text-xs font-medium text-muted-foreground",e),...t})},"SelectScrollDownButton",0,eS,"SelectScrollUpButton",0,ev,"SelectSeparator",0,function({className:e,...t}){return(0,o.jsx)(em.Separator,{"data-slot":"select-separator",className:(0,d.cn)("-mx-1 my-1 block h-px bg-border",e),...t})},"SelectTrigger",0,function({className:e,children:t,...n}){return(0,o.jsxs)(em.Trigger,{"data-slot":"select-trigger",className:(0,d.cn)("flex h-9 w-full items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...n,children:[t,(0,o.jsx)(em.Icon,{asChild:!0,children:(0,o.jsx)(ex.ChevronDownIcon,{className:"size-4 opacity-50"})})]})},"SelectValue",0,function({...e}){return(0,o.jsx)(em.Value,{"data-slot":"select-value",...e})},"Separator",()=>eM.Separator,"Sheet",()=>eG.Sheet,"SheetClose",()=>eI.SheetClose,"SheetContent",()=>eG.SheetContent,"SheetDescription",()=>eG.SheetDescription,"SheetFooter",()=>eG.SheetFooter,"SheetHeader",()=>eG.SheetHeader,"SheetTitle",()=>eG.SheetTitle,"SheetTrigger",()=>eI.SheetTrigger,"Sidebar",()=>ek.Sidebar,"SidebarContent",()=>ek.SidebarContent,"SidebarFooter",()=>ek.SidebarFooter,"SidebarGroup",()=>ek.SidebarGroup,"SidebarGroupAction",()=>ek.SidebarGroupAction,"SidebarGroupContent",()=>ek.SidebarGroupContent,"SidebarGroupLabel",()=>ek.SidebarGroupLabel,"SidebarHeader",()=>ek.SidebarHeader,"SidebarInput",()=>ek.SidebarInput,"SidebarInset",()=>ek.SidebarInset,"SidebarMenu",()=>ek.SidebarMenu,"SidebarMenuAction",()=>ek.SidebarMenuAction,"SidebarMenuBadge",()=>ek.SidebarMenuBadge,"SidebarMenuButton",()=>ek.SidebarMenuButton,"SidebarMenuItem",()=>ek.SidebarMenuItem,"SidebarMenuSkeleton",()=>ek.SidebarMenuSkeleton,"SidebarMenuSub",()=>ek.SidebarMenuSub,"SidebarMenuSubButton",()=>ek.SidebarMenuSubButton,"SidebarMenuSubItem",()=>ek.SidebarMenuSubItem,"SidebarProvider",()=>ek.SidebarProvider,"SidebarRail",()=>ek.SidebarRail,"SidebarSeparator",()=>ek.SidebarSeparator,"SidebarTrigger",()=>ek.SidebarTrigger,"Slider",()=>eD.Slider,"Switch",0,function(e){return(0,o.jsx)(j,{...e})},"Table",0,eN,"TableBody",0,function({className:e,...t}){return(0,o.jsx)("tbody",{"data-slot":"table-body",className:(0,d.cn)("[&_tr:last-child]:border-0",e),...t})},"TableCaption",0,function({className:e,...t}){return(0,o.jsx)("caption",{"data-slot":"table-caption",className:(0,d.cn)("mt-4 text-sm text-muted-foreground",e),...t})},"TableCell",0,function({className:e,...t}){return(0,o.jsx)("td",{"data-slot":"table-cell",className:(0,d.cn)("px-3 py-2 align-top [&:has([role=checkbox])]:pr-0",e),...t})},"TableFooter",0,function({className:e,...t}){return(0,o.jsx)("tfoot",{"data-slot":"table-footer",className:(0,d.cn)("bg-muted/50 border-t border-border/60 font-medium [&>tr]:last:border-b-0",e),...t})},"TableHead",0,function({className:e,...t}){return(0,o.jsx)("th",{"data-slot":"table-head",className:(0,d.cn)("h-10 px-3 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t})},"TableHeader",0,function({className:e,...t}){return(0,o.jsx)("thead",{"data-slot":"table-header",className:(0,d.cn)("[&_tr]:border-b [&_tr]:border-border/60",e),...t})},"TableRow",0,function({className:e,...t}){return(0,o.jsx)("tr",{"data-slot":"table-row",className:(0,d.cn)("border-b border-border/60 transition-colors hover:bg-muted/40 data-[state=selected]:bg-muted",e),...t})},"Tabs",0,function({className:e,orientation:t="horizontal",...n}){return(0,o.jsx)(ec.Tabs.Root,{"data-slot":"tabs",orientation:t,className:(0,d.cn)("group/tabs flex gap-2","horizontal"===t?"flex-col":"flex-row",e),...n})},"TabsContent",0,function({className:e,forceMount:t,keepMounted:n,...r}){return(0,o.jsx)(ec.Tabs.Panel,{"data-slot":"tabs-content",className:(0,d.cn)("flex-1 text-sm outline-none",e),keepMounted:t??n,...r})},"TabsList",0,function({className:e,...t}){return(0,o.jsx)(ec.Tabs.List,{"data-slot":"tabs-list",className:(0,d.cn)("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground bg-muted","group-data-[orientation=horizontal]/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",e),...t})},"TabsTrigger",0,function({className:e,...t}){return(0,o.jsx)(ec.Tabs.Tab,{"data-slot":"tabs-trigger",className:(0,d.cn)("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 data-[state=active]:after:opacity-100",e),...t})},"Text",()=>eE.Text,"TextReveal",()=>eO.TextReveal,"Textarea",()=>h.Textarea,"Toast",()=>eL.Toast,"ToastProvider",()=>ez.ToastProvider,"Toggle",()=>T.Toggle,"buttonVariants",()=>eF.buttonVariants,"navigationMenuTriggerStyle",()=>eT.navigationMenuTriggerStyle,"toggleVariants",()=>eH.toggleVariants,"useSidebar",()=>ek.useSidebar,"useToastContext",()=>ez.useToastContext],722835)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,388610,e=>{"use strict";var t=e.i(843476);let a="vinaya/",r=[{key:"blocked",id:"vinaya/blocked",category:"state",form:"literal",carries:"Execution is halted pending an external unblock; wins over every other derived status."},{key:"tier-0",id:"vinaya/tier:0",category:"tier",form:"literal",carries:"Lowest governance weight — typecheck, lint, tests, and a conforming PR body."},{key:"tier-1",id:"vinaya/tier:1",category:"tier",form:"literal",carries:"Tier 0 plus spec/skill coverage and a passing verify-docs run."},{key:"tier-3",id:"vinaya/tier:3",category:"tier",form:"literal",carries:"Tier 1 plus the reasoning for the change, stated in the pull request that makes it."},{key:"tranche",id:"vinaya/tranche:",category:"tranche",form:"prefix",carries:"The tranche slug this task Issue belongs to — the forge's grouping key, matched by prefix."},{key:"needs-execution-input",id:"vinaya/needs:execution-input",category:"needs",form:"literal",carries:"Waiting on a missing execution detail — a flag, a dependency, a value the brief did not carry."},{key:"needs-strategy-input",id:"vinaya/needs:strategy-input",category:"needs",form:"literal",carries:"Waiting on a strategy call — the brief assumes an approach the codebase has moved away from."},{key:"needs-principal-input",id:"vinaya/needs:principal-input",category:"needs",form:"literal",carries:"Waiting on the Principal — a product-level call no agent may make."},{key:"needs-brief-correction",id:"vinaya/needs:brief-correction",category:"needs",form:"literal",carries:"Waiting on the Brief Author — the brief contradicts the surface it describes."},{key:"waiver-docs",id:"vinaya/waiver:docs",category:"waiver",form:"literal",carries:"Doc-coverage gate excused for this PR — honored only when a principal applied it."},{key:"waiver-review",id:"vinaya/waiver:review",category:"waiver",form:"literal",carries:"Review gate excused for this PR — honored only when a principal applied it."},{key:"override-docs",id:"vinaya/override:docs",category:"waiver",form:"literal",carries:"The whole verify-docs gate suppressed for this PR — a Principal-only blunt override, wider than a waiver."},{key:"incoherent",id:"vinaya/incoherent",category:"flag",form:"literal",carries:"Closed COMPLETED with no merged-PR link — done-but-unprovable, surfaced for a human."},{key:"direct-main-push",id:"vinaya/direct-main-push",category:"flag",form:"literal",carries:"A commit reached main with no associated merged PR — ring-2 detection, never a mutation."},{key:"dead-branch-push",id:"vinaya/dead-branch-push",category:"flag",form:"literal",carries:"Commits landed on a branch after its PR had already resolved — daily-drift detection."},{key:"state-object",id:"vinaya/state-object",category:"kind",form:"literal",carries:"A permanent forge-native storage object, never actionable work — excluded from every backlog."}],n=new Map(r.map(e=>[e.key,e]));function i(e){let t=n.get(e);if(!t)throw Error(`labels.ts: no LABELS entry for key '${e}'`);return t}e.i(799321);var o=e.i(186506),s=e.i(137951),l=e.i(408277),d=e.i(102773),c=e.i(263676),u=e.i(271645),m=e.i(929570);let p={project:"text-primary border-primary/40",tier:"text-foreground border-border",state:"text-primary border-primary/40",needs:"text-warning border-warning/40",flag:"text-destructive border-destructive/40",other:"text-muted-foreground border-border"};function f(e){let t=r.find(t=>{var a;let r;return a=t.key,"prefix"===(r=i(a)).form?e.startsWith(r.id):e===r.id});return t?"tier"===t.category?"tier":"state"===t.category?"state":"needs"===t.category?"needs":"flag"===t.category?"flag":"other":"other"}function g(e){return{tier:e.find(e=>"tier"===f(e))??null,flags:e.filter(e=>{let t=f(e);return"needs"===t||"state"===t||"flag"===t})}}function x({label:e}){return(0,t.jsx)(m.Badge,{variant:"outline",className:`font-mono text-xs ${p[f(e)]}`,children:e.startsWith(a)?e.slice(a.length):e})}function h({project:e}){return(0,t.jsx)(m.Badge,{variant:"outline",className:`font-mono text-xs ${p.project}`,children:e})}function v(){return(0,t.jsx)("span",{className:"font-mono text-xs text-muted-foreground/60",children:"—"})}let b="flex min-w-0 flex-wrap gap-1 [&>*]:h-auto [&>*]:max-w-full [&>*]:overflow-visible [&>*]:break-words [&>*]:whitespace-normal",y="backlog-filter-heading",w=i("tier-0").id.replace(/0$/,"");function j({label:e,active:a,onToggle:r}){return(0,t.jsx)(o.Button,{type:"button",variant:a?"default":"outline",size:"sm",onClick:r,"aria-pressed":a,className:`h-7 font-mono text-xs ${a?"border-primary bg-accent text-accent-foreground hover:bg-accent/90":"text-muted-foreground"}`,children:e})}function N({name:e,options:a,selected:r,onToggle:n,strip:i=""}){return 0===a.length?null:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,t.jsx)("span",{className:"font-mono text-xs uppercase tracking-wider text-foreground",children:e}),a.map(e=>(0,t.jsx)(j,{label:e.startsWith(i)?e.slice(i.length):e,active:r.has(e),onToggle:()=>n(e)},e))]})}e.s(["BacklogTable",0,function({issues:e,projectOptions:r,tierOptions:n,flagOptions:i}){let[m,p]=(0,u.useState)(new Set),[f,j]=(0,u.useState)(new Set),[T,k]=(0,u.useState)(new Set),C=e=>t=>e(e=>{let a=new Set(e);return a.has(t)?a.delete(t):a.add(t),a}),S=(0,u.useMemo)(()=>e.filter(e=>{let{tier:t,flags:a}=g(e.labels),r=0===m.size||e.projects.some(e=>m.has(e)),n=0===f.size||null!==t&&f.has(t),i=0===T.size||a.some(e=>T.has(e));return r&&n&&i}),[e,m,f,T]),R=m.size>0||f.size>0||T.size>0;return(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(d.Filter,{className:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":!0}),(0,t.jsx)("h2",{id:y,className:"font-mono text-xs uppercase tracking-wider text-muted-foreground",children:"Filter by"})]}),(0,t.jsxs)("div",{role:"group","aria-labelledby":y,className:"flex flex-wrap items-center gap-x-4 gap-y-2",children:[(0,t.jsx)(N,{name:"Project",options:r,selected:m,onToggle:C(p)}),(0,t.jsx)(N,{name:"Tier",options:n,selected:f,onToggle:C(j),strip:w}),(0,t.jsx)(N,{name:"Flags",options:i,selected:T,onToggle:C(k),strip:a}),R&&(0,t.jsxs)(o.Button,{type:"button",variant:"ghost",size:"sm",className:"h-7 gap-1 font-mono text-xs text-muted-foreground",onClick:()=>{p(new Set),j(new Set),k(new Set)},children:[(0,t.jsx)(c.X,{className:"size-3.5","aria-hidden":!0}),"Clear"]})]}),(0,t.jsx)("div",{children:(0,t.jsxs)(s.Table,{stickyHeader:!0,className:"min-w-[720px] table-fixed",children:[(0,t.jsx)(l.TableHeader,{children:(0,t.jsxs)(l.TableRow,{children:[(0,t.jsx)(l.TableHead,{className:"w-[6%] px-2 font-semibold text-foreground",children:"#"}),(0,t.jsx)(l.TableHead,{className:"w-[32%] font-semibold text-foreground",children:"Title"}),(0,t.jsx)(l.TableHead,{className:"w-[20%] font-semibold text-foreground",children:"Project(s)"}),(0,t.jsx)(l.TableHead,{className:"w-[10%] font-semibold text-foreground",children:"Tier"}),(0,t.jsx)(l.TableHead,{className:"w-[32%] font-semibold text-foreground",children:"Flags"})]})}),(0,t.jsx)(l.TableBody,{children:0===S.length?(0,t.jsx)(l.TableRow,{children:(0,t.jsx)(s.TableCell,{colSpan:5,className:"py-8 text-center font-sans text-sm text-muted-foreground/70",children:"No issues match these filters."})}):S.map(e=>{let{tier:a,flags:r}=g(e.labels);return(0,t.jsxs)(l.TableRow,{children:[(0,t.jsx)(s.TableCell,{className:"px-2 align-top",children:(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"whitespace-nowrap font-mono text-xs text-muted-foreground hover:text-primary hover:underline",children:["#",e.number]})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"block break-words font-sans text-sm text-card-foreground hover:text-primary hover:underline",children:e.title})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("div",{className:b,children:e.projects.length>0?e.projects.map(e=>(0,t.jsx)(h,{project:e},e)):(0,t.jsx)(v,{})})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("div",{className:b,children:a?(0,t.jsx)(x,{label:a}):(0,t.jsx)(v,{})})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("div",{className:b,children:r.length>0?r.map(e=>(0,t.jsx)(x,{label:e},e)):(0,t.jsx)(v,{})})})]},e.number)})})]})})]})}],388610)},382449,e=>{"use strict";var t=e.i(388474);e.s(["Checkbox",0,t])},687607,e=>{"use strict";var t=e.i(271645),a=e.i(981140),r=e.i(30030),n=e.i(369340),i=e.i(934620),o=e.i(820783),s=e.i(248425),l=e.i(296626),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,m=(e,t)=>u(e,"name",{value:t,configurable:!0}),p="Collapsible",[f,g]=(0,r.createContextScope)(p),[x,h]=f(p),v=t.forwardRef(m(function(e,a){let{__scopeCollapsible:r,open:i,defaultOpen:o,disabled:l,onOpenChange:u,...m}=e,[f,g]=(0,n.useControllableState)({prop:i,defaultProp:o??!1,onChange:u,caller:p});return(0,c.jsx)(x,{scope:r,disabled:l,contentId:(0,d.useId)(),open:f,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),children:(0,c.jsx)(s.Primitive.div,{"data-state":N(f),"data-disabled":l?"":void 0,...m,ref:a})})},"Collapsible")),b=t.forwardRef(m(function(e,t){let{__scopeCollapsible:r,...n}=e,i=h("CollapsibleTrigger",r);return(0,c.jsx)(s.Primitive.button,{type:"button","aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":N(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...n,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,i.onOpenToggle)})},"CollapsibleTrigger")),y="CollapsibleContent",w=t.forwardRef(m(function(e,t){let{forceMount:a,...r}=e,n=h(y,e.__scopeCollapsible);return(0,c.jsx)(l.Presence,{present:a||n.open,children:({present:e})=>(0,c.jsx)(j,{...r,ref:t,present:e})})},"CollapsibleContent")),j=t.forwardRef(m(function(e,a){let{__scopeCollapsible:r,present:n,children:l,...d}=e,u=h(y,r),[m,p]=t.useState(n),f=t.useRef(null),g=(0,o.useComposedRefs)(a,f),x=t.useRef(0),v=x.current,b=t.useRef(0),w=b.current,j=u.open||m,T=t.useRef(j),k=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>T.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=f.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,b.current=t.width,T.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),p(n)}},[u.open,n]),(0,c.jsx)(s.Primitive.div,{"data-state":N(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!j,...d,ref:g,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:j&&l})},"CollapsibleContentImpl"));function N(e){return e?"open":"closed"}m(N,"getState"),e.s(["Collapsible",0,v,"CollapsibleContent",0,w,"CollapsibleTrigger",0,b,"Content",0,w,"Root",0,v,"Trigger",0,b,"createCollapsibleScope",0,g])},768467,e=>{"use strict";var t=e.i(57287);e.s(["Switch",0,t])},926209,e=>{"use strict";var t=e.i(271645),a=e.i(981140),r=e.i(30030),n=e.i(842727),i=e.i(296626),o=e.i(248425),s=e.i(586318),l=e.i(369340),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,m=(e,t)=>u(e,"name",{value:t,configurable:!0}),p="Tabs",[f,g]=(0,r.createContextScope)(p,[n.createRovingFocusGroupScope]),x=(0,n.createRovingFocusGroupScope)(),[h,v]=f(p),b=t.forwardRef(m(function(e,t){let{__scopeTabs:a,value:r,onValueChange:n,defaultValue:i,orientation:u="horizontal",dir:m,activationMode:f="automatic",...g}=e,x=(0,s.useDirection)(m),[v,b]=(0,l.useControllableState)({prop:r,onChange:n,defaultProp:i??"",caller:p});return(0,c.jsx)(h,{scope:a,baseId:(0,d.useId)(),value:v,onValueChange:b,orientation:u,dir:x,activationMode:f,children:(0,c.jsx)(o.Primitive.div,{dir:x,"data-orientation":u,...g,ref:t})})},"Tabs")),y=t.forwardRef(m(function(e,t){let{__scopeTabs:a,loop:r=!0,...i}=e,s=v("TabsList",a),l=x(a);return(0,c.jsx)(n.Root,{asChild:!0,...l,orientation:s.orientation,dir:s.dir,loop:r,children:(0,c.jsx)(o.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:t})})},"TabsList")),w=t.forwardRef(m(function(e,t){let{__scopeTabs:r,value:i,disabled:s=!1,...l}=e,d=v("TabsTrigger",r),u=x(r),m=N(d.baseId,i),p=T(d.baseId,i),f=i===d.value;return(0,c.jsx)(n.Item,{asChild:!0,...u,focusable:!s,active:f,children:(0,c.jsx)(o.Primitive.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":p,"data-state":f?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:m,...l,ref:t,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(i)}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!s&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&d.onValueChange(i)}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==d.activationMode;f||s||!e||d.onValueChange(i)})})})},"TabsTrigger")),j=t.forwardRef(m(function(e,a){let{__scopeTabs:r,value:n,forceMount:s,children:l,...d}=e,u=v("TabsContent",r),m=N(u.baseId,n),p=T(u.baseId,n),f=n===u.value,g=t.useRef(f);return t.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.jsx)(i.Presence,{present:s||f,children:({present:t})=>(0,c.jsx)(o.Primitive.div,{"data-state":f?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":m,hidden:!t,id:p,tabIndex:0,...d,ref:a,style:{...e.style,animationDuration:g.current?"0s":void 0},children:t&&l})})},"TabsContent"));function N(e,t){return`${e}-trigger-${t}`}function T(e,t){return`${e}-content-${t}`}m(N,"makeTriggerId"),m(T,"makeContentId"),e.s(["Content",0,j,"List",0,y,"Root",0,b,"Tabs",0,b,"TabsContent",0,j,"TabsList",0,y,"TabsTrigger",0,w,"Trigger",0,w,"createTabsScope",0,g])},504607,e=>{"use strict";var t=e.i(980305);e.s(["Toggle",0,t])},503636,358729,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDownIcon",()=>t.default],503636);var a=e.i(144716);e.s(["ChevronUpIcon",()=>a.default],358729)},102773,e=>{"use strict";let t=(0,e.i(456420).default)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);e.s(["Filter",0,t],102773)},799321,e=>{"use strict";e.i(19710),e.s([])},263724,867927,471415,566407,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(690923);let n=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("code",{ref:n,className:(0,r.cn)("rounded-sm bg-muted px-1.5 py-0.5 font-mono text-[0.92em] text-foreground",e),...a}));n.displayName="Code";let i=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("pre",{ref:n,className:(0,r.cn)("my-4 overflow-x-auto rounded-md bg-muted p-4 font-mono text-sm text-foreground",e),...a}));i.displayName="CodeBlock",e.s(["Code",0,n,"CodeBlock",0,i],263724);var o=e.i(991918),s=e.i(986253);e.s(["ChevronRight",()=>s.default],867927);var s=s;let l=(0,e.i(456420).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]),d=a.forwardRef(({...e},a)=>(0,t.jsx)("nav",{ref:a,"aria-label":"breadcrumb",...e}));d.displayName="Breadcrumb";let c=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("ol",{ref:n,className:(0,r.cn)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...a}));c.displayName="BreadcrumbList";let u=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("li",{ref:n,className:(0,r.cn)("inline-flex items-center gap-1.5",e),...a}));u.displayName="BreadcrumbItem";let m=a.forwardRef(({asChild:e,className:a,...n},i)=>{let s=e?o.Slot:"a";return(0,t.jsx)(s,{ref:i,className:(0,r.cn)("transition-colors hover:text-foreground",a),...n})});m.displayName="BreadcrumbLink";let p=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("span",{ref:n,role:"link","aria-disabled":"true","aria-current":"page",className:(0,r.cn)("font-normal text-foreground",e),...a}));p.displayName="BreadcrumbPage";let f=({children:e,className:a,...n})=>(0,t.jsx)("li",{role:"presentation","aria-hidden":"true",className:(0,r.cn)("[&>svg]:w-3.5 [&>svg]:h-3.5",a),...n,children:e??(0,t.jsx)(s.default,{})});f.displayName="BreadcrumbSeparator";let g=({className:e,...a})=>(0,t.jsxs)("span",{role:"presentation","aria-hidden":"true",className:(0,r.cn)("flex h-9 w-9 items-center justify-center",e),...a,children:[(0,t.jsx)(l,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More"})]});g.displayName="BreadcrumbElipssis",e.s(["Breadcrumb",0,d,"BreadcrumbEllipsis",0,g,"BreadcrumbItem",0,u,"BreadcrumbLink",0,m,"BreadcrumbList",0,c,"BreadcrumbPage",0,p,"BreadcrumbSeparator",0,f],471415),e.s(["makeScrollableTable",0,function(e,a){function n({className:i,containerClassName:o,stickyHeader:s=!1,...l}){return(0,t.jsx)("div",{className:"@container/tbl w-full min-w-0 max-w-full",children:(0,t.jsx)("div",{className:(0,r.cn)(s&&"@min-[780px]/tbl:[&>div]:overflow-visible",s&&a,o),children:(0,t.jsx)(e,{className:i,...l})})})}return n.displayName="Table",n}],566407)},915215,e=>{"use strict";var t=e.i(575360),a=e.i(359607);e.s(["ToastProvider",()=>t.ToastProvider,"useToastContext",()=>a.useToastContext])},441468,e=>{"use strict";var t=e.i(19810),a=e.i(9963);e.s(["Select",()=>a.Select,"SelectContent",()=>t.SelectContent,"SelectGroup",()=>a.SelectGroup,"SelectItem",()=>a.SelectItem,"SelectLabel",()=>a.SelectLabel,"SelectScrollDownButton",()=>a.SelectScrollDownButton,"SelectScrollUpButton",()=>a.SelectScrollUpButton,"SelectSeparator",()=>a.SelectSeparator,"SelectTrigger",()=>a.SelectTrigger,"SelectValue",()=>a.SelectValue])},19710,929570,336583,76616,721930,7956,992250,137951,186506,398313,888624,884941,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(586011),n=e.i(690923);let i=(0,a.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded border-2 px-2 py-0.5 text-xs font-head font-medium whitespace-nowrap shadow-sm transition-all focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive text-destructive-foreground [a]:hover:bg-destructive/90",outline:"bg-transparent text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"border-transparent bg-transparent shadow-none hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"border-transparent bg-transparent shadow-none text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function o({className:e,size:a="default",...r}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,n.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded border-2 bg-card py-(--card-spacing) text-sm text-card-foreground shadow-md [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...r})}e.s(["Badge",0,function({className:e,variant:a="default",asChild:o=!1,...s}){let l=o?r.Slot.Root:"span";return(0,t.jsx)(l,{"data-slot":"badge","data-variant":a,className:(0,n.cn)(i({variant:a}),e),...s})}],929570),e.i(263724),e.s(["Card",0,o,"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,n.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,n.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,n.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,n.cn)("flex items-center rounded-b-xl border-t-2 bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,n.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,n.cn)("cn-font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}],336583),e.s(["ChromeFrame",0,function({variant:e,className:a,children:r,...i}){return"rail"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,n.cn)("flex h-full w-full flex-col overflow-hidden rounded bg-sidebar py-0",a),...i,children:r})}):"panel"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,n.cn)("flex h-full w-full flex-col overflow-y-auto rounded bg-card py-0",a),...i,children:r})}):"bar"===e?(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,n.cn)("flex w-full flex-row items-center rounded bg-card py-0",a),...i,children:r})}):(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,n.cn)("relative flex h-14 w-full flex-row items-center gap-0 rounded px-6 py-0 overflow-visible",a),...i,children:r})})}],76616),e.i(971763);var s=e.i(829834);e.s(["TabsTrigger",0,function({className:e,...a}){return(0,t.jsx)(s.TabsTrigger,{className:(0,n.cn)(e,"data-active:hover:text-primary-foreground"),...a})}],721930),e.i(277718),e.i(900843),e.i(382115),e.i(19810),e.i(649320);var l=e.i(392784);function d({variant:e,size:a,error:r,leftSection:i,rightSection:o,className:s,...c}){return i||o?(0,t.jsxs)("div",{className:"w-full flex items-center gap-1",children:[i,(0,t.jsx)(l.Input,{className:(0,n.cn)("flex-1",r&&"border-destructive",s),...c}),o]}):(0,t.jsx)(l.Input,{className:(0,n.cn)(r&&"border-destructive",s),...c})}function c({className:e,leftSection:a,rightSection:r,error:i,children:o}){return(0,t.jsxs)("div",{className:(0,n.cn)("w-full flex gap-1 items-center",i&&"border-destructive",e),children:[a,o,r]})}d.displayName="Input",c.displayName="InputBlock",e.s(["Input",0,d,"InputBlock",0,c],7956),e.i(500418),e.i(691298),e.i(311690),e.i(396409),e.i(74778),e.i(598349),e.i(471415);var u=e.i(503636),m=e.i(576958),m=m;let p=(0,a.cva)("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground");function f({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,t.jsx)(m.Viewport,{"data-slot":"navigation-menu-viewport",className:(0,n.cn)("origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded border-2 bg-popover text-popover-foreground shadow-md duration-100 md:w-(--radix-navigation-menu-viewport-width) data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90",e),...a})})}e.s(["NavigationMenu",0,function({className:e,children:a,viewport:r=!0,...i}){return(0,t.jsxs)(m.Root,{"data-slot":"navigation-menu","data-viewport":r,className:(0,n.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...i,children:[a,r&&(0,t.jsx)(f,{})]})},"NavigationMenuContent",0,function({className:e,...a}){return(0,t.jsx)(m.Content,{"data-slot":"navigation-menu-content",className:(0,n.cn)("top-0 left-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded group-data-[viewport=false]/navigation-menu:border-2 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:duration-300 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95",e),...a})},"NavigationMenuIndicator",0,function({className:e,...a}){return(0,t.jsx)(m.Indicator,{"data-slot":"navigation-menu-indicator",className:(0,n.cn)("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",e),...a,children:(0,t.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})},"NavigationMenuItem",0,function({className:e,...a}){return(0,t.jsx)(m.Item,{"data-slot":"navigation-menu-item",className:(0,n.cn)("relative",e),...a})},"NavigationMenuLink",0,function({className:e,...a}){return(0,t.jsx)(m.Link,{"data-slot":"navigation-menu-link",className:(0,n.cn)("flex items-center gap-2 rounded-sm p-2 text-sm transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary in-data-[slot=navigation-menu-content]:rounded-sm data-active:bg-accent data-active:text-accent-foreground [&_svg:not([class*='size-'])]:size-4",e),...a})},"NavigationMenuList",0,function({className:e,...a}){return(0,t.jsx)(m.List,{"data-slot":"navigation-menu-list",className:(0,n.cn)("group flex flex-1 list-none items-center justify-center gap-0",e),...a})},"NavigationMenuTrigger",0,function({className:e,children:a,...r}){return(0,t.jsxs)(m.Trigger,{"data-slot":"navigation-menu-trigger",className:(0,n.cn)(p(),"group",e),...r,children:[a," ",(0,t.jsx)(u.ChevronDownIcon,{className:"relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180","aria-hidden":"true"})]})},"NavigationMenuViewport",0,f,"navigationMenuTriggerStyle",0,p],992250);var g=e.i(408277);let x=(0,e.i(566407).makeScrollableTable)(g.Table,"@min-[780px]/tbl:[&_thead_th]:sticky @min-[780px]/tbl:[&_thead_th]:top-0 @min-[780px]/tbl:[&_thead_th]:z-10 @min-[780px]/tbl:[&_thead_th]:bg-muted @min-[780px]/tbl:[&_thead_th]:shadow-[inset_0_-2px_0_0_var(--border)] @min-[780px]/tbl:[&_thead_th:first-child]:rounded-tl @min-[780px]/tbl:[&_thead_th:last-child]:rounded-tr");e.s(["Table",0,x,"TableCell",0,function({className:e,...a}){return(0,t.jsx)(g.TableCell,{className:(0,n.cn)("whitespace-normal",e),...a})}],137951),e.i(828627);var h=e.i(881736);e.s(["Button",0,function({className:e,...a}){return(0,t.jsx)(h.Button,{className:(0,n.cn)(e,"leading-none"),...a})}],186506);var v=e.i(96834);let b=(0,n.cn)("data-[state=checked]:bg-primary","[&_[data-slot=switch-thumb]]:data-[state=unchecked]:translate-x-0","[&_[data-slot=switch-thumb]]:data-[state=checked]:bg-background","data-[size=default]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-5","data-[size=sm]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-4");e.s(["Switch",0,function({className:e,...a}){return(0,t.jsx)(v.Switch,{className:(0,n.cn)(b,e),...a})}],398313);var y=e.i(802143);e.s(["Toggle",0,function({className:e,...a}){return(0,t.jsx)(y.Toggle,{className:(0,n.cn)(e,"cursor-pointer disabled:cursor-not-allowed"),...a})}],888624),e.i(678223),e.i(575360);var w=e.i(271645),j=e.i(579104);e.s(["SidebarMenuButton",0,function({render:e,children:a,asChild:r,...n}){return e&&(0,w.isValidElement)(e)?(0,t.jsx)(j.SidebarMenuButton,{asChild:!0,...n,children:(0,w.cloneElement)(e,void 0,a)}):(0,t.jsx)(j.SidebarMenuButton,{asChild:r,...n,children:a})}],884941),e.i(732002),e.i(943696),e.i(595040),e.s([],19710)},828627,974817,15758,e=>{"use strict";var t=e.i(843476),a=e.i(991918),r=e.i(690923),n=e.i(271645);let i=n.default.forwardRef(({asChild:e,as:n="div",direction:i,align:o,justify:s,wrap:l,gap:d,className:c,...u},m)=>{let p=e?a.Slot:n,f=(0,r.cn)((e=>{let{direction:t,align:a,justify:r,wrap:n,gap:i}=e,o=["flex"];"column"===t&&o.push("flex-col"),"row-reverse"===t&&o.push("flex-row-reverse"),"column-reverse"===t&&o.push("flex-col-reverse"),"start"===a&&o.push("items-start"),"center"===a&&o.push("items-center"),"end"===a&&o.push("items-end"),"baseline"===a&&o.push("items-baseline"),"stretch"===a&&o.push("items-stretch"),"start"===r&&o.push("justify-start"),"center"===r&&o.push("justify-center"),"end"===r&&o.push("justify-end"),"between"===r&&o.push("justify-between"),"around"===r&&o.push("justify-around"),"evenly"===r&&o.push("justify-evenly"),"wrap"===n&&o.push("flex-wrap"),"nowrap"===n&&o.push("flex-nowrap"),"wrap-reverse"===n&&o.push("flex-wrap-reverse");let s=(e=>{if(void 0!==e)return({0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",7:"gap-7",8:"gap-8",9:"gap-9",10:"gap-10",11:"gap-11",12:"gap-12",14:"gap-14",16:"gap-16",20:"gap-20",24:"gap-24",28:"gap-28",32:"gap-32",36:"gap-36",40:"gap-40",44:"gap-44",48:"gap-48",52:"gap-52",56:"gap-56",60:"gap-60",64:"gap-64",72:"gap-72",80:"gap-80",96:"gap-96"})[e]||`gap-[${.25*e}rem]`})(i);return s&&o.push(s),o})({direction:i,align:o,justify:s,wrap:l,gap:d}),c);return(0,t.jsx)(p,{...u,ref:m,className:f})});i.displayName="Flex",e.s(["Flex",0,i],974817),e.i(702201);let o={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},s={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},l=n.forwardRef(({as:e="p",size:a="md",weight:n,muted:i,className:l,children:d,...c},u)=>(0,t.jsx)(e,{ref:u,className:(0,r.cn)(o[a],n&&s[n],i&&"text-muted-foreground",l),...c,children:d}));l.displayName="Text",e.s(["Text",0,l],15758),e.i(519410),e.i(947511),e.i(467384),e.s([],828627)},595040,e=>{"use strict";e.i(816396),e.s([])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,388610,e=>{"use strict";var t=e.i(843476);let a="vinaya/",r=[{key:"blocked",id:"vinaya/blocked",category:"state",form:"literal",carries:"Execution is halted pending an external unblock; wins over every other derived status."},{key:"tier-0",id:"vinaya/tier:0",category:"tier",form:"literal",carries:"Lowest governance weight — typecheck, lint, tests, and a conforming PR body."},{key:"tier-1",id:"vinaya/tier:1",category:"tier",form:"literal",carries:"Tier 0 plus spec/skill coverage and a passing verify-docs run."},{key:"tier-3",id:"vinaya/tier:3",category:"tier",form:"literal",carries:"Tier 1 plus the reasoning for the change, stated in the pull request that makes it."},{key:"tranche",id:"vinaya/tranche:",category:"tranche",form:"prefix",carries:"The tranche slug this task Issue belongs to — the forge's grouping key, matched by prefix."},{key:"needs-execution-input",id:"vinaya/needs:execution-input",category:"needs",form:"literal",carries:"Waiting on a missing execution detail — a flag, a dependency, a value the brief did not carry."},{key:"needs-strategy-input",id:"vinaya/needs:strategy-input",category:"needs",form:"literal",carries:"Waiting on a strategy call — the brief assumes an approach the codebase has moved away from."},{key:"needs-principal-input",id:"vinaya/needs:principal-input",category:"needs",form:"literal",carries:"Waiting on the Principal — a product-level call no agent may make."},{key:"needs-brief-correction",id:"vinaya/needs:brief-correction",category:"needs",form:"literal",carries:"Waiting on the Brief Author — the brief contradicts the surface it describes."},{key:"waiver-docs",id:"vinaya/waiver:docs",category:"waiver",form:"literal",carries:"Doc-coverage gate excused for this PR — honored only when a principal applied it."},{key:"waiver-review",id:"vinaya/waiver:review",category:"waiver",form:"literal",carries:"Review gate excused for this PR — honored only when a principal applied it."},{key:"override-docs",id:"vinaya/override:docs",category:"waiver",form:"literal",carries:"The whole verify-docs gate suppressed for this PR — a Principal-only blunt override, wider than a waiver."},{key:"incoherent",id:"vinaya/incoherent",category:"flag",form:"literal",carries:"Closed COMPLETED with no merged-PR link — done-but-unprovable, surfaced for a human."},{key:"direct-main-push",id:"vinaya/direct-main-push",category:"flag",form:"literal",carries:"A commit reached main with no associated merged PR — ring-2 detection, never a mutation."},{key:"dead-branch-push",id:"vinaya/dead-branch-push",category:"flag",form:"literal",carries:"Commits landed on a branch after its PR had already resolved — daily-drift detection."},{key:"state-object",id:"vinaya/state-object",category:"kind",form:"literal",carries:"A permanent forge-native storage object, never actionable work — excluded from every backlog."}],n=new Map(r.map(e=>[e.key,e]));function i(e){let t=n.get(e);if(!t)throw Error(`labels.ts: no LABELS entry for key '${e}'`);return t}e.i(207530);var o=e.i(186506),s=e.i(137951),l=e.i(408277),d=e.i(102773),c=e.i(263676),u=e.i(271645),m=e.i(929570);let p={project:"text-primary border-primary/40",tier:"text-foreground border-border",state:"text-primary border-primary/40",needs:"text-warning border-warning/40",flag:"text-destructive border-destructive/40",other:"text-muted-foreground border-border"};function f(e){let t=r.find(t=>{var a;let r;return a=t.key,"prefix"===(r=i(a)).form?e.startsWith(r.id):e===r.id});return t?"tier"===t.category?"tier":"state"===t.category?"state":"needs"===t.category?"needs":"flag"===t.category?"flag":"other":"other"}function g(e){return{tier:e.find(e=>"tier"===f(e))??null,flags:e.filter(e=>{let t=f(e);return"needs"===t||"state"===t||"flag"===t})}}function x({label:e}){return(0,t.jsx)(m.Badge,{variant:"outline",className:`font-mono text-xs ${p[f(e)]}`,children:e.startsWith(a)?e.slice(a.length):e})}function h({project:e}){return(0,t.jsx)(m.Badge,{variant:"outline",className:`font-mono text-xs ${p.project}`,children:e})}function v(){return(0,t.jsx)("span",{className:"font-mono text-xs text-muted-foreground/60",children:"—"})}let b="flex min-w-0 flex-wrap gap-1 [&>*]:h-auto [&>*]:max-w-full [&>*]:overflow-visible [&>*]:break-words [&>*]:whitespace-normal",y="backlog-filter-heading",w=i("tier-0").id.replace(/0$/,"");function j({label:e,active:a,onToggle:r}){return(0,t.jsx)(o.Button,{type:"button",variant:a?"default":"outline",size:"sm",onClick:r,"aria-pressed":a,className:`h-7 font-mono text-xs ${a?"border-primary bg-accent text-accent-foreground hover:bg-accent/90":"text-muted-foreground"}`,children:e})}function N({name:e,options:a,selected:r,onToggle:n,strip:i=""}){return 0===a.length?null:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,t.jsx)("span",{className:"font-mono text-xs uppercase tracking-wider text-foreground",children:e}),a.map(e=>(0,t.jsx)(j,{label:e.startsWith(i)?e.slice(i.length):e,active:r.has(e),onToggle:()=>n(e)},e))]})}e.s(["BacklogTable",0,function({issues:e,projectOptions:r,tierOptions:n,flagOptions:i}){let[m,p]=(0,u.useState)(new Set),[f,j]=(0,u.useState)(new Set),[T,k]=(0,u.useState)(new Set),C=e=>t=>e(e=>{let a=new Set(e);return a.has(t)?a.delete(t):a.add(t),a}),S=(0,u.useMemo)(()=>e.filter(e=>{let{tier:t,flags:a}=g(e.labels),r=0===m.size||e.projects.some(e=>m.has(e)),n=0===f.size||null!==t&&f.has(t),i=0===T.size||a.some(e=>T.has(e));return r&&n&&i}),[e,m,f,T]),R=m.size>0||f.size>0||T.size>0;return(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(d.Filter,{className:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":!0}),(0,t.jsx)("h2",{id:y,className:"font-mono text-xs uppercase tracking-wider text-muted-foreground",children:"Filter by"})]}),(0,t.jsxs)("div",{role:"group","aria-labelledby":y,className:"flex flex-wrap items-center gap-x-4 gap-y-2",children:[(0,t.jsx)(N,{name:"Project",options:r,selected:m,onToggle:C(p)}),(0,t.jsx)(N,{name:"Tier",options:n,selected:f,onToggle:C(j),strip:w}),(0,t.jsx)(N,{name:"Flags",options:i,selected:T,onToggle:C(k),strip:a}),R&&(0,t.jsxs)(o.Button,{type:"button",variant:"ghost",size:"sm",className:"h-7 gap-1 font-mono text-xs text-muted-foreground",onClick:()=>{p(new Set),j(new Set),k(new Set)},children:[(0,t.jsx)(c.X,{className:"size-3.5","aria-hidden":!0}),"Clear"]})]}),(0,t.jsx)("div",{children:(0,t.jsxs)(s.Table,{stickyHeader:!0,className:"min-w-[720px] table-fixed",children:[(0,t.jsx)(l.TableHeader,{children:(0,t.jsxs)(l.TableRow,{children:[(0,t.jsx)(l.TableHead,{className:"w-[6%] px-2 font-semibold text-foreground",children:"#"}),(0,t.jsx)(l.TableHead,{className:"w-[32%] font-semibold text-foreground",children:"Title"}),(0,t.jsx)(l.TableHead,{className:"w-[20%] font-semibold text-foreground",children:"Project(s)"}),(0,t.jsx)(l.TableHead,{className:"w-[10%] font-semibold text-foreground",children:"Tier"}),(0,t.jsx)(l.TableHead,{className:"w-[32%] font-semibold text-foreground",children:"Flags"})]})}),(0,t.jsx)(l.TableBody,{children:0===S.length?(0,t.jsx)(l.TableRow,{children:(0,t.jsx)(s.TableCell,{colSpan:5,className:"py-8 text-center font-sans text-sm text-muted-foreground/70",children:"No issues match these filters."})}):S.map(e=>{let{tier:a,flags:r}=g(e.labels);return(0,t.jsxs)(l.TableRow,{children:[(0,t.jsx)(s.TableCell,{className:"px-2 align-top",children:(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"whitespace-nowrap font-mono text-xs text-muted-foreground hover:text-primary hover:underline",children:["#",e.number]})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"block break-words font-sans text-sm text-card-foreground hover:text-primary hover:underline",children:e.title})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("div",{className:b,children:e.projects.length>0?e.projects.map(e=>(0,t.jsx)(h,{project:e},e)):(0,t.jsx)(v,{})})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("div",{className:b,children:a?(0,t.jsx)(x,{label:a}):(0,t.jsx)(v,{})})}),(0,t.jsx)(s.TableCell,{className:"align-top",children:(0,t.jsx)("div",{className:b,children:r.length>0?r.map(e=>(0,t.jsx)(x,{label:e},e)):(0,t.jsx)(v,{})})})]},e.number)})})]})})]})}],388610)},382449,e=>{"use strict";var t=e.i(388474);e.s(["Checkbox",0,t])},687607,e=>{"use strict";var t=e.i(271645),a=e.i(981140),r=e.i(30030),n=e.i(369340),i=e.i(934620),o=e.i(820783),s=e.i(248425),l=e.i(296626),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,m=(e,t)=>u(e,"name",{value:t,configurable:!0}),p="Collapsible",[f,g]=(0,r.createContextScope)(p),[x,h]=f(p),v=t.forwardRef(m(function(e,a){let{__scopeCollapsible:r,open:i,defaultOpen:o,disabled:l,onOpenChange:u,...m}=e,[f,g]=(0,n.useControllableState)({prop:i,defaultProp:o??!1,onChange:u,caller:p});return(0,c.jsx)(x,{scope:r,disabled:l,contentId:(0,d.useId)(),open:f,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),children:(0,c.jsx)(s.Primitive.div,{"data-state":N(f),"data-disabled":l?"":void 0,...m,ref:a})})},"Collapsible")),b=t.forwardRef(m(function(e,t){let{__scopeCollapsible:r,...n}=e,i=h("CollapsibleTrigger",r);return(0,c.jsx)(s.Primitive.button,{type:"button","aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":N(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...n,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,i.onOpenToggle)})},"CollapsibleTrigger")),y="CollapsibleContent",w=t.forwardRef(m(function(e,t){let{forceMount:a,...r}=e,n=h(y,e.__scopeCollapsible);return(0,c.jsx)(l.Presence,{present:a||n.open,children:({present:e})=>(0,c.jsx)(j,{...r,ref:t,present:e})})},"CollapsibleContent")),j=t.forwardRef(m(function(e,a){let{__scopeCollapsible:r,present:n,children:l,...d}=e,u=h(y,r),[m,p]=t.useState(n),f=t.useRef(null),g=(0,o.useComposedRefs)(a,f),x=t.useRef(0),v=x.current,b=t.useRef(0),w=b.current,j=u.open||m,T=t.useRef(j),k=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>T.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=f.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,b.current=t.width,T.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),p(n)}},[u.open,n]),(0,c.jsx)(s.Primitive.div,{"data-state":N(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!j,...d,ref:g,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:j&&l})},"CollapsibleContentImpl"));function N(e){return e?"open":"closed"}m(N,"getState"),e.s(["Collapsible",0,v,"CollapsibleContent",0,w,"CollapsibleTrigger",0,b,"Content",0,w,"Root",0,v,"Trigger",0,b,"createCollapsibleScope",0,g])},768467,e=>{"use strict";var t=e.i(57287);e.s(["Switch",0,t])},926209,e=>{"use strict";var t=e.i(271645),a=e.i(981140),r=e.i(30030),n=e.i(842727),i=e.i(296626),o=e.i(248425),s=e.i(586318),l=e.i(369340),d=e.i(610772),c=e.i(843476),u=Object.defineProperty,m=(e,t)=>u(e,"name",{value:t,configurable:!0}),p="Tabs",[f,g]=(0,r.createContextScope)(p,[n.createRovingFocusGroupScope]),x=(0,n.createRovingFocusGroupScope)(),[h,v]=f(p),b=t.forwardRef(m(function(e,t){let{__scopeTabs:a,value:r,onValueChange:n,defaultValue:i,orientation:u="horizontal",dir:m,activationMode:f="automatic",...g}=e,x=(0,s.useDirection)(m),[v,b]=(0,l.useControllableState)({prop:r,onChange:n,defaultProp:i??"",caller:p});return(0,c.jsx)(h,{scope:a,baseId:(0,d.useId)(),value:v,onValueChange:b,orientation:u,dir:x,activationMode:f,children:(0,c.jsx)(o.Primitive.div,{dir:x,"data-orientation":u,...g,ref:t})})},"Tabs")),y=t.forwardRef(m(function(e,t){let{__scopeTabs:a,loop:r=!0,...i}=e,s=v("TabsList",a),l=x(a);return(0,c.jsx)(n.Root,{asChild:!0,...l,orientation:s.orientation,dir:s.dir,loop:r,children:(0,c.jsx)(o.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:t})})},"TabsList")),w=t.forwardRef(m(function(e,t){let{__scopeTabs:r,value:i,disabled:s=!1,...l}=e,d=v("TabsTrigger",r),u=x(r),m=N(d.baseId,i),p=T(d.baseId,i),f=i===d.value;return(0,c.jsx)(n.Item,{asChild:!0,...u,focusable:!s,active:f,children:(0,c.jsx)(o.Primitive.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":p,"data-state":f?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:m,...l,ref:t,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(i)}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!s&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&d.onValueChange(i)}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==d.activationMode;f||s||!e||d.onValueChange(i)})})})},"TabsTrigger")),j=t.forwardRef(m(function(e,a){let{__scopeTabs:r,value:n,forceMount:s,children:l,...d}=e,u=v("TabsContent",r),m=N(u.baseId,n),p=T(u.baseId,n),f=n===u.value,g=t.useRef(f);return t.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.jsx)(i.Presence,{present:s||f,children:({present:t})=>(0,c.jsx)(o.Primitive.div,{"data-state":f?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":m,hidden:!t,id:p,tabIndex:0,...d,ref:a,style:{...e.style,animationDuration:g.current?"0s":void 0},children:t&&l})})},"TabsContent"));function N(e,t){return`${e}-trigger-${t}`}function T(e,t){return`${e}-content-${t}`}m(N,"makeTriggerId"),m(T,"makeContentId"),e.s(["Content",0,j,"List",0,y,"Root",0,b,"Tabs",0,b,"TabsContent",0,j,"TabsList",0,y,"TabsTrigger",0,w,"Trigger",0,w,"createTabsScope",0,g])},504607,e=>{"use strict";var t=e.i(980305);e.s(["Toggle",0,t])},503636,358729,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDownIcon",()=>t.default],503636);var a=e.i(144716);e.s(["ChevronUpIcon",()=>a.default],358729)},102773,e=>{"use strict";let t=(0,e.i(456420).default)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);e.s(["Filter",0,t],102773)},207530,e=>{"use strict";e.i(19710),e.s([])},263724,867927,471415,566407,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(690923);let n=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("code",{ref:n,className:(0,r.cn)("rounded-sm bg-muted px-1.5 py-0.5 font-mono text-[0.92em] text-foreground",e),...a}));n.displayName="Code";let i=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("pre",{ref:n,className:(0,r.cn)("my-4 overflow-x-auto rounded-md bg-muted p-4 font-mono text-sm text-foreground",e),...a}));i.displayName="CodeBlock",e.s(["Code",0,n,"CodeBlock",0,i],263724);var o=e.i(991918),s=e.i(986253);e.s(["ChevronRight",()=>s.default],867927);var s=s;let l=(0,e.i(456420).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]),d=a.forwardRef(({...e},a)=>(0,t.jsx)("nav",{ref:a,"aria-label":"breadcrumb",...e}));d.displayName="Breadcrumb";let c=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("ol",{ref:n,className:(0,r.cn)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...a}));c.displayName="BreadcrumbList";let u=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("li",{ref:n,className:(0,r.cn)("inline-flex items-center gap-1.5",e),...a}));u.displayName="BreadcrumbItem";let m=a.forwardRef(({asChild:e,className:a,...n},i)=>{let s=e?o.Slot:"a";return(0,t.jsx)(s,{ref:i,className:(0,r.cn)("transition-colors hover:text-foreground",a),...n})});m.displayName="BreadcrumbLink";let p=a.forwardRef(({className:e,...a},n)=>(0,t.jsx)("span",{ref:n,role:"link","aria-disabled":"true","aria-current":"page",className:(0,r.cn)("font-normal text-foreground",e),...a}));p.displayName="BreadcrumbPage";let f=({children:e,className:a,...n})=>(0,t.jsx)("li",{role:"presentation","aria-hidden":"true",className:(0,r.cn)("[&>svg]:w-3.5 [&>svg]:h-3.5",a),...n,children:e??(0,t.jsx)(s.default,{})});f.displayName="BreadcrumbSeparator";let g=({className:e,...a})=>(0,t.jsxs)("span",{role:"presentation","aria-hidden":"true",className:(0,r.cn)("flex h-9 w-9 items-center justify-center",e),...a,children:[(0,t.jsx)(l,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More"})]});g.displayName="BreadcrumbElipssis",e.s(["Breadcrumb",0,d,"BreadcrumbEllipsis",0,g,"BreadcrumbItem",0,u,"BreadcrumbLink",0,m,"BreadcrumbList",0,c,"BreadcrumbPage",0,p,"BreadcrumbSeparator",0,f],471415),e.s(["makeScrollableTable",0,function(e,a){function n({className:i,containerClassName:o,stickyHeader:s=!1,...l}){return(0,t.jsx)("div",{className:"@container/tbl w-full min-w-0 max-w-full",children:(0,t.jsx)("div",{className:(0,r.cn)(s&&"@min-[780px]/tbl:[&>div]:overflow-visible",s&&a,o),children:(0,t.jsx)(e,{className:i,...l})})})}return n.displayName="Table",n}],566407)},915215,e=>{"use strict";var t=e.i(575360),a=e.i(359607);e.s(["ToastProvider",()=>t.ToastProvider,"useToastContext",()=>a.useToastContext])},441468,e=>{"use strict";var t=e.i(19810),a=e.i(9963);e.s(["Select",()=>a.Select,"SelectContent",()=>t.SelectContent,"SelectGroup",()=>a.SelectGroup,"SelectItem",()=>a.SelectItem,"SelectLabel",()=>a.SelectLabel,"SelectScrollDownButton",()=>a.SelectScrollDownButton,"SelectScrollUpButton",()=>a.SelectScrollUpButton,"SelectSeparator",()=>a.SelectSeparator,"SelectTrigger",()=>a.SelectTrigger,"SelectValue",()=>a.SelectValue])},19710,929570,336583,76616,721930,7956,992250,137951,186506,398313,888624,884941,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(586011),n=e.i(690923);let i=(0,a.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded border-2 px-2 py-0.5 text-xs font-head font-medium whitespace-nowrap shadow-sm transition-all focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive text-destructive-foreground [a]:hover:bg-destructive/90",outline:"bg-transparent text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"border-transparent bg-transparent shadow-none hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"border-transparent bg-transparent shadow-none text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function o({className:e,size:a="default",...r}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,n.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded border-2 bg-card py-(--card-spacing) text-sm text-card-foreground shadow-md [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...r})}e.s(["Badge",0,function({className:e,variant:a="default",asChild:o=!1,...s}){let l=o?r.Slot.Root:"span";return(0,t.jsx)(l,{"data-slot":"badge","data-variant":a,className:(0,n.cn)(i({variant:a}),e),...s})}],929570),e.i(263724),e.s(["Card",0,o,"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,n.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,n.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,n.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,n.cn)("flex items-center rounded-b-xl border-t-2 bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,n.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,n.cn)("cn-font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}],336583),e.s(["ChromeFrame",0,function({variant:e,className:a,children:r,...i}){return"rail"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,n.cn)("flex h-full w-full flex-col overflow-hidden rounded bg-sidebar py-0",a),...i,children:r})}):"panel"===e?(0,t.jsx)("div",{className:"h-full w-full p-2",children:(0,t.jsx)(o,{className:(0,n.cn)("flex h-full w-full flex-col overflow-y-auto rounded bg-card py-0",a),...i,children:r})}):"bar"===e?(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,n.cn)("flex w-full flex-row items-center rounded bg-card py-0",a),...i,children:r})}):(0,t.jsx)("div",{className:"w-full px-2 pt-2",children:(0,t.jsx)(o,{className:(0,n.cn)("relative flex h-14 w-full flex-row items-center gap-0 rounded px-6 py-0 overflow-visible",a),...i,children:r})})}],76616),e.i(971763);var s=e.i(829834);e.s(["TabsTrigger",0,function({className:e,...a}){return(0,t.jsx)(s.TabsTrigger,{className:(0,n.cn)(e,"data-active:hover:text-primary-foreground"),...a})}],721930),e.i(277718),e.i(900843),e.i(382115),e.i(19810),e.i(649320);var l=e.i(392784);function d({variant:e,size:a,error:r,leftSection:i,rightSection:o,className:s,...c}){return i||o?(0,t.jsxs)("div",{className:"w-full flex items-center gap-1",children:[i,(0,t.jsx)(l.Input,{className:(0,n.cn)("flex-1",r&&"border-destructive",s),...c}),o]}):(0,t.jsx)(l.Input,{className:(0,n.cn)(r&&"border-destructive",s),...c})}function c({className:e,leftSection:a,rightSection:r,error:i,children:o}){return(0,t.jsxs)("div",{className:(0,n.cn)("w-full flex gap-1 items-center",i&&"border-destructive",e),children:[a,o,r]})}d.displayName="Input",c.displayName="InputBlock",e.s(["Input",0,d,"InputBlock",0,c],7956),e.i(500418),e.i(691298),e.i(311690),e.i(396409),e.i(74778),e.i(598349),e.i(471415);var u=e.i(503636),m=e.i(576958),m=m;let p=(0,a.cva)("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground");function f({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,t.jsx)(m.Viewport,{"data-slot":"navigation-menu-viewport",className:(0,n.cn)("origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded border-2 bg-popover text-popover-foreground shadow-md duration-100 md:w-(--radix-navigation-menu-viewport-width) data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90",e),...a})})}e.s(["NavigationMenu",0,function({className:e,children:a,viewport:r=!0,...i}){return(0,t.jsxs)(m.Root,{"data-slot":"navigation-menu","data-viewport":r,className:(0,n.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...i,children:[a,r&&(0,t.jsx)(f,{})]})},"NavigationMenuContent",0,function({className:e,...a}){return(0,t.jsx)(m.Content,{"data-slot":"navigation-menu-content",className:(0,n.cn)("top-0 left-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded group-data-[viewport=false]/navigation-menu:border-2 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:duration-300 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95",e),...a})},"NavigationMenuIndicator",0,function({className:e,...a}){return(0,t.jsx)(m.Indicator,{"data-slot":"navigation-menu-indicator",className:(0,n.cn)("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",e),...a,children:(0,t.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})},"NavigationMenuItem",0,function({className:e,...a}){return(0,t.jsx)(m.Item,{"data-slot":"navigation-menu-item",className:(0,n.cn)("relative",e),...a})},"NavigationMenuLink",0,function({className:e,...a}){return(0,t.jsx)(m.Link,{"data-slot":"navigation-menu-link",className:(0,n.cn)("flex items-center gap-2 rounded-sm p-2 text-sm transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary in-data-[slot=navigation-menu-content]:rounded-sm data-active:bg-accent data-active:text-accent-foreground [&_svg:not([class*='size-'])]:size-4",e),...a})},"NavigationMenuList",0,function({className:e,...a}){return(0,t.jsx)(m.List,{"data-slot":"navigation-menu-list",className:(0,n.cn)("group flex flex-1 list-none items-center justify-center gap-0",e),...a})},"NavigationMenuTrigger",0,function({className:e,children:a,...r}){return(0,t.jsxs)(m.Trigger,{"data-slot":"navigation-menu-trigger",className:(0,n.cn)(p(),"group",e),...r,children:[a," ",(0,t.jsx)(u.ChevronDownIcon,{className:"relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180","aria-hidden":"true"})]})},"NavigationMenuViewport",0,f,"navigationMenuTriggerStyle",0,p],992250);var g=e.i(408277);let x=(0,e.i(566407).makeScrollableTable)(g.Table,"@min-[780px]/tbl:[&_thead_th]:sticky @min-[780px]/tbl:[&_thead_th]:top-0 @min-[780px]/tbl:[&_thead_th]:z-10 @min-[780px]/tbl:[&_thead_th]:bg-muted @min-[780px]/tbl:[&_thead_th]:shadow-[inset_0_-2px_0_0_var(--border)] @min-[780px]/tbl:[&_thead_th:first-child]:rounded-tl @min-[780px]/tbl:[&_thead_th:last-child]:rounded-tr");e.s(["Table",0,x,"TableCell",0,function({className:e,...a}){return(0,t.jsx)(g.TableCell,{className:(0,n.cn)("whitespace-normal",e),...a})}],137951),e.i(828627);var h=e.i(881736);e.s(["Button",0,function({className:e,...a}){return(0,t.jsx)(h.Button,{className:(0,n.cn)(e,"leading-none"),...a})}],186506);var v=e.i(96834);let b=(0,n.cn)("data-[state=checked]:bg-primary","[&_[data-slot=switch-thumb]]:data-[state=unchecked]:translate-x-0","[&_[data-slot=switch-thumb]]:data-[state=checked]:bg-background","data-[size=default]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-5","data-[size=sm]:[&_[data-slot=switch-thumb]]:data-[state=checked]:translate-x-4");e.s(["Switch",0,function({className:e,...a}){return(0,t.jsx)(v.Switch,{className:(0,n.cn)(b,e),...a})}],398313);var y=e.i(802143);e.s(["Toggle",0,function({className:e,...a}){return(0,t.jsx)(y.Toggle,{className:(0,n.cn)(e,"cursor-pointer disabled:cursor-not-allowed"),...a})}],888624),e.i(678223),e.i(575360);var w=e.i(271645),j=e.i(579104);e.s(["SidebarMenuButton",0,function({render:e,children:a,asChild:r,...n}){return e&&(0,w.isValidElement)(e)?(0,t.jsx)(j.SidebarMenuButton,{asChild:!0,...n,children:(0,w.cloneElement)(e,void 0,a)}):(0,t.jsx)(j.SidebarMenuButton,{asChild:r,...n,children:a})}],884941),e.i(732002),e.i(943696),e.i(595040),e.s([],19710)},828627,974817,15758,e=>{"use strict";var t=e.i(843476),a=e.i(991918),r=e.i(690923),n=e.i(271645);let i=n.default.forwardRef(({asChild:e,as:n="div",direction:i,align:o,justify:s,wrap:l,gap:d,className:c,...u},m)=>{let p=e?a.Slot:n,f=(0,r.cn)((e=>{let{direction:t,align:a,justify:r,wrap:n,gap:i}=e,o=["flex"];"column"===t&&o.push("flex-col"),"row-reverse"===t&&o.push("flex-row-reverse"),"column-reverse"===t&&o.push("flex-col-reverse"),"start"===a&&o.push("items-start"),"center"===a&&o.push("items-center"),"end"===a&&o.push("items-end"),"baseline"===a&&o.push("items-baseline"),"stretch"===a&&o.push("items-stretch"),"start"===r&&o.push("justify-start"),"center"===r&&o.push("justify-center"),"end"===r&&o.push("justify-end"),"between"===r&&o.push("justify-between"),"around"===r&&o.push("justify-around"),"evenly"===r&&o.push("justify-evenly"),"wrap"===n&&o.push("flex-wrap"),"nowrap"===n&&o.push("flex-nowrap"),"wrap-reverse"===n&&o.push("flex-wrap-reverse");let s=(e=>{if(void 0!==e)return({0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",7:"gap-7",8:"gap-8",9:"gap-9",10:"gap-10",11:"gap-11",12:"gap-12",14:"gap-14",16:"gap-16",20:"gap-20",24:"gap-24",28:"gap-28",32:"gap-32",36:"gap-36",40:"gap-40",44:"gap-44",48:"gap-48",52:"gap-52",56:"gap-56",60:"gap-60",64:"gap-64",72:"gap-72",80:"gap-80",96:"gap-96"})[e]||`gap-[${.25*e}rem]`})(i);return s&&o.push(s),o})({direction:i,align:o,justify:s,wrap:l,gap:d}),c);return(0,t.jsx)(p,{...u,ref:m,className:f})});i.displayName="Flex",e.s(["Flex",0,i],974817),e.i(702201);let o={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},s={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},l=n.forwardRef(({as:e="p",size:a="md",weight:n,muted:i,className:l,children:d,...c},u)=>(0,t.jsx)(e,{ref:u,className:(0,r.cn)(o[a],n&&s[n],i&&"text-muted-foreground",l),...c,children:d}));l.displayName="Text",e.s(["Text",0,l],15758),e.i(519410),e.i(947511),e.i(467384),e.s([],828627)},595040,e=>{"use strict";e.i(816396),e.s([])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,471629,481139,e=>{"use strict";var s=e.i(843476),a=e.i(853138);function t({scope:e,status:n,detail:r}){if("ok"===n.kind)return null;if("unreachable"===n.kind)return(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-warning",children:[(0,s.jsx)(a.AlertTriangle,{className:"size-4 shrink-0 translate-y-0.5 text-warning","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-warning",children:["Live forge state unavailable — GitHub could not be reached."," ",r??"Showing archived/legacy data only; active tranches cannot be listed right now."]})]});let i="both"===e?"tranches":`${e} tranches`,c=n.failed.map(e=>e.slug).join(", ");return(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-warning",children:[(0,s.jsx)(a.AlertTriangle,{className:"size-4 shrink-0 translate-y-0.5 text-warning","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-warning",children:["Live forge state partially unavailable — ",n.failed.length," of ",n.total," ",i," could not be loaded (",c,"). Shown counts exclude them."]})]})}e.s(["ForgeBanners",0,function({forge:e}){return"unreachable"===e.active.kind&&"unreachable"===e.archived.kind?(0,s.jsx)(t,{scope:"both",status:e.active}):(0,s.jsxs)("div",{className:"space-y-2",children:["ok"!==e.active.kind&&(0,s.jsx)(t,{scope:"active",status:e.active}),"ok"!==e.archived.kind&&(0,s.jsx)(t,{scope:"archived",status:e.archived})]})}],471629),e.i(799321);var n=e.i(336583),r=e.i(167012);let i=(0,e.i(456420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var c=e.i(271645),l=e.i(61575);function d({counts:e,archived:a}){let{total:t,done:n,ongoing:r,todo:i,blocked:l,dropped:o,incoherent:h,backlog:u,forgeAvailable:x}=e;if(!x)return(0,s.jsxs)("p",{children:[t," task",1===t?"":"s"]});if("active"!=(a?"archived":e.forgeAvailable&&e.done>0&&e.done+e.dropped===e.total?"awaiting-archive":"active"))return(0,s.jsx)("span",{className:"inline-block rounded border border-success/50 px-1.5 py-0.5 font-mono text-xs font-medium uppercase tracking-wider text-success",children:"done"});let g=t-o,m=g>0?Math.round(n/g*100):0,p=[{key:"done",label:`${n} done`,count:n,className:"text-success"},{key:"ongoing",label:`${r} active`,count:r,className:"text-primary"},{key:"todo",label:`${i} to do`,count:i},{key:"blocked",label:`${l} blocked`,count:l,className:"text-warning"},{key:"dropped",label:`${o} dropped`,count:o,className:"text-muted-foreground/70"},{key:"incoherent",label:`${h} incoherent`,count:h,className:"text-destructive"},{key:"backlog",label:`${u} backlog`,count:u,className:"text-muted-foreground/70"}].filter(e=>e.count>0);return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("div",{className:"h-1 overflow-hidden rounded-full bg-muted",children:(0,s.jsx)("div",{className:"h-full rounded-full bg-success",style:{width:`${m}%`}})}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("span",{children:p.map((e,a)=>(0,s.jsxs)(c.Fragment,{children:[a>0&&" · ",(0,s.jsx)("span",{className:e.className,children:e.label})]},e.key))}),(0,s.jsxs)("span",{children:[m,"%"]})]})]})}e.s(["TrancheCard",0,function({tranche:e,href:a,showProjects:t=!1}){let c="group block",o=(0,s.jsxs)(n.Card,{children:[(0,s.jsx)(n.CardHeader,{className:"pb-2",children:(0,s.jsxs)(n.CardTitle,{className:"flex items-center justify-between font-serif text-xl text-card-foreground",children:[(0,s.jsx)("span",{children:e.name}),a?(0,s.jsx)(i,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:text-primary"}):null]})}),(0,s.jsxs)(n.CardContent,{className:"space-y-2 font-mono text-xs text-muted-foreground",children:[t&&e.projects.length>0&&(0,s.jsxs)("p",{children:["projects · ",e.projects.join(" · ")]}),!a&&(0,s.jsx)("p",{className:"font-sans text-xs text-muted-foreground/70",children:l.NO_BOARD_REASON}),e.goal&&(0,s.jsx)("p",{className:"line-clamp-2 font-sans text-xs",children:e.goal}),(0,s.jsx)(d,{counts:e.taskCounts,archived:e.archived})]})]});return a?(0,s.jsx)(r.NextLink,{variant:"unstyled",href:a,className:c,children:o}):(0,s.jsx)("div",{className:`${c} cursor-help`,title:l.NO_BOARD_REASON,children:o})}],481139)},993439,e=>{"use strict";var s=e.i(843476);e.i(799321);var a=e.i(829834),t=e.i(721930),n=e.i(471629),r=e.i(481139),i=e.i(61575);function c({tranches:e,emptyHint:a,registered:t}){return 0===e.length?a?(0,s.jsx)("p",{className:"font-sans text-sm text-muted-foreground/70",children:a}):null:(0,s.jsx)("div",{className:"grid gap-3 sm:grid-cols-2",children:e.map(e=>(0,s.jsx)(r.TrancheCard,{tranche:e,href:(0,i.trancheHref)(e,t),showProjects:!0},e.fileSlug))})}e.s(["TranchesTabs",0,function({active:e,archived:r,forge:i,registeredProjects:l}){let d=new Set(l);return(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(n.ForgeBanners,{forge:i}),(0,s.jsxs)(a.Tabs,{defaultValue:"active",children:[(0,s.jsxs)(a.TabsList,{children:[(0,s.jsxs)(t.TabsTrigger,{value:"active",children:["Active (",e.length,")"]}),(0,s.jsxs)(t.TabsTrigger,{value:"archived",children:["Archived (",r.length,")"]})]}),(0,s.jsx)(a.TabsContent,{value:"active",children:(0,s.jsx)(c,{tranches:e,emptyHint:"ok"===i.active.kind?"No active tranches.":null,registered:d})}),(0,s.jsx)(a.TabsContent,{value:"archived",children:(0,s.jsx)(c,{tranches:r,emptyHint:"No archived tranches yet.",registered:d})})]})]})}])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,471629,481139,e=>{"use strict";var s=e.i(843476),a=e.i(853138);function t({scope:e,status:n,detail:r}){if("ok"===n.kind)return null;if("unreachable"===n.kind)return(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-warning",children:[(0,s.jsx)(a.AlertTriangle,{className:"size-4 shrink-0 translate-y-0.5 text-warning","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-warning",children:["Live forge state unavailable — GitHub could not be reached."," ",r??"Showing archived/legacy data only; active tranches cannot be listed right now."]})]});let i="both"===e?"tranches":`${e} tranches`,c=n.failed.map(e=>e.slug).join(", ");return(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-warning",children:[(0,s.jsx)(a.AlertTriangle,{className:"size-4 shrink-0 translate-y-0.5 text-warning","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-warning",children:["Live forge state partially unavailable — ",n.failed.length," of ",n.total," ",i," could not be loaded (",c,"). Shown counts exclude them."]})]})}e.s(["ForgeBanners",0,function({forge:e}){return"unreachable"===e.active.kind&&"unreachable"===e.archived.kind?(0,s.jsx)(t,{scope:"both",status:e.active}):(0,s.jsxs)("div",{className:"space-y-2",children:["ok"!==e.active.kind&&(0,s.jsx)(t,{scope:"active",status:e.active}),"ok"!==e.archived.kind&&(0,s.jsx)(t,{scope:"archived",status:e.archived})]})}],471629),e.i(207530);var n=e.i(336583),r=e.i(167012);let i=(0,e.i(456420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var c=e.i(271645),l=e.i(61575);function d({counts:e,archived:a}){let{total:t,done:n,ongoing:r,todo:i,blocked:l,dropped:o,incoherent:h,backlog:u,forgeAvailable:x}=e;if(!x)return(0,s.jsxs)("p",{children:[t," task",1===t?"":"s"]});if("active"!=(a?"archived":e.forgeAvailable&&e.done>0&&e.done+e.dropped===e.total?"awaiting-archive":"active"))return(0,s.jsx)("span",{className:"inline-block rounded border border-success/50 px-1.5 py-0.5 font-mono text-xs font-medium uppercase tracking-wider text-success",children:"done"});let g=t-o,m=g>0?Math.round(n/g*100):0,p=[{key:"done",label:`${n} done`,count:n,className:"text-success"},{key:"ongoing",label:`${r} active`,count:r,className:"text-primary"},{key:"todo",label:`${i} to do`,count:i},{key:"blocked",label:`${l} blocked`,count:l,className:"text-warning"},{key:"dropped",label:`${o} dropped`,count:o,className:"text-muted-foreground/70"},{key:"incoherent",label:`${h} incoherent`,count:h,className:"text-destructive"},{key:"backlog",label:`${u} backlog`,count:u,className:"text-muted-foreground/70"}].filter(e=>e.count>0);return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("div",{className:"h-1 overflow-hidden rounded-full bg-muted",children:(0,s.jsx)("div",{className:"h-full rounded-full bg-success",style:{width:`${m}%`}})}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("span",{children:p.map((e,a)=>(0,s.jsxs)(c.Fragment,{children:[a>0&&" · ",(0,s.jsx)("span",{className:e.className,children:e.label})]},e.key))}),(0,s.jsxs)("span",{children:[m,"%"]})]})]})}e.s(["TrancheCard",0,function({tranche:e,href:a,showProjects:t=!1}){let c="group block",o=(0,s.jsxs)(n.Card,{children:[(0,s.jsx)(n.CardHeader,{className:"pb-2",children:(0,s.jsxs)(n.CardTitle,{className:"flex items-center justify-between font-serif text-xl text-card-foreground",children:[(0,s.jsx)("span",{children:e.name}),a?(0,s.jsx)(i,{className:"size-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:text-primary"}):null]})}),(0,s.jsxs)(n.CardContent,{className:"space-y-2 font-mono text-xs text-muted-foreground",children:[t&&e.projects.length>0&&(0,s.jsxs)("p",{children:["projects · ",e.projects.join(" · ")]}),!a&&(0,s.jsx)("p",{className:"font-sans text-xs text-muted-foreground/70",children:l.NO_BOARD_REASON}),e.goal&&(0,s.jsx)("p",{className:"line-clamp-2 font-sans text-xs",children:e.goal}),(0,s.jsx)(d,{counts:e.taskCounts,archived:e.archived})]})]});return a?(0,s.jsx)(r.NextLink,{variant:"unstyled",href:a,className:c,children:o}):(0,s.jsx)("div",{className:`${c} cursor-help`,title:l.NO_BOARD_REASON,children:o})}],481139)},993439,e=>{"use strict";var s=e.i(843476);e.i(207530);var a=e.i(829834),t=e.i(721930),n=e.i(471629),r=e.i(481139),i=e.i(61575);function c({tranches:e,emptyHint:a,registered:t}){return 0===e.length?a?(0,s.jsx)("p",{className:"font-sans text-sm text-muted-foreground/70",children:a}):null:(0,s.jsx)("div",{className:"grid gap-3 sm:grid-cols-2",children:e.map(e=>(0,s.jsx)(r.TrancheCard,{tranche:e,href:(0,i.trancheHref)(e,t),showProjects:!0},e.fileSlug))})}e.s(["TranchesTabs",0,function({active:e,archived:r,forge:i,registeredProjects:l}){let d=new Set(l);return(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(n.ForgeBanners,{forge:i}),(0,s.jsxs)(a.Tabs,{defaultValue:"active",children:[(0,s.jsxs)(a.TabsList,{children:[(0,s.jsxs)(t.TabsTrigger,{value:"active",children:["Active (",e.length,")"]}),(0,s.jsxs)(t.TabsTrigger,{value:"archived",children:["Archived (",r.length,")"]})]}),(0,s.jsx)(a.TabsContent,{value:"active",children:(0,s.jsx)(c,{tranches:e,emptyHint:"ok"===i.active.kind?"No active tranches.":null,registered:d})}),(0,s.jsx)(a.TabsContent,{value:"archived",children:(0,s.jsx)(c,{tranches:r,emptyHint:"No archived tranches yet.",registered:d})})]})]})}])}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,923016,e=>{"use strict";var s=e.i(843476);e.i(799321);var t=e.i(186506),a=e.i(853138),r=e.i(551757),n=e.i(456420);let i=(0,n.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),l=(0,n.default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var c=e.i(583967),d=e.i(271645);function o({data:e}){let{summary:t,checks:n,forgeUnavailable:i,oracleError:l,repo:d}=e;if(l)return(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2",children:[(0,s.jsx)(c.XCircle,{className:"size-4 shrink-0 translate-y-0.5 text-destructive","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-destructive",children:["Oracle error: ",(0,s.jsx)("span",{className:"font-mono",children:l})]})]});let x=n.filter(e=>"fail"===e.status),h=n.filter(e=>"pass"===e.status);return(0,s.jsxs)("div",{className:"space-y-3",children:[i&&(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2",children:[(0,s.jsx)(a.AlertTriangle,{className:"size-4 shrink-0 translate-y-0.5 text-warning","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-warning",children:["Forge unavailable — forge-dependent checks skipped. Set ",(0,s.jsx)("span",{className:"font-mono",children:"GITHUB_TOKEN"})," or run ",(0,s.jsx)("span",{className:"font-mono",children:"gh auth login"}),"."]})]}),0===x.length?(0,s.jsxs)("div",{className:"flex items-center gap-2 rounded-md border border-success/40 bg-success/10 px-3 py-2",children:[(0,s.jsx)(r.CheckCircle2,{className:"size-4 shrink-0 text-success","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-success",children:["All checks pass — ",h.length," passed, 0 failed."]})]}):(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("p",{className:"font-mono text-xs text-muted-foreground",children:[t.passed," passed · ",t.failed," failed · ",t.info," info"]}),x.map(e=>(0,s.jsx)(u,{result:e,repo:d},e.check))]})]})}function u({result:e,repo:t}){return(0,s.jsxs)("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 p-3 space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(c.XCircle,{className:"size-3.5 shrink-0 text-destructive","aria-hidden":!0}),(0,s.jsx)("span",{className:"font-mono text-xs font-semibold text-destructive",children:e.check}),e.note&&(0,s.jsx)("span",{className:"font-sans text-xs text-destructive/80",children:e.note})]}),e.failures.length>0&&(0,s.jsx)("ul",{className:"space-y-1.5 pl-5",children:e.failures.map((e,a)=>{var r;return(0,s.jsxs)("li",{className:"font-sans text-xs text-destructive/90 leading-relaxed",children:[(0,s.jsx)("span",{className:"font-mono text-muted-foreground",children:e.tranche}),e.task?(0,s.jsxs)("span",{className:"font-mono text-muted-foreground",children:[" / ",e.task]}):null,null!=e.issue?(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsxs)("a",{href:(r=e.issue,t?`https://github.com/${t.owner}/${t.repo}/issues/${r}`:`#issue-${r}`),target:"_blank",rel:"noopener noreferrer",className:"font-mono text-destructive underline underline-offset-2 hover:text-destructive/70",children:["#",e.issue]})]}):null," — ",e.reason]},a)})})]})}e.s(["CoherencePanel",0,function(){let[e,a]=(0,d.useState)({kind:"idle"});async function r(){a({kind:"loading"});try{let e=await fetch("/api/coherence"),s=await e.json();a({kind:"done",data:s})}catch{a({kind:"error",msg:"Network error — could not reach /api/coherence."})}}let n="loading"===e.kind;return(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,s.jsxs)(t.Button,{variant:"outline",size:"sm",onClick:r,disabled:n,className:"font-mono text-xs",children:[n?(0,s.jsx)(i,{className:"mr-1.5 size-3.5 animate-spin","aria-hidden":!0}):(0,s.jsx)(l,{className:"mr-1.5 size-3.5","aria-hidden":!0}),n?"Checking…":"Check Coherence"]}),"idle"===e.kind&&(0,s.jsxs)("p",{className:"font-sans text-xs text-muted-foreground",children:["Runs ",(0,s.jsx)("span",{className:"font-mono",children:"@attalabs/aeg-core"}),"'s"," ",(0,s.jsx)("span",{className:"font-mono",children:"verify-coherence.ts"})," against the live forge."]})]}),"error"===e.kind&&(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2",children:[(0,s.jsx)(c.XCircle,{className:"size-4 shrink-0 translate-y-0.5 text-destructive","aria-hidden":!0}),(0,s.jsx)("p",{className:"font-sans text-xs text-destructive",children:e.msg})]}),"done"===e.kind&&(0,s.jsx)(o,{data:e.data})]})}],923016)},29787,e=>{"use strict";var s=e.i(843476);e.s(["TaskTitleCell",0,function({title:e}){return(0,s.jsx)("span",{className:"line-clamp-5 font-sans text-sm text-card-foreground",children:e})}])},114640,e=>{"use strict";var s=e.i(843476);e.i(799321);var t=e.i(829834),a=e.i(721930);e.s(["TrancheTabs",0,function({tasks:e,ledger:r}){return(0,s.jsxs)(t.Tabs,{defaultValue:"tasks",className:"space-y-4",children:[(0,s.jsxs)(t.TabsList,{children:[(0,s.jsx)(a.TabsTrigger,{value:"tasks",children:"Tasks"}),(0,s.jsx)(a.TabsTrigger,{value:"ledger",children:"Token Ledger"})]}),(0,s.jsx)(t.TabsContent,{value:"tasks",className:"space-y-8",children:e}),(0,s.jsx)(t.TabsContent,{value:"ledger",className:"space-y-3",children:r})]})}])},915215,e=>{"use strict";var s=e.i(575360),t=e.i(359607);e.s(["ToastProvider",()=>s.ToastProvider,"useToastContext",()=>t.useToastContext])},441468,e=>{"use strict";var s=e.i(19810),t=e.i(9963);e.s(["Select",()=>t.Select,"SelectContent",()=>s.SelectContent,"SelectGroup",()=>t.SelectGroup,"SelectItem",()=>t.SelectItem,"SelectLabel",()=>t.SelectLabel,"SelectScrollDownButton",()=>t.SelectScrollDownButton,"SelectScrollUpButton",()=>t.SelectScrollUpButton,"SelectSeparator",()=>t.SelectSeparator,"SelectTrigger",()=>t.SelectTrigger,"SelectValue",()=>t.SelectValue])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,923016,e=>{"use strict";var s=e.i(843476);e.i(207530);var t=e.i(186506),a=e.i(853138),r=e.i(551757),n=e.i(456420);let i=(0,n.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),l=(0,n.default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var c=e.i(583967),d=e.i(271645);function o({data:e}){let{summary:t,checks:n,forgeUnavailable:i,oracleError:l,repo:d}=e;if(l)return(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2",children:[(0,s.jsx)(c.XCircle,{className:"size-4 shrink-0 translate-y-0.5 text-destructive","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-destructive",children:["Oracle error: ",(0,s.jsx)("span",{className:"font-mono",children:l})]})]});let x=n.filter(e=>"fail"===e.status),h=n.filter(e=>"pass"===e.status);return(0,s.jsxs)("div",{className:"space-y-3",children:[i&&(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2",children:[(0,s.jsx)(a.AlertTriangle,{className:"size-4 shrink-0 translate-y-0.5 text-warning","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-warning",children:["Forge unavailable — forge-dependent checks skipped. Set ",(0,s.jsx)("span",{className:"font-mono",children:"GITHUB_TOKEN"})," or run ",(0,s.jsx)("span",{className:"font-mono",children:"gh auth login"}),"."]})]}),0===x.length?(0,s.jsxs)("div",{className:"flex items-center gap-2 rounded-md border border-success/40 bg-success/10 px-3 py-2",children:[(0,s.jsx)(r.CheckCircle2,{className:"size-4 shrink-0 text-success","aria-hidden":!0}),(0,s.jsxs)("p",{className:"font-sans text-xs text-success",children:["All checks pass — ",h.length," passed, 0 failed."]})]}):(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("p",{className:"font-mono text-xs text-muted-foreground",children:[t.passed," passed · ",t.failed," failed · ",t.info," info"]}),x.map(e=>(0,s.jsx)(u,{result:e,repo:d},e.check))]})]})}function u({result:e,repo:t}){return(0,s.jsxs)("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 p-3 space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(c.XCircle,{className:"size-3.5 shrink-0 text-destructive","aria-hidden":!0}),(0,s.jsx)("span",{className:"font-mono text-xs font-semibold text-destructive",children:e.check}),e.note&&(0,s.jsx)("span",{className:"font-sans text-xs text-destructive/80",children:e.note})]}),e.failures.length>0&&(0,s.jsx)("ul",{className:"space-y-1.5 pl-5",children:e.failures.map((e,a)=>{var r;return(0,s.jsxs)("li",{className:"font-sans text-xs text-destructive/90 leading-relaxed",children:[(0,s.jsx)("span",{className:"font-mono text-muted-foreground",children:e.tranche}),e.task?(0,s.jsxs)("span",{className:"font-mono text-muted-foreground",children:[" / ",e.task]}):null,null!=e.issue?(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsxs)("a",{href:(r=e.issue,t?`https://github.com/${t.owner}/${t.repo}/issues/${r}`:`#issue-${r}`),target:"_blank",rel:"noopener noreferrer",className:"font-mono text-destructive underline underline-offset-2 hover:text-destructive/70",children:["#",e.issue]})]}):null," — ",e.reason]},a)})})]})}e.s(["CoherencePanel",0,function(){let[e,a]=(0,d.useState)({kind:"idle"});async function r(){a({kind:"loading"});try{let e=await fetch("/api/coherence"),s=await e.json();a({kind:"done",data:s})}catch{a({kind:"error",msg:"Network error — could not reach /api/coherence."})}}let n="loading"===e.kind;return(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,s.jsxs)(t.Button,{variant:"outline",size:"sm",onClick:r,disabled:n,className:"font-mono text-xs",children:[n?(0,s.jsx)(i,{className:"mr-1.5 size-3.5 animate-spin","aria-hidden":!0}):(0,s.jsx)(l,{className:"mr-1.5 size-3.5","aria-hidden":!0}),n?"Checking…":"Check Coherence"]}),"idle"===e.kind&&(0,s.jsxs)("p",{className:"font-sans text-xs text-muted-foreground",children:["Runs ",(0,s.jsx)("span",{className:"font-mono",children:"@attalabs/aeg-core"}),"'s"," ",(0,s.jsx)("span",{className:"font-mono",children:"verify-coherence.ts"})," against the live forge."]})]}),"error"===e.kind&&(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2",children:[(0,s.jsx)(c.XCircle,{className:"size-4 shrink-0 translate-y-0.5 text-destructive","aria-hidden":!0}),(0,s.jsx)("p",{className:"font-sans text-xs text-destructive",children:e.msg})]}),"done"===e.kind&&(0,s.jsx)(o,{data:e.data})]})}],923016)},29787,e=>{"use strict";var s=e.i(843476);e.s(["TaskTitleCell",0,function({title:e}){return(0,s.jsx)("span",{className:"line-clamp-5 font-sans text-sm text-card-foreground",children:e})}])},114640,e=>{"use strict";var s=e.i(843476);e.i(207530);var t=e.i(829834),a=e.i(721930);e.s(["TrancheTabs",0,function({tasks:e,ledger:r}){return(0,s.jsxs)(t.Tabs,{defaultValue:"tasks",className:"space-y-4",children:[(0,s.jsxs)(t.TabsList,{children:[(0,s.jsx)(a.TabsTrigger,{value:"tasks",children:"Tasks"}),(0,s.jsx)(a.TabsTrigger,{value:"ledger",children:"Token Ledger"})]}),(0,s.jsx)(t.TabsContent,{value:"tasks",className:"space-y-8",children:e}),(0,s.jsx)(t.TabsContent,{value:"ledger",className:"space-y-3",children:r})]})}])},915215,e=>{"use strict";var s=e.i(575360),t=e.i(359607);e.s(["ToastProvider",()=>s.ToastProvider,"useToastContext",()=>t.useToastContext])},441468,e=>{"use strict";var s=e.i(19810),t=e.i(9963);e.s(["Select",()=>t.Select,"SelectContent",()=>s.SelectContent,"SelectGroup",()=>t.SelectGroup,"SelectItem",()=>t.SelectItem,"SelectLabel",()=>t.SelectLabel,"SelectScrollDownButton",()=>t.SelectScrollDownButton,"SelectScrollUpButton",()=>t.SelectScrollUpButton,"SelectSeparator",()=>t.SelectSeparator,"SelectTrigger",()=>t.SelectTrigger,"SelectValue",()=>t.SelectValue])}]);