@coreplane/switchboard 1.266.0 → 1.267.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 (41) hide show
  1. package/dist/assets/deploy/cloudflare/worker.ts +7 -1
  2. package/dist/assets/deploy/cloudflare/wrangler.template.jsonc +5 -1
  3. package/dist/assets/deploy/cloudflare-memory/package.json +1 -1
  4. package/dist/assets/deploy/cloudflare-memory/tsconfig.json +1 -1
  5. package/dist/assets/deploy/cloudflare-memory/worker.ts +48 -3
  6. package/dist/assets/deploy/cloudflare-resident/legacyCredentials.ts +43 -0
  7. package/dist/assets/deploy/cloudflare-resident/worker.ts +102 -141
  8. package/dist/assets/package-lock.json +4003 -4040
  9. package/dist/assets/package.json +2 -1
  10. package/dist/assets/source.json +3 -3
  11. package/dist/assets/src/channels/githubDoorPaths.ts +36 -0
  12. package/dist/assets/src/core/coordinator/contract.ts +32 -1
  13. package/dist/assets/src/core/coordinator/driver.ts +19 -3
  14. package/dist/assets/src/core/refusal.ts +1 -0
  15. package/dist/assets/src/core/runEvents.ts +1 -0
  16. package/dist/assets/src/core/runRecord.ts +47 -3
  17. package/dist/assets/src/core/ship/coordinator.ts +80 -36
  18. package/dist/assets/src/core/trace/attrs.ts +3 -0
  19. package/dist/assets/src/execution/residentReadonly.ts +9 -8
  20. package/dist/assets/src/execution/residentSteps.ts +2 -1
  21. package/dist/assets/src/execution/seedPlan.ts +2 -2
  22. package/dist/assets/web/dist/.vite/manifest.json +49 -49
  23. package/dist/assets/web/dist/assets/{HomePage-B2Y-Fa9V.js → HomePage-BfpIrKDX.js} +1 -1
  24. package/dist/assets/web/dist/assets/{PendingTurnRow-DIC86uWA.js → PendingTurnRow-C6hroa00.js} +1 -1
  25. package/dist/assets/web/dist/assets/{PlanePage-CfrbMh8t.js → PlanePage-C2Cb1mkT.js} +1 -1
  26. package/dist/assets/web/dist/assets/{ResidentDetailPage-DRNwx2--.js → ResidentDetailPage-Bd9_Q87l.js} +1 -1
  27. package/dist/assets/web/dist/assets/{ResidentsIndexPage-EHKMtX69.js → ResidentsIndexPage-C8eS7hxp.js} +1 -1
  28. package/dist/assets/web/dist/assets/{RunFoldRow-CAdpX4Gn.js → RunFoldRow-DrfFauYJ.js} +1 -1
  29. package/dist/assets/web/dist/assets/{RunRoutePage-DppLhu79.js → RunRoutePage-B_eXfNAF.js} +3 -3
  30. package/dist/assets/web/dist/assets/{RunsIndexPage-C7hx5O1X.js → RunsIndexPage-BpQu36Dm.js} +1 -1
  31. package/dist/assets/web/dist/assets/{ScheduledPage-Dk2kMnYT.js → ScheduledPage-DGHcjcSt.js} +1 -1
  32. package/dist/assets/web/dist/assets/{SettingsPage-DAf6R383.js → SettingsPage-IfQ71QjN.js} +1 -1
  33. package/dist/assets/web/dist/assets/{SilentTurn-CPED_XCV.js → SilentTurn-D9ON15a8.js} +1 -1
  34. package/dist/assets/web/dist/assets/{StatusDot-IkfsHGXg.js → StatusDot-DyFjGg4V.js} +1 -1
  35. package/dist/assets/web/dist/assets/{Tooltip-CmQVfAl2.js → Tooltip-BvPkV4kZ.js} +1 -1
  36. package/dist/assets/web/dist/assets/{UnitRoutePage-BjfuZVWr.js → UnitRoutePage-BNe3nBIG.js} +1 -1
  37. package/dist/assets/web/dist/assets/{dist-Dg6HTzpQ.js → dist-v3Py3_QR.js} +1 -1
  38. package/dist/assets/web/dist/assets/{main-Bk1L-bNk.js → main-ks3kBojV.js} +2 -2
  39. package/dist/assets/web/dist/assets/{sseReplay-DGRDRLua.js → sseReplay-DuALaBPq.js} +1 -1
  40. package/dist/cli.js +2629 -935
  41. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-B2Y-Fa9V.js","assets/AppShell-DPJVhUGP.js","assets/browser-CCImen5O.js","assets/Tooltip-CmQVfAl2.js","assets/PendingTurnRow-DIC86uWA.js","assets/indexRow-BsWcHHVh.js","assets/budgets-BQgcCyvb.js","assets/format-BldUwl_R.js","assets/sseReplay-DGRDRLua.js","assets/wallClock-x0hjr0J_.js","assets/durationTone-CVpX_yIk.js","assets/eventSource-Cv0AFlMi.js","assets/indexFormat-B-pd4r7Y.js","assets/SilentTurn-CPED_XCV.js","assets/SlackMark-DB0MGiF5.js","assets/RunsIndexPage-C7hx5O1X.js","assets/InputMenu-BRV35UWP.js","assets/RunsTabs-C7Ua3XX5.js","assets/StatusDot-IkfsHGXg.js","assets/ScheduledPage-Dk2kMnYT.js","assets/UnitRoutePage-BjfuZVWr.js","assets/SettingSelect-CEeA4iuC.js","assets/RunFoldRow-CAdpX4Gn.js","assets/NotFoundPage-CDjMfCcj.js","assets/RunRoutePage-DppLhu79.js","assets/RunRoutePage-f6TSNPeW.css","assets/ResidentsIndexPage-EHKMtX69.js","assets/ResidentDetailPage-DRNwx2--.js","assets/CostsPage-8HDgvuWB.js","assets/CostChart-4TeDdbvJ.js","assets/delivery-CTdOqpVK.js","assets/settingsApi-Dm6eaQcu.js","assets/MetricsPage-BQBuIuYU.js","assets/PlanePage-CfrbMh8t.js","assets/DeliveryPage-BUJckSuW.js","assets/SettingsPage-DAf6R383.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-BfpIrKDX.js","assets/AppShell-DPJVhUGP.js","assets/browser-CCImen5O.js","assets/Tooltip-BvPkV4kZ.js","assets/PendingTurnRow-C6hroa00.js","assets/indexRow-BsWcHHVh.js","assets/budgets-BQgcCyvb.js","assets/format-BldUwl_R.js","assets/sseReplay-DuALaBPq.js","assets/wallClock-x0hjr0J_.js","assets/durationTone-CVpX_yIk.js","assets/eventSource-Cv0AFlMi.js","assets/indexFormat-B-pd4r7Y.js","assets/SilentTurn-D9ON15a8.js","assets/SlackMark-DB0MGiF5.js","assets/RunsIndexPage-BpQu36Dm.js","assets/InputMenu-BRV35UWP.js","assets/RunsTabs-C7Ua3XX5.js","assets/StatusDot-DyFjGg4V.js","assets/ScheduledPage-DGHcjcSt.js","assets/UnitRoutePage-BNe3nBIG.js","assets/SettingSelect-CEeA4iuC.js","assets/RunFoldRow-DrfFauYJ.js","assets/NotFoundPage-CDjMfCcj.js","assets/RunRoutePage-B_eXfNAF.js","assets/RunRoutePage-f6TSNPeW.css","assets/ResidentsIndexPage-C8eS7hxp.js","assets/ResidentDetailPage-Bd9_Q87l.js","assets/CostsPage-8HDgvuWB.js","assets/CostChart-4TeDdbvJ.js","assets/delivery-CTdOqpVK.js","assets/settingsApi-Dm6eaQcu.js","assets/MetricsPage-BQBuIuYU.js","assets/PlanePage-C2Cb1mkT.js","assets/DeliveryPage-BUJckSuW.js","assets/SettingsPage-IfQ71QjN.js"])))=>i.map(i=>d[i]);
