@floegence/floe-webapp-core 0.81.1 → 0.81.3

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 (38) hide show
  1. package/dist/assets/markdown.worker-DurayC72.js +59 -0
  2. package/dist/components/chat/blocks/SvgBlock.js +16 -10
  3. package/dist/components/chat/diff/diffModel.js +1 -1
  4. package/dist/components/chat/hooks/useMarkdown.js +5 -5
  5. package/dist/components/chat/markdown/markdown.js +1 -1
  6. package/dist/components/editor/CodeEditor.d.ts +1 -2
  7. package/dist/components/editor/CodeEditor.js +7 -8
  8. package/dist/components/editor/languages.js +37 -37
  9. package/dist/components/editor/monacoEnvironment.js +5 -5
  10. package/dist/components/editor/monacoStandaloneRuntime.d.ts +1 -1
  11. package/dist/components/editor/monacoStandaloneRuntime.js +7 -7
  12. package/dist/components/file-browser/DragPreview.js +1 -1
  13. package/dist/components/icons/DockIcons.js +118 -114
  14. package/dist/components/layout/BottomBarCompanion.js +29 -29
  15. package/dist/components/layout/Shell.js +1 -1
  16. package/dist/components/notes/NotesOverlay.js +1 -1
  17. package/dist/components/ui/picker/PickerNavigation.js +10 -9
  18. package/dist/components/workbench/WorkbenchFilterBar.js +226 -223
  19. package/dist/components/workbench/WorkbenchLockButton.js +1 -1
  20. package/dist/components/workbench/WorkbenchOverlay.js +1 -1
  21. package/dist/components/workbench/WorkbenchSurface.js +101 -101
  22. package/dist/node_modules/.pnpm/dompurify@3.4.16/node_modules/dompurify/dist/purify.es.js +1480 -0
  23. package/dist/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.js +1141 -0
  24. package/dist/node_modules/.pnpm/{solid-motionone@1.0.4_solid-js@1.9.11 → solid-motionone@1.0.4_solid-js@1.9.15}/node_modules/solid-motionone/dist/index.js +3 -3
  25. package/dist/node_modules/.pnpm/{tailwind-merge@3.4.0 → tailwind-merge@3.7.0}/node_modules/tailwind-merge/dist/bundle-mjs.js +653 -420
  26. package/dist/pdf/PdfDocumentSurface.js +1 -0
  27. package/dist/pdf/localization.js +2 -0
  28. package/dist/styles.css +1 -1
  29. package/dist/terminal/mockRuntime.js +118 -110
  30. package/dist/utils/cn.js +1 -1
  31. package/package.json +13 -12
  32. package/dist/assets/markdown.worker-xpdzahxf.js +0 -59
  33. package/dist/node_modules/.pnpm/marked@17.0.1/node_modules/marked/lib/marked.esm.js +0 -1114
  34. /package/dist/node_modules/.pnpm/{@solid-primitives_props@3.2.2_solid-js@1.9.11 → @solid-primitives_props@3.2.4_solid-js@1.9.15}/node_modules/@solid-primitives/props/dist/combineProps.js +0 -0
  35. /package/dist/node_modules/.pnpm/{@solid-primitives_refs@1.1.2_solid-js@1.9.11 → @solid-primitives_refs@1.1.4_solid-js@1.9.15}/node_modules/@solid-primitives/refs/dist/index.js +0 -0
  36. /package/dist/node_modules/.pnpm/{@solid-primitives_transition-group@1.1.2_solid-js@1.9.11 → @solid-primitives_transition-group@1.1.2_solid-js@1.9.15}/node_modules/@solid-primitives/transition-group/dist/index.js +0 -0
  37. /package/dist/node_modules/.pnpm/{diff@8.0.3 → diff@8.0.4}/node_modules/diff/libesm/diff/base.js +0 -0
  38. /package/dist/node_modules/.pnpm/{diff@8.0.3 → diff@8.0.4}/node_modules/diff/libesm/diff/line.js +0 -0
@@ -1,246 +1,250 @@
1
1
  import { insert as s, createComponent as n, effect as d, setAttribute as l, template as v } from "solid-js/web";
