scrum-skills 0.2.8 → 0.3.1

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 (53) hide show
  1. package/README.md +2 -2
  2. package/assets/board/200.html +1 -1
  3. package/assets/board/404.html +1 -1
  4. package/assets/board/_nuxt/{CgsIgLAl.js → 1eqboJxR.js} +1 -1
  5. package/assets/board/_nuxt/{D2y4OEzn.js → 2K7ag6ES.js} +1 -1
  6. package/assets/board/_nuxt/{Cdq1mu9k.js → BDK2Hj7B.js} +1 -1
  7. package/assets/board/_nuxt/{BTUFQZje.js → BDcnzXHq.js} +1 -1
  8. package/assets/board/_nuxt/{CcuuI9Sq.js → BodFvto3.js} +1 -1
  9. package/assets/board/_nuxt/{DiNoFn-l.js → BpWeHLuN.js} +1 -1
  10. package/assets/board/_nuxt/{CCu-GrP6.js → C40iTe-x.js} +1 -1
  11. package/assets/board/_nuxt/{CdUK5KDt.js → CGI_ZV79.js} +1 -1
  12. package/assets/board/_nuxt/{C0MJr2p5.js → CJMBJQuf.js} +1 -1
  13. package/assets/board/_nuxt/{C71fhlb8.js → CMUi2-Lj.js} +1 -1
  14. package/assets/board/_nuxt/{D_ozsr87.js → COf6E6h4.js} +1 -1
  15. package/assets/board/_nuxt/{CbWqy_D-.js → CPCUMJnF.js} +1 -1
  16. package/assets/board/_nuxt/{BPk90EtV.js → CPcKlmSm.js} +1 -1
  17. package/assets/board/_nuxt/{B6vVYM-p.js → CSSb154I.js} +1 -1
  18. package/assets/board/_nuxt/{Bx4QbBZW.js → CvLiA4_O.js} +1 -1
  19. package/assets/board/_nuxt/{DZyjheFK.js → Cvs12oA0.js} +1 -1
  20. package/assets/board/_nuxt/{_Cm6pyB6.js → CyEXFe3V.js} +1 -1
  21. package/assets/board/_nuxt/{B2IHsbSE.js → D2FhHl1o.js} +1 -1
  22. package/assets/board/_nuxt/{CEL9RA0c.js → D75vbfSb.js} +1 -1
  23. package/assets/board/_nuxt/{C_TkjLEl.js → DEfLc7p3.js} +1 -1
  24. package/assets/board/_nuxt/{Dx9JzdjR.js → DRPlYvb3.js} +1 -1
  25. package/assets/board/_nuxt/{D-o97j5o.js → DRlQgul3.js} +1 -1
  26. package/assets/board/_nuxt/{CJztj5jW.js → D_S6N7_b.js} +1 -1
  27. package/assets/board/_nuxt/{SHOVXANq.js → DfR3IZN_.js} +1 -1
  28. package/assets/board/_nuxt/{DLGnIg-4.js → DhuleNnm.js} +1 -1
  29. package/assets/board/_nuxt/{B8DfudjI.js → DnDHGSYI.js} +1 -1
  30. package/assets/board/_nuxt/{DzYai7fG.js → Dtsa-1NS.js} +1 -1
  31. package/assets/board/_nuxt/{k704SI9z.js → Dx1wcYFo.js} +1 -1
  32. package/assets/board/_nuxt/{B6Iz-Z6W.js → EYTShbt4.js} +1 -1
  33. package/assets/board/_nuxt/{a79OLqPB.js → P9x67aq2.js} +1 -1
  34. package/assets/board/_nuxt/S08nFESZ.js +3 -0
  35. package/assets/board/_nuxt/{SW1IUsvK.js → assMu_Wn.js} +1 -1
  36. package/assets/board/_nuxt/builds/latest.json +1 -1
  37. package/assets/board/_nuxt/builds/meta/4a212bd2-438f-4b26-b8f3-57db47ca0799.json +1 -0
  38. package/assets/board/_nuxt/last-change.1Su4GrCN.css +1 -0
  39. package/assets/board/_nuxt/{D7I69gaq.js → pIF8vEtK.js} +3 -3
  40. package/assets/board/_nuxt/{BO6qoy1z.js → rlePnzpc.js} +1 -1
  41. package/assets/board/_nuxt/{Yl0W9gdf.js → vwxaNGfc.js} +1 -1
  42. package/assets/board/burndown/index.html +1 -1
  43. package/assets/board/epics/index.html +1 -1
  44. package/assets/board/gantt/index.html +1 -1
  45. package/assets/board/index.html +1 -1
  46. package/assets/board/last-change/index.html +1 -1
  47. package/assets/board/milestones/index.html +1 -1
  48. package/package.json +1 -1
  49. package/tools/git-commit.mjs +216 -0
  50. package/tools/projects.mjs +16 -1
  51. package/assets/board/_nuxt/Dchb4IZl.js +0 -2
  52. package/assets/board/_nuxt/builds/meta/db579fb7-3d7f-417a-ab2b-7c3e33c91a0b.json +0 -1
  53. package/assets/board/_nuxt/last-change.D5qqZdbS.css +0 -1
@@ -3,4 +3,4 @@ import{t as e}from"./DK3Fl9T5.js";import{b as t,d as n,o as r,v as i,y as a}from
3
3
  }
4
4
  `},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:`
5
5
  {key}: `}};function an(e,t=`expanded`){let n=[];for(let r=0;r<e.length;r++){let{selector:i,rules:a}=e[r],o=(i instanceof Array?i.join(t===`compressed`?`,`:`, `):i)+X.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=X.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=X.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:`