2
2
  import{An as e,At as t,Bn as n,Br as r,C as i,Cn as a,Cr as o,Ct as s,D as c,Di as l,Dr as u,Dt as d,E as f,Fi as p,G as m,Gn as h,Gr as g,H as _,Hn as v,I as y,Ii as b,J as x,K as S,Kr as C,L as w,Li as T,Lr as E,Lt as D,M as O,Mn as k,Mt as A,N as ee,Nt as te,Oi as ne,Ot as re,Pi as j,R as ie,S as ae,Si as oe,Sn as M,T as se,Tr as ce,V as le,Vr as ue,W as de,Xr as N,Zn as fe,_ as pe,_r as P,a as me,ar as he,at as ge,b as _e,bn as ve,bt as ye,ci as be,ct as xe,dr as Se,et as Ce,gi as we,gt as Te,hi as Ee,hr as De,i as Oe,ir as ke,ji as F,jt as Ae,ki as je,kn as I,kt as Me,l as Ne,ln as L,lr as Pe,mt as Fe,n as Ie,ot as Le,pi as Re,pn as ze,q as Be,r as Ve,rn as He,rr as R,rt as Ue,sr as We,t as Ge,w as Ke,wi as qe,wr as z,x as Je,xi as B,xn as V,y as Ye,yi as Xe,yn as H,yr as U,yt as Ze,z as W}from"./browser-CCImen5O.js";var Qe=!1;function $e(e){if(Qe)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"book-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v16m8.001-2A2 2 0 0 0 22 17V5a2 2 0 0 0-1.999-2L16 3.002A5 5 0 0 0 12 5a5 5 0 0 0-4-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 1.999 2H8a5 5 0 0 1 4 2a5 5 0 0 1 4-2z\\"/>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"circle-dollar-sign":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8m4 2V6\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"columns-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 3v18\\"/></g>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"corner-down-right":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m15 10l5 5l-5 5\\"/><path d=\\"M4 4v7a4 4 0 0 0 4 4h12\\"/></g>"},"database":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><ellipse cx=\\"12\\" cy=\\"5\\" rx=\\"9\\" ry=\\"3\\"/><path d=\\"M3 5v14a9 3 0 0 0 18 0V5\\"/><path d=\\"M3 12a9 3 0 0 0 18 0\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"ellipsis-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"12\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"12\\" cy=\\"19\\" r=\\"1\\"/></g>"},"external-link":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\\"/>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\"/></g>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"git-compare":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"18\\" cy=\\"18\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"6\\" r=\\"3\\"/><path d=\\"M13 6h3a2 2 0 0 1 2 2v7m-7 3H8a2 2 0 0 1-2-2V9\\"/></g>"},"git-merge":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"18\\" cy=\\"18\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"6\\" r=\\"3\\"/><path d=\\"M6 21V9a9 9 0 0 0 9 9\\"/></g>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hammer":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m15 12l-9.373 9.373a1 1 0 0 1-3.001-3L12 9m6 6l4-4\\"/><path d=\\"m21.5 11.5l-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"link":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\"/><path d=\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\"/></g>"},"list":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"log-out":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\"/>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092a10 10 0 1 0-4.777-4.719\\"/>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"messages-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1\\"/>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"octagon-pause":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 15V9m4 6V9M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z\\"/>"},"octagon-x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 9l-6 6m-6.414 1.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586zM9 9l6 6\\"/>"},"panel-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"radar":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19.07 4.93A10 10 0 0 0 6.99 3.34M4 6h.01M2.29 9.62a10 10 0 1 0 19.02-1.27\\"/><path d=\\"M16.24 7.76a6 6 0 1 0-8.01 8.91M12 18h.01m5.98-6.34a6 6 0 0 1-2.22 5.01\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/><path d=\\"m13.41 10.59l5.66-5.66\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"rows-3":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M21 9H3m18 6H3\\"/></g>"},"scissors":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"6\\" cy=\\"6\\" r=\\"3\\"/><path d=\\"M8.12 8.12L12 12m8-8L8.12 15.88\\"/><circle cx=\\"6\\" cy=\\"18\\" r=\\"3\\"/><path d=\\"M14.8 14.8L20 20\\"/></g>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"server":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"14\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M6 6h.01M6 18h.01\\"/></g>"},"settings":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M9.671 4.136a2.34 2.34 0 0 1 4.659 0a2.34 2.34 0 0 0 3.319 1.915a2.34 2.34 0 0 1 2.33 4.033a2.34 2.34 0 0 0 0 3.831a2.34 2.34 0 0 1-2.33 4.033a2.34 2.34 0 0 0-3.319 1.915a2.34 2.34 0 0 1-4.659 0a2.34 2.34 0 0 0-3.32-1.915a2.34 2.34 0 0 1-2.33-4.033a2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"shield-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><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\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"trending-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 7h6v6\\"/><path d=\\"m22 7l-8.5 8.5l-5-5L2 17\\"/></g>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"}}},{"prefix":"simple-icons","icons":{"c":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M16.592 9.196s-.354-3.298-3.627-3.39c-3.274-.09-4.955 2.474-4.955 6.14s1.858 6.597 5.045 6.597c3.184 0 3.538-3.665 3.538-3.665l6.104.365s.36 3.31-2.196 5.836c-2.552 2.524-5.69 2.937-7.876 2.92c-2.19-.016-5.226.035-8.16-2.97c-2.938-3.01-3.436-5.93-3.436-8.8s.556-6.67 4.047-9.55C7.444.72 9.849 0 12.254 0c10.042 0 10.717 9.26 10.717 9.26z\\"/>"},"cplusplus":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M22.394 6c-.167-.29-.398-.543-.652-.69L12.926.22c-.509-.294-1.34-.294-1.848 0L2.26 5.31c-.508.293-.923 1.013-.923 1.6v10.18c0 .294.104.62.271.91s.398.543.652.69l8.816 5.09c.508.293 1.34.293 1.848 0l8.816-5.09c.254-.147.485-.4.652-.69s.27-.616.27-.91V6.91c.003-.294-.1-.62-.268-.91M12 19.11c-3.92 0-7.109-3.19-7.109-7.11s3.19-7.11 7.11-7.11a7.13 7.13 0 0 1 6.156 3.553l-3.076 1.78a3.57 3.57 0 0 0-3.08-1.78A3.56 3.56 0 0 0 8.444 12A3.56 3.56 0 0 0 12 15.555a3.57 3.57 0 0 0 3.08-1.778l3.078 1.78A7.14 7.14 0 0 1 12 19.11m7.11-6.715h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79zm2.962 0h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79z\\"/>"},"csharp":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M1.194 7.543v8.913c0 1.103.588 2.122 1.544 2.674l7.718 4.456a3.09 3.09 0 0 0 3.088 0l7.718-4.456a3.09 3.09 0 0 0 1.544-2.674V7.543a3.08 3.08 0 0 0-1.544-2.673L13.544.414a3.09 3.09 0 0 0-3.088 0L2.738 4.87a3.09 3.09 0 0 0-1.544 2.673m5.403 2.914v3.087a.77.77 0 0 0 .772.772a.773.773 0 0 0 .772-.772a.773.773 0 0 1 1.317-.546a.78.78 0 0 1 .226.546a2.314 2.314 0 1 1-4.631 0v-3.087c0-.615.244-1.203.679-1.637a2.31 2.31 0 0 1 3.274 0c.434.434.678 1.023.678 1.637a.77.77 0 0 1-.226.545a.767.767 0 0 1-1.091 0a.77.77 0 0 1-.226-.545a.77.77 0 0 0-.772-.772a.77.77 0 0 0-.772.772m12.35 3.087a.77.77 0 0 1-.772.772h-.772v.772a.773.773 0 0 1-1.544 0v-.772h-1.544v.772a.773.773 0 0 1-1.317.546a.78.78 0 0 1-.226-.546v-.772H12a.771.771 0 1 1 0-1.544h.772v-1.543H12a.77.77 0 1 1 0-1.544h.772v-.772a.773.773 0 0 1 1.317-.546a.78.78 0 0 1 .226.546v.772h1.544v-.772a.773.773 0 0 1 1.544 0v.772h.772a.772.772 0 0 1 0 1.544h-.772v1.543h.772a.776.776 0 0 1 .772.772m-3.088-2.315h-1.544v1.543h1.544z\\"/>","hidden":true},"css":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M0 0v20.16A3.84 3.84 0 0 0 3.84 24h16.32A3.84 3.84 0 0 0 24 20.16V3.84A3.84 3.84 0 0 0 20.16 0Zm14.256 13.08c1.56 0 2.28 1.08 2.304 2.64h-1.608c.024-.288-.048-.6-.144-.84c-.096-.192-.288-.264-.552-.264c-.456 0-.696.264-.696.84c-.024.576.288.888.768 1.08c.72.288 1.608.744 1.92 1.296q.432.648.432 1.656c0 1.608-.912 2.592-2.496 2.592c-1.656 0-2.4-1.032-2.424-2.688h1.68c0 .792.264 1.176.792 1.176c.264 0 .456-.072.552-.24c.192-.312.24-1.176-.048-1.512c-.312-.408-.912-.6-1.32-.816q-.828-.396-1.224-.936c-.24-.36-.36-.888-.36-1.536c0-1.44.936-2.472 2.424-2.448m5.4 0c1.584 0 2.304 1.08 2.328 2.64h-1.608c0-.288-.048-.6-.168-.84c-.096-.192-.264-.264-.528-.264c-.48 0-.72.264-.72.84s.288.888.792 1.08c.696.288 1.608.744 1.92 1.296c.264.432.408.984.408 1.656c.024 1.608-.888 2.592-2.472 2.592c-1.68 0-2.424-1.056-2.448-2.688h1.68c0 .744.264 1.176.792 1.176c.264 0 .456-.072.552-.24c.216-.312.264-1.176-.048-1.512c-.288-.408-.888-.6-1.32-.816c-.552-.264-.96-.576-1.2-.936s-.36-.888-.36-1.536c-.024-1.44.912-2.472 2.4-2.448m-11.031.018c.711-.006 1.419.198 1.839.63c.432.432.672 1.128.648 1.992H9.336c.024-.456-.096-.792-.432-.96c-.312-.144-.768-.048-.888.24c-.12.264-.192.576-.168.864v3.504c0 .744.264 1.128.768 1.128a.65.65 0 0 0 .552-.264c.168-.24.192-.552.168-.84h1.776c.096 1.632-.984 2.712-2.568 2.688c-1.536 0-2.496-.864-2.472-2.472v-4.032c0-.816.24-1.44.696-1.848c.432-.408 1.146-.624 1.857-.63\\"/>"},"docker":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M13.983 11.078h2.119a.186.186 0 0 0 .186-.185V9.006a.186.186 0 0 0-.186-.186h-2.119a.185.185 0 0 0-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 0 0 .186-.186V3.574a.186.186 0 0 0-.186-.185h-2.118a.185.185 0 0 0-.185.185v1.888c0 .102.082.185.185.185m0 2.716h2.118a.187.187 0 0 0 .186-.186V6.29a.186.186 0 0 0-.186-.185h-2.118a.185.185 0 0 0-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 0 0 .184-.186V6.29a.185.185 0 0 0-.185-.185H8.1a.185.185 0 0 0-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 0 0 .185-.186V6.29a.185.185 0 0 0-.185-.185H5.136a.186.186 0 0 0-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 0 0 .186-.185V9.006a.186.186 0 0 0-.186-.186h-2.118a.185.185 0 0 0-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 0 0 .184-.185V9.006a.185.185 0 0 0-.184-.186h-2.12a.185.185 0 0 0-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 0 0 .185-.185V9.006a.185.185 0 0 0-.184-.186h-2.12a.186.186 0 0 0-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 0 0 .184-.185V9.006a.185.185 0 0 0-.184-.186h-2.12a.185.185 0 0 0-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51q-.508.001-1.01.087c-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199l-.226.327c-.284.438-.49.922-.612 1.43c-.23.97-.09 1.882.403 2.661c-.595.332-1.55.413-1.744.42H.751a.75.75 0 0 0-.75.748a11.4 11.4 0 0 0 .692 4.062c.545 1.428 1.355 2.48 2.41 3.124c1.18.723 3.1 1.137 5.275 1.137a15.7 15.7 0 0 0 2.93-.266a12.3 12.3 0 0 0 3.823-1.389a10.5 10.5 0 0 0 2.61-2.136c1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009c.309-.293.55-.65.707-1.046l.098-.288Z\\"/>"},"elixir":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M19.793 16.575c0 3.752-2.927 7.426-7.743 7.426c-5.249 0-7.843-3.71-7.843-8.29c0-5.21 3.892-12.952 8-15.647a.397.397 0 0 1 .61.371a9.72 9.72 0 0 0 1.694 6.518c.522.795 1.092 1.478 1.763 2.352c.94 1.227 1.637 1.906 2.644 3.842l.015.028a7.1 7.1 0 0 1 .86 3.4\\"/>"},"git":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M13.09 23.549a1.54 1.54 0 0 1-2.18 0L.451 13.089a1.54 1.54 0 0 1 0-2.179l7.191-7.19l2.733 2.733a1.85 1.85 0 0 0 .964 2.326v6.66a1.849 1.849 0 1 0 1.54 0V8.957l2.508 2.508a1.85 1.85 0 1 0 1.09-1.09l-2.634-2.634a1.85 1.85 0 0 0-2.378-2.377L8.73 2.63L10.91.451a1.54 1.54 0 0 1 2.179 0l10.459 10.46a1.54 1.54 0 0 1 0 2.179z\\"/>"},"github":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\\"/>"},"gnubash":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M21.038 4.9L13.461.402a2.86 2.86 0 0 0-2.923.001L2.961 4.9A3.02 3.02 0 0 0 1.5 7.503v8.995c0 1.073.557 2.066 1.462 2.603l7.577 4.497a2.86 2.86 0 0 0 2.922 0l7.577-4.497a3.02 3.02 0 0 0 1.462-2.603V7.503A3.02 3.02 0 0 0 21.038 4.9M15.17 18.946l.013.646c.001.078-.05.167-.111.198l-.383.22c-.061.031-.111-.007-.112-.085l-.007-.635c-.328.136-.66.169-.872.084c-.04-.016-.057-.075-.041-.142l.139-.584a.24.24 0 0 1 .069-.121a.2.2 0 0 1 .036-.026q.033-.017.062-.006c.229.077.521.041.802-.101c.357-.181.596-.545.592-.907c-.003-.328-.181-.465-.613-.468c-.55.001-1.064-.107-1.072-.917c-.007-.667.34-1.361.889-1.8l-.007-.652c-.001-.08.048-.168.111-.2l.37-.236c.061-.031.111.007.112.087l.006.653c.273-.109.511-.138.726-.088c.047.012.067.076.048.151l-.144.578a.26.26 0 0 1-.065.116a.2.2 0 0 1-.038.028a.1.1 0 0 1-.057.009c-.098-.022-.332-.073-.699.113c-.385.195-.52.53-.517.778c.003.297.155.387.681.396c.7.012 1.003.318 1.01 1.023c.007.689-.362 1.433-.928 1.888m3.973-1.087c0 .06-.008.116-.058.145l-1.916 1.164c-.05.029-.09.004-.09-.056v-.494c0-.06.037-.093.087-.122l1.887-1.129c.05-.029.09-.004.09.056zm1.316-11.062l-7.168 4.427c-.894.523-1.553 1.109-1.553 2.187v8.833c0 .645.26 1.063.66 1.184a2.3 2.3 0 0 1-.398.039c-.42 0-.833-.114-1.197-.33L3.226 18.64a2.5 2.5 0 0 1-1.201-2.142V7.503c0-.881.46-1.702 1.201-2.142L10.803.863a2.34 2.34 0 0 1 2.394 0l7.577 4.498a2.48 2.48 0 0 1 1.164 1.732c-.252-.536-.818-.682-1.479-.296\\"/>"},"go":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514c-.176.046-.187.058-.34-.117c-.174-.199-.303-.327-.548-.444c-.737-.362-1.45-.257-2.115.175c-.795.514-1.204 1.274-1.192 2.22c.011.935.654 1.706 1.577 1.835c.795.105 1.46-.175 1.987-.77c.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35c.152-.362.432-.97.596-1.274a.32.32 0 0 1 .292-.187h4.253c-.023.316-.023.631-.07.947a5 5 0 0 1-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986c-1.145.152-2.209-.07-3.143-.77c-.865-.655-1.356-1.52-1.484-2.595c-.152-1.274.222-2.419.993-3.424c.83-1.086 1.928-1.776 3.272-2.02c1.098-.2 2.15-.07 3.096.571c.62.41 1.063.97 1.356 1.648c.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.67 3.67 0 0 1-1.262-2.255c-.21-1.32.152-2.489.947-3.529c.853-1.122 1.881-1.706 3.272-1.95c1.192-.21 2.314-.095 3.33.595c.923.63 1.496 1.484 1.648 2.605c.198 1.578-.257 2.863-1.344 3.962c-.771.783-1.718 1.273-2.805 1.495c-.315.06-.63.07-.934.106m2.78-4.72c-.011-.153-.011-.27-.034-.387c-.21-1.157-1.274-1.81-2.384-1.554c-1.087.245-1.788.935-2.045 2.033c-.21.912.234 1.835 1.075 2.21c.643.28 1.285.244 1.905-.07c.923-.48 1.425-1.228 1.484-2.233z\\"/>"},"html5":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75l-.232-2.718l10.059.003l.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426l-2.91.804l-2.955-.81l-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443l.744-8.157z\\"/>"},"javascript":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873c-.736-.345-1.554-.585-1.797-1.14c-.091-.33-.105-.51-.046-.705c.15-.646.915-.84 1.515-.66c.39.12.75.42.976.9c1.034-.676 1.034-.676 1.755-1.125c-.27-.42-.404-.601-.586-.78c-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005c-1.14 1.291-.811 3.541.569 4.471c1.365 1.02 3.361 1.244 3.616 2.205c.24 1.17-.87 1.545-1.966 1.41c-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109c1.74 1.756 6.09 1.666 6.871-1.004c.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805c0 1.232.063 2.363-.138 2.711c-.33.689-1.18.601-1.566.48c-.396-.196-.597-.466-.83-.855c-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517c.855.51 2.004.675 3.207.405c.783-.226 1.458-.691 1.811-1.411c.51-.93.402-2.07.397-3.346c.012-2.054 0-4.109 0-6.179z\\"/>"},"json":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M12.043 23.968c.479-.004.953-.029 1.426-.094a11.8 11.8 0 0 0 3.146-.863a12.4 12.4 0 0 0 3.793-2.542a12 12 0 0 0 2.44-3.427a11.8 11.8 0 0 0 1.02-3.476c.149-1.16.135-2.346-.045-3.499a12 12 0 0 0-.793-2.788a11 11 0 0 0-.854-1.617c-1.168-1.837-2.861-3.314-4.81-4.3a13 13 0 0 0-2.172-.87h-.005c.119.063.24.132.345.201c.12.074.239.146.351.225a9 9 0 0 1 1.559 1.33c1.063 1.145 1.797 2.548 2.218 4.041c.284.982.434 1.998.495 3.017c.044.743.044 1.491-.047 2.229c-.149 1.27-.554 2.51-1.228 3.596a7.5 7.5 0 0 1-1.903 2.084c-1.244.928-2.877 1.482-4.436 1.114a4 4 0 0 1-.748-.258a4.7 4.7 0 0 1-.779-.45a6 6 0 0 1-1.244-1.105a6.5 6.5 0 0 1-1.049-1.747a7.4 7.4 0 0 1-.494-2.54c-.03-1.273.225-2.553.854-3.67a6.4 6.4 0 0 1 1.663-1.918c.225-.178.464-.333.704-.479l.016-.007a5.1 5.1 0 0 0-1.441-.12a5 5 0 0 0-1.228.24c-.359.12-.704.27-1.019.45a6 6 0 0 0-.733.494c-.211.18-.42.36-.615.555c-1.123 1.153-1.768 2.682-2.022 4.256c-.15.973-.15 1.96-.091 2.95c.105 1.395.391 2.787.945 4.062a8.5 8.5 0 0 0 1.348 2.173a8.14 8.14 0 0 0 3.132 2.23a8 8 0 0 0 2.113.54c.074.015.149.015.209.015zm-2.934-.398a4 4 0 0 1-.45-.228a8.5 8.5 0 0 1-2.038-1.534c-1.094-1.137-1.827-2.566-2.247-4.08a15.2 15.2 0 0 1-.495-3.172a12 12 0 0 1 .046-2.082c.135-1.257.495-2.501 1.124-3.58a6.9 6.9 0 0 1 1.783-2.053a6.2 6.2 0 0 1 1.633-.9a5.36 5.36 0 0 1 3.522-.045c.029 0 .029 0 .045.03c.015.015.045.015.06.03c.045.016.104.045.165.074c.239.12.479.271.704.42a6.3 6.3 0 0 1 2.097 2.502c.42.914.615 1.934.631 2.938c.014 1.079-.18 2.157-.645 3.146a6.4 6.4 0 0 1-2.638 2.832c.09.03.18.045.271.075c.225.044.449.074.688.074c1.468.045 2.892-.66 3.94-1.647q.293-.27.54-.585c.225-.27.435-.54.614-.823c.239-.375.435-.75.614-1.154a8 8 0 0 0 .509-1.664c.196-1.004.211-2.022.149-3.026c-.135-2.022-.673-4.045-1.842-5.724a9 9 0 0 0-.555-.719a10 10 0 0 0-1.063-1.034a8.5 8.5 0 0 0-1.363-.915a10 10 0 0 0-1.692-.598l-.3-.06c-.209-.03-.42-.044-.634-.06a9 9 0 0 0-1.015.016c-.704.045-1.412.16-2.112.337C5.799 1.227 2.863 3.566 1.3 6.67A11.8 11.8 0 0 0 .238 9.801a11.8 11.8 0 0 0-.104 3.775c.12 1.02.374 2.023.778 2.977c.227.57.511 1.124.825 1.648c1.094 1.783 2.683 3.236 4.51 4.24c.688.39 1.408.69 2.157.944c.226.074.45.15.689.21z\\"/>"},"kotlin":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M24 24H0V0h24L12 12Z\\"/>"},"less":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M3.598 7.15a8 8 0 0 0-1.054.068q-.421.062-.717.249a1.2 1.2 0 0 0-.45.497c-.098.208-.14.47-.14.802V10.3c0 .428-.084.732-.253.884c-.169.166-.492.25-.984.25v1.16c.478 0 .815.083.984.249q.253.249.253.912v1.548c0 .594.183 1.009.548 1.23c.38.207.984.318 1.813.318v-1.078c-.393 0-.646-.07-.773-.194c-.126-.124-.183-.373-.183-.746v-1.465c0-.373-.098-.663-.28-.87c-.184-.208-.479-.374-.886-.484c.393-.125.688-.29.871-.512c.183-.22.281-.511.281-.87V9.167c0-.36.057-.608.183-.733c.122-.12.412-.195.787-.2v4.547q0 .624.09 1.044q.089.419.314.724q.226.304.616.443q.39.14.984.14q.147 0 .32-.02a5 5 0 0 0 .65-.107l-.036-.98q-.405.057-.667.057q-.529 0-.713-.276q-.183-.275-.183-1.051V7.149H3.598zm16.818-.001v1.092c.393 0 .647.069.773.193c.127.125.183.373.183.733v1.465c0 .359.098.65.28.87c.184.222.479.387.872.512c-.407.11-.702.276-.885.483c-.183.208-.281.498-.281.871v1.465c0 .373-.057.622-.183.746c-.126.125-.38.194-.773.194v1.078c.83 0 1.434-.11 1.813-.318c.365-.221.548-.636.548-1.23v-1.548q0-.663.253-.912c.169-.166.506-.249.984-.249v-1.16c-.492 0-.815-.084-.984-.25c-.168-.151-.253-.456-.253-.884V8.766c0-.332-.042-.594-.14-.801a1.2 1.2 0 0 0-.45-.498a1.8 1.8 0 0 0-.717-.249a7 7 0 0 0-1.04-.069m-6.479 1.975c-.675 0-1.209.14-1.588.421c-.38.281-.576.689-.576 1.209c0 .422.112.773.351 1.026s.618.478 1.152.688c.043.015.14.057.296.113c.45.183.758.31.913.436a.6.6 0 0 1 .239.478q0 .336-.253.506q-.254.168-.717.168c-.295 0-.632-.056-.984-.155a4 4 0 0 1-.885-.337l-.14 1.04c.505.296 1.18.436 2.037.436c.717 0 1.265-.155 1.659-.464c.393-.309.59-.759.59-1.335q0-.654-.38-1.054c-.252-.267-.632-.492-1.166-.689c-.382-.15-.84-.277-1.209-.506a.47.47 0 0 1-.224-.421c0-.183.084-.324.239-.422s.365-.14.646-.14c.506 0 1.026.126 1.574.379l.365-.956q-.843-.42-1.939-.421m4.512 0c-.675 0-1.21.14-1.589.421c-.38.281-.576.689-.576 1.209c0 .422.112.773.351 1.026c.24.253.619.478 1.153.688c.042.015.14.057.295.113c.45.183.759.31.914.436a.6.6 0 0 1 .238.478q0 .336-.253.506q-.252.168-.716.168a3.7 3.7 0 0 1-.984-.155a4 4 0 0 1-.886-.337l-.14 1.04c.506.296 1.18.436 2.038.436q1.054 0 1.686-.464c.394-.309.59-.759.59-1.335q0-.654-.379-1.054c-.379-.4-.632-.492-1.166-.689c-.392-.153-.842-.277-1.209-.506a.47.47 0 0 1-.225-.421c0-.183.085-.324.24-.422s.364-.14.646-.14c.506 0 1.026.126 1.574.379l.337-.956q-.843-.42-1.94-.421zm-9.46.014c-.842 0-1.503.267-1.995.815s-.73 1.279-.73 2.192c0 .956.252 1.687.772 2.22c.52.535 1.237.802 2.165.802c.8 0 1.49-.183 2.08-.52l-.197-.984a3.66 3.66 0 0 1-1.813.492c-.492 0-.886-.155-1.167-.45c-.28-.295-.435-.716-.45-1.25h3.852v-.591c0-.829-.225-1.49-.661-1.982c-.45-.491-1.054-.744-1.855-.744zm-.013.983q.57 0 .885.38c.211.253.323.618.323 1.082H7.67c.042-.492.182-.857.407-1.096c.253-.239.548-.366.9-.366Z\\"/>"},"markdown":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M22.27 19.385H1.73A1.73 1.73 0 0 1 0 17.655V6.345a1.73 1.73 0 0 1 1.73-1.73h20.54A1.73 1.73 0 0 1 24 6.345v11.308a1.73 1.73 0 0 1-1.73 1.731zM5.769 15.923v-4.5l2.308 2.885l2.307-2.885v4.5h2.308V8.078h-2.308l-2.307 2.885l-2.308-2.885H3.46v7.847zM21.232 12h-2.309V8.077h-2.307V12h-2.308l3.461 4.039z\\"/>"},"mdx":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M.79 7.12h22.42c.436 0 .79.355.79.792v8.176a.79.79 0 0 1-.79.79H.79a.79.79 0 0 1-.79-.79V7.912a.79.79 0 0 1 .79-.791zm2.507 7.605v-3.122l1.89 1.89L7.12 11.56v3.122h1.055v-5.67l-2.99 2.99L2.24 9.056v5.67h1.055v-.001Zm8.44-1.845l-1.474-1.473l-.746.746l2.747 2.747l2.745-2.747l-.746-.746l-1.473 1.473v-4h-1.054v4Zm10.041.987l-2.175-2.175l2.22-2.22l-.746-.746l-2.22 2.22l-2.22-2.22l-.747.746l2.22 2.22l-2.176 2.177l.746.746l2.177-2.177l2.176 2.175z\\"/>"},"openjdk":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M11.915 0L11.7.215C9.515 2.4 7.47 6.39 6.046 10.483c-1.064 1.024-3.633 2.81-3.711 3.551c-.093.87 1.746 2.611 1.55 3.235c-.198.625-1.304 1.408-1.014 1.939c.1.188.823.011 1.277-.491a13.4 13.4 0 0 0-.017 2.14c.076.906.27 1.668.643 2.232c.372.563.956.911 1.667.911c.397 0 .727-.114 1.024-.264c.298-.149.571-.33.91-.5c.68-.34 1.634-.666 3.53-.604c1.903.062 2.872.39 3.559.704s1.15.664 1.925.664c.767 0 1.395-.336 1.807-.9c.412-.563.631-1.33.72-2.24c.06-.623.055-1.32 0-2.066c.454.45 1.117.604 1.213.424c.29-.53-.816-1.314-1.013-1.937c-.198-.624 1.642-2.366 1.549-3.236c-.08-.748-2.707-2.568-3.748-3.586C16.428 6.374 14.308 2.394 12.13.215zm.175 6.038a2.95 2.95 0 0 1 2.943 2.942a2.95 2.95 0 0 1-2.943 2.943A2.95 2.95 0 0 1 9.148 8.98a2.95 2.95 0 0 1 2.942-2.942M8.685 7.983a3.5 3.5 0 0 0-.145.997c0 1.951 1.6 3.55 3.55 3.55s3.55-1.598 3.55-3.55q-.002-.495-.132-.951q.502.143.915.336a43 43 0 0 1 2.042 5.829c.678 2.545 1.01 4.92.846 6.607c-.082.844-.29 1.51-.606 1.94c-.315.431-.713.651-1.315.651c-.593 0-.932-.27-1.673-.61c-.741-.338-1.825-.694-3.792-.758c-1.974-.064-3.073.293-3.821.669c-.375.188-.659.373-.911.5s-.466.2-.752.2c-.53 0-.876-.209-1.16-.64c-.285-.43-.474-1.101-.545-1.948c-.141-1.693.176-4.069.823-6.614a43 43 0 0 1 1.934-5.783c.348-.167.749-.31 1.192-.425m-3.382 4.362a.2.2 0 0 1 .13.031c-.166.56-.323 1.116-.463 1.665a34 34 0 0 0-.547 2.555a4 4 0 0 0-.2-.39c-.58-1.012-.914-1.642-1.16-2.08c.315-.24 1.679-1.755 2.24-1.781m13.394.01c.562.027 1.926 1.543 2.24 1.783c-.246.438-.58 1.068-1.16 2.08a4 4 0 0 0-.163.309a32 32 0 0 0-.562-2.49a41 41 0 0 0-.482-1.652a.2.2 0 0 1 .127-.03\\"/>"},"php":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314q.408-.315.55-1.049q.137-.705-.124-.995q-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628q.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715l.543-2.799q.094-.478-.068-.651q-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628q.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314q.407-.315.551-1.049q.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29\\"/>"},"python":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"m14.25.18l.9.2l.73.26l.59.3l.45.32l.34.34l.25.34l.16.33l.1.3l.04.26l.02.2l-.01.13V8.5l-.05.63l-.13.55l-.21.46l-.26.38l-.3.31l-.33.25l-.35.19l-.35.14l-.33.1l-.3.07l-.26.04l-.21.02H8.77l-.69.05l-.59.14l-.5.22l-.41.27l-.33.32l-.27.35l-.2.36l-.15.37l-.1.35l-.07.32l-.04.27l-.02.21v3.06H3.17l-.21-.03l-.28-.07l-.32-.12l-.35-.18l-.36-.26l-.36-.36l-.35-.46l-.32-.59l-.28-.73l-.21-.88l-.14-1.05l-.05-1.23l.06-1.22l.16-1.04l.24-.87l.32-.71l.36-.57l.4-.44l.42-.33l.42-.24l.4-.16l.36-.1l.32-.05l.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75l-.02-.37l.05-.34l.11-.31l.17-.28l.25-.26l.31-.23l.38-.2l.44-.18l.51-.15l.58-.12l.64-.1l.71-.06l.77-.04l.84-.02l1.27.05zm-6.3 1.98l-.23.33l-.08.41l.08.41l.23.34l.33.22l.41.09l.41-.09l.33-.22l.23-.34l.08-.41l-.08-.41l-.23-.33l-.33-.22l-.41-.09l-.41.09zm13.09 3.95l.28.06l.32.12l.35.18l.36.27l.36.35l.35.47l.32.59l.28.73l.21.88l.14 1.04l.05 1.23l-.06 1.23l-.16 1.04l-.24.86l-.32.71l-.36.57l-.4.45l-.42.33l-.42.24l-.4.16l-.36.09l-.32.05l-.24.02l-.16-.01h-8.22v.82h5.84l.01 2.76l.02.36l-.05.34l-.11.31l-.17.29l-.25.25l-.31.24l-.38.2l-.44.17l-.51.15l-.58.13l-.64.09l-.71.07l-.77.04l-.84.01l-1.27-.04l-1.07-.14l-.9-.2l-.73-.25l-.59-.3l-.45-.33l-.34-.34l-.25-.34l-.16-.33l-.1-.3l-.04-.25l-.02-.2l.01-.13v-5.34l.05-.64l.13-.54l.21-.46l.26-.38l.3-.32l.33-.24l.35-.2l.35-.14l.33-.1l.3-.06l.26-.04l.21-.02l.13-.01h5.84l.69-.05l.59-.14l.5-.21l.41-.28l.33-.32l.27-.35l.2-.36l.15-.36l.1-.35l.07-.32l.04-.28l.02-.21V6.07h2.09l.14.01zm-6.47 14.25l-.23.33l-.08.41l.08.41l.23.33l.33.23l.41.08l.41-.08l.33-.23l.23-.33l.08-.41l-.08-.41l-.23-.33l-.33-.23l-.41-.08l-.41.08z\\"/>"},"react":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236a2.236 2.236 0 0 1-2.236-2.236a2.236 2.236 0 0 1 2.235-2.236a2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622c-1.78-1.653-3.542-2.602-4.887-2.602c-.41 0-.783.093-1.106.278c-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03c-.704 3.113-.39 5.588.988 6.38c.32.187.69.275 1.102.275c1.345 0 3.107-.96 4.888-2.624c1.78 1.654 3.542 2.603 4.887 2.603c.41 0 .783-.09 1.106-.275c1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032c.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127c.666.382.955 1.835.73 3.704c-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28c-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538a15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707c.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86q.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95c-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005a27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947c.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476c-.005.768-1.125 1.74-2.857 2.475c-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5c-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948c-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423c.23 1.868-.054 3.32-.714 3.708c-.147.09-.338.128-.563.128c-1.012 0-2.514-.807-4.11-2.28c.686-.72 1.37-1.536 2.02-2.44c1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532c.66.905 1.345 1.727 2.035 2.446c-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703c.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034q.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565\\"/>"},"ruby":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822L22.635 22.71L4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3l2.819 6.586l.503 1.172l2.805-9.144l-.03.007l.016-.03l9.255 2.956l-1.396-5.431l-.99-3.9l8.82-.569l-.615-.51L16.5 2.114L20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84c1.762 1.777-.105 6.105-3.673 9.636c-3.563 3.532-8.103 5.734-9.864 3.957c-1.766-1.777.045-6.217 3.612-9.75z\\"/>"},"rust":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"m23.835 11.703l-1.008-.623l-.028-.294l.866-.807a.348.348 0 0 0-.116-.578l-1.106-.414a9 9 0 0 0-.087-.285l.69-.96a.346.346 0 0 0-.226-.544l-1.166-.19a9 9 0 0 0-.14-.261l.49-1.076a.34.34 0 0 0-.028-.336a.35.35 0 0 0-.3-.154l-1.185.041a7 7 0 0 0-.188-.227l.273-1.153a.347.347 0 0 0-.417-.417l-1.153.273l-.228-.188l.041-1.184a.344.344 0 0 0-.49-.328l-1.076.49l-.262-.14l-.19-1.167a.348.348 0 0 0-.545-.226l-.96.69a9 9 0 0 0-.285-.086L14.597.453a.348.348 0 0 0-.578-.116l-.807.867a9 9 0 0 0-.294-.028L12.295.168a.346.346 0 0 0-.59 0l-.623 1.008l-.294.028L9.98.337a.346.346 0 0 0-.578.116l-.414 1.106l-.285.086l-.959-.69a.348.348 0 0 0-.545.226l-.19 1.167a9 9 0 0 0-.262.14l-1.076-.49a.346.346 0 0 0-.49.328l.041 1.184a8 8 0 0 0-.228.187l-1.153-.272a.347.347 0 0 0-.417.417l.271 1.153l-.186.227l-1.184-.042a.346.346 0 0 0-.328.49l.49 1.077a9 9 0 0 0-.14.262l-1.166.19a.348.348 0 0 0-.226.544l.69.958l-.087.286l-1.106.414a.348.348 0 0 0-.116.578l.866.807a9 9 0 0 0-.028.294l-1.008.623a.344.344 0 0 0 0 .59l1.008.623q.012.147.028.294l-.866.807a.346.346 0 0 0 .116.578l1.106.415q.042.144.087.285l-.69.959a.345.345 0 0 0 .227.544l1.166.19q.069.132.14.262l-.49 1.076a.346.346 0 0 0 .328.49l1.183-.041q.093.115.187.227l-.27 1.154a.346.346 0 0 0 .416.417l1.153-.272q.113.096.228.187l-.041 1.184a.344.344 0 0 0 .49.327l1.076-.49q.13.073.262.14l.19 1.167a.348.348 0 0 0 .545.227l.959-.69a9 9 0 0 0 .285.086l.414 1.107a.345.345 0 0 0 .578.115l.808-.865l.294.03l.623 1.006a.347.347 0 0 0 .59 0l.623-1.007q.148-.013.294-.03l.807.866a.348.348 0 0 0 .578-.115l.414-1.107a9 9 0 0 0 .285-.087l.959.69a.345.345 0 0 0 .545-.226l.19-1.166l.262-.14l1.076.49a.347.347 0 0 0 .49-.328l-.041-1.184a7 7 0 0 0 .227-.187l1.153.272a.347.347 0 0 0 .417-.416l-.272-1.155q.095-.112.187-.227l1.184.041a.344.344 0 0 0 .328-.49l-.49-1.076q.072-.13.141-.262l1.166-.19a.348.348 0 0 0 .226-.544l-.69-.959l.087-.285l1.106-.414a.346.346 0 0 0 .116-.579l-.866-.807q.016-.147.028-.294l1.008-.624a.344.344 0 0 0 0-.589zm-6.742 8.355a.714.714 0 0 1 .299-1.396a.714.714 0 1 1-.3 1.396zm-.342-2.314a.65.65 0 0 0-.771.5l-.358 1.669a8.7 8.7 0 0 1-3.619.78a8.7 8.7 0 0 1-3.695-.815L7.95 18.21a.65.65 0 0 0-.772-.5l-1.473.317a9 9 0 0 1-.761-.898h7.167c.081 0 .136-.014.136-.088v-2.536c0-.074-.054-.088-.136-.088h-2.096v-1.608h2.268c.206 0 1.106.059 1.393 1.209c.09.353.288 1.504.424 1.873c.134.413.683 1.238 1.268 1.238h3.572a1 1 0 0 0 .13-.013a9 9 0 0 1-.813.952zm-9.914 2.28a.714.714 0 1 1-.3-1.396a.714.714 0 0 1 .3 1.396M4.117 8.997a.714.714 0 1 1-1.303.58a.714.714 0 0 1 1.304-.58m-.834 1.981l1.534-.682a.65.65 0 0 0 .33-.858l-.316-.715h1.244v5.602H3.567a8.8 8.8 0 0 1-.284-3.348zm6.734-.543V8.784h2.96c.153 0 1.08.177 1.08.87c0 .574-.712.78-1.296.78zm10.757 1.486q0 .329-.024.651h-.9c-.09 0-.127.059-.127.148v.413c0 .973-.548 1.184-1.03 1.238c-.457.052-.964-.191-1.027-.472c-.27-1.518-.72-1.843-1.43-2.403c.882-.56 1.799-1.386 1.799-2.492c0-1.193-.82-1.945-1.377-2.315c-.783-.516-1.65-.62-1.883-.62H5.468a8.77 8.77 0 0 1 4.907-2.77l1.098 1.152a.65.65 0 0 0 .918.02l1.227-1.173a8.78 8.78 0 0 1 6.004 4.276l-.84 1.898a.65.65 0 0 0 .33.859l1.618.718q.042.43.042.872zm-9.3-9.6a.713.713 0 1 1 .984 1.032a.714.714 0 0 1-.984-1.031m8.339 6.71a.71.71 0 0 1 .939-.362a.714.714 0 1 1-.94.364z\\"/>"},"sass":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12S5.373 0 12 0M9.615 15.998c.175.645.156 1.248-.024 1.792l-.065.18q-.037.092-.078.176q-.21.435-.555.81c-.698.759-1.672 1.047-2.09.805c-.45-.262-.226-1.335.584-2.19c.871-.918 2.12-1.509 2.12-1.509v-.003zm9.911-10.861c-.542-2.133-4.077-2.834-7.422-1.645c-1.989.707-4.144 1.818-5.693 3.267C4.568 8.48 4.275 9.98 4.396 10.607c.427 2.211 3.457 3.657 4.703 4.73v.006c-.367.18-3.056 1.529-3.686 2.925c-.675 1.47.105 2.521.615 2.655c1.575.436 3.195-.36 4.065-1.649c.84-1.261.766-2.881.404-3.676c.496-.135 1.08-.195 1.83-.104c2.101.24 2.521 1.56 2.43 2.1c-.09.539-.523.854-.674.944c-.15.091-.195.12-.181.181c.015.09.091.09.21.075c.165-.03 1.096-.45 1.141-1.471c.045-1.29-1.186-2.729-3.375-2.7c-.9.016-1.471.091-1.875.256a.4.4 0 0 0-.105-.105c-1.35-1.455-3.855-2.475-3.75-4.41c.03-.705.285-2.564 4.8-4.814c3.705-1.846 6.661-1.335 7.171-.21c.733 1.604-1.576 4.59-5.431 5.024c-1.47.165-2.235-.404-2.431-.615c-.209-.225-.239-.24-.314-.194c-.12.06-.045.255 0 .375c.12.3.585.825 1.396 1.095c.704.225 2.43.359 4.5-.45c2.324-.899 4.139-3.405 3.614-5.505z\\"/>"},"scala":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z\\"/>"},"svelte":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M10.354 21.125a4.44 4.44 0 0 1-4.765-1.767a4.1 4.1 0 0 1-.703-3.107a4 4 0 0 1 .134-.522l.105-.321l.287.21a7.2 7.2 0 0 0 2.186 1.092l.208.063l-.02.208a1.25 1.25 0 0 0 .226.83a1.34 1.34 0 0 0 1.435.533a1.2 1.2 0 0 0 .343-.15l5.59-3.562a1.16 1.16 0 0 0 .524-.778a1.24 1.24 0 0 0-.211-.937a1.34 1.34 0 0 0-1.435-.533a1.2 1.2 0 0 0-.343.15l-2.133 1.36a4 4 0 0 1-1.135.499a4.44 4.44 0 0 1-4.765-1.766a4.1 4.1 0 0 1-.702-3.108a3.86 3.86 0 0 1 1.742-2.582l5.589-3.563a4 4 0 0 1 1.135-.499a4.44 4.44 0 0 1 4.765 1.767a4.1 4.1 0 0 1 .703 3.107a4 4 0 0 1-.134.522l-.105.321l-.286-.21a7.2 7.2 0 0 0-2.187-1.093l-.208-.063l.02-.207a1.25 1.25 0 0 0-.226-.831a1.34 1.34 0 0 0-1.435-.532a1.2 1.2 0 0 0-.343.15L8.62 9.368a1.16 1.16 0 0 0-.524.778a1.24 1.24 0 0 0 .211.937a1.34 1.34 0 0 0 1.435.533a1.2 1.2 0 0 0 .344-.151l2.132-1.36a4 4 0 0 1 1.135-.498a4.44 4.44 0 0 1 4.765 1.766a4.1 4.1 0 0 1 .702 3.108a3.86 3.86 0 0 1-1.742 2.583l-5.589 3.562a4 4 0 0 1-1.135.499m10.358-17.95C18.484-.015 14.082-.96 10.9 1.068L5.31 4.63a6.4 6.4 0 0 0-2.896 4.295a6.75 6.75 0 0 0 .666 4.336a6.4 6.4 0 0 0-.96 2.396a6.83 6.83 0 0 0 1.168 5.167c2.229 3.19 6.63 4.135 9.812 2.108l5.59-3.562a6.4 6.4 0 0 0 2.896-4.295a6.76 6.76 0 0 0-.665-4.336a6.4 6.4 0 0 0 .958-2.396a6.83 6.83 0 0 0-1.167-5.168\\"/>"},"swift":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"m7.508 0l-.86.002q-.362.001-.724.01q-.198.005-.395.015A9 9 0 0 0 4.348.15A5.5 5.5 0 0 0 2.85.645A5.04 5.04 0 0 0 .645 2.848c-.245.48-.4.972-.495 1.5c-.093.52-.122 1.05-.136 1.576a35 35 0 0 0-.012.724L0 7.508v8.984l.002.862q.002.36.012.722c.014.526.043 1.057.136 1.576c.095.528.25 1.02.495 1.5a5.03 5.03 0 0 0 2.205 2.203c.48.244.97.4 1.498.495c.52.093 1.05.124 1.576.138q.362.01.724.01q.43.003.86.002h8.984l.86-.002q.362 0 .724-.01a10.5 10.5 0 0 0 1.578-.138a5.3 5.3 0 0 0 1.498-.495a5.04 5.04 0 0 0 2.203-2.203c.245-.48.4-.972.495-1.5c.093-.52.124-1.05.138-1.576q.01-.361.01-.722q.003-.431.002-.862V7.508l-.002-.86a34 34 0 0 0-.01-.724a10.5 10.5 0 0 0-.138-1.576a5.3 5.3 0 0 0-.495-1.5A5.04 5.04 0 0 0 21.152.645A5.3 5.3 0 0 0 19.654.15a10.5 10.5 0 0 0-1.578-.138a35 35 0 0 0-.722-.01L16.492 0zm6.035 3.41c4.114 2.47 6.545 7.162 5.549 11.131c-.024.093-.05.181-.076.272l.002.001c2.062 2.538 1.5 5.258 1.236 4.745c-1.072-2.086-3.066-1.568-4.088-1.043a7 7 0 0 1-.281.158l-.02.012l-.002.002c-2.115 1.123-4.957 1.205-7.812-.022a12.57 12.57 0 0 1-5.64-4.838c.649.48 1.35.902 2.097 1.252c3.019 1.414 6.051 1.311 8.197-.002C9.651 12.73 7.101 9.67 5.146 7.191a10.6 10.6 0 0 1-1.005-1.384c2.34 2.142 6.038 4.83 7.365 5.576C8.69 8.408 6.208 4.743 6.324 4.86c4.436 4.47 8.528 6.996 8.528 6.996c.154.085.27.154.36.213q.128-.322.224-.668c.708-2.588-.09-5.548-1.893-7.992z\\"/>"},"terraform":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M1.44 0v7.575l6.561 3.79V3.787zm21.12 4.227l-6.561 3.791v7.574l6.56-3.787zM8.72 4.23v7.575l6.561 3.787V8.018zm0 8.405v7.575L15.28 24v-7.578z\\"/>"},"toml":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M.014 0h5.34v2.652H2.888v18.681h2.468V24H.015zm17.622 5.049v2.78h-4.274v12.935h-3.008V7.83H6.059V5.05zM23.986 24h-5.34v-2.652h2.467V2.667h-2.468V0h5.34v24Z\\"/>"},"typescript":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361a5 5 0 0 0-.717-.26a5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529q.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416q.705.296 1.266.628q.561.333.963.753q.402.418.614.957q.213.538.214 1.253q0 .986-.373 1.656a3 3 0 0 1-1.012 1.085a4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164a5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09q.373-.09.623-.25q.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089a2.1 2.1 0 0 0-.537-.5a5.6 5.6 0 0 0-.807-.444a28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582q.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629a7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z\\"/>"},"vuedotjs":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M24 1.61h-9.94L12 5.16L9.94 1.61H0l12 20.78ZM12 14.08L5.16 2.23h4.43L12 6.41l2.41-4.18h4.43Z\\"/>"},"xml":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M4.345 7.053c-.495.02-.44.725-.536 1.081c-.157.583-.3 1.325-.347 1.926c-.046.585-.008 1.127.066 1.719c.058.46.191.767.07.89c-.108.11-3.216 2.962-3.466 3.123c-.26.169-.08.584.069.817c.157.246.23.373.557.33c.306-.042.405-.409.583-.606c.228-.252 2.421-2.401 2.616-2.401c.077.544.367 1.064.67 1.513c.15.222.314.439.505.629c.175.175.4.317.587.45c.44.024.795-.301.35-.67c-.17-.14-.735-.971-.927-1.43c-.18-.43-.574-1.076-.146-1.428c1.494-1.23 3.72-2.262 4.247-2.313c-.257 1.024-1.356 3.048-1.757 4.012c-.14.333-.231.732-.185 1.094c.055.434.383.774.587.806c.417-.023.7-.387.946-.645c.343-.357.634-.685.974-1.043c.339-.356.672-.731.971-1.07c.184-.207.674-.713.963-.713c-.11.693-.716 1.552-.839 2.254c-.125.716.531 1.596 1.217.956c.623-.58 1.255-1.129 1.867-1.72c.217-.208.175.037.224.242c.05.208.176.91.275 1.1c.18.346.496.592.897.598c.362.006.727-.161.982-.414c.19-.187.513-.699.154-.832c-.23-.086-.217-.176-.495-.129c-.172.029-.362.074-.507.179c-.367-.003-.381-.89-.324-1.161c.068-.327.207-.659.185-.998c-.026-.418-.478-.69-.582-.72c-.156-.076-.253.023-.458.212c-.173.161-.363.332-.535.495c-.34.322-.768.813-.942.813c.305-.705.708-2.652-.643-2.48c-.563.071-.95.377-1.394.71c-.29.28-.683.641-.936.87c-.236.216-.371.404-.496.404c.132-.747 1.685-3.167.885-3.853c-.158-.136-.313-.325-.515-.349a4.6 4.6 0 0 0-.833.19c-.565.18-2.78 1.28-4.19 2.289c-.131.094-.214-.085-.231-.29c-.087-1.058.199-2.19.496-3.188c.208-.696-.557-1.225-.659-1.249m18.177.874c-.166.364-.2.894-.248 1.319a24 24 0 0 0-1.246-.115c.238.296.691.588 1.056.724c-.048.366-.434.67-.599 1.021c.458-.127.676-.47.989-.821c.362.22.791.627 1.26.636c-.177-.376-.334-.695-.658-.966c.269-.175.717-.362.924-.633c-.345-.074-.718-.093-1.052-.015c-.258-.284-.3-.772-.426-1.15m-2.92.079c-.23.02-.613.49-.832.773c-.807 1.039-1.542 3.15-1.661 3.542c-.363 1.195-.502 2.672.28 3.722c.456.612 1.258.66 2.041.434c.405-.116.812-.406.95-.723c.114-.263.174-.753-.404-.38c-.224.145-.634.304-1.37.291c-.247-.004-.651-.357-.76-.722c-.192-.595-.11-1.393-.11-1.393c.167-1.028.642-2.146 1.061-3.076c.163-.36.658-1.259.842-1.546c0 0 .239-.373.131-.77c-.031-.116-.091-.16-.168-.152m3.072 2.976c-.12.264-.144.648-.18.956c-.274-.031-.63-.066-.904-.083c.172.215.501.426.766.525c-.034.265-.314.486-.434.741c.332-.092.49-.34.717-.596c.263.16.575.456.914.462c-.127-.273-.242-.504-.477-.701c.195-.127.52-.262.67-.46a1.8 1.8 0 0 0-.763-.01c-.187-.206-.217-.56-.309-.834m-1.123 2.422c-.083.183-.1.449-.125.662a13 13 0 0 0-.624-.058c.119.148.346.295.53.363c-.025.184-.219.336-.301.513c.23-.064.339-.236.496-.413c.181.11.397.316.632.32c-.088-.19-.168-.349-.33-.485c.135-.087.36-.181.463-.317a1.2 1.2 0 0 0-.527-.008c-.13-.142-.151-.387-.214-.576z\\"/>"},"yaml":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"m0 .97l4.111 6.453v4.09h2.638v-4.09L11.053.969H8.214L5.58 5.125L2.965.969Zm12.093.024l-4.47 10.544h2.114l.97-2.345h4.775l.804 2.345h2.26L14.255.994Zm1.133 2.225l1.463 3.87h-3.096zm3.06 9.475v10.29H24v-2.199h-5.454v-8.091zm-12.175.002v10.335h2.217v-7.129l2.32 4.792h1.746l2.4-4.96v7.295h2.127V12.696h-2.904L9.44 17.37l-2.455-4.674Z\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);Qe=!0}var et={install(){$e((e,t)=>{let n=e.indexOf(`:`);return n!==-1&&e.slice(0,n).includes(`-`)&&Me(e.replace(`:`,`-`),t),Me(e,t)})}};function tt(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function nt(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>tt(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var rt=new Set([`link`,`style`,`script`,`noscript`]),it=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),at=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),ot=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),st=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),ct=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),lt=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),ut=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),dt={critical:-8,high:-1,low:2},ft=e=>typeof e==`number`?Number.isFinite(e):e;function pt(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function mt(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?mt(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var ht=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function gt(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>gt(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function _t(e,t,n){if(e.length>0)return gt(e,t,0,ht(n))}function vt(e,t,n){if(e.length>0){let r=ht(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function yt(e,t){for(let n of[...e])n(t)}var bt=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=mt(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=mt(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(_t,e,t)}callHookParallel(e,...t){return this.callHookWith(vt,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&yt(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&yt(this._after,r)}):(this._after&&r&&yt(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function xt(){return new bt}var St=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return gt(n,t,0)}};function Ct(e){let t=new St;for(let n in e||{})t.hook(n,e[n]);return t}function G(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}function wt(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>tt(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var Tt=/^(?:viewport|description|keywords|robots)$/,Et=[`name`,`property`,`http-equiv`];function Dt(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return ut.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function Ot(e){let{props:t,tag:n,key:r}=e;if(st.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of Et){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!Tt.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:it.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function kt(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return t;let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function At(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=At(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=pt(n),a=i?void 0:At(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var jt=/[\s"'<>/=\x00-\x1F\x7F]/;function Mt(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function Nt(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=at.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(pt(r))continue;let i=r.startsWith(`data-`),a=n&&!ct.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||jt.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=Mt(r,s);else if(ct.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function Pt(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),At(e,n)}function Ft(e,t){let n=Nt({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&rt.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function It(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function Lt(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=Pt(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)It(n,Ft(t,e));else It(n,Ft(t,r))}}return n}var Rt=/</g,zt=/<\/script/g,Bt=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Vt=()=>100;function Ht(e){for(let t in e)return!1;return!0}var Ut=/^tags:|:render/;function Wt(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function Gt(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function Kt(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(Bt)}function qt(e){let t=!1;for(let n of e.tags.sort(Bt)){let r=n._d||kt(n);if(!r)continue;let i=e.tagMap.get(r);if(!i){e.tagMap.set(r,n);continue}if((n.tagDuplicateStrategy||(lt.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&Dt(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function Jt(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function Yt(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(ot.has(i)&&(!Ht(a)||ft(r)||ft(n.textContent))&&(i!==`meta`||ft(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(Rt,`\\u003C`):typeof e==`string`?e.replace(zt,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=Ot(n)}e[t++]=n}}return e.length=t,e}function Xt(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??Vt,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};Wt(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&G(e,`entries:resolve`,{entries:a,...r})),Wt(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||Ht(t.options)))a=t._precomputedTags;else{if(a=Lt(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!Ht(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};G(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=Ot(r),r._d||(r._h=kt(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&Ut.test(e)){Gt(r.tags);break}let o=qt(r);return Jt(r,e),Kt(r,o),G(e,`tags:beforeResolve`,r),G(e,`tags:resolve`,r),G(e,`tags:afterResolve`,r),Yt(r.tags)}var Zt=/\s+/;function Qt(e={}){return t=>tn(t,e)}function $t(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function en(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(Zt))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function tn(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!$t(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(G(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=en(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=Xt(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};if(e.tag===`meta`&&e._d&&Dt(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`){n.title=e.textContent,o(`title:`,()=>n.title=d._t);continue}i.$el=d._e.get(r),i.$el?c(i):at.has(e.tag)&&p.push(i)}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!at.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=Nt({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=Ot(i)||kt(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,G(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||$t(e))&&tn(e,t),a}var nn=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(dt[e.tagPriority]||0);function rn(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||Qt({document:e.document}),n=wt(nt(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:nn,init:[]}),Ct(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}var an=`usehead`;function on(){if(h()){let e=fe(an);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function sn(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(an,e)}}.install}var cn=Object.assign((e,t)=>Re(t)?je(t):t,{_static:!0});function ln(e,t={}){let n=t.head||on();return n.ssr?n.push(e||{},t):un(n,e,t)}function un(e,t,r={}){let i=be();if(i&&!i.active)return{patch(){},dispose(){},_i:-1};let a=B(!1);if(r.onRendered&&i){let e=r.onRendered;r={...r,onRendered:t=>i.run(()=>e(t))}}let o;return C(()=>{let n=a.value?{}:At(t,cn);o?o.patch(n):o=e.push(n,r)}),n()&&(We(()=>{o.dispose()}),Pe(()=>{a.value=!0}),he(()=>{a.value=!1})),o}function dn(e={}){let t=Qt(),n,r=0;return n=rn({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=sn(n),n}var fn={install(e){if(e._context.provides.usehead)return;let t=dn();e.use(t)}},pn={install(e,t){t?.router&&typeof t.router==`function`&&e.provide(`nuxtui:router`,t.router)}},mn={inherit:`inherit`,current:`currentcolor`,transparent:`transparent`,black:`#000`,white:`#fff`,slate:{50:`oklch(98.4% 0.003 247.858)`,100:`oklch(96.8% 0.007 247.896)`,200:`oklch(92.9% 0.013 255.508)`,300:`oklch(86.9% 0.022 252.894)`,400:`oklch(70.4% 0.04 256.788)`,500:`oklch(55.4% 0.046 257.417)`,600:`oklch(44.6% 0.043 257.281)`,700:`oklch(37.2% 0.044 257.287)`,800:`oklch(27.9% 0.041 260.031)`,900:`oklch(20.8% 0.042 265.755)`,950:`oklch(12.9% 0.042 264.695)`},gray:{50:`oklch(98.5% 0.002 247.839)`,100:`oklch(96.7% 0.003 264.542)`,200:`oklch(92.8% 0.006 264.531)`,300:`oklch(87.2% 0.01 258.338)`,400:`oklch(70.7% 0.022 261.325)`,500:`oklch(55.1% 0.027 264.364)`,600:`oklch(44.6% 0.03 256.802)`,700:`oklch(37.3% 0.034 259.733)`,800:`oklch(27.8% 0.033 256.848)`,900:`oklch(21% 0.034 264.665)`,950:`oklch(13% 0.028 261.692)`},zinc:{50:`oklch(98.5% 0 none)`,100:`oklch(96.7% 0.001 286.375)`,200:`oklch(92% 0.004 286.32)`,300:`oklch(87.1% 0.006 286.286)`,400:`oklch(70.5% 0.015 286.067)`,500:`oklch(55.2% 0.016 285.938)`,600:`oklch(44.2% 0.017 285.786)`,700:`oklch(37% 0.013 285.805)`,800:`oklch(27.4% 0.006 286.033)`,900:`oklch(21% 0.006 285.885)`,950:`oklch(14.1% 0.005 285.823)`},neutral:{50:`oklch(98.5% 0 none)`,100:`oklch(97% 0 none)`,200:`oklch(92.2% 0 none)`,300:`oklch(87% 0 none)`,400:`oklch(70.8% 0 none)`,500:`oklch(55.6% 0 none)`,600:`oklch(43.9% 0 none)`,700:`oklch(37.1% 0 none)`,800:`oklch(26.9% 0 none)`,900:`oklch(20.5% 0 none)`,950:`oklch(14.5% 0 none)`},stone:{50:`oklch(98.5% 0.001 106.423)`,100:`oklch(97% 0.001 106.424)`,200:`oklch(92.3% 0.003 48.717)`,300:`oklch(86.9% 0.005 56.366)`,400:`oklch(70.9% 0.01 56.259)`,500:`oklch(55.3% 0.013 58.071)`,600:`oklch(44.4% 0.011 73.639)`,700:`oklch(37.4% 0.01 67.558)`,800:`oklch(26.8% 0.007 34.298)`,900:`oklch(21.6% 0.006 56.043)`,950:`oklch(14.7% 0.004 49.25)`},mauve:{50:`oklch(98.5% 0 none)`,100:`oklch(96% 0.003 325.6)`,200:`oklch(92.2% 0.005 325.62)`,300:`oklch(86.5% 0.012 325.68)`,400:`oklch(71.1% 0.019 323.02)`,500:`oklch(54.2% 0.034 322.5)`,600:`oklch(43.5% 0.029 321.78)`,700:`oklch(36.4% 0.029 323.89)`,800:`oklch(26.3% 0.024 320.12)`,900:`oklch(21.2% 0.019 322.12)`,950:`oklch(14.5% 0.008 326)`},olive:{50:`oklch(98.8% 0.003 106.5)`,100:`oklch(96.6% 0.005 106.5)`,200:`oklch(93% 0.007 106.5)`,300:`oklch(88% 0.011 106.6)`,400:`oklch(73.7% 0.021 106.9)`,500:`oklch(58% 0.031 107.3)`,600:`oklch(46.6% 0.025 107.3)`,700:`oklch(39.4% 0.023 107.4)`,800:`oklch(28.6% 0.016 107.4)`,900:`oklch(22.8% 0.013 107.4)`,950:`oklch(15.3% 0.006 107.1)`},mist:{50:`oklch(98.7% 0.002 197.1)`,100:`oklch(96.3% 0.002 197.1)`,200:`oklch(92.5% 0.005 214.3)`,300:`oklch(87.2% 0.007 219.6)`,400:`oklch(72.3% 0.014 214.4)`,500:`oklch(56% 0.021 213.5)`,600:`oklch(45% 0.017 213.2)`,700:`oklch(37.8% 0.015 216)`,800:`oklch(27.5% 0.011 216.9)`,900:`oklch(21.8% 0.008 223.9)`,950:`oklch(14.8% 0.004 228.8)`},taupe:{50:`oklch(98.6% 0.002 67.8)`,100:`oklch(96% 0.002 17.2)`,200:`oklch(92.2% 0.005 34.3)`,300:`oklch(86.8% 0.007 39.5)`,400:`oklch(71.4% 0.014 41.2)`,500:`oklch(54.7% 0.021 43.1)`,600:`oklch(43.8% 0.017 39.3)`,700:`oklch(36.7% 0.016 35.7)`,800:`oklch(26.8% 0.011 36.5)`,900:`oklch(21.4% 0.009 43.1)`,950:`oklch(14.7% 0.004 49.3)`},red:{50:`oklch(97.1% 0.013 17.38)`,100:`oklch(93.6% 0.032 17.717)`,200:`oklch(88.5% 0.062 18.334)`,300:`oklch(80.8% 0.114 19.571)`,400:`oklch(70.4% 0.191 22.216)`,500:`oklch(63.7% 0.237 25.331)`,600:`oklch(57.7% 0.245 27.325)`,700:`oklch(50.5% 0.213 27.518)`,800:`oklch(44.4% 0.177 26.899)`,900:`oklch(39.6% 0.141 25.723)`,950:`oklch(25.8% 0.092 26.042)`},orange:{50:`oklch(98% 0.016 73.684)`,100:`oklch(95.4% 0.038 75.164)`,200:`oklch(90.1% 0.076 70.697)`,300:`oklch(83.7% 0.128 66.29)`,400:`oklch(75% 0.183 55.934)`,500:`oklch(70.5% 0.213 47.604)`,600:`oklch(64.6% 0.222 41.116)`,700:`oklch(55.3% 0.195 38.402)`,800:`oklch(47% 0.157 37.304)`,900:`oklch(40.8% 0.123 38.172)`,950:`oklch(26.6% 0.079 36.259)`},amber:{50:`oklch(98.7% 0.022 95.277)`,100:`oklch(96.2% 0.059 95.617)`,200:`oklch(92.4% 0.12 95.746)`,300:`oklch(87.9% 0.169 91.605)`,400:`oklch(82.8% 0.189 84.429)`,500:`oklch(76.9% 0.188 70.08)`,600:`oklch(66.6% 0.179 58.318)`,700:`oklch(55.5% 0.163 48.998)`,800:`oklch(47.3% 0.137 46.201)`,900:`oklch(41.4% 0.112 45.904)`,950:`oklch(27.9% 0.077 45.635)`},yellow:{50:`oklch(98.7% 0.026 102.212)`,100:`oklch(97.3% 0.071 103.193)`,200:`oklch(94.5% 0.129 101.54)`,300:`oklch(90.5% 0.182 98.111)`,400:`oklch(85.2% 0.199 91.936)`,500:`oklch(79.5% 0.184 86.047)`,600:`oklch(68.1% 0.162 75.834)`,700:`oklch(55.4% 0.135 66.442)`,800:`oklch(47.6% 0.114 61.907)`,900:`oklch(42.1% 0.095 57.708)`,950:`oklch(28.6% 0.066 53.813)`},lime:{50:`oklch(98.6% 0.031 120.757)`,100:`oklch(96.7% 0.067 122.328)`,200:`oklch(93.8% 0.127 124.321)`,300:`oklch(89.7% 0.196 126.665)`,400:`oklch(84.1% 0.238 128.85)`,500:`oklch(76.8% 0.233 130.85)`,600:`oklch(64.8% 0.2 131.684)`,700:`oklch(53.2% 0.157 131.589)`,800:`oklch(45.3% 0.124 130.933)`,900:`oklch(40.5% 0.101 131.063)`,950:`oklch(27.4% 0.072 132.109)`},green:{50:`oklch(98.2% 0.018 155.826)`,100:`oklch(96.2% 0.044 156.743)`,200:`oklch(92.5% 0.084 155.995)`,300:`oklch(87.1% 0.15 154.449)`,400:`oklch(79.2% 0.209 151.711)`,500:`oklch(72.3% 0.219 149.579)`,600:`oklch(62.7% 0.194 149.214)`,700:`oklch(52.7% 0.154 150.069)`,800:`oklch(44.8% 0.119 151.328)`,900:`oklch(39.3% 0.095 152.535)`,950:`oklch(26.6% 0.065 152.934)`},emerald:{50:`oklch(97.9% 0.021 166.113)`,100:`oklch(95% 0.052 163.051)`,200:`oklch(90.5% 0.093 164.15)`,300:`oklch(84.5% 0.143 164.978)`,400:`oklch(76.5% 0.177 163.223)`,500:`oklch(69.6% 0.17 162.48)`,600:`oklch(59.6% 0.145 163.225)`,700:`oklch(50.8% 0.118 165.612)`,800:`oklch(43.2% 0.095 166.913)`,900:`oklch(37.8% 0.077 168.94)`,950:`oklch(26.2% 0.051 172.552)`},teal:{50:`oklch(98.4% 0.014 180.72)`,100:`oklch(95.3% 0.051 180.801)`,200:`oklch(91% 0.096 180.426)`,300:`oklch(85.5% 0.138 181.071)`,400:`oklch(77.7% 0.152 181.912)`,500:`oklch(70.4% 0.14 182.503)`,600:`oklch(60% 0.118 184.704)`,700:`oklch(51.1% 0.096 186.391)`,800:`oklch(43.7% 0.078 188.216)`,900:`oklch(38.6% 0.063 188.416)`,950:`oklch(27.7% 0.046 192.524)`},cyan:{50:`oklch(98.4% 0.019 200.873)`,100:`oklch(95.6% 0.045 203.388)`,200:`oklch(91.7% 0.08 205.041)`,300:`oklch(86.5% 0.127 207.078)`,400:`oklch(78.9% 0.154 211.53)`,500:`oklch(71.5% 0.143 215.221)`,600:`oklch(60.9% 0.126 221.723)`,700:`oklch(52% 0.105 223.128)`,800:`oklch(45% 0.085 224.283)`,900:`oklch(39.8% 0.07 227.392)`,950:`oklch(30.2% 0.056 229.695)`},sky:{50:`oklch(97.7% 0.013 236.62)`,100:`oklch(95.1% 0.026 236.824)`,200:`oklch(90.1% 0.058 230.902)`,300:`oklch(82.8% 0.111 230.318)`,400:`oklch(74.6% 0.16 232.661)`,500:`oklch(68.5% 0.169 237.323)`,600:`oklch(58.8% 0.158 241.966)`,700:`oklch(50% 0.134 242.749)`,800:`oklch(44.3% 0.11 240.79)`,900:`oklch(39.1% 0.09 240.876)`,950:`oklch(29.3% 0.066 243.157)`},blue:{50:`oklch(97% 0.014 254.604)`,100:`oklch(93.2% 0.032 255.585)`,200:`oklch(88.2% 0.059 254.128)`,300:`oklch(80.9% 0.105 251.813)`,400:`oklch(70.7% 0.165 254.624)`,500:`oklch(62.3% 0.214 259.815)`,600:`oklch(54.6% 0.245 262.881)`,700:`oklch(48.8% 0.243 264.376)`,800:`oklch(42.4% 0.199 265.638)`,900:`oklch(37.9% 0.146 265.522)`,950:`oklch(28.2% 0.091 267.935)`},indigo:{50:`oklch(96.2% 0.018 272.314)`,100:`oklch(93% 0.034 272.788)`,200:`oklch(87% 0.065 274.039)`,300:`oklch(78.5% 0.115 274.713)`,400:`oklch(67.3% 0.182 276.935)`,500:`oklch(58.5% 0.233 277.117)`,600:`oklch(51.1% 0.262 276.966)`,700:`oklch(45.7% 0.24 277.023)`,800:`oklch(39.8% 0.195 277.366)`,900:`oklch(35.9% 0.144 278.697)`,950:`oklch(25.7% 0.09 281.288)`},violet:{50:`oklch(96.9% 0.016 293.756)`,100:`oklch(94.3% 0.029 294.588)`,200:`oklch(89.4% 0.057 293.283)`,300:`oklch(81.1% 0.111 293.571)`,400:`oklch(70.2% 0.183 293.541)`,500:`oklch(60.6% 0.25 292.717)`,600:`oklch(54.1% 0.281 293.009)`,700:`oklch(49.1% 0.27 292.581)`,800:`oklch(43.2% 0.232 292.759)`,900:`oklch(38% 0.189 293.745)`,950:`oklch(28.3% 0.141 291.089)`},purple:{50:`oklch(97.7% 0.014 308.299)`,100:`oklch(94.6% 0.033 307.174)`,200:`oklch(90.2% 0.063 306.703)`,300:`oklch(82.7% 0.119 306.383)`,400:`oklch(71.4% 0.203 305.504)`,500:`oklch(62.7% 0.265 303.9)`,600:`oklch(55.8% 0.288 302.321)`,700:`oklch(49.6% 0.265 301.924)`,800:`oklch(43.8% 0.218 303.724)`,900:`oklch(38.1% 0.176 304.987)`,950:`oklch(29.1% 0.149 302.717)`},fuchsia:{50:`oklch(97.7% 0.017 320.058)`,100:`oklch(95.2% 0.037 318.852)`,200:`oklch(90.3% 0.076 319.62)`,300:`oklch(83.3% 0.145 321.434)`,400:`oklch(74% 0.238 322.16)`,500:`oklch(66.7% 0.295 322.15)`,600:`oklch(59.1% 0.293 322.896)`,700:`oklch(51.8% 0.253 323.949)`,800:`oklch(45.2% 0.211 324.591)`,900:`oklch(40.1% 0.17 325.612)`,950:`oklch(29.3% 0.136 325.661)`},pink:{50:`oklch(97.1% 0.014 343.198)`,100:`oklch(94.8% 0.028 342.258)`,200:`oklch(89.9% 0.061 343.231)`,300:`oklch(82.3% 0.12 346.018)`,400:`oklch(71.8% 0.202 349.761)`,500:`oklch(65.6% 0.241 354.308)`,600:`oklch(59.2% 0.249 0.584)`,700:`oklch(52.5% 0.223 3.958)`,800:`oklch(45.9% 0.187 3.815)`,900:`oklch(40.8% 0.153 2.432)`,950:`oklch(28.4% 0.109 3.907)`},rose:{50:`oklch(96.9% 0.015 12.422)`,100:`oklch(94.1% 0.03 12.58)`,200:`oklch(89.2% 0.058 10.001)`,300:`oklch(81% 0.117 11.638)`,400:`oklch(71.2% 0.194 13.428)`,500:`oklch(64.5% 0.246 16.439)`,600:`oklch(58.6% 0.253 17.585)`,700:`oklch(51.4% 0.222 16.935)`,800:`oklch(45.5% 0.188 13.697)`,900:`oklch(41% 0.159 10.272)`,950:`oklch(27.1% 0.105 12.094)`}},hn={},gn=(e,t)=>{if(hn[e])return hn[e];let n=B(t());return hn[e]=n,n},_n=xt();function vn(){return{isHydrating:!0,payload:{serverRendered:!1},hooks:_n,hook:_n.hook}}function yn(e){return{install(t){t.runWithContext(()=>e({vueApp:t}))}}}var bn=[50,100,200,300,400,500,600,700,800,900,950];function xn(e,t){return e in mn&&typeof mn[e]==`object`&&t in mn[e]?mn[e][t]:``}function Sn(e,t,n){let r=n?`${n}-`:``;return`${bn.map(n=>`--ui-color-${e}-${n}: var(--${r}color-${t===`neutral`?`old-neutral`:t}-${n}, ${xn(t,n)});`).join(`
3
3
  `)}`}function Cn(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function wn(){document.querySelector(`[data-nuxt-ui-colors]`)?.remove()}var Tn=yn(()=>{let e=Ue(),t=vn(),n=H(()=>{let{neutral:t,...n}=e.ui.colors,r=e.ui.prefix;return`@layer theme {
4
4
  :root, :host {
@@ -25,4 +25,4 @@ Defaulting to \`null\`.`),null)}function Mn(e){return q(e)&&!Number.isNaN(e)&&e>
25
25
  would route through Vue's \`toDisplayString\`, which JSON-stringifies
26
26
  arrays — the live region would then announce literal \`[\`, quotes
27
27
  and commas instead of the toast title and description.
28
- `),(P(!0),a(L,null,o(D.value,(e,t)=>(P(),a(L,{key:t},[I(T(e),1)],64))),128))]),_:1},8,[`aria-live`])):M(`v-if`,!0),F(u).viewport.value?(P(),V(ze,{key:1,to:F(u).viewport.value},[e(F(l),null,{default:N(()=>[e(F(y),R({ref:F(s),tabindex:`0`},t.$attrs,{as:t.as,"as-child":t.asChild,"data-state":t.open?`open`:`closed`,"data-swipe-direction":F(u).swipeDirection.value,style:F(u).disableSwipe.value?void 0:{userSelect:`none`,touchAction:`none`},onPointerdown:n[0]||=He(e=>{F(u).disableSwipe.value||(d.value={x:e.clientX,y:e.clientY})},[`left`]),onPointermove:n[1]||=e=>{if(F(u).disableSwipe.value||!d.value)return;let t=e.clientX-d.value.x,n=e.clientY-d.value.y,r=!!p.value,a=[`left`,`right`].includes(F(u).swipeDirection.value),o=[`left`,`up`].includes(F(u).swipeDirection.value)?Math.min:Math.max,s=a?o(0,t):0,c=a?0:o(0,n),l=e.pointerType===`touch`?10:2,f={x:s,y:c},m={originalEvent:e,delta:f};r?(p.value=f,F(Hn)(F(`toast.swipeMove`),e=>i(`swipeMove`,e),m)):F(Un)(f,F(u).swipeDirection.value,l)?(p.value=f,F(Hn)(F(`toast.swipeStart`),e=>i(`swipeStart`,e),m),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(n)>l)&&(d.value=null)},onPointerup:n[2]||=e=>{if(F(u).disableSwipe.value)return;let t=p.value,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),p.value=null,d.value=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};F(Un)(t,F(u).swipeDirection.value,F(u).swipeThreshold.value)?F(Hn)(F(`toast.swipeEnd`),e=>i(`swipeEnd`,e),r):F(Hn)(F(`toast.swipeCancel`),e=>i(`swipeCancel`,e),r),n?.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}}}),{default:N(()=>[z(t.$slots,`default`,{remaining:x.value,duration:h.value})]),_:3},16,[`as`,`as-child`,`data-state`,`data-swipe-direction`,`style`])]),_:3})],8,[`to`])):M(`v-if`,!0)],64))}}),Yn=k({__name:`ToastClose`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(t){let n=t,r=Kn(),{forwardRef:i}=W();return(t,a)=>(P(),V(Fn,{"as-child":``},{default:N(()=>[e(F(y),R(n,{ref:F(i),type:t.as===`button`?`button`:void 0,onClick:F(r).onClose}),{default:N(()=>[z(t.$slots,`default`)]),_:3},16,[`type`,`onClick`])]),_:3}))}}),Xn=k({__name:`ToastAction`,props:{altText:{type:String,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){if(!t.altText)throw Error("Missing prop `altText` expected on `ToastAction`");let{forwardRef:n}=W();return(t,r)=>t.altText?(P(),V(Fn,{key:0,"alt-text":t.altText,"as-child":``},{default:N(()=>[e(Yn,{ref:F(n),as:t.as,"as-child":t.asChild},{default:N(()=>[z(t.$slots,`default`)]),_:3},8,[`as`,`as-child`])]),_:3},8,[`alt-text`])):M(`v-if`,!0)}}),Zn=k({__name:`ToastDescription`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return W(),(e,n)=>(P(),V(F(y),p(v(t)),{default:N(()=>[z(e.$slots,`default`)]),_:3},16))}}),Qn=k({__name:`ToastPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(P(),V(F(c),p(v(t)),{default:N(()=>[z(e.$slots,`default`)]),_:3},16))}}),$n=k({__name:`ToastRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!0},forceMount:{type:Boolean,required:!1},type:{type:String,required:!1,default:`foreground`},open:{type:Boolean,required:!1,default:void 0},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`li`}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(t,{emit:n}){let r=t,i=n,{forwardRef:a}=W(),o=Te(r,`open`,i,{defaultValue:r.defaultOpen,passive:r.open===void 0});return(t,n)=>(P(),V(F(w),{present:t.forceMount||F(o)},{default:N(()=>[e(Jn,R({ref:F(a),open:F(o),type:t.type,as:t.as,"as-child":t.asChild,duration:t.duration},t.$attrs,{onClose:n[0]||=e=>o.value=!1,onPause:n[1]||=e=>i(`pause`),onResume:n[2]||=e=>i(`resume`),onEscapeKeyDown:n[3]||=e=>i(`escapeKeyDown`,e),onSwipeStart:n[4]||=e=>{i(`swipeStart`,e),e.defaultPrevented||e.currentTarget.setAttribute(`data-swipe`,`start`)},onSwipeMove:n[5]||=e=>{if(i(`swipeMove`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`move`),r.style.setProperty(`--reka-toast-swipe-move-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-move-y`,`${n}px`)}},onSwipeCancel:n[6]||=e=>{if(i(`swipeCancel`,e),!e.defaultPrevented){let t=e.currentTarget;t.setAttribute(`data-swipe`,`cancel`),t.style.removeProperty(`--reka-toast-swipe-move-x`),t.style.removeProperty(`--reka-toast-swipe-move-y`),t.style.removeProperty(`--reka-toast-swipe-end-x`),t.style.removeProperty(`--reka-toast-swipe-end-y`)}},onSwipeEnd:n[7]||=e=>{if(i(`swipeEnd`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`end`),r.style.removeProperty(`--reka-toast-swipe-move-x`),r.style.removeProperty(`--reka-toast-swipe-move-y`),r.style.setProperty(`--reka-toast-swipe-end-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-end-y`,`${n}px`),o.value=!1}}}),{default:N(({remaining:e,duration:n})=>[z(t.$slots,`default`,{remaining:e,duration:n,open:F(o)})]),_:3},16,[`open`,`type`,`as`,`as-child`,`duration`])]),_:3},8,[`present`]))}}),er=k({__name:`ToastTitle`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return W(),(e,n)=>(P(),V(F(y),p(v(t)),{default:N(()=>[z(e.$slots,`default`)]),_:3},16))}}),tr=k({__name:`FocusProxy`,emits:[`focusFromOutsideViewport`],setup(e,{emit:t}){let n=t,r=In();return(e,t)=>(P(),V(F(se),{tabindex:`0`,style:{position:`fixed`},onFocus:t[0]||=e=>{let t=e.relatedTarget;F(r).viewport.value?.contains(t)||n(`focusFromOutsideViewport`)}},{default:N(()=>[z(e.$slots,`default`)]),_:3}))}}),nr=k({inheritAttrs:!1,__name:`ToastViewport`,props:{hotkey:{type:Array,required:!1,default:()=>[`F8`]},label:{type:[String,Function],required:!1,default:`Notifications ({hotkey})`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`ol`}},setup(t){let{hotkey:n,label:r}=ne(t),{forwardRef:i,currentElement:a}=W(),{CollectionSlot:o,getItems:s}=f(),c=In(),l=H(()=>c.toastCount.value>0),u=B(),d=B(),p=/Key/g,h=/Digit/g,g=H(()=>n.value.join(`+`).replace(p,``).replace(h,``));ge(n.value,()=>{a.value.focus()}),Se(()=>{c.onViewportChange(a.value)}),C(e=>{let t=a.value;if(l.value&&t){let n=()=>{if(!c.isClosePausedRef.value){let e=new CustomEvent(Bn);t.dispatchEvent(e),c.isClosePausedRef.value=!0}},r=()=>{if(c.isClosePausedRef.value){let e=new CustomEvent(Vn);t.dispatchEvent(e),c.isClosePausedRef.value=!1}},i=e=>{t.contains(e.relatedTarget)||r()},a=()=>{t.contains(m())||r()},o=e=>{let n=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!n){let n=m(),r=e.shiftKey;if(e.target===t&&r){u.value?.focus();return}let i=_({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);O(i.slice(a+1))?e.preventDefault():r?u.value?.focus():d.value?.focus()}};t.addEventListener(`focusin`,n),t.addEventListener(`focusout`,i),t.addEventListener(`pointermove`,n),t.addEventListener(`pointerleave`,a),t.addEventListener(`keydown`,o),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),e(()=>{t.removeEventListener(`focusin`,n),t.removeEventListener(`focusout`,i),t.removeEventListener(`pointermove`,n),t.removeEventListener(`pointerleave`,a),t.removeEventListener(`keydown`,o),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)})}});function _({tabbingDirection:e}){let t=s().map(e=>e.ref).map(t=>{let n=[t,...ee(t)];return e===`forwards`?n:n.reverse()});return(e===`forwards`?t.reverse():t).flat()}return(t,n)=>(P(),V(F(On),{role:`region`,"aria-label":typeof F(r)==`string`?F(r).replace(`{hotkey}`,g.value):F(r)(g.value),tabindex:`-1`,style:b({pointerEvents:l.value?void 0:`none`})},{default:N(()=>[l.value?(P(),V(tr,{key:0,ref:e=>{e&&(u.value=F(Le)(e))},onFocusFromOutsideViewport:n[0]||=()=>{let e=_({tabbingDirection:`forwards`});F(O)(e)}},null,512)):M(`v-if`,!0),e(F(o),null,{default:N(()=>[e(F(y),R({ref:F(i),tabindex:`-1`,as:t.as,"as-child":t.asChild},t.$attrs),{default:N(()=>[z(t.$slots,`default`)]),_:3},16,[`as`,`as-child`])]),_:3}),l.value?(P(),V(tr,{key:1,ref:e=>{e&&(d.value=F(Le)(e))},onFocusFromOutsideViewport:n[1]||=()=>{let e=_({tabbingDirection:`backwards`});F(O)(e)}},null,512)):M(`v-if`,!0)]),_:3},8,[`aria-label`,`style`]))}}),[rr,ir]=S(`TooltipProvider`),ar=k({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){let{delayDuration:t,skipDelayDuration:n,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:a,disabled:o,content:s}=ne(e);W();let c=B(!0),l=B(!1),{start:u,stop:d}=re(()=>{c.value=!0},n,{immediate:!1});return ir({isOpenDelayed:c,delayDuration:t,onOpen(){d(),c.value=!1},onClose(){u()},isPointerInTransitRef:l,disableHoverableContent:r,disableClosingTrigger:i,disabled:o,ignoreNonKeyboardFocus:a,content:s}),(e,t)=>z(e.$slots,`default`)}}),or=Symbol(`nuxt-ui.toast-max`);function sr(){let e=gn(`toasts`,()=>[]),t=fe(or,void 0),n=B(!1),r=[],i=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;function a(t,n){e.value[t]={...e.value[t],...n,_duplicate:(e.value[t]._duplicate||0)+1}}async function o(){if(!(n.value||r.length===0)){for(n.value=!0;r.length>0;){await ke();let n=r.shift(),i=t?.value??5;if(i<=0){e.value.length&&(e.value=[]);continue}let o=e.value.findIndex(e=>e.id===n.id);if(o!==-1){a(o,n);continue}e.value=[...e.value,n].slice(-i)}n.value=!1}}function s(t){let n={id:i(),open:!0,...t},s=e.value.findIndex(e=>e.id===n.id);return s===-1?(r.push(n),o(),n):(a(s,n),n)}function c(t,n){let r=e.value.findIndex(e=>e.id===t);r!==-1&&(e.value[r]={...e.value[r],...n,duration:n.duration,open:!0,_updated:!0},ke(()=>{let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated&&(e.value[n]={...e.value[n],_updated:void 0})}))}function l(t){let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated||(n!==-1&&(e.value[n]={...e.value[n],open:!1}),setTimeout(()=>{e.value=e.value.filter(e=>e.id!==t)},200))}function u(){e.value=[]}return{toasts:e,add:s,update:c,remove:l,clear:u}}var cr={slots:{root:`gap-2`,base:`relative overflow-hidden rounded-full bg-accented`,indicator:`rounded-full size-full transition-transform duration-200 ease-out motion-reduce:transition-none motion-reduce:data-[state=indeterminate]:animate-pulse`,status:`flex text-dimmed duration-200 ease-out motion-reduce:transition-none`,steps:`grid items-end`,step:`truncate text-end row-start-1 col-start-1 transition-opacity ease-out`},variants:{animation:{carousel:``,"carousel-inverse":``,swing:``,elastic:``},color:{primary:{indicator:`bg-primary`,steps:`text-primary`},secondary:{indicator:`bg-secondary`,steps:`text-secondary`},success:{indicator:`bg-success`,steps:`text-success`},info:{indicator:`bg-info`,steps:`text-info`},warning:{indicator:`bg-warning`,steps:`text-warning`},error:{indicator:`bg-error`,steps:`text-error`},neutral:{indicator:`bg-inverted`,steps:`text-highlighted`}},size:{"2xs":{status:`text-xs`,steps:`text-xs`},xs:{status:`text-xs`,steps:`text-xs`},sm:{status:`text-sm`,steps:`text-sm`},md:{status:`text-sm`,steps:`text-sm`},lg:{status:`text-sm`,steps:`text-sm`},xl:{status:`text-base`,steps:`text-base`},"2xl":{status:`text-base`,steps:`text-base`}},step:{active:{step:`opacity-100`},first:{step:`opacity-100 text-muted`},other:{step:`opacity-0`},last:{step:``}},orientation:{horizontal:{root:`w-full flex flex-col`,base:`w-full`,status:`flex-row items-center justify-end w-(--percent) min-w-fit transition-[width]`},vertical:{root:`h-full flex flex-row-reverse`,base:`h-full`,status:`flex-col justify-end h-(--percent) min-h-fit transition-[height]`}},inverted:{true:{status:`self-end`}}},compoundVariants:[{inverted:!0,orientation:`horizontal`,class:{step:`text-start`,status:`flex-row-reverse`}},{inverted:!0,orientation:`vertical`,class:{steps:`items-start`,status:`flex-col-reverse`}},{orientation:`horizontal`,size:`2xs`,class:`h-px`},{orientation:`horizontal`,size:`xs`,class:`h-0.5`},{orientation:`horizontal`,size:`sm`,class:`h-1`},{orientation:`horizontal`,size:`md`,class:`h-2`},{orientation:`horizontal`,size:`lg`,class:`h-3`},{orientation:`horizontal`,size:`xl`,class:`h-4`},{orientation:`horizontal`,size:`2xl`,class:`h-5`},{orientation:`vertical`,size:`2xs`,class:`w-px`},{orientation:`vertical`,size:`xs`,class:`w-0.5`},{orientation:`vertical`,size:`sm`,class:`w-1`},{orientation:`vertical`,size:`md`,class:`w-2`},{orientation:`vertical`,size:`lg`,class:`w-3`},{orientation:`vertical`,size:`xl`,class:`w-4`},{orientation:`vertical`,size:`2xl`,class:`w-5`},{orientation:`horizontal`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing-vertical_2s_var(--ease-in-out)_infinite]`}},{orientation:`horizontal`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic-vertical_2s_var(--ease-in-out)_infinite]`}}],defaultVariants:{animation:`carousel`,color:`primary`,size:`md`}},lr={__name:`Progress`,props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:[`update:modelValue`,`update:max`],setup(t,{emit:n}){let i=t,c=n,l=r(),u=ae(`progress`,i),{dir:d}=x(),f=Ue(),p=Je(s(u,`getValueLabel`,`getValueText`,`modelValue`),c),m=H(()=>p.value.modelValue===null),h=H(()=>Array.isArray(u.max)),g=H(()=>{if(!m.value&&u.max)return Array.isArray(u.max)?u.max.length-1:Number(u.max)}),_=H(()=>{if(!m.value)switch(!0){case p.value.modelValue<0:return 0;case p.value.modelValue>(g.value??100):return 100;default:return Math.round(p.value.modelValue/(g.value??100)*100)}}),v=H(()=>{if(_.value!==void 0)return u.orientation===`vertical`?{transform:`translateY(${u.inverted?``:`-`}${100-_.value}%)`}:d.value===`rtl`?{transform:`translateX(${u.inverted?`-`:``}${100-_.value}%)`}:{transform:`translateX(${u.inverted?``:`-`}${100-_.value}%)`}}),S=H(()=>({"--percent":`${Math.max(_.value??0,0)}%`}));function C(e){return e===Number(u.modelValue)}function w(e){return e===0}function E(e){return e===g.value}function D(e){return e=Number(e),C(e)&&!w(e)?`active`:w(e)&&C(e)?`first`:E(e)&&C(e)?`last`:`other`}let O=H(()=>_e({extend:cr,...f.ui?.progress||{}})({animation:u.animation,size:u.size,color:u.color,orientation:u.orientation,inverted:u.inverted})),k=H(()=>Object.keys({...cr.variants?.color,...f.ui?.progress?.variants?.color})),A=H(()=>u.color&&!k.value.includes(u.color)?u.color:void 0);return(t,n)=>(P(),V(F(y),{as:F(u).as,"data-orientation":F(u).orientation,"data-slot":`root`,class:j(O.value.root({class:[F(u).ui?.root,F(u).class]}))},{default:N(()=>[!m.value&&(F(u).status||l.status)?(P(),a(`div`,{key:0,"data-slot":`status`,class:j(O.value.status({class:F(u).ui?.status})),style:b(S.value)},[z(t.$slots,`status`,{percent:_.value},()=>[I(T(_.value)+`% `,1)])],6)):M(``,!0),e(F(Nn),R(F(p),{max:g.value,"data-slot":`base`,class:O.value.base({class:F(u).ui?.base}),style:{transform:`translateZ(0)`}}),{default:N(()=>[e(F(Pn),{"data-slot":`indicator`,class:j(O.value.indicator({class:F(u).ui?.indicator})),style:b([v.value,A.value?{backgroundColor:A.value}:void 0])},null,8,[`class`,`style`])]),_:1},16,[`max`,`class`]),h.value?(P(),a(`div`,{key:1,"data-slot":`steps`,class:j(O.value.steps({class:F(u).ui?.steps})),style:b(A.value?{color:A.value}:void 0)},[(P(!0),a(L,null,o(F(u).max,(e,n)=>(P(),a(`div`,{key:n,"data-slot":`step`,class:j(O.value.step({class:F(u).ui?.step,step:D(n)}))},[z(t.$slots,`step-${n}`,{step:e},()=>[I(T(e),1)])],2))),128))],6)):M(``,!0)]),_:3},8,[`as`,`data-orientation`,`class`]))}},ur={slots:{root:`relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5`,wrapper:`w-0 flex-1 flex flex-col`,title:`text-sm font-medium text-highlighted`,description:`text-sm text-muted`,icon:`shrink-0 size-5`,avatar:`shrink-0`,avatarSize:`2xl`,actions:`flex gap-1.5 shrink-0`,progress:`absolute inset-x-0 bottom-0`,close:`p-0`},variants:{color:{primary:{root:`outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`,icon:`text-primary`},secondary:{root:`outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`,icon:`text-secondary`},success:{root:`outline-success/25 focus-visible:outline-3 focus-visible:ring-success`,icon:`text-success`},info:{root:`outline-info/25 focus-visible:outline-3 focus-visible:ring-info`,icon:`text-info`},warning:{root:`outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`,icon:`text-warning`},error:{root:`outline-error/25 focus-visible:outline-3 focus-visible:ring-error`,icon:`text-error`},neutral:{root:`outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`,icon:`text-highlighted`}},orientation:{horizontal:{root:`items-center`,actions:`items-center`},vertical:{root:`items-start`,actions:`items-start mt-2.5`}},title:{true:{description:`mt-1`}}},defaultVariants:{color:`primary`}},dr={__name:`Toast`,props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`vertical`},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},duration:{type:Number,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(t,{expose:n,emit:i}){let c=t,l=i,d=r(),f=ae(`toast`,c),{t:p}=x(),m=Ue(),h=Je(s(f,`as`,`defaultOpen`,`open`,`duration`,`type`),l),g=H(()=>_e({extend:ur,...m.ui?.toast||{}})({color:f.color,orientation:f.orientation,title:!!f.title||!!d.title})),_=ue(`rootRef`),v=B(0);return Se(()=>{_.value?.$el?.getBoundingClientRect&&(v.value=_.value.$el.getBoundingClientRect().height)}),n({height:v}),(t,n)=>(P(),V(F($n),R({ref_key:`rootRef`,ref:_},F(h),{"data-orientation":F(f).orientation,"data-slot":`root`,class:g.value.root({class:[F(f).ui?.root,F(f).class]}),style:{"--height":v.value}}),{default:N(({remaining:r,duration:i,open:s})=>[z(t.$slots,`leading`,{ui:g.value},()=>[F(f).avatar?(P(),V(pe,R({key:0,size:F(f).ui?.avatarSize||g.value.avatarSize()},F(f).avatar,{"data-slot":`avatar`,class:g.value.avatar({class:F(f).ui?.avatar})}),null,16,[`size`,`class`])):F(f).icon?(P(),V(Ye,{key:1,name:F(f).icon,"data-slot":`icon`,class:j(g.value.icon({class:F(f).ui?.icon}))},null,8,[`name`,`class`])):M(``,!0)]),ve(`div`,{"data-slot":`wrapper`,class:j(g.value.wrapper({class:F(f).ui?.wrapper}))},[F(f).title||d.title?(P(),V(F(er),{key:0,"data-slot":`title`,class:j(g.value.title({class:F(f).ui?.title}))},{default:N(()=>[z(t.$slots,`title`,{},()=>[typeof F(f).title==`function`?(P(),V(u(F(f).title()),{key:0})):typeof F(f).title==`object`?(P(),V(u(F(f).title),{key:1})):(P(),a(L,{key:2},[I(T(F(f).title),1)],64))])]),_:3},8,[`class`])):M(``,!0),F(f).description||d.description?(P(),V(F(Zn),{key:1,"data-slot":`description`,class:j(g.value.description({class:F(f).ui?.description}))},{default:N(()=>[z(t.$slots,`description`,{},()=>[typeof F(f).description==`function`?(P(),V(u(F(f).description()),{key:0})):typeof F(f).description==`object`?(P(),V(u(F(f).description),{key:1})):(P(),a(L,{key:2},[I(T(F(f).description),1)],64))])]),_:3},8,[`class`])):M(``,!0),F(f).orientation===`vertical`&&(F(f).actions?.length||d.actions)?(P(),a(`div`,{key:2,"data-slot":`actions`,class:j(g.value.actions({class:F(f).ui?.actions}))},[z(t.$slots,`actions`,{},()=>[(P(!0),a(L,null,o(F(f).actions,(t,r)=>(P(),V(F(Xn),{key:r,"alt-text":t.label||`Action`,"as-child":``,onClick:n[0]||=He(()=>{},[`stop`])},{default:N(()=>[e(Ne,R({size:`xs`,color:F(f).color},{ref_for:!0},t),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))])],2)):M(``,!0)],2),F(f).orientation===`horizontal`&&(F(f).actions?.length||d.actions)||F(f).close?(P(),a(`div`,{key:0,"data-slot":`actions`,class:j(g.value.actions({class:F(f).ui?.actions,orientation:`horizontal`}))},[F(f).orientation===`horizontal`&&(F(f).actions?.length||d.actions)?z(t.$slots,`actions`,{},()=>[(P(!0),a(L,null,o(F(f).actions,(t,r)=>(P(),V(F(Xn),{key:r,"alt-text":t.label||`Action`,"as-child":``,onClick:n[1]||=He(()=>{},[`stop`])},{default:N(()=>[e(Ne,R({size:`xs`,color:F(f).color},{ref_for:!0},t),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))],void 0,0):M(``,!0),F(f).close||d.close?(P(),V(F(Yn),{key:1,"as-child":``},{default:N(()=>[z(t.$slots,`close`,{ui:g.value},()=>[F(f).close?(P(),V(Ne,R({key:0,icon:F(f).closeIcon||F(m).ui.icons.close,color:`neutral`,variant:`link`,"aria-label":F(p)(`toast.close`)},typeof F(f).close==`object`?F(f).close:{},{"data-slot":`close`,class:g.value.close({class:F(f).ui?.close}),onClick:n[2]||=He(()=>{},[`stop`])}),null,16,[`icon`,`aria-label`,`class`])):M(``,!0)])]),_:3})):M(``,!0)],2)):M(``,!0),F(f).progress&&s&&r>0&&i?(P(),V(lr,R({key:1,"model-value":r/i*100,color:F(f).color},typeof F(f).progress==`object`?F(f).progress:{},{size:`sm`,"data-slot":`progress`,class:g.value.progress({class:F(f).ui?.progress})}),null,16,[`model-value`,`color`,`class`])):M(``,!0)]),_:3},16,[`data-orientation`,`class`,`style`]))}},fr={slots:{viewport:`fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none`,base:`pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_var(--ease-out)] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_200ms_var(--ease-out)] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out motion-reduce:transition-none`},variants:{position:{"top-left":{viewport:`left-4`},"top-center":{viewport:`left-1/2 transform -translate-x-1/2`},"top-right":{viewport:`right-4`},"bottom-left":{viewport:`left-4`},"bottom-center":{viewport:`left-1/2 transform -translate-x-1/2`},"bottom-right":{viewport:`right-4`}},swipeDirection:{up:`data-[swipe=end]:animate-[toast-slide-up_200ms_var(--ease-out)]`,right:`data-[swipe=end]:animate-[toast-slide-right_200ms_var(--ease-out)]`,down:`data-[swipe=end]:animate-[toast-slide-down_200ms_var(--ease-out)]`,left:`data-[swipe=end]:animate-[toast-slide-left_200ms_var(--ease-out)]`}},compoundVariants:[{position:[`top-left`,`top-center`,`top-right`],class:{viewport:`top-4`,base:`top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_var(--ease-out)]`}},{position:[`bottom-left`,`bottom-center`,`bottom-right`],class:{viewport:`bottom-4`,base:`bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_var(--ease-out)]`}},{swipeDirection:[`left`,`right`],class:`data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0`},{swipeDirection:[`up`,`down`],class:`data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0`}],defaultVariants:{position:`bottom-right`}},pr=Object.assign({name:`Toaster`},{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(t){let n=ae(`toaster`,t),{toasts:r,remove:i}=sr(),c=Ue();U(or,l(()=>n.max));let u=Je(s(n,`duration`,`label`,`swipeThreshold`,`disableSwipe`)),d=Ke(l(()=>n.portal)),f=H(()=>{switch(n.position){case`top-center`:return`up`;case`top-right`:case`bottom-right`:return`right`;case`bottom-center`:return`down`;case`top-left`:case`bottom-left`:return`left`}return`right`}),m=H(()=>_e({extend:fr,...c.ui?.toaster||{}})({position:n.position,swipeDirection:f.value}));function h(e,t){e||i(t)}let g=B(!1),_=H(()=>n.expand||g.value),y=B([]),x=H(()=>y.value.reduce((e,{height:t})=>e+t+16,0)),S=H(()=>y.value[y.value.length-1]?.height||0);function C(e){return y.value.slice(e+1).reduce((e,{height:t})=>e+t+16,0)}return(t,i)=>(P(),V(F(Rn),R({"swipe-direction":f.value},F(u)),{default:N(()=>[z(t.$slots,`default`),(P(!0),a(L,null,o(F(r),(e,t)=>(P(),V(dr,R({key:e.id,ref_for:!0,ref_key:`refs`,ref:y,progress:F(n).progress},{ref_for:!0},F(Ce)(e,[`id`,`close`,`_duplicate`,`_updated`]),{close:e.close,"data-expanded":_.value,"data-front":!_.value&&t===F(r).length-1,"data-pulsing":e._duplicate?e._duplicate%2==0?`even`:`odd`:void 0,style:{"--index":t-F(r).length+F(r).length,"--before":F(r).length-1-t,"--offset":C(t),"--scale":_.value?`1`:`calc(1 - var(--before) * var(--scale-factor))`,"--translate":_.value?`calc(var(--offset) * var(--translate-factor))`:`calc(var(--before) * var(--gap))`,"--transform":`translateY(var(--translate)) scale(var(--scale))`},"data-slot":`base`,class:m.value.base({class:[F(n).ui?.base,e.onClick?`cursor-pointer`:void 0]}),"onUpdate:open":t=>h(t,e.id),onClick:t=>e.onClick&&e.onClick(e)}),null,16,[`progress`,`close`,`data-expanded`,`data-front`,`data-pulsing`,`style`,`class`,`onUpdate:open`,`onClick`]))),128)),e(F(Qn),p(v(F(d))),{default:N(()=>[e(F(nr),{"data-expanded":_.value,"data-slot":`viewport`,class:j(m.value.viewport({class:[F(n).ui?.viewport,F(n).class]})),style:b({"--scale-factor":`0.05`,"--translate-factor":F(n).position?.startsWith(`top`)?`1px`:`-1px`,"--gap":F(n).position?.startsWith(`top`)?`16px`:`-16px`,"--front-height":`${S.value}px`,"--height":`${x.value}px`}),onMouseenter:i[0]||=e=>g.value=!0,onMouseleave:i[1]||=e=>g.value=!1},null,8,[`data-expanded`,`class`,`style`])]),_:1},16)]),_:3},16,[`swipe-direction`]))}});function mr(){let e=oe([]),t=(t,i)=>{let{props:a,defaultOpen:s,destroyOnClose:c}=i||{},l=Xe({id:Symbol(import.meta.dev?`useOverlay`:``),isOpen:!!s,component:Ee(t),isMounted:!!s,destroyOnClose:!!c,originalProps:a||{},props:{...a}});return e.push(l),{...l,open:e=>n(l.id,e),close:e=>r(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);n.props=t?{...n.originalProps,...t}:{...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvePromise=e);return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1,n.resolvePromise&&=(n.resolvePromise(t),void 0)},i=()=>{e.forEach(e=>r(e.id))},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{overlays:e,open:n,close:r,closeAll:i,create:t,patch:o,unmount:a,isOpen:e=>s(e).isOpen}}var hr=Ze(mr),gr={__name:`OverlayProvider`,setup(e){let{overlays:t,unmount:n,close:r}=hr(),i=H(()=>t.filter(e=>e.isMounted)),s=e=>{r(e),n(e)},c=(e,t)=>{r(e,t)};return(e,t)=>(P(!0),a(L,null,o(i.value,e=>(P(),V(u(e.component),R({key:e.id},{ref_for:!0},e.props,{open:e.isOpen,"onUpdate:open":t=>e.isOpen=t,onClose:t=>c(e.id,t),"onAfter:leave":t=>s(e.id)}),null,16,[`open`,`onUpdate:open`,`onClose`,`onAfter:leave`]))),128))}},_r=Object.assign({name:`App`},{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:`body`},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(t){let n=t,r=ie(s(n,`scrollBody`)),a=l(()=>n.tooltip),o=l(()=>n.toaster),c=l(()=>n.locale);U(Be,c);let u=l(()=>n.portal);return U(i,u),(i,s)=>(P(),V(F(_),R({"use-id":()=>E(),dir:n.dir||c.value?.dir,locale:c.value?.code},F(r)),{default:N(()=>[e(F(ar),p(v(a.value)),{default:N(()=>[t.toaster===null?z(i.$slots,`default`,{},void 0,void 0,1):(P(),V(pr,p(R({key:0},o.value)),{default:N(()=>[z(i.$slots,`default`)]),_:3},16)),e(gr)]),_:3},16)]),_:3},16,[`use-id`,`dir`,`locale`]))}});function vr(e){return`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6' fill='${e}'/></svg>`}var yr=`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g transform='translate(0 2)' stroke-linejoin='round' stroke-linecap='round' stroke-width='5'><polygon points='32,30 59,43 32,56 5,43' fill='none' stroke='#15151a'/><polygon points='32,17 59,30 32,43 5,30' fill='#15151a' stroke='#15151a'/><polygon points='32,4 59,17 32,30 5,17' fill='#fafaf7' stroke='#15151a'/><path d='M32 17 L32 30 L19 37 M32 30 L45 37' fill='none' stroke='#1a7f37'/><circle cx='32' cy='17' r='5' fill='#1a7f37' stroke='#fafaf7' stroke-width='3'/><circle cx='19' cy='37' r='5' fill='#1a7f37' stroke='#15151a' stroke-width='3'/><circle cx='45' cy='37' r='5' fill='#1a7f37' stroke='#15151a' stroke-width='3'/></g></svg>`,J=e=>`data:image/svg+xml,${encodeURIComponent(e)}`,br=J(vr(`#2ea043`)),xr=J(vr(`#d29922`)),Sr=J(vr(`#f85149`)),Cr=J(vr(`#6e7681`)),wr=J(yr),Tr={green:br,amber:xr,red:Sr,grey:Cr},Er=.6,Dr=1048576,Or=.05;function kr(e,t={}){let n=(e.parts.mirror??0)+(e.parts.checkout??0),r=t.depsBackupInFlight?e.parts.deps??0:0,i=Math.round((n+r)*Er),a=Math.max(Dr,Math.round(e.totalKiB*Or));return{stagingKiB:i,floorKiB:a,totalKiB:i+a}}var Ar=.25;function jr(e,t){return t===`reuse`?0:e.checkout===null?null:t===`hardlink`?e.checkout:e.deps===null?null:e.checkout+Math.round(e.deps*Ar)}function Mr(e,t){let n=t===void 0?1/0:t*1024,r=n<e.totalKiB,i=r?n:e.totalKiB;return{capacityKiB:i,freeKiB:Math.max(0,Math.min(e.freeKiB,i-e.usedKiB)),capped:r}}function Nr(e){if(e==null||!Number.isFinite(e))return`?`;let t=e/1048576;return`${t<10?t.toFixed(2):t.toFixed(1)} GiB`}function Pr(e){let t=e.totalKiB>0?Math.round(e.usedKiB/e.totalKiB*100):0;return`${Nr(e.usedKiB)}/${Nr(e.totalKiB)} (${t}%)`}var Fr=/^[a-z0-9](?:[a-z0-9-]{0,37}[a-z0-9])?\/[a-z0-9](?:[a-z0-9._-]{0,98}[a-z0-9])?$/;function Ir(e){switch(e){case`warm`:return`green`;case`onboarding`:case`refreshing`:case`restoring`:return`amber`;case`degraded`:case`down`:return`red`;default:return`grey`}}function Lr(e){if(e.length===0)return`grey`;let t=new Set(e.map(e=>Ir(Vr(X(e)).state)));return t.has(`red`)?`red`:t.has(`amber`)?`amber`:t.size===1&&t.has(`green`)?`green`:`grey`}var Y=e=>typeof e==`string`?e:typeof e==`number`?String(e):``,X=e=>e&&typeof e==`object`?e:{};function Rr(e){return Y(e.resource).replace(/^repo:/,``)}var Z=e=>typeof e==`number`&&Number.isFinite(e)&&e>=0?e:null,zr=e=>{let t={};for(let[n,r]of Object.entries(X(e))){let e=Z(r);e!==null&&(t[n]=e)}return t};function Br(e){let t=X(Vr(e).disk),n=Z(t.totalKiB),r=Z(t.usedKiB),i=Z(t.freeKiB);if(n===null||r===null||i===null)return null;let a=X(t.parts);return{at:Y(t.at),totalKiB:n,usedKiB:r,freeKiB:i,parts:{mirror:Z(a.mirror),deps:Z(a.deps),checkout:Z(a.checkout),threads:zr(a.threads),homes:zr(a.homes),other:Z(a.other)??0}}}function Vr(e){let t=X(e.live);return typeof t.error==`string`?{...t,state:`unreachable`,reason:t.error}:{...t,state:Y(t.state)||`unknown`,reason:Y(t.reason)}}function Hr(e){let t=Vr(e).threads;return Array.isArray(t)?t.filter(e=>typeof e==`object`&&!!e).map(e=>({threadKey:Y(e.threadKey),ref:Y(e.ref),sha:Y(e.sha),user:Y(e.user),deps:Y(e.deps),boundAt:Y(e.boundAt),lastAttachAt:Y(e.lastAttachAt),evicted:e.evicted===!0,evictedAt:Y(e.evictedAt),evictedWhy:Y(e.evictedWhy)})).sort((e,t)=>t.lastAttachAt.localeCompare(e.lastAttachAt)):[]}function Ur(e,t){return[...e].filter(e=>!e.finished&&e.repo===t).sort((e,t)=>e.startedAt-t.startedAt)}function Wr(e,t){if(t)return e.find(e=>!e.evicted&&e.threadKey===t)}function Gr(e,t){return e&&Object.hasOwn(e.parts.threads,t)?e.parts.threads[t]:null}function Kr(e,t){let n=kr(e),{freeKiB:r,capped:i,capacityKiB:a}=Mr(e,t),o=Math.max(0,r-n.totalKiB),s=t=>{let n=jr(e.parts,t);return n===null||n===0?null:Math.floor(o/n)};return{freeKiB:r,capped:i,capacityKiB:a,reserve:n,headroomKiB:o,room:{hardlink:s(`hardlink`),reconcile:s(`reconcile`)}}}function qr(e,t){if(t&&typeof t==`object`){if(t.type===`upsert`){let n=t.run;if(!n||typeof n.id!=`string`)return;n.finished?e.runs.delete(n.id):e.runs.set(n.id,n)}else t.type===`removed`?typeof t.id==`string`&&e.runs.delete(t.id):t.type===`residents`&&(e.cap=t.cap,e.count=t.count,e.residents=Array.isArray(t.residents)?t.residents:[])}}function Jr(e){switch(e.page){case`runs`:case`run`:return Cr;case`residents`:return Tr[Lr(e.residents)];default:return wr}}var Yr=k({__name:`SeedScope`,props:{seed:{}},setup(e){let t=e;return U(Ve,t.seed),t.seed&&(Ge.setTitle(t.seed.title),Ge.setFavicon(Jr(t.seed))),(e,t)=>z(e.$slots,`default`)}}),Xr=Symbol(`sb-seed-routing`);function Zr(e){let t=e.fullPath.indexOf(`#`);return t===-1?e.fullPath:e.fullPath.slice(0,t)}function Qr(e,t){let n=qe(null),r=B(!1),i=0;return e.beforeResolve(async(e,a)=>{let o=++i;r.value=!1;let s=Zr(e);if(a===A)return n.value={address:s,seed:t.island},!0;if(s===Zr(a))return!0;r.value=!0;try{let r=await t.load(s);return o===i?r===null?(t.leave(e.fullPath),!1):(n.value={address:s,seed:r},!0):!1}catch{return o===i&&t.leave(e.fullPath),!1}finally{o===i&&(r.value=!1)}}),{seedAt:e=>n.value?.address===e?n.value.seed:null,loading:r}}var $r={key:0,class:`sb-nav-progress fixed inset-x-0 top-0 z-50 h-0.5 overflow-hidden`,role:`progressbar`,"aria-label":`Loading page`,"data-testid":`nav-progress`},ei=k({__name:`App`,setup(t){let n=te(),r=fe(Xr);if(!r)throw Error(`App needs the seed routing main.ts installs`);return(t,i)=>{let o=ce(`RouterView`),s=_r;return P(),V(s,null,{default:N(()=>[F(r).loading.value?(P(),a(`div`,$r,[...i[0]||=[ve(`div`,{class:`h-full w-1/3 bg-(--ui-text-highlighted) motion-safe:animate-[sb-nav-progress_1s_ease-in-out_infinite]`},null,-1)]])):M(``,!0),e(o,null,{default:N(({Component:e})=>[e?(P(),V(Yr,{key:F(Zr)(F(n)),seed:F(r).seedAt(F(Zr)(F(n)))},{default:N(()=>[(P(),V(u(e)))]),_:2},1032,[`seed`])):M(``,!0)]),_:1})]),_:1})}}}),ti=`modulepreload`,ni=function(e){return`/`+e},ri={},Q=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=ni(t,n),t=s(t),t in ri)return;ri[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:ti,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},ii=[{path:`/threads`,component:()=>Q(()=>import(`./HomePage-B2Y-Fa9V.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))},{path:`/threads/:id`,component:()=>Q(()=>import(`./HomePage-B2Y-Fa9V.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))},{path:`/runs`,component:()=>Q(()=>import(`./RunsIndexPage-C7hx5O1X.js`),__vite__mapDeps([15,1,2,3,16,11,9,12,5,6,7,14,10,17,18]))},{path:`/runs/scheduled`,component:()=>Q(()=>import(`./ScheduledPage-Dk2kMnYT.js`),__vite__mapDeps([19,1,2,3,9,12,7,17]))},{path:`/runs/unit/:key`,component:()=>Q(()=>import(`./UnitRoutePage-BjfuZVWr.js`),__vite__mapDeps([20,1,2,21,9,12,5,6,7,22,14,8,10,18,3,23,17]))},{path:`/runs/:id`,component:()=>Q(()=>import(`./RunRoutePage-DppLhu79.js`),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,22,14,18,23,17,25]))},{path:`/residents`,component:()=>Q(()=>import(`./ResidentsIndexPage-EHKMtX69.js`),__vite__mapDeps([26,1,2,3,11,9,12,5,6,7,18]))},{path:`/residents/:owner/:name`,component:()=>Q(()=>import(`./ResidentDetailPage-DRNwx2--.js`),__vite__mapDeps([27,1,2,18,3]))},{path:`/costs/:group?`,component:()=>Q(()=>import(`./CostsPage-8HDgvuWB.js`),__vite__mapDeps([28,1,2,29,30,11,31,9]))},{path:`/metrics`,component:()=>Q(()=>import(`./MetricsPage-BQBuIuYU.js`),__vite__mapDeps([32,1,2,29,30]))},{path:`/plane`,component:()=>Q(()=>import(`./PlanePage-CfrbMh8t.js`),__vite__mapDeps([33,1,2,4,5,6,7,8,9,10,13,11,12]))},{path:`/delivery/:owner?/:name?`,component:()=>Q(()=>import(`./DeliveryPage-BUJckSuW.js`),__vite__mapDeps([34,1,2,30,9,6]))},{path:`/settings/:tab?/:channel?`,component:()=>Q(()=>import(`./SettingsPage-DAf6R383.js`),__vite__mapDeps([35,1,2,21,3,16,31,5,6,7]))},{path:`/:pathMatch(.*)*`,component:()=>Q(()=>import(`./NotFoundPage-CDjMfCcj.js`).then(e=>e.n),__vite__mapDeps([23,1,2,17]))}],$=D(ei),ai=t({history:Ae(),routes:ii,scrollBehavior(e,t,n){if(n)return n;if(e.hash){let t=document.getElementById(decodeURIComponent(e.hash.slice(1)));return t?{el:t}:!1}return{top:0}}}),oi=Qr(ai,{island:me(),load:Oe,leave:Ge.leave});Ie(e=>void ai.push(e)),$.provide(Xr,oi),$.use(ai),$.use(Dn),$.mount(`#app`);export{rr as S,Nr as _,Kr as a,Cr as b,Vr as c,Hr as d,Lr as f,Pr as g,Gr as h,Wr as i,Rr as l,Y as m,Fr as n,X as o,Ur as p,qr as r,Br as s,Q as t,Ir as u,jr as v,br as x,Tr as y};
28
+ `),(P(!0),a(L,null,o(D.value,(e,t)=>(P(),a(L,{key:t},[I(T(e),1)],64))),128))]),_:1},8,[`aria-live`])):M(`v-if`,!0),F(u).viewport.value?(P(),V(ze,{key:1,to:F(u).viewport.value},[e(F(l),null,{default:N(()=>[e(F(y),R({ref:F(s),tabindex:`0`},t.$attrs,{as:t.as,"as-child":t.asChild,"data-state":t.open?`open`:`closed`,"data-swipe-direction":F(u).swipeDirection.value,style:F(u).disableSwipe.value?void 0:{userSelect:`none`,touchAction:`none`},onPointerdown:n[0]||=He(e=>{F(u).disableSwipe.value||(d.value={x:e.clientX,y:e.clientY})},[`left`]),onPointermove:n[1]||=e=>{if(F(u).disableSwipe.value||!d.value)return;let t=e.clientX-d.value.x,n=e.clientY-d.value.y,r=!!p.value,a=[`left`,`right`].includes(F(u).swipeDirection.value),o=[`left`,`up`].includes(F(u).swipeDirection.value)?Math.min:Math.max,s=a?o(0,t):0,c=a?0:o(0,n),l=e.pointerType===`touch`?10:2,f={x:s,y:c},m={originalEvent:e,delta:f};r?(p.value=f,F(Hn)(F(`toast.swipeMove`),e=>i(`swipeMove`,e),m)):F(Un)(f,F(u).swipeDirection.value,l)?(p.value=f,F(Hn)(F(`toast.swipeStart`),e=>i(`swipeStart`,e),m),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(n)>l)&&(d.value=null)},onPointerup:n[2]||=e=>{if(F(u).disableSwipe.value)return;let t=p.value,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),p.value=null,d.value=null,t){let n=e.currentTarget,r={originalEvent:e,delta:t};F(Un)(t,F(u).swipeDirection.value,F(u).swipeThreshold.value)?F(Hn)(F(`toast.swipeEnd`),e=>i(`swipeEnd`,e),r):F(Hn)(F(`toast.swipeCancel`),e=>i(`swipeCancel`,e),r),n?.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}}}),{default:N(()=>[z(t.$slots,`default`,{remaining:x.value,duration:h.value})]),_:3},16,[`as`,`as-child`,`data-state`,`data-swipe-direction`,`style`])]),_:3})],8,[`to`])):M(`v-if`,!0)],64))}}),Yn=k({__name:`ToastClose`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(t){let n=t,r=Kn(),{forwardRef:i}=W();return(t,a)=>(P(),V(Fn,{"as-child":``},{default:N(()=>[e(F(y),R(n,{ref:F(i),type:t.as===`button`?`button`:void 0,onClick:F(r).onClose}),{default:N(()=>[z(t.$slots,`default`)]),_:3},16,[`type`,`onClick`])]),_:3}))}}),Xn=k({__name:`ToastAction`,props:{altText:{type:String,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){if(!t.altText)throw Error("Missing prop `altText` expected on `ToastAction`");let{forwardRef:n}=W();return(t,r)=>t.altText?(P(),V(Fn,{key:0,"alt-text":t.altText,"as-child":``},{default:N(()=>[e(Yn,{ref:F(n),as:t.as,"as-child":t.asChild},{default:N(()=>[z(t.$slots,`default`)]),_:3},8,[`as`,`as-child`])]),_:3},8,[`alt-text`])):M(`v-if`,!0)}}),Zn=k({__name:`ToastDescription`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return W(),(e,n)=>(P(),V(F(y),p(v(t)),{default:N(()=>[z(e.$slots,`default`)]),_:3},16))}}),Qn=k({__name:`ToastPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(P(),V(F(c),p(v(t)),{default:N(()=>[z(e.$slots,`default`)]),_:3},16))}}),$n=k({__name:`ToastRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!0},forceMount:{type:Boolean,required:!1},type:{type:String,required:!1,default:`foreground`},open:{type:Boolean,required:!1,default:void 0},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`li`}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(t,{emit:n}){let r=t,i=n,{forwardRef:a}=W(),o=Te(r,`open`,i,{defaultValue:r.defaultOpen,passive:r.open===void 0});return(t,n)=>(P(),V(F(w),{present:t.forceMount||F(o)},{default:N(()=>[e(Jn,R({ref:F(a),open:F(o),type:t.type,as:t.as,"as-child":t.asChild,duration:t.duration},t.$attrs,{onClose:n[0]||=e=>o.value=!1,onPause:n[1]||=e=>i(`pause`),onResume:n[2]||=e=>i(`resume`),onEscapeKeyDown:n[3]||=e=>i(`escapeKeyDown`,e),onSwipeStart:n[4]||=e=>{i(`swipeStart`,e),e.defaultPrevented||e.currentTarget.setAttribute(`data-swipe`,`start`)},onSwipeMove:n[5]||=e=>{if(i(`swipeMove`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`move`),r.style.setProperty(`--reka-toast-swipe-move-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-move-y`,`${n}px`)}},onSwipeCancel:n[6]||=e=>{if(i(`swipeCancel`,e),!e.defaultPrevented){let t=e.currentTarget;t.setAttribute(`data-swipe`,`cancel`),t.style.removeProperty(`--reka-toast-swipe-move-x`),t.style.removeProperty(`--reka-toast-swipe-move-y`),t.style.removeProperty(`--reka-toast-swipe-end-x`),t.style.removeProperty(`--reka-toast-swipe-end-y`)}},onSwipeEnd:n[7]||=e=>{if(i(`swipeEnd`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`end`),r.style.removeProperty(`--reka-toast-swipe-move-x`),r.style.removeProperty(`--reka-toast-swipe-move-y`),r.style.setProperty(`--reka-toast-swipe-end-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-end-y`,`${n}px`),o.value=!1}}}),{default:N(({remaining:e,duration:n})=>[z(t.$slots,`default`,{remaining:e,duration:n,open:F(o)})]),_:3},16,[`open`,`type`,`as`,`as-child`,`duration`])]),_:3},8,[`present`]))}}),er=k({__name:`ToastTitle`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return W(),(e,n)=>(P(),V(F(y),p(v(t)),{default:N(()=>[z(e.$slots,`default`)]),_:3},16))}}),tr=k({__name:`FocusProxy`,emits:[`focusFromOutsideViewport`],setup(e,{emit:t}){let n=t,r=In();return(e,t)=>(P(),V(F(se),{tabindex:`0`,style:{position:`fixed`},onFocus:t[0]||=e=>{let t=e.relatedTarget;F(r).viewport.value?.contains(t)||n(`focusFromOutsideViewport`)}},{default:N(()=>[z(e.$slots,`default`)]),_:3}))}}),nr=k({inheritAttrs:!1,__name:`ToastViewport`,props:{hotkey:{type:Array,required:!1,default:()=>[`F8`]},label:{type:[String,Function],required:!1,default:`Notifications ({hotkey})`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`ol`}},setup(t){let{hotkey:n,label:r}=ne(t),{forwardRef:i,currentElement:a}=W(),{CollectionSlot:o,getItems:s}=f(),c=In(),l=H(()=>c.toastCount.value>0),u=B(),d=B(),p=/Key/g,h=/Digit/g,g=H(()=>n.value.join(`+`).replace(p,``).replace(h,``));ge(n.value,()=>{a.value.focus()}),Se(()=>{c.onViewportChange(a.value)}),C(e=>{let t=a.value;if(l.value&&t){let n=()=>{if(!c.isClosePausedRef.value){let e=new CustomEvent(Bn);t.dispatchEvent(e),c.isClosePausedRef.value=!0}},r=()=>{if(c.isClosePausedRef.value){let e=new CustomEvent(Vn);t.dispatchEvent(e),c.isClosePausedRef.value=!1}},i=e=>{t.contains(e.relatedTarget)||r()},a=()=>{t.contains(m())||r()},o=e=>{let n=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!n){let n=m(),r=e.shiftKey;if(e.target===t&&r){u.value?.focus();return}let i=_({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);O(i.slice(a+1))?e.preventDefault():r?u.value?.focus():d.value?.focus()}};t.addEventListener(`focusin`,n),t.addEventListener(`focusout`,i),t.addEventListener(`pointermove`,n),t.addEventListener(`pointerleave`,a),t.addEventListener(`keydown`,o),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),e(()=>{t.removeEventListener(`focusin`,n),t.removeEventListener(`focusout`,i),t.removeEventListener(`pointermove`,n),t.removeEventListener(`pointerleave`,a),t.removeEventListener(`keydown`,o),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)})}});function _({tabbingDirection:e}){let t=s().map(e=>e.ref).map(t=>{let n=[t,...ee(t)];return e===`forwards`?n:n.reverse()});return(e===`forwards`?t.reverse():t).flat()}return(t,n)=>(P(),V(F(On),{role:`region`,"aria-label":typeof F(r)==`string`?F(r).replace(`{hotkey}`,g.value):F(r)(g.value),tabindex:`-1`,style:b({pointerEvents:l.value?void 0:`none`})},{default:N(()=>[l.value?(P(),V(tr,{key:0,ref:e=>{e&&(u.value=F(Le)(e))},onFocusFromOutsideViewport:n[0]||=()=>{let e=_({tabbingDirection:`forwards`});F(O)(e)}},null,512)):M(`v-if`,!0),e(F(o),null,{default:N(()=>[e(F(y),R({ref:F(i),tabindex:`-1`,as:t.as,"as-child":t.asChild},t.$attrs),{default:N(()=>[z(t.$slots,`default`)]),_:3},16,[`as`,`as-child`])]),_:3}),l.value?(P(),V(tr,{key:1,ref:e=>{e&&(d.value=F(Le)(e))},onFocusFromOutsideViewport:n[1]||=()=>{let e=_({tabbingDirection:`backwards`});F(O)(e)}},null,512)):M(`v-if`,!0)]),_:3},8,[`aria-label`,`style`]))}}),[rr,ir]=S(`TooltipProvider`),ar=k({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){let{delayDuration:t,skipDelayDuration:n,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:a,disabled:o,content:s}=ne(e);W();let c=B(!0),l=B(!1),{start:u,stop:d}=re(()=>{c.value=!0},n,{immediate:!1});return ir({isOpenDelayed:c,delayDuration:t,onOpen(){d(),c.value=!1},onClose(){u()},isPointerInTransitRef:l,disableHoverableContent:r,disableClosingTrigger:i,disabled:o,ignoreNonKeyboardFocus:a,content:s}),(e,t)=>z(e.$slots,`default`)}}),or=Symbol(`nuxt-ui.toast-max`);function sr(){let e=gn(`toasts`,()=>[]),t=fe(or,void 0),n=B(!1),r=[],i=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;function a(t,n){e.value[t]={...e.value[t],...n,_duplicate:(e.value[t]._duplicate||0)+1}}async function o(){if(!(n.value||r.length===0)){for(n.value=!0;r.length>0;){await ke();let n=r.shift(),i=t?.value??5;if(i<=0){e.value.length&&(e.value=[]);continue}let o=e.value.findIndex(e=>e.id===n.id);if(o!==-1){a(o,n);continue}e.value=[...e.value,n].slice(-i)}n.value=!1}}function s(t){let n={id:i(),open:!0,...t},s=e.value.findIndex(e=>e.id===n.id);return s===-1?(r.push(n),o(),n):(a(s,n),n)}function c(t,n){let r=e.value.findIndex(e=>e.id===t);r!==-1&&(e.value[r]={...e.value[r],...n,duration:n.duration,open:!0,_updated:!0},ke(()=>{let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated&&(e.value[n]={...e.value[n],_updated:void 0})}))}function l(t){let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated||(n!==-1&&(e.value[n]={...e.value[n],open:!1}),setTimeout(()=>{e.value=e.value.filter(e=>e.id!==t)},200))}function u(){e.value=[]}return{toasts:e,add:s,update:c,remove:l,clear:u}}var cr={slots:{root:`gap-2`,base:`relative overflow-hidden rounded-full bg-accented`,indicator:`rounded-full size-full transition-transform duration-200 ease-out motion-reduce:transition-none motion-reduce:data-[state=indeterminate]:animate-pulse`,status:`flex text-dimmed duration-200 ease-out motion-reduce:transition-none`,steps:`grid items-end`,step:`truncate text-end row-start-1 col-start-1 transition-opacity ease-out`},variants:{animation:{carousel:``,"carousel-inverse":``,swing:``,elastic:``},color:{primary:{indicator:`bg-primary`,steps:`text-primary`},secondary:{indicator:`bg-secondary`,steps:`text-secondary`},success:{indicator:`bg-success`,steps:`text-success`},info:{indicator:`bg-info`,steps:`text-info`},warning:{indicator:`bg-warning`,steps:`text-warning`},error:{indicator:`bg-error`,steps:`text-error`},neutral:{indicator:`bg-inverted`,steps:`text-highlighted`}},size:{"2xs":{status:`text-xs`,steps:`text-xs`},xs:{status:`text-xs`,steps:`text-xs`},sm:{status:`text-sm`,steps:`text-sm`},md:{status:`text-sm`,steps:`text-sm`},lg:{status:`text-sm`,steps:`text-sm`},xl:{status:`text-base`,steps:`text-base`},"2xl":{status:`text-base`,steps:`text-base`}},step:{active:{step:`opacity-100`},first:{step:`opacity-100 text-muted`},other:{step:`opacity-0`},last:{step:``}},orientation:{horizontal:{root:`w-full flex flex-col`,base:`w-full`,status:`flex-row items-center justify-end w-(--percent) min-w-fit transition-[width]`},vertical:{root:`h-full flex flex-row-reverse`,base:`h-full`,status:`flex-col justify-end h-(--percent) min-h-fit transition-[height]`}},inverted:{true:{status:`self-end`}}},compoundVariants:[{inverted:!0,orientation:`horizontal`,class:{step:`text-start`,status:`flex-row-reverse`}},{inverted:!0,orientation:`vertical`,class:{steps:`items-start`,status:`flex-col-reverse`}},{orientation:`horizontal`,size:`2xs`,class:`h-px`},{orientation:`horizontal`,size:`xs`,class:`h-0.5`},{orientation:`horizontal`,size:`sm`,class:`h-1`},{orientation:`horizontal`,size:`md`,class:`h-2`},{orientation:`horizontal`,size:`lg`,class:`h-3`},{orientation:`horizontal`,size:`xl`,class:`h-4`},{orientation:`horizontal`,size:`2xl`,class:`h-5`},{orientation:`vertical`,size:`2xs`,class:`w-px`},{orientation:`vertical`,size:`xs`,class:`w-0.5`},{orientation:`vertical`,size:`sm`,class:`w-1`},{orientation:`vertical`,size:`md`,class:`w-2`},{orientation:`vertical`,size:`lg`,class:`w-3`},{orientation:`vertical`,size:`xl`,class:`w-4`},{orientation:`vertical`,size:`2xl`,class:`w-5`},{orientation:`horizontal`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing-vertical_2s_var(--ease-in-out)_infinite]`}},{orientation:`horizontal`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic-vertical_2s_var(--ease-in-out)_infinite]`}}],defaultVariants:{animation:`carousel`,color:`primary`,size:`md`}},lr={__name:`Progress`,props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:[`update:modelValue`,`update:max`],setup(t,{emit:n}){let i=t,c=n,l=r(),u=ae(`progress`,i),{dir:d}=x(),f=Ue(),p=Je(s(u,`getValueLabel`,`getValueText`,`modelValue`),c),m=H(()=>p.value.modelValue===null),h=H(()=>Array.isArray(u.max)),g=H(()=>{if(!m.value&&u.max)return Array.isArray(u.max)?u.max.length-1:Number(u.max)}),_=H(()=>{if(!m.value)switch(!0){case p.value.modelValue<0:return 0;case p.value.modelValue>(g.value??100):return 100;default:return Math.round(p.value.modelValue/(g.value??100)*100)}}),v=H(()=>{if(_.value!==void 0)return u.orientation===`vertical`?{transform:`translateY(${u.inverted?``:`-`}${100-_.value}%)`}:d.value===`rtl`?{transform:`translateX(${u.inverted?`-`:``}${100-_.value}%)`}:{transform:`translateX(${u.inverted?``:`-`}${100-_.value}%)`}}),S=H(()=>({"--percent":`${Math.max(_.value??0,0)}%`}));function C(e){return e===Number(u.modelValue)}function w(e){return e===0}function E(e){return e===g.value}function D(e){return e=Number(e),C(e)&&!w(e)?`active`:w(e)&&C(e)?`first`:E(e)&&C(e)?`last`:`other`}let O=H(()=>_e({extend:cr,...f.ui?.progress||{}})({animation:u.animation,size:u.size,color:u.color,orientation:u.orientation,inverted:u.inverted})),k=H(()=>Object.keys({...cr.variants?.color,...f.ui?.progress?.variants?.color})),A=H(()=>u.color&&!k.value.includes(u.color)?u.color:void 0);return(t,n)=>(P(),V(F(y),{as:F(u).as,"data-orientation":F(u).orientation,"data-slot":`root`,class:j(O.value.root({class:[F(u).ui?.root,F(u).class]}))},{default:N(()=>[!m.value&&(F(u).status||l.status)?(P(),a(`div`,{key:0,"data-slot":`status`,class:j(O.value.status({class:F(u).ui?.status})),style:b(S.value)},[z(t.$slots,`status`,{percent:_.value},()=>[I(T(_.value)+`% `,1)])],6)):M(``,!0),e(F(Nn),R(F(p),{max:g.value,"data-slot":`base`,class:O.value.base({class:F(u).ui?.base}),style:{transform:`translateZ(0)`}}),{default:N(()=>[e(F(Pn),{"data-slot":`indicator`,class:j(O.value.indicator({class:F(u).ui?.indicator})),style:b([v.value,A.value?{backgroundColor:A.value}:void 0])},null,8,[`class`,`style`])]),_:1},16,[`max`,`class`]),h.value?(P(),a(`div`,{key:1,"data-slot":`steps`,class:j(O.value.steps({class:F(u).ui?.steps})),style:b(A.value?{color:A.value}:void 0)},[(P(!0),a(L,null,o(F(u).max,(e,n)=>(P(),a(`div`,{key:n,"data-slot":`step`,class:j(O.value.step({class:F(u).ui?.step,step:D(n)}))},[z(t.$slots,`step-${n}`,{step:e},()=>[I(T(e),1)])],2))),128))],6)):M(``,!0)]),_:3},8,[`as`,`data-orientation`,`class`]))}},ur={slots:{root:`relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5`,wrapper:`w-0 flex-1 flex flex-col`,title:`text-sm font-medium text-highlighted`,description:`text-sm text-muted`,icon:`shrink-0 size-5`,avatar:`shrink-0`,avatarSize:`2xl`,actions:`flex gap-1.5 shrink-0`,progress:`absolute inset-x-0 bottom-0`,close:`p-0`},variants:{color:{primary:{root:`outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`,icon:`text-primary`},secondary:{root:`outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`,icon:`text-secondary`},success:{root:`outline-success/25 focus-visible:outline-3 focus-visible:ring-success`,icon:`text-success`},info:{root:`outline-info/25 focus-visible:outline-3 focus-visible:ring-info`,icon:`text-info`},warning:{root:`outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`,icon:`text-warning`},error:{root:`outline-error/25 focus-visible:outline-3 focus-visible:ring-error`,icon:`text-error`},neutral:{root:`outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`,icon:`text-highlighted`}},orientation:{horizontal:{root:`items-center`,actions:`items-center`},vertical:{root:`items-start`,actions:`items-start mt-2.5`}},title:{true:{description:`mt-1`}}},defaultVariants:{color:`primary`}},dr={__name:`Toast`,props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`vertical`},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},duration:{type:Number,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(t,{expose:n,emit:i}){let c=t,l=i,d=r(),f=ae(`toast`,c),{t:p}=x(),m=Ue(),h=Je(s(f,`as`,`defaultOpen`,`open`,`duration`,`type`),l),g=H(()=>_e({extend:ur,...m.ui?.toast||{}})({color:f.color,orientation:f.orientation,title:!!f.title||!!d.title})),_=ue(`rootRef`),v=B(0);return Se(()=>{_.value?.$el?.getBoundingClientRect&&(v.value=_.value.$el.getBoundingClientRect().height)}),n({height:v}),(t,n)=>(P(),V(F($n),R({ref_key:`rootRef`,ref:_},F(h),{"data-orientation":F(f).orientation,"data-slot":`root`,class:g.value.root({class:[F(f).ui?.root,F(f).class]}),style:{"--height":v.value}}),{default:N(({remaining:r,duration:i,open:s})=>[z(t.$slots,`leading`,{ui:g.value},()=>[F(f).avatar?(P(),V(pe,R({key:0,size:F(f).ui?.avatarSize||g.value.avatarSize()},F(f).avatar,{"data-slot":`avatar`,class:g.value.avatar({class:F(f).ui?.avatar})}),null,16,[`size`,`class`])):F(f).icon?(P(),V(Ye,{key:1,name:F(f).icon,"data-slot":`icon`,class:j(g.value.icon({class:F(f).ui?.icon}))},null,8,[`name`,`class`])):M(``,!0)]),ve(`div`,{"data-slot":`wrapper`,class:j(g.value.wrapper({class:F(f).ui?.wrapper}))},[F(f).title||d.title?(P(),V(F(er),{key:0,"data-slot":`title`,class:j(g.value.title({class:F(f).ui?.title}))},{default:N(()=>[z(t.$slots,`title`,{},()=>[typeof F(f).title==`function`?(P(),V(u(F(f).title()),{key:0})):typeof F(f).title==`object`?(P(),V(u(F(f).title),{key:1})):(P(),a(L,{key:2},[I(T(F(f).title),1)],64))])]),_:3},8,[`class`])):M(``,!0),F(f).description||d.description?(P(),V(F(Zn),{key:1,"data-slot":`description`,class:j(g.value.description({class:F(f).ui?.description}))},{default:N(()=>[z(t.$slots,`description`,{},()=>[typeof F(f).description==`function`?(P(),V(u(F(f).description()),{key:0})):typeof F(f).description==`object`?(P(),V(u(F(f).description),{key:1})):(P(),a(L,{key:2},[I(T(F(f).description),1)],64))])]),_:3},8,[`class`])):M(``,!0),F(f).orientation===`vertical`&&(F(f).actions?.length||d.actions)?(P(),a(`div`,{key:2,"data-slot":`actions`,class:j(g.value.actions({class:F(f).ui?.actions}))},[z(t.$slots,`actions`,{},()=>[(P(!0),a(L,null,o(F(f).actions,(t,r)=>(P(),V(F(Xn),{key:r,"alt-text":t.label||`Action`,"as-child":``,onClick:n[0]||=He(()=>{},[`stop`])},{default:N(()=>[e(Ne,R({size:`xs`,color:F(f).color},{ref_for:!0},t),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))])],2)):M(``,!0)],2),F(f).orientation===`horizontal`&&(F(f).actions?.length||d.actions)||F(f).close?(P(),a(`div`,{key:0,"data-slot":`actions`,class:j(g.value.actions({class:F(f).ui?.actions,orientation:`horizontal`}))},[F(f).orientation===`horizontal`&&(F(f).actions?.length||d.actions)?z(t.$slots,`actions`,{},()=>[(P(!0),a(L,null,o(F(f).actions,(t,r)=>(P(),V(F(Xn),{key:r,"alt-text":t.label||`Action`,"as-child":``,onClick:n[1]||=He(()=>{},[`stop`])},{default:N(()=>[e(Ne,R({size:`xs`,color:F(f).color},{ref_for:!0},t),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))],void 0,0):M(``,!0),F(f).close||d.close?(P(),V(F(Yn),{key:1,"as-child":``},{default:N(()=>[z(t.$slots,`close`,{ui:g.value},()=>[F(f).close?(P(),V(Ne,R({key:0,icon:F(f).closeIcon||F(m).ui.icons.close,color:`neutral`,variant:`link`,"aria-label":F(p)(`toast.close`)},typeof F(f).close==`object`?F(f).close:{},{"data-slot":`close`,class:g.value.close({class:F(f).ui?.close}),onClick:n[2]||=He(()=>{},[`stop`])}),null,16,[`icon`,`aria-label`,`class`])):M(``,!0)])]),_:3})):M(``,!0)],2)):M(``,!0),F(f).progress&&s&&r>0&&i?(P(),V(lr,R({key:1,"model-value":r/i*100,color:F(f).color},typeof F(f).progress==`object`?F(f).progress:{},{size:`sm`,"data-slot":`progress`,class:g.value.progress({class:F(f).ui?.progress})}),null,16,[`model-value`,`color`,`class`])):M(``,!0)]),_:3},16,[`data-orientation`,`class`,`style`]))}},fr={slots:{viewport:`fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none`,base:`pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_var(--ease-out)] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_200ms_var(--ease-out)] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out motion-reduce:transition-none`},variants:{position:{"top-left":{viewport:`left-4`},"top-center":{viewport:`left-1/2 transform -translate-x-1/2`},"top-right":{viewport:`right-4`},"bottom-left":{viewport:`left-4`},"bottom-center":{viewport:`left-1/2 transform -translate-x-1/2`},"bottom-right":{viewport:`right-4`}},swipeDirection:{up:`data-[swipe=end]:animate-[toast-slide-up_200ms_var(--ease-out)]`,right:`data-[swipe=end]:animate-[toast-slide-right_200ms_var(--ease-out)]`,down:`data-[swipe=end]:animate-[toast-slide-down_200ms_var(--ease-out)]`,left:`data-[swipe=end]:animate-[toast-slide-left_200ms_var(--ease-out)]`}},compoundVariants:[{position:[`top-left`,`top-center`,`top-right`],class:{viewport:`top-4`,base:`top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_var(--ease-out)]`}},{position:[`bottom-left`,`bottom-center`,`bottom-right`],class:{viewport:`bottom-4`,base:`bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_var(--ease-out)]`}},{swipeDirection:[`left`,`right`],class:`data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0`},{swipeDirection:[`up`,`down`],class:`data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0`}],defaultVariants:{position:`bottom-right`}},pr=Object.assign({name:`Toaster`},{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(t){let n=ae(`toaster`,t),{toasts:r,remove:i}=sr(),c=Ue();U(or,l(()=>n.max));let u=Je(s(n,`duration`,`label`,`swipeThreshold`,`disableSwipe`)),d=Ke(l(()=>n.portal)),f=H(()=>{switch(n.position){case`top-center`:return`up`;case`top-right`:case`bottom-right`:return`right`;case`bottom-center`:return`down`;case`top-left`:case`bottom-left`:return`left`}return`right`}),m=H(()=>_e({extend:fr,...c.ui?.toaster||{}})({position:n.position,swipeDirection:f.value}));function h(e,t){e||i(t)}let g=B(!1),_=H(()=>n.expand||g.value),y=B([]),x=H(()=>y.value.reduce((e,{height:t})=>e+t+16,0)),S=H(()=>y.value[y.value.length-1]?.height||0);function C(e){return y.value.slice(e+1).reduce((e,{height:t})=>e+t+16,0)}return(t,i)=>(P(),V(F(Rn),R({"swipe-direction":f.value},F(u)),{default:N(()=>[z(t.$slots,`default`),(P(!0),a(L,null,o(F(r),(e,t)=>(P(),V(dr,R({key:e.id,ref_for:!0,ref_key:`refs`,ref:y,progress:F(n).progress},{ref_for:!0},F(Ce)(e,[`id`,`close`,`_duplicate`,`_updated`]),{close:e.close,"data-expanded":_.value,"data-front":!_.value&&t===F(r).length-1,"data-pulsing":e._duplicate?e._duplicate%2==0?`even`:`odd`:void 0,style:{"--index":t-F(r).length+F(r).length,"--before":F(r).length-1-t,"--offset":C(t),"--scale":_.value?`1`:`calc(1 - var(--before) * var(--scale-factor))`,"--translate":_.value?`calc(var(--offset) * var(--translate-factor))`:`calc(var(--before) * var(--gap))`,"--transform":`translateY(var(--translate)) scale(var(--scale))`},"data-slot":`base`,class:m.value.base({class:[F(n).ui?.base,e.onClick?`cursor-pointer`:void 0]}),"onUpdate:open":t=>h(t,e.id),onClick:t=>e.onClick&&e.onClick(e)}),null,16,[`progress`,`close`,`data-expanded`,`data-front`,`data-pulsing`,`style`,`class`,`onUpdate:open`,`onClick`]))),128)),e(F(Qn),p(v(F(d))),{default:N(()=>[e(F(nr),{"data-expanded":_.value,"data-slot":`viewport`,class:j(m.value.viewport({class:[F(n).ui?.viewport,F(n).class]})),style:b({"--scale-factor":`0.05`,"--translate-factor":F(n).position?.startsWith(`top`)?`1px`:`-1px`,"--gap":F(n).position?.startsWith(`top`)?`16px`:`-16px`,"--front-height":`${S.value}px`,"--height":`${x.value}px`}),onMouseenter:i[0]||=e=>g.value=!0,onMouseleave:i[1]||=e=>g.value=!1},null,8,[`data-expanded`,`class`,`style`])]),_:1},16)]),_:3},16,[`swipe-direction`]))}});function mr(){let e=oe([]),t=(t,i)=>{let{props:a,defaultOpen:s,destroyOnClose:c}=i||{},l=Xe({id:Symbol(import.meta.dev?`useOverlay`:``),isOpen:!!s,component:Ee(t),isMounted:!!s,destroyOnClose:!!c,originalProps:a||{},props:{...a}});return e.push(l),{...l,open:e=>n(l.id,e),close:e=>r(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);n.props=t?{...n.originalProps,...t}:{...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvePromise=e);return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1,n.resolvePromise&&=(n.resolvePromise(t),void 0)},i=()=>{e.forEach(e=>r(e.id))},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{overlays:e,open:n,close:r,closeAll:i,create:t,patch:o,unmount:a,isOpen:e=>s(e).isOpen}}var hr=Ze(mr),gr={__name:`OverlayProvider`,setup(e){let{overlays:t,unmount:n,close:r}=hr(),i=H(()=>t.filter(e=>e.isMounted)),s=e=>{r(e),n(e)},c=(e,t)=>{r(e,t)};return(e,t)=>(P(!0),a(L,null,o(i.value,e=>(P(),V(u(e.component),R({key:e.id},{ref_for:!0},e.props,{open:e.isOpen,"onUpdate:open":t=>e.isOpen=t,onClose:t=>c(e.id,t),"onAfter:leave":t=>s(e.id)}),null,16,[`open`,`onUpdate:open`,`onClose`,`onAfter:leave`]))),128))}},_r=Object.assign({name:`App`},{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:`body`},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(t){let n=t,r=ie(s(n,`scrollBody`)),a=l(()=>n.tooltip),o=l(()=>n.toaster),c=l(()=>n.locale);U(Be,c);let u=l(()=>n.portal);return U(i,u),(i,s)=>(P(),V(F(_),R({"use-id":()=>E(),dir:n.dir||c.value?.dir,locale:c.value?.code},F(r)),{default:N(()=>[e(F(ar),p(v(a.value)),{default:N(()=>[t.toaster===null?z(i.$slots,`default`,{},void 0,void 0,1):(P(),V(pr,p(R({key:0},o.value)),{default:N(()=>[z(i.$slots,`default`)]),_:3},16)),e(gr)]),_:3},16)]),_:3},16,[`use-id`,`dir`,`locale`]))}});function vr(e){return`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6' fill='${e}'/></svg>`}var yr=`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g transform='translate(0 2)' stroke-linejoin='round' stroke-linecap='round' stroke-width='5'><polygon points='32,30 59,43 32,56 5,43' fill='none' stroke='#15151a'/><polygon points='32,17 59,30 32,43 5,30' fill='#15151a' stroke='#15151a'/><polygon points='32,4 59,17 32,30 5,17' fill='#fafaf7' stroke='#15151a'/><path d='M32 17 L32 30 L19 37 M32 30 L45 37' fill='none' stroke='#1a7f37'/><circle cx='32' cy='17' r='5' fill='#1a7f37' stroke='#fafaf7' stroke-width='3'/><circle cx='19' cy='37' r='5' fill='#1a7f37' stroke='#15151a' stroke-width='3'/><circle cx='45' cy='37' r='5' fill='#1a7f37' stroke='#15151a' stroke-width='3'/></g></svg>`,J=e=>`data:image/svg+xml,${encodeURIComponent(e)}`,br=J(vr(`#2ea043`)),xr=J(vr(`#d29922`)),Sr=J(vr(`#f85149`)),Cr=J(vr(`#6e7681`)),wr=J(yr),Tr={green:br,amber:xr,red:Sr,grey:Cr},Er=.6,Dr=1048576,Or=.05;function kr(e,t={}){let n=(e.parts.mirror??0)+(e.parts.checkout??0),r=t.depsBackupInFlight?e.parts.deps??0:0,i=Math.round((n+r)*Er),a=Math.max(Dr,Math.round(e.totalKiB*Or));return{stagingKiB:i,floorKiB:a,totalKiB:i+a}}var Ar=.25;function jr(e,t){return t===`reuse`?0:e.checkout===null?null:t===`hardlink`?e.checkout:e.deps===null?null:e.checkout+Math.round(e.deps*Ar)}function Mr(e,t){let n=t===void 0?1/0:t*1024,r=n<e.totalKiB,i=r?n:e.totalKiB;return{capacityKiB:i,freeKiB:Math.max(0,Math.min(e.freeKiB,i-e.usedKiB)),capped:r}}function Nr(e){if(e==null||!Number.isFinite(e))return`?`;let t=e/1048576;return`${t<10?t.toFixed(2):t.toFixed(1)} GiB`}function Pr(e){let t=e.totalKiB>0?Math.round(e.usedKiB/e.totalKiB*100):0;return`${Nr(e.usedKiB)}/${Nr(e.totalKiB)} (${t}%)`}var Fr=/^[a-z0-9](?:[a-z0-9-]{0,37}[a-z0-9])?\/[a-z0-9](?:[a-z0-9._-]{0,98}[a-z0-9])?$/;function Ir(e){switch(e){case`warm`:return`green`;case`onboarding`:case`refreshing`:case`restoring`:return`amber`;case`degraded`:case`down`:return`red`;default:return`grey`}}function Lr(e){if(e.length===0)return`grey`;let t=new Set(e.map(e=>Ir(Vr(X(e)).state)));return t.has(`red`)?`red`:t.has(`amber`)?`amber`:t.size===1&&t.has(`green`)?`green`:`grey`}var Y=e=>typeof e==`string`?e:typeof e==`number`?String(e):``,X=e=>e&&typeof e==`object`?e:{};function Rr(e){return Y(e.resource).replace(/^repo:/,``)}var Z=e=>typeof e==`number`&&Number.isFinite(e)&&e>=0?e:null,zr=e=>{let t={};for(let[n,r]of Object.entries(X(e))){let e=Z(r);e!==null&&(t[n]=e)}return t};function Br(e){let t=X(Vr(e).disk),n=Z(t.totalKiB),r=Z(t.usedKiB),i=Z(t.freeKiB);if(n===null||r===null||i===null)return null;let a=X(t.parts);return{at:Y(t.at),totalKiB:n,usedKiB:r,freeKiB:i,parts:{mirror:Z(a.mirror),deps:Z(a.deps),checkout:Z(a.checkout),threads:zr(a.threads),homes:zr(a.homes),other:Z(a.other)??0}}}function Vr(e){let t=X(e.live);return typeof t.error==`string`?{...t,state:`unreachable`,reason:t.error}:{...t,state:Y(t.state)||`unknown`,reason:Y(t.reason)}}function Hr(e){let t=Vr(e).threads;return Array.isArray(t)?t.filter(e=>typeof e==`object`&&!!e).map(e=>({threadKey:Y(e.threadKey),ref:Y(e.ref),sha:Y(e.sha),user:Y(e.user),deps:Y(e.deps),boundAt:Y(e.boundAt),lastAttachAt:Y(e.lastAttachAt),evicted:e.evicted===!0,evictedAt:Y(e.evictedAt),evictedWhy:Y(e.evictedWhy)})).sort((e,t)=>t.lastAttachAt.localeCompare(e.lastAttachAt)):[]}function Ur(e,t){return[...e].filter(e=>!e.finished&&e.repo===t).sort((e,t)=>e.startedAt-t.startedAt)}function Wr(e,t){if(t)return e.find(e=>!e.evicted&&e.threadKey===t)}function Gr(e,t){return e&&Object.hasOwn(e.parts.threads,t)?e.parts.threads[t]:null}function Kr(e,t){let n=kr(e),{freeKiB:r,capped:i,capacityKiB:a}=Mr(e,t),o=Math.max(0,r-n.totalKiB),s=t=>{let n=jr(e.parts,t);return n===null||n===0?null:Math.floor(o/n)};return{freeKiB:r,capped:i,capacityKiB:a,reserve:n,headroomKiB:o,room:{hardlink:s(`hardlink`),reconcile:s(`reconcile`)}}}function qr(e,t){if(t&&typeof t==`object`){if(t.type===`upsert`){let n=t.run;if(!n||typeof n.id!=`string`)return;n.finished?e.runs.delete(n.id):e.runs.set(n.id,n)}else t.type===`removed`?typeof t.id==`string`&&e.runs.delete(t.id):t.type===`residents`&&(e.cap=t.cap,e.count=t.count,e.residents=Array.isArray(t.residents)?t.residents:[])}}function Jr(e){switch(e.page){case`runs`:case`run`:return Cr;case`residents`:return Tr[Lr(e.residents)];default:return wr}}var Yr=k({__name:`SeedScope`,props:{seed:{}},setup(e){let t=e;return U(Ve,t.seed),t.seed&&(Ge.setTitle(t.seed.title),Ge.setFavicon(Jr(t.seed))),(e,t)=>z(e.$slots,`default`)}}),Xr=Symbol(`sb-seed-routing`);function Zr(e){let t=e.fullPath.indexOf(`#`);return t===-1?e.fullPath:e.fullPath.slice(0,t)}function Qr(e,t){let n=qe(null),r=B(!1),i=0;return e.beforeResolve(async(e,a)=>{let o=++i;r.value=!1;let s=Zr(e);if(a===A)return n.value={address:s,seed:t.island},!0;if(s===Zr(a))return!0;r.value=!0;try{let r=await t.load(s);return o===i?r===null?(t.leave(e.fullPath),!1):(n.value={address:s,seed:r},!0):!1}catch{return o===i&&t.leave(e.fullPath),!1}finally{o===i&&(r.value=!1)}}),{seedAt:e=>n.value?.address===e?n.value.seed:null,loading:r}}var $r={key:0,class:`sb-nav-progress fixed inset-x-0 top-0 z-50 h-0.5 overflow-hidden`,role:`progressbar`,"aria-label":`Loading page`,"data-testid":`nav-progress`},ei=k({__name:`App`,setup(t){let n=te(),r=fe(Xr);if(!r)throw Error(`App needs the seed routing main.ts installs`);return(t,i)=>{let o=ce(`RouterView`),s=_r;return P(),V(s,null,{default:N(()=>[F(r).loading.value?(P(),a(`div`,$r,[...i[0]||=[ve(`div`,{class:`h-full w-1/3 bg-(--ui-text-highlighted) motion-safe:animate-[sb-nav-progress_1s_ease-in-out_infinite]`},null,-1)]])):M(``,!0),e(o,null,{default:N(({Component:e})=>[e?(P(),V(Yr,{key:F(Zr)(F(n)),seed:F(r).seedAt(F(Zr)(F(n)))},{default:N(()=>[(P(),V(u(e)))]),_:2},1032,[`seed`])):M(``,!0)]),_:1})]),_:1})}}}),ti=`modulepreload`,ni=function(e){return`/`+e},ri={},Q=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=ni(t,n),t=s(t),t in ri)return;ri[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:ti,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},ii=[{path:`/threads`,component:()=>Q(()=>import(`./HomePage-BfpIrKDX.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))},{path:`/threads/:id`,component:()=>Q(()=>import(`./HomePage-BfpIrKDX.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))},{path:`/runs`,component:()=>Q(()=>import(`./RunsIndexPage-BpQu36Dm.js`),__vite__mapDeps([15,1,2,3,16,11,9,12,5,6,7,14,10,17,18]))},{path:`/runs/scheduled`,component:()=>Q(()=>import(`./ScheduledPage-DGHcjcSt.js`),__vite__mapDeps([19,1,2,3,9,12,7,17]))},{path:`/runs/unit/:key`,component:()=>Q(()=>import(`./UnitRoutePage-BNe3nBIG.js`),__vite__mapDeps([20,1,2,21,9,12,5,6,7,22,14,8,10,18,3,23,17]))},{path:`/runs/:id`,component:()=>Q(()=>import(`./RunRoutePage-B_eXfNAF.js`),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,22,14,18,23,17,25]))},{path:`/residents`,component:()=>Q(()=>import(`./ResidentsIndexPage-C8eS7hxp.js`),__vite__mapDeps([26,1,2,3,11,9,12,5,6,7,18]))},{path:`/residents/:owner/:name`,component:()=>Q(()=>import(`./ResidentDetailPage-Bd9_Q87l.js`),__vite__mapDeps([27,1,2,18,3]))},{path:`/costs/:group?`,component:()=>Q(()=>import(`./CostsPage-8HDgvuWB.js`),__vite__mapDeps([28,1,2,29,30,11,31,9]))},{path:`/metrics`,component:()=>Q(()=>import(`./MetricsPage-BQBuIuYU.js`),__vite__mapDeps([32,1,2,29,30]))},{path:`/plane`,component:()=>Q(()=>import(`./PlanePage-C2Cb1mkT.js`),__vite__mapDeps([33,1,2,4,5,6,7,8,9,10,13,11,12]))},{path:`/delivery/:owner?/:name?`,component:()=>Q(()=>import(`./DeliveryPage-BUJckSuW.js`),__vite__mapDeps([34,1,2,30,9,6]))},{path:`/settings/:tab?/:channel?`,component:()=>Q(()=>import(`./SettingsPage-IfQ71QjN.js`),__vite__mapDeps([35,1,2,21,3,16,31,5,6,7]))},{path:`/:pathMatch(.*)*`,component:()=>Q(()=>import(`./NotFoundPage-CDjMfCcj.js`).then(e=>e.n),__vite__mapDeps([23,1,2,17]))}],$=D(ei),ai=t({history:Ae(),routes:ii,scrollBehavior(e,t,n){if(n)return n;if(e.hash){let t=document.getElementById(decodeURIComponent(e.hash.slice(1)));return t?{el:t}:!1}return{top:0}}}),oi=Qr(ai,{island:me(),load:Oe,leave:Ge.leave});Ie(e=>void ai.push(e)),$.provide(Xr,oi),$.use(ai),$.use(Dn),$.mount(`#app`);export{rr as S,Nr as _,Kr as a,Cr as b,Vr as c,Hr as d,Lr as f,Pr as g,Gr as h,Wr as i,Rr as l,Y as m,Fr as n,X as o,Ur as p,qr as r,Br as s,Q as t,Ir as u,jr as v,br as x,Tr as y};
@@ -6,6 +6,6 @@ import{An as e,Cn as t,Cr as n,Gr as r,Ii as i,Li as a,Mn as o,Pi as s,Sn as c,Z
6
6
  `).length}function l(e){let t=[],n=e.result;if(!n)return t;n.infra?t.push(`sandbox error`):e.shell?t.push(n.exitCode===void 0?n.ok?`exit 0`:`error`:`exit `+n.exitCode):n.ok||t.push(`error`);let r=c(n);return r!==void 0&&r>1&&t.push(r+` lines`),e.durationMs!==void 0&&t.push(T(e.durationMs,`precise`)),t}function u(e,t){let n={ok:t.ok===!0,infra:t.infra===!0,summary:a(t.summary),output:a(t.output),at:i(t.at)},o=i(t.exitCode);o!==void 0&&(n.exitCode=o),e.result=n;let s=r.indexOf(e);s!==-1&&r.splice(s,1),e.status=n.infra?`infra`:n.ok?`ok`:`failed`,e.status!==`ok`&&(e.tags=e.tags.concat(e.status)),e.startedAt!==void 0&&n.at!==void 0&&n.at>=e.startedAt&&(e.durationMs=n.at-e.startedAt),e.facts=l(e)}let d=[[`tests`,/\b(npm|pnpm|yarn|bun)\s+(run\s+)?test\b|\b(vitest|jest|pytest|mocha|go test|cargo test)\b/],[`build`,/\b(npm|pnpm|yarn|bun)\s+run\s+(build|typecheck|lint)\b|\b(tsc|make|cargo build|go build|eslint|prettier)\b/],[`install`,/\b(npm|pnpm|yarn|bun)\s+(i|install|ci|add)\b|\bpip3?\s+install\b|\bapt(-get)?\s+install\b|\bbrew\s+install\b/],[`git`,/(^|[\s;&|(])(git|gh)\s/],[`network`,/(^|[\s;&|(])(curl|wget)\s/],[`read`,/(^|[\s;&|(])(cat|sed|head|tail|less|ls|find|grep|rg|wc|tree|pwd|echo|env|which|stat|file|diff)\b/]];function f(e){let t=e.replace(/^(\s*cd\s+("[^"]*"|'[^']*'|\S+)\s*(&&|;)\s*)+/,``);return t.trim()?t:e}function p(e){let t=f(e);for(let[e,n]of d)if(n.test(t))return e;return`shell`}function m(e,t){let n=t?f(e):e,r=n.indexOf(`
7
7
  `),i=r===-1?n:n.slice(0,r).trimEnd();return i.length<e.length?i+` …`:i}function h(e,t){let o=a(e.tool),s=o===`bash`,c=t||o,l=s&&c.startsWith(`$ `)?c.slice(2):!s&&c.startsWith(o+` `)?c.slice(o.length+1):c,u={id:a(e.callId)||`c`+ ++n,tool:o,title:l,headline:m(l,s),shell:s,quiet:o===`update_status`,tags:[s?p(l):o],status:`running`,startedAt:i(e.at),facts:[]};return r.push(u),u}function g(t){for(let n=e.length-1;n>=0;n--)for(let r of e[n].calls)if(r.id===t)return{step:e[n],call:r};return null}function _(t){let n=a(t.callId);if(!n)return null;for(let t=e.length-1;t>=0;t--)for(let r of e[t].calls)if(r.id===n&&!r.result)return{step:e[t],call:r};return null}function v(e){if(!e||typeof e!=`object`)return[];let n=e;switch(n.type){case`input`:{let e={kind:`input`,text:a(n.text),messageId:a(n.messageId),at:i(n.at)},t=n.source;if(t&&typeof t==`object`){let n=t,r={};a(n.url)&&(r.url=a(n.url)),a(n.channel)&&(r.channel=a(n.channel)),a(n.user)&&(r.user=a(n.user)),a(n.run)&&(r.run=a(n.run)),Object.keys(r).length>0&&(e.source=r)}return[e]}case`answer`:return[{kind:`answer`,text:a(n.text),at:i(n.at)}];case`pr_opened`:{let e=i(n.number);return!a(n.url)||e===void 0||!Number.isInteger(e)||e<=0?[]:[{kind:`pr_opened`,url:a(n.url),number:e,created:n.created===!0,at:i(n.at)}]}case`pushed_head`:return!a(n.ref)||!a(n.sha)?[]:[{kind:`pushed_head`,ref:a(n.ref),sha:a(n.sha),at:i(n.at)}];case`ship_unit`:{if(!a(n.unit)||!a(n.state))return[];let e=a(n.report)||a(n.lead);return[{kind:`step`,step:o({text:`**${a(n.unit)} · ${a(n.state)}**${e?`
8
8
 
9
- `+e:``}`,at:i(n.at)})}]}case`run_meta`:{if(!a(n.agent))return[];let e={kind:`meta`,agent:a(n.agent),model:a(n.model),at:i(n.at)};return a(n.effort)&&(e.effort=a(n.effort)),a(n.harness)&&(e.harness=a(n.harness)),I(n.harnessScope)&&(e.harnessScope=n.harnessScope),a(n.repo)&&(e.repo=a(n.repo)),a(n.ref)&&(e.ref=a(n.ref)),i(n.pr)!==void 0&&Number.isInteger(n.pr)&&n.pr>0&&(e.pr=n.pr),/^[0-9a-f]{7,40}$/i.test(a(n.headSha))&&(e.headSha=a(n.headSha)),[e]}case`context`:return[{kind:`context`,text:a(n.text),at:i(n.at)}];case`reference`:{let e=i(n.messages);return!a(n.url)||!a(n.channelName)||e===void 0?[]:[{kind:`reference`,url:a(n.url),channelName:a(n.channelName),messages:e,text:a(n.text),at:i(n.at)}]}case`notes`:return[{kind:`note`,text:a(n.text),noteKind:`notes`,at:i(n.at)}];case`replay_note`:return[{kind:`replay_note`,text:a(n.summary)}];case`run_note`:return[{kind:`note`,text:a(n.summary),noteKind:a(n.kind),mode:a(n.mode)||void 0,at:i(n.at)}];case`assistant`:return[{kind:`step`,step:o({text:a(n.text),at:i(n.at)})}];case`review_artifact`:return[];case`span_start`:{let e=a(n.name),t=a(n.spanId);return!e||!t||e.startsWith(`tool.`)||e.startsWith(`mcp.`)||e===`model.turn`?[]:[{kind:`span`,spanId:t,name:e,open:!0,at:i(n.at)}]}case`span_end`:{let e=a(n.name),r=a(n.spanId),o=i(n.durationMs);if(!e||!r||o===void 0)return[];let c=n.status===`error`?`error`:`ok`,u=typeof n.attrs==`object`&&n.attrs!==null?n.attrs:{};if(e===`model.turn`){t=null;let e=[],c=i(u.inputTokens),l=i(u.outputTokens),d=i(u.cacheReadTokens);c!==void 0&&e.push(s(c)+` in`),l!==void 0&&e.push(s(l)+` out`),d!==void 0&&e.push(s(d)+` cached`);let f=i(u.ttftMs);f!==void 0&&e.push(`first token `+T(f,`precise`));let p=i(u.thinkingMs);p!==void 0&&e.push(`thinking `+T(p,`precise`));let m=i(u.textMs);m!==void 0&&e.push(`writing `+T(m,`precise`));let h=a(u.model);return[{kind:`turn`,spanId:r,label:`Thought for `+T(o,`precise`),facts:e,durationMs:o,...h?{model:h}:{},at:i(n.at)}]}if(e.startsWith(`tool.`)||e.startsWith(`mcp.`)){if(!e.startsWith(`tool.`))return[];let t=a(u.callId);if(!t)return[];let n=g(t);return!n||n.call.durationMs!==void 0?[]:(n.call.durationMs=o,n.call.facts=l(n.call),[{kind:`result`,step:n.step,call:n.call}])}let d=i(n.startedAt);return[{kind:`span`,spanId:r,name:e,open:!1,durationMs:o,status:c,at:i(n.at),...d===void 0?{}:{startedAt:d}}]}case`artifact`:{let e=a(n.key),t=a(n.name);if(!e||!t)return[];let r={key:e,name:t,size:i(n.size)??0,contentType:a(n.contentType),at:i(n.at)},o=a(n.messageId),s=a(n.callId),c=n.direction===`in`&&o?{...r,direction:`in`,messageId:o}:n.direction===`out`&&s?{...r,direction:`out`,callId:s}:void 0;return c?[{kind:`artifact`,artifact:c}]:[]}case`skill_use`:{let e=a(n.skill);if(!e)return[];let r=[];t||r.push({kind:`step`,step:o()});let s=a(n.source),c={name:e,description:a(n.description),agent:a(n.agent),bodyBytes:i(n.bodyBytes)??0,at:i(n.at)};return/^https?:\/\//.test(s)&&(c.source=s),r.push({kind:`skill`,step:t,skill:c}),r}case`tool_call`:{let e=[];t||e.push({kind:`step`,step:o()});let r=h(n,a(n.summary));return t.calls.push(r),e.push({kind:`call`,step:t,call:r}),e}case`tool_result`:{let e=_(n);if(e)return u(e.call,n),[{kind:`result`,step:e.step,call:e.call}];let r=[];t||r.push({kind:`step`,step:o()});let i=h(n,``);return i.startedAt=void 0,u(i,n),t.calls.push(i),r.push({kind:`call`,step:t,call:i}),r}default:return[]}}function y(){return r.length>0?r[0]:null}return{push:v,pending:y,steps:()=>e}}var L={clone:`cloning the repo`,"checkout-clone":`cloning the checkout`,"worktree-clone":`cloning the worktree`,"worktree-detach":`checking out the expected commit`,"op-clone":`cloning the op tree`,fetch:`fetching the branch`,"wake-fetch":`fetching the latest commits`,"reclaim-fetch":`fetching to reclaim the mirror`,"for-each-ref":`listing the branches`,checkout:`checking out the branch`,"checkout-update":`updating the checkout`,"checkout-stage":`staging the checkout rebuild`,"checkout-stage-clear":`removing the leftover staging tree`,"checkout-swap":`swapping in the rebuilt checkout`,"checkout-retire":`removing the replaced checkout`,"rev-parse":`reading the commit`,"cat-file":`checking the mirror for the commit`,"show-ref":`reading the branch tip`,"detect-default-branch":`detecting the default branch`,git:`a git command`,"git-setup":`configuring git`,"stage-perms":`securing the credential stage`,install:`installing dependencies`,build:`building`,test:`running the tests`,"clear-markers":`clearing the build markers`,"lockfile-key":`hashing the lockfile`,"deps-store-dir":`preparing the dependency store`,"deps-scratch":`cloning a scratch tree for the dependency install`,"deps-install":`installing the dependency store`,"deps-harden":`locking down the installed dependencies`,"deps-commit":`recording the installed dependencies`,"deps-adopt":`adopting the dependency store`,"deps-restore-scratch":`restoring dependencies to scratch`,"deps-restore-chown":`setting the restored dependencies' owner`,"deps-restore-commit":`recording the restored dependencies`,"deps-scratch-chown":`setting the dependency scratch owner`,"deps-evict":`evicting an old dependency store`,"unlink-deps-view":`unlinking the dependency view`,"clear-installing-marker":`clearing the install marker`,chown:`setting the workspace owner`,"worktree-chown":`setting the worktree owner`,"op-chown":`setting the op tree's owner`,"worktree-clean":`cleaning the worktree`,"clean-workspace":`cleaning the workspace`,"clean-before-restore":`cleaning before the restore`,"break-mirror":`removing the mirror's config (fault injection)`,"unmount-restores":`unmounting earlier restores`,"mirror-restore-extract":`extracting the mirror snapshot`,"checkout-restore-extract":`extracting the checkout snapshot`,"deps-restore-extract":`extracting the dependency snapshot`,evict:`evicting a stale tree`,"thread-dir":`preparing a directory`,"threads-dir":`preparing a directory`,"op-dir":`preparing a directory`,"ops-dir":`preparing a directory`,"stage-dir":`preparing a directory`,stat:`checking a file`,"boot-id":`reading the container's identity`,touch:`touching a marker`,nproc:`counting CPUs`,mutex_wait:`waiting for the workspace`,kill:`stopping the previous step`};Object.keys(L);function R(e){return Object.prototype.hasOwnProperty.call(L,e)?e:void 0}function z(e){let t=R(e);if(t!==void 0)return L[t];if(e.endsWith(`-stale-sweep`)){let t=R(e.slice(0,-12));if(t!==void 0)return`clearing leftovers before ${L[t]}`}}var B={request:`the request`,"slack.receive":`receiving`,"dispatch.history":`reading the thread`,"dispatch.admission":`checking the thread`,"dispatch.ack_card":`posting the status card`,"dispatch.gate.repo":`checking the repo`,"dispatch.gate.pr_head":`checking the PR`,"dispatch.workspace.attach":`attaching the workspace`,"dispatch.gate.attached_head":`checking out the branch`,"dispatch.mcp_discovery":`loading tools`,"dispatch.compose":`preparing the prompt`,"dispatch.channel_visibility":`checking the channel`,"dispatch.repo_context":`reading the repo's context`,"dispatch.memory_read":`recalling memory`,"dispatch.refuse":`refusing`,"dispatch.ship_preflight":`checking the ship request`,"dispatch.ledger_claim":`claiming the run's row`,"dispatch.route":`picking the preset`,"run.agent":`the agent loop`,"run.command":`the command`,"run.reading_diff":`reading the diff (in parallel)`,"run.settle_reviewed_head":`re-checking the moved branch`,"run.description_turn":`asking for the PR description`,"run.verdict_turn":`asking for the verdict`,"run.observe_workspace":`checking the workspace`,"run.pr_post_step":`posting the PR`,"run.review_post_step":`posting the review`,"run.reading_diff_join":`waiting for the diff`,"run.pr_description_join":`waiting for the PR description`,"model.turn":`a model turn`,"ship.round":`a ship round`,"post.card_close":`closing the card`,"post.reply":`posting the reply`},V=`a Switchboard step`,H={"drain-wait":`waiting for the deploy to finish`,"wake-wait":`waiting for the resident to wake`};function U(e){if(e in B)return B[e];if(e.startsWith(`tool.`))return e.slice(5)||`a Switchboard step`;if(e.startsWith(`mcp.`)){let t=e.slice(e.lastIndexOf(`.`)+1);return t&&t!==`mcp`?t:V}for(let t of[`dispatch.workspace.attach.`,`run.command.`])if(e.startsWith(t)){let n=e.slice(t.length);return n in H?H[n]:z(n)??`a Switchboard step`}return V}var W=[/\bslack[\s-]?only\b/i,/\bpost\s*[:=]\s*(?:off|no|false|none)\b/i,/\bno[\s-]post\b/i,/\b(?:don['’]?t|do\s+not|never|skip|without)\s+(?:\w+\s+){0,2}?(?:post|comment)(?:ing|s)?\b/i,/\bno\s+need\s+to\s+(?:post|comment)\b/i];function ne(e){return W.some(t=>t.test(e))}var re=/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/,ie=/^[0-9a-f]{7,40}$/,ae=/^(?![.-])(?!.*\.\.)(?!.*\/\/)(?!.*@\{)(?!.*\.lock$)(?!.*[./]$)[\w][\w./-]*$/;function G(e){return e&&re.test(e)?`https://github.com/${e}`:void 0}function K(e,t){let n=G(e);if(!(!n||t===void 0||!Number.isInteger(t)||t<=0))return`${n}/pull/${t}`}function oe(e,t){let n=G(e);if(n&&t&&ae.test(t))return`${n}/tree/${t.split(`/`).map(encodeURIComponent).join(`/`)}`}function se(e,t){let n=G(e);if(n&&t&&ie.test(t))return`${n}/commit/${t}`}function ce(e){return e.slice(0,7)}function le(e){if(e===`slack.receive`||e.startsWith(`dispatch.`))return`getting_ready`;let t=S(e,`agent`);return t?.kind===`counted`&&t.bucket===`finishing_up`?`finishing_up`:void 0}function ue(e){return e===`request`||e===`run.agent`}var de={getting_ready:`Getting ready`,finishing_up:`Finishing up`};function fe(e){let t=e.rows.length,n=`${t} step${t===1?``:`s`}`,r=de[e.phase];if(t===0||e.rows.some(e=>e.open||e.at===void 0||e.durationMs===void 0))return`${r} · ${n}`;let i=Math.min(...e.rows.map(e=>e.at)),a=Math.max(...e.rows.map(e=>e.at+e.durationMs));return`${r} · ${n} · ${T(Math.max(0,a-i),`precise`)}`}function pe(e){let t=e.split(`
9
+ `+e:``}`,at:i(n.at)})}]}case`run_meta`:{if(!a(n.agent))return[];let e={kind:`meta`,agent:a(n.agent),model:a(n.model),at:i(n.at)};return a(n.effort)&&(e.effort=a(n.effort)),a(n.harness)&&(e.harness=a(n.harness)),I(n.harnessScope)&&(e.harnessScope=n.harnessScope),a(n.repo)&&(e.repo=a(n.repo)),a(n.ref)&&(e.ref=a(n.ref)),i(n.pr)!==void 0&&Number.isInteger(n.pr)&&n.pr>0&&(e.pr=n.pr),/^[0-9a-f]{7,40}$/i.test(a(n.headSha))&&(e.headSha=a(n.headSha)),[e]}case`context`:return[{kind:`context`,text:a(n.text),at:i(n.at)}];case`reference`:{let e=i(n.messages);return!a(n.url)||!a(n.channelName)||e===void 0?[]:[{kind:`reference`,url:a(n.url),channelName:a(n.channelName),messages:e,text:a(n.text),at:i(n.at)}]}case`notes`:return[{kind:`note`,text:a(n.text),noteKind:`notes`,at:i(n.at)}];case`replay_note`:return[{kind:`replay_note`,text:a(n.summary)}];case`run_note`:return[{kind:`note`,text:a(n.summary),noteKind:a(n.kind),mode:a(n.mode)||void 0,at:i(n.at)}];case`assistant`:return[{kind:`step`,step:o({text:a(n.text),at:i(n.at)})}];case`review_artifact`:return[];case`span_start`:{let e=a(n.name),t=a(n.spanId);return!e||!t||e.startsWith(`tool.`)||e.startsWith(`mcp.`)||e===`model.turn`?[]:[{kind:`span`,spanId:t,name:e,open:!0,at:i(n.at)}]}case`span_end`:{let e=a(n.name),r=a(n.spanId),o=i(n.durationMs);if(!e||!r||o===void 0)return[];let c=n.status===`error`?`error`:`ok`,u=typeof n.attrs==`object`&&n.attrs!==null?n.attrs:{};if(e===`model.turn`){t=null;let e=[],c=i(u.inputTokens),l=i(u.outputTokens),d=i(u.cacheReadTokens);c!==void 0&&e.push(s(c)+` in`),l!==void 0&&e.push(s(l)+` out`),d!==void 0&&e.push(s(d)+` cached`);let f=i(u.ttftMs);f!==void 0&&e.push(`first token `+T(f,`precise`));let p=i(u.thinkingMs);p!==void 0&&e.push(`thinking `+T(p,`precise`));let m=i(u.textMs);m!==void 0&&e.push(`writing `+T(m,`precise`));let h=a(u.model);return[{kind:`turn`,spanId:r,label:`Thought for `+T(o,`precise`),facts:e,durationMs:o,...h?{model:h}:{},at:i(n.at)}]}if(e.startsWith(`tool.`)||e.startsWith(`mcp.`)){if(!e.startsWith(`tool.`))return[];let t=a(u.callId);if(!t)return[];let n=g(t);return!n||n.call.durationMs!==void 0?[]:(n.call.durationMs=o,n.call.facts=l(n.call),[{kind:`result`,step:n.step,call:n.call}])}let d=i(n.startedAt);return[{kind:`span`,spanId:r,name:e,open:!1,durationMs:o,status:c,at:i(n.at),...d===void 0?{}:{startedAt:d}}]}case`artifact`:{let e=a(n.key),t=a(n.name);if(!e||!t)return[];let r={key:e,name:t,size:i(n.size)??0,contentType:a(n.contentType),at:i(n.at)},o=a(n.messageId),s=a(n.callId),c=n.direction===`in`&&o?{...r,direction:`in`,messageId:o}:n.direction===`out`&&s?{...r,direction:`out`,callId:s}:void 0;return c?[{kind:`artifact`,artifact:c}]:[]}case`skill_use`:{let e=a(n.skill);if(!e)return[];let r=[];t||r.push({kind:`step`,step:o()});let s=a(n.source),c={name:e,description:a(n.description),agent:a(n.agent),bodyBytes:i(n.bodyBytes)??0,at:i(n.at)};return/^https?:\/\//.test(s)&&(c.source=s),r.push({kind:`skill`,step:t,skill:c}),r}case`tool_call`:{let e=[];t||e.push({kind:`step`,step:o()});let r=h(n,a(n.summary));return t.calls.push(r),e.push({kind:`call`,step:t,call:r}),e}case`tool_result`:{let e=_(n);if(e)return u(e.call,n),[{kind:`result`,step:e.step,call:e.call}];let r=[];t||r.push({kind:`step`,step:o()});let i=h(n,``);return i.startedAt=void 0,u(i,n),t.calls.push(i),r.push({kind:`call`,step:t,call:i}),r}default:return[]}}function y(){return r.length>0?r[0]:null}return{push:v,pending:y,steps:()=>e}}var L={clone:`cloning the repo`,"checkout-clone":`cloning the checkout`,"worktree-clone":`cloning the worktree`,"worktree-detach":`checking out the expected commit`,"op-clone":`cloning the op tree`,fetch:`fetching the branch`,"wake-fetch":`fetching the latest commits`,"reclaim-fetch":`fetching to reclaim the mirror`,"for-each-ref":`listing the branches`,checkout:`checking out the branch`,"checkout-update":`updating the checkout`,"checkout-stage":`staging the checkout rebuild`,"checkout-stage-clear":`removing the leftover staging tree`,"checkout-swap":`swapping in the rebuilt checkout`,"checkout-retire":`removing the replaced checkout`,"rev-parse":`reading the commit`,"cat-file":`checking the mirror for the commit`,"show-ref":`reading the branch tip`,"detect-default-branch":`detecting the default branch`,git:`a git command`,"git-setup":`configuring git`,"stage-perms":`securing the credential stage`,install:`installing dependencies`,build:`building`,test:`running the tests`,"clear-markers":`clearing the build markers`,"lockfile-key":`hashing the lockfile`,"deps-store-dir":`preparing the dependency store`,"deps-scratch":`cloning a scratch tree for the dependency install`,"deps-install":`installing the dependency store`,"deps-harden":`locking down the installed dependencies`,"deps-commit":`recording the installed dependencies`,"deps-adopt":`adopting the dependency store`,"deps-restore-scratch":`restoring dependencies to scratch`,"deps-restore-chown":`setting the restored dependencies' owner`,"deps-restore-commit":`recording the restored dependencies`,"deps-scratch-chown":`setting the dependency scratch owner`,"deps-evict":`evicting an old dependency store`,"unlink-deps-view":`unlinking the dependency view`,"clear-installing-marker":`clearing the install marker`,chown:`setting the workspace owner`,"worktree-chown":`setting the worktree owner`,"op-chown":`setting the op tree's owner`,"worktree-clean":`cleaning the worktree`,"thread-cred-file-scrub":`removing an old workspace credential`,"thread-cred-helper-scrub":`removing an old Git credential helper`,"clean-workspace":`cleaning the workspace`,"clean-before-restore":`cleaning before the restore`,"break-mirror":`removing the mirror's config (fault injection)`,"unmount-restores":`unmounting earlier restores`,"mirror-restore-extract":`extracting the mirror snapshot`,"checkout-restore-extract":`extracting the checkout snapshot`,"deps-restore-extract":`extracting the dependency snapshot`,evict:`evicting a stale tree`,"thread-dir":`preparing a directory`,"threads-dir":`preparing a directory`,"op-dir":`preparing a directory`,"ops-dir":`preparing a directory`,"stage-dir":`preparing a directory`,"boot-id":`reading the container's identity`,touch:`touching a marker`,nproc:`counting CPUs`,mutex_wait:`waiting for the workspace`,kill:`stopping the previous step`};Object.keys(L);function R(e){return Object.prototype.hasOwnProperty.call(L,e)?e:void 0}function z(e){let t=R(e);if(t!==void 0)return L[t];if(e.endsWith(`-stale-sweep`)){let t=R(e.slice(0,-12));if(t!==void 0)return`clearing leftovers before ${L[t]}`}}var B={request:`the request`,"slack.receive":`receiving`,"dispatch.history":`reading the thread`,"dispatch.admission":`checking the thread`,"dispatch.ack_card":`posting the status card`,"dispatch.gate.repo":`checking the repo`,"dispatch.gate.pr_head":`checking the PR`,"dispatch.workspace.attach":`attaching the workspace`,"dispatch.gate.attached_head":`checking out the branch`,"dispatch.mcp_discovery":`loading tools`,"dispatch.compose":`preparing the prompt`,"dispatch.channel_visibility":`checking the channel`,"dispatch.repo_context":`reading the repo's context`,"dispatch.memory_read":`recalling memory`,"dispatch.refuse":`refusing`,"dispatch.ship_preflight":`checking the ship request`,"dispatch.ledger_claim":`claiming the run's row`,"dispatch.route":`picking the preset`,"run.agent":`the agent loop`,"run.command":`the command`,"run.reading_diff":`reading the diff (in parallel)`,"run.settle_reviewed_head":`re-checking the moved branch`,"run.description_turn":`asking for the PR description`,"run.verdict_turn":`asking for the verdict`,"run.observe_workspace":`checking the workspace`,"run.pr_post_step":`posting the PR`,"run.review_post_step":`posting the review`,"run.reading_diff_join":`waiting for the diff`,"run.pr_description_join":`waiting for the PR description`,"model.turn":`a model turn`,"ship.round":`a ship round`,"post.card_close":`closing the card`,"post.reply":`posting the reply`},V=`a Switchboard step`,H={"drain-wait":`waiting for the deploy to finish`,"wake-wait":`waiting for the resident to wake`};function U(e){if(e in B)return B[e];if(e.startsWith(`tool.`))return e.slice(5)||`a Switchboard step`;if(e.startsWith(`mcp.`)){let t=e.slice(e.lastIndexOf(`.`)+1);return t&&t!==`mcp`?t:V}for(let t of[`dispatch.workspace.attach.`,`run.command.`])if(e.startsWith(t)){let n=e.slice(t.length);return n in H?H[n]:z(n)??`a Switchboard step`}return V}var W=[/\bslack[\s-]?only\b/i,/\bpost\s*[:=]\s*(?:off|no|false|none)\b/i,/\bno[\s-]post\b/i,/\b(?:don['’]?t|do\s+not|never|skip|without)\s+(?:\w+\s+){0,2}?(?:post|comment)(?:ing|s)?\b/i,/\bno\s+need\s+to\s+(?:post|comment)\b/i];function ne(e){return W.some(t=>t.test(e))}var re=/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/,ie=/^[0-9a-f]{7,40}$/,ae=/^(?![.-])(?!.*\.\.)(?!.*\/\/)(?!.*@\{)(?!.*\.lock$)(?!.*[./]$)[\w][\w./-]*$/;function G(e){return e&&re.test(e)?`https://github.com/${e}`:void 0}function K(e,t){let n=G(e);if(!(!n||t===void 0||!Number.isInteger(t)||t<=0))return`${n}/pull/${t}`}function oe(e,t){let n=G(e);if(n&&t&&ae.test(t))return`${n}/tree/${t.split(`/`).map(encodeURIComponent).join(`/`)}`}function se(e,t){let n=G(e);if(n&&t&&ie.test(t))return`${n}/commit/${t}`}function ce(e){return e.slice(0,7)}function le(e){if(e===`slack.receive`||e.startsWith(`dispatch.`))return`getting_ready`;let t=S(e,`agent`);return t?.kind===`counted`&&t.bucket===`finishing_up`?`finishing_up`:void 0}function ue(e){return e===`request`||e===`run.agent`}var de={getting_ready:`Getting ready`,finishing_up:`Finishing up`};function fe(e){let t=e.rows.length,n=`${t} step${t===1?``:`s`}`,r=de[e.phase];if(t===0||e.rows.some(e=>e.open||e.at===void 0||e.durationMs===void 0))return`${r} · ${n}`;let i=Math.min(...e.rows.map(e=>e.at)),a=Math.max(...e.rows.map(e=>e.at+e.durationMs));return`${r} · ${n} · ${T(Math.max(0,a-i),`precise`)}`}function pe(e){let t=e.split(`
10
10
  `),n=t.indexOf(`<<<UNTRUSTED`),r=t.lastIndexOf(`UNTRUSTED>>>`);return(n>=0&&r>n?t.slice(n+1,r):t.slice(1)).filter(e=>e.length>0)}function me(e,t){let n=t.split(`/`).map(encodeURIComponent).join(`/`);return`${e.urlBase}${n}${e.token?`?t=${encodeURIComponent(e.token)}`:``}`}function he(e){if(typeof e!=`string`)return null;let t;try{t=JSON.parse(e)}catch{return null}if(typeof t!=`object`||!t)return null;let{fromSeq:n,toSeq:r}=t,i=e=>typeof e==`number`&&Number.isInteger(e)&&e>0;return!i(n)||!i(r)||n>r?null:{fromSeq:n,toSeq:r}}function ge(e){let t=e.toSeq-e.fromSeq+1,n=t===1?`event ${e.fromSeq}`:`events ${e.fromSeq}–${e.toSeq}`;return`${t} ${t===1?`event`:`events`} not loaded (${n}) — the record has them`}function _e(e,t,n){let r=!!e.model&&t!==null&&Te(e.model,t),i=r?t:e.model??t??void 0,a=!!e.model&&t!==null&&!r;return{spanId:e.spanId,label:e.label,chip:e.label.replace(/^Thought for /,``),quick:e.durationMs<6e4,durationMs:e.durationMs,facts:e.facts,...i?{model:i}:{},switched:a,showModel:!!i&&(!n||a),at:e.at}}function ve(e){let t=`${e.n} tool call${e.n===1?``:`s`}`;if(e.n===0)return`no tool calls`;if(e.ok===e.n)return`${t}, all succeeded`;if(e.running===e.n)return`${t}, all running`;let n=[];return e.bad&&n.push(`${e.bad} failed`),e.infra&&n.push(`${e.infra} sandbox error${e.infra===1?``:`s`}`),e.running&&n.push(`${e.running} still running`),`${t}, ${n.join(`, `)}`}function ye(e){let{meta:t,prOpened:n}=e,r=t?.repo&&G(t.repo)?t.repo:void 0;if(t?.agent===`review`){if(ne(e.requestText))return{text:`verdict, Slack only`};if(r&&t.pr!==void 0){let e=K(r,t.pr);return e?{text:`verdict for ${r}#${t.pr}`,href:e}:{text:`verdict`}}return{text:`verdict`}}if(t?.agent===`coding`&&n){let e=n.created?`pull request opened`:`pull request updated`,t=r?K(r,n.number):void 0;return t?{text:`${e} ${r}#${n.number}`,href:t}:{text:e}}return t?.agent===`command`?{text:`output`}:{text:`answer`}}function q(e,t){return{id:e.id,tool:e.tool,title:e.title,headline:e.headline,shell:e.shell,status:e.status,facts:[...e.facts],startedAt:e.startedAt,output:e.result?e.result.output||e.result.summary:``,hasResult:e.result!==void 0,chipOnly:!e.shell&&e.title===e.tool,durationMs:e.durationMs,exitCode:e.result?.exitCode,timedOut:M(e.result?.exitCode),open:t}}function be(e={}){let t=e.openTags&&e.openTags.length>0?e.openTags:[`failed`,`infra`],n=te(),r=y({request:null,meta:null,context:[],references:[],log:[],reply:null,prOpened:null,placeholder:!0,allOpen:!1,stopMode:null,model:null,firstAt:null,lastAt:null,clockAt:null,clockWall:null,elided:[],traceVersion:0}),i=E(),a=new Map,o=new Map,s=new Map,c=new Map,l=new Map,u=new Map,d=new Map,f=new Map,p=new Set,m=null,h=!1,g=-1,_=0,v=e=>`${e}-${_++}`;function b(e){return t.includes(`all`)?!0:e.some(e=>t.includes(e))}function S(e){let t=0,n=0,r=0;for(let i of e.items)i.kind===`call`&&(i.call.status===`failed`?t++:i.call.status===`infra`?n++:i.call.status===`running`&&r++);return{bad:t,infra:n,running:r}}function C(e){let{bad:t,infra:n,running:r}=S(e);(t||n||r)&&(e.groupOpen=!0)}function T(e){let t=o.get(g);t&&(t.live=!1),g=e.index;let n=m;m=null;let i=y({kind:`step`,key:v(`step`),index:e.index,at:e.narration?e.narration.at:n?.at,turn:n,narration:e.narration?e.narration.text:null,note:`no commentary`,items:[],live:!0,manual:!1,groupOpen:!0});return o.set(e.index,i),r.log.push(i),i}function O(e){return o.get(e.index)??T(e)}function k(e,t){let n=O(e);if(t.quiet){p.add(t.id),n.items.push({kind:`quiet`,at:t.startedAt,text:`✎ ${t.tool===`update_status`?`status checklist updated`:t.title}`}),C(n);return}let i=y(q(t,r.allOpen||b(t.tags)));u.set(t.id,i),d.set(t.id,n),n.items.push({kind:`call`,call:i}),C(n)}function A(e,t){if(p.has(t.id)){let t=o.get(e.index);t&&C(t);return}let n=u.get(t.id);if(!n){k(e,t);return}Object.assign(n,q(t,n.open)),b(t.tags)&&(n.open=!0);let r=o.get(e.index);r&&C(r)}function j(e,t){m&&=(r.log.push({kind:`turn`,key:v(`turn`),turn:m,note:e,...t===void 0?{}:{noteHref:t}}),null)}let M=new Map,N=y([]);function ee(e){if(e.direction===`in`){M.get(e.messageId)?.files.push(e);return}N.push(e);let t=u.get(e.callId);t&&((t.files??=[]).push(e),t.open=!0)}function P(e){switch(r.placeholder=!1,e.kind){case`input`:{let t={text:e.text,messageId:e.messageId,at:e.at,...e.source?{source:e.source}:{},files:[]};r.request?r.log.push({kind:`followup`,key:v(`followup`),input:t}):r.request=t,M.set(t.messageId,t);return}case`step`:T(e.step);return;case`call`:k(e.step,e.call);return;case`result`:A(e.step,e.call);return;case`turn`:j(``),m=_e(e,r.model,h),m.model&&(h=!0),e.model&&!(r.model!==null&&Te(e.model,r.model))&&(r.model=e.model);return;case`meta`:r.model===null&&e.model&&(r.model=e.model),r.meta={agent:e.agent,model:e.model,...e.effort?{effort:e.effort}:{},...e.harness?{harness:e.harness}:{},...e.harnessScope?{harnessScope:e.harnessScope}:{},...e.repo?{repo:e.repo}:{},...e.ref?{ref:e.ref}:{},...e.pr===void 0?{}:{pr:e.pr},...e.headSha?{headSha:e.headSha}:{}};return;case`pr_opened`:r.prOpened={url:e.url,number:e.number,created:e.created};return;case`skill`:O(e.step).items.push({kind:`skill`,skill:e.skill});return;case`artifact`:ee(e.artifact);return;case`context`:r.context.push({key:v(`ctx`),at:e.at,text:e.text});return;case`reference`:r.references.push({key:v(`ref`),at:e.at,url:e.url,channelName:e.channelName,messages:e.messages,text:e.text});return;case`note`:if(e.noteKind===`follow_up`)return;r.log.push({kind:`note`,key:v(`note`),at:e.at,replay:!1,text:e.text,noteKind:e.noteKind}),(e.noteKind===`stop_requested`||e.noteKind===`stopped`)&&(e.mode===`soft`||e.mode===`hard`)&&W(e.mode);return;case`replay_note`:r.log.push({kind:`note`,key:v(`note`),replay:!0,text:e.text});return;case`span`:{if(ue(e.name)){e.name===`run.agent`&&e.open&&I(`getting_ready`);return}e.name.startsWith(`post.`)&&e.open&&I(`finishing_up`);let t=s.get(e.spanId);if(t){t.open=e.open,e.durationMs!==void 0&&(t.durationMs=e.durationMs),e.status&&(t.status=e.status);return}let n=y({kind:`span`,key:v(`span`),spanId:e.spanId,text:U(e.name),open:e.open,...e.durationMs===void 0?{}:{durationMs:e.durationMs},...e.status?{status:e.status}:{},at:e.open?e.at:e.startedAt??e.at});s.set(e.spanId,n);let i=le(e.name);if(i){let t=l.get(i);t||(t={group:y({kind:`phase`,phase:i,key:v(i),rows:[],open:!0}),toggled:!1},l.set(i,t),r.log.push(t.group)),t.group.rows.push(n),c.set(e.spanId,t.group);return}r.log.push(n);return}case`answer`:j(`wrote the reply`,`#reply`),r.reply={text:e.text,at:e.at,files:N};return}}function F(e){let t=x(),n=r.clockAt===null||r.clockWall===null?null:r.clockAt+(t-r.clockWall);(n===null||e>=n)&&(r.clockAt=e,r.clockWall=t)}function I(e){let t=l.get(e);t&&!t.toggled&&(t.group.open=!1)}function L(e){let t=e,s=t?.type===`span_start`||t?.type===`span_end`;if(t&&typeof t.type==`string`){let t=e;i.push(t),D(t)&&w(a,t,``),r.traceVersion++}t&&!s&&typeof t.at==`number`&&((r.firstAt===null||t.at<r.firstAt)&&(r.firstAt=t.at),(r.lastAt===null||t.at>=r.lastAt)&&(r.lastAt=t.at),F(t.at));for(let t of n.push(e))P(t);let c=e;if((c?.type===`tool_call`||c?.type===`tool_result`)&&typeof c.logIndex==`number`&&!f.has(c.logIndex)){let e=(typeof c.callId==`string`?d.get(c.callId):void 0)??o.get(g);e&&f.set(c.logIndex,e)}}function R(e){if(e.turn)return`span-${e.turn.spanId}`;let t=e.items.find(e=>e.kind===`call`);return t?.kind===`call`?`call-${t.call.id}`:void 0}function z(e){let t=f.get(e);if(!t){let n=-1;for(let[r,i]of f)r<e&&r>n&&(n=r,t=i)}if(!t)return;let n=R(t);return n===void 0?void 0:{step:t,anchor:n}}function B(){for(let e of u.values())if(e.status===`running`)return e;return null}function V(e){r.allOpen=e;for(let t of l.values())t.group.open=e,t.toggled=!0;for(let t of u.values())t.open=e}function H(e){if(e.startsWith(`call-`)){let t=e.slice(5),n=d.get(t);return!n||!u.has(t)?!1:(n.manual=!0,n.groupOpen=!0,!0)}if(e.startsWith(`span-`)){let t=e.slice(5),n=c.get(t);if(n){n.open=!0;let e=l.get(n.phase);return e&&(e.toggled=!0),!0}if(s.has(t))return!0;for(let e of r.log)if(e.kind===`step`&&e.turn?.spanId===t||e.kind===`turn`&&e.turn.spanId===t)return!0}return!1}function W(e){r.stopMode=e}function ne(e){r.elided.push(e),r.log.push({kind:`note`,key:v(`note`),replay:!0,text:ge(e)}),r.placeholder=!1,r.traceVersion++}return{state:r,handle:L,noteElided:ne,spanSet:()=>[...a.values()],losses:e=>i.losses({windowStart:e,elided:r.elided}),pendingCall:B,flushPendingTurn:j,closePhases(){I(`getting_ready`),I(`finishing_up`)},setAllOpen:V,togglePhase(e){e.open=!e.open;let t=l.get(e.phase);t&&(t.toggled=!0)},reveal:H,landing:z,callHeadline:e=>u.get(e)?.headline,toggleGroup(e){e.manual=!0,e.groupOpen=!e.groupOpen},toggleCall(e){e.open=!e.open},markStopping:W,opensByDefault:b,seedClock:F}}function J(e,t){return e.clockAt===null||e.clockWall===null?null:e.clockAt+(t-e.clockWall)}function xe(e,t){return{now:n=>e.serverNow+(n-t),elapsedMs(t){return C(e,this.now(t))??0},elapsedAt(t){return C({receivedAt:e.receivedAt,startedAt:e.startedAt,finishedAt:t})??0}}}function Se(e){if(typeof e!=`string`)return{};let t;try{t=JSON.parse(e)}catch{return{}}if(typeof t!=`object`||!t)return{};let{sealedAt:n,replyOk:r}=t;return{...typeof n==`number`&&Number.isFinite(n)&&n>0?{sealedAt:n}:{},...typeof r==`boolean`?{replyOk:r}:{}}}function Ce(e){return e.replyOk===!1?`reply failed`:e.replyOk!==!0||e.finishedAt===void 0||e.sealedAt===void 0?``:`delivered in ${T(Math.max(0,e.sealedAt-e.finishedAt),`clock`)}`}function we(e){if(typeof e!=`string`)return null;let t;try{t=JSON.parse(e)}catch{return null}if(typeof t!=`object`||!t)return null;let{finishedAt:n}=t;return typeof n==`number`&&Number.isFinite(n)&&n>0?{finishedAt:n}:null}var Y=Symbol(`sb-runner-clock`),X=Symbol(`sb-artifact-links`),Z=Symbol(`sb-reply-landed`);function Te(e,t){return e===t||!e.includes(`/`)!=!t.includes(`/`)&&Q(e)===Q(t)}function Q(e){if(!e)return`model`;let t=e.lastIndexOf(`/`);return(t===-1?e:e.slice(t+1))||e}var Ee=6e4;function De(e,t,n){let r=J(e,n);if(r===null||e.lastAt===null)return{kind:`starting`};if(t)return{kind:`call`,call:t,elapsedMs:Math.max(0,r-(t.startedAt??e.lastAt))};let i=Math.max(0,r-e.lastAt);return{kind:`thinking`,elapsedMs:i,slow:i>=Ee}}var Oe=new Set([`image/png`,`image/jpeg`,`image/gif`,`image/webp`]),ke=65536,Ae=new Set([`application/json`,`application/x-ndjson`,`application/xml`,`application/yaml`]);function je(e){return Oe.has(e)?`image`:e.startsWith(`video/`)?`video`:e.startsWith(`audio/`)?`audio`:e.startsWith(`text/`)||Ae.has(e)?`text`:`other`}var Me=[`data-open-images`],Ne={class:`mb-1.5 flex items-baseline gap-2 font-mono text-[0.68rem] font-medium uppercase tracking-wider text-dimmed`},Pe={class:`count font-normal normal-case tracking-normal`},Fe={class:`m-0 flex list-none flex-col gap-1.5 p-0`},Ie=[`data-direction`,`data-kind`,`data-open`,`data-expired`],Le={class:`flex flex-wrap items-baseline gap-x-2.5 gap-y-0.5 font-mono text-xs`},Re=[`title`],ze=[`aria-expanded`,`aria-controls`,`onClick`],Be={key:1,class:`name font-medium text-toned`},Ve={class:`fact text-dimmed`},He={class:`fact text-dimmed`},Ue={key:2,class:`expired text-warn`},We=[`id`,`aria-hidden`],Ge={class:`min-h-0 overflow-hidden`},Ke=[`src`,`alt`,`onError`],qe=[`src`,`onError`],Je=[`src`,`onError`],Ye={key:3,class:`mt-1.5`},Xe={key:0,class:`text max-h-96 overflow-auto rounded border border-(--ui-border) bg-elevated p-2.5 font-mono text-xs whitespace-pre-wrap break-words text-toned`},Ze={key:1,class:`text-xs text-bad`},Qe={key:2,class:`mt-1 text-xs text-dimmed`},$e={key:4,class:`other mt-1.5 flex flex-wrap items-baseline gap-x-3 gap-y-1 font-mono text-xs text-dimmed`},et=[`href`,`download`],tt=0,nt=o({__name:`MessageFiles`,props:{files:{},openImages:{type:Boolean,default:!0}},setup(e){let o=e,f=l(X,null),m=y(new Set),g=y(new Set),_=y(new Set),v=y(new Map);function x(){for(let e of o.files)o.openImages&&je(e.contentType)===`image`&&!g.has(e.key)&&!_.has(e.key)&&(g.add(e.key),_.add(e.key))}x(),r(()=>[o.files,o.files.length],x),tt+=1;let S=`files-${tt}`,C=b(()=>o.files.map((e,t)=>({...e,href:f?me(f,e.key):null,kind:je(e.contentType),open:g.has(e.key),mounted:_.has(e.key),expired:m.has(e.key),panelId:`${S}-file-${t}`})));function w(e){if(e.href&&!e.expired){if(g.has(e.key)){g.delete(e.key);return}g.add(e.key),_.add(e.key),e.kind===`text`&&!v.has(e.key)&&T(e.key,e.href)}}async function T(e,t){v.set(e,{text:``,truncated:!1});try{let n=await fetch(t,{credentials:`same-origin`});if(n.status===410){m.add(e),v.delete(e);return}if(!n.ok||!n.body)throw Error(`HTTP ${n.status}`);let r=n.body.getReader(),i=new TextDecoder,a=``,o=0,s=!1;for(;;){let{value:e,done:t}=await r.read();if(t)break;let n=ke-o,c=e.byteLength>n?e.subarray(0,n):e;if(a+=i.decode(c,{stream:!0}),o+=c.byteLength,o>=65536){s=e.byteLength>n||!(await r.read()).done,await r.cancel();break}}v.set(e,{text:a,truncated:s})}catch(t){v.set(e,{text:``,truncated:!1,error:t instanceof Error?t.message:String(t)})}}function E(e){m.add(e),g.delete(e)}let D=e=>e===`out`?`↑ sent`:`↓ received`,O=e=>e===`out`?`sent by the run`:`received from the thread`;return(r,o)=>(u(),t(`div`,{class:`files mt-3 border-t border-(--ui-border) pt-2`,"data-open-images":e.openImages?`1`:`0`},[d(`h3`,Ne,[o[0]||=d(`span`,null,`Files`,-1),d(`span`,Pe,`· `+a(e.files.length)+` file`+a(e.files.length===1?``:`s`),1)]),d(`ul`,Fe,[(u(!0),t(h,null,n(C.value,e=>(u(),t(`li`,{key:e.key,class:`artifact`,"data-direction":e.direction,"data-kind":e.kind,"data-open":e.open?`1`:`0`,"data-expired":e.expired?`1`:`0`},[d(`div`,Le,[d(`span`,{class:`dir shrink-0 select-none text-dimmed`,title:O(e.direction)},a(D(e.direction)),9,Re),e.href&&!e.expired?(u(),t(`button`,{key:0,type:`button`,class:`name flex cursor-pointer items-baseline gap-1.5 border-0 bg-transparent p-0 font-mono text-xs font-medium text-primary hover:underline focus-visible:outline-2 focus-visible:outline-primary`,"aria-expanded":e.open?`true`:`false`,"aria-controls":e.panelId,onClick:t=>w(e)},[d(`span`,{class:s([`chev inline-block select-none text-[0.65rem] text-dimmed transition-transform motion-reduce:transition-none`,e.open?`rotate-90`:``]),"aria-hidden":`true`},`❯`,2),d(`span`,null,a(e.name),1)],8,ze)):(u(),t(`span`,Be,a(e.name),1)),d(`span`,Ve,a(p(A)(e.size)),1),d(`span`,He,a(e.contentType),1),e.expired&&p(f)?(u(),t(`span`,Ue,`expired after `+a(p(f).retentionDays)+` days`,1)):c(``,!0)]),e.href&&!e.expired?(u(),t(`div`,{key:0,id:e.panelId,class:`panel grid transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none`,style:i({gridTemplateRows:e.open?`1fr`:`0fr`}),"aria-hidden":e.open?`false`:`true`},[d(`div`,Ge,[e.mounted?(u(),t(h,{key:0},[e.kind===`image`?(u(),t(`img`,{key:0,class:`preview mt-1.5 max-h-96 max-w-full rounded border border-(--ui-border)`,src:e.href,alt:e.name,loading:`lazy`,onError:t=>E(e.key)},null,40,Ke)):e.kind===`video`?(u(),t(`video`,{key:1,class:`preview mt-1.5 max-h-96 max-w-full rounded border border-(--ui-border) bg-black`,src:e.href,controls:``,playsinline:``,preload:`auto`,onError:t=>E(e.key)},null,40,qe)):e.kind===`audio`?(u(),t(`audio`,{key:2,class:`preview mt-1.5 w-full max-w-xl`,src:e.href,controls:``,preload:`auto`,onError:t=>E(e.key)},null,40,Je)):e.kind===`text`?(u(),t(`div`,Ye,[v.get(e.key)&&!v.get(e.key).error?(u(),t(`pre`,Xe,a(v.get(e.key).text),1)):c(``,!0),v.get(e.key)?.error?(u(),t(`p`,Ze,` could not read the file: `+a(v.get(e.key).error),1)):v.get(e.key)?.truncated?(u(),t(`p`,Qe,` showing the first `+a(p(A)(p(ke)))+` of `+a(p(A)(e.size)),1)):c(``,!0)])):(u(),t(`div`,$e,[d(`span`,null,`no preview for `+a(e.contentType),1),d(`a`,{class:`download inline-block rounded border border-default px-2 py-0.5 font-medium text-toned no-underline hover:bg-accented hover:text-primary focus-visible:outline-2 focus-visible:outline-primary`,href:e.href,download:e.name},`Download `+a(p(A)(e.size)),9,et)]))],64)):c(``,!0)])],12,We)):c(``,!0)],8,Ie))),128))])],8,Me))}}),rt=[`id`,`open`,`title`,`data-status`,`data-heat`],it={key:0,class:`spin inline-block size-[0.7em] shrink-0 animate-spin self-center rounded-full border-2 border-accented border-t-info motion-reduce:animate-none`,role:`img`,"aria-label":`running`},at={key:2,class:`dollar shrink-0 select-none text-dimmed`},ot={key:3,class:`tool shrink-0 rounded bg-accented px-1.5 text-xs leading-normal text-muted`},st={key:0,class:`cmd brief min-w-0 flex-1 truncate text-info`},ct={key:1,class:`cmd full min-w-0 flex-1 whitespace-pre-wrap break-words text-info max-sm:order-last max-sm:basis-full`},lt={key:5,class:`cmd min-w-0 flex-1`},ut={class:`facts ml-auto flex shrink-0 gap-2.5 text-xs tabular-nums text-muted`},dt={key:0,class:`fact elapsed`,title:`since this call started (runner clock)`},ft={key:0,class:`over rounded bg-bad/15 px-1 font-medium text-bad`},pt={key:1,class:`over rounded bg-bad/15 px-1 font-medium text-bad`},mt={class:`body`},ht={key:1,class:`none px-3 py-1.5 text-xs italic text-dimmed`},gt={key:2,class:`none px-3 py-1.5 text-xs italic text-dimmed`},_t=o({__name:`CallCard`,props:{call:{}},setup(e){let r=e,o=l(Y,null),f=l(Z,null),m=b(()=>{let e=o?.value;return r.call.status!==`running`||typeof e!=`number`||r.call.startedAt===void 0?``:T(Math.max(0,e-r.call.startedAt),`clock`)}),_=b(()=>N(r.call.durationMs,`tool`,r.call.timedOut)),y=b(()=>j(_.value)),x=b(()=>r.call.durationMs===void 0?-1:r.call.facts.length-1);function S(){r.call.open=!r.call.open}return(r,o)=>(u(),t(`details`,{id:`call-${e.call.id}`,class:s([`call rounded-lg border border-default bg-elevated font-mono open:bg-accented`,e.call.status]),open:e.call.open,title:typeof e.call.startedAt==`number`?`started ${p(O)(e.call.startedAt)}`:void 0,"data-status":e.call.status,"data-heat":_.value.level},[d(`summary`,{class:s([`flex min-w-0 cursor-pointer list-none items-baseline gap-3 rounded-lg pl-3 pr-[calc(var(--sb-gutter)-1px)] py-2 hover:bg-accented/60 focus-visible:outline-2 focus-visible:outline-primary max-sm:flex-wrap [&::-webkit-details-marker]:hidden`,e.call.open?`rounded-b-none border-b border-default`:``]),onClick:g(S,[`prevent`])},[d(`span`,{class:s([`chev shrink-0 select-none text-xs text-dimmed transition-transform motion-reduce:transition-none`,e.call.open?`rotate-90`:``])},`❯`,2),e.call.status===`running`?(u(),t(`span`,it)):(u(),t(`span`,{key:1,class:s([`glyph w-[1em] shrink-0 text-center font-medium`,e.call.status===`ok`?`text-ok`:e.call.status===`failed`?`text-bad`:`text-warn`])},a(e.call.status===`ok`?`✓`:e.call.status===`failed`?`✗`:`⚠`),3)),e.call.shell?(u(),t(`span`,at,`$`)):(u(),t(`span`,ot,a(e.call.tool),1)),e.call.chipOnly?(u(),t(`span`,lt)):(u(),t(h,{key:4},[e.call.open?(u(),t(`code`,ct,a(e.call.title),1)):(u(),t(`code`,st,a(e.call.headline),1))],64)),d(`span`,ut,[m.value?(u(),t(`span`,dt,a(m.value),1)):c(``,!0),(u(!0),t(h,null,n(e.call.facts,(n,r)=>(u(),t(h,{key:r},[r===x.value&&_.value.over?(u(),t(`span`,ft,`timed out`)):c(``,!0),d(`span`,{class:s([`fact`,[e.call.status!==`ok`&&r===0?`text-bad`:``,r===x.value&&_.value.over?`font-medium text-bad`:``,r===x.value&&y.value?`heat`:``,r===x.value&&_.value.level>=2&&!_.value.over?`font-medium`:``]]),style:i(r===x.value?y.value:void 0)},a(n),7)],64))),128)),_.value.over&&x.value===-1?(u(),t(`span`,pt,`timed out`)):c(``,!0)])],2),d(`div`,mt,[e.call.hasResult&&e.call.output?(u(),t(`pre`,{key:0,class:s([`out max-h-[28rem] overflow-auto whitespace-pre-wrap break-words px-3.5 py-2.5 font-mono leading-normal`,e.call.status===`failed`?`text-bad`:`text-toned`])},a(e.call.output),3)):e.call.hasResult?(u(),t(`div`,ht,`no output`)):(u(),t(`div`,gt,`no output yet`)),e.call.files&&e.call.files.length>0?(u(),v(nt,{key:3,class:`mx-3.5 mb-2.5`,files:e.call.files,"open-images":!p(f)},null,8,[`files`,`open-images`])):c(``,!0)])],10,rt))}}),vt=[`title`],yt=[`title`],bt={class:`skillname whitespace-nowrap font-mono font-medium text-skill`},xt={key:0,class:`skilldesc min-w-0 flex-1 truncate text-xs text-muted`},St={class:`facts ml-auto flex shrink-0 gap-2.5 font-mono text-xs text-muted`},Ct=[`href`],wt={class:`fact`},$=o({__name:`StepItems`,props:{items:{}},setup(e){return(r,i)=>(u(!0),t(h,null,n(e.items,(e,n)=>(u(),t(h,{key:n},[e.kind===`call`?(u(),v(_t,{key:0,call:e.call},null,8,[`call`])):e.kind===`quiet`?(u(),t(`div`,{key:1,class:`quiet flex items-baseline gap-3 pl-3 pr-(--sb-gutter) py-0.5 font-mono text-xs text-dimmed`,title:e.at===void 0?void 0:p(O)(e.at)},[d(`span`,null,a(e.text),1)],8,vt)):(u(),t(`div`,{key:2,class:`skill flex items-baseline gap-2.5 pl-3 pr-(--sb-gutter) py-0.5`,title:e.skill.at===void 0?void 0:p(O)(e.skill.at)},[i[0]||=d(`span`,{class:`skillmark shrink-0 select-none text-xs`},`📚`,-1),d(`span`,bt,`skill `+a(e.skill.name),1),e.skill.description?(u(),t(`span`,xt,a(e.skill.description),1)):c(``,!0),d(`span`,St,[e.skill.source?(u(),t(`a`,{key:0,class:`fact text-primary hover:underline`,href:e.skill.source,target:`_blank`,rel:`noopener noreferrer`},`source`,8,Ct)):c(``,!0),d(`span`,wt,a(p(A)(e.skill.bodyBytes))+` into context`,1)])],8,yt))],64))),128))}}),Tt=[`id`,`data-live`],Et={class:`head flex items-baseline gap-x-6 pb-1.5 pr-(--sb-gutter)`},Dt={class:`min-w-0 flex-1`},Ot={key:0,class:`meta flex flex-wrap items-baseline gap-x-2.5 gap-y-0.5 font-mono text-xs tabular-nums text-dimmed`},kt=[`data-heat`,`title`],At=[`title`],jt=[`title`],Mt={key:2,class:`nonar font-sans text-sm italic text-dimmed`},Nt=[`title`],Pt={key:0,class:`narration flex items-baseline gap-3 pb-1.5 pr-(--sb-gutter)`},Ft={key:1,class:`narration flex items-baseline gap-3 pb-1.5 pr-(--sb-gutter)`},It={class:`nonar flex-1 font-sans text-sm italic text-dimmed`},Lt={class:`calls flex flex-col gap-2`},Rt=[`open`,`data-group-open`],zt=[`title`],Bt=[`data-ok`,`data-bad`,`data-infra`,`data-running`],Vt=[`data-heat`],Ht={class:`gbody flex flex-col gap-2 pb-1 pt-1.5`},Ut=o({__name:`StepBlock`,props:{step:{}},emits:[`toggleGroup`],setup(r,{emit:o}){let l=r,f=o,_=b(()=>l.step.items.filter(e=>e.kind===`call`)),y=b(()=>_.value.length>=2),x=b(()=>{let e=0,t=0,n=0,r=0,i=0;for(let a of _.value){if(a.kind!==`call`)continue;let o=a.call;o.status===`ok`?e++:o.status===`failed`?t++:o.status===`infra`?n++:r++,typeof o.durationMs==`number`&&(i+=o.durationMs)}return{n:e+t+n+r,ok:e,bad:t,infra:n,running:r,ms:i}}),S=b(()=>ve(x.value)),C=b(()=>_.value.some(e=>e.kind===`call`&&e.call.timedOut)),w=b(()=>N(x.value.ms,`tool`,C.value)),E=b(()=>j(w.value)),D=b(()=>l.step.turn?N(l.step.turn.durationMs,`turn`):void 0),A=b(()=>D.value?j(D.value):void 0),M=b(()=>{let e=_.value[0];return e?.kind===`call`?e.call.startedAt:void 0});return(o,l)=>(u(),t(`li`,{id:r.step.turn?`span-${r.step.turn.spanId}`:void 0,class:s([`step relative border-l-2 pb-3 pl-3 pt-2`,r.step.live?`border-ok/40`:`border-(--ui-border-accented)/50`]),"data-live":r.step.live?`1`:void 0},[d(`div`,Et,[d(`div`,Dt,[r.step.turn?(u(),t(`div`,Ot,[d(`span`,{class:s([`thought`,[A.value?`heat`:``,D.value&&D.value.level>=2?`font-medium`:``]]),style:i(A.value),"data-heat":D.value?.level,title:r.step.turn.label},`thought `+a(r.step.turn.chip),15,kt),r.step.turn.switched?(u(),t(`span`,{key:0,class:`model-switch order-first rounded border border-warn/40 bg-warn/10 px-1.5 font-medium text-warn`,title:`model changed: this turn ran on ${r.step.turn.model}`},`⇄ `+a(p(Q)(r.step.turn.model)),9,At)):r.step.turn.showModel?(u(),t(`span`,{key:1,class:`model-badge order-first rounded bg-accented px-1.5 text-[0.68rem] font-medium leading-normal tracking-wider text-muted`,title:r.step.turn.model},a(p(Q)(r.step.turn.model)),9,jt)):c(``,!0),(u(!0),t(h,null,n(r.step.turn.facts,(e,n)=>(u(),t(`span`,{key:n,class:`fact`},a(e),1))),128))])):r.step.narration===null?(u(),t(`span`,Mt,a(r.step.note),1)):(u(),v(P,{key:1,text:r.step.narration},null,8,[`text`]))]),r.step.at===void 0?c(``,!0):(u(),t(`span`,{key:0,class:`ts shrink-0 select-none font-mono text-xs tabular-nums text-dimmed`,title:p(O)(r.step.at)},a(p(k)(r.step.at)),9,Nt))]),r.step.turn&&r.step.narration!==null?(u(),t(`div`,Pt,[e(P,{text:r.step.narration},null,8,[`text`])])):r.step.turn&&r.step.narration===null&&!r.step.turn.facts.length?(u(),t(`div`,Ft,[d(`span`,It,a(r.step.note),1)])):c(``,!0),d(`div`,Lt,[y.value?(u(),t(`details`,{key:1,class:`grp`,open:r.step.groupOpen,"data-group-open":r.step.groupOpen?`1`:`0`},[d(`summary`,{class:`gsummary flex cursor-pointer list-none items-baseline gap-3 rounded-md pl-3 pr-(--sb-gutter) py-1 font-mono text-xs text-dimmed hover:bg-accented/40 hover:text-muted focus-visible:outline-2 focus-visible:outline-primary [&::-webkit-details-marker]:hidden`,title:typeof M.value==`number`?`calls began ${p(O)(M.value)}`:void 0,onClick:l[0]||=g(e=>f(`toggleGroup`),[`prevent`])},[d(`span`,{class:s([`gchev shrink-0 select-none transition-transform motion-reduce:transition-none`,r.step.groupOpen?`rotate-90`:``])},`❯`,2),d(`span`,{class:s([`gcount`,x.value.bad||x.value.infra?`text-bad`:``]),"data-ok":x.value.ok,"data-bad":x.value.bad,"data-infra":x.value.infra,"data-running":x.value.running},a(S.value),11,Bt),x.value.ms>0?(u(),t(`span`,{key:0,class:s([`gtime ml-auto tabular-nums`,[E.value?`heat`:``,w.value.over?`font-medium text-bad`:w.value.level>=2?`font-medium`:``]]),style:i(E.value),"data-heat":w.value.level},[w.value.over?(u(),t(h,{key:0},[m(`timed out · `)],64)):c(``,!0),m(a(p(T)(x.value.ms,`clock`)),1)],14,Vt)):c(``,!0)],8,zt),d(`div`,Ht,[e($,{items:r.step.items},null,8,[`items`])])],8,Rt)):(u(),v($,{key:0,items:r.step.items},null,8,[`items`]))])],10,Tt))}});function Wt(e){let t=[];for(let n of e.split(/\r?\n\r?\n/)){let e=n.split(/\r?\n/);if(e.some(e=>e.startsWith(`event:`)))continue;let r=e.filter(e=>e.startsWith(`data:`)).map(e=>e.slice(5).replace(/^ /,``)).join(`
11
11
  `);if(r!==``)try{let e=JSON.parse(r);typeof e==`object`&&e&&typeof e.type==`string`&&t.push(e)}catch{}}return t}export{ce as C,oe as S,P as T,ye as _,Z as a,K as b,be as c,Q as d,Se as f,pe as g,fe as h,X as i,Ce as l,he as m,Ut as n,Y as o,we as p,nt as r,xe as s,Wt as t,De as u,J as v,U as w,G as x,se as y};