2
- var m = /* @__PURE__ */ v("<svg><defs><linearGradient x1=0 y1=0 x2=0 y2=1><stop offset=0%></stop><stop offset=100%></stop></linearGradient><linearGradient x1=0 y1=0 x2=0 y2=.35><stop offset=0% stop-color=white stop-opacity=.14></stop><stop offset=100% stop-color=white stop-opacity=0></svg>", !1, !0, !1), w = /* @__PURE__ */ v("<svg><rect x=2 y=2 width=44 height=44 rx=12></svg>", !1, !0, !1), z = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.75 stroke-width=2.8 stroke-linecap=round stroke-linejoin=round><polyline points="13,13 23,24 13,35"></polyline><line x1=27 y1=37 x2=35 y2=37>'), b = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><path d="M10 14.5a3 3 0 0 1 3-3h4l3.5 2.5H35a3 3 0 0 1 3 3V31a3 3 0 0 1-3 3H13a3 3 0 0 1-3-3V14.5Z"fill=#e8b830></path><path d="M10 14.5v16.5a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V18H19.5l-3-2.5H13a3 3 0 0 0-3-1Z"fill=black fill-opacity=.1>'), C = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><defs><linearGradient id=c-area x1=0 y1=0 x2=0 y2=1><stop offset=0% stop-color=var(--chart-4) stop-opacity=.35></stop><stop offset=100% stop-color=var(--chart-4) stop-opacity=.03></stop></linearGradient></defs><line x1=8 y1=14 x2=40 y2=14 stroke=var(--foreground) stroke-opacity=.05 stroke-width=.6></line><line x1=8 y1=22 x2=40 y2=22 stroke=var(--foreground) stroke-opacity=.07 stroke-width=.6></line><line x1=8 y1=30 x2=40 y2=30 stroke=var(--foreground) stroke-opacity=.05 stroke-width=.6></line><line x1=8 y1=38 x2=40 y2=38 stroke=var(--foreground) stroke-opacity=.04 stroke-width=.6></line><path d="M6,36 L9,36 L14,18 L20,34 L26,22 L30,26 L34,26 L42,30 L42,42 L6,42 Z"fill=url(#c-area)></path><polyline points="6,36 9,36 14,18 20,34 26,22 30,26 34,26 42,30"fill=none stroke=var(--chart-4) stroke-opacity=.85 stroke-width=2.2 stroke-linecap=round stroke-linejoin=round></polyline><circle cx=42 cy=30 r=2.8 fill=var(--chart-4) fill-opacity=.2></circle><circle cx=42 cy=30 r=1.5 fill=var(--chart-4) fill-opacity=.85>'), D = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=8 y=10 width=32 height=8 rx=4 fill=#3b82f6 opacity=.25></rect><rect x=13 y=13 width=20 height=2 rx=1 fill=var(--foreground) opacity=.35></rect><rect x=8 y=21 width=32 height=8 rx=4 fill=#f59e0b opacity=.25></rect><rect x=13 y=24 width=14 height=2 rx=1 fill=var(--foreground) opacity=.3></rect><rect x=8 y=32 width=32 height=8 rx=4 fill=#ef4444 opacity=.25></rect><rect x=13 y=35 width=18 height=2 rx=1 fill=var(--foreground) opacity=.35>'), $ = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.75 stroke-width=2.8 stroke-linecap=round stroke-linejoin=round><polyline points="14,11 5,24 14,37"></polyline><polyline points="34,11 43,24 34,37">'), B = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.75 stroke-width=3 stroke-linecap=round><circle cx=20 cy=20 r=10></circle><line x1=28 y1=28 x2=37 y2=37>'), L = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><circle cx=15 cy=24 r=9 fill=var(--foreground) fill-opacity=.18></circle><circle cx=33 cy=24 r=9 fill=var(--foreground) fill-opacity=.18></circle><circle cx=24 cy=24 r=6.5 fill=var(--chart-4) fill-opacity=.65>'), _ = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><path d="M24 8l4 12 12 4-12 4-4 12-4-12-12-4 12-4z"fill=var(--foreground) fill-opacity=.15 stroke=var(--foreground) stroke-opacity=.7 stroke-width=2 stroke-linejoin=round>'), M = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.7 stroke-width=2.2 stroke-linecap=round stroke-linejoin=round><rect x=11 y=15 width=26 height=18 rx=6></rect><line x1=24 y1=15 x2=24 y2=8></line><circle cx=24 cy=7 r=2.2 fill=var(--foreground) fill-opacity=.3 stroke=none></circle><circle cx=18 cy=23 r=2.5 fill=var(--foreground) fill-opacity=.2 stroke=none></circle><circle cx=30 cy=23 r=2.5 fill=var(--foreground) fill-opacity=.2 stroke=none></circle><circle cx=18 cy=23 r=1 fill=var(--foreground) fill-opacity=.65 stroke=none></circle><circle cx=30 cy=23 r=1 fill=var(--foreground) fill-opacity=.65 stroke=none></circle><path d="M19 28 Q24 31 29 28"stroke-opacity=.45>'), G = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=8 y=10 width=9 height=3 rx=1.5 fill=#8b3fa8 opacity=.85></rect><rect x=20 y=10 width=15 height=3 rx=1.5 fill=#2b6cb8 opacity=.8></rect><rect x=13 y=17 width=18 height=3 rx=1.5 fill=#2d7a4a opacity=.75></rect><rect x=18 y=24 width=6 height=3 rx=1.5 fill=#b07020 opacity=.75></rect><rect x=26 y=24 width=14 height=3 rx=1.5 fill=var(--foreground) opacity=.2></rect><rect x=8 y=31 width=16 height=3 rx=1.5 fill=#8b3fa8 opacity=.7>'), S = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=10 y=15 width=28 height=22 rx=3.5 fill=#f0d060></rect><ellipse cx=24 cy=19 rx=4 ry=2 fill=#b89020 opacity=.25></ellipse><line x1=24 y1=10 x2=24 y2=17 stroke=#c0c0c8 stroke-width=1></line><circle cx=24 cy=10 r=4.5 fill=#e04040></circle><circle cx=23 cy=9 r=1.2 fill=white opacity=.3></circle><rect x=14 y=20 width=16 height=2 rx=1 fill=#8b6810 opacity=.35></rect><rect x=14 y=24.5 width=20 height=2 rx=1 fill=#8b6810 opacity=.28></rect><rect x=14 y=29 width=12 height=2 rx=1 fill=#8b6810 opacity=.2>'), j = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=11 y=13 width=26 height=22 rx=2.5 fill=none stroke=var(--foreground) stroke-opacity=.6 stroke-width=1.8 stroke-dasharray="4 4"></rect><rect x=8 y=10 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65></rect><rect x=34 y=10 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65></rect><rect x=8 y=32 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65></rect><rect x=34 y=32 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65>'), H = /* @__PURE__ */ v(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><text x=24 y=28 text-anchor=middle dominant-baseline=middle font-family="'Inter','SF Pro Display',-apple-system,sans-serif"font-size=14 font-weight=700 letter-spacing=0 fill=var(--foreground) fill-opacity=.7>Text</text><rect x=16 y=33 width=16 height=2 rx=1 fill=var(--foreground) fill-opacity=.2>`), F = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=var(--foreground)><rect x=10 y=12 width=12 height=11 rx=2.8 fill-opacity=.35></rect><rect x=25 y=12 width=12 height=11 rx=2.8 fill-opacity=.13></rect><rect x=10 y=26 width=12 height=11 rx=2.8 fill-opacity=.13></rect><rect x=25 y=26 width=12 height=11 rx=2.8 fill-opacity=.2>'), P = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=var(--foreground) stroke=var(--foreground) stroke-width=1.6 stroke-linejoin=round><rect x=8 y=28 width=26 height=11 rx=3.5 fill-opacity=.08 stroke-opacity=.2></rect><rect x=10 y=21 width=26 height=11 rx=3.5 fill-opacity=.16 stroke-opacity=.35></rect><rect x=12 y=14 width=26 height=11 rx=3.5 fill-opacity=.3 stroke-opacity=.55>');
2
+ var z = /* @__PURE__ */ v("<svg><defs><linearGradient x1=0 y1=0 x2=0 y2=1><stop offset=0%></stop><stop offset=100%></stop></linearGradient><linearGradient x1=0 y1=0 x2=0 y2=.35><stop offset=0% stop-color=white stop-opacity=.14></stop><stop offset=100% stop-color=white stop-opacity=0></svg>", !1, !0, !1), m = /* @__PURE__ */ v("<svg><rect x=2 y=2 width=44 height=44 rx=12></svg>", !1, !0, !1), b = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.75 stroke-width=2.8 stroke-linecap=round stroke-linejoin=round><polyline points="13,13 23,24 13,35"></polyline><line x1=27 y1=37 x2=35 y2=37>'), C = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><path d="M10 14.5a3 3 0 0 1 3-3h4l3.5 2.5H35a3 3 0 0 1 3 3V31a3 3 0 0 1-3 3H13a3 3 0 0 1-3-3V14.5Z"fill=#e8b830></path><path d="M10 14.5v16.5a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V18H19.5l-3-2.5H13a3 3 0 0 0-3-1Z"fill=black fill-opacity=.1>'), D = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><defs><linearGradient id=c-area x1=0 y1=0 x2=0 y2=1><stop offset=0% stop-color=var(--chart-4) stop-opacity=.35></stop><stop offset=100% stop-color=var(--chart-4) stop-opacity=.03></stop></linearGradient></defs><line x1=8 y1=14 x2=40 y2=14 stroke=var(--foreground) stroke-opacity=.05 stroke-width=.6></line><line x1=8 y1=22 x2=40 y2=22 stroke=var(--foreground) stroke-opacity=.07 stroke-width=.6></line><line x1=8 y1=30 x2=40 y2=30 stroke=var(--foreground) stroke-opacity=.05 stroke-width=.6></line><line x1=8 y1=38 x2=40 y2=38 stroke=var(--foreground) stroke-opacity=.04 stroke-width=.6></line><path d="M6,36 L9,36 L14,18 L20,34 L26,22 L30,26 L34,26 L42,30 L42,42 L6,42 Z"fill=url(#c-area)></path><polyline points="6,36 9,36 14,18 20,34 26,22 30,26 34,26 42,30"fill=none stroke=var(--chart-4) stroke-opacity=.85 stroke-width=2.2 stroke-linecap=round stroke-linejoin=round></polyline><circle cx=42 cy=30 r=2.8 fill=var(--chart-4) fill-opacity=.2></circle><circle cx=42 cy=30 r=1.5 fill=var(--chart-4) fill-opacity=.85>'), B = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=8 y=10 width=32 height=8 rx=4 fill=#3b82f6 opacity=.25></rect><rect x=13 y=13 width=20 height=2 rx=1 fill=var(--foreground) opacity=.35></rect><rect x=8 y=21 width=32 height=8 rx=4 fill=#f59e0b opacity=.25></rect><rect x=13 y=24 width=14 height=2 rx=1 fill=var(--foreground) opacity=.3></rect><rect x=8 y=32 width=32 height=8 rx=4 fill=#ef4444 opacity=.25></rect><rect x=13 y=35 width=18 height=2 rx=1 fill=var(--foreground) opacity=.35>'), $ = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.75 stroke-width=2.8 stroke-linecap=round stroke-linejoin=round><polyline points="14,11 5,24 14,37"></polyline><polyline points="34,11 43,24 34,37">'), L = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.75 stroke-width=3 stroke-linecap=round><circle cx=20 cy=20 r=10></circle><line x1=28 y1=28 x2=37 y2=37>'), M = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><circle cx=15 cy=24 r=9 fill=var(--foreground) fill-opacity=.18></circle><circle cx=33 cy=24 r=9 fill=var(--foreground) fill-opacity=.18></circle><circle cx=24 cy=24 r=6.5 fill=var(--chart-4) fill-opacity=.65>'), G = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><path d="M24 8l4 12 12 4-12 4-4 12-4-12-12-4 12-4z"fill=var(--foreground) fill-opacity=.15 stroke=var(--foreground) stroke-opacity=.7 stroke-width=2 stroke-linejoin=round>'), S = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=none stroke=var(--foreground) stroke-opacity=.7 stroke-width=2.2 stroke-linecap=round stroke-linejoin=round><rect x=11 y=15 width=26 height=18 rx=6></rect><line x1=24 y1=15 x2=24 y2=8></line><circle cx=24 cy=7 r=2.2 fill=var(--foreground) fill-opacity=.3 stroke=none></circle><circle cx=18 cy=23 r=2.5 fill=var(--foreground) fill-opacity=.2 stroke=none></circle><circle cx=30 cy=23 r=2.5 fill=var(--foreground) fill-opacity=.2 stroke=none></circle><circle cx=18 cy=23 r=1 fill=var(--foreground) fill-opacity=.65 stroke=none></circle><circle cx=30 cy=23 r=1 fill=var(--foreground) fill-opacity=.65 stroke=none></circle><path d="M19 28 Q24 31 29 28"stroke-opacity=.45>'), j = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=8 y=10 width=9 height=3 rx=1.5 fill=#8b3fa8 opacity=.85></rect><rect x=20 y=10 width=15 height=3 rx=1.5 fill=#2b6cb8 opacity=.8></rect><rect x=13 y=17 width=18 height=3 rx=1.5 fill=#2d7a4a opacity=.75></rect><rect x=18 y=24 width=6 height=3 rx=1.5 fill=#b07020 opacity=.75></rect><rect x=26 y=24 width=14 height=3 rx=1.5 fill=var(--foreground) opacity=.2></rect><rect x=8 y=31 width=16 height=3 rx=1.5 fill=#8b3fa8 opacity=.7>'), _ = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=10 y=15 width=28 height=22 rx=3.5 fill=#f0d060></rect><ellipse cx=24 cy=19 rx=4 ry=2 fill=#b89020 opacity=.25></ellipse><line x1=24 y1=10 x2=24 y2=17 stroke=#c0c0c8 stroke-width=1></line><circle cx=24 cy=10 r=4.5 fill=#e04040></circle><circle cx=23 cy=9 r=1.2 fill=white opacity=.3></circle><rect x=14 y=20 width=16 height=2 rx=1 fill=#8b6810 opacity=.35></rect><rect x=14 y=24.5 width=20 height=2 rx=1 fill=#8b6810 opacity=.28></rect><rect x=14 y=29 width=12 height=2 rx=1 fill=#8b6810 opacity=.2>'), H = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><rect x=11 y=13 width=26 height=22 rx=2.5 fill=none stroke=var(--foreground) stroke-opacity=.6 stroke-width=1.8 stroke-dasharray="4 4"></rect><rect x=8 y=10 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65></rect><rect x=34 y=10 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65></rect><rect x=8 y=32 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65></rect><rect x=34 y=32 width=6 height=6 rx=1.5 fill=var(--foreground) fill-opacity=.65>'), F = /* @__PURE__ */ v(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><text x=24 y=28 text-anchor=middle dominant-baseline=middle font-family="'Inter','SF Pro Display',-apple-system,sans-serif"font-size=14 font-weight=700 letter-spacing=0 fill=var(--foreground) fill-opacity=.7>Text</text><rect x=16 y=33 width=16 height=2 rx=1 fill=var(--foreground) fill-opacity=.2>`), P = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=var(--foreground)><rect x=10 y=12 width=12 height=11 rx=2.8 fill-opacity=.35></rect><rect x=25 y=12 width=12 height=11 rx=2.8 fill-opacity=.13></rect><rect x=10 y=26 width=12 height=11 rx=2.8 fill-opacity=.13></rect><rect x=25 y=26 width=12 height=11 rx=2.8 fill-opacity=.2>'), T = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48"fill=none><g fill=var(--foreground) stroke=var(--foreground) stroke-width=1.6 stroke-linejoin=round><rect x=8 y=28 width=26 height=11 rx=3.5 fill-opacity=.08 stroke-opacity=.2></rect><rect x=10 y=21 width=26 height=11 rx=3.5 fill-opacity=.16 stroke-opacity=.35></rect><rect x=12 y=14 width=26 height=11 rx=3.5 fill-opacity=.3 stroke-opacity=.55>');
3
3
  function h(e) {
4
- const {
5
- id: t,
6
- tint: o,
7
- strength: i
8
- } = e, r = i ?? 1, c = Math.round(8 * r), a = Math.round(18 * r);
4
+ const t = () => Math.round(8 * (e.strength ?? 1)), c = () => Math.round(18 * (e.strength ?? 1));
9
5
  return (() => {
10
- var g = m(), y = g.firstChild, x = y.firstChild, u = x.nextSibling, k = y.nextSibling;
11
- return l(y, "id", `${t}-bg`), l(x, "stop-color", `color-mix(in srgb, var(--card), ${o} ${c}%)`), l(u, "stop-color", `color-mix(in srgb, var(--card), ${o} ${a}%)`), l(k, "id", `${t}-rim`), g;
6
+ var i = z(), r = i.firstChild, o = r.firstChild, a = o.nextSibling, y = r.nextSibling;
7
+ return d((g) => {
8
+ var x = `${e.id}-bg`, w = `color-mix(in srgb, var(--card), ${e.tint} ${t()}%)`, u = `color-mix(in srgb, var(--card), ${e.tint} ${c()}%)`, k = `${e.id}-rim`;
9
+ return x !== g.e && l(r, "id", g.e = x), w !== g.t && l(o, "stop-color", g.t = w), u !== g.a && l(a, "stop-color", g.a = u), k !== g.o && l(y, "id", g.o = k), g;
10
+ }, {
11
+ e: void 0,
12
+ t: void 0,
13
+ a: void 0,
14
+ o: void 0
15
+ }), i;
12
16
  })();
13
17
  }
14
18
  function f(e) {
15
19
  return [(() => {
16
- var t = w();
20
+ var t = m();
17
21
  return d(() => l(t, "fill", `url(#${e.id}-bg)`)), t;
18
22
  })(), (() => {
19
- var t = w();
23
+ var t = m();
20
24
  return d(() => l(t, "fill", `url(#${e.id}-rim)`)), t;
21
25
  })()];
22
26
  }
23
- const V = (e = {}) => (() => {
24
- var t = z(), o = t.firstChild;
27
+ const Z = (e = {}) => (() => {
28
+ var t = b(), c = t.firstChild;
25
29
  return s(t, n(h, {
26
30
  id: "t",
27
31
  tint: "#1a1a30"
28
- }), o), s(t, n(f, {
32
+ }), c), s(t, n(f, {
29
33
  id: "t"
30
- }), o), d((i) => {
31
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
32
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
34
+ }), c), d((i) => {
35
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
36
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
33
37
  }, {
34
38
  e: void 0,
35
39
  t: void 0,
36
40
  a: void 0
37
41
  }), t;
38
- })(), Z = (e = {}) => (() => {
39
- var t = b(), o = t.firstChild;
42
+ })(), A = (e = {}) => (() => {
43
+ var t = C(), c = t.firstChild;
40
44
  return s(t, n(h, {
41
45
  id: "f",
42
46
  tint: "#b07818"
43
- }), o), s(t, n(f, {
47
+ }), c), s(t, n(f, {
44
48
  id: "f"
45
- }), o), d((i) => {
46
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
47
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
49
+ }), c), d((i) => {
50
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
51
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
48
52
  }, {
49
53
  e: void 0,
50
54
  t: void 0,
51
55
  a: void 0
52
56
  }), t;
53
- })(), A = (e = {}) => (() => {
54
- var t = C(), o = t.firstChild, i = o.nextSibling;
57
+ })(), q = (e = {}) => (() => {
58
+ var t = D(), c = t.firstChild, i = c.nextSibling;
55
59
  return s(t, n(h, {
56
60
  id: "c",
57
61
  tint: "#0d6b5c"
58
- }), o), s(t, n(f, {
62
+ }), c), s(t, n(f, {
59
63
  id: "c"
60
64
  }), i), d((r) => {
61
- var c = e.size ?? 48, a = e.size ?? 48, g = e.class;
62
- return c !== r.e && l(t, "width", r.e = c), a !== r.t && l(t, "height", r.t = a), g !== r.a && l(t, "class", r.a = g), r;
65
+ var o = e.size ?? 48, a = e.size ?? 48, y = e.class;
66
+ return o !== r.e && l(t, "width", r.e = o), a !== r.t && l(t, "height", r.t = a), y !== r.a && l(t, "class", r.a = y), r;
63
67
  }, {
64
68
  e: void 0,
65
69
  t: void 0,
66
70
  a: void 0
67
71
  }), t;
68
- })(), q = (e = {}) => (() => {
69
- var t = D(), o = t.firstChild;
72
+ })(), I = (e = {}) => (() => {
73
+ var t = B(), c = t.firstChild;
70
74
  return s(t, n(h, {
71
75
  id: "a",
72
76
  tint: "#7c2d10"
73
- }), o), s(t, n(f, {
77
+ }), c), s(t, n(f, {
74
78
  id: "a"
75
- }), o), d((i) => {
76
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
77
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
79
+ }), c), d((i) => {
80
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
81
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
78
82
  }, {
79
83
  e: void 0,
80
84
  t: void 0,
81
85
  a: void 0
82
86
  }), t;
83
- })(), I = (e = {}) => (() => {
84
- var t = $(), o = t.firstChild;
87
+ })(), Q = (e = {}) => (() => {
88
+ var t = $(), c = t.firstChild;
85
89
  return s(t, n(h, {
86
90
  id: "fc",
87
91
  tint: "#2838a0"
88
- }), o), s(t, n(f, {
92
+ }), c), s(t, n(f, {
89
93
  id: "fc"
90
- }), o), d((i) => {
91
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
92
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
94
+ }), c), d((i) => {
95
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
96
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
93
97
  }, {
94
98
  e: void 0,
95
99
  t: void 0,
96
100
  a: void 0
97
101
  }), t;
98
- })(), Q = (e = {}) => (() => {
99
- var t = B(), o = t.firstChild;
102
+ })(), R = (e = {}) => (() => {
103
+ var t = L(), c = t.firstChild;
100
104
  return s(t, n(h, {
101
105
  id: "s",
102
106
  tint: "#0a6c48"
103
- }), o), s(t, n(f, {
107
+ }), c), s(t, n(f, {
104
108
  id: "s"
105
- }), o), d((i) => {
106
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
107
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
109
+ }), c), d((i) => {
110
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
111
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
108
112
  }, {
109
113
  e: void 0,
110
114
  t: void 0,
111
115
  a: void 0
112
116
  }), t;
113
- })(), R = (e = {}) => (() => {
114
- var t = L(), o = t.firstChild;
117
+ })(), E = (e = {}) => (() => {
118
+ var t = M(), c = t.firstChild;
115
119
  return s(t, n(h, {
116
120
  id: "g",
117
121
  tint: "#0c6478"
118
- }), o), s(t, n(f, {
122
+ }), c), s(t, n(f, {
119
123
  id: "g"
120
- }), o), d((i) => {
121
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
122
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
124
+ }), c), d((i) => {
125
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
126
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
123
127
  }, {
124
128
  e: void 0,
125
129
  t: void 0,
126
130
  a: void 0
127
131
  }), t;
128
- })(), p = (e = {}) => (() => {
129
- var t = _(), o = t.firstChild;
132
+ })(), J = (e = {}) => (() => {
133
+ var t = G(), c = t.firstChild;
130
134
  return s(t, n(h, {
131
135
  id: "sp",
132
136
  tint: "#6b28a8"
133
- }), o), s(t, n(f, {
137
+ }), c), s(t, n(f, {
134
138
  id: "sp"
135
- }), o), d((i) => {
136
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
137
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
139
+ }), c), d((i) => {
140
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
141
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
138
142
  }, {
139
143
  e: void 0,
140
144
  t: void 0,
141
145
  a: void 0
142
146
  }), t;
143
- })(), E = (e = {}) => (() => {
144
- var t = M(), o = t.firstChild;
147
+ })(), K = (e = {}) => (() => {
148
+ var t = S(), c = t.firstChild;
145
149
  return s(t, n(h, {
146
150
  id: "b",
147
151
  tint: "#4c28a0"
148
- }), o), s(t, n(f, {
152
+ }), c), s(t, n(f, {
149
153
  id: "b"
150
- }), o), d((i) => {
151
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
152
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
154
+ }), c), d((i) => {
155
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
156
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
153
157
  }, {
154
158
  e: void 0,
155
159
  t: void 0,
156
160
  a: void 0
157
161
  }), t;
158
- })(), J = (e = {}) => (() => {
159
- var t = G(), o = t.firstChild;
162
+ })(), N = (e = {}) => (() => {
163
+ var t = j(), c = t.firstChild;
160
164
  return s(t, n(h, {
161
165
  id: "cd",
162
166
  tint: "#242c58",
163
167
  strength: 1.5
164
- }), o), s(t, n(f, {
168
+ }), c), s(t, n(f, {
165
169
  id: "cd"
166
- }), o), d((i) => {
167
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
168
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
170
+ }), c), d((i) => {
171
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
172
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
169
173
  }, {
170
174
  e: void 0,
171
175
  t: void 0,
172
176
  a: void 0
173
177
  }), t;
174
- })(), K = (e = {}) => (() => {
175
- var t = S(), o = t.firstChild;
178
+ })(), O = (e = {}) => (() => {
179
+ var t = _(), c = t.firstChild;
176
180
  return s(t, n(h, {
177
181
  id: "ms",
178
182
  tint: "#a06018"
179
- }), o), s(t, n(f, {
183
+ }), c), s(t, n(f, {
180
184
  id: "ms"
181
- }), o), d((i) => {
182
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
183
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
185
+ }), c), d((i) => {
186
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
187
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
184
188
  }, {
185
189
  e: void 0,
186
190
  t: void 0,
187
191
  a: void 0
188
192
  }), t;
189
- })(), N = (e = {}) => (() => {
190
- var t = j(), o = t.firstChild;
193
+ })(), U = (e = {}) => (() => {
194
+ var t = H(), c = t.firstChild;
191
195
  return s(t, n(h, {
192
196
  id: "r",
193
197
  tint: "#9d1848"
194
- }), o), s(t, n(f, {
198
+ }), c), s(t, n(f, {
195
199
  id: "r"
196
- }), o), d((i) => {
197
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
198
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
200
+ }), c), d((i) => {
201
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
202
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
199
203
  }, {
200
204
  e: void 0,
201
205
  t: void 0,
202
206
  a: void 0
203
207
  }), t;
204
- })(), O = (e = {}) => (() => {
205
- var t = H(), o = t.firstChild;
208
+ })(), W = (e = {}) => (() => {
209
+ var t = F(), c = t.firstChild;
206
210
  return s(t, n(h, {
207
211
  id: "tx",
208
212
  tint: "#3c4c60"
209
- }), o), s(t, n(f, {
213
+ }), c), s(t, n(f, {
210
214
  id: "tx"
211
- }), o), d((i) => {
212
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
213
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
215
+ }), c), d((i) => {
216
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
217
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
214
218
  }, {
215
219
  e: void 0,
216
220
  t: void 0,
217
221
  a: void 0
218
222
  }), t;
219
- })(), U = (e = {}) => (() => {
220
- var t = F(), o = t.firstChild;
223
+ })(), X = (e = {}) => (() => {
224
+ var t = P(), c = t.firstChild;
221
225
  return s(t, n(h, {
222
226
  id: "ld",
223
227
  tint: "#3048b0"
224
- }), o), s(t, n(f, {
228
+ }), c), s(t, n(f, {
225
229
  id: "ld"
226
- }), o), d((i) => {
227
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
228
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
230
+ }), c), d((i) => {
231
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
232
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
229
233
  }, {
230
234
  e: void 0,
231
235
  t: void 0,
232
236
  a: void 0
233
237
  }), t;
234
- })(), W = (e = {}) => (() => {
235
- var t = P(), o = t.firstChild;
238
+ })(), Y = (e = {}) => (() => {
239
+ var t = T(), c = t.firstChild;
236
240
  return s(t, n(h, {
237
241
  id: "l",
238
242
  tint: "#206470"
239
- }), o), s(t, n(f, {
243
+ }), c), s(t, n(f, {
240
244
  id: "l"
241
- }), o), d((i) => {
242
- var r = e.size ?? 48, c = e.size ?? 48, a = e.class;
243
- return r !== i.e && l(t, "width", i.e = r), c !== i.t && l(t, "height", i.t = c), a !== i.a && l(t, "class", i.a = a), i;
245
+ }), c), d((i) => {
246
+ var r = e.size ?? 48, o = e.size ?? 48, a = e.class;
247
+ return r !== i.e && l(t, "width", i.e = r), o !== i.t && l(t, "height", i.t = o), a !== i.a && l(t, "class", i.a = a), i;
244
248
  }, {
245
249
  e: void 0,
246
250
  t: void 0,
@@ -248,19 +252,19 @@ const V = (e = {}) => (() => {
248
252
  }), t;
249
253
  })();
250
254
  export {
251
- q as DockActivity,
252
- E as DockBot,
253
- J as DockCode,
254
- A as DockCpu,
255
- I as DockFileCode,
256
- Z as DockFolder,
257
- R as DockGlobe,
258
- W as DockLayers,
259
- U as DockLayoutDashboard,
260
- K as DockMessageSquare,
261
- N as DockRegion,
262
- Q as DockSearch,
263
- p as DockSparkles,
264
- V as DockTerminal,
265
- O as DockText
255
+ I as DockActivity,
256
+ K as DockBot,
257
+ N as DockCode,
258
+ q as DockCpu,
259
+ Q as DockFileCode,
260
+ A as DockFolder,
261
+ E as DockGlobe,
262
+ Y as DockLayers,
263
+ X as DockLayoutDashboard,
264
+ O as DockMessageSquare,
265
+ U as DockRegion,
266
+ R as DockSearch,
267
+ J as DockSparkles,
268
+ Z as DockTerminal,
269
+ W as DockText
266
270
  };
@@ -1,9 +1,9 @@
1
1
  import { createComponent as ne, Portal as de, use as oe, insert as fe, effect as me, setAttribute as R, className as ie, style as he, memo as ve, template as we } from "solid-js/web";
2
- import { createSignal as V, createEffect as J, untrack as X, onCleanup as K, Show as be } from "solid-js";
3
- import { readViewportSnapshot as _, observeViewport as ge } from "../../viewport.js";
2
+ import { createSignal as V, createEffect as X, untrack as k, onCleanup as K, Show as be } from "solid-js";
3
+ import { readViewportSnapshot as J, observeViewport as ge } from "../../viewport.js";
4
4
  import { cn as re } from "../../utils/cn.js";
5
5
  var Ce = /* @__PURE__ */ we("<section role=region data-floe-bottom-bar-companion=true><div data-floe-bottom-bar-companion-content=true>");
6
- const ye = 544, Fe = 544, Ae = 12, G = {
6
+ const ye = 544, Fe = 544, Ae = 12, U = {
7
7
  top: "--floe-bottom-bar-companion-safe-area-top",
8
8
  right: "--floe-bottom-bar-companion-safe-area-right",
9
9
  bottom: "--floe-bottom-bar-companion-safe-area-bottom",
@@ -27,7 +27,7 @@ function se(e) {
27
27
  height: r.height
28
28
  };
29
29
  }
30
- function U(e, r) {
30
+ function _(e, r) {
31
31
  const l = e.ownerDocument.defaultView;
32
32
  if (!l) return 0;
33
33
  const d = Number.parseFloat(l.getComputedStyle(e).getPropertyValue(r));
@@ -35,19 +35,19 @@ function U(e, r) {
35
35
  }
36
36
  function xe(e) {
37
37
  return {
38
- top: U(e, G.top),
39
- right: U(e, G.right),
40
- bottom: U(e, G.bottom),
41
- left: U(e, G.left)
38
+ top: _(e, U.top),
39
+ right: _(e, U.right),
40
+ bottom: _(e, U.bottom),
41
+ left: _(e, U.left)
42
42
  };
43
43
  }
44
44
  function Ee(e, r, l, d, L, y) {
45
- const F = r.ownerDocument.defaultView, m = F ? _(F).visible : null, A = m?.left ?? 0, k = m?.top ?? 0, N = m?.width ?? e.left + e.width, O = m?.height ?? e.top + e.height, E = xe(r), g = A + E.left + y, h = A + N - E.right - y, v = k + E.top + y, C = k + O - (F && _(F).keyboardOpen ? 0 : E.bottom), w = Math.max(0, h - g), b = Math.min(l, d, w), P = e.left + (e.width - b) / 2, M = Math.max(g, Math.min(P, h - b)), D = Math.min(e.top + e.height, C), S = Math.max(e.height, D - v), q = Math.min(L, S);
45
+ const F = r.ownerDocument.defaultView, m = F ? J(F).visible : null, A = m?.left ?? 0, q = m?.top ?? 0, N = m?.width ?? e.left + e.width, O = m?.height ?? e.top + e.height, E = xe(r), g = A + E.left + y, h = A + N - E.right - y, v = q + E.top + y, C = q + O - (F && J(F).keyboardOpen ? 0 : E.bottom), w = Math.max(0, h - g), b = Math.min(l, d, w), P = e.left + (e.width - b) / 2, M = Math.max(g, Math.min(P, h - b)), D = Math.min(e.top + e.height, C), S = Math.max(e.height, D - v), z = Math.min(L, S);
46
46
  return {
47
47
  left: M,
48
- top: D - q,
48
+ top: D - z,
49
49
  width: b,
50
- height: q
50
+ height: z
51
51
  };
52
52
  }
53
53
  function ae(e, r) {
@@ -55,7 +55,7 @@ function ae(e, r) {
55
55
  }
56
56
  function Pe(e, r) {
57
57
  if (!e) return {};
58
- const l = r?.ownerDocument.defaultView, d = l ? _(l).fixedOffset : {
58
+ const l = r?.ownerDocument.defaultView, d = l ? J(l).fixedOffset : {
59
59
  left: 0,
60
60
  top: 0
61
61
  };
@@ -67,11 +67,11 @@ function Pe(e, r) {
67
67
  };
68
68
  }
69
69
  function Ne(e) {
70
- const [r, l] = V(null), [d, L] = V(!1), [y, F] = V(!1), [m, A] = V(null), [k, N] = V(null), [O, E] = V("collapsed");
70
+ const [r, l] = V(null), [d, L] = V(!1), [y, F] = V(!1), [m, A] = V(null), [q, N] = V(null), [O, E] = V("collapsed");
71
71
  let g = null, h = 0, v = 0, C = null, w = null, b = null, P = !1, M = !1;
72
72
  const D = (o) => {
73
73
  O() !== o && (E(o), e.onPhaseChange?.(o));
74
- }, S = () => r()?.ownerDocument.defaultView ?? e.anchor?.ownerDocument.defaultView ?? null, q = () => S()?.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1, Q = (o) => {
74
+ }, S = () => r()?.ownerDocument.defaultView ?? e.anchor?.ownerDocument.defaultView ?? null, z = () => S()?.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1, Q = (o) => {
75
75
  const n = e.mount, i = e.anchor, t = !!(n?.isConnected && o && i?.ownerDocument === n.ownerDocument);
76
76
  t && l(n);
77
77
  const c = r();
@@ -93,7 +93,7 @@ function Ne(e) {
93
93
  const {
94
94
  mount: i,
95
95
  ready: t
96
- } = Q(n), c = n ?? k();
96
+ } = Q(n), c = n ?? q();
97
97
  return !c || !i || !t ? null : o ? Ee(c, i, j(e.expandedWidth, c.width), j(e.maxWidth, ye), j(e.maxHeight, Fe), De(e.viewportPadding, Ae)) : c;
98
98
  }, Z = () => {
99
99
  h && C && C.cancelAnimationFrame(h), v && w && w.cancelAnimationFrame(v), h = 0, v = 0, C = null, w = null, b = null;
@@ -102,7 +102,7 @@ function Ne(e) {
102
102
  if (!i) return;
103
103
  const t = m(), c = o ? "expanded" : "collapsed";
104
104
  if (!n && ae(t, i) && b) return;
105
- if (!n || q() || ae(t, i)) {
105
+ if (!n || z() || ae(t, i)) {
106
106
  A(i), b = null, D(c);
107
107
  return;
108
108
  }
@@ -113,7 +113,7 @@ function Ne(e) {
113
113
  return;
114
114
  }
115
115
  v = s.requestAnimationFrame(() => {
116
- v = 0, w = null, A(Y(o) ?? i);
116
+ v = 0, w = null, A(k(() => Y(o)) ?? i);
117
117
  }), w = s;
118
118
  }, p = (o, n) => {
119
119
  if (!o && (h || v)) return;
@@ -123,10 +123,10 @@ function Ne(e) {
123
123
  return;
124
124
  }
125
125
  h && C && C.cancelAnimationFrame(h), v && w && w.cancelAnimationFrame(v), v = 0, w = null, h = i.requestAnimationFrame(() => {
126
- h = 0, C = null, X(() => $(n, o));
126
+ h = 0, C = null, k(() => $(n, o));
127
127
  }), C = i;
128
128
  };
129
- J(() => {
129
+ X(() => {
130
130
  const o = e.retained, n = e.visible, i = e.open;
131
131
  if (e.anchor, e.mount, e.expandedWidth, e.maxWidth, e.maxHeight, e.viewportPadding, !o) {
132
132
  Z(), l(null), L(!1), F(!1), A(null), N(null), g = null, e.surfaceRef?.(null), e.contentHostRef?.(null), P = !1, M = i;
@@ -139,7 +139,7 @@ function Ne(e) {
139
139
  }
140
140
  const c = !P, s = M !== i;
141
141
  P = !0, M = i, p(!c && s, i);
142
- }), J(() => {
142
+ }), X(() => {
143
143
  if (!e.retained) return;
144
144
  const o = e.anchor, n = r(), i = e.mount, t = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
145
145
  for (const a of [o, n, i]) {
@@ -149,7 +149,7 @@ function Ne(e) {
149
149
  u && c.add(u);
150
150
  }
151
151
  if (c.size === 0 || t.size === 0) return;
152
- const s = () => p(!1, X(() => e.open)), f = [];
152
+ const s = () => p(!1, k(() => e.open)), f = [];
153
153
  for (const a of /* @__PURE__ */ new Set([o, n, i])) {
154
154
  const u = a?.ownerDocument.defaultView;
155
155
  if (!a || !u || typeof u.ResizeObserver != "function") continue;
@@ -163,28 +163,28 @@ function Ne(e) {
163
163
  if (!u || typeof u.MutationObserver != "function" || !a.documentElement) continue;
164
164
  const x = new u.MutationObserver(() => {
165
165
  const B = o?.isConnected ?? !1, ee = n?.isConnected ?? !1, te = i?.isConnected ?? !1;
166
- H === B && I === ee && T === te || (H = B, I = ee, T = te, X(s));
166
+ H === B && I === ee && T === te || (H = B, I = ee, T = te, k(s));
167
167
  });
168
168
  x.observe(a.documentElement, {
169
169
  childList: !0,
170
170
  subtree: !0
171
171
  }), W.push(x);
172
172
  }
173
- const z = [...c].map((a) => {
174
- let u = JSON.stringify(_(a));
173
+ const G = [...c].map((a) => {
174
+ let u = JSON.stringify(J(a));
175
175
  return ge(a, (x) => {
176
176
  const B = JSON.stringify(x);
177
- B !== u && (u = B, s());
177
+ B !== u && (u = B, k(s));
178
178
  });
179
179
  });
180
180
  for (const a of t) a.addEventListener("scroll", s, !0);
181
181
  K(() => {
182
182
  for (const a of f) a.disconnect();
183
183
  for (const a of W) a.disconnect();
184
- for (const a of z) a();
184
+ for (const a of G) a();
185
185
  for (const a of t) a.removeEventListener("scroll", s, !0);
186
186
  });
187
- }), J(() => {
187
+ }), X(() => {
188
188
  if (!e.retained || !e.visible || !e.open || !d() || !y() || !m()) return;
189
189
  const n = r()?.ownerDocument;
190
190
  if (!n) return;
@@ -224,8 +224,8 @@ function Ne(e) {
224
224
  get children() {
225
225
  var n = Ce(), i = n.firstChild;
226
226
  return n.addEventListener("transitionend", ue), oe((t) => ce(t), n), oe((t) => le(t), i), fe(i, () => e.children), me((t) => {
227
- var c = e.id, s = e.label, f = !e.visible || !d() || !y() || !m() ? "true" : void 0, H = !e.visible || !d() || !y() || !m(), I = re("floe-bottom-bar-companion", e.class), T = O(), W = e.visible && d() && y() ? "visible" : "hidden", z = m() ? "true" : "false", a = Pe(m(), r()), u = re("floe-bottom-bar-companion__content", e.contentClass);
228
- return c !== t.e && R(n, "id", t.e = c), s !== t.t && R(n, "aria-label", t.t = s), f !== t.a && R(n, "aria-hidden", t.a = f), H !== t.o && (n.inert = t.o = H), I !== t.i && ie(n, t.i = I), T !== t.n && R(n, "data-companion-phase", t.n = T), W !== t.s && R(n, "data-companion-visibility", t.s = W), z !== t.h && R(n, "data-companion-frame-ready", t.h = z), t.r = he(n, a, t.r), u !== t.d && ie(i, t.d = u), t;
227
+ var c = e.id, s = e.label, f = !e.visible || !d() || !y() || !m() ? "true" : void 0, H = !e.visible || !d() || !y() || !m(), I = re("floe-bottom-bar-companion", e.class), T = O(), W = e.visible && d() && y() ? "visible" : "hidden", G = m() ? "true" : "false", a = Pe(m(), r()), u = re("floe-bottom-bar-companion__content", e.contentClass);
228
+ return c !== t.e && R(n, "id", t.e = c), s !== t.t && R(n, "aria-label", t.t = s), f !== t.a && R(n, "aria-hidden", t.a = f), H !== t.o && (n.inert = t.o = H), I !== t.i && ie(n, t.i = I), T !== t.n && R(n, "data-companion-phase", t.n = T), W !== t.s && R(n, "data-companion-visibility", t.s = W), G !== t.h && R(n, "data-companion-frame-ready", t.h = G), t.r = he(n, a, t.r), u !== t.d && ie(i, t.d = u), t;
229
229
  }, {
230
230
  e: void 0,
231
231
  t: void 0,
@@ -1,5 +1,5 @@
1
1
  import { createComponent as r, Dynamic as V, insert as d, use as j, effect as B, setStyleProperty as G, memo as P, className as k, setAttribute as w, mergeProps as ze, template as h, delegateEvents as Fe } from "solid-js/web";
2
- import { createSignal as M, onMount as He, onCleanup as Ee, createEffect as A, batch as Ve, createMemo as x, For as J, Show as g } from "solid-js";
2
+ import { createSignal as M, onMount as He, onCleanup as Ee, createEffect as A, createMemo as x, For as J, Show as g, batch as Ve } from "solid-js";
3
3
  import { observeViewport as _e } from "../../viewport.js";
4
4
  import { useLayout as De } from "../../context/LayoutContext.js";
5
5
  import { useResolvedFloeConfig as qe } from "../../context/FloeConfigContext.js";
@@ -1,6 +1,6 @@
1
1
  import { createComponent as n, insert as l, addEventListener as v, effect as C, setAttribute as F, Portal as d, memo as P, template as c, delegateEvents as L } from "solid-js/web";
2
2
  import { createMemo as R, createEffect as f, onCleanup as _, Show as s } from "solid-js";
3
- import { Motion as w } from "../../node_modules/.pnpm/solid-motionone@1.0.4_solid-js@1.9.11/node_modules/solid-motionone/dist/index.js";
3
+ import { Motion as w } from "../../node_modules/.pnpm/solid-motionone@1.0.4_solid-js@1.9.15/node_modules/solid-motionone/dist/index.js";
4
4
  import { easing as B, duration as k } from "../../utils/animations.js";
5
5
  import { useOverlayMask as K } from "../../hooks/useOverlayMask.js";
6
6
  import { X as Z } from "../icons/index.js";