6
- `)}function on(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o=Object.create(null);return Object.assign(o,t.rules,nn(a),rn({...J,...e,body:n},a)),an([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var sn=1e3,Z=new Map;function cn(e,t){let n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>Object.hasOwn(t,n)&&e[n]===t[n])}function ln(e,t,n){if(n)return on(e,{iconSelector:t,format:`compressed`,customise:n});let r=Z.get(t);if(r&&cn(r.icon,e))return r.css;let i=on(e,{iconSelector:t,format:`compressed`});return!r&&Z.size>=sn&&Z.clear(),Z.set(t,{icon:{...e},css:i}),i}var un=!1;function dn(e){if(un)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"activity":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2\\"/>"},"alert-circle":{"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>"},"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-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21 16l-4 4l-4-4m4 4V4M3 8l4-4l4 4M7 4v16\\"/>"},"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\\"/>"},"badge-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3.85 8.62a4 4 0 0 1 4.78-4.77a4 4 0 0 1 6.74 0a4 4 0 0 1 4.78 4.78a4 4 0 0 1 0 6.74a4 4 0 0 1-4.77 4.78a4 4 0 0 1-6.75 0a4 4 0 0 1-4.78-4.77a4 4 0 0 1 0-6.76\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"blocks":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2\\"/><rect width=\\"8\\" height=\\"8\\" x=\\"14\\" y=\\"2\\" rx=\\"1\\"/></g>"},"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\\"/>"},"bug":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 20v-9m2-4a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4zm.12-3.12L16 2\\"/><path d=\\"M21 21a4 4 0 0 0-3.81-4M21 5a4 4 0 0 1-3.55 3.97M22 13h-4M3 21a4 4 0 0 1 3.81-4M3 5a4 4 0 0 0 3.55 3.97M6 13H2M8 2l1.88 1.88M9 7.13V6a3 3 0 1 1 6 0v1.13\\"/></g>"},"calendar-days":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M8 2v3m8-3v3\\"/><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M3 9h18M8 13h.01M12 13h.01M16 13h.01M8 17h.01M12 17h.01M16 17h.01\\"/></g>"},"calendar-range":{"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=\\"M16 2v3M3 9h18M8 2v3m9 8h-6m2 4H7m0-4h.01M17 17h.01\\"/></g>"},"chart-gantt":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 6h8m-6 10h6M3 3v16a2 2 0 0 0 2 2h16M8 11h7\\"/>"},"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":{"width":24,"height":24,"body":"<circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"/>"},"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-check-big":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21.801 10A10 10 0 1 1 17 3.335\\"/><path d=\\"m9 11l3 3L22 4\\"/></g>"},"circle-slash":{"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=\\"m9 15l6-6\\"/></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>"},"clipboard-list":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"8\\" height=\\"4\\" x=\\"8\\" y=\\"2\\" rx=\\"1\\" ry=\\"1\\"/><path d=\\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m4 7h4m-4 5h4m-8-5h.01M8 16h.01\\"/></g>"},"compass":{"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.24 7.76l-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z\\"/></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>"},"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>"},"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-pen-line":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004zm.123-5.776A1 1 0 0 1 14 7V2\\"/><path d=\\"M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516M8 18h1\\"/></g>"},"flag":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\"/>"},"flask-conical":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2M6.453 15h11.094M8.5 2h7\\"/>"},"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\\"/>"},"gauge":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 14l4-4M3.34 19a10 10 0 1 1 17.32 0\\"/>"},"git-branch":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 6a9 9 0 0 0-9 9V3\\"/><circle cx=\\"18\\" cy=\\"6\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"18\\" r=\\"3\\"/></g>"},"git-commit-horizontal":{"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=\\"3\\"/><path d=\\"M3 12h6m6 0h6\\"/></g>"},"git-commit-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3v6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/><path d=\\"M12 15v6\\"/></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>"},"hand":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2m0 4V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2m0 4.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8\\"/><path d=\\"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15\\"/></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\\"/>"},"history":{"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 3v5h5m4-1v5l4 2\\"/></g>"},"image-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m2 2l20 20M10.41 10.41a2 2 0 1 1-2.83-2.83m5.92 5.92L6 21m12-9l3 3\\"/><path d=\\"M3.59 3.59A2 2 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59M21 15V5a2 2 0 0 0-2-2H9\\"/></g>"},"image-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 5h6m-3-3v6m2 3.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/></g>"},"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>"},"key-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\"/><circle cx=\\"16.5\\" cy=\\"7.5\\" r=\\".5\\" fill=\\"currentColor\\"/></g>"},"layers":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z\\"/><path d=\\"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12\\"/><path d=\\"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17\\"/></g>"},"layout-grid":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"7\\" height=\\"7\\" x=\\"3\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"14\\" y=\\"14\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"3\\" y=\\"14\\" rx=\\"1\\"/></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\\"/>"},"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\\"/>"},"list-checks":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4M3 7l2 2l4-4\\"/>"},"list-ordered":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\"/>"},"list-todo":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"3\\" y=\\"4\\" rx=\\"1\\"/></g>"},"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\\"/>"},"map-pin":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/></g>"},"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-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\\"/>"},"message-square-more":{"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 2zm-10-6h.01M16 11h.01M8 11h.01\\"/>"},"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-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 16h.01M12 8v4m3.312-10a2 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-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z\\"/>"},"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>"},"plug-zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\"/>"},"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\\"/>"},"refresh-cw":{"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 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rocket":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\"/><path d=\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\"/><path d=\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\"/></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>"},"scale":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3v18m7-13l3 8a5 5 0 0 1-6 0zV7\\"/><path d=\\"M3 7h1a17 17 0 0 0 8-2a17 17 0 0 0 8 2h1M5 8l3 8a5 5 0 0 1-6 0zV7m2 14h10\\"/></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>"},"search-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m13.5 8.5l-5 5m0-5l5 5\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/><path d=\\"m21 21l-4.3-4.3\\"/></g>"},"settings-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 17H5M19 7h-9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/><circle cx=\\"7\\" cy=\\"7\\" r=\\"3\\"/></g>"},"shield-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" 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 1zm-8-5v4m0 4h.01\\"/>"},"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>"},"signal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 20h.01M7 20v-4m5 4v-8m5 8V8m5-4v16\\"/>"},"sparkles":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\\"/><circle cx=\\"4\\" cy=\\"20\\" r=\\"2\\"/></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>"},"target":{"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\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/></g>"},"terminal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 19h8M4 17l6-6l-6-6\\"/>"},"terminal-square":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m7 11l2-2l-2-2m4 6h4\\"/><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/></g>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"trending-down":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 17h6v-6\\"/><path d=\\"m22 17l-8.5-8.5l-5 5L2 7\\"/></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\\"/>"},"zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);un=!0}var fn=45,pn=new WeakMap;function mn(e){if(!e)return[];let t=s(e),n=pn.get(t);if(!n){let e=e=>[...e].sort((e,t)=>t.length-e.length);n=_(()=>e(v(t))),pn.set(t,n)}return n.value}function hn(e,t){let n=e.startsWith(t.cssSelectorPrefix)?e.slice(t.cssSelectorPrefix.length):e,r=t.aliases?.[n]||n;if(!r.includes(`:`)){let e=mn(t.collections).find(e=>r.charCodeAt(e.length)===fn&&r.startsWith(e));return e?e+`:`+r.slice(e.length+1):r}return r}async function gn(e,t){if(!e)return null;dn(L);let n=xe(e);if(n)return n;let r,i=ft(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,xe(e)}function _n(e){let t=O().icon;return _(()=>hn(e(),t))}function vn(e,t){if(e!==!1)return e===!0||e===null?t:e}function yn(e,t,n){if(n){t.appendChild(e);return}let r=t.querySelector(`style, link[rel="stylesheet"]`);r?t.insertBefore(e,r):t.appendChild(e)}var Q;function bn(e){return e.replace(/([^\w-])/g,`\\$1`)}function xn(){if(Q)return Q;Q=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&Q.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return Q}var Sn=x({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let t=r(),n=O().icon,i=_(()=>{if(!e.name)return``;let t=n.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+zt(e.customize.toString()):t});function a(e){if(!e)return;let n=xe(e);if(n)return n;let r=t.payload?.data?.[e];if(r)return L(e,r),r}let s=_(()=>`.`+bn(i.value));function c(t,r=!0,i=s.value){n.cssWherePseudo&&(i=`:where(${i})`);let a=ln(t,i,vn(e.customize,n.customize));return n.cssLayer&&r?`@layer ${n.cssLayer} { ${a} }`:a}{let t=xn();async function r(e,r,i){if(t.has(i)||typeof document>`u`)return;let a=document.createElement(`style`);a.textContent=c(e,!0,i),yn(a,document.head,n.cssLayer),t.add(i)}l(()=>e.name,e=>{let n=s.value;if(t.has(n))return;let i=a(e);i?r(i,e,n):gn(e,-1).then(t=>{t&&r(t,e,n)}).catch(()=>null)},{immediate:!0})}return G(),()=>o(`span`,{class:[`iconify`,i.value]})}});function Cn(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=wn(e,t,n);return a=i,i.finally(()=>{if(a=void 0,o&&!r){let e=o;o=void 0,s(t,e)}}),i};return function(...e){return o=e,a||new Promise(a=>{let c=t.leading&&!r;r||(r=!0,re(()=>{r=!1;let a=o??e;o=void 0;let c=t.leading?n:s(this,a);for(let e of i)e(c);i=[]})),c?(n=s(this,e),a(n)):i.push(a)})}}async function wn(e,t,n){return await e.apply(t,n)}x({name:`ServerPlaceholder`,render(){return m(`div`)}});var Tn=Symbol.for(`nuxt:client-only`);x({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(e,{slots:t,attrs:n}){let r=T(!1);h(()=>{r.value=!0});let i=d();return i&&(i._nuxtClientOnly=!0),y(Tn,!0),()=>{if(r.value){let e=t.default?.();return e&&e.length===1?[b(e[0],n)]:e}let i=t.fallback||t.placeholder;if(i)return o(i);let a=e.fallback||e.placeholder||``,s=D(e.fallbackTag||e.placeholderTag,`span`);return m(s,n,a)}}});var En=t({docsBase:i,reporters:a});function Dn(e={}){{function t(...t){let i=typeof t[t.length-1]==`string`?t.pop():void 0;kn(t[0],t[1])&&t.unshift(i);let[a,o,s={}]=t,f=!1,m=ne(a)||typeof a==`function`,h=m?_(()=>c(a)):{value:a};if(!h.value||typeof h.value!=`string`)throw En.NUXT_E3008();if(typeof o!=`function`)throw En.NUXT_E3009();let v=typeof e==`function`,y=r(),b=v?e(s):e;if(!v)for(let e in b)b[e]!==void 0&&s[e]===void 0&&(s[e]=b[e]);if(s.server??=!0,s.default??=Nn,s.getCachedData??=Pn,s.lazy??=!1,s.immediate??=!0,s.deep??=n.deep,s.dedupe??=`cancel`,s.enabled??=!0,v)for(let e in b)b[e]!==void 0&&(s[e]=b[e]);y._asyncData[h.value];function x(){let e={cause:`initial`,dedupe:s.dedupe},t=y._asyncData[h.value];return t?._init?y._asyncDataPromises[h.value]&&(e.cachedData=t._initialCachedData):(e.cachedData=s.getCachedData(h.value,y,{cause:`initial`}),y._asyncData[h.value]=Mn(y,h.value,o,s,e.cachedData),y._asyncData[h.value]._initialCachedData=e.cachedData),()=>y._asyncData[h.value].execute(e)}let S=x(),C=y._asyncData[h.value];C._deps++;let w=s.server!==!1&&y.payload.serverRendered,T=()=>!1;{let e=d(),t=!!e||T();if(w&&s.immediate&&G(),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];let t=e._nuxtOnBeforeMountCbs;te(()=>{t.forEach(e=>{e()}),t.splice(0,t.length)}),g(()=>t.splice(0,t.length))}let n=t&&(e?._nuxtClientOnly||u(Tn,!1)),r=h.value in y.payload.data;w&&y.isHydrating&&(C.error.value||C.data.value!==void 0&&(r||C._initialCachedData!==void 0))?C.status.value=C.error.value?`error`:`success`:t&&(!n&&y.payload.serverRendered&&y.isHydrating&&(!w||r)||s.lazy)&&s.immediate?e?e._nuxtOnBeforeMountCbs.push(S):te(()=>{S()}):s.immediate&&C.status.value!==`success`&&S();function i(e){let t=y._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())}let a=p(),_=()=>{},v=m?l(h,(e,t)=>{if((e||t)&&e!==t){f=!0;let n=y._asyncData[t]?.data.value!==void 0,r=y._asyncDataPromises[t]!==void 0,a={cause:`initial`,dedupe:s.dedupe};if(!y._asyncData[e]?._init){let r=s.getCachedData(e,y,{cause:`initial`});a.cachedData=r;let i=t&&n&&r===void 0?y._asyncData[t].data.value:r;y._asyncData[e]=Mn(y,e,o,s,i),y._asyncData[e]._initialCachedData=r}y._asyncData[e]._deps++,t&&i(t),s._keyTriggersExecute!==!1&&(s.immediate||n||r)&&y._asyncData[e].execute(a),re(()=>{f=!1})}},{flush:`sync`}):_,b=s.watch?l(s.watch,()=>{f||y._asyncData[h.value]?._execute({cause:`watch`,dedupe:s.dedupe})}):_,x=ne(s.enabled)||typeof s.enabled==`function`?l(()=>c(s.enabled),e=>{let t=y._asyncData[h.value];!e&&t&&y._asyncDataPromises[h.value]&&(t._abortController?.abort(new DOMException("AsyncData request cancelled by `enabled: false`",`AbortError`)),t._abortController=void 0,delete y._asyncDataPromises[h.value],t.status.value=`idle`)}):_;a&&ee(()=>{v(),b(),x(),i(h.value)})}let E={data:$(()=>y._asyncData[h.value]?.data,!s.deep),pending:$(()=>y._asyncData[h.value]?.pending),status:$(()=>y._asyncData[h.value]?.status),error:$(()=>y._asyncData[h.value]?.error),refresh:(...e)=>y._asyncData[h.value]?._init?y._asyncData[h.value].execute(...e):x()(),execute:(...e)=>E.refresh(...e),clear:()=>{let e=y._asyncData[h.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}An(y,h.value)}},D=Promise.resolve(s.lazy?void 0:y._asyncDataPromises[h.value]).then(()=>E);return Object.assign(D,E),Object.defineProperties(D,{then:{enumerable:!0,value:D.then.bind(D)},catch:{enumerable:!0,value:D.catch.bind(D)},finally:{enumerable:!0,value:D.finally.bind(D)}}),D}return t}}var On=Dn();function $(e,t=!1){let n=_({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}});return t&&(n.__v_isShallow=!0),n}function kn(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function An(e,t){delete e.payload.data[t],delete e.payload._errors[t],e._asyncData[t]&&(e._asyncData[t].data.value=f(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`,e._asyncData[t]._initialCachedData=void 0),delete e._asyncDataPromises[t]}function jn(e,t){let n={};for(let r of t)n[r]=e[r];return n}function Mn(e,t,n,r,i){e.payload._errors[t]??=void 0;let a=r.getCachedData!==Pn,o=n,s=r.deep?C:T,l=i!==void 0,u=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await d.execute({cause:`refresh:hook`})}),d={data:s(l?i:r.default()),pending:_(()=>d.status.value===`pending`),error:w(e.payload._errors,t),status:T(`idle`),execute:(...n)=>{let[i,a=void 0]=n,s=i&&a===void 0&&typeof i==`object`?i:{};if(e._asyncDataPromises[t]&&(s.dedupe??r.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in s?s.cachedData:r.getCachedData(t,e,{cause:s.cause??`refresh:manual`});if(n!==void 0)return r.serialize!==!1&&(e.payload.data[t]=n),d.data.value=n,d.error.value=void 0,d.status.value=`success`,Promise.resolve(n)}if(c(r.enabled)===!1)return Promise.resolve(d.data.value);d._abortController&&d._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),d._abortController=new AbortController,d.status.value=`pending`;let l=new AbortController,u=new Promise((t,n)=>{try{let i=s.timeout??r.timeout,a=Fn([d._abortController?.signal,s?.signal],l.signal,i);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:l.signal});let c={signal:a},u=()=>Promise.resolve(o(e,c));if(r.middleware?.length)for(let e=r.middleware.length-1;e>=0;e--){let t=r.middleware[e],n=u;u=()=>Promise.resolve(t(n,c))}return u().then(t,n)}catch(e){n(e)}}).then(async n=>{if(e._asyncDataPromises[t]!==u)return;let i=n;r.transform&&(i=await r.transform(n)),r.pick&&(i=jn(i,r.pick)),r.serialize!==!1&&(e.payload.data[t]=i),d.data.value=i,d.error.value=void 0,d.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]!==u||d._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return d.status.value=`idle`,e._asyncDataPromises[t];d.error.value=E(n),d.data.value=f(r.default()),d.status.value=`error`}).finally(()=>{l.abort(),e._asyncDataPromises[t]===u&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=u,e._asyncDataPromises[t]},_execute:Cn((...e)=>d.execute(...e)),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]===d&&(e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),e._asyncDataPromises[t]&&(d._abortController?.abort(new DOMException(`AsyncData request cancelled by unmount`,`AbortError`)),delete e._asyncDataPromises[t],d.status.value===`pending`&&(d.status.value=`idle`)),a||S(()=>{e._asyncData[t]?._init||(An(e,t),d.execute=()=>Promise.resolve())}))}};return d}var Nn=()=>void 0,Pn=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function Fn(e,t,n){let r=e.filter(e=>!!e);if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}var In=x({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=r(),i=O().icon,a=_n(()=>e.name),s=`i-`+a.value;if(a.value){G();{let e=n.payload.data[s];e?L(a.value,e):dn(L)}}return()=>o(Mt,{icon:a.value,ssr:!0,customise:vn(e.customize,i.customize)},t)}}),Ln=e({default:()=>Rn}),Rn=x({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=r(),i=O().icon,a=_n(()=>e.name),s=_(()=>n.vueApp?.component(a.value)||((e.mode||i.mode)===`svg`?In:Sn)),c=_(()=>{let t=e.size||i.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>o(s.value,{...i.attrs,name:a.value,class:i.class,style:c.value,customize:e.customize},t)}});export{G as a,pt as c,En as i,Ln as n,Nt as o,On as r,Re as s,Rn as t};
6
+ `)}function on(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o=Object.create(null);return Object.assign(o,t.rules,nn(a),rn({...J,...e,body:n},a)),an([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var sn=1e3,Z=new Map;function cn(e,t){let n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>Object.hasOwn(t,n)&&e[n]===t[n])}function ln(e,t,n){if(n)return on(e,{iconSelector:t,format:`compressed`,customise:n});let r=Z.get(t);if(r&&cn(r.icon,e))return r.css;let i=on(e,{iconSelector:t,format:`compressed`});return!r&&Z.size>=sn&&Z.clear(),Z.set(t,{icon:{...e},css:i}),i}var un=!1;function dn(e){if(un)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"activity":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2\\"/>"},"alert-circle":{"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>"},"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-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21 16l-4 4l-4-4m4 4V4M3 8l4-4l4 4M7 4v16\\"/>"},"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\\"/>"},"badge-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3.85 8.62a4 4 0 0 1 4.78-4.77a4 4 0 0 1 6.74 0a4 4 0 0 1 4.78 4.78a4 4 0 0 1 0 6.74a4 4 0 0 1-4.77 4.78a4 4 0 0 1-6.75 0a4 4 0 0 1-4.78-4.77a4 4 0 0 1 0-6.76\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"blocks":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2\\"/><rect width=\\"8\\" height=\\"8\\" x=\\"14\\" y=\\"2\\" rx=\\"1\\"/></g>"},"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\\"/>"},"bug":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 20v-9m2-4a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4zm.12-3.12L16 2\\"/><path d=\\"M21 21a4 4 0 0 0-3.81-4M21 5a4 4 0 0 1-3.55 3.97M22 13h-4M3 21a4 4 0 0 1 3.81-4M3 5a4 4 0 0 0 3.55 3.97M6 13H2M8 2l1.88 1.88M9 7.13V6a3 3 0 1 1 6 0v1.13\\"/></g>"},"calendar-days":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M8 2v3m8-3v3\\"/><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M3 9h18M8 13h.01M12 13h.01M16 13h.01M8 17h.01M12 17h.01M16 17h.01\\"/></g>"},"calendar-range":{"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=\\"M16 2v3M3 9h18M8 2v3m9 8h-6m2 4H7m0-4h.01M17 17h.01\\"/></g>"},"chart-gantt":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 6h8m-6 10h6M3 3v16a2 2 0 0 0 2 2h16M8 11h7\\"/>"},"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":{"width":24,"height":24,"body":"<circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"/>"},"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-check-big":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21.801 10A10 10 0 1 1 17 3.335\\"/><path d=\\"m9 11l3 3L22 4\\"/></g>"},"circle-slash":{"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=\\"m9 15l6-6\\"/></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>"},"clipboard-copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"8\\" height=\\"4\\" x=\\"8\\" y=\\"2\\" rx=\\"1\\" ry=\\"1\\"/><path d=\\"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M16 4h2a2 2 0 0 1 2 2v4m1 4H11\\"/><path d=\\"m15 10l-4 4l4 4\\"/></g>"},"clipboard-list":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"8\\" height=\\"4\\" x=\\"8\\" y=\\"2\\" rx=\\"1\\" ry=\\"1\\"/><path d=\\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m4 7h4m-4 5h4m-8-5h.01M8 16h.01\\"/></g>"},"compass":{"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.24 7.76l-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z\\"/></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>"},"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>"},"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-pen-line":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004zm.123-5.776A1 1 0 0 1 14 7V2\\"/><path d=\\"M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516M8 18h1\\"/></g>"},"flag":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\"/>"},"flask-conical":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2M6.453 15h11.094M8.5 2h7\\"/>"},"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\\"/>"},"gauge":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 14l4-4M3.34 19a10 10 0 1 1 17.32 0\\"/>"},"git-branch":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 6a9 9 0 0 0-9 9V3\\"/><circle cx=\\"18\\" cy=\\"6\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"18\\" r=\\"3\\"/></g>"},"git-commit-horizontal":{"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=\\"3\\"/><path d=\\"M3 12h6m6 0h6\\"/></g>"},"git-commit-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3v6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/><path d=\\"M12 15v6\\"/></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>"},"hand":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2m0 4V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2m0 4.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8\\"/><path d=\\"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15\\"/></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\\"/>"},"history":{"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 3v5h5m4-1v5l4 2\\"/></g>"},"image-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m2 2l20 20M10.41 10.41a2 2 0 1 1-2.83-2.83m5.92 5.92L6 21m12-9l3 3\\"/><path d=\\"M3.59 3.59A2 2 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59M21 15V5a2 2 0 0 0-2-2H9\\"/></g>"},"image-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 5h6m-3-3v6m2 3.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/></g>"},"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>"},"key-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\"/><circle cx=\\"16.5\\" cy=\\"7.5\\" r=\\".5\\" fill=\\"currentColor\\"/></g>"},"layers":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z\\"/><path d=\\"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12\\"/><path d=\\"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17\\"/></g>"},"layout-grid":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"7\\" height=\\"7\\" x=\\"3\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"14\\" y=\\"14\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"3\\" y=\\"14\\" rx=\\"1\\"/></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\\"/>"},"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\\"/>"},"list-checks":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4M3 7l2 2l4-4\\"/>"},"list-ordered":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\"/>"},"list-todo":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"3\\" y=\\"4\\" rx=\\"1\\"/></g>"},"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\\"/>"},"map-pin":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/></g>"},"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-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\\"/>"},"message-square-more":{"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 2zm-10-6h.01M16 11h.01M8 11h.01\\"/>"},"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-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 16h.01M12 8v4m3.312-10a2 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-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z\\"/>"},"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>"},"plug-zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\"/>"},"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\\"/>"},"refresh-cw":{"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 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rocket":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\"/><path d=\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\"/><path d=\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\"/></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>"},"scale":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3v18m7-13l3 8a5 5 0 0 1-6 0zV7\\"/><path d=\\"M3 7h1a17 17 0 0 0 8-2a17 17 0 0 0 8 2h1M5 8l3 8a5 5 0 0 1-6 0zV7m2 14h10\\"/></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>"},"search-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m13.5 8.5l-5 5m0-5l5 5\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/><path d=\\"m21 21l-4.3-4.3\\"/></g>"},"settings-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 17H5M19 7h-9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/><circle cx=\\"7\\" cy=\\"7\\" r=\\"3\\"/></g>"},"shield-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" 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 1zm-8-5v4m0 4h.01\\"/>"},"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>"},"signal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 20h.01M7 20v-4m5 4v-8m5 8V8m5-4v16\\"/>"},"sparkles":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\\"/><circle cx=\\"4\\" cy=\\"20\\" r=\\"2\\"/></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>"},"target":{"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\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/></g>"},"terminal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 19h8M4 17l6-6l-6-6\\"/>"},"terminal-square":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m7 11l2-2l-2-2m4 6h4\\"/><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/></g>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"trending-down":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 17h6v-6\\"/><path d=\\"m22 17l-8.5-8.5l-5 5L2 7\\"/></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\\"/>"},"zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);un=!0}var fn=45,pn=new WeakMap;function mn(e){if(!e)return[];let t=s(e),n=pn.get(t);if(!n){let e=e=>[...e].sort((e,t)=>t.length-e.length);n=_(()=>e(v(t))),pn.set(t,n)}return n.value}function hn(e,t){let n=e.startsWith(t.cssSelectorPrefix)?e.slice(t.cssSelectorPrefix.length):e,r=t.aliases?.[n]||n;if(!r.includes(`:`)){let e=mn(t.collections).find(e=>r.charCodeAt(e.length)===fn&&r.startsWith(e));return e?e+`:`+r.slice(e.length+1):r}return r}async function gn(e,t){if(!e)return null;dn(L);let n=xe(e);if(n)return n;let r,i=ft(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,xe(e)}function _n(e){let t=O().icon;return _(()=>hn(e(),t))}function vn(e,t){if(e!==!1)return e===!0||e===null?t:e}function yn(e,t,n){if(n){t.appendChild(e);return}let r=t.querySelector(`style, link[rel="stylesheet"]`);r?t.insertBefore(e,r):t.appendChild(e)}var Q;function bn(e){return e.replace(/([^\w-])/g,`\\$1`)}function xn(){if(Q)return Q;Q=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&Q.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return Q}var Sn=x({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let t=r(),n=O().icon,i=_(()=>{if(!e.name)return``;let t=n.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+zt(e.customize.toString()):t});function a(e){if(!e)return;let n=xe(e);if(n)return n;let r=t.payload?.data?.[e];if(r)return L(e,r),r}let s=_(()=>`.`+bn(i.value));function c(t,r=!0,i=s.value){n.cssWherePseudo&&(i=`:where(${i})`);let a=ln(t,i,vn(e.customize,n.customize));return n.cssLayer&&r?`@layer ${n.cssLayer} { ${a} }`:a}{let t=xn();async function r(e,r,i){if(t.has(i)||typeof document>`u`)return;let a=document.createElement(`style`);a.textContent=c(e,!0,i),yn(a,document.head,n.cssLayer),t.add(i)}l(()=>e.name,e=>{let n=s.value;if(t.has(n))return;let i=a(e);i?r(i,e,n):gn(e,-1).then(t=>{t&&r(t,e,n)}).catch(()=>null)},{immediate:!0})}return G(),()=>o(`span`,{class:[`iconify`,i.value]})}});function Cn(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=wn(e,t,n);return a=i,i.finally(()=>{if(a=void 0,o&&!r){let e=o;o=void 0,s(t,e)}}),i};return function(...e){return o=e,a||new Promise(a=>{let c=t.leading&&!r;r||(r=!0,re(()=>{r=!1;let a=o??e;o=void 0;let c=t.leading?n:s(this,a);for(let e of i)e(c);i=[]})),c?(n=s(this,e),a(n)):i.push(a)})}}async function wn(e,t,n){return await e.apply(t,n)}x({name:`ServerPlaceholder`,render(){return m(`div`)}});var Tn=Symbol.for(`nuxt:client-only`);x({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(e,{slots:t,attrs:n}){let r=T(!1);h(()=>{r.value=!0});let i=d();return i&&(i._nuxtClientOnly=!0),y(Tn,!0),()=>{if(r.value){let e=t.default?.();return e&&e.length===1?[b(e[0],n)]:e}let i=t.fallback||t.placeholder;if(i)return o(i);let a=e.fallback||e.placeholder||``,s=D(e.fallbackTag||e.placeholderTag,`span`);return m(s,n,a)}}});var En=t({docsBase:i,reporters:a});function Dn(e={}){{function t(...t){let i=typeof t[t.length-1]==`string`?t.pop():void 0;kn(t[0],t[1])&&t.unshift(i);let[a,o,s={}]=t,f=!1,m=ne(a)||typeof a==`function`,h=m?_(()=>c(a)):{value:a};if(!h.value||typeof h.value!=`string`)throw En.NUXT_E3008();if(typeof o!=`function`)throw En.NUXT_E3009();let v=typeof e==`function`,y=r(),b=v?e(s):e;if(!v)for(let e in b)b[e]!==void 0&&s[e]===void 0&&(s[e]=b[e]);if(s.server??=!0,s.default??=Nn,s.getCachedData??=Pn,s.lazy??=!1,s.immediate??=!0,s.deep??=n.deep,s.dedupe??=`cancel`,s.enabled??=!0,v)for(let e in b)b[e]!==void 0&&(s[e]=b[e]);y._asyncData[h.value];function x(){let e={cause:`initial`,dedupe:s.dedupe},t=y._asyncData[h.value];return t?._init?y._asyncDataPromises[h.value]&&(e.cachedData=t._initialCachedData):(e.cachedData=s.getCachedData(h.value,y,{cause:`initial`}),y._asyncData[h.value]=Mn(y,h.value,o,s,e.cachedData),y._asyncData[h.value]._initialCachedData=e.cachedData),()=>y._asyncData[h.value].execute(e)}let S=x(),C=y._asyncData[h.value];C._deps++;let w=s.server!==!1&&y.payload.serverRendered,T=()=>!1;{let e=d(),t=!!e||T();if(w&&s.immediate&&G(),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];let t=e._nuxtOnBeforeMountCbs;te(()=>{t.forEach(e=>{e()}),t.splice(0,t.length)}),g(()=>t.splice(0,t.length))}let n=t&&(e?._nuxtClientOnly||u(Tn,!1)),r=h.value in y.payload.data;w&&y.isHydrating&&(C.error.value||C.data.value!==void 0&&(r||C._initialCachedData!==void 0))?C.status.value=C.error.value?`error`:`success`:t&&(!n&&y.payload.serverRendered&&y.isHydrating&&(!w||r)||s.lazy)&&s.immediate?e?e._nuxtOnBeforeMountCbs.push(S):te(()=>{S()}):s.immediate&&C.status.value!==`success`&&S();function i(e){let t=y._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())}let a=p(),_=()=>{},v=m?l(h,(e,t)=>{if((e||t)&&e!==t){f=!0;let n=y._asyncData[t]?.data.value!==void 0,r=y._asyncDataPromises[t]!==void 0,a={cause:`initial`,dedupe:s.dedupe};if(!y._asyncData[e]?._init){let r=s.getCachedData(e,y,{cause:`initial`});a.cachedData=r;let i=t&&n&&r===void 0?y._asyncData[t].data.value:r;y._asyncData[e]=Mn(y,e,o,s,i),y._asyncData[e]._initialCachedData=r}y._asyncData[e]._deps++,t&&i(t),s._keyTriggersExecute!==!1&&(s.immediate||n||r)&&y._asyncData[e].execute(a),re(()=>{f=!1})}},{flush:`sync`}):_,b=s.watch?l(s.watch,()=>{f||y._asyncData[h.value]?._execute({cause:`watch`,dedupe:s.dedupe})}):_,x=ne(s.enabled)||typeof s.enabled==`function`?l(()=>c(s.enabled),e=>{let t=y._asyncData[h.value];!e&&t&&y._asyncDataPromises[h.value]&&(t._abortController?.abort(new DOMException("AsyncData request cancelled by `enabled: false`",`AbortError`)),t._abortController=void 0,delete y._asyncDataPromises[h.value],t.status.value=`idle`)}):_;a&&ee(()=>{v(),b(),x(),i(h.value)})}let E={data:$(()=>y._asyncData[h.value]?.data,!s.deep),pending:$(()=>y._asyncData[h.value]?.pending),status:$(()=>y._asyncData[h.value]?.status),error:$(()=>y._asyncData[h.value]?.error),refresh:(...e)=>y._asyncData[h.value]?._init?y._asyncData[h.value].execute(...e):x()(),execute:(...e)=>E.refresh(...e),clear:()=>{let e=y._asyncData[h.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}An(y,h.value)}},D=Promise.resolve(s.lazy?void 0:y._asyncDataPromises[h.value]).then(()=>E);return Object.assign(D,E),Object.defineProperties(D,{then:{enumerable:!0,value:D.then.bind(D)},catch:{enumerable:!0,value:D.catch.bind(D)},finally:{enumerable:!0,value:D.finally.bind(D)}}),D}return t}}var On=Dn();function $(e,t=!1){let n=_({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}});return t&&(n.__v_isShallow=!0),n}function kn(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function An(e,t){delete e.payload.data[t],delete e.payload._errors[t],e._asyncData[t]&&(e._asyncData[t].data.value=f(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`,e._asyncData[t]._initialCachedData=void 0),delete e._asyncDataPromises[t]}function jn(e,t){let n={};for(let r of t)n[r]=e[r];return n}function Mn(e,t,n,r,i){e.payload._errors[t]??=void 0;let a=r.getCachedData!==Pn,o=n,s=r.deep?C:T,l=i!==void 0,u=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await d.execute({cause:`refresh:hook`})}),d={data:s(l?i:r.default()),pending:_(()=>d.status.value===`pending`),error:w(e.payload._errors,t),status:T(`idle`),execute:(...n)=>{let[i,a=void 0]=n,s=i&&a===void 0&&typeof i==`object`?i:{};if(e._asyncDataPromises[t]&&(s.dedupe??r.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in s?s.cachedData:r.getCachedData(t,e,{cause:s.cause??`refresh:manual`});if(n!==void 0)return r.serialize!==!1&&(e.payload.data[t]=n),d.data.value=n,d.error.value=void 0,d.status.value=`success`,Promise.resolve(n)}if(c(r.enabled)===!1)return Promise.resolve(d.data.value);d._abortController&&d._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),d._abortController=new AbortController,d.status.value=`pending`;let l=new AbortController,u=new Promise((t,n)=>{try{let i=s.timeout??r.timeout,a=Fn([d._abortController?.signal,s?.signal],l.signal,i);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:l.signal});let c={signal:a},u=()=>Promise.resolve(o(e,c));if(r.middleware?.length)for(let e=r.middleware.length-1;e>=0;e--){let t=r.middleware[e],n=u;u=()=>Promise.resolve(t(n,c))}return u().then(t,n)}catch(e){n(e)}}).then(async n=>{if(e._asyncDataPromises[t]!==u)return;let i=n;r.transform&&(i=await r.transform(n)),r.pick&&(i=jn(i,r.pick)),r.serialize!==!1&&(e.payload.data[t]=i),d.data.value=i,d.error.value=void 0,d.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]!==u||d._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return d.status.value=`idle`,e._asyncDataPromises[t];d.error.value=E(n),d.data.value=f(r.default()),d.status.value=`error`}).finally(()=>{l.abort(),e._asyncDataPromises[t]===u&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=u,e._asyncDataPromises[t]},_execute:Cn((...e)=>d.execute(...e)),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]===d&&(e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),e._asyncDataPromises[t]&&(d._abortController?.abort(new DOMException(`AsyncData request cancelled by unmount`,`AbortError`)),delete e._asyncDataPromises[t],d.status.value===`pending`&&(d.status.value=`idle`)),a||S(()=>{e._asyncData[t]?._init||(An(e,t),d.execute=()=>Promise.resolve())}))}};return d}var Nn=()=>void 0,Pn=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function Fn(e,t,n){let r=e.filter(e=>!!e);if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}var In=x({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=r(),i=O().icon,a=_n(()=>e.name),s=`i-`+a.value;if(a.value){G();{let e=n.payload.data[s];e?L(a.value,e):dn(L)}}return()=>o(Mt,{icon:a.value,ssr:!0,customise:vn(e.customize,i.customize)},t)}}),Ln=e({default:()=>Rn}),Rn=x({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=r(),i=O().icon,a=_n(()=>e.name),s=_(()=>n.vueApp?.component(a.value)||((e.mode||i.mode)===`svg`?In:Sn)),c=_(()=>{let t=e.size||i.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>o(s.value,{...i.attrs,name:a.value,class:i.class,style:c.value,customize:e.customize},t)}});export{G as a,pt as c,En as i,Ln as n,Nt as o,On as r,Re as s,Rn as t};
@@ -1 +1 @@
1
- import{D as e,E as t,On as n,T as r,Zn as i,_ as a,b as o,bt as s,er as c,g as l,k as u,mt as d,o as f,qt as p,tr as m,y as h}from"./DZo3dYLJ.js";import{t as ee}from"./CJ2mz0WY.js";import{t as te}from"./BO6qoy1z.js";import{a as g,i as _,o as v,r as ne,s as y}from"#entry";var re={class:`kpis`},ie={class:`v`},ae={class:`v`},oe={class:`v`},se={class:`v`},ce={class:`v mono`},le={class:`card gantt`},ue={class:`ticks`},de={class:`track`},fe={class:`label`},pe={class:`lane`},me={class:`grid-lines`},he=[`title`],ge={class:`track-hd`},_e={class:`tag tag-neutral mono`},ve={class:`dim`},ye={class:`grow-row`},b={class:`label`},x={class:`tag tag-ghost`},S={class:`lane`},C={class:`grid-lines`},w={class:`label`},T=[`title`],E=[`title`],D={class:`pts mono dim`},O={class:`lane`},k={class:`grid-lines`},A={class:`track last`},j={class:`label`},M={class:`dim pts mono`},N={class:`tag tag-neutral`},P={class:`lane`},be={class:`grid-lines`},xe={class:`extra`},Se={key:0,class:`card`},Ce={class:`card-hd`},we={class:`h2`},Te={class:`tag tag-neutral`},Ee={class:`card-bd`},De={class:`list`},Oe={class:`dep-txt`},ke={class:`dep-txt dim`},F={key:1,class:`card`},Ae={class:`card-hd`},je={class:`h2`},Me={class:`tag tag-error`},Ne={class:`card-bd`},Pe={class:`list`},Fe={class:`dep-txt`},Ie={class:`dim`},I=_(u({__name:`gantt`,setup(u){let{sprints:_,stories:I,milestones:L,storyById:R,actualRange:z,progress:B,addDays:Le,diffDays:V,md:H,now:U,MS_COLOR:Re,MS_LABEL:ze,KIND_LABEL:Be,KIND_ICON:Ve,STATE_LABEL:He,STATE_DOT:W,dependencyPairs:G,blockedStories:K}=y(),Ue=l(()=>_.value.map(e=>({id:e.id,name:e.name,start:e.start,end:e.end,rows:(e.stories??[]).map(e=>R.value.get(e)).filter(Boolean).map(e=>({...e,actual:z(e),prog:B(e)}))}))),q=l(()=>I.value.filter(e=>e.schedule)),We=l(()=>I.value.filter(e=>!e.schedule)),J=l(()=>[..._.value.map(e=>e.start),...q.value.map(e=>e.schedule.start),...L.value.map(e=>e.due)].sort()[0]??U),Ge=l(()=>{let e=[..._.value.map(e=>e.end),...q.value.map(e=>e.schedule.end),...L.value.map(e=>e.due)].sort();return e[e.length-1]??U}),Y=l(()=>Math.max(1,V(J.value,Ge.value)+1)),X=e=>V(J.value,e)/Y.value*100,Z=(e,t)=>({left:`${X(e)}%`,width:`${Math.max(1.1,(V(e,t)+1)/Y.value*100)}%`}),Q=l(()=>{let e=Y.value>90?14:Y.value>45?7:4,t=[];for(let n=0;n<=Y.value;n+=e)t.push({date:Le(J.value,n),x:n/Y.value*100});return t}),$=l(()=>X(U));return(l,u)=>{let y=ne,z=te,B=ee;return d(),o(`div`,null,[a(`div`,re,[a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(0)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(0),size:`sm`},null,8,[`tone`]),u[1]||=a(`p`,{class:`k`},`迭代窗口`,-1),a(`p`,ie,[t(m(n(_).length),1),u[0]||=a(`small`,null,`个`,-1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(1)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(1),size:`sm`},null,8,[`tone`]),u[3]||=a(`p`,{class:`k`},`里程碑`,-1),a(`p`,ae,[t(m(n(L).length),1),u[2]||=a(`small`,null,`个`,-1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(2)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(2),size:`sm`},null,8,[`tone`]),u[4]||=a(`p`,{class:`k`},`已排期故事`,-1),a(`p`,oe,[t(m(n(q).length),1),a(`small`,null,`/ `+m(n(I).length),1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(3)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(3),size:`sm`},null,8,[`tone`]),u[6]||=a(`p`,{class:`k`},`时间跨度`,-1),a(`p`,se,[t(m(n(Y)),1),u[5]||=a(`small`,null,`天`,-1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(4)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(4),size:`sm`},null,8,[`tone`]),u[7]||=a(`p`,{class:`k`},`今天`,-1),a(`p`,ce,m(n(U)),1)],2)]),a(`div`,le,[u[11]||=r(`<div class="gantt-hd" data-v-719eb5d7><h2 class="h2" data-v-719eb5d7>时间轴</h2><div class="legend" data-v-719eb5d7><span class="lg" data-v-719eb5d7><i class="sw plan" data-v-719eb5d7></i>计划</span><span class="lg" data-v-719eb5d7><i class="sw real" data-v-719eb5d7></i>实际</span><span class="lg" data-v-719eb5d7><i class="sw ms" data-v-719eb5d7></i>里程碑</span><span class="lg" data-v-719eb5d7><i class="sw mvp" data-v-719eb5d7></i>MVP 节点</span><span class="lg" data-v-719eb5d7><i class="sw today" data-v-719eb5d7></i>今天</span></div></div>`,1),a(`div`,ue,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`div`,{key:e.date,class:`tick`,style:c({left:e.x+`%`})},[a(`span`,null,m(n(H)(e.date)),1)],4))),128)),a(`div`,{class:`today-line`,style:c({left:n($)+`%`})},null,4),a(`div`,{class:`today-flag`,style:c({left:n($)+`%`})},`今天 `+m(n(H)(n(U))),5)]),a(`section`,de,[u[8]||=a(`header`,{class:`track-hd`},`里程碑`,-1),(d(!0),o(f,null,s(n(L),r=>(d(),o(`div`,{key:r.id,class:`grow-row`},[a(`div`,fe,[a(`span`,{class:i([`tag`,r.kind===`mvp`?`tag-mint`:`tag-primary`])},[e(z,{name:n(Ve)[r.kind],class:`size-3`},null,8,[`name`]),t(m(n(Be)[r.kind]),1)],2),e(B,{to:`/milestones`,class:`lbl-txt`},{default:p(()=>[t(m(r.title),1)]),_:2},1024),a(`span`,{class:i([`tag`,`tag-${n(Re)[r.status]}`])},m(n(ze)[r.status]),3)]),a(`div`,pe,[a(`div`,me,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))]),a(`span`,{class:i([`diamond`,{mvp:r.kind===`mvp`}]),style:c({left:X(r.due)+`%`}),title:`${r.id} · ${r.due} · ${r.criteria}`},null,14,he)])]))),128))]),(d(!0),o(f,null,s(n(Ue),r=>(d(),o(`section`,{key:r.id,class:`track`},[a(`header`,ge,[a(`span`,_e,m(r.id),1),t(` `+m(r.name)+` `,1),a(`span`,ve,m(n(H)(r.start))+` ~ `+m(n(H)(r.end)),1)]),a(`div`,ye,[a(`div`,b,[a(`span`,x,[e(z,{name:`i-lucide-calendar-range`,class:`size-3`}),u[9]||=t(`迭代窗口`,-1)])]),a(`div`,S,[a(`div`,C,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))]),a(`div`,{class:`band`,style:c(Z(r.start,r.end))},null,4)])]),(d(!0),o(f,null,s(r.rows,r=>(d(),o(`div`,{key:r.id,class:`grow-row`},[a(`div`,w,[a(`i`,{class:`sdot`,style:c({background:n(W)[r.status]})},null,4),e(B,{to:`/story/${r.id}`,class:`lbl-txt`},{default:p(()=>[t(m(r.title),1)]),_:2},1032,[`to`]),r.dependsOn?.length?(d(),o(`span`,{key:0,class:`tag tag-secondary`,title:`依赖:${r.dependsOn.join(`、`)}`},m(r.dependsOn.length),9,T)):h(``,!0),r.blocked?(d(),o(`span`,{key:1,class:`tag tag-error`,title:`阻塞:${r.blocked.reason}(自 ${r.blocked.since})`},`!`,8,E)):h(``,!0),a(`span`,D,m(r.points)+` 点 · `+m(r.prog.done)+`/`+m(r.prog.total),1)]),a(`div`,O,[a(`div`,k,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))]),r.schedule?(d(),o(`div`,{key:0,class:`g-plan`,style:c(Z(r.schedule.start,r.schedule.end))},null,4)):h(``,!0),r.actual?(d(),o(`div`,{key:1,class:`g-real`,style:c(Z(r.actual.start,r.actual.end))},null,4)):h(``,!0)])]))),128))]))),128)),a(`section`,A,[u[10]||=a(`header`,{class:`track-hd`},`未排期(backlog)`,-1),(d(!0),o(f,null,s(n(We),r=>(d(),o(`div`,{key:r.id,class:`grow-row`},[a(`div`,j,[a(`i`,{class:`sdot`,style:c({background:n(W)[r.status]})},null,4),e(B,{to:`/story/${r.id}`,class:`lbl-txt`},{default:p(()=>[t(m(r.title),1)]),_:2},1032,[`to`]),a(`span`,M,m(r.points)+` 点`,1),a(`span`,N,m(n(He)[r.status]),1)]),a(`div`,P,[a(`div`,be,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))])])]))),128))])]),a(`div`,xe,[n(G).length?(d(),o(`div`,Se,[a(`div`,Ce,[a(`h2`,we,[e(z,{name:`i-lucide-git-branch`,class:`size-3.5`}),u[12]||=t(`依赖链`,-1)]),a(`span`,Te,m(n(G).length),1)]),a(`div`,Ee,[a(`ul`,De,[(d(!0),o(f,null,s(n(G),r=>(d(),o(`li`,{key:`${r.from}-${r.to}`},[e(B,{to:`/story/${r.to}`,class:`mono link`},{default:p(()=>[t(m(r.to),1)]),_:2},1032,[`to`]),a(`span`,Oe,m(n(R).get(r.to)?.title),1),e(z,{name:`i-lucide-arrow-left`,class:`size-3 dim`}),u[13]||=a(`span`,{class:`dim`},`依赖`,-1),e(B,{to:`/story/${r.from}`,class:`mono link`},{default:p(()=>[t(m(r.from),1)]),_:2},1032,[`to`]),a(`span`,ke,m(n(R).get(r.from)?.title),1)]))),128))])])])):h(``,!0),n(K).length?(d(),o(`div`,F,[a(`div`,Ae,[a(`h2`,je,[e(z,{name:`i-lucide-octagon-alert`,class:`size-3.5`}),u[14]||=t(`阻塞中`,-1)]),a(`span`,Me,m(n(K).length),1)]),a(`div`,Ne,[a(`ul`,Pe,[(d(!0),o(f,null,s(n(K),n=>(d(),o(`li`,{key:n.id},[u[15]||=a(`span`,{class:`tag tag-error tag-dot`},`阻塞`,-1),e(B,{to:`/story/${n.id}`,class:`mono link`},{default:p(()=>[t(m(n.id),1)]),_:2},1032,[`to`]),a(`span`,Fe,m(n.title),1),a(`span`,Ie,`· `+m(n.blocked.reason)+`(自 `+m(n.blocked.since)+`)`,1)]))),128))])])])):h(``,!0)])])}}}),[[`__scopeId`,`data-v-719eb5d7`]]);export{I as default};
1
+ import{D as e,E as t,On as n,T as r,Zn as i,_ as a,b as o,bt as s,er as c,g as l,k as u,mt as d,o as f,qt as p,tr as m,y as h}from"./DZo3dYLJ.js";import{t as ee}from"./CJ2mz0WY.js";import{t as te}from"./rlePnzpc.js";import{a as g,i as _,o as v,r as ne,s as y}from"#entry";var re={class:`kpis`},ie={class:`v`},ae={class:`v`},oe={class:`v`},se={class:`v`},ce={class:`v mono`},le={class:`card gantt`},ue={class:`ticks`},de={class:`track`},fe={class:`label`},pe={class:`lane`},me={class:`grid-lines`},he=[`title`],ge={class:`track-hd`},_e={class:`tag tag-neutral mono`},ve={class:`dim`},ye={class:`grow-row`},b={class:`label`},x={class:`tag tag-ghost`},S={class:`lane`},C={class:`grid-lines`},w={class:`label`},T=[`title`],E=[`title`],D={class:`pts mono dim`},O={class:`lane`},k={class:`grid-lines`},A={class:`track last`},j={class:`label`},M={class:`dim pts mono`},N={class:`tag tag-neutral`},P={class:`lane`},be={class:`grid-lines`},xe={class:`extra`},Se={key:0,class:`card`},Ce={class:`card-hd`},we={class:`h2`},Te={class:`tag tag-neutral`},Ee={class:`card-bd`},De={class:`list`},Oe={class:`dep-txt`},ke={class:`dep-txt dim`},F={key:1,class:`card`},Ae={class:`card-hd`},je={class:`h2`},Me={class:`tag tag-error`},Ne={class:`card-bd`},Pe={class:`list`},Fe={class:`dep-txt`},Ie={class:`dim`},I=_(u({__name:`gantt`,setup(u){let{sprints:_,stories:I,milestones:L,storyById:R,actualRange:z,progress:B,addDays:Le,diffDays:V,md:H,now:U,MS_COLOR:Re,MS_LABEL:ze,KIND_LABEL:Be,KIND_ICON:Ve,STATE_LABEL:He,STATE_DOT:W,dependencyPairs:G,blockedStories:K}=y(),Ue=l(()=>_.value.map(e=>({id:e.id,name:e.name,start:e.start,end:e.end,rows:(e.stories??[]).map(e=>R.value.get(e)).filter(Boolean).map(e=>({...e,actual:z(e),prog:B(e)}))}))),q=l(()=>I.value.filter(e=>e.schedule)),We=l(()=>I.value.filter(e=>!e.schedule)),J=l(()=>[..._.value.map(e=>e.start),...q.value.map(e=>e.schedule.start),...L.value.map(e=>e.due)].sort()[0]??U),Ge=l(()=>{let e=[..._.value.map(e=>e.end),...q.value.map(e=>e.schedule.end),...L.value.map(e=>e.due)].sort();return e[e.length-1]??U}),Y=l(()=>Math.max(1,V(J.value,Ge.value)+1)),X=e=>V(J.value,e)/Y.value*100,Z=(e,t)=>({left:`${X(e)}%`,width:`${Math.max(1.1,(V(e,t)+1)/Y.value*100)}%`}),Q=l(()=>{let e=Y.value>90?14:Y.value>45?7:4,t=[];for(let n=0;n<=Y.value;n+=e)t.push({date:Le(J.value,n),x:n/Y.value*100});return t}),$=l(()=>X(U));return(l,u)=>{let y=ne,z=te,B=ee;return d(),o(`div`,null,[a(`div`,re,[a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(0)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(0),size:`sm`},null,8,[`tone`]),u[1]||=a(`p`,{class:`k`},`迭代窗口`,-1),a(`p`,ie,[t(m(n(_).length),1),u[0]||=a(`small`,null,`个`,-1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(1)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(1),size:`sm`},null,8,[`tone`]),u[3]||=a(`p`,{class:`k`},`里程碑`,-1),a(`p`,ae,[t(m(n(L).length),1),u[2]||=a(`small`,null,`个`,-1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(2)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(2),size:`sm`},null,8,[`tone`]),u[4]||=a(`p`,{class:`k`},`已排期故事`,-1),a(`p`,oe,[t(m(n(q).length),1),a(`small`,null,`/ `+m(n(I).length),1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(3)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(3),size:`sm`},null,8,[`tone`]),u[6]||=a(`p`,{class:`k`},`时间跨度`,-1),a(`p`,se,[t(m(n(Y)),1),u[5]||=a(`small`,null,`天`,-1)])],2),a(`div`,{class:i([`kpi`,(`cardToneClass`in l?l.cardToneClass:n(v))(4)])},[e(y,{tone:(`cardTone`in l?l.cardTone:n(g))(4),size:`sm`},null,8,[`tone`]),u[7]||=a(`p`,{class:`k`},`今天`,-1),a(`p`,ce,m(n(U)),1)],2)]),a(`div`,le,[u[11]||=r(`<div class="gantt-hd" data-v-719eb5d7><h2 class="h2" data-v-719eb5d7>时间轴</h2><div class="legend" data-v-719eb5d7><span class="lg" data-v-719eb5d7><i class="sw plan" data-v-719eb5d7></i>计划</span><span class="lg" data-v-719eb5d7><i class="sw real" data-v-719eb5d7></i>实际</span><span class="lg" data-v-719eb5d7><i class="sw ms" data-v-719eb5d7></i>里程碑</span><span class="lg" data-v-719eb5d7><i class="sw mvp" data-v-719eb5d7></i>MVP 节点</span><span class="lg" data-v-719eb5d7><i class="sw today" data-v-719eb5d7></i>今天</span></div></div>`,1),a(`div`,ue,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`div`,{key:e.date,class:`tick`,style:c({left:e.x+`%`})},[a(`span`,null,m(n(H)(e.date)),1)],4))),128)),a(`div`,{class:`today-line`,style:c({left:n($)+`%`})},null,4),a(`div`,{class:`today-flag`,style:c({left:n($)+`%`})},`今天 `+m(n(H)(n(U))),5)]),a(`section`,de,[u[8]||=a(`header`,{class:`track-hd`},`里程碑`,-1),(d(!0),o(f,null,s(n(L),r=>(d(),o(`div`,{key:r.id,class:`grow-row`},[a(`div`,fe,[a(`span`,{class:i([`tag`,r.kind===`mvp`?`tag-mint`:`tag-primary`])},[e(z,{name:n(Ve)[r.kind],class:`size-3`},null,8,[`name`]),t(m(n(Be)[r.kind]),1)],2),e(B,{to:`/milestones`,class:`lbl-txt`},{default:p(()=>[t(m(r.title),1)]),_:2},1024),a(`span`,{class:i([`tag`,`tag-${n(Re)[r.status]}`])},m(n(ze)[r.status]),3)]),a(`div`,pe,[a(`div`,me,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))]),a(`span`,{class:i([`diamond`,{mvp:r.kind===`mvp`}]),style:c({left:X(r.due)+`%`}),title:`${r.id} · ${r.due} · ${r.criteria}`},null,14,he)])]))),128))]),(d(!0),o(f,null,s(n(Ue),r=>(d(),o(`section`,{key:r.id,class:`track`},[a(`header`,ge,[a(`span`,_e,m(r.id),1),t(` `+m(r.name)+` `,1),a(`span`,ve,m(n(H)(r.start))+` ~ `+m(n(H)(r.end)),1)]),a(`div`,ye,[a(`div`,b,[a(`span`,x,[e(z,{name:`i-lucide-calendar-range`,class:`size-3`}),u[9]||=t(`迭代窗口`,-1)])]),a(`div`,S,[a(`div`,C,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))]),a(`div`,{class:`band`,style:c(Z(r.start,r.end))},null,4)])]),(d(!0),o(f,null,s(r.rows,r=>(d(),o(`div`,{key:r.id,class:`grow-row`},[a(`div`,w,[a(`i`,{class:`sdot`,style:c({background:n(W)[r.status]})},null,4),e(B,{to:`/story/${r.id}`,class:`lbl-txt`},{default:p(()=>[t(m(r.title),1)]),_:2},1032,[`to`]),r.dependsOn?.length?(d(),o(`span`,{key:0,class:`tag tag-secondary`,title:`依赖:${r.dependsOn.join(`、`)}`},m(r.dependsOn.length),9,T)):h(``,!0),r.blocked?(d(),o(`span`,{key:1,class:`tag tag-error`,title:`阻塞:${r.blocked.reason}(自 ${r.blocked.since})`},`!`,8,E)):h(``,!0),a(`span`,D,m(r.points)+` 点 · `+m(r.prog.done)+`/`+m(r.prog.total),1)]),a(`div`,O,[a(`div`,k,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))]),r.schedule?(d(),o(`div`,{key:0,class:`g-plan`,style:c(Z(r.schedule.start,r.schedule.end))},null,4)):h(``,!0),r.actual?(d(),o(`div`,{key:1,class:`g-real`,style:c(Z(r.actual.start,r.actual.end))},null,4)):h(``,!0)])]))),128))]))),128)),a(`section`,A,[u[10]||=a(`header`,{class:`track-hd`},`未排期(backlog)`,-1),(d(!0),o(f,null,s(n(We),r=>(d(),o(`div`,{key:r.id,class:`grow-row`},[a(`div`,j,[a(`i`,{class:`sdot`,style:c({background:n(W)[r.status]})},null,4),e(B,{to:`/story/${r.id}`,class:`lbl-txt`},{default:p(()=>[t(m(r.title),1)]),_:2},1032,[`to`]),a(`span`,M,m(r.points)+` 点`,1),a(`span`,N,m(n(He)[r.status]),1)]),a(`div`,P,[a(`div`,be,[(d(!0),o(f,null,s(n(Q),e=>(d(),o(`span`,{key:e.date,style:c({left:e.x+`%`})},null,4))),128))])])]))),128))])]),a(`div`,xe,[n(G).length?(d(),o(`div`,Se,[a(`div`,Ce,[a(`h2`,we,[e(z,{name:`i-lucide-git-branch`,class:`size-3.5`}),u[12]||=t(`依赖链`,-1)]),a(`span`,Te,m(n(G).length),1)]),a(`div`,Ee,[a(`ul`,De,[(d(!0),o(f,null,s(n(G),r=>(d(),o(`li`,{key:`${r.from}-${r.to}`},[e(B,{to:`/story/${r.to}`,class:`mono link`},{default:p(()=>[t(m(r.to),1)]),_:2},1032,[`to`]),a(`span`,Oe,m(n(R).get(r.to)?.title),1),e(z,{name:`i-lucide-arrow-left`,class:`size-3 dim`}),u[13]||=a(`span`,{class:`dim`},`依赖`,-1),e(B,{to:`/story/${r.from}`,class:`mono link`},{default:p(()=>[t(m(r.from),1)]),_:2},1032,[`to`]),a(`span`,ke,m(n(R).get(r.from)?.title),1)]))),128))])])])):h(``,!0),n(K).length?(d(),o(`div`,F,[a(`div`,Ae,[a(`h2`,je,[e(z,{name:`i-lucide-octagon-alert`,class:`size-3.5`}),u[14]||=t(`阻塞中`,-1)]),a(`span`,Me,m(n(K).length),1)]),a(`div`,Ne,[a(`ul`,Pe,[(d(!0),o(f,null,s(n(K),n=>(d(),o(`li`,{key:n.id},[u[15]||=a(`span`,{class:`tag tag-error tag-dot`},`阻塞`,-1),e(B,{to:`/story/${n.id}`,class:`mono link`},{default:p(()=>[t(m(n.id),1)]),_:2},1032,[`to`]),a(`span`,Fe,m(n.title),1),a(`span`,Ie,`· `+m(n.blocked.reason)+`(自 `+m(n.blocked.since)+`)`,1)]))),128))])])])):h(``,!0)])])}}}),[[`__scopeId`,`data-v-719eb5d7`]]);export{I as default};
@@ -1 +1 @@
1
- import{D as e,E as t,On as n,Zn as r,_ as i,b as a,bt as o,er as s,g as c,k as l,mt as u,o as d,qt as f,tr as p,v as m,y as h}from"./DZo3dYLJ.js";import{t as ee}from"./CJ2mz0WY.js";import{t as te}from"./BO6qoy1z.js";import{i as g,s as _,t as ne}from"#entry";var re={class:`card hero`},ie={class:`chips`},ae={class:`tag tag-ghost`},oe=[`title`],se=[`title`],ce={class:`tag tag-neutral`},le={key:3,class:`tag tag-primary mono`},ue=[`title`],de={class:`story-title`},fe={class:`narrative`},pe={class:`facts`},me={class:`fact`},he={class:`fact`},v={class:`fact`},y={class:`fact`},b={class:`fact`},x={class:`mono`},S={class:`fact`},C={class:`mono`},w={class:`dim`},T={class:`fact`},E={class:`mono`},D={key:0,class:`fact`},O={class:`hero-foot`},k={class:`dim`},A={class:`bar`},j={class:`cols`},M={key:0,class:`card block`},N={class:`card-hd`},P={class:`h2`},F={class:`card-bd bug`},I={class:`steps`},L={key:1,class:`card block`},R={class:`card-hd`},ge={class:`h2`},_e={class:`card-bd`},ve={key:0,class:`callout`},ye={key:1,class:`dep-row`},be={key:2,class:`dep-row`},xe={class:`card block`},Se={class:`card-hd`},Ce={class:`h2`},we={class:`tag tag-neutral`},Te={class:`card-bd`},Ee={key:0,class:`ac`},De={class:`ac-row`},Oe={class:`ac-row`},ke={class:`ac-row`},Ae={key:0,class:`ac-row verify`},je={key:1,class:`dim`},Me={class:`card-hd task-hd`},Ne={class:`tag tag-ghost`},Pe={class:`tag tag-neutral`},Fe={class:`task-title`},Ie={class:`dim entries-ct`},Le={key:0,class:`files mono dim`},Re={class:`card-bd`},ze={key:0,class:`entries`},Be={class:`entry-hd`},Ve={class:`date mono dim`},He={class:`tag tag-neutral mono result`},Ue={class:`note`},We={key:0,class:`cmd mono`},Ge={key:1,class:`efiles dim mono`},Ke={key:1,class:`dim`},qe={class:`pager`},Je={class:`pg-k`},Ye={class:`pg-t`},Xe={key:1,class:`pg-empty`},Ze={class:`pg-k`},Qe={class:`pg-t`},$e={key:1,class:`callout warn`},z=g(l({__name:`[id]`,setup(l){let g=ne(),{storyById:z,stories:B,epicById:et,sprintById:tt,journalByTask:nt,actualRange:V,progress:H,milestoneOfStory:rt,STATE_LABEL:it,STATE_COLOR:at,TASK_LABEL:ot,TASK_COLOR:st,KIND_LABEL:ct,MS_LABEL:lt,md:U,diffDays:ut,wsjf:W,dependentsOf:G,TYPE_LABEL:dt,TYPE_COLOR:ft,TYPE_ICON:pt,PRIORITY_COLOR:mt,SEVERITY_LABEL:K,SEVERITY_COLOR:q,SCOPE_LABEL:J}=_(),Y=c(()=>z.value.get(String(g.value?.params?.id))),X=c(()=>B.value.findIndex(e=>e.id===Y.value?.id)),Z=c(()=>X.value>0?B.value[X.value-1]:null),Q=c(()=>X.value>=0&&X.value<B.value.length-1?B.value[X.value+1]:null),$=e=>nt.value.get(e)?.entries??[],ht={red:`RED 失败测试`,green:`GREEN 让测试通过`,refactor:`REFACTOR 重构`},gt={red:`tag-error`,green:`tag-success`,refactor:`tag-primary`};return(c,l)=>{let g=te,_=ee;return u(),a(`div`,null,[n(Y)?(u(),a(d,{key:0},[e(_,{to:`/`,class:`btn btn-quiet btn-sm back`},{default:f(()=>[e(g,{name:`i-lucide-arrow-left`,class:`size-3.5`}),l[0]||=t(`返回看板 `,-1)]),_:1}),i(`article`,re,[i(`div`,ie,[i(`span`,ae,p(n(Y).id),1),i(`span`,{class:r([`tag`,`tag-${n(at)[n(Y).status]}`])},p(n(it)[n(Y).status]??n(Y).status),3),i(`span`,{class:r([`tag`,`tag-${n(ft)[n(Y).type]}`])},[e(g,{name:n(pt)[n(Y).type],class:`size-3`},null,8,[`name`]),t(p(n(dt)[n(Y).type]),1)],2),i(`span`,{class:r([`tag`,`tag-${n(mt)[n(Y).priority]}`])},p(n(Y).priority),3),n(Y).bug?(u(),a(`span`,{key:0,class:r([`tag`,`tag-${n(q)[n(Y).bug.severity]}`])},[e(g,{name:`i-lucide-bug`,class:`size-3`}),t(p(n(K)[n(Y).bug.severity]),1)],2)):h(``,!0),n(Y).blocked?(u(),a(`span`,{key:1,class:`tag tag-error tag-dot`,title:n(Y).blocked.reason},`阻塞`,8,oe)):h(``,!0),n(Y).scopeChange?(u(),a(`span`,{key:2,class:`tag tag-info`,title:`${n(J)[n(Y).scopeChange.kind]}(${n(Y).scopeChange.at}):${n(Y).scopeChange.reason}`},p(n(J)[n(Y).scopeChange.kind])+` · `+p(n(Y).scopeChange.at),9,se)):h(``,!0),i(`span`,ce,[e(g,{name:`i-lucide-layers`,class:`size-3`}),t(p(n(Y).epicId)+` `+p(n(et).get(n(Y).epicId)?.title),1)]),n(Y).sprintId?(u(),a(`span`,le,[e(g,{name:`i-lucide-calendar-range`,class:`size-3`}),t(p(n(Y).sprintId),1)])):h(``,!0),(u(!0),a(d,null,o(n(rt)(n(Y).id),e=>(u(),a(`span`,{key:e.id,class:r([`tag`,e.kind===`mvp`?`tag-mint`:`tag-neutral`]),title:`${e.id} · ${e.criteria}`},p(n(ct)[e.kind])+` `+p(e.id)+` · `+p(n(lt)[e.status]),11,ue))),128))]),i(`h1`,de,p(n(Y).title),1),i(`p`,fe,p(n(Y).narrative),1),i(`div`,pe,[i(`div`,me,[l[1]||=i(`span`,{class:`k`},`点数`,-1),i(`b`,null,p(n(Y).points),1)]),i(`div`,he,[l[2]||=i(`span`,{class:`k`},`价值`,-1),i(`b`,null,p(n(Y).value),1)]),i(`div`,v,[l[3]||=i(`span`,{class:`k`},`WSJF`,-1),i(`b`,null,p(n(W)(n(Y))),1)]),i(`div`,y,[l[4]||=i(`span`,{class:`k`},`任务`,-1),i(`b`,null,p(n(H)(n(Y)).done)+`/`+p(n(H)(n(Y)).total),1)]),i(`div`,b,[l[5]||=i(`span`,{class:`k`},`计划`,-1),i(`b`,x,p(n(Y).schedule?`${n(U)(n(Y).schedule.start)} ~ ${n(U)(n(Y).schedule.end)}`:`未排期`),1)]),i(`div`,S,[l[6]||=i(`span`,{class:`k`},`实际`,-1),i(`b`,C,[n(V)(n(Y))?(u(),a(d,{key:0},[t(p(n(U)(n(V)(n(Y)).start))+` ~ `+p(n(U)(n(V)(n(Y)).end))+` `,1),i(`small`,w,`(`+p(n(ut)(n(V)(n(Y)).start,n(V)(n(Y)).end)+1)+` 天)`,1)],64)):(u(),a(d,{key:1},[t(`—`)],64))])]),i(`div`,T,[l[7]||=i(`span`,{class:`k`},`创建`,-1),i(`b`,E,p(n(Y).created),1)]),n(Y).sprintId?(u(),a(`div`,D,[l[8]||=i(`span`,{class:`k`},`所属迭代`,-1),i(`b`,null,p(n(tt).get(n(Y).sprintId)?.name),1)])):h(``,!0)]),i(`div`,O,[i(`span`,k,`任务完成度 `+p(n(H)(n(Y)).pct)+`%`,1),i(`div`,A,[i(`i`,{style:s({width:n(H)(n(Y)).pct+`%`})},null,4)])])]),i(`div`,j,[n(Y).bug?(u(),a(`article`,M,[i(`div`,N,[i(`h2`,P,[e(g,{name:`i-lucide-bug`,class:`size-3.5`}),l[9]||=t(`缺陷详情`,-1)]),i(`span`,{class:r([`tag`,`tag-${n(q)[n(Y).bug.severity]}`])},p(n(K)[n(Y).bug.severity]),3)]),i(`div`,F,[i(`div`,null,[l[10]||=i(`span`,{class:`lbl`},`影响环境`,-1),i(`p`,null,p(n(Y).bug.environment),1)]),i(`div`,null,[l[11]||=i(`span`,{class:`lbl`},`复现步骤`,-1),i(`p`,I,p(n(Y).bug.steps),1)])])])):h(``,!0),n(Y).blocked||n(Y).dependsOn?.length||n(G)(n(Y).id).length?(u(),a(`article`,L,[i(`div`,R,[i(`h2`,ge,[e(g,{name:`i-lucide-git-branch`,class:`size-3.5`}),l[12]||=t(`依赖与阻塞`,-1)])]),i(`div`,_e,[n(Y).blocked?(u(),a(`div`,ve,[e(g,{name:`i-lucide-octagon-alert`,class:`size-4`}),i(`div`,null,[l[13]||=i(`b`,null,`当前被阻塞`,-1),i(`p`,null,p(n(Y).blocked.reason)+`(自 `+p(n(Y).blocked.since)+` 起)`,1)])])):h(``,!0),n(Y).dependsOn?.length?(u(),a(`div`,ye,[l[14]||=i(`span`,{class:`lbl`},`依赖`,-1),(u(!0),a(d,null,o(n(Y).dependsOn,r=>(u(),m(_,{key:r,to:`/story/${r}`,class:`dep`},{default:f(()=>[e(g,{name:`i-lucide-arrow-left`,class:`size-3`}),t(p(r)+` `+p(n(z).get(r)?.title??``),1)]),_:2},1032,[`to`]))),128))])):h(``,!0),n(G)(n(Y).id).length?(u(),a(`div`,be,[l[15]||=i(`span`,{class:`lbl`},`被依赖`,-1),(u(!0),a(d,null,o(n(G)(n(Y).id),n=>(u(),m(_,{key:n.id,to:`/story/${n.id}`,class:`dep ghost`},{default:f(()=>[t(p(n.id)+` `+p(n.title),1),e(g,{name:`i-lucide-arrow-right`,class:`size-3`})]),_:2},1032,[`to`]))),128))])):h(``,!0)])])):h(``,!0)]),i(`article`,xe,[i(`div`,Se,[i(`h2`,Ce,[e(g,{name:`i-lucide-list-checks`,class:`size-3.5`}),l[16]||=t(`验收标准`,-1)]),i(`span`,we,p(n(Y).acceptance?.length??0)+` 条`,1)]),i(`div`,Te,[n(Y).acceptance?.length?(u(),a(`ol`,Ee,[(u(!0),a(d,null,o(n(Y).acceptance,(e,t)=>(u(),a(`li`,{key:t},[i(`div`,De,[l[17]||=i(`span`,{class:`tag tag-neutral gw`},`Given`,-1),i(`span`,null,p(e.given),1)]),i(`div`,Oe,[l[18]||=i(`span`,{class:`tag tag-info gw`},`When`,-1),i(`span`,null,p(e.when),1)]),i(`div`,ke,[l[19]||=i(`span`,{class:`tag tag-success gw`},`Then`,-1),i(`span`,null,p(e.then),1)]),e.verifyBy?.length?(u(),a(`div`,Ae,[l[20]||=i(`span`,{class:`dim`},`由谁验证`,-1),(u(!0),a(d,null,o(e.verifyBy,e=>(u(),a(`span`,{key:e,class:`tag tag-ghost`},p(e),1))),128))])):h(``,!0)]))),128))])):(u(),a(`p`,je,`还没有验收标准(草稿阶段允许为空,进迭代前必须补)。`))])]),(u(!0),a(d,null,o(n(Y).tasks,s=>(u(),a(`article`,{key:s.id,class:`card block`},[i(`div`,Me,[i(`span`,Ne,p(s.id),1),i(`span`,Pe,p(s.type),1),i(`span`,{class:r([`tag`,`tag-${n(st)[s.status]}`])},p(n(ot)[s.status]),3),i(`b`,Fe,p(s.title),1),i(`span`,Ie,p($(s.id).length)+` 条记录`,1)]),s.files?.length?(u(),a(`p`,Le,p(s.files.join(` · `)),1)):h(``,!0),i(`div`,Re,[$(s.id).length?(u(),a(`div`,ze,[(u(!0),a(d,null,o($(s.id),(o,s)=>(u(),a(`div`,{key:s,class:r([`entry`,o.phase])},[i(`div`,Be,[i(`span`,{class:r([`tag`,gt[o.phase]])},p(ht[o.phase]),3),i(`span`,Ve,p(n(U)(o.date)),1),i(`span`,He,p(o.result),1)]),i(`p`,Ue,p(o.note),1),o.testCommand?(u(),a(`p`,We,[e(g,{name:`i-lucide-terminal`,class:`size-3`}),t(p(o.testCommand),1)])):h(``,!0),o.files?.length?(u(),a(`p`,Ge,p(o.files.join(`, `)),1)):h(``,!0)],2))),128))])):(u(),a(`p`,Ke,`还没有实施记录(未开工)。`))])]))),128)),i(`div`,qe,[n(Z)?(u(),m(_,{key:0,to:`/story/${n(Z).id}`,class:`pg`},{default:f(()=>[i(`span`,Je,[e(g,{name:`i-lucide-arrow-left`,class:`size-3.5`}),l[21]||=t(`上一个`,-1)]),i(`span`,Ye,p(n(Z).id)+` `+p(n(Z).title),1)]),_:1},8,[`to`])):(u(),a(`span`,Xe)),n(Q)?(u(),m(_,{key:2,to:`/story/${n(Q).id}`,class:`pg right`},{default:f(()=>[i(`span`,Ze,[l[22]||=t(`下一个`,-1),e(g,{name:`i-lucide-arrow-right`,class:`size-3.5`})]),i(`span`,Qe,p(n(Q).id)+` `+p(n(Q).title),1)]),_:1},8,[`to`])):h(``,!0)])],64)):(u(),a(`div`,$e,[e(g,{name:`i-lucide-search-x`,class:`size-4`}),l[23]||=t(`没找到这个故事,可能 id 写错了。 `,-1)]))])}}}),[[`__scopeId`,`data-v-6e27d061`]]);export{z as default};
1
+ import{D as e,E as t,On as n,Zn as r,_ as i,b as a,bt as o,er as s,g as c,k as l,mt as u,o as d,qt as f,tr as p,v as m,y as h}from"./DZo3dYLJ.js";import{t as ee}from"./CJ2mz0WY.js";import{t as te}from"./rlePnzpc.js";import{i as g,s as _,t as ne}from"#entry";var re={class:`card hero`},ie={class:`chips`},ae={class:`tag tag-ghost`},oe=[`title`],se=[`title`],ce={class:`tag tag-neutral`},le={key:3,class:`tag tag-primary mono`},ue=[`title`],de={class:`story-title`},fe={class:`narrative`},pe={class:`facts`},me={class:`fact`},he={class:`fact`},v={class:`fact`},y={class:`fact`},b={class:`fact`},x={class:`mono`},S={class:`fact`},C={class:`mono`},w={class:`dim`},T={class:`fact`},E={class:`mono`},D={key:0,class:`fact`},O={class:`hero-foot`},k={class:`dim`},A={class:`bar`},j={class:`cols`},M={key:0,class:`card block`},N={class:`card-hd`},P={class:`h2`},F={class:`card-bd bug`},I={class:`steps`},L={key:1,class:`card block`},R={class:`card-hd`},ge={class:`h2`},_e={class:`card-bd`},ve={key:0,class:`callout`},ye={key:1,class:`dep-row`},be={key:2,class:`dep-row`},xe={class:`card block`},Se={class:`card-hd`},Ce={class:`h2`},we={class:`tag tag-neutral`},Te={class:`card-bd`},Ee={key:0,class:`ac`},De={class:`ac-row`},Oe={class:`ac-row`},ke={class:`ac-row`},Ae={key:0,class:`ac-row verify`},je={key:1,class:`dim`},Me={class:`card-hd task-hd`},Ne={class:`tag tag-ghost`},Pe={class:`tag tag-neutral`},Fe={class:`task-title`},Ie={class:`dim entries-ct`},Le={key:0,class:`files mono dim`},Re={class:`card-bd`},ze={key:0,class:`entries`},Be={class:`entry-hd`},Ve={class:`date mono dim`},He={class:`tag tag-neutral mono result`},Ue={class:`note`},We={key:0,class:`cmd mono`},Ge={key:1,class:`efiles dim mono`},Ke={key:1,class:`dim`},qe={class:`pager`},Je={class:`pg-k`},Ye={class:`pg-t`},Xe={key:1,class:`pg-empty`},Ze={class:`pg-k`},Qe={class:`pg-t`},$e={key:1,class:`callout warn`},z=g(l({__name:`[id]`,setup(l){let g=ne(),{storyById:z,stories:B,epicById:et,sprintById:tt,journalByTask:nt,actualRange:V,progress:H,milestoneOfStory:rt,STATE_LABEL:it,STATE_COLOR:at,TASK_LABEL:ot,TASK_COLOR:st,KIND_LABEL:ct,MS_LABEL:lt,md:U,diffDays:ut,wsjf:W,dependentsOf:G,TYPE_LABEL:dt,TYPE_COLOR:ft,TYPE_ICON:pt,PRIORITY_COLOR:mt,SEVERITY_LABEL:K,SEVERITY_COLOR:q,SCOPE_LABEL:J}=_(),Y=c(()=>z.value.get(String(g.value?.params?.id))),X=c(()=>B.value.findIndex(e=>e.id===Y.value?.id)),Z=c(()=>X.value>0?B.value[X.value-1]:null),Q=c(()=>X.value>=0&&X.value<B.value.length-1?B.value[X.value+1]:null),$=e=>nt.value.get(e)?.entries??[],ht={red:`RED 失败测试`,green:`GREEN 让测试通过`,refactor:`REFACTOR 重构`},gt={red:`tag-error`,green:`tag-success`,refactor:`tag-primary`};return(c,l)=>{let g=te,_=ee;return u(),a(`div`,null,[n(Y)?(u(),a(d,{key:0},[e(_,{to:`/`,class:`btn btn-quiet btn-sm back`},{default:f(()=>[e(g,{name:`i-lucide-arrow-left`,class:`size-3.5`}),l[0]||=t(`返回看板 `,-1)]),_:1}),i(`article`,re,[i(`div`,ie,[i(`span`,ae,p(n(Y).id),1),i(`span`,{class:r([`tag`,`tag-${n(at)[n(Y).status]}`])},p(n(it)[n(Y).status]??n(Y).status),3),i(`span`,{class:r([`tag`,`tag-${n(ft)[n(Y).type]}`])},[e(g,{name:n(pt)[n(Y).type],class:`size-3`},null,8,[`name`]),t(p(n(dt)[n(Y).type]),1)],2),i(`span`,{class:r([`tag`,`tag-${n(mt)[n(Y).priority]}`])},p(n(Y).priority),3),n(Y).bug?(u(),a(`span`,{key:0,class:r([`tag`,`tag-${n(q)[n(Y).bug.severity]}`])},[e(g,{name:`i-lucide-bug`,class:`size-3`}),t(p(n(K)[n(Y).bug.severity]),1)],2)):h(``,!0),n(Y).blocked?(u(),a(`span`,{key:1,class:`tag tag-error tag-dot`,title:n(Y).blocked.reason},`阻塞`,8,oe)):h(``,!0),n(Y).scopeChange?(u(),a(`span`,{key:2,class:`tag tag-info`,title:`${n(J)[n(Y).scopeChange.kind]}(${n(Y).scopeChange.at}):${n(Y).scopeChange.reason}`},p(n(J)[n(Y).scopeChange.kind])+` · `+p(n(Y).scopeChange.at),9,se)):h(``,!0),i(`span`,ce,[e(g,{name:`i-lucide-layers`,class:`size-3`}),t(p(n(Y).epicId)+` `+p(n(et).get(n(Y).epicId)?.title),1)]),n(Y).sprintId?(u(),a(`span`,le,[e(g,{name:`i-lucide-calendar-range`,class:`size-3`}),t(p(n(Y).sprintId),1)])):h(``,!0),(u(!0),a(d,null,o(n(rt)(n(Y).id),e=>(u(),a(`span`,{key:e.id,class:r([`tag`,e.kind===`mvp`?`tag-mint`:`tag-neutral`]),title:`${e.id} · ${e.criteria}`},p(n(ct)[e.kind])+` `+p(e.id)+` · `+p(n(lt)[e.status]),11,ue))),128))]),i(`h1`,de,p(n(Y).title),1),i(`p`,fe,p(n(Y).narrative),1),i(`div`,pe,[i(`div`,me,[l[1]||=i(`span`,{class:`k`},`点数`,-1),i(`b`,null,p(n(Y).points),1)]),i(`div`,he,[l[2]||=i(`span`,{class:`k`},`价值`,-1),i(`b`,null,p(n(Y).value),1)]),i(`div`,v,[l[3]||=i(`span`,{class:`k`},`WSJF`,-1),i(`b`,null,p(n(W)(n(Y))),1)]),i(`div`,y,[l[4]||=i(`span`,{class:`k`},`任务`,-1),i(`b`,null,p(n(H)(n(Y)).done)+`/`+p(n(H)(n(Y)).total),1)]),i(`div`,b,[l[5]||=i(`span`,{class:`k`},`计划`,-1),i(`b`,x,p(n(Y).schedule?`${n(U)(n(Y).schedule.start)} ~ ${n(U)(n(Y).schedule.end)}`:`未排期`),1)]),i(`div`,S,[l[6]||=i(`span`,{class:`k`},`实际`,-1),i(`b`,C,[n(V)(n(Y))?(u(),a(d,{key:0},[t(p(n(U)(n(V)(n(Y)).start))+` ~ `+p(n(U)(n(V)(n(Y)).end))+` `,1),i(`small`,w,`(`+p(n(ut)(n(V)(n(Y)).start,n(V)(n(Y)).end)+1)+` 天)`,1)],64)):(u(),a(d,{key:1},[t(`—`)],64))])]),i(`div`,T,[l[7]||=i(`span`,{class:`k`},`创建`,-1),i(`b`,E,p(n(Y).created),1)]),n(Y).sprintId?(u(),a(`div`,D,[l[8]||=i(`span`,{class:`k`},`所属迭代`,-1),i(`b`,null,p(n(tt).get(n(Y).sprintId)?.name),1)])):h(``,!0)]),i(`div`,O,[i(`span`,k,`任务完成度 `+p(n(H)(n(Y)).pct)+`%`,1),i(`div`,A,[i(`i`,{style:s({width:n(H)(n(Y)).pct+`%`})},null,4)])])]),i(`div`,j,[n(Y).bug?(u(),a(`article`,M,[i(`div`,N,[i(`h2`,P,[e(g,{name:`i-lucide-bug`,class:`size-3.5`}),l[9]||=t(`缺陷详情`,-1)]),i(`span`,{class:r([`tag`,`tag-${n(q)[n(Y).bug.severity]}`])},p(n(K)[n(Y).bug.severity]),3)]),i(`div`,F,[i(`div`,null,[l[10]||=i(`span`,{class:`lbl`},`影响环境`,-1),i(`p`,null,p(n(Y).bug.environment),1)]),i(`div`,null,[l[11]||=i(`span`,{class:`lbl`},`复现步骤`,-1),i(`p`,I,p(n(Y).bug.steps),1)])])])):h(``,!0),n(Y).blocked||n(Y).dependsOn?.length||n(G)(n(Y).id).length?(u(),a(`article`,L,[i(`div`,R,[i(`h2`,ge,[e(g,{name:`i-lucide-git-branch`,class:`size-3.5`}),l[12]||=t(`依赖与阻塞`,-1)])]),i(`div`,_e,[n(Y).blocked?(u(),a(`div`,ve,[e(g,{name:`i-lucide-octagon-alert`,class:`size-4`}),i(`div`,null,[l[13]||=i(`b`,null,`当前被阻塞`,-1),i(`p`,null,p(n(Y).blocked.reason)+`(自 `+p(n(Y).blocked.since)+` 起)`,1)])])):h(``,!0),n(Y).dependsOn?.length?(u(),a(`div`,ye,[l[14]||=i(`span`,{class:`lbl`},`依赖`,-1),(u(!0),a(d,null,o(n(Y).dependsOn,r=>(u(),m(_,{key:r,to:`/story/${r}`,class:`dep`},{default:f(()=>[e(g,{name:`i-lucide-arrow-left`,class:`size-3`}),t(p(r)+` `+p(n(z).get(r)?.title??``),1)]),_:2},1032,[`to`]))),128))])):h(``,!0),n(G)(n(Y).id).length?(u(),a(`div`,be,[l[15]||=i(`span`,{class:`lbl`},`被依赖`,-1),(u(!0),a(d,null,o(n(G)(n(Y).id),n=>(u(),m(_,{key:n.id,to:`/story/${n.id}`,class:`dep ghost`},{default:f(()=>[t(p(n.id)+` `+p(n.title),1),e(g,{name:`i-lucide-arrow-right`,class:`size-3`})]),_:2},1032,[`to`]))),128))])):h(``,!0)])])):h(``,!0)]),i(`article`,xe,[i(`div`,Se,[i(`h2`,Ce,[e(g,{name:`i-lucide-list-checks`,class:`size-3.5`}),l[16]||=t(`验收标准`,-1)]),i(`span`,we,p(n(Y).acceptance?.length??0)+` 条`,1)]),i(`div`,Te,[n(Y).acceptance?.length?(u(),a(`ol`,Ee,[(u(!0),a(d,null,o(n(Y).acceptance,(e,t)=>(u(),a(`li`,{key:t},[i(`div`,De,[l[17]||=i(`span`,{class:`tag tag-neutral gw`},`Given`,-1),i(`span`,null,p(e.given),1)]),i(`div`,Oe,[l[18]||=i(`span`,{class:`tag tag-info gw`},`When`,-1),i(`span`,null,p(e.when),1)]),i(`div`,ke,[l[19]||=i(`span`,{class:`tag tag-success gw`},`Then`,-1),i(`span`,null,p(e.then),1)]),e.verifyBy?.length?(u(),a(`div`,Ae,[l[20]||=i(`span`,{class:`dim`},`由谁验证`,-1),(u(!0),a(d,null,o(e.verifyBy,e=>(u(),a(`span`,{key:e,class:`tag tag-ghost`},p(e),1))),128))])):h(``,!0)]))),128))])):(u(),a(`p`,je,`还没有验收标准(草稿阶段允许为空,进迭代前必须补)。`))])]),(u(!0),a(d,null,o(n(Y).tasks,s=>(u(),a(`article`,{key:s.id,class:`card block`},[i(`div`,Me,[i(`span`,Ne,p(s.id),1),i(`span`,Pe,p(s.type),1),i(`span`,{class:r([`tag`,`tag-${n(st)[s.status]}`])},p(n(ot)[s.status]),3),i(`b`,Fe,p(s.title),1),i(`span`,Ie,p($(s.id).length)+` 条记录`,1)]),s.files?.length?(u(),a(`p`,Le,p(s.files.join(` · `)),1)):h(``,!0),i(`div`,Re,[$(s.id).length?(u(),a(`div`,ze,[(u(!0),a(d,null,o($(s.id),(o,s)=>(u(),a(`div`,{key:s,class:r([`entry`,o.phase])},[i(`div`,Be,[i(`span`,{class:r([`tag`,gt[o.phase]])},p(ht[o.phase]),3),i(`span`,Ve,p(n(U)(o.date)),1),i(`span`,He,p(o.result),1)]),i(`p`,Ue,p(o.note),1),o.testCommand?(u(),a(`p`,We,[e(g,{name:`i-lucide-terminal`,class:`size-3`}),t(p(o.testCommand),1)])):h(``,!0),o.files?.length?(u(),a(`p`,Ge,p(o.files.join(`, `)),1)):h(``,!0)],2))),128))])):(u(),a(`p`,Ke,`还没有实施记录(未开工)。`))])]))),128)),i(`div`,qe,[n(Z)?(u(),m(_,{key:0,to:`/story/${n(Z).id}`,class:`pg`},{default:f(()=>[i(`span`,Je,[e(g,{name:`i-lucide-arrow-left`,class:`size-3.5`}),l[21]||=t(`上一个`,-1)]),i(`span`,Ye,p(n(Z).id)+` `+p(n(Z).title),1)]),_:1},8,[`to`])):(u(),a(`span`,Xe)),n(Q)?(u(),m(_,{key:2,to:`/story/${n(Q).id}`,class:`pg right`},{default:f(()=>[i(`span`,Ze,[l[22]||=t(`下一个`,-1),e(g,{name:`i-lucide-arrow-right`,class:`size-3.5`})]),i(`span`,Qe,p(n(Q).id)+` `+p(n(Q).title),1)]),_:1},8,[`to`])):h(``,!0)])],64)):(u(),a(`div`,$e,[e(g,{name:`i-lucide-search-x`,class:`size-4`}),l[23]||=t(`没找到这个故事,可能 id 写错了。 `,-1)]))])}}}),[[`__scopeId`,`data-v-6e27d061`]]);export{z as default};
@@ -1 +1 @@
1
- import{On as e,mt as t,qt as n,v as r}from"./DZo3dYLJ.js";import{r as i}from"./Csqgy925.js";import{t as a}from"./CQTvWh4i.js";import o from"./Yl0W9gdf.js";var s={__name:`ProseCaution`,setup(s){let c=i();return(i,s)=>(t(),r(o,{color:`error`,icon:e(c).ui.icons.caution},{default:n(()=>[a(i.$slots,`default`,{mdcUnwrap:`p`})]),_:3},8,[`icon`]))}};export{s as default};
1
+ import{On as e,mt as t,qt as n,v as r}from"./DZo3dYLJ.js";import{r as i}from"./Csqgy925.js";import{t as a}from"./CQTvWh4i.js";import o from"./vwxaNGfc.js";var s={__name:`ProseCaution`,setup(s){let c=i();return(i,s)=>(t(),r(o,{color:`error`,icon:e(c).ui.icons.caution},{default:n(()=>[a(i.$slots,`default`,{mdcUnwrap:`p`})]),_:3},8,[`icon`]))}};export{s as default};
@@ -1 +1 @@
1
- import{$ as e,$n as t,D as n,E as r,En as i,Ft as a,Ht as o,J as s,On as c,Zn as l,b as u,et as d,g as f,gt as p,k as m,mt as h,qt as g,tr as _,v,vn as y,wt as b,xt as x,y as S,z as C}from"./DZo3dYLJ.js";import{r as w}from"./Csqgy925.js";import{f as T,n as E,t as D}from"./6gFtTBwm.js";import{n as O,t as k}from"./CK9_veoz.js";import{t as A}from"./BO6qoy1z.js";var j=Symbol(`nuxt-ui.field-group`);function M(e){let t=s(j,void 0);return{orientation:f(()=>t?.value.orientation),size:f(()=>e?.size??t?.value.size)}}var N=m({name:`FieldGroupReset`,setup(e,{slots:t}){return p(j,f(()=>({size:void 0,orientation:void 0}))),()=>t.default?.()}}),P=Symbol(`nuxt-ui.avatar-group`);function F(e){let t=s(P,void 0),n=f(()=>e.size??t?.value.size),r=f(()=>e.color??t?.value.color);return p(P,f(()=>({size:n.value,color:r.value}))),{size:n,color:r}}var I={slots:{root:`relative inline-flex items-center justify-center shrink-0`,base:`rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap`},variants:{color:{primary:`bg-primary`,secondary:`bg-secondary`,success:`bg-success`,info:`bg-info`,warning:`bg-warning`,error:`bg-error`,neutral:`bg-inverted`},size:{"3xs":`h-[4px] min-w-[4px] text-[4px]`,"2xs":`h-[5px] min-w-[5px] text-[5px]`,xs:`h-[6px] min-w-[6px] text-[6px]`,sm:`h-[7px] min-w-[7px] text-[7px]`,md:`h-[8px] min-w-[8px] text-[8px]`,lg:`h-[9px] min-w-[9px] text-[9px]`,xl:`h-[10px] min-w-[10px] text-[10px]`,"2xl":`h-[11px] min-w-[11px] text-[11px]`,"3xl":`h-[12px] min-w-[12px] text-[12px]`},position:{"top-right":`top-0 right-0`,"bottom-right":`bottom-0 right-0`,"top-left":`top-0 left-0`,"bottom-left":`bottom-0 left-0`},inset:{false:``},standalone:{false:`absolute`}},compoundVariants:[{position:`top-right`,inset:!1,class:`-translate-y-1/2 translate-x-1/2 transform`},{position:`bottom-right`,inset:!1,class:`translate-y-1/2 translate-x-1/2 transform`},{position:`top-left`,inset:!1,class:`-translate-y-1/2 -translate-x-1/2 transform`},{position:`bottom-left`,inset:!1,class:`translate-y-1/2 -translate-x-1/2 transform`}],defaultVariants:{size:`md`,color:`primary`,position:`top-right`}},L=Object.assign({inheritAttrs:!1},{__name:`UChip`,props:e({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:[`update:show`],setup(e){let i=e,o=E(`chip`,i),s=a(e,`show`,{type:Boolean,default:!0}),{size:d}=F(i),p=w(),m=f(()=>D({extend:I,...p.ui?.chip||{}})({color:o.color,size:d.value??o.size,position:o.position,inset:o.inset,standalone:o.standalone}));return(e,i)=>(h(),v(c(k),{as:c(o).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:l(m.value.root({class:[c(o).ui?.root,c(o).class]}))},{default:g(()=>[n(c(O),t(C({...e.$attrs,"data-slot":void 0})),{default:g(()=>[x(e.$slots,`default`)]),_:3},16),s.value?(h(),u(`span`,{key:0,"data-slot":`base`,class:l(m.value.base({class:c(o).ui?.base}))},[x(e.$slots,`content`,{},()=>[r(_(c(o).text),1)])],2)):S(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),R={slots:{root:`inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle`,image:`h-full w-full rounded-[inherit] object-cover`,fallback:`font-medium truncate`,icon:`shrink-0`},variants:{color:{primary:{root:`bg-primary/10`,fallback:`text-primary`,icon:`text-primary`},secondary:{root:`bg-secondary/10`,fallback:`text-secondary`,icon:`text-secondary`},success:{root:`bg-success/10`,fallback:`text-success`,icon:`text-success`},info:{root:`bg-info/10`,fallback:`text-info`,icon:`text-info`},warning:{root:`bg-warning/10`,fallback:`text-warning`,icon:`text-warning`},error:{root:`bg-error/10`,fallback:`text-error`,icon:`text-error`},neutral:{root:`bg-elevated`,fallback:`text-muted`,icon:`text-muted`}},size:{"3xs":{root:`size-4 text-[8px]`},"2xs":{root:`size-5 text-[10px]`},xs:{root:`size-6 text-xs`},sm:{root:`size-7 text-sm`},md:{root:`size-8 text-base`},lg:{root:`size-9 text-lg`},xl:{root:`size-10 text-xl`},"2xl":{root:`size-11 text-[22px]`},"3xl":{root:`size-12 text-2xl`}}},defaultVariants:{size:`md`,color:`neutral`}},z=Object.assign({inheritAttrs:!1},{__name:`UAvatar`,props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){let n=e,r=E(`avatar`,n),i=f(()=>T(r.as,{root:`span`})),a=f(()=>r.text||(r.alt||``).split(` `).map(e=>e.charAt(0)).join(``).substring(0,2)),s=w(),{size:p,color:m}=F(n),S=f(()=>D({extend:R,...s.ui?.avatar||{}})({size:p.value??r.size,color:m.value??r.color})),C=f(()=>S.value.root({class:[r.ui?.root,r.class]})),j=f(()=>{let e=(C.value||``).split(` `).find(e=>/^size-\d+$/.test(e));if(e){let t=Number.parseFloat(e.split(`-`)[1]??``);if(!Number.isNaN(t))return t*4}return null}),M=y(!1);o(()=>r.src,()=>{M.value&&=!1});function N(){M.value=!0}return(e,n)=>(h(),v(b(c(r).chip?L:c(k)),d({as:i.value.root},c(r).chip?typeof c(r).chip==`object`?{inset:!0,...c(r).chip}:{inset:!0}:{},{"data-slot":e.$attrs[`data-slot`]??`root`,class:C.value,style:c(r).style}),{default:g(()=>[c(r).src&&!M.value?(h(),v(b(i.value.img||c(`img`)),d({key:0,src:c(r).src,alt:c(r).alt,width:j.value,height:j.value},e.$attrs,{"data-slot":`image`,class:S.value.image({class:c(r).ui?.image}),onError:N}),null,16,[`src`,`alt`,`width`,`height`,`class`])):(h(),v(c(O),t(d({key:1},{...e.$attrs,"data-slot":void 0})),{default:g(()=>[x(e.$slots,`default`,{},()=>[c(r).icon?(h(),v(A,{key:0,name:c(r).icon,"data-slot":`icon`,class:l(S.value.icon({class:c(r).ui?.icon}))},null,8,[`name`,`class`])):(h(),u(`span`,{key:1,"data-slot":`fallback`,class:l(S.value.fallback({class:c(r).ui?.fallback}))},_(a.value||`\xA0`),3))])]),_:3},16))]),_:3},16,[`as`,`data-slot`,`class`,`style`]))}});function B(e){let t=w(),n=f(()=>i(e)),r=f(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon);return{isLeading:r,isTrailing:f(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing&&!r.value||!!n.value.trailingIcon&&n.value.trailing!==!1),leadingIconName:f(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),trailingIconName:f(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon)}}export{M as a,N as i,z as n,L as r,B as t};
1
+ import{$ as e,$n as t,D as n,E as r,En as i,Ft as a,Ht as o,J as s,On as c,Zn as l,b as u,et as d,g as f,gt as p,k as m,mt as h,qt as g,tr as _,v,vn as y,wt as b,xt as x,y as S,z as C}from"./DZo3dYLJ.js";import{r as w}from"./Csqgy925.js";import{f as T,n as E,t as D}from"./6gFtTBwm.js";import{n as O,t as k}from"./CK9_veoz.js";import{t as A}from"./rlePnzpc.js";var j=Symbol(`nuxt-ui.field-group`);function M(e){let t=s(j,void 0);return{orientation:f(()=>t?.value.orientation),size:f(()=>e?.size??t?.value.size)}}var N=m({name:`FieldGroupReset`,setup(e,{slots:t}){return p(j,f(()=>({size:void 0,orientation:void 0}))),()=>t.default?.()}}),P=Symbol(`nuxt-ui.avatar-group`);function F(e){let t=s(P,void 0),n=f(()=>e.size??t?.value.size),r=f(()=>e.color??t?.value.color);return p(P,f(()=>({size:n.value,color:r.value}))),{size:n,color:r}}var I={slots:{root:`relative inline-flex items-center justify-center shrink-0`,base:`rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap`},variants:{color:{primary:`bg-primary`,secondary:`bg-secondary`,success:`bg-success`,info:`bg-info`,warning:`bg-warning`,error:`bg-error`,neutral:`bg-inverted`},size:{"3xs":`h-[4px] min-w-[4px] text-[4px]`,"2xs":`h-[5px] min-w-[5px] text-[5px]`,xs:`h-[6px] min-w-[6px] text-[6px]`,sm:`h-[7px] min-w-[7px] text-[7px]`,md:`h-[8px] min-w-[8px] text-[8px]`,lg:`h-[9px] min-w-[9px] text-[9px]`,xl:`h-[10px] min-w-[10px] text-[10px]`,"2xl":`h-[11px] min-w-[11px] text-[11px]`,"3xl":`h-[12px] min-w-[12px] text-[12px]`},position:{"top-right":`top-0 right-0`,"bottom-right":`bottom-0 right-0`,"top-left":`top-0 left-0`,"bottom-left":`bottom-0 left-0`},inset:{false:``},standalone:{false:`absolute`}},compoundVariants:[{position:`top-right`,inset:!1,class:`-translate-y-1/2 translate-x-1/2 transform`},{position:`bottom-right`,inset:!1,class:`translate-y-1/2 translate-x-1/2 transform`},{position:`top-left`,inset:!1,class:`-translate-y-1/2 -translate-x-1/2 transform`},{position:`bottom-left`,inset:!1,class:`translate-y-1/2 -translate-x-1/2 transform`}],defaultVariants:{size:`md`,color:`primary`,position:`top-right`}},L=Object.assign({inheritAttrs:!1},{__name:`UChip`,props:e({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:[`update:show`],setup(e){let i=e,o=E(`chip`,i),s=a(e,`show`,{type:Boolean,default:!0}),{size:d}=F(i),p=w(),m=f(()=>D({extend:I,...p.ui?.chip||{}})({color:o.color,size:d.value??o.size,position:o.position,inset:o.inset,standalone:o.standalone}));return(e,i)=>(h(),v(c(k),{as:c(o).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:l(m.value.root({class:[c(o).ui?.root,c(o).class]}))},{default:g(()=>[n(c(O),t(C({...e.$attrs,"data-slot":void 0})),{default:g(()=>[x(e.$slots,`default`)]),_:3},16),s.value?(h(),u(`span`,{key:0,"data-slot":`base`,class:l(m.value.base({class:c(o).ui?.base}))},[x(e.$slots,`content`,{},()=>[r(_(c(o).text),1)])],2)):S(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),R={slots:{root:`inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle`,image:`h-full w-full rounded-[inherit] object-cover`,fallback:`font-medium truncate`,icon:`shrink-0`},variants:{color:{primary:{root:`bg-primary/10`,fallback:`text-primary`,icon:`text-primary`},secondary:{root:`bg-secondary/10`,fallback:`text-secondary`,icon:`text-secondary`},success:{root:`bg-success/10`,fallback:`text-success`,icon:`text-success`},info:{root:`bg-info/10`,fallback:`text-info`,icon:`text-info`},warning:{root:`bg-warning/10`,fallback:`text-warning`,icon:`text-warning`},error:{root:`bg-error/10`,fallback:`text-error`,icon:`text-error`},neutral:{root:`bg-elevated`,fallback:`text-muted`,icon:`text-muted`}},size:{"3xs":{root:`size-4 text-[8px]`},"2xs":{root:`size-5 text-[10px]`},xs:{root:`size-6 text-xs`},sm:{root:`size-7 text-sm`},md:{root:`size-8 text-base`},lg:{root:`size-9 text-lg`},xl:{root:`size-10 text-xl`},"2xl":{root:`size-11 text-[22px]`},"3xl":{root:`size-12 text-2xl`}}},defaultVariants:{size:`md`,color:`neutral`}},z=Object.assign({inheritAttrs:!1},{__name:`UAvatar`,props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){let n=e,r=E(`avatar`,n),i=f(()=>T(r.as,{root:`span`})),a=f(()=>r.text||(r.alt||``).split(` `).map(e=>e.charAt(0)).join(``).substring(0,2)),s=w(),{size:p,color:m}=F(n),S=f(()=>D({extend:R,...s.ui?.avatar||{}})({size:p.value??r.size,color:m.value??r.color})),C=f(()=>S.value.root({class:[r.ui?.root,r.class]})),j=f(()=>{let e=(C.value||``).split(` `).find(e=>/^size-\d+$/.test(e));if(e){let t=Number.parseFloat(e.split(`-`)[1]??``);if(!Number.isNaN(t))return t*4}return null}),M=y(!1);o(()=>r.src,()=>{M.value&&=!1});function N(){M.value=!0}return(e,n)=>(h(),v(b(c(r).chip?L:c(k)),d({as:i.value.root},c(r).chip?typeof c(r).chip==`object`?{inset:!0,...c(r).chip}:{inset:!0}:{},{"data-slot":e.$attrs[`data-slot`]??`root`,class:C.value,style:c(r).style}),{default:g(()=>[c(r).src&&!M.value?(h(),v(b(i.value.img||c(`img`)),d({key:0,src:c(r).src,alt:c(r).alt,width:j.value,height:j.value},e.$attrs,{"data-slot":`image`,class:S.value.image({class:c(r).ui?.image}),onError:N}),null,16,[`src`,`alt`,`width`,`height`,`class`])):(h(),v(c(O),t(d({key:1},{...e.$attrs,"data-slot":void 0})),{default:g(()=>[x(e.$slots,`default`,{},()=>[c(r).icon?(h(),v(A,{key:0,name:c(r).icon,"data-slot":`icon`,class:l(S.value.icon({class:c(r).ui?.icon}))},null,8,[`name`,`class`])):(h(),u(`span`,{key:1,"data-slot":`fallback`,class:l(S.value.fallback({class:c(r).ui?.fallback}))},_(a.value||`\xA0`),3))])]),_:3},16))]),_:3},16,[`as`,`data-slot`,`class`,`style`]))}});function B(e){let t=w(),n=f(()=>i(e)),r=f(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon);return{isLeading:r,isTrailing:f(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing&&!r.value||!!n.value.trailingIcon&&n.value.trailing!==!1),leadingIconName:f(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),trailingIconName:f(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon)}}export{M as a,N as i,z as n,L as r,B as t};
@@ -1 +1 @@
1
- import{$ as e,D as t,E as n,Ft as r,Ht as i,Lt as a,On as o,Zn as s,at as c,b as l,bt as u,ct as d,et as f,g as p,mt as m,o as h,qt as g,tr as _,v,vn as y,wt as b,xt as x,y as S}from"./DZo3dYLJ.js";import{r as C}from"./Csqgy925.js";import{i as w,m as T,n as E,t as D}from"./6gFtTBwm.js";import{m as O}from"./CuJUHLl8.js";import{t as k}from"./BuOKDFiJ.js";import{a as A,i as j,n as M,r as N,t as P}from"./DWO9c9yp.js";import{t as F}from"./BO6qoy1z.js";import{n as I}from"./SHOVXANq.js";import{c as L}from"#entry";import{t as R}from"./k704SI9z.js";var z={slots:{root:`flex items-center gap-2`,list:`relative flex p-1 group`,indicator:`absolute transition-[translate,width] duration-200 ease-out motion-reduce:transition-none`,trigger:[`group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75`,`transition-colors`],leadingIcon:`shrink-0`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,label:`truncate`,trailingBadge:`shrink-0`,trailingBadgeSize:`sm`,content:`w-full rounded-md focus-visible:outline-3`},variants:{color:{primary:{content:`outline-primary/25`},secondary:{content:`outline-secondary/25`},success:{content:`outline-success/25`},info:{content:`outline-info/25`},warning:{content:`outline-warning/25`},error:{content:`outline-error/25`},neutral:{content:`outline-inverted/25`}},variant:{pill:{list:`bg-elevated rounded-lg`,trigger:[`grow`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:content-[''] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:absolute in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:inset-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:rounded-md in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:shadow-xs in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:-z-10 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:isolate`],indicator:`rounded-md shadow-xs`},link:{list:`border-default`,indicator:`rounded-full`,trigger:`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:content-[''] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:absolute in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:rounded-full`}},orientation:{horizontal:{root:`flex-col`,list:`w-full`,indicator:`left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)`,trigger:`justify-center`},vertical:{list:`flex-col`,indicator:`top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)`}},size:{xs:{trigger:`px-2 py-1 text-xs gap-1`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`},sm:{trigger:`px-2.5 py-1.5 text-xs gap-1.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`},md:{trigger:`px-3 py-1.5 text-sm gap-1.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`},lg:{trigger:`px-3 py-2 text-sm gap-2`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`},xl:{trigger:`px-3 py-2 text-base gap-2`,leadingIcon:`size-6`,leadingAvatarSize:`xs`}}},compoundVariants:[{orientation:`horizontal`,variant:`pill`,class:{indicator:`inset-y-1`}},{orientation:`horizontal`,variant:`link`,class:{list:`border-b -mb-px`,indicator:`-bottom-px h-px`,trigger:`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:inset-x-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:-bottom-[calc(var(--spacing)+1px)] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:h-px`}},{orientation:`vertical`,variant:`pill`,class:{indicator:`inset-x-1`,list:`items-center`,trigger:`w-full justify-center`}},{orientation:`vertical`,variant:`link`,class:{list:`border-s -ms-px`,indicator:`-start-px w-px`,trigger:`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:inset-y-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:-start-[calc(var(--spacing)+1px)] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:w-px`}},{color:`primary`,variant:`pill`,class:{indicator:`bg-primary`,trigger:[`data-[state=active]:text-inverted outline-primary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-primary`]}},{color:`secondary`,variant:`pill`,class:{indicator:`bg-secondary`,trigger:[`data-[state=active]:text-inverted outline-secondary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-secondary`]}},{color:`success`,variant:`pill`,class:{indicator:`bg-success`,trigger:[`data-[state=active]:text-inverted outline-success/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-success`]}},{color:`info`,variant:`pill`,class:{indicator:`bg-info`,trigger:[`data-[state=active]:text-inverted outline-info/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-info`]}},{color:`warning`,variant:`pill`,class:{indicator:`bg-warning`,trigger:[`data-[state=active]:text-inverted outline-warning/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-warning`]}},{color:`error`,variant:`pill`,class:{indicator:`bg-error`,trigger:[`data-[state=active]:text-inverted outline-error/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-error`]}},{color:`neutral`,variant:`pill`,class:{indicator:`bg-inverted`,trigger:[`data-[state=active]:text-inverted outline-inverted/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-inverted`]}},{color:`primary`,variant:`link`,class:{indicator:`bg-primary`,trigger:[`data-[state=active]:text-primary outline-primary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-primary`]}},{color:`secondary`,variant:`link`,class:{indicator:`bg-secondary`,trigger:[`data-[state=active]:text-secondary outline-secondary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-secondary`]}},{color:`success`,variant:`link`,class:{indicator:`bg-success`,trigger:[`data-[state=active]:text-success outline-success/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-success`]}},{color:`info`,variant:`link`,class:{indicator:`bg-info`,trigger:[`data-[state=active]:text-info outline-info/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-info`]}},{color:`warning`,variant:`link`,class:{indicator:`bg-warning`,trigger:[`data-[state=active]:text-warning outline-warning/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-warning`]}},{color:`error`,variant:`link`,class:{indicator:`bg-error`,trigger:[`data-[state=active]:text-error outline-error/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-error`]}},{color:`neutral`,variant:`link`,class:{indicator:`bg-inverted`,trigger:[`data-[state=active]:text-highlighted outline-inverted/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-inverted`]}}],defaultVariants:{color:`primary`,variant:`pill`,size:`md`}},B={__name:`UTabs`,props:{as:{type:null,required:!1},items:{type:Array,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},content:{type:Boolean,required:!1,default:!0},valueKey:{type:null,required:!1,default:`value`},labelKey:{type:null,required:!1,default:`label`},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultValue:{type:[String,Number],required:!1,default:`0`},modelValue:{type:[String,Number],required:!1},activationMode:{type:String,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:[`update:modelValue`],setup(e,{expose:r,emit:i}){let c=e,d=i,b=a(),T=E(`tabs`,c),L=C(),B=k(O(T,`as`,`unmountOnHide`),d),V=p(()=>D({extend:z,...L.ui?.tabs||{}})({color:T.color,variant:T.variant,size:T.size,orientation:T.orientation})),H=y([]);function U(e,t){H.value[e]=t}return r({triggersRef:H}),(e,r)=>(m(),v(o(A),f(o(B),{"model-value":o(T).modelValue,"default-value":o(T).defaultValue,orientation:o(T).orientation,"activation-mode":o(T).activationMode,"data-slot":`root`,class:V.value.root({class:[o(T).ui?.root,o(T).class]})}),{default:g(()=>[t(o(M),{"data-slot":`list`,class:s(V.value.list({class:o(T).ui?.list}))},{default:g(()=>[t(o(N),{"data-slot":`indicator`,class:s(V.value.indicator({class:o(T).ui?.indicator}))},null,8,[`class`]),x(e.$slots,`list-leading`),(m(!0),l(h,null,u(o(T).items,(t,r)=>(m(),v(o(P),{key:o(w)(t,o(T).valueKey)??r,ref_for:!0,ref:e=>U(r,e),value:o(w)(t,o(T).valueKey)??String(r),disabled:t.disabled,"data-slot":`trigger`,class:s(V.value.trigger({class:[o(T).ui?.trigger,t.ui?.trigger]}))},{default:g(()=>[x(e.$slots,`leading`,{item:t,index:r,ui:V.value},()=>[t.icon?(m(),v(F,{key:0,name:t.icon,"data-slot":`leadingIcon`,class:s(V.value.leadingIcon({class:[o(T).ui?.leadingIcon,t.ui?.leadingIcon]}))},null,8,[`name`,`class`])):t.avatar?(m(),v(I,f({key:1,size:t.ui?.leadingAvatarSize||o(T).ui?.leadingAvatarSize||V.value.leadingAvatarSize()},{ref_for:!0},t.avatar,{"data-slot":`leadingAvatar`,class:V.value.leadingAvatar({class:[o(T).ui?.leadingAvatar,t.ui?.leadingAvatar]})}),null,16,[`size`,`class`])):S(``,!0)]),o(w)(t,o(T).labelKey)||b.default?(m(),l(`span`,{key:0,"data-slot":`label`,class:s(V.value.label({class:[o(T).ui?.label,t.ui?.label]}))},[x(e.$slots,`default`,{item:t,index:r},()=>[n(_(o(w)(t,o(T).labelKey)),1)])],2)):S(``,!0),x(e.$slots,`trailing`,{item:t,index:r,ui:V.value},()=>[t.badge||t.badge===0?(m(),v(R,f({key:0,color:`neutral`,variant:`outline`,size:t.ui?.trailingBadgeSize||o(T).ui?.trailingBadgeSize||V.value.trailingBadgeSize()},{ref_for:!0},typeof t.badge==`string`||typeof t.badge==`number`?{label:t.badge}:t.badge,{"data-slot":`trailingBadge`,class:V.value.trailingBadge({class:[o(T).ui?.trailingBadge,t.ui?.trailingBadge]})}),null,16,[`size`,`class`])):S(``,!0)])]),_:2},1032,[`value`,`disabled`,`class`]))),128)),x(e.$slots,`list-trailing`)]),_:3},8,[`class`]),o(T).content?(m(!0),l(h,{key:0},u(o(T).items,(t,r)=>(m(),v(o(j),{key:o(w)(t,o(T).valueKey)??r,value:o(w)(t,o(T).valueKey)??String(r),"data-slot":`content`,class:s(V.value.content({class:[o(T).ui?.content,t.ui?.content,t.class]}))},{default:g(()=>[x(e.$slots,t.slot||`content`,{item:t,index:r,ui:V.value},()=>[n(_(t.content),1)])]),_:2},1032,[`value`,`class`]))),128)):S(``,!0)]),_:3},16,[`model-value`,`default-value`,`orientation`,`activation-mode`,`class`]))}},V={slots:{root:`my-5 gap-4`}},H={__name:`ProseTabs`,props:e({defaultValue:{type:String,required:!1,default:`0`},sync:{type:String,required:!1},hash:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=a(),l=E(`prose.tabs`,t),u=r(e,`modelValue`),f=C(),h=p(()=>D({extend:V,...f.ui?.prose?.tabs||{}})),_=y(1),x=p(()=>(_.value,n.default?.()?.flatMap(S).filter(Boolean)||[]));function S(e,t){return typeof e.type==`symbol`?e.children?.map(S):{index:t,label:e.props?.label||`${t}`,description:e.props?.description,icon:e.props?.icon,component:e}}d(()=>{if(l.sync){let e=`tabs-${l.sync}`,t=L(e,()=>localStorage.getItem(e));i(t,()=>{t.value&&(u.value=t.value)},{immediate:!0}),i(u,()=>{u.value&&(t.value=u.value,localStorage.setItem(e,u.value))})}});async function w(){if(l.hash){let e=l.hash.startsWith(`#`)?l.hash:`#${l.hash}`;setTimeout(()=>{document.querySelector(e)?.scrollIntoView()},200)}}return c(()=>_.value++),(e,t)=>(m(),v(B,{modelValue:u.value,"onUpdate:modelValue":[t[0]||=e=>u.value=e,w],color:`primary`,variant:`link`,items:x.value,class:s(o(l).class),"unmount-on-hide":!1,ui:o(T)(h.value(),o(l).ui)},{content:g(({item:e})=>[(m(),v(b(e.component)))]),_:1},8,[`modelValue`,`items`,`class`,`ui`]))}};export{H as default};
1
+ import{$ as e,D as t,E as n,Ft as r,Ht as i,Lt as a,On as o,Zn as s,at as c,b as l,bt as u,ct as d,et as f,g as p,mt as m,o as h,qt as g,tr as _,v,vn as y,wt as b,xt as x,y as S}from"./DZo3dYLJ.js";import{r as C}from"./Csqgy925.js";import{i as w,m as T,n as E,t as D}from"./6gFtTBwm.js";import{m as O}from"./CuJUHLl8.js";import{t as k}from"./BuOKDFiJ.js";import{a as A,i as j,n as M,r as N,t as P}from"./DWO9c9yp.js";import{t as F}from"./rlePnzpc.js";import{n as I}from"./DfR3IZN_.js";import{c as L}from"#entry";import{t as R}from"./Dx1wcYFo.js";var z={slots:{root:`flex items-center gap-2`,list:`relative flex p-1 group`,indicator:`absolute transition-[translate,width] duration-200 ease-out motion-reduce:transition-none`,trigger:[`group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75`,`transition-colors`],leadingIcon:`shrink-0`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,label:`truncate`,trailingBadge:`shrink-0`,trailingBadgeSize:`sm`,content:`w-full rounded-md focus-visible:outline-3`},variants:{color:{primary:{content:`outline-primary/25`},secondary:{content:`outline-secondary/25`},success:{content:`outline-success/25`},info:{content:`outline-info/25`},warning:{content:`outline-warning/25`},error:{content:`outline-error/25`},neutral:{content:`outline-inverted/25`}},variant:{pill:{list:`bg-elevated rounded-lg`,trigger:[`grow`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:content-[''] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:absolute in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:inset-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:rounded-md in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:shadow-xs in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:-z-10 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:isolate`],indicator:`rounded-md shadow-xs`},link:{list:`border-default`,indicator:`rounded-full`,trigger:`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:content-[''] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:absolute in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:rounded-full`}},orientation:{horizontal:{root:`flex-col`,list:`w-full`,indicator:`left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)`,trigger:`justify-center`},vertical:{list:`flex-col`,indicator:`top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)`}},size:{xs:{trigger:`px-2 py-1 text-xs gap-1`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`},sm:{trigger:`px-2.5 py-1.5 text-xs gap-1.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`},md:{trigger:`px-3 py-1.5 text-sm gap-1.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`},lg:{trigger:`px-3 py-2 text-sm gap-2`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`},xl:{trigger:`px-3 py-2 text-base gap-2`,leadingIcon:`size-6`,leadingAvatarSize:`xs`}}},compoundVariants:[{orientation:`horizontal`,variant:`pill`,class:{indicator:`inset-y-1`}},{orientation:`horizontal`,variant:`link`,class:{list:`border-b -mb-px`,indicator:`-bottom-px h-px`,trigger:`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:inset-x-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:-bottom-[calc(var(--spacing)+1px)] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:h-px`}},{orientation:`vertical`,variant:`pill`,class:{indicator:`inset-x-1`,list:`items-center`,trigger:`w-full justify-center`}},{orientation:`vertical`,variant:`link`,class:{list:`border-s -ms-px`,indicator:`-start-px w-px`,trigger:`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:inset-y-0 in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:-start-[calc(var(--spacing)+1px)] in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:w-px`}},{color:`primary`,variant:`pill`,class:{indicator:`bg-primary`,trigger:[`data-[state=active]:text-inverted outline-primary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-primary`]}},{color:`secondary`,variant:`pill`,class:{indicator:`bg-secondary`,trigger:[`data-[state=active]:text-inverted outline-secondary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-secondary`]}},{color:`success`,variant:`pill`,class:{indicator:`bg-success`,trigger:[`data-[state=active]:text-inverted outline-success/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-success`]}},{color:`info`,variant:`pill`,class:{indicator:`bg-info`,trigger:[`data-[state=active]:text-inverted outline-info/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-info`]}},{color:`warning`,variant:`pill`,class:{indicator:`bg-warning`,trigger:[`data-[state=active]:text-inverted outline-warning/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-warning`]}},{color:`error`,variant:`pill`,class:{indicator:`bg-error`,trigger:[`data-[state=active]:text-inverted outline-error/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-error`]}},{color:`neutral`,variant:`pill`,class:{indicator:`bg-inverted`,trigger:[`data-[state=active]:text-inverted outline-inverted/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:before:bg-inverted`]}},{color:`primary`,variant:`link`,class:{indicator:`bg-primary`,trigger:[`data-[state=active]:text-primary outline-primary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-primary`]}},{color:`secondary`,variant:`link`,class:{indicator:`bg-secondary`,trigger:[`data-[state=active]:text-secondary outline-secondary/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-secondary`]}},{color:`success`,variant:`link`,class:{indicator:`bg-success`,trigger:[`data-[state=active]:text-success outline-success/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-success`]}},{color:`info`,variant:`link`,class:{indicator:`bg-info`,trigger:[`data-[state=active]:text-info outline-info/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-info`]}},{color:`warning`,variant:`link`,class:{indicator:`bg-warning`,trigger:[`data-[state=active]:text-warning outline-warning/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-warning`]}},{color:`error`,variant:`link`,class:{indicator:`bg-error`,trigger:[`data-[state=active]:text-error outline-error/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-error`]}},{color:`neutral`,variant:`link`,class:{indicator:`bg-inverted`,trigger:[`data-[state=active]:text-highlighted outline-inverted/25 focus-visible:outline-3`,`in-[[data-slot=list]:not(:has([data-slot=indicator]))]:data-[state=active]:after:bg-inverted`]}}],defaultVariants:{color:`primary`,variant:`pill`,size:`md`}},B={__name:`UTabs`,props:{as:{type:null,required:!1},items:{type:Array,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},content:{type:Boolean,required:!1,default:!0},valueKey:{type:null,required:!1,default:`value`},labelKey:{type:null,required:!1,default:`label`},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultValue:{type:[String,Number],required:!1,default:`0`},modelValue:{type:[String,Number],required:!1},activationMode:{type:String,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:[`update:modelValue`],setup(e,{expose:r,emit:i}){let c=e,d=i,b=a(),T=E(`tabs`,c),L=C(),B=k(O(T,`as`,`unmountOnHide`),d),V=p(()=>D({extend:z,...L.ui?.tabs||{}})({color:T.color,variant:T.variant,size:T.size,orientation:T.orientation})),H=y([]);function U(e,t){H.value[e]=t}return r({triggersRef:H}),(e,r)=>(m(),v(o(A),f(o(B),{"model-value":o(T).modelValue,"default-value":o(T).defaultValue,orientation:o(T).orientation,"activation-mode":o(T).activationMode,"data-slot":`root`,class:V.value.root({class:[o(T).ui?.root,o(T).class]})}),{default:g(()=>[t(o(M),{"data-slot":`list`,class:s(V.value.list({class:o(T).ui?.list}))},{default:g(()=>[t(o(N),{"data-slot":`indicator`,class:s(V.value.indicator({class:o(T).ui?.indicator}))},null,8,[`class`]),x(e.$slots,`list-leading`),(m(!0),l(h,null,u(o(T).items,(t,r)=>(m(),v(o(P),{key:o(w)(t,o(T).valueKey)??r,ref_for:!0,ref:e=>U(r,e),value:o(w)(t,o(T).valueKey)??String(r),disabled:t.disabled,"data-slot":`trigger`,class:s(V.value.trigger({class:[o(T).ui?.trigger,t.ui?.trigger]}))},{default:g(()=>[x(e.$slots,`leading`,{item:t,index:r,ui:V.value},()=>[t.icon?(m(),v(F,{key:0,name:t.icon,"data-slot":`leadingIcon`,class:s(V.value.leadingIcon({class:[o(T).ui?.leadingIcon,t.ui?.leadingIcon]}))},null,8,[`name`,`class`])):t.avatar?(m(),v(I,f({key:1,size:t.ui?.leadingAvatarSize||o(T).ui?.leadingAvatarSize||V.value.leadingAvatarSize()},{ref_for:!0},t.avatar,{"data-slot":`leadingAvatar`,class:V.value.leadingAvatar({class:[o(T).ui?.leadingAvatar,t.ui?.leadingAvatar]})}),null,16,[`size`,`class`])):S(``,!0)]),o(w)(t,o(T).labelKey)||b.default?(m(),l(`span`,{key:0,"data-slot":`label`,class:s(V.value.label({class:[o(T).ui?.label,t.ui?.label]}))},[x(e.$slots,`default`,{item:t,index:r},()=>[n(_(o(w)(t,o(T).labelKey)),1)])],2)):S(``,!0),x(e.$slots,`trailing`,{item:t,index:r,ui:V.value},()=>[t.badge||t.badge===0?(m(),v(R,f({key:0,color:`neutral`,variant:`outline`,size:t.ui?.trailingBadgeSize||o(T).ui?.trailingBadgeSize||V.value.trailingBadgeSize()},{ref_for:!0},typeof t.badge==`string`||typeof t.badge==`number`?{label:t.badge}:t.badge,{"data-slot":`trailingBadge`,class:V.value.trailingBadge({class:[o(T).ui?.trailingBadge,t.ui?.trailingBadge]})}),null,16,[`size`,`class`])):S(``,!0)])]),_:2},1032,[`value`,`disabled`,`class`]))),128)),x(e.$slots,`list-trailing`)]),_:3},8,[`class`]),o(T).content?(m(!0),l(h,{key:0},u(o(T).items,(t,r)=>(m(),v(o(j),{key:o(w)(t,o(T).valueKey)??r,value:o(w)(t,o(T).valueKey)??String(r),"data-slot":`content`,class:s(V.value.content({class:[o(T).ui?.content,t.ui?.content,t.class]}))},{default:g(()=>[x(e.$slots,t.slot||`content`,{item:t,index:r,ui:V.value},()=>[n(_(t.content),1)])]),_:2},1032,[`value`,`class`]))),128)):S(``,!0)]),_:3},16,[`model-value`,`default-value`,`orientation`,`activation-mode`,`class`]))}},V={slots:{root:`my-5 gap-4`}},H={__name:`ProseTabs`,props:e({defaultValue:{type:String,required:!1,default:`0`},sync:{type:String,required:!1},hash:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=a(),l=E(`prose.tabs`,t),u=r(e,`modelValue`),f=C(),h=p(()=>D({extend:V,...f.ui?.prose?.tabs||{}})),_=y(1),x=p(()=>(_.value,n.default?.()?.flatMap(S).filter(Boolean)||[]));function S(e,t){return typeof e.type==`symbol`?e.children?.map(S):{index:t,label:e.props?.label||`${t}`,description:e.props?.description,icon:e.props?.icon,component:e}}d(()=>{if(l.sync){let e=`tabs-${l.sync}`,t=L(e,()=>localStorage.getItem(e));i(t,()=>{t.value&&(u.value=t.value)},{immediate:!0}),i(u,()=>{u.value&&(t.value=u.value,localStorage.setItem(e,u.value))})}});async function w(){if(l.hash){let e=l.hash.startsWith(`#`)?l.hash:`#${l.hash}`;setTimeout(()=>{document.querySelector(e)?.scrollIntoView()},200)}}return c(()=>_.value++),(e,t)=>(m(),v(B,{modelValue:u.value,"onUpdate:modelValue":[t[0]||=e=>u.value=e,w],color:`primary`,variant:`link`,items:x.value,class:s(o(l).class),"unmount-on-hide":!1,ui:o(T)(h.value(),o(l).ui)},{content:g(({item:e})=>[(m(),v(b(e.component)))]),_:1},8,[`modelValue`,`items`,`class`,`ui`]))}};export{H as default};
@@ -1 +1 @@
1
- import{D as e,E as t,Lt as n,On as r,Tn as i,Zn as a,_ as o,at as s,b as c,bt as l,et as u,g as d,k as f,mt as p,o as m,qt as h,tr as g,v as _,vn as v,wt as y,xt as b,y as x}from"./DZo3dYLJ.js";import{C as S}from"./51OWHj8c.js";import{t as C}from"./B3jkABw9.js";import{r as w,t as T}from"./Csqgy925.js";import{h as E,i as D,m as O,n as k,t as A}from"./6gFtTBwm.js";import{t as j}from"./DHihWhf5.js";import{m as M}from"./CuJUHLl8.js";import{p as N}from"./Vo4wMbnS.js";import{t as P}from"./CK9_veoz.js";import{t as F}from"./Ci0qbkgh.js";import{t as I}from"./BuOKDFiJ.js";import{t as L}from"./D3YCAmfu.js";import{t as R}from"./BO6qoy1z.js";import{D as z,E as B,T as V,w as H}from"#entry";function U(e,t){return j(e)?!1:Array.isArray(e)?e.some(e=>T(e,t)):T(e,t)}function W({type:e,defaultValue:t,modelValue:n}){let r=n||t;return n!==void 0||t!==void 0?Array.isArray(r)?`multiple`:`single`:e??`single`}function G({type:e,defaultValue:t,modelValue:n}){return e||W({type:e,defaultValue:t,modelValue:n})}function K({type:e,defaultValue:t}){return t===void 0?e===`single`?void 0:[]:t}function q(e,t){let n=d(()=>G(e)),r=N(e,`modelValue`,t,{defaultValue:K(e),passive:e.modelValue===void 0,deep:!0});function i(e){if(n.value===`single`)r.value=T(e,r.value)?void 0:e;else{let t=Array.isArray(r.value)?[...r.value||[]]:[r.value].filter(Boolean);if(U(t,e)){let n=t.findIndex(t=>T(t,e));t.splice(n,1)}else t.push(e);r.value=t}}return{modelValue:r,changeModelValue:i,isSingle:d(()=>n.value===`single`)}}var[J,Y]=E(`AccordionRoot`),X=f({__name:`AccordionRoot`,props:{collapsible:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},orientation:{type:String,required:!1,default:`vertical`},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},type:{type:String,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,a=t,{dir:o,disabled:s,unmountOnHide:c}=i(n),l=F(o),{modelValue:u,changeModelValue:d,isSingle:f}=q(n,a),{forwardRef:m,currentElement:g}=L();return Y({disabled:s,direction:l,orientation:n.orientation,parentElement:g,isSingle:f,collapsible:n.collapsible,modelValue:u,changeModelValue:d,unmountOnHide:c}),(t,n)=>(p(),_(r(P),{ref:r(m),"as-child":e.asChild,as:e.as},{default:h(()=>[b(t.$slots,`default`,{modelValue:r(u)})]),_:3},8,[`as-child`,`as`]))}}),Z=function(e){return e.Open=`open`,e.Closed=`closed`,e}(Z||{}),[Q,$]=E(`AccordionItem`),ee=f({__name:`AccordionItem`,props:{disabled:{type:Boolean,required:!1},value:{type:String,required:!0},unmountOnHide:{type:Boolean,required:!1,default:void 0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e,{expose:t}){let n=e,i=J(),a=d(()=>i.isSingle.value?n.value===i.modelValue.value:Array.isArray(i.modelValue.value)&&i.modelValue.value.includes(n.value)),o=d(()=>i.disabled.value||n.disabled),s=d(()=>o.value?``:void 0),c=d(()=>a.value?Z.Open:Z.Closed);t({open:a,dataDisabled:s});let{currentRef:l,currentElement:u}=L();$({open:a,dataState:c,disabled:o,dataDisabled:s,triggerId:``,currentRef:l,currentElement:u,value:d(()=>n.value)});function f(e){let t=e.target;if(Array.from(i.parentElement.value?.querySelectorAll(`[data-reka-collection-item]`)??[]).findIndex(e=>e===t)===-1)return null;z(e,t,i.parentElement.value,{arrowKeyOptions:i.orientation,dir:i.direction.value,focus:!0})}return(e,t)=>(p(),_(r(B),{"data-orientation":r(i).orientation,"data-disabled":s.value,"data-state":c.value,disabled:o.value,open:a.value,as:n.as,"as-child":n.asChild,"unmount-on-hide":n.unmountOnHide??r(i).unmountOnHide.value,onKeydown:S(f,[`up`,`down`,`left`,`right`,`home`,`end`])},{default:h(()=>[b(e.$slots,`default`,{open:a.value})]),_:3},8,[`data-orientation`,`data-disabled`,`data-state`,`disabled`,`open`,`as`,`as-child`,`unmount-on-hide`]))}}),te=f({__name:`AccordionContent`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=J(),i=Q();return L(),(a,o)=>(p(),_(r(V),{role:`region`,"as-child":t.asChild,as:e.as,"force-mount":t.forceMount,"aria-labelledby":r(i).triggerId,"data-state":r(i).dataState.value,"data-disabled":r(i).dataDisabled.value,"data-orientation":r(n).orientation,style:{"--reka-accordion-content-width":`var(--reka-collapsible-content-width)`,"--reka-accordion-content-height":`var(--reka-collapsible-content-height)`},onContentFound:o[0]||=e=>r(n).changeModelValue(r(i).value.value)},{default:h(()=>[b(a.$slots,`default`)]),_:3},8,[`as-child`,`as`,`force-mount`,`aria-labelledby`,`data-state`,`data-disabled`,`data-orientation`]))}}),ne=f({__name:`AccordionHeader`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`h3`}},setup(e){let t=e,n=J(),i=Q();return L(),(e,a)=>(p(),_(r(P),{as:t.as,"as-child":t.asChild,"data-orientation":r(n).orientation,"data-state":r(i).dataState.value,"data-disabled":r(i).dataDisabled.value},{default:h(()=>[b(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-orientation`,`data-state`,`data-disabled`]))}}),re=f({__name:`AccordionTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=J(),i=Q();i.triggerId||=C(void 0,`reka-accordion-trigger`);function a(){let e=n.isSingle.value&&i.open.value&&!n.collapsible;i.disabled.value||e||n.changeModelValue(i.value.value)}return(e,o)=>(p(),_(r(H),{id:r(i).triggerId,ref:r(i).currentRef,"data-reka-collection-item":``,as:t.as,"as-child":t.asChild,"aria-disabled":r(i).disabled.value||void 0,"aria-expanded":r(i).open.value||!1,"data-disabled":r(i).dataDisabled.value,"data-orientation":r(n).orientation,"data-state":r(i).dataState.value,disabled:r(i).disabled.value,onClick:a},{default:h(()=>[b(e.$slots,`default`)]),_:3},8,[`id`,`as`,`as-child`,`aria-disabled`,`aria-expanded`,`data-disabled`,`data-orientation`,`data-state`,`disabled`]))}}),ie={slots:{root:`w-full`,item:`border-b border-default last:border-b-0`,header:`flex`,trigger:`group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 outline-primary/25 focus-visible:outline-3 min-w-0 rounded-md`,content:`data-[state=open]:animate-[accordion-down_200ms_var(--ease-out)] data-[state=closed]:animate-[accordion-up_200ms_var(--ease-out)] data-[state=closed]:overflow-hidden focus:outline-none`,body:`text-sm pb-3.5`,leadingIcon:`shrink-0 size-5`,trailingIcon:`shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200 ease-out motion-reduce:transition-none`,label:`text-start break-words`},variants:{disabled:{true:{trigger:`cursor-not-allowed opacity-75`}}}},ae={__name:`UAccordion`,props:{as:{type:null,required:!1},items:{type:Array,required:!1},trailingIcon:{type:null,required:!1},valueKey:{type:null,required:!1,default:`value`},labelKey:{type:null,required:!1,default:`label`},class:{type:null,required:!1},ui:{type:Object,required:!1},collapsible:{type:Boolean,required:!1,default:!0},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},type:{type:String,required:!1,default:`single`},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:[`update:modelValue`],setup(i,{emit:s}){let f=i,v=s,y=n(),S=k(`accordion`,f),C=w(),T=I(M(S,`as`,`collapsible`,`defaultValue`,`disabled`,`modelValue`,`unmountOnHide`),v),E=d(()=>A({extend:ie,...C.ui?.accordion||{}})({disabled:S.disabled}));return(n,i)=>(p(),_(r(X),u(r(T),{type:r(S).type,"data-slot":`root`,class:E.value.root({class:[r(S).ui?.root,r(S).class]})}),{default:h(()=>[(p(!0),c(m,null,l(r(S).items,(i,s)=>(p(),_(r(ee),{key:r(D)(i,r(S).valueKey)??s,value:r(D)(i,r(S).valueKey)??String(s),disabled:i.disabled,"data-slot":`item`,class:a(E.value.item({class:[r(S).ui?.item,i.ui?.item,i.class]}))},{default:h(({open:l})=>[e(r(ne),{as:`div`,"data-slot":`header`,class:a(E.value.header({class:[r(S).ui?.header,i.ui?.header]}))},{default:h(()=>[e(r(re),{"data-slot":`trigger`,class:a(E.value.trigger({class:[r(S).ui?.trigger,i.ui?.trigger],disabled:i.disabled}))},{default:h(()=>[b(n.$slots,`leading`,{item:i,index:s,open:l,ui:E.value},()=>[i.icon?(p(),_(R,{key:0,name:i.icon,"data-slot":`leadingIcon`,class:a(E.value.leadingIcon({class:[r(S).ui?.leadingIcon,i?.ui?.leadingIcon]}))},null,8,[`name`,`class`])):x(``,!0)]),r(D)(i,r(S).labelKey)||y.default?(p(),c(`span`,{key:0,"data-slot":`label`,class:a(E.value.label({class:[r(S).ui?.label,i.ui?.label]}))},[b(n.$slots,`default`,{item:i,index:s,open:l},()=>[t(g(r(D)(i,r(S).labelKey)),1)])],2)):x(``,!0),b(n.$slots,`trailing`,{item:i,index:s,open:l,ui:E.value},()=>[e(R,{name:i.trailingIcon||r(S).trailingIcon||r(C).ui.icons.chevronDown,"data-slot":`trailingIcon`,class:a(E.value.trailingIcon({class:[r(S).ui?.trailingIcon,i.ui?.trailingIcon]}))},null,8,[`name`,`class`])])]),_:2},1032,[`class`])]),_:2},1032,[`class`]),i.content||y.content||i.slot&&y[i.slot]||y.body||i.slot&&y[`${i.slot}-body`]?(p(),_(r(te),{key:0,"data-slot":`content`,class:a(E.value.content({class:[r(S).ui?.content,i.ui?.content]}))},{default:h(()=>[b(n.$slots,i.slot||`content`,{item:i,index:s,open:l,ui:E.value},()=>[o(`div`,{"data-slot":`body`,class:a(E.value.body({class:[r(S).ui?.body,i.ui?.body]}))},[b(n.$slots,i.slot?`${i.slot}-body`:`body`,{item:i,index:s,open:l,ui:E.value},()=>[t(g(i.content),1)])],2)])]),_:2},1032,[`class`])):x(``,!0)]),_:2},1032,[`value`,`disabled`,`class`]))),128))]),_:3},16,[`type`,`class`]))}},oe={slots:{root:`my-5`,trigger:`text-base`}},se={__name:`ProseAccordion`,props:{type:{type:String,required:!1,default:`multiple`},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){let t=e,i=n(),o=k(`prose.accordion`,t),c=w(),l=d(()=>A({extend:oe,...c.ui?.prose?.accordion||{}})),u=v(1),f=d(()=>(u.value,i.default?.()?.flatMap(m).filter(Boolean)||[]));function m(e,t){return typeof e.type==`symbol`?e.children?.map(m):{index:t,label:e.props?.label||`${t}`,description:e.props?.description,icon:e.props?.icon,component:e}}return s(()=>u.value++),(e,t)=>(p(),_(ae,{type:r(o).type,items:f.value,"unmount-on-hide":!1,class:a(r(o).class),ui:r(O)(l.value(),r(o).ui)},{content:h(({item:e})=>[(p(),_(y(e.component)))]),_:1},8,[`type`,`items`,`class`,`ui`]))}};export{se as default};
1
+ import{D as e,E as t,Lt as n,On as r,Tn as i,Zn as a,_ as o,at as s,b as c,bt as l,et as u,g as d,k as f,mt as p,o as m,qt as h,tr as g,v as _,vn as v,wt as y,xt as b,y as x}from"./DZo3dYLJ.js";import{C as S}from"./51OWHj8c.js";import{t as C}from"./B3jkABw9.js";import{r as w,t as T}from"./Csqgy925.js";import{h as E,i as D,m as O,n as k,t as A}from"./6gFtTBwm.js";import{t as j}from"./DHihWhf5.js";import{m as M}from"./CuJUHLl8.js";import{p as N}from"./Vo4wMbnS.js";import{t as P}from"./CK9_veoz.js";import{t as F}from"./Ci0qbkgh.js";import{t as I}from"./BuOKDFiJ.js";import{t as L}from"./D3YCAmfu.js";import{t as R}from"./rlePnzpc.js";import{D as z,E as B,T as V,w as H}from"#entry";function U(e,t){return j(e)?!1:Array.isArray(e)?e.some(e=>T(e,t)):T(e,t)}function W({type:e,defaultValue:t,modelValue:n}){let r=n||t;return n!==void 0||t!==void 0?Array.isArray(r)?`multiple`:`single`:e??`single`}function G({type:e,defaultValue:t,modelValue:n}){return e||W({type:e,defaultValue:t,modelValue:n})}function K({type:e,defaultValue:t}){return t===void 0?e===`single`?void 0:[]:t}function q(e,t){let n=d(()=>G(e)),r=N(e,`modelValue`,t,{defaultValue:K(e),passive:e.modelValue===void 0,deep:!0});function i(e){if(n.value===`single`)r.value=T(e,r.value)?void 0:e;else{let t=Array.isArray(r.value)?[...r.value||[]]:[r.value].filter(Boolean);if(U(t,e)){let n=t.findIndex(t=>T(t,e));t.splice(n,1)}else t.push(e);r.value=t}}return{modelValue:r,changeModelValue:i,isSingle:d(()=>n.value===`single`)}}var[J,Y]=E(`AccordionRoot`),X=f({__name:`AccordionRoot`,props:{collapsible:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},orientation:{type:String,required:!1,default:`vertical`},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},type:{type:String,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,a=t,{dir:o,disabled:s,unmountOnHide:c}=i(n),l=F(o),{modelValue:u,changeModelValue:d,isSingle:f}=q(n,a),{forwardRef:m,currentElement:g}=L();return Y({disabled:s,direction:l,orientation:n.orientation,parentElement:g,isSingle:f,collapsible:n.collapsible,modelValue:u,changeModelValue:d,unmountOnHide:c}),(t,n)=>(p(),_(r(P),{ref:r(m),"as-child":e.asChild,as:e.as},{default:h(()=>[b(t.$slots,`default`,{modelValue:r(u)})]),_:3},8,[`as-child`,`as`]))}}),Z=function(e){return e.Open=`open`,e.Closed=`closed`,e}(Z||{}),[Q,$]=E(`AccordionItem`),ee=f({__name:`AccordionItem`,props:{disabled:{type:Boolean,required:!1},value:{type:String,required:!0},unmountOnHide:{type:Boolean,required:!1,default:void 0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e,{expose:t}){let n=e,i=J(),a=d(()=>i.isSingle.value?n.value===i.modelValue.value:Array.isArray(i.modelValue.value)&&i.modelValue.value.includes(n.value)),o=d(()=>i.disabled.value||n.disabled),s=d(()=>o.value?``:void 0),c=d(()=>a.value?Z.Open:Z.Closed);t({open:a,dataDisabled:s});let{currentRef:l,currentElement:u}=L();$({open:a,dataState:c,disabled:o,dataDisabled:s,triggerId:``,currentRef:l,currentElement:u,value:d(()=>n.value)});function f(e){let t=e.target;if(Array.from(i.parentElement.value?.querySelectorAll(`[data-reka-collection-item]`)??[]).findIndex(e=>e===t)===-1)return null;z(e,t,i.parentElement.value,{arrowKeyOptions:i.orientation,dir:i.direction.value,focus:!0})}return(e,t)=>(p(),_(r(B),{"data-orientation":r(i).orientation,"data-disabled":s.value,"data-state":c.value,disabled:o.value,open:a.value,as:n.as,"as-child":n.asChild,"unmount-on-hide":n.unmountOnHide??r(i).unmountOnHide.value,onKeydown:S(f,[`up`,`down`,`left`,`right`,`home`,`end`])},{default:h(()=>[b(e.$slots,`default`,{open:a.value})]),_:3},8,[`data-orientation`,`data-disabled`,`data-state`,`disabled`,`open`,`as`,`as-child`,`unmount-on-hide`]))}}),te=f({__name:`AccordionContent`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=J(),i=Q();return L(),(a,o)=>(p(),_(r(V),{role:`region`,"as-child":t.asChild,as:e.as,"force-mount":t.forceMount,"aria-labelledby":r(i).triggerId,"data-state":r(i).dataState.value,"data-disabled":r(i).dataDisabled.value,"data-orientation":r(n).orientation,style:{"--reka-accordion-content-width":`var(--reka-collapsible-content-width)`,"--reka-accordion-content-height":`var(--reka-collapsible-content-height)`},onContentFound:o[0]||=e=>r(n).changeModelValue(r(i).value.value)},{default:h(()=>[b(a.$slots,`default`)]),_:3},8,[`as-child`,`as`,`force-mount`,`aria-labelledby`,`data-state`,`data-disabled`,`data-orientation`]))}}),ne=f({__name:`AccordionHeader`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`h3`}},setup(e){let t=e,n=J(),i=Q();return L(),(e,a)=>(p(),_(r(P),{as:t.as,"as-child":t.asChild,"data-orientation":r(n).orientation,"data-state":r(i).dataState.value,"data-disabled":r(i).dataDisabled.value},{default:h(()=>[b(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-orientation`,`data-state`,`data-disabled`]))}}),re=f({__name:`AccordionTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=J(),i=Q();i.triggerId||=C(void 0,`reka-accordion-trigger`);function a(){let e=n.isSingle.value&&i.open.value&&!n.collapsible;i.disabled.value||e||n.changeModelValue(i.value.value)}return(e,o)=>(p(),_(r(H),{id:r(i).triggerId,ref:r(i).currentRef,"data-reka-collection-item":``,as:t.as,"as-child":t.asChild,"aria-disabled":r(i).disabled.value||void 0,"aria-expanded":r(i).open.value||!1,"data-disabled":r(i).dataDisabled.value,"data-orientation":r(n).orientation,"data-state":r(i).dataState.value,disabled:r(i).disabled.value,onClick:a},{default:h(()=>[b(e.$slots,`default`)]),_:3},8,[`id`,`as`,`as-child`,`aria-disabled`,`aria-expanded`,`data-disabled`,`data-orientation`,`data-state`,`disabled`]))}}),ie={slots:{root:`w-full`,item:`border-b border-default last:border-b-0`,header:`flex`,trigger:`group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 outline-primary/25 focus-visible:outline-3 min-w-0 rounded-md`,content:`data-[state=open]:animate-[accordion-down_200ms_var(--ease-out)] data-[state=closed]:animate-[accordion-up_200ms_var(--ease-out)] data-[state=closed]:overflow-hidden focus:outline-none`,body:`text-sm pb-3.5`,leadingIcon:`shrink-0 size-5`,trailingIcon:`shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200 ease-out motion-reduce:transition-none`,label:`text-start break-words`},variants:{disabled:{true:{trigger:`cursor-not-allowed opacity-75`}}}},ae={__name:`UAccordion`,props:{as:{type:null,required:!1},items:{type:Array,required:!1},trailingIcon:{type:null,required:!1},valueKey:{type:null,required:!1,default:`value`},labelKey:{type:null,required:!1,default:`label`},class:{type:null,required:!1},ui:{type:Object,required:!1},collapsible:{type:Boolean,required:!1,default:!0},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},type:{type:String,required:!1,default:`single`},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:[`update:modelValue`],setup(i,{emit:s}){let f=i,v=s,y=n(),S=k(`accordion`,f),C=w(),T=I(M(S,`as`,`collapsible`,`defaultValue`,`disabled`,`modelValue`,`unmountOnHide`),v),E=d(()=>A({extend:ie,...C.ui?.accordion||{}})({disabled:S.disabled}));return(n,i)=>(p(),_(r(X),u(r(T),{type:r(S).type,"data-slot":`root`,class:E.value.root({class:[r(S).ui?.root,r(S).class]})}),{default:h(()=>[(p(!0),c(m,null,l(r(S).items,(i,s)=>(p(),_(r(ee),{key:r(D)(i,r(S).valueKey)??s,value:r(D)(i,r(S).valueKey)??String(s),disabled:i.disabled,"data-slot":`item`,class:a(E.value.item({class:[r(S).ui?.item,i.ui?.item,i.class]}))},{default:h(({open:l})=>[e(r(ne),{as:`div`,"data-slot":`header`,class:a(E.value.header({class:[r(S).ui?.header,i.ui?.header]}))},{default:h(()=>[e(r(re),{"data-slot":`trigger`,class:a(E.value.trigger({class:[r(S).ui?.trigger,i.ui?.trigger],disabled:i.disabled}))},{default:h(()=>[b(n.$slots,`leading`,{item:i,index:s,open:l,ui:E.value},()=>[i.icon?(p(),_(R,{key:0,name:i.icon,"data-slot":`leadingIcon`,class:a(E.value.leadingIcon({class:[r(S).ui?.leadingIcon,i?.ui?.leadingIcon]}))},null,8,[`name`,`class`])):x(``,!0)]),r(D)(i,r(S).labelKey)||y.default?(p(),c(`span`,{key:0,"data-slot":`label`,class:a(E.value.label({class:[r(S).ui?.label,i.ui?.label]}))},[b(n.$slots,`default`,{item:i,index:s,open:l},()=>[t(g(r(D)(i,r(S).labelKey)),1)])],2)):x(``,!0),b(n.$slots,`trailing`,{item:i,index:s,open:l,ui:E.value},()=>[e(R,{name:i.trailingIcon||r(S).trailingIcon||r(C).ui.icons.chevronDown,"data-slot":`trailingIcon`,class:a(E.value.trailingIcon({class:[r(S).ui?.trailingIcon,i.ui?.trailingIcon]}))},null,8,[`name`,`class`])])]),_:2},1032,[`class`])]),_:2},1032,[`class`]),i.content||y.content||i.slot&&y[i.slot]||y.body||i.slot&&y[`${i.slot}-body`]?(p(),_(r(te),{key:0,"data-slot":`content`,class:a(E.value.content({class:[r(S).ui?.content,i.ui?.content]}))},{default:h(()=>[b(n.$slots,i.slot||`content`,{item:i,index:s,open:l,ui:E.value},()=>[o(`div`,{"data-slot":`body`,class:a(E.value.body({class:[r(S).ui?.body,i.ui?.body]}))},[b(n.$slots,i.slot?`${i.slot}-body`:`body`,{item:i,index:s,open:l,ui:E.value},()=>[t(g(i.content),1)])],2)])]),_:2},1032,[`class`])):x(``,!0)]),_:2},1032,[`value`,`disabled`,`class`]))),128))]),_:3},16,[`type`,`class`]))}},oe={slots:{root:`my-5`,trigger:`text-base`}},se={__name:`ProseAccordion`,props:{type:{type:String,required:!1,default:`multiple`},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){let t=e,i=n(),o=k(`prose.accordion`,t),c=w(),l=d(()=>A({extend:oe,...c.ui?.prose?.accordion||{}})),u=v(1),f=d(()=>(u.value,i.default?.()?.flatMap(m).filter(Boolean)||[]));function m(e,t){return typeof e.type==`symbol`?e.children?.map(m):{index:t,label:e.props?.label||`${t}`,description:e.props?.description,icon:e.props?.icon,component:e}}return s(()=>u.value++),(e,t)=>(p(),_(ae,{type:r(o).type,items:f.value,"unmount-on-hide":!1,class:a(r(o).class),ui:r(O)(l.value(),r(o).ui)},{content:h(({item:e})=>[(p(),_(y(e.component)))]),_:1},8,[`type`,`items`,`class`,`ui`]))}};export{se as default};