@floegence/floe-webapp-core 0.86.60 → 0.86.62

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 (103) hide show
  1. package/dist/components/chat/blocks/BlockRenderer.js +1 -1
  2. package/dist/components/chat/blocks/CodeDiffBlock.js +56 -56
  3. package/dist/components/chat/blocks/ImageBlock.js +1 -1
  4. package/dist/components/chat/blocks/ToolCallBlock.js +57 -57
  5. package/dist/components/chat/status/ConnectionStatus.js +10 -10
  6. package/dist/components/deck/DeckCell.js +25 -25
  7. package/dist/components/deck/DeckContextMenu.js +20 -20
  8. package/dist/components/deck/DeckGrid.js +1 -1
  9. package/dist/components/deck/DeckTopBar.js +42 -42
  10. package/dist/components/deck/DropZonePreview.js +6 -6
  11. package/dist/components/deck/LayoutSelector.js +53 -53
  12. package/dist/components/deck/WidgetFrame.js +28 -28
  13. package/dist/components/deck/WidgetPalette.js +31 -31
  14. package/dist/components/deck/WidgetTypeSwitcher.js +31 -31
  15. package/dist/components/file-browser/Breadcrumb.js +27 -27
  16. package/dist/components/file-browser/DirectoryTree.js +15 -15
  17. package/dist/components/file-browser/DragPreview.js +58 -58
  18. package/dist/components/file-browser/FileBrowser.js +17 -17
  19. package/dist/components/file-browser/FileBrowserStatusBar.js +18 -18
  20. package/dist/components/file-browser/FileBrowserToolbar.js +27 -27
  21. package/dist/components/file-browser/FileContextMenu.js +47 -47
  22. package/dist/components/file-browser/FileGridView.js +53 -51
  23. package/dist/components/file-browser/FileItemDecorations.js +30 -27
  24. package/dist/components/file-browser/FileListView.js +114 -114
  25. package/dist/components/icons/index.js +1357 -1357
  26. package/dist/components/launchpad/Launchpad.js +14 -14
  27. package/dist/components/launchpad/LaunchpadGrid.js +7 -7
  28. package/dist/components/launchpad/LaunchpadItem.js +11 -11
  29. package/dist/components/launchpad/LaunchpadPagination.js +16 -16
  30. package/dist/components/launchpad/LaunchpadSearch.js +9 -9
  31. package/dist/components/layout/ActivityBar.js +52 -55
  32. package/dist/components/layout/BottomBar.js +17 -17
  33. package/dist/components/layout/MobileNavigationPanel.js +36 -36
  34. package/dist/components/layout/MobileTabBar.js +39 -39
  35. package/dist/components/layout/Panel.js +16 -16
  36. package/dist/components/layout/ResizeHandle.js +19 -19
  37. package/dist/components/layout/Shell.js +50 -50
  38. package/dist/components/layout/Sidebar.js +37 -36
  39. package/dist/components/layout/SidebarPane.js +19 -19
  40. package/dist/components/layout/TopBar.js +16 -16
  41. package/dist/components/layout/TopBarIconButton.js +15 -15
  42. package/dist/components/loading/LoadingOverlay.js +9 -9
  43. package/dist/components/loading/Skeleton.js +11 -11
  44. package/dist/components/ui/Button.js +36 -36
  45. package/dist/components/ui/Card.d.ts +11 -62
  46. package/dist/components/ui/Card.js +64 -237
  47. package/dist/components/ui/Checkbox.js +79 -79
  48. package/dist/components/ui/CommandPalette.js +56 -55
  49. package/dist/components/ui/Dialog.js +91 -93
  50. package/dist/components/ui/DirectoryInput.js +22 -22
  51. package/dist/components/ui/DirectoryPicker.js +8 -8
  52. package/dist/components/ui/Dropdown.js +89 -87
  53. package/dist/components/ui/FeedbackIndicator.js +57 -57
  54. package/dist/components/ui/FileOpenPicker.js +37 -37
  55. package/dist/components/ui/FileSavePicker.js +41 -41
  56. package/dist/components/ui/FloatingWindow.js +213 -205
  57. package/dist/components/ui/Form.js +76 -76
  58. package/dist/components/ui/HighlightBlock.js +14 -14
  59. package/dist/components/ui/Input.js +106 -109
  60. package/dist/components/ui/Pagination.js +86 -86
  61. package/dist/components/ui/Popover.d.ts +33 -0
  62. package/dist/components/ui/Popover.js +133 -0
  63. package/dist/components/ui/ProcessingIndicator.js +344 -345
  64. package/dist/components/ui/Progress.js +94 -97
  65. package/dist/components/ui/QuoteBlock.js +25 -25
  66. package/dist/components/ui/Radio.js +91 -91
  67. package/dist/components/ui/SegmentedControl.js +24 -24
  68. package/dist/components/ui/Stepper.js +68 -60
  69. package/dist/components/ui/Switch.js +25 -25
  70. package/dist/components/ui/Tabs.js +99 -87
  71. package/dist/components/ui/Tag.js +12 -9
  72. package/dist/components/ui/Tooltip.js +30 -30
  73. package/dist/components/ui/floatingPresence.d.ts +7 -0
  74. package/dist/components/ui/floatingPresence.js +80 -39
  75. package/dist/components/ui/index.d.ts +2 -1
  76. package/dist/components/ui/picker/DirectoryFavorites.js +27 -27
  77. package/dist/components/ui/picker/PickerBase.js +107 -107
  78. package/dist/context/NotificationContext.js +4 -4
  79. package/dist/context/ThemeContext.js +71 -70
  80. package/dist/floe.css +205 -43
  81. package/dist/full.js +650 -652
  82. package/dist/language.css +320 -0
  83. package/dist/primitives.css +23 -17
  84. package/dist/standalone.css +1 -0
  85. package/dist/styles/themes/classicSemanticTokens.d.ts +122 -122
  86. package/dist/styles/themes/classicSemanticTokens.js +140 -138
  87. package/dist/styles/themes/index.d.ts +3 -1
  88. package/dist/styles/themes/index.js +10 -10
  89. package/dist/styles/themes/presets.d.ts +2 -2
  90. package/dist/styles/themes/presets.js +34 -34
  91. package/dist/styles/tokens.d.ts +152 -68
  92. package/dist/styles/tokens.js +87 -49
  93. package/dist/styles.css +1 -1
  94. package/dist/surface.css +161 -116
  95. package/dist/themes/dark.css +64 -64
  96. package/dist/themes/light.css +64 -64
  97. package/dist/ui.css +171 -255
  98. package/dist/ui.js +176 -178
  99. package/dist/utils/hotInteraction.d.ts +7 -0
  100. package/dist/utils/hotInteraction.js +12 -12
  101. package/dist/widgets/TerminalWidget.js +28 -28
  102. package/dist/workbench-composition.css +15 -15
  103. package/package.json +1 -1
@@ -1,47 +1,48 @@
1
- import { createComponent as l, Portal as it, use as ue, spread as Me, mergeProps as Fe, memo as Q, insert as u, effect as w, setAttribute as ot, addEventListener as P, className as x, template as d, delegateEvents as rt } from "solid-js/web";
2
- import { createSignal as v, createUniqueId as at, onCleanup as B, onMount as lt, createEffect as I, untrack as D, Show as y, batch as fe } from "solid-js";
3
- import { cn as Z } from "../../utils/cn.js";
4
- import { useOptionalLayout as st } from "../../context/LayoutContext.js";
5
- import { useResolvedFloeConfig as dt } from "../../context/FloeConfigContext.js";
6
- import { useMediaQuery as ct } from "../../hooks/useMediaQuery.js";
7
- import { Button as ke } from "./Button.js";
8
- import { Restore as ut, Maximize as ft, X as ht } from "../icons/index.js";
9
- import { startHotInteraction as wt } from "../../utils/hotInteraction.js";
10
- import { startPointerSession as gt } from "./pointerSession.js";
11
- import { resolveFloatingWindowViewport as he, normalizeFloatingWindowRect as we, resolveFloatingWindowRect as mt } from "./floatingWindowGeometry.js";
12
- import { observeViewport as xt } from "../../viewport.js";
13
- import { createFloatingPresence as vt } from "./floatingPresence.js";
14
- import { LOCAL_INTERACTION_SURFACE_ATTR as Oe } from "./localInteractionSurface.js";
15
- import { resolveFloatingBoundary as yt } from "./surfaceFloatingBoundary.js";
16
- import { SURFACE_PORTAL_LAYER_ATTR as bt, resolveSurfacePortalHost as pt } from "./dialogSurfaceScope.js";
17
- var zt = /* @__PURE__ */ d("<span hidden>"), $t = /* @__PURE__ */ d('<span data-floe-floating-window-title-icon=true aria-hidden=true class="flex size-4 shrink-0 items-center justify-center">'), _t = /* @__PURE__ */ d('<h2 class="flex min-w-0 items-center gap-2 text-xs leading-none font-medium select-none"><span class="min-w-0 truncate">'), St = /* @__PURE__ */ d('<div data-floe-floating-window-header-actions=true class="flex shrink-0 cursor-default items-center gap-1"><span aria-hidden=true class="mx-2 h-4 w-px shrink-0 bg-border">'), Pt = /* @__PURE__ */ d('<div data-floe-floating-window-footer=true class="flex items-center justify-end gap-2 p-3 border-t border-border">'), It = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=n style=touch-action:none>"), Rt = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=s style=touch-action:none>"), Ct = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=e style=touch-action:none>"), At = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=w style=touch-action:none>"), Et = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=ne style=touch-action:none>"), Mt = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=nw style=touch-action:none>"), Ft = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=se style=touch-action:none>"), kt = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=sw style=touch-action:none>"), Ot = /* @__PURE__ */ d('<div data-floe-geometry-surface=floating-window><div data-floe-dialog-surface-host=true><div data-floe-floating-window-titlebar=true style=touch-action:none><div class="flex-1 min-w-0 px-2"></div><div class="flex h-full shrink-0 items-stretch"></div></div><div data-floe-floating-window-content=true class="min-h-0 flex-1 overflow-auto overscroll-contain p-3">');
18
- function Jt(n) {
19
- const ge = () => n.resizable ?? !0, J = () => n.maximizable ?? !0, me = () => n.draggable ?? !0, W = () => n.minSize ?? {
1
+ import { createComponent as l, Portal as rt, use as Q, spread as ke, mergeProps as Oe, memo as Z, insert as f, effect as w, setAttribute as at, addEventListener as P, className as v, template as d, delegateEvents as lt } from "solid-js/web";
2
+ import { createSignal as x, createUniqueId as st, onCleanup as D, onMount as dt, createEffect as I, untrack as W, Show as y, batch as he } from "solid-js";
3
+ import { cn as J } from "../../utils/cn.js";
4
+ import { useOptionalLayout as ct } from "../../context/LayoutContext.js";
5
+ import { useResolvedFloeConfig as ut } from "../../context/FloeConfigContext.js";
6
+ import { useMediaQuery as ft } from "../../hooks/useMediaQuery.js";
7
+ import { Button as Te } from "./Button.js";
8
+ import { Restore as ht, Maximize as wt, X as gt } from "../icons/index.js";
9
+ import { startHotInteraction as mt } from "../../utils/hotInteraction.js";
10
+ import { startPointerSession as vt } from "./pointerSession.js";
11
+ import { resolveFloatingWindowViewport as we, normalizeFloatingWindowRect as ge, resolveFloatingWindowRect as xt } from "./floatingWindowGeometry.js";
12
+ import { observeViewport as yt } from "../../viewport.js";
13
+ import { createFloatingPresence as bt } from "./floatingPresence.js";
14
+ import { LOCAL_INTERACTION_SURFACE_ATTR as Le } from "./localInteractionSurface.js";
15
+ import { resolveFloatingBoundary as pt } from "./surfaceFloatingBoundary.js";
16
+ import { SURFACE_PORTAL_LAYER_ATTR as zt, resolveSurfacePortalHost as $t } from "./dialogSurfaceScope.js";
17
+ var _t = /* @__PURE__ */ d("<span hidden>"), St = /* @__PURE__ */ d('<span data-floe-floating-window-title-icon=true aria-hidden=true class="flex size-4 shrink-0 items-center justify-center">'), Pt = /* @__PURE__ */ d('<h2 class="flex min-w-0 items-center gap-2 text-xs leading-none font-medium select-none"><span class="min-w-0 truncate">'), It = /* @__PURE__ */ d('<div data-floe-floating-window-header-actions=true class="flex shrink-0 cursor-default items-center gap-1"><span aria-hidden=true class="mx-2 h-4 w-px shrink-0 bg-border">'), Rt = /* @__PURE__ */ d('<div data-floe-floating-window-footer=true class="flex items-center justify-end gap-2 p-3 border-t border-[var(--floe-line)]">'), Ct = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=n style=touch-action:none>"), At = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=s style=touch-action:none>"), Et = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=e style=touch-action:none>"), Mt = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=w style=touch-action:none>"), Ft = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=ne style=touch-action:none>"), kt = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=nw style=touch-action:none>"), Ot = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=se style=touch-action:none>"), Tt = /* @__PURE__ */ d("<div data-floe-floating-window-resize-handle=sw style=touch-action:none>"), Lt = /* @__PURE__ */ d('<div data-floe-geometry-surface=floating-window><div data-floe-dialog-surface-host=true><div data-floe-floating-window-titlebar=true style=touch-action:none><div class="flex-1 min-w-0 px-2"></div><div class="flex h-full shrink-0 items-stretch"></div></div><div data-floe-floating-window-content=true class="min-h-0 flex-1 overflow-auto overscroll-contain p-3">');
18
+ function en(n) {
19
+ const me = () => n.resizable ?? !0, K = () => n.maximizable ?? !0, ve = () => n.draggable ?? !0, q = () => n.minSize ?? {
20
20
  width: 200,
21
21
  height: 150
22
- }, q = () => n.maxSize ?? {
22
+ }, H = () => n.maxSize ?? {
23
23
  width: 1 / 0,
24
24
  height: 1 / 0
25
25
  };
26
- let K;
27
- const [O, Te] = v(), [R, Le] = v({
26
+ let ee;
27
+ const [O, Be] = x(), [R, De] = x({
28
28
  x: 0,
29
29
  y: 0,
30
30
  width: 0,
31
31
  height: 0
32
32
  }, {
33
33
  equals: (e, t) => e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height
34
- }), [ee, Be] = v(!0), g = () => !!(n.compactBelow && R().width < n.compactBelow), b = () => n.viewportInsets, T = () => O()?.fixedScale ?? 1, te = (e) => ({
34
+ }), [te, We] = x(!0), g = () => !!(n.compactBelow && R().width < n.compactBelow), b = () => n.viewportInsets, T = () => O()?.fixedScale ?? 1, ne = (e) => ({
35
35
  x: (e.x + (O()?.fixedOffset.left ?? 0)) / T(),
36
36
  y: (e.y + (O()?.fixedOffset.top ?? 0)) / T()
37
- }), De = () => n.zIndex ?? 100, We = at(), qe = st(), He = dt(), E = qe?.isMobile ?? ct(() => He.config.layout.mobileQuery), H = 16, xe = () => `floating-window-${We}-title`, [Xe, Ye] = v(n.defaultPosition ?? {
37
+ }), qe = () => n.zIndex ?? 100, He = st(), Xe = ct(), Ye = ut(), E = Xe?.isMobile ?? ft(() => Ye.config.layout.mobileQuery), X = 16, xe = () => `floating-window-${He}-title`, [Ne, Ve] = x(n.defaultPosition ?? {
38
38
  x: 0,
39
39
  y: 0
40
- }), [Ne, Ve] = v(n.defaultSize ?? {
40
+ }), [je, Ue] = x(n.defaultSize ?? {
41
41
  width: 400,
42
42
  height: 300
43
- }), [c, ne] = v(!1), [X, ve] = v(!1), [Y, ye] = v(!1), [je, ie] = v(!1), M = vt({
44
- open: () => n.open
43
+ }), [c, ie] = x(!1), [L, ye] = x(!1), [Y, be] = x(!1), [Ge, oe] = x(!1), M = bt({
44
+ open: () => n.open,
45
+ element: () => ae
45
46
  });
46
47
  let p = {
47
48
  x: 0,
@@ -51,18 +52,18 @@ function Jt(n) {
51
52
  y: 0,
52
53
  width: 0,
53
54
  height: 0
54
- }, oe = 32, be = {
55
+ }, re = 32, pe = {
55
56
  x: 0,
56
57
  y: 0
57
- }, pe = {
58
+ }, ze = {
58
59
  x: 0,
59
60
  y: 0,
60
61
  width: 0,
61
62
  height: 0
62
- }, ze = "se", s, re, f = null, N, h = null, C = {
63
+ }, $e = "se", s, ae, le, h = null, N, u = null, C = {
63
64
  x: 0,
64
65
  y: 0
65
- }, k = null, V = null, z, ae = !1, a = {
66
+ }, k = null, V = null, z, se = !1, a = {
66
67
  x: n.defaultPosition?.x ?? 0,
67
68
  y: n.defaultPosition?.y ?? 0,
68
69
  width: n.defaultSize?.width ?? 400,
@@ -70,16 +71,16 @@ function Jt(n) {
70
71
  }, m = {
71
72
  ...a
72
73
  }, A;
73
- const $e = (e) => {
74
+ const _e = (e) => {
74
75
  m = {
75
76
  ...e
76
77
  };
77
- const t = he(R(), b());
78
+ const t = we(R(), b());
78
79
  A = {
79
80
  x: t.width > e.width ? (e.x - t.x) / (t.width - e.width) : A?.x ?? 0.5,
80
81
  y: t.height > e.height ? (e.y - t.y) / (t.height - e.height) : A?.y ?? 0.5
81
82
  };
82
- }, Ue = {
83
+ }, Qe = {
83
84
  n: "ns-resize",
84
85
  s: "ns-resize",
85
86
  e: "ew-resize",
@@ -88,50 +89,55 @@ function Jt(n) {
88
89
  nw: "nwse-resize",
89
90
  se: "nwse-resize",
90
91
  sw: "nesw-resize"
91
- }, le = (e, t) => {
92
+ }, de = (e, t) => {
92
93
  if (!e) {
93
94
  V?.(), V = null;
94
95
  return;
95
96
  }
96
- V?.(), V = wt({
97
- kind: h === "resize" ? "resize" : "drag",
97
+ V?.(), V = mt({
98
+ kind: u === "resize" ? "resize" : "drag",
98
99
  cursor: t,
99
- lockUserSelect: !0
100
+ lockUserSelect: !0,
101
+ // The titlebar declares its own cursor and travels with the pointer, so a
102
+ // document-wide lock shows nothing at the pointer while restyling the whole
103
+ // document. Resize handles are a few pixels wide and the pointer can leave
104
+ // them at the size limits, so they keep the lock.
105
+ lockDocumentStyles: u !== "drag"
100
106
  });
101
107
  }, j = (e) => {
102
108
  if ((e.x !== a.x || e.y !== a.y || e.width !== a.width || e.height !== a.height) && (z?.cancel(), z = void 0), a = e, !s) return;
103
- const t = te(e);
109
+ const t = ne(e);
104
110
  s.style.transform = `translate3d(${t.x}px, ${t.y}px, 0)`, s.style.width = `${e.width / T()}px`, s.style.height = `${e.height / T()}px`;
105
- }, _e = () => {
106
- const e = Xe(), t = Ne();
111
+ }, Se = () => {
112
+ const e = Ne(), t = je();
107
113
  return {
108
114
  x: e.x,
109
115
  y: e.y,
110
116
  width: t.width,
111
117
  height: t.height
112
118
  };
113
- }, se = (e) => {
114
- (e.x !== a.x || e.y !== a.y || e.width !== a.width || e.height !== a.height) && (z?.cancel(), z = void 0), a = e, Ye((t) => t.x === e.x && t.y === e.y ? t : {
119
+ }, ce = (e) => {
120
+ (e.x !== a.x || e.y !== a.y || e.width !== a.width || e.height !== a.height) && (z?.cancel(), z = void 0), a = e, Ve((t) => t.x === e.x && t.y === e.y ? t : {
115
121
  x: e.x,
116
122
  y: e.y
117
- }), Ve((t) => t.width === e.width && t.height === e.height ? t : {
123
+ }), Ue((t) => t.width === e.width && t.height === e.height ? t : {
118
124
  width: e.width,
119
125
  height: e.height
120
126
  });
121
- }, Ge = () => {
127
+ }, Ze = () => {
122
128
  try {
123
129
  s?.focus({
124
130
  preventScroll: !0
125
131
  });
126
132
  } catch {
127
133
  }
128
- }, Qe = (e) => {
134
+ }, Je = (e) => {
129
135
  const t = e instanceof Element ? e : null;
130
136
  return t ? t.closest('button, input, select, textarea, a, [role="button"], [tabindex]:not([tabindex="-1"])') === null : !0;
131
- }, de = (e) => !!s && e instanceof Node && s.contains(e), Ze = (e) => {
137
+ }, ue = (e) => !!s && e instanceof Node && s.contains(e), Ke = (e) => {
132
138
  const o = (e instanceof Element ? e : null)?.closest('[role="menu"], [role="dialog"]')?.closest('[data-floe-surface-floating-layer="true"], [data-floe-dropdown]');
133
139
  return !!(o && s?.contains(o));
134
- }, Je = () => {
140
+ }, et = () => {
135
141
  if (!s) return null;
136
142
  const e = s.getBoundingClientRect();
137
143
  return {
@@ -140,97 +146,97 @@ function Jt(n) {
140
146
  width: e.width,
141
147
  height: e.height
142
148
  };
143
- }, Se = () => {
144
- if (n.open && !(f === null || h === null) && !(typeof window > "u")) {
145
- if (h === "drag" && c()) {
149
+ }, Pe = () => {
150
+ if (n.open && !(h === null || u === null) && !(typeof window > "u")) {
151
+ if (u === "drag" && c()) {
146
152
  if (Math.hypot(C.x - p.x, C.y - p.y) < 4) return;
147
- const e = we({
153
+ const e = ge({
148
154
  rect: m,
149
- minSize: W(),
150
- maxSize: q(),
155
+ minSize: q(),
156
+ maxSize: H(),
151
157
  viewport: R(),
152
158
  viewportInsets: b(),
153
159
  mobile: n.boundary === void 0 && E(),
154
- mobilePadding: H
155
- }), t = Math.max(0, Math.min(1, (p.x - F.x) / Math.max(1, F.width))), r = Math.max(0, Math.min(oe, p.y - F.y));
160
+ mobilePadding: X
161
+ }), t = Math.max(0, Math.min(1, (p.x - F.x) / Math.max(1, F.width))), r = Math.max(0, Math.min(re, p.y - F.y));
156
162
  F = {
157
163
  ...e,
158
164
  x: p.x - e.width * t,
159
165
  y: p.y - r
160
- }, ne(!1);
166
+ }, ie(!1);
161
167
  }
162
- j(mt({
163
- mode: h,
168
+ j(xt({
169
+ mode: u,
164
170
  pointer: C,
165
171
  dragStartPos: p,
166
172
  dragStartRect: F,
167
- dragTitlebarHeight: oe,
168
- resizeStartPos: be,
169
- resizeStartRect: pe,
170
- resizeHandle: ze,
171
- minSize: W(),
172
- maxSize: q(),
173
+ dragTitlebarHeight: re,
174
+ resizeStartPos: pe,
175
+ resizeStartRect: ze,
176
+ resizeHandle: $e,
177
+ minSize: q(),
178
+ maxSize: H(),
173
179
  viewport: R(),
174
180
  viewportInsets: b(),
175
181
  mobile: n.boundary === void 0 && E(),
176
- mobilePadding: H
182
+ mobilePadding: X
177
183
  }));
178
184
  }
179
- }, L = (e) => {
185
+ }, B = (e) => {
180
186
  if (typeof window > "u") return;
181
187
  const t = R();
182
188
  if (c() || g()) {
183
- se(he(t, b()));
189
+ ce(we(t, b()));
184
190
  return;
185
191
  }
186
- let r = we({
192
+ let r = ge({
187
193
  rect: m,
188
- minSize: W(),
189
- maxSize: q(),
194
+ minSize: q(),
195
+ maxSize: H(),
190
196
  viewport: t,
191
197
  viewportInsets: b(),
192
198
  mobile: n.boundary === void 0 && E(),
193
- mobilePadding: H,
199
+ mobilePadding: X,
194
200
  center: e?.center ?? !1
195
201
  });
196
202
  if (n.boundary !== void 0 && A && !e?.center) {
197
- const o = he(t, b());
203
+ const o = we(t, b());
198
204
  r = {
199
205
  ...r,
200
206
  x: o.x + A.x * Math.max(0, o.width - r.width),
201
207
  y: o.y + A.y * Math.max(0, o.height - r.height)
202
208
  };
203
209
  }
204
- if (se(r), !A) {
210
+ if (ce(r), !A) {
205
211
  const o = {
206
212
  width: m.width,
207
213
  height: m.height
208
214
  };
209
- $e(r), Object.assign(m, o);
215
+ _e(r), Object.assign(m, o);
210
216
  }
211
- }, Pe = (e) => {
212
- k !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(k), k = null), e && Se();
213
- const t = h === "drag", r = e && !(t && c()) ? Je() ?? a : null, o = r ? we({
217
+ }, Ie = (e) => {
218
+ k !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(k), k = null), e && Pe();
219
+ const t = u === "drag", r = e && !(t && c()) ? et() ?? a : null, o = r ? ge({
214
220
  rect: r,
215
- minSize: W(),
216
- maxSize: q(),
221
+ minSize: q(),
222
+ maxSize: H(),
217
223
  viewport: R(),
218
224
  viewportInsets: b(),
219
225
  mobile: n.boundary === void 0 && E(),
220
- mobilePadding: H
226
+ mobilePadding: X
221
227
  }) : null;
222
- if (fe(() => {
228
+ if (he(() => {
223
229
  if (o) {
224
- se(o);
230
+ ce(o);
225
231
  const S = {
226
232
  width: m.width,
227
233
  height: m.height
228
234
  };
229
- $e(o), h === "drag" && Object.assign(m, S);
235
+ _e(o), u === "drag" && Object.assign(m, S);
230
236
  }
231
- f = null, h = null, ve(!1), ye(!1);
232
- }), le(!1, ""), N = void 0, o && (j(o), t && r && s?.animate && (r.x !== o.x || r.y !== o.y) && !window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)) {
233
- const S = te(r), U = te(o);
237
+ h = null, u = null, ye(!1), be(!1);
238
+ }), de(!1, ""), N = void 0, o && (j(o), t && r && s?.animate && (r.x !== o.x || r.y !== o.y) && !window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)) {
239
+ const S = ne(r), U = ne(o);
234
240
  z = s.animate([{
235
241
  transform: `translate3d(${S.x}px, ${S.y}px, 0)`
236
242
  }, {
@@ -240,23 +246,23 @@ function Jt(n) {
240
246
  easing: "cubic-bezier(0.2, 0.8, 0.2, 1)"
241
247
  });
242
248
  }
243
- }, ce = (e = !1) => {
249
+ }, fe = (e = !1) => {
244
250
  N ? N.stop({
245
251
  commit: e
246
- }) : Pe(e);
252
+ }) : Ie(e);
247
253
  };
248
- B(() => {
249
- ce(!1), z?.cancel();
250
- }), lt(() => {
254
+ D(() => {
255
+ fe(!1), z?.cancel();
256
+ }), dt(() => {
251
257
  const e = () => {
252
258
  const t = O(), r = n.boundary === void 0 ? {
253
259
  boundaryHost: null,
254
260
  mode: "global"
255
- } : pt({
256
- owner: K
257
- }), o = yt(r, n.boundary, t?.safeArea);
258
- fe(() => {
259
- Be(!!(o && o.width > 16 && o.height > 16)), Le(o ? {
261
+ } : $t({
262
+ owner: ee
263
+ }), o = pt(r, n.boundary, t?.safeArea);
264
+ he(() => {
265
+ We(!!(o && o.width > 16 && o.height > 16)), De(o ? {
260
266
  x: o.left,
261
267
  y: o.top,
262
268
  width: o.width,
@@ -269,27 +275,27 @@ function Jt(n) {
269
275
  });
270
276
  });
271
277
  };
272
- B(xt(window, (t) => {
273
- fe(() => {
274
- Te(t), D(e);
278
+ D(yt(window, (t) => {
279
+ he(() => {
280
+ Be(t), W(e);
275
281
  });
276
282
  })), I(() => {
277
283
  if (!n.open || n.boundary === void 0) return;
278
284
  let t = 0;
279
285
  const r = () => {
280
- D(e), t = requestAnimationFrame(r);
286
+ W(e), t = requestAnimationFrame(r);
281
287
  };
282
- r(), B(() => cancelAnimationFrame(t));
283
- }), n.open || L({
288
+ r(), D(() => cancelAnimationFrame(t));
289
+ }), n.open || B({
284
290
  center: !n.defaultPosition
285
291
  });
286
292
  }), I(() => {
287
293
  if (!n.open) return;
288
294
  E();
289
- const e = !ae && !n.defaultPosition, t = () => {
290
- L({
295
+ const e = !se && !n.defaultPosition, t = () => {
296
+ B({
291
297
  center: e
292
- }), ae = !0;
298
+ }), se = !0;
293
299
  };
294
300
  if (typeof requestAnimationFrame > "u") {
295
301
  t();
@@ -297,12 +303,12 @@ function Jt(n) {
297
303
  }
298
304
  requestAnimationFrame(t);
299
305
  }), I(() => {
300
- b(), R(), g(), !(!n.open || !ae || f !== null) && D(() => L({
306
+ b(), R(), g(), !(!n.open || !se || h !== null) && W(() => B({
301
307
  center: !1
302
308
  }));
303
309
  }), I(() => {
304
- J() || !c() || D(() => {
305
- ne(!1), L({
310
+ K() || !c() || W(() => {
311
+ ie(!1), B({
306
312
  center: !1
307
313
  });
308
314
  });
@@ -311,34 +317,34 @@ function Jt(n) {
311
317
  const e = (t) => {
312
318
  if (t.key !== "Escape") return;
313
319
  const r = typeof document < "u" ? document.activeElement : null;
314
- !de(t.target) && !de(r) || Ze(t.target) || (t.preventDefault(), typeof t.stopImmediatePropagation == "function" ? t.stopImmediatePropagation() : t.stopPropagation(), n.onOpenChange(!1));
320
+ !ue(t.target) && !ue(r) || Ke(t.target) || (t.preventDefault(), typeof t.stopImmediatePropagation == "function" ? t.stopImmediatePropagation() : t.stopPropagation(), n.onOpenChange(!1));
315
321
  };
316
- document.addEventListener("keydown", e, !0), B(() => document.removeEventListener("keydown", e, !0));
322
+ document.addEventListener("keydown", e, !0), D(() => document.removeEventListener("keydown", e, !0));
317
323
  }), I(() => {
318
324
  if (!n.open) {
319
- ie(!1), ce(!1);
325
+ oe(!1), fe(!1);
320
326
  return;
321
327
  }
322
- ie(!0);
328
+ oe(!0);
323
329
  }), I(() => {
324
330
  if (!n.open) return;
325
331
  const e = (o) => {
326
- ie(de(o));
332
+ oe(ue(o));
327
333
  }, t = (o) => {
328
334
  e(o.target);
329
335
  }, r = (o) => {
330
336
  e(o.target);
331
337
  };
332
- document.addEventListener("pointerdown", t), document.addEventListener("focusin", r), B(() => {
338
+ document.addEventListener("pointerdown", t), document.addEventListener("focusin", r), D(() => {
333
339
  document.removeEventListener("pointerdown", t), document.removeEventListener("focusin", r);
334
340
  });
335
341
  }), I(() => {
336
342
  if (!n.open) return;
337
- const e = _e();
338
- T(), O()?.fixedOffset, j(f === null ? e : a);
343
+ const e = Se();
344
+ T(), O()?.fixedOffset, j(h === null ? e : a);
339
345
  });
340
- const Ke = (e) => {
341
- !me() || g() || f !== null || e.pointerType === "mouse" && e.button !== 0 || e.target?.closest('button, input, select, textarea, a, [role="button"], [data-floe-floating-window-header-actions]') || (e.preventDefault(), z?.cancel(), z = void 0, oe = e.currentTarget instanceof HTMLElement && e.currentTarget.getBoundingClientRect().height || 32, f = e.pointerId, h = "drag", ve(!0), p = {
346
+ const tt = (e) => {
347
+ !ve() || g() || h !== null || e.pointerType === "mouse" && e.button !== 0 || e.target?.closest('button, input, select, textarea, a, [role="button"], [data-floe-floating-window-header-actions]') || (e.preventDefault(), z?.cancel(), z = void 0, re = e.currentTarget instanceof HTMLElement && e.currentTarget.getBoundingClientRect().height || 32, h = e.pointerId, u = "drag", ye(!0), p = {
342
348
  x: e.clientX,
343
349
  y: e.clientY
344
350
  }, F = {
@@ -346,36 +352,36 @@ function Jt(n) {
346
352
  }, C = {
347
353
  x: e.clientX,
348
354
  y: e.clientY
349
- }, le(!0, "grabbing"), Re(e));
355
+ }, de(!0, "grabbing"), Ce(e));
350
356
  }, $ = (e) => (t) => {
351
- !ge() || c() || g() || f !== null || t.pointerType === "mouse" && t.button !== 0 || (t.preventDefault(), t.stopPropagation(), f = t.pointerId, h = "resize", ye(!0), ze = e, be = {
357
+ !me() || c() || g() || h !== null || t.pointerType === "mouse" && t.button !== 0 || (t.preventDefault(), t.stopPropagation(), h = t.pointerId, u = "resize", be(!0), $e = e, pe = {
352
358
  x: t.clientX,
353
359
  y: t.clientY
354
- }, pe = {
360
+ }, ze = {
355
361
  ...a
356
362
  }, C = {
357
363
  x: t.clientX,
358
364
  y: t.clientY
359
- }, le(!0, Ue[e]), Re(t));
360
- }, Ie = () => {
361
- k = null, Se();
362
- }, et = (e) => {
363
- if (!(f === null || e.pointerId !== f) && h !== null && (C = {
365
+ }, de(!0, Qe[e]), Ce(t));
366
+ }, Re = () => {
367
+ k = null, Pe();
368
+ }, nt = (e) => {
369
+ if (!(h === null || e.pointerId !== h) && u !== null && (C = {
364
370
  x: e.clientX,
365
371
  y: e.clientY
366
372
  }, k === null)) {
367
373
  if (typeof requestAnimationFrame > "u") {
368
- Ie();
374
+ Re();
369
375
  return;
370
376
  }
371
- k = requestAnimationFrame(Ie);
377
+ k = requestAnimationFrame(Re);
372
378
  }
373
- }, Re = (e) => {
374
- N = gt({
379
+ }, Ce = (e) => {
380
+ N = vt({
375
381
  pointerEvent: e,
376
382
  // Keep click/double-click targeting on the titlebar while retaining capture.
377
- captureEl: h === "drag" ? re : s,
378
- onMove: et,
383
+ captureEl: u === "drag" ? le : s,
384
+ onMove: nt,
379
385
  onEnd: ({
380
386
  commit: t,
381
387
  reason: r,
@@ -384,16 +390,16 @@ function Jt(n) {
384
390
  C = {
385
391
  x: o.latestClientX,
386
392
  y: o.latestClientY
387
- }, Pe(t || r === "pointer_cancel");
393
+ }, Ie(t || r === "pointer_cancel");
388
394
  }
389
395
  });
390
- }, Ce = () => {
391
- !J() || g() || (f !== null && ce(!0), ne(!c()), L());
392
- }, tt = (e) => {
393
- e.target?.closest("button, [data-floe-floating-window-header-actions]") || Ce();
394
- }, nt = (e) => {
395
- Qe(e.target) && Ge();
396
- }, _ = (e) => Z("absolute z-10", {
396
+ }, Ae = () => {
397
+ !K() || g() || (h !== null && fe(!0), ie(!c()), B());
398
+ }, it = (e) => {
399
+ e.target?.closest("button, [data-floe-floating-window-header-actions]") || Ae();
400
+ }, ot = (e) => {
401
+ Je(e.target) && Ze();
402
+ }, _ = (e) => J("absolute z-10", {
397
403
  n: "cursor-ns-resize top-0 left-2 right-2 h-1",
398
404
  s: "cursor-ns-resize bottom-0 left-2 right-2 h-1",
399
405
  e: "cursor-ew-resize right-0 top-2 bottom-2 w-1",
@@ -404,66 +410,68 @@ function Jt(n) {
404
410
  sw: "cursor-nesw-resize bottom-0 left-0 w-2 h-2"
405
411
  }[e]);
406
412
  return [(() => {
407
- var e = zt(), t = K;
408
- return typeof t == "function" ? ue(t, e) : K = e, e;
413
+ var e = _t(), t = ee;
414
+ return typeof t == "function" ? Q(t, e) : ee = e, e;
409
415
  })(), l(y, {
410
416
  get when() {
411
417
  return M.mounted();
412
418
  },
413
419
  get children() {
414
- return l(it, {
420
+ return l(rt, {
415
421
  get children() {
416
- var e = Ot(), t = e.firstChild, r = t.firstChild, o = r.firstChild, S = o.nextSibling, U = r.nextSibling;
417
- ue((i) => {
418
- s = i, D(() => j(_e()));
419
- }, e), Me(e, Fe({
422
+ var e = Lt(), t = e.firstChild, r = t.firstChild, o = r.firstChild, S = o.nextSibling, U = r.nextSibling;
423
+ Q((i) => {
424
+ s = i, W(() => j(Se()));
425
+ }, e), ke(e, Oe({
420
426
  get "data-floating-presence"() {
421
427
  return M.state();
422
428
  },
423
429
  get "aria-hidden"() {
424
- return M.exiting() || !ee() ? "true" : void 0;
430
+ return M.exiting() || !te() ? "true" : void 0;
425
431
  },
426
432
  get inert() {
427
- return M.exiting() || !ee();
433
+ return M.exiting() || !te();
428
434
  },
429
435
  get "data-floe-floating-window-compact"() {
430
436
  return g() ? "true" : void 0;
431
437
  }
432
438
  }, {
433
- [Oe]: "true"
439
+ [Le]: "true"
434
440
  }, {
435
441
  get class() {
436
- return Z("fixed left-0 top-0 z-[100] flex flex-col", (X() || Y()) && "select-none", M.exiting() && "pointer-events-none");
442
+ return J("fixed left-0 top-0 z-[100] flex flex-col", (L() || Y()) && "select-none", M.exiting() && "pointer-events-none");
437
443
  },
438
444
  get style() {
439
445
  return {
440
- visibility: ee() ? void 0 : "hidden",
441
- "z-index": De(),
442
- "will-change": X() ? "transform" : Y() ? "transform, width, height" : void 0
446
+ visibility: te() ? void 0 : "hidden",
447
+ "z-index": qe(),
448
+ "will-change": L() ? "transform" : Y() ? "transform, width, height" : void 0
443
449
  };
444
450
  },
445
451
  role: "dialog",
446
452
  get "aria-labelledby"() {
447
- return Q(() => !!n.title)() ? xe() : void 0;
453
+ return Z(() => !!n.title)() ? xe() : void 0;
448
454
  },
449
455
  tabIndex: -1,
450
- onPointerDown: nt
451
- }), !1, !0), Me(t, Fe({
452
- [bt]: "true"
456
+ onPointerDown: ot
457
+ }), !1, !0);
458
+ var Ee = ae;
459
+ typeof Ee == "function" ? Q(Ee, t) : ae = t, ke(t, Oe({
460
+ [zt]: "true"
453
461
  }, {
454
462
  "data-floe-floating-window-surface": "true",
455
463
  "data-floe-surface": "floating",
456
464
  get "data-floe-surface-interacting"() {
457
- return X() || Y() ? "true" : void 0;
465
+ return L() || Y() ? "true" : void 0;
458
466
  },
459
467
  get "data-floe-floating-window-state"() {
460
- return je() ? "active" : "inactive";
468
+ return Ge() ? "active" : "inactive";
461
469
  }
462
470
  }, {
463
- [Oe]: "true"
471
+ [Le]: "true"
464
472
  }, {
465
473
  get class() {
466
- return Z("relative flex h-full w-full flex-col overflow-hidden", "text-card-foreground rounded-md", "border", "floe-floating-presence floe-floating-window-motion", (X() || Y()) && "floe-floating-presence--suspended", c() && "rounded-none", n.class);
474
+ return J("relative flex h-full w-full flex-col overflow-hidden", "text-card-foreground rounded-panel", "border", "floe-floating-presence floe-floating-window-motion", (L() || Y()) && "floe-floating-presence--suspended", c() && "rounded-none", n.class);
467
475
  },
468
476
  get style() {
469
477
  return {
@@ -473,47 +481,47 @@ function Jt(n) {
473
481
  get "data-floating-presence"() {
474
482
  return M.state();
475
483
  }
476
- }), !1, !0), r.$$dblclick = tt, r.$$pointerdown = Ke;
477
- var Ae = re;
478
- return typeof Ae == "function" ? ue(Ae, r) : re = r, u(o, l(y, {
484
+ }), !1, !0), r.$$dblclick = it, r.$$pointerdown = tt;
485
+ var Me = le;
486
+ return typeof Me == "function" ? Q(Me, r) : le = r, f(o, l(y, {
479
487
  get when() {
480
488
  return n.title;
481
489
  },
482
490
  get children() {
483
- var i = _t(), G = i.firstChild;
484
- return u(i, l(y, {
491
+ var i = Pt(), G = i.firstChild;
492
+ return f(i, l(y, {
485
493
  get when() {
486
494
  return n.titleIcon;
487
495
  },
488
496
  get children() {
489
- var Ee = $t();
490
- return u(Ee, () => n.titleIcon), Ee;
497
+ var Fe = St();
498
+ return f(Fe, () => n.titleIcon), Fe;
491
499
  }
492
- }), G), u(G, () => n.title), w(() => ot(i, "id", xe())), i;
500
+ }), G), f(G, () => n.title), w(() => at(i, "id", xe())), i;
493
501
  }
494
- })), u(r, l(y, {
502
+ })), f(r, l(y, {
495
503
  get when() {
496
504
  return n.headerActions;
497
505
  },
498
506
  get children() {
499
- var i = St(), G = i.firstChild;
500
- return u(i, () => n.headerActions, G), i;
507
+ var i = It(), G = i.firstChild;
508
+ return f(i, () => n.headerActions, G), i;
501
509
  }
502
- }), S), u(S, l(y, {
510
+ }), S), f(S, l(y, {
503
511
  get when() {
504
- return Q(() => !!J())() && !g();
512
+ return Z(() => !!K())() && !g();
505
513
  },
506
514
  get children() {
507
- return l(ke, {
515
+ return l(Te, {
508
516
  variant: "ghost",
509
517
  size: "icon",
510
518
  "data-floe-floating-window-control": "maximize",
511
519
  class: "h-full w-9 shrink-0 rounded-none border-0 px-0 active:scale-100",
512
520
  onClick: (i) => {
513
- i.stopPropagation(), Ce();
521
+ i.stopPropagation(), Ae();
514
522
  },
515
523
  get "aria-label"() {
516
- return Q(() => !!c())() ? n.labels?.restore ?? "Restore" : n.labels?.maximize ?? "Maximize";
524
+ return Z(() => !!c())() ? n.labels?.restore ?? "Restore" : n.labels?.maximize ?? "Maximize";
517
525
  },
518
526
  get children() {
519
527
  return l(y, {
@@ -521,12 +529,12 @@ function Jt(n) {
521
529
  return c();
522
530
  },
523
531
  get fallback() {
524
- return l(ft, {
532
+ return l(wt, {
525
533
  class: "w-3 h-3"
526
534
  });
527
535
  },
528
536
  get children() {
529
- return l(ut, {
537
+ return l(ht, {
530
538
  class: "w-3 h-3"
531
539
  });
532
540
  }
@@ -534,7 +542,7 @@ function Jt(n) {
534
542
  }
535
543
  });
536
544
  }
537
- }), null), u(S, l(ke, {
545
+ }), null), f(S, l(Te, {
538
546
  variant: "ghost-destructive",
539
547
  size: "icon",
540
548
  "data-floe-floating-window-control": "close",
@@ -546,63 +554,63 @@ function Jt(n) {
546
554
  return n.labels?.close ?? "Close";
547
555
  },
548
556
  get children() {
549
- return l(ht, {
557
+ return l(gt, {
550
558
  class: "w-3.5 h-3.5"
551
559
  });
552
560
  }
553
- }), null), u(U, () => n.children), u(t, l(y, {
561
+ }), null), f(U, () => n.children), f(t, l(y, {
554
562
  get when() {
555
563
  return n.footer;
556
564
  },
557
565
  get children() {
558
- var i = Pt();
559
- return u(i, () => n.footer), i;
566
+ var i = Rt();
567
+ return f(i, () => n.footer), i;
560
568
  }
561
- }), null), u(t, l(y, {
569
+ }), null), f(t, l(y, {
562
570
  get when() {
563
- return Q(() => !!(ge() && !c()))() && !g();
571
+ return Z(() => !!(me() && !c()))() && !g();
564
572
  },
565
573
  get children() {
566
574
  return [(() => {
567
- var i = It();
568
- return P(i, "pointerdown", $("n"), !0), w(() => x(i, _("n"))), i;
575
+ var i = Ct();
576
+ return P(i, "pointerdown", $("n"), !0), w(() => v(i, _("n"))), i;
569
577
  })(), (() => {
570
- var i = Rt();
571
- return P(i, "pointerdown", $("s"), !0), w(() => x(i, _("s"))), i;
578
+ var i = At();
579
+ return P(i, "pointerdown", $("s"), !0), w(() => v(i, _("s"))), i;
572
580
  })(), l(y, {
573
581
  get when() {
574
582
  return !E();
575
583
  },
576
584
  get children() {
577
585
  return [(() => {
578
- var i = Ct();
579
- return P(i, "pointerdown", $("e"), !0), w(() => x(i, _("e"))), i;
580
- })(), (() => {
581
- var i = At();
582
- return P(i, "pointerdown", $("w"), !0), w(() => x(i, _("w"))), i;
583
- })(), (() => {
584
586
  var i = Et();
585
- return P(i, "pointerdown", $("ne"), !0), w(() => x(i, _("ne"))), i;
587
+ return P(i, "pointerdown", $("e"), !0), w(() => v(i, _("e"))), i;
586
588
  })(), (() => {
587
589
  var i = Mt();
588
- return P(i, "pointerdown", $("nw"), !0), w(() => x(i, _("nw"))), i;
590
+ return P(i, "pointerdown", $("w"), !0), w(() => v(i, _("w"))), i;
589
591
  })(), (() => {
590
592
  var i = Ft();
591
- return P(i, "pointerdown", $("se"), !0), w(() => x(i, _("se"))), i;
593
+ return P(i, "pointerdown", $("ne"), !0), w(() => v(i, _("ne"))), i;
592
594
  })(), (() => {
593
595
  var i = kt();
594
- return P(i, "pointerdown", $("sw"), !0), w(() => x(i, _("sw"))), i;
596
+ return P(i, "pointerdown", $("nw"), !0), w(() => v(i, _("nw"))), i;
597
+ })(), (() => {
598
+ var i = Ot();
599
+ return P(i, "pointerdown", $("se"), !0), w(() => v(i, _("se"))), i;
600
+ })(), (() => {
601
+ var i = Tt();
602
+ return P(i, "pointerdown", $("sw"), !0), w(() => v(i, _("sw"))), i;
595
603
  })()];
596
604
  }
597
605
  })];
598
606
  }
599
- }), null), w(() => x(r, Z("flex shrink-0 items-center justify-between h-8", "border-b", c() ? "rounded-none" : "rounded-t-md", me() && !g() && "cursor-move"))), e;
607
+ }), null), w(() => v(r, J("flex shrink-0 items-center justify-between h-8", "border-b", c() ? "rounded-none" : "rounded-t-panel", ve() && !g() && (L() ? "cursor-grabbing" : "cursor-move")))), e;
600
608
  }
601
609
  });
602
610
  }
603
611
  })];
604
612
  }
605
- rt(["pointerdown", "dblclick"]);
613
+ lt(["pointerdown", "dblclick"]);
606
614
  export {
607
- Jt as FloatingWindow
615
+ en as FloatingWindow
608
616
  };