@tenorlab/react-dashboard 1.6.2 → 1.6.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.
@@ -1,84 +1,84 @@
1
- import { create as mt } from "zustand";
2
- import { blankDashboardConfig as Ce, dashboardStoreUtils as he, getDistinctCssClasses as G, ensureZoomScaleIsWithinRange as pt, parseContainerTitle as nt, getWidgetMetaFromCatalog as yt, dashboardSettingsUtils as bt } from "./core.es.js";
3
- import ve, { useState as ae, useCallback as ce, useMemo as ot, forwardRef as se, useRef as vt, Suspense as xt, useEffect as Ct } from "react";
4
- import { jsxs as I, jsx as t } from "react/jsx-runtime";
5
- import it from "react-dom";
6
- const wt = (e) => (s, r, n) => {
7
- const d = n.subscribe;
8
- return n.subscribe = ((f, g, T) => {
9
- let S = f;
10
- if (g) {
11
- const b = T?.equalityFn || Object.is;
12
- let l = f(n.getState());
13
- S = (p) => {
14
- const m = f(p);
15
- if (!b(l, m)) {
16
- const D = l;
17
- g(l = m, D);
1
+ import { create as vt } from "zustand";
2
+ import { blankDashboardConfig as we, dashboardStoreUtils as ge, getDistinctCssClasses as Z, ensureZoomScaleIsWithinRange as xt, parseContainerTitle as it, getWidgetMetaFromCatalog as Ct, dashboardSettingsUtils as wt } from "./core.es.js";
3
+ import xe, { useState as oe, useCallback as ce, useMemo as fe, useRef as at, useEffect as Oe, forwardRef as se, Suspense as St } from "react";
4
+ import { jsxs as _, jsx as t } from "react/jsx-runtime";
5
+ import st from "react-dom";
6
+ const Dt = (e) => (s, n, r) => {
7
+ const d = r.subscribe;
8
+ return r.subscribe = ((c, f, w) => {
9
+ let b = c;
10
+ if (f) {
11
+ const v = w?.equalityFn || Object.is;
12
+ let l = c(r.getState());
13
+ b = (y) => {
14
+ const p = c(y);
15
+ if (!v(l, p)) {
16
+ const T = l;
17
+ f(l = p, T);
18
18
  }
19
- }, T?.fireImmediately && g(l, l);
19
+ }, w?.fireImmediately && f(l, l);
20
20
  }
21
- return d(S);
22
- }), e(s, r, n);
23
- }, St = wt, Dt = (e, s) => ({
21
+ return d(b);
22
+ }), e(s, n, r);
23
+ }, Tt = Dt, Nt = (e, s) => ({
24
24
  isLoading: !1,
25
25
  isEditing: !1,
26
- allDashboardConfigs: [Ce],
27
- currentDashboardConfig: Ce,
26
+ allDashboardConfigs: [we],
27
+ currentDashboardConfig: we,
28
28
  targetContainerKey: void 0,
29
- getNextContainerKey: (r) => he.getNextContainerKey(s().currentDashboardConfig, r),
30
- setIsLoading: (r) => (e(() => ({ isLoading: r })), r),
31
- setIsEditing: (r) => {
32
- let n = s().targetContainerKey;
33
- return r || (n = void 0), e(() => ({ isEditing: r, targetContainerKey: n })), r;
29
+ getNextContainerKey: (n) => ge.getNextContainerKey(s().currentDashboardConfig, n),
30
+ setIsLoading: (n) => (e(() => ({ isLoading: n })), n),
31
+ setIsEditing: (n) => {
32
+ let r = s().targetContainerKey;
33
+ return n || (r = void 0), e(() => ({ isEditing: n, targetContainerKey: r })), n;
34
34
  },
35
- setTargetContainerKey: (r) => (e(() => ({ targetContainerKey: r })), r),
36
- setAllDashboardConfigs: (r) => (e(() => ({ allDashboardConfigs: r })), s().allDashboardConfigs),
37
- setCurrentDashboardConfig: (r) => {
38
- const n = s(), d = [
39
- ...n.allDashboardConfigs.filter((o) => o.dashboardId !== r.dashboardId),
40
- r
35
+ setTargetContainerKey: (n) => (e(() => ({ targetContainerKey: n })), n),
36
+ setAllDashboardConfigs: (n) => (e(() => ({ allDashboardConfigs: n })), s().allDashboardConfigs),
37
+ setCurrentDashboardConfig: (n) => {
38
+ const r = s(), d = [
39
+ ...r.allDashboardConfigs.filter((o) => o.dashboardId !== n.dashboardId),
40
+ n
41
41
  ];
42
42
  return e(() => ({
43
- ...n,
43
+ ...r,
44
44
  allDashboardConfigs: d,
45
- currentDashboardConfig: r
45
+ currentDashboardConfig: n
46
46
  })), d;
47
47
  },
48
- addDashboardConfig: (r) => {
49
- const n = s(), d = [
50
- ...n.allDashboardConfigs.filter((o) => o.dashboardId !== r.dashboardId),
51
- r
48
+ addDashboardConfig: (n) => {
49
+ const r = s(), d = [
50
+ ...r.allDashboardConfigs.filter((o) => o.dashboardId !== n.dashboardId),
51
+ n
52
52
  ];
53
53
  return e(() => ({
54
- ...n,
54
+ ...r,
55
55
  allDashboardConfigs: d,
56
- currentDashboardConfig: r
56
+ currentDashboardConfig: n
57
57
  })), d;
58
58
  },
59
- deleteDashboardConfigById: (r) => {
60
- const n = s(), d = [...n.allDashboardConfigs.filter((o) => o.dashboardId !== r)];
59
+ deleteDashboardConfigById: (n) => {
60
+ const r = s(), d = [...r.allDashboardConfigs.filter((o) => o.dashboardId !== n)];
61
61
  return e(() => ({
62
- ...n,
62
+ ...r,
63
63
  allDashboardConfigs: d,
64
- currentDashboardConfig: d[0] || Ce
64
+ currentDashboardConfig: d[0] || we
65
65
  })), d;
66
66
  },
67
- selectDashboardById: (r) => (e(() => {
68
- const n = s(), d = n.allDashboardConfigs.find((o) => o.dashboardId === r);
67
+ selectDashboardById: (n) => (e(() => {
68
+ const r = s(), d = r.allDashboardConfigs.find((o) => o.dashboardId === n);
69
69
  return d ? {
70
70
  currentDashboardConfig: d
71
71
  } : {
72
- ...n
72
+ ...r
73
73
  };
74
74
  }), s().currentDashboardConfig),
75
- addWidget: (r) => {
76
- const n = s(), d = he.addWidget({
77
- dashboardConfig: n.currentDashboardConfig,
78
- ...r
75
+ addWidget: (n) => {
76
+ const r = s(), d = ge.addWidget({
77
+ dashboardConfig: r.currentDashboardConfig,
78
+ ...n
79
79
  }), o = [
80
- ...n.allDashboardConfigs.filter(
81
- (f) => f.dashboardId !== d.updatedDashboardConfig.dashboardId
80
+ ...r.allDashboardConfigs.filter(
81
+ (c) => c.dashboardId !== d.updatedDashboardConfig.dashboardId
82
82
  ),
83
83
  d.updatedDashboardConfig
84
84
  ];
@@ -90,110 +90,110 @@ const wt = (e) => (s, r, n) => {
90
90
  allUpdatedDashboardConfigs: o
91
91
  };
92
92
  },
93
- removeWidget: (r, n) => {
94
- const d = s(), o = he.removeWidget(
93
+ removeWidget: (n, r) => {
94
+ const d = s(), o = ge.removeWidget(
95
95
  d.currentDashboardConfig,
96
- r,
97
- n
98
- ), f = [
96
+ n,
97
+ r
98
+ ), c = [
99
99
  ...d.allDashboardConfigs.filter(
100
- (g) => g.dashboardId !== o.updatedDashboardConfig.dashboardId
100
+ (f) => f.dashboardId !== o.updatedDashboardConfig.dashboardId
101
101
  ),
102
102
  o.updatedDashboardConfig
103
103
  ];
104
104
  return o.success && e(() => ({
105
- allDashboardConfigs: f,
105
+ allDashboardConfigs: c,
106
106
  currentDashboardConfig: o.updatedDashboardConfig
107
107
  })), {
108
108
  ...o,
109
- allUpdatedDashboardConfigs: f
109
+ allUpdatedDashboardConfigs: c
110
110
  };
111
111
  },
112
- moveWidget: (r, n, d) => {
113
- const o = s(), f = he.moveWidget(
112
+ moveWidget: (n, r, d) => {
113
+ const o = s(), c = ge.moveWidget(
114
114
  o.currentDashboardConfig,
115
- r,
116
115
  n,
116
+ r,
117
117
  d
118
- ), g = [
118
+ ), f = [
119
119
  ...o.allDashboardConfigs.filter(
120
- (T) => T.dashboardId !== f.updatedDashboardConfig.dashboardId
120
+ (w) => w.dashboardId !== c.updatedDashboardConfig.dashboardId
121
121
  ),
122
- f.updatedDashboardConfig
122
+ c.updatedDashboardConfig
123
123
  ];
124
- return f.success && e(() => ({
125
- allDashboardConfigs: g,
126
- currentDashboardConfig: f.updatedDashboardConfig
124
+ return c.success && e(() => ({
125
+ allDashboardConfigs: f,
126
+ currentDashboardConfig: c.updatedDashboardConfig
127
127
  })), {
128
- ...f,
129
- allUpdatedDashboardConfigs: g
128
+ ...c,
129
+ allUpdatedDashboardConfigs: f
130
130
  };
131
131
  }
132
- }), cr = mt()(
133
- St((...e) => ({
134
- ...Dt(...e)
132
+ }), gn = vt()(
133
+ Tt((...e) => ({
134
+ ...Nt(...e)
135
135
  }))
136
- ), dr = () => {
137
- const [e, s] = ae({}), [r, n] = ae({}), d = ce((b) => {
138
- const l = b.dashboardId;
139
- s((p) => {
140
- const m = {
136
+ ), mn = () => {
137
+ const [e, s] = oe({}), [n, r] = oe({}), d = ce((v) => {
138
+ const l = v.dashboardId;
139
+ s((y) => {
140
+ const p = {
141
141
  undoIndex: 0,
142
- config: b
142
+ config: v
143
143
  };
144
- return n((D) => ({
145
- ...D,
144
+ return r((T) => ({
145
+ ...T,
146
146
  [l]: 0
147
147
  })), {
148
- ...p,
149
- [l]: [m]
148
+ ...y,
149
+ [l]: [p]
150
150
  // Forces a reset to just this one entry
151
151
  };
152
152
  });
153
153
  }, []), o = ce(
154
- (b) => {
154
+ (v) => {
155
155
  s((l) => {
156
- const p = b.dashboardId, m = l[p] || [], D = r[p] ?? -1, h = m.slice(0, D + 1), y = {
156
+ const y = v.dashboardId, p = l[y] || [], T = n[y] ?? -1, h = p.slice(0, T + 1), g = {
157
157
  undoIndex: h.length,
158
158
  // New index based on trimmed length
159
- config: b
160
- }, x = [...h, y];
161
- return n((E) => ({
162
- ...E,
163
- [p]: x.length - 1
159
+ config: v
160
+ }, x = [...h, g];
161
+ return r((N) => ({
162
+ ...N,
163
+ [y]: x.length - 1
164
164
  // Index is now the last element's index
165
165
  })), {
166
166
  ...l,
167
- [p]: x
167
+ [y]: x
168
168
  };
169
169
  });
170
170
  },
171
- [r]
172
- ), f = ce((b) => {
171
+ [n]
172
+ ), c = ce((v) => {
173
173
  s((l) => {
174
- if (!l[b])
174
+ if (!l[v])
175
175
  return l;
176
- const { [b]: p, ...m } = l;
177
- return m;
178
- }), n((l) => {
179
- const { [b]: p, ...m } = l;
180
- return m;
176
+ const { [v]: y, ...p } = l;
177
+ return p;
178
+ }), r((l) => {
179
+ const { [v]: y, ...p } = l;
180
+ return p;
181
181
  });
182
- }, []), g = ce(
183
- (b) => {
184
- n((l) => {
185
- const p = l[b] ?? -1, m = Math.max(0, p - 1);
186
- return m !== p ? { ...l, [b]: m } : l;
182
+ }, []), f = ce(
183
+ (v) => {
184
+ r((l) => {
185
+ const y = l[v] ?? -1, p = Math.max(0, y - 1);
186
+ return p !== y ? { ...l, [v]: p } : l;
187
187
  });
188
188
  },
189
189
  [
190
190
  //loadConfigFromHistory
191
191
  ]
192
- ), T = ce(
193
- (b) => {
194
- n((l) => {
195
- const p = e[b]?.length || 0, m = l[b] ?? -1, D = Math.min(p - 1, m + 1);
196
- return D !== m ? { ...l, [b]: D } : l;
192
+ ), w = ce(
193
+ (v) => {
194
+ r((l) => {
195
+ const y = e[v]?.length || 0, p = l[v] ?? -1, T = Math.min(y - 1, p + 1);
196
+ return T !== p ? { ...l, [v]: T } : l;
197
197
  });
198
198
  },
199
199
  [
@@ -205,19 +205,19 @@ const wt = (e) => (s, r, n) => {
205
205
  initializeHistoryForDashboard: d,
206
206
  resetAllHistory: () => s({}),
207
207
  addUndoEntry: o,
208
- removeUndoHistoryForDashboard: f,
209
- undo: g,
210
- redo: T,
211
- getUndoStatus: (b) => {
212
- const l = r[b] ?? -1, p = e[b]?.length || 0, m = l <= 0, D = l >= p - 1;
213
- return { isUndoDisabled: m, isRedoDisabled: D };
208
+ removeUndoHistoryForDashboard: c,
209
+ undo: f,
210
+ redo: w,
211
+ getUndoStatus: (v) => {
212
+ const l = n[v] ?? -1, y = e[v]?.length || 0, p = l <= 0, T = l >= y - 1;
213
+ return { isUndoDisabled: p, isRedoDisabled: T };
214
214
  },
215
215
  undoHistory: e,
216
- historyIndex: r
216
+ historyIndex: n
217
217
  // (Optional: You might expose undoHistory and historyIndex if needed for debugging)
218
218
  };
219
219
  };
220
- function K({
220
+ function z({
221
221
  children: e,
222
222
  className: s
223
223
  }) {
@@ -238,15 +238,22 @@ function K({
238
238
  }
239
239
  );
240
240
  }
241
- function ur({ className: e }) {
242
- return /* @__PURE__ */ I(K, { className: `lucide lucide-circle-plus-icon lucide-circle-plus ${e}`, children: [
241
+ function lt({ className: e }) {
242
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-circle-plus-icon lucide-circle-plus ${e}`, children: [
243
243
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10" }),
244
244
  /* @__PURE__ */ t("path", { d: "M8 12h8" }),
245
245
  /* @__PURE__ */ t("path", { d: "M12 8v8" })
246
246
  ] });
247
247
  }
248
- function fr({ className: e }) {
249
- return /* @__PURE__ */ I(K, { className: `lucide lucide-trash2-icon lucide-trash-2 ${e}`, children: [
248
+ const pn = lt;
249
+ function Et({ className: e }) {
250
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-circle-minus-icon lucide-circle-minus ${e}`, children: [
251
+ /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10" }),
252
+ /* @__PURE__ */ t("path", { d: "M8 12h8" })
253
+ ] });
254
+ }
255
+ function yn({ className: e }) {
256
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-trash2-icon lucide-trash-2 ${e}`, children: [
250
257
  /* @__PURE__ */ t("path", { d: "M10 11v6" }),
251
258
  /* @__PURE__ */ t("path", { d: "M14 11v6" }),
252
259
  /* @__PURE__ */ t("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }),
@@ -254,15 +261,15 @@ function fr({ className: e }) {
254
261
  /* @__PURE__ */ t("path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
255
262
  ] });
256
263
  }
257
- function hr({ className: e }) {
258
- return /* @__PURE__ */ I(K, { className: `lucide lucide-square-pen-icon lucide-square-pen ${e}`, children: [
264
+ function bn({ className: e }) {
265
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-square-pen-icon lucide-square-pen ${e}`, children: [
259
266
  /* @__PURE__ */ t("path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
260
267
  /* @__PURE__ */ t("path", { d: "M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z" })
261
268
  ] });
262
269
  }
263
- function gr({ className: e }) {
264
- return /* @__PURE__ */ I(
265
- K,
270
+ function vn({ className: e }) {
271
+ return /* @__PURE__ */ _(
272
+ z,
266
273
  {
267
274
  className: `lucide lucide-text-cursor-input-icon lucide-text-cursor-input ${e}`,
268
275
  children: [
@@ -275,8 +282,8 @@ function gr({ className: e }) {
275
282
  }
276
283
  );
277
284
  }
278
- function mr({ className: e }) {
279
- return /* @__PURE__ */ I(K, { className: `lucide lucide-grid3x3-icon lucide-grid-3x3 ${e}`, children: [
285
+ function xn({ className: e }) {
286
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-grid3x3-icon lucide-grid-3x3 ${e}`, children: [
280
287
  /* @__PURE__ */ t("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
281
288
  /* @__PURE__ */ t("path", { d: "M3 9h18" }),
282
289
  /* @__PURE__ */ t("path", { d: "M3 15h18" }),
@@ -284,16 +291,16 @@ function mr({ className: e }) {
284
291
  /* @__PURE__ */ t("path", { d: "M15 3v18" })
285
292
  ] });
286
293
  }
287
- function pr({ className: e }) {
288
- return /* @__PURE__ */ I(K, { className: `lucide lucide-monitor-icon lucide-monitor ${e}`, children: [
294
+ function Cn({ className: e }) {
295
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-monitor-icon lucide-monitor ${e}`, children: [
289
296
  /* @__PURE__ */ t("rect", { width: "20", height: "14", x: "2", y: "3", rx: "2" }),
290
297
  /* @__PURE__ */ t("line", { x1: "8", x2: "16", y1: "21", y2: "21" }),
291
298
  /* @__PURE__ */ t("line", { x1: "12", x2: "12", y1: "17", y2: "21" })
292
299
  ] });
293
300
  }
294
- function yr({ className: e }) {
295
- return /* @__PURE__ */ I(
296
- K,
301
+ function wn({ className: e }) {
302
+ return /* @__PURE__ */ _(
303
+ z,
297
304
  {
298
305
  className: `lucide lucide-monitor-smartphone-icon lucide-monitor-smartphone ${e}`,
299
306
  children: [
@@ -305,9 +312,9 @@ function yr({ className: e }) {
305
312
  }
306
313
  );
307
314
  }
308
- function at({ className: e }) {
309
- return /* @__PURE__ */ I(
310
- K,
315
+ function ct({ className: e }) {
316
+ return /* @__PURE__ */ _(
317
+ z,
311
318
  {
312
319
  className: `lucide lucide-circle-arrow-left-icon lucide-circle-arrow-left ${e}`,
313
320
  children: [
@@ -318,9 +325,9 @@ function at({ className: e }) {
318
325
  }
319
326
  );
320
327
  }
321
- function st({ className: e }) {
322
- return /* @__PURE__ */ I(
323
- K,
328
+ function dt({ className: e }) {
329
+ return /* @__PURE__ */ _(
330
+ z,
324
331
  {
325
332
  className: `lucide lucide-circle-arrow-right-icon lucide-circle-arrow-right ${e}`,
326
333
  children: [
@@ -331,15 +338,15 @@ function st({ className: e }) {
331
338
  }
332
339
  );
333
340
  }
334
- function Tt({ className: e }) {
335
- return /* @__PURE__ */ I(K, { className: `lucide lucide-settings-icon lucide-settings ${e}`, children: [
341
+ function _t({ className: e }) {
342
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-settings-icon lucide-settings ${e}`, children: [
336
343
  /* @__PURE__ */ t("path", { d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }),
337
344
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "3" })
338
345
  ] });
339
346
  }
340
- function br({ className: e }) {
341
- return /* @__PURE__ */ I(
342
- K,
347
+ function Sn({ className: e }) {
348
+ return /* @__PURE__ */ _(
349
+ z,
343
350
  {
344
351
  className: `lucide lucide-tablet-smartphone-icon lucide-tablet-smartphone ${e}`,
345
352
  children: [
@@ -350,58 +357,58 @@ function br({ className: e }) {
350
357
  }
351
358
  );
352
359
  }
353
- function lt({ className: e }) {
354
- return /* @__PURE__ */ I(K, { className: `lucide lucide-circle-x-icon lucide-circle-x ${e}`, children: [
360
+ function ut({ className: e }) {
361
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-circle-x-icon lucide-circle-x ${e}`, children: [
355
362
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10" }),
356
363
  /* @__PURE__ */ t("path", { d: "m15 9-6 6" }),
357
364
  /* @__PURE__ */ t("path", { d: "m9 9 6 6" })
358
365
  ] });
359
366
  }
360
- function vr({ className: e }) {
361
- return /* @__PURE__ */ I(K, { className: `lucide lucide-zoom-in-icon lucide-zoom-in ${e}`, children: [
367
+ function Dn({ className: e }) {
368
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-zoom-in-icon lucide-zoom-in ${e}`, children: [
362
369
  /* @__PURE__ */ t("circle", { cx: "11", cy: "11", r: "8" }),
363
370
  /* @__PURE__ */ t("line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65" }),
364
371
  /* @__PURE__ */ t("line", { x1: "11", x2: "11", y1: "8", y2: "14" }),
365
372
  /* @__PURE__ */ t("line", { x1: "8", x2: "14", y1: "11", y2: "11" })
366
373
  ] });
367
374
  }
368
- function xr({ className: e }) {
369
- return /* @__PURE__ */ I(K, { className: `lucide lucide-zoom-out-icon lucide-zoom-out ${e}`, children: [
375
+ function Tn({ className: e }) {
376
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-zoom-out-icon lucide-zoom-out ${e}`, children: [
370
377
  /* @__PURE__ */ t("circle", { cx: "11", cy: "11", r: "8" }),
371
378
  /* @__PURE__ */ t("line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65" }),
372
379
  /* @__PURE__ */ t("line", { x1: "8", x2: "14", y1: "11", y2: "11" })
373
380
  ] });
374
381
  }
375
- function Et({ className: e }) {
376
- return /* @__PURE__ */ I(K, { className: `lucide lucide-timer-reset-icon lucide-timer-reset ${e}`, children: [
382
+ function Mt({ className: e }) {
383
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-timer-reset-icon lucide-timer-reset ${e}`, children: [
377
384
  /* @__PURE__ */ t("path", { d: "M10 2h4" }),
378
385
  /* @__PURE__ */ t("path", { d: "M12 14v-4" }),
379
386
  /* @__PURE__ */ t("path", { d: "M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6" }),
380
387
  /* @__PURE__ */ t("path", { d: "M9 17H4v5" })
381
388
  ] });
382
389
  }
383
- function Nt({ className: e }) {
384
- return /* @__PURE__ */ I(K, { className: `lucide lucide-undo-icon lucide-undo ${e}`, children: [
390
+ function Pt({ className: e }) {
391
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-undo-icon lucide-undo ${e}`, children: [
385
392
  /* @__PURE__ */ t("path", { d: "M3 7v6h6" }),
386
393
  /* @__PURE__ */ t("path", { d: "M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13" })
387
394
  ] });
388
395
  }
389
- function _t({ className: e }) {
390
- return /* @__PURE__ */ I(K, { className: `lucide lucide-redo-icon lucide-redo ${e}`, children: [
396
+ function It({ className: e }) {
397
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-redo-icon lucide-redo ${e}`, children: [
391
398
  /* @__PURE__ */ t("path", { d: "M21 7v6h-6" }),
392
399
  /* @__PURE__ */ t("path", { d: "M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7" })
393
400
  ] });
394
401
  }
395
- function Mt({ className: e }) {
396
- return /* @__PURE__ */ I(K, { className: `lucide lucide-hand-icon lucide-hand ${e}`, children: [
402
+ function $t({ className: e }) {
403
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-hand-icon lucide-hand ${e}`, children: [
397
404
  /* @__PURE__ */ t("path", { d: "M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2" }),
398
405
  /* @__PURE__ */ t("path", { d: "M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2" }),
399
406
  /* @__PURE__ */ t("path", { d: "M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8" }),
400
407
  /* @__PURE__ */ t("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" })
401
408
  ] });
402
409
  }
403
- function Pt({ className: e }) {
404
- return /* @__PURE__ */ I(K, { className: `lucide lucide-hand-grab-icon lucide-hand-grab ${e}`, children: [
410
+ function Rt({ className: e }) {
411
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-hand-grab-icon lucide-hand-grab ${e}`, children: [
405
412
  /* @__PURE__ */ t("path", { d: "M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4" }),
406
413
  /* @__PURE__ */ t("path", { d: "M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2" }),
407
414
  /* @__PURE__ */ t("path", { d: "M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5" }),
@@ -409,24 +416,24 @@ function Pt({ className: e }) {
409
416
  /* @__PURE__ */ t("path", { d: "M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0" })
410
417
  ] });
411
418
  }
412
- function It({ className: e }) {
413
- return /* @__PURE__ */ I(K, { className: `lucide lucide-crosshair-icon lucide-crosshair ${e}`, children: [
419
+ function Ot({ className: e }) {
420
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-crosshair-icon lucide-crosshair ${e}`, children: [
414
421
  /* @__PURE__ */ t("line", { x1: "22", x2: "18", y1: "12", y2: "12" }),
415
422
  /* @__PURE__ */ t("line", { x1: "6", x2: "2", y1: "12", y2: "12" }),
416
423
  /* @__PURE__ */ t("line", { x1: "12", x2: "12", y1: "6", y2: "2" }),
417
424
  /* @__PURE__ */ t("line", { x1: "12", x2: "12", y1: "22", y2: "18" })
418
425
  ] });
419
426
  }
420
- function Cr({ className: e }) {
421
- return /* @__PURE__ */ I(K, { className: `lucide lucide-target-icon lucide-target ${e}`, children: [
427
+ function Nn({ className: e }) {
428
+ return /* @__PURE__ */ _(z, { className: `lucide lucide-target-icon lucide-target ${e}`, children: [
422
429
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10" }),
423
430
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "6" }),
424
431
  /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "2" })
425
432
  ] });
426
433
  }
427
- function Rt({ className: e }) {
428
- return /* @__PURE__ */ I(
429
- K,
434
+ function kt({ className: e }) {
435
+ return /* @__PURE__ */ _(
436
+ z,
430
437
  {
431
438
  className: `lucide lucide-file-question-mark-icon lucide-file-question-mark ${e}`,
432
439
  children: [
@@ -437,39 +444,42 @@ function Rt({ className: e }) {
437
444
  }
438
445
  );
439
446
  }
440
- const ct = ({
447
+ function ft({ className: e }) {
448
+ return /* @__PURE__ */ t(z, { className: `lucide lucide-chevron-down-icon lucide-chevron-down ${e}`, children: /* @__PURE__ */ t("path", { d: "m6 9 6 6 6-6" }) });
449
+ }
450
+ const ht = ({
441
451
  label: e,
442
452
  className: s,
443
- size: r = "medium",
444
- value: n,
453
+ size: n = "medium",
454
+ value: r,
445
455
  onChange: d,
446
456
  onKeyDown: o,
447
- placeholder: f = ""
457
+ placeholder: c = ""
448
458
  }) => {
449
- const g = ot(() => r === "small" ? "py-1.5 px-3 text-sm" : "py-2.5 px-4 text-base", [r]), T = G("flex flex-col mb-4", s || ""), b = `${G(`
459
+ const f = fe(() => n === "small" ? "py-1.5 px-3 text-sm" : "py-2.5 px-4 text-base", [n]), w = Z("flex flex-col gap-1", s || ""), v = `${Z(`
450
460
  block w-full rounded-md px-3 py-1.5 text-base
451
461
  bg-formfield content-formfield
452
462
  outline-1 -outline-offset-1 outline-primary
453
463
  placeholder:text-disabled
454
464
  focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-200 sm:text-sm/6
455
- `)} ${g}`;
456
- return /* @__PURE__ */ I("div", { className: T, children: [
457
- /* @__PURE__ */ t("label", { htmlFor: e, className: "block text-sm/6 font-medium mb-1.5", children: e }),
465
+ `)} ${f}`;
466
+ return /* @__PURE__ */ _("div", { className: w, children: [
467
+ (e || "").trim().length > 0 && /* @__PURE__ */ t("label", { htmlFor: e, className: "block text-sm/6 font-medium", children: e }),
458
468
  /* @__PURE__ */ t(
459
469
  "input",
460
470
  {
461
471
  id: e,
462
472
  type: "text",
463
- value: n,
473
+ value: r,
464
474
  onChange: d,
465
475
  onKeyDown: (l) => o && o(l),
466
- placeholder: f,
467
- className: b,
476
+ placeholder: c,
477
+ className: v,
468
478
  "aria-label": e
469
479
  }
470
480
  )
471
481
  ] });
472
- }, we = /* @__PURE__ */ new Map([
482
+ }, Se = /* @__PURE__ */ new Map([
473
483
  [
474
484
  "normal",
475
485
  "group bg-[category] content-[category] hover:bg-[category] group-hover:bg-[category] focus:outline-[category] focus:outline-offset-[category]"
@@ -479,69 +489,134 @@ const ct = ({
479
489
  "group bg-transparent border-[category] text-[category] hover:text-[category] group-hover:text-[category] focus:outline-[category] focus:outline-offset-[category]"
480
490
  ]
481
491
  ]);
482
- function J(e) {
492
+ function ee(e) {
483
493
  const {
484
494
  tooltip: s,
485
- disabled: r,
486
- isIconButton: n,
495
+ disabled: n,
496
+ isIconButton: r,
487
497
  className: d,
488
498
  buttonType: o,
489
- category: f,
490
- px: g,
491
- py: T,
492
- children: S,
493
- ...b
499
+ category: c,
500
+ px: f,
501
+ py: w,
502
+ children: b,
503
+ ...v
494
504
  } = e, l = () => {
495
- const m = e.isIconButton || !1, D = e.category || "primary", h = e.buttonType || "normal", y = e.disabled || !1, x = e.className || "", E = e.font || "semibold", C = Number((e.border || 0) > 0 ? e.border : 0);
496
- let w = (e.borderColor || "").trim();
497
- w = w.length > 0 ? w : "";
498
- const a = Number((e.borderHover || 0) > 0 ? e.borderHover : 0), M = e.shadow || "sm", i = e.shadowHover || "md", u = (e.addCss || "").trim(), c = e.justifyCss || "justify-center";
499
- if (m)
500
- return G(
505
+ const p = e.isIconButton || !1, T = e.category || "primary", h = e.buttonType || "normal", g = e.disabled || !1, x = e.className || "", N = e.font || "semibold", S = Number((e.border || 0) > 0 ? e.border : 0);
506
+ let D = (e.borderColor || "").trim();
507
+ D = D.length > 0 ? D : "";
508
+ const a = Number((e.borderHover || 0) > 0 ? e.borderHover : 0), P = e.shadow || "sm", i = e.shadowHover || "md", u = (e.addCss || "").trim(), M = e.justifyCss || "justify-center";
509
+ if (p)
510
+ return Z(
501
511
  "flex flex-row items-center",
502
- y ? "text-disabled" : `text-${D} hover:brightness-110 cursor-pointer`,
512
+ g ? "text-disabled" : `text-${T} hover:brightness-110 cursor-pointer`,
503
513
  x || ""
504
514
  );
505
- const _ = [
515
+ const $ = [
506
516
  "relative cursor-pointer",
507
517
  "rounded-sm focus:outline-none focus:ring focus:ring-offset",
508
518
  "transition-all duration-150",
509
519
  "text-sm",
510
- `font-${E}`
520
+ `font-${N}`
511
521
  ];
512
- if (y)
513
- h === "ghost" ? _.push("text-disabled border-disabled cursor-not-allowed") : _.push("bg-disabled content-disabled border-disabled cursor-not-allowed");
522
+ if (g)
523
+ h === "ghost" ? $.push("text-disabled border-disabled cursor-not-allowed") : $.push("bg-disabled content-disabled border-disabled cursor-not-allowed");
514
524
  else {
515
- _.push("cursor-pointer");
525
+ $.push("cursor-pointer");
516
526
  let R = "";
517
- we.has(h) ? R = `${we.get(h)}` : R = `${we.get("normal")}`, C < 1 && (R = R.replace("border-[category]", ""));
518
- const H = R.replace(/\[category\]/g, D).trim();
519
- _.push(H);
527
+ Se.has(h) ? R = `${Se.get(h)}` : R = `${Se.get("normal")}`, S < 1 && (R = R.replace("border-[category]", ""));
528
+ const V = R.replace(/\[category\]/g, T).trim();
529
+ $.push(V);
520
530
  }
521
- return C > 0 ? (_.push(`border-[${C}px]`), _.push(`border-${w}`)) : (_.push("border-[1px]"), _.push("border-transparent")), a > 0 ? (_.push(`hover:border-[${a}px] group-hover:border-[${a}px]`), _.push(`hover:border-${w} group-hover:border-${w}`)) : _.push("hover:border-[1px] group-hover:border-[1px]"), _.push(`shadow-${M}`), _.push(`hover:shadow-${i} group-hover:shadow-${i}`), u.length > 0 && _.push(u), u.indexOf("hidden") === -1 && _.push("inline-flex"), _.push(c), _.join(" ").trim();
522
- }, p = () => {
523
- const m = e.px || 0.7, D = e.py || 0.25;
531
+ return S > 0 ? ($.push(`border-[${S}px]`), $.push(`border-${D}`)) : ($.push("border-[1px]"), $.push("border-transparent")), a > 0 ? ($.push(`hover:border-[${a}px] group-hover:border-[${a}px]`), $.push(`hover:border-${D} group-hover:border-${D}`)) : $.push("hover:border-[1px] group-hover:border-[1px]"), $.push(`shadow-${P}`), $.push(`hover:shadow-${i} group-hover:shadow-${i}`), u.length > 0 && $.push(u), u.indexOf("hidden") === -1 && $.push("inline-flex"), $.push(M), $.join(" ").trim();
532
+ }, y = () => {
533
+ const p = e.px || 0.7, T = e.py || 0.25;
524
534
  return {
525
- padding: n ? 0 : `${D}rem ${m}rem `
535
+ padding: r ? 0 : `${T}rem ${p}rem `
526
536
  };
527
537
  };
528
- return /* @__PURE__ */ t("button", { type: "button", disabled: r, className: l(), style: p(), ...b, children: S });
538
+ return /* @__PURE__ */ t("button", { type: "button", disabled: n, className: l(), style: y(), ...v, children: b });
529
539
  }
530
- const $t = (e) => e.direction === "row" ? G("flex flex-row items-center gap-2", e.classNames || "") : G("flex flex-col gap-2 w-full", e.classNames || "");
531
- function Ot(e) {
532
- const { children: s, testId: r, classNames: n, direction: d, ...o } = e, f = $t(e);
533
- return /* @__PURE__ */ t("div", { "data-testid": r || "not-set", className: f, ...o, children: s });
540
+ const Wt = ({
541
+ testid: e = "not-set",
542
+ label: s = "",
543
+ hideLabel: n = !1,
544
+ showChevron: r = !1,
545
+ hide: d = !1,
546
+ enabled: o,
547
+ isMenuOpen: c,
548
+ toggleOpen: f,
549
+ icon: w,
550
+ children: b
551
+ }) => {
552
+ const v = at(null), [l, y] = oe(c);
553
+ Oe(() => {
554
+ c && y(!0);
555
+ }, [c]);
556
+ const p = () => {
557
+ c || y(!1);
558
+ };
559
+ Oe(() => {
560
+ const g = (x) => {
561
+ v.current && !v.current.contains(x.target) && f(!1);
562
+ };
563
+ return document.addEventListener("mousedown", g), () => document.removeEventListener("mousedown", g);
564
+ }, [f]);
565
+ const T = fe(
566
+ () => `
567
+ group max-w-xs p-1 sm:p-2 rounded-full flex items-center text-sm
568
+ focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary
569
+ content-topbar ${o ? "hover:text-primary cursor-pointer" : "opacity-50"}
570
+ `.trim(),
571
+ [o]
572
+ ), h = `
573
+ absolute flex flex-col right-0 z-50 mt-2 w-56 origin-top-right
574
+ rounded-md shadow-md ring-1 ring-black ring-opacity-5 focus:outline-none
575
+ bg-formfield content-formfield transition transform duration-100
576
+ ${c ? "ease-out opacity-100 scale-100" : "ease-in opacity-0 scale-95 pointer-events-none"}
577
+ `.trim();
578
+ return d ? null : /* @__PURE__ */ _("div", { ref: v, className: "relative inline-block text-left", "data-testid": e, children: [
579
+ /* @__PURE__ */ _(
580
+ "button",
581
+ {
582
+ type: "button",
583
+ className: T,
584
+ onClick: (g) => {
585
+ g.stopPropagation(), f(!c);
586
+ },
587
+ children: [
588
+ w,
589
+ /* @__PURE__ */ t("span", { className: n ? "sr-only" : "hidden ml-3 text-sm font-medium lg:block", children: s }),
590
+ r && /* @__PURE__ */ t(ft, { className: "hidden shrink-0 ml-1 size-4 lg:block" })
591
+ ]
592
+ }
593
+ ),
594
+ (c || l) && /* @__PURE__ */ t(
595
+ "div",
596
+ {
597
+ className: h,
598
+ onTransitionEnd: p,
599
+ role: "menu",
600
+ tabIndex: -1,
601
+ children: /* @__PURE__ */ t("div", { className: "form-dropdown-menu overflow-clip flex flex-col grow rounded-md justify-center w-full h-full bg-sidebar content-sidebar bg-opacity-95 p-0", children: b })
602
+ }
603
+ )
604
+ ] });
605
+ }, jt = (e) => e.direction === "row" ? Z("flex flex-row items-center gap-2", e.classNames || "") : Z("flex flex-col gap-2 w-full", e.classNames || "");
606
+ function At(e) {
607
+ const { children: s, testId: n, classNames: r, direction: d, ...o } = e, c = jt(e);
608
+ return /* @__PURE__ */ t("div", { "data-testid": n || "not-set", className: c, ...o, children: s });
534
609
  }
535
- const wr = se(
610
+ const En = se(
536
611
  (e, s) => {
537
- const { classNames: r, innerClass: n, ...d } = e, o = G(r || "", "w-full"), f = G(
612
+ const { classNames: n, innerClass: r, ...d } = e, o = Z(n || "", "w-full"), c = Z(
538
613
  `w-full flex overflow-hidden justify-between items-center gap-0
539
614
  rounded-md border`,
540
- n || ""
615
+ r || ""
541
616
  );
542
- return /* @__PURE__ */ t(Ot, { direction: "row", classNames: o, ...d, children: /* @__PURE__ */ t("div", { className: f, children: e.children }) });
617
+ return /* @__PURE__ */ t(At, { direction: "row", classNames: o, ...d, children: /* @__PURE__ */ t("div", { className: c, children: e.children }) });
543
618
  }
544
- ), Sr = se((e, s) => /* @__PURE__ */ t(
619
+ ), _n = se((e, s) => /* @__PURE__ */ t(
545
620
  "div",
546
621
  {
547
622
  "data-testid": e.testId || "not-set",
@@ -552,7 +627,7 @@ const wr = se(
552
627
  },
553
628
  children: e.children
554
629
  }
555
- )), Dr = se(
630
+ )), Mn = se(
556
631
  (e, s) => /* @__PURE__ */ t(
557
632
  "div",
558
633
  {
@@ -561,7 +636,7 @@ const wr = se(
561
636
  children: e.children
562
637
  }
563
638
  )
564
- ), Tr = se((e, s) => /* @__PURE__ */ t(
639
+ ), Pn = se((e, s) => /* @__PURE__ */ t(
565
640
  "div",
566
641
  {
567
642
  "data-testid": e.testId || "not-set",
@@ -573,170 +648,170 @@ const wr = se(
573
648
  children: e.children
574
649
  }
575
650
  ));
576
- function kt(e) {
651
+ function Lt(e) {
577
652
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
578
653
  }
579
- var de = { exports: {} }, Se = {}, ge = { exports: {} }, me = { exports: {} }, U = {};
580
- var je;
581
- function Wt() {
582
- if (je) return U;
583
- je = 1;
584
- var e = typeof Symbol == "function" && Symbol.for, s = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, d = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, f = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, g = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, T = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, S = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, l = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, p = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, m = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, D = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, y = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
585
- function C(a) {
654
+ var de = { exports: {} }, De = {}, me = { exports: {} }, pe = { exports: {} }, Y = {};
655
+ var Le;
656
+ function qt() {
657
+ if (Le) return Y;
658
+ Le = 1;
659
+ var e = typeof Symbol == "function" && Symbol.for, s = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, d = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, f = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, w = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, l = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, y = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, T = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, g = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, N = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
660
+ function S(a) {
586
661
  if (typeof a == "object" && a !== null) {
587
- var M = a.$$typeof;
588
- switch (M) {
662
+ var P = a.$$typeof;
663
+ switch (P) {
589
664
  case s:
590
665
  switch (a = a.type, a) {
591
- case T:
592
- case S:
593
- case n:
666
+ case w:
667
+ case b:
668
+ case r:
594
669
  case o:
595
670
  case d:
596
671
  case l:
597
672
  return a;
598
673
  default:
599
674
  switch (a = a && a.$$typeof, a) {
600
- case g:
601
- case b:
602
- case D:
603
- case m:
604
675
  case f:
676
+ case v:
677
+ case T:
678
+ case p:
679
+ case c:
605
680
  return a;
606
681
  default:
607
- return M;
682
+ return P;
608
683
  }
609
684
  }
610
- case r:
611
- return M;
685
+ case n:
686
+ return P;
612
687
  }
613
688
  }
614
689
  }
615
- function w(a) {
616
- return C(a) === S;
690
+ function D(a) {
691
+ return S(a) === b;
617
692
  }
618
- return U.AsyncMode = T, U.ConcurrentMode = S, U.ContextConsumer = g, U.ContextProvider = f, U.Element = s, U.ForwardRef = b, U.Fragment = n, U.Lazy = D, U.Memo = m, U.Portal = r, U.Profiler = o, U.StrictMode = d, U.Suspense = l, U.isAsyncMode = function(a) {
619
- return w(a) || C(a) === T;
620
- }, U.isConcurrentMode = w, U.isContextConsumer = function(a) {
621
- return C(a) === g;
622
- }, U.isContextProvider = function(a) {
623
- return C(a) === f;
624
- }, U.isElement = function(a) {
693
+ return Y.AsyncMode = w, Y.ConcurrentMode = b, Y.ContextConsumer = f, Y.ContextProvider = c, Y.Element = s, Y.ForwardRef = v, Y.Fragment = r, Y.Lazy = T, Y.Memo = p, Y.Portal = n, Y.Profiler = o, Y.StrictMode = d, Y.Suspense = l, Y.isAsyncMode = function(a) {
694
+ return D(a) || S(a) === w;
695
+ }, Y.isConcurrentMode = D, Y.isContextConsumer = function(a) {
696
+ return S(a) === f;
697
+ }, Y.isContextProvider = function(a) {
698
+ return S(a) === c;
699
+ }, Y.isElement = function(a) {
625
700
  return typeof a == "object" && a !== null && a.$$typeof === s;
626
- }, U.isForwardRef = function(a) {
627
- return C(a) === b;
628
- }, U.isFragment = function(a) {
629
- return C(a) === n;
630
- }, U.isLazy = function(a) {
631
- return C(a) === D;
632
- }, U.isMemo = function(a) {
633
- return C(a) === m;
634
- }, U.isPortal = function(a) {
635
- return C(a) === r;
636
- }, U.isProfiler = function(a) {
637
- return C(a) === o;
638
- }, U.isStrictMode = function(a) {
639
- return C(a) === d;
640
- }, U.isSuspense = function(a) {
641
- return C(a) === l;
642
- }, U.isValidElementType = function(a) {
643
- return typeof a == "string" || typeof a == "function" || a === n || a === S || a === o || a === d || a === l || a === p || typeof a == "object" && a !== null && (a.$$typeof === D || a.$$typeof === m || a.$$typeof === f || a.$$typeof === g || a.$$typeof === b || a.$$typeof === y || a.$$typeof === x || a.$$typeof === E || a.$$typeof === h);
644
- }, U.typeOf = C, U;
701
+ }, Y.isForwardRef = function(a) {
702
+ return S(a) === v;
703
+ }, Y.isFragment = function(a) {
704
+ return S(a) === r;
705
+ }, Y.isLazy = function(a) {
706
+ return S(a) === T;
707
+ }, Y.isMemo = function(a) {
708
+ return S(a) === p;
709
+ }, Y.isPortal = function(a) {
710
+ return S(a) === n;
711
+ }, Y.isProfiler = function(a) {
712
+ return S(a) === o;
713
+ }, Y.isStrictMode = function(a) {
714
+ return S(a) === d;
715
+ }, Y.isSuspense = function(a) {
716
+ return S(a) === l;
717
+ }, Y.isValidElementType = function(a) {
718
+ return typeof a == "string" || typeof a == "function" || a === r || a === b || a === o || a === d || a === l || a === y || typeof a == "object" && a !== null && (a.$$typeof === T || a.$$typeof === p || a.$$typeof === c || a.$$typeof === f || a.$$typeof === v || a.$$typeof === g || a.$$typeof === x || a.$$typeof === N || a.$$typeof === h);
719
+ }, Y.typeOf = S, Y;
645
720
  }
646
- var Y = {};
647
- var Ae;
648
- function jt() {
649
- return Ae || (Ae = 1, process.env.NODE_ENV !== "production" && (function() {
650
- var e = typeof Symbol == "function" && Symbol.for, s = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, d = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, f = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, g = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, T = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, S = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, l = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, p = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, m = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, D = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, y = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, E = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
651
- function C(N) {
652
- return typeof N == "string" || typeof N == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
653
- N === n || N === S || N === o || N === d || N === l || N === p || typeof N == "object" && N !== null && (N.$$typeof === D || N.$$typeof === m || N.$$typeof === f || N.$$typeof === g || N.$$typeof === b || N.$$typeof === y || N.$$typeof === x || N.$$typeof === E || N.$$typeof === h);
654
- }
655
- function w(N) {
656
- if (typeof N == "object" && N !== null) {
657
- var te = N.$$typeof;
658
- switch (te) {
721
+ var F = {};
722
+ var qe;
723
+ function Ut() {
724
+ return qe || (qe = 1, process.env.NODE_ENV !== "production" && (function() {
725
+ var e = typeof Symbol == "function" && Symbol.for, s = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, d = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, f = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, w = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, v = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, l = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, y = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, T = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, g = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, x = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, N = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
726
+ function S(E) {
727
+ return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
728
+ E === r || E === b || E === o || E === d || E === l || E === y || typeof E == "object" && E !== null && (E.$$typeof === T || E.$$typeof === p || E.$$typeof === c || E.$$typeof === f || E.$$typeof === v || E.$$typeof === g || E.$$typeof === x || E.$$typeof === N || E.$$typeof === h);
729
+ }
730
+ function D(E) {
731
+ if (typeof E == "object" && E !== null) {
732
+ var ne = E.$$typeof;
733
+ switch (ne) {
659
734
  case s:
660
- var fe = N.type;
661
- switch (fe) {
662
- case T:
663
- case S:
664
- case n:
735
+ var he = E.type;
736
+ switch (he) {
737
+ case w:
738
+ case b:
739
+ case r:
665
740
  case o:
666
741
  case d:
667
742
  case l:
668
- return fe;
743
+ return he;
669
744
  default:
670
- var We = fe && fe.$$typeof;
671
- switch (We) {
672
- case g:
673
- case b:
674
- case D:
675
- case m:
745
+ var Ae = he && he.$$typeof;
746
+ switch (Ae) {
676
747
  case f:
677
- return We;
748
+ case v:
749
+ case T:
750
+ case p:
751
+ case c:
752
+ return Ae;
678
753
  default:
679
- return te;
754
+ return ne;
680
755
  }
681
756
  }
682
- case r:
683
- return te;
757
+ case n:
758
+ return ne;
684
759
  }
685
760
  }
686
761
  }
687
- var a = T, M = S, i = g, u = f, c = s, _ = b, R = n, H = D, V = m, X = r, Q = o, B = d, ee = l, ie = !1;
688
- function le(N) {
689
- return ie || (ie = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(N) || w(N) === T;
762
+ var a = w, P = b, i = f, u = c, M = s, $ = v, R = r, V = T, G = p, X = n, Q = o, m = d, B = l, te = !1;
763
+ function le(E) {
764
+ return te || (te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(E) || D(E) === w;
690
765
  }
691
- function v(N) {
692
- return w(N) === S;
766
+ function C(E) {
767
+ return D(E) === b;
693
768
  }
694
- function P(N) {
695
- return w(N) === g;
769
+ function I(E) {
770
+ return D(E) === f;
696
771
  }
697
- function j(N) {
698
- return w(N) === f;
772
+ function A(E) {
773
+ return D(E) === c;
699
774
  }
700
- function k(N) {
701
- return typeof N == "object" && N !== null && N.$$typeof === s;
775
+ function W(E) {
776
+ return typeof E == "object" && E !== null && E.$$typeof === s;
702
777
  }
703
- function $(N) {
704
- return w(N) === b;
778
+ function O(E) {
779
+ return D(E) === v;
705
780
  }
706
- function A(N) {
707
- return w(N) === n;
781
+ function L(E) {
782
+ return D(E) === r;
708
783
  }
709
- function O(N) {
710
- return w(N) === D;
784
+ function k(E) {
785
+ return D(E) === T;
711
786
  }
712
- function W(N) {
713
- return w(N) === m;
787
+ function j(E) {
788
+ return D(E) === p;
714
789
  }
715
- function q(N) {
716
- return w(N) === r;
790
+ function q(E) {
791
+ return D(E) === n;
717
792
  }
718
- function F(N) {
719
- return w(N) === o;
793
+ function K(E) {
794
+ return D(E) === o;
720
795
  }
721
- function L(N) {
722
- return w(N) === d;
796
+ function U(E) {
797
+ return D(E) === d;
723
798
  }
724
- function Z(N) {
725
- return w(N) === l;
799
+ function J(E) {
800
+ return D(E) === l;
726
801
  }
727
- Y.AsyncMode = a, Y.ConcurrentMode = M, Y.ContextConsumer = i, Y.ContextProvider = u, Y.Element = c, Y.ForwardRef = _, Y.Fragment = R, Y.Lazy = H, Y.Memo = V, Y.Portal = X, Y.Profiler = Q, Y.StrictMode = B, Y.Suspense = ee, Y.isAsyncMode = le, Y.isConcurrentMode = v, Y.isContextConsumer = P, Y.isContextProvider = j, Y.isElement = k, Y.isForwardRef = $, Y.isFragment = A, Y.isLazy = O, Y.isMemo = W, Y.isPortal = q, Y.isProfiler = F, Y.isStrictMode = L, Y.isSuspense = Z, Y.isValidElementType = C, Y.typeOf = w;
728
- })()), Y;
802
+ F.AsyncMode = a, F.ConcurrentMode = P, F.ContextConsumer = i, F.ContextProvider = u, F.Element = M, F.ForwardRef = $, F.Fragment = R, F.Lazy = V, F.Memo = G, F.Portal = X, F.Profiler = Q, F.StrictMode = m, F.Suspense = B, F.isAsyncMode = le, F.isConcurrentMode = C, F.isContextConsumer = I, F.isContextProvider = A, F.isElement = W, F.isForwardRef = O, F.isFragment = L, F.isLazy = k, F.isMemo = j, F.isPortal = q, F.isProfiler = K, F.isStrictMode = U, F.isSuspense = J, F.isValidElementType = S, F.typeOf = D;
803
+ })()), F;
729
804
  }
730
- var qe;
731
- function dt() {
732
- return qe || (qe = 1, process.env.NODE_ENV === "production" ? me.exports = Wt() : me.exports = jt()), me.exports;
805
+ var Ue;
806
+ function gt() {
807
+ return Ue || (Ue = 1, process.env.NODE_ENV === "production" ? pe.exports = qt() : pe.exports = Ut()), pe.exports;
733
808
  }
734
- var De, Le;
735
- function At() {
736
- if (Le) return De;
737
- Le = 1;
738
- var e = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
739
- function n(o) {
809
+ var Te, Ye;
810
+ function Yt() {
811
+ if (Ye) return Te;
812
+ Ye = 1;
813
+ var e = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
814
+ function r(o) {
740
815
  if (o == null)
741
816
  throw new TypeError("Object.assign cannot be called with null or undefined");
742
817
  return Object(o);
@@ -748,120 +823,120 @@ function At() {
748
823
  var o = new String("abc");
749
824
  if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
750
825
  return !1;
751
- for (var f = {}, g = 0; g < 10; g++)
752
- f["_" + String.fromCharCode(g)] = g;
753
- var T = Object.getOwnPropertyNames(f).map(function(b) {
754
- return f[b];
826
+ for (var c = {}, f = 0; f < 10; f++)
827
+ c["_" + String.fromCharCode(f)] = f;
828
+ var w = Object.getOwnPropertyNames(c).map(function(v) {
829
+ return c[v];
755
830
  });
756
- if (T.join("") !== "0123456789")
831
+ if (w.join("") !== "0123456789")
757
832
  return !1;
758
- var S = {};
759
- return "abcdefghijklmnopqrst".split("").forEach(function(b) {
760
- S[b] = b;
761
- }), Object.keys(Object.assign({}, S)).join("") === "abcdefghijklmnopqrst";
833
+ var b = {};
834
+ return "abcdefghijklmnopqrst".split("").forEach(function(v) {
835
+ b[v] = v;
836
+ }), Object.keys(Object.assign({}, b)).join("") === "abcdefghijklmnopqrst";
762
837
  } catch {
763
838
  return !1;
764
839
  }
765
840
  }
766
- return De = d() ? Object.assign : function(o, f) {
767
- for (var g, T = n(o), S, b = 1; b < arguments.length; b++) {
768
- g = Object(arguments[b]);
769
- for (var l in g)
770
- s.call(g, l) && (T[l] = g[l]);
841
+ return Te = d() ? Object.assign : function(o, c) {
842
+ for (var f, w = r(o), b, v = 1; v < arguments.length; v++) {
843
+ f = Object(arguments[v]);
844
+ for (var l in f)
845
+ s.call(f, l) && (w[l] = f[l]);
771
846
  if (e) {
772
- S = e(g);
773
- for (var p = 0; p < S.length; p++)
774
- r.call(g, S[p]) && (T[S[p]] = g[S[p]]);
847
+ b = e(f);
848
+ for (var y = 0; y < b.length; y++)
849
+ n.call(f, b[y]) && (w[b[y]] = f[b[y]]);
775
850
  }
776
851
  }
777
- return T;
778
- }, De;
779
- }
780
- var Te, Ue;
781
- function $e() {
782
- if (Ue) return Te;
783
- Ue = 1;
784
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
785
- return Te = e, Te;
786
- }
787
- var Ee, Ye;
788
- function ut() {
789
- return Ye || (Ye = 1, Ee = Function.call.bind(Object.prototype.hasOwnProperty)), Ee;
852
+ return w;
853
+ }, Te;
790
854
  }
791
855
  var Ne, Fe;
792
- function qt() {
856
+ function ke() {
793
857
  if (Fe) return Ne;
794
858
  Fe = 1;
859
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
860
+ return Ne = e, Ne;
861
+ }
862
+ var Ee, Ke;
863
+ function mt() {
864
+ return Ke || (Ke = 1, Ee = Function.call.bind(Object.prototype.hasOwnProperty)), Ee;
865
+ }
866
+ var _e, ze;
867
+ function Ft() {
868
+ if (ze) return _e;
869
+ ze = 1;
795
870
  var e = function() {
796
871
  };
797
872
  if (process.env.NODE_ENV !== "production") {
798
- var s = /* @__PURE__ */ $e(), r = {}, n = /* @__PURE__ */ ut();
873
+ var s = /* @__PURE__ */ ke(), n = {}, r = /* @__PURE__ */ mt();
799
874
  e = function(o) {
800
- var f = "Warning: " + o;
801
- typeof console < "u" && console.error(f);
875
+ var c = "Warning: " + o;
876
+ typeof console < "u" && console.error(c);
802
877
  try {
803
- throw new Error(f);
878
+ throw new Error(c);
804
879
  } catch {
805
880
  }
806
881
  };
807
882
  }
808
- function d(o, f, g, T, S) {
883
+ function d(o, c, f, w, b) {
809
884
  if (process.env.NODE_ENV !== "production") {
810
- for (var b in o)
811
- if (n(o, b)) {
885
+ for (var v in o)
886
+ if (r(o, v)) {
812
887
  var l;
813
888
  try {
814
- if (typeof o[b] != "function") {
815
- var p = Error(
816
- (T || "React class") + ": " + g + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
889
+ if (typeof o[v] != "function") {
890
+ var y = Error(
891
+ (w || "React class") + ": " + f + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
817
892
  );
818
- throw p.name = "Invariant Violation", p;
893
+ throw y.name = "Invariant Violation", y;
819
894
  }
820
- l = o[b](f, b, T, g, null, s);
821
- } catch (D) {
822
- l = D;
895
+ l = o[v](c, v, w, f, null, s);
896
+ } catch (T) {
897
+ l = T;
823
898
  }
824
899
  if (l && !(l instanceof Error) && e(
825
- (T || "React class") + ": type specification of " + g + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
826
- ), l instanceof Error && !(l.message in r)) {
827
- r[l.message] = !0;
828
- var m = S ? S() : "";
900
+ (w || "React class") + ": type specification of " + f + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
901
+ ), l instanceof Error && !(l.message in n)) {
902
+ n[l.message] = !0;
903
+ var p = b ? b() : "";
829
904
  e(
830
- "Failed " + g + " type: " + l.message + (m ?? "")
905
+ "Failed " + f + " type: " + l.message + (p ?? "")
831
906
  );
832
907
  }
833
908
  }
834
909
  }
835
910
  }
836
911
  return d.resetWarningCache = function() {
837
- process.env.NODE_ENV !== "production" && (r = {});
838
- }, Ne = d, Ne;
912
+ process.env.NODE_ENV !== "production" && (n = {});
913
+ }, _e = d, _e;
839
914
  }
840
- var _e, Ke;
841
- function Lt() {
842
- if (Ke) return _e;
843
- Ke = 1;
844
- var e = dt(), s = At(), r = /* @__PURE__ */ $e(), n = /* @__PURE__ */ ut(), d = /* @__PURE__ */ qt(), o = function() {
915
+ var Me, Be;
916
+ function Kt() {
917
+ if (Be) return Me;
918
+ Be = 1;
919
+ var e = gt(), s = Yt(), n = /* @__PURE__ */ ke(), r = /* @__PURE__ */ mt(), d = /* @__PURE__ */ Ft(), o = function() {
845
920
  };
846
- process.env.NODE_ENV !== "production" && (o = function(g) {
847
- var T = "Warning: " + g;
848
- typeof console < "u" && console.error(T);
921
+ process.env.NODE_ENV !== "production" && (o = function(f) {
922
+ var w = "Warning: " + f;
923
+ typeof console < "u" && console.error(w);
849
924
  try {
850
- throw new Error(T);
925
+ throw new Error(w);
851
926
  } catch {
852
927
  }
853
928
  });
854
- function f() {
929
+ function c() {
855
930
  return null;
856
931
  }
857
- return _e = function(g, T) {
858
- var S = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
859
- function l(v) {
860
- var P = v && (S && v[S] || v[b]);
861
- if (typeof P == "function")
862
- return P;
863
- }
864
- var p = "<<anonymous>>", m = {
932
+ return Me = function(f, w) {
933
+ var b = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
934
+ function l(C) {
935
+ var I = C && (b && C[b] || C[v]);
936
+ if (typeof I == "function")
937
+ return I;
938
+ }
939
+ var y = "<<anonymous>>", p = {
865
940
  array: x("array"),
866
941
  bigint: x("bigint"),
867
942
  bool: x("boolean"),
@@ -870,246 +945,246 @@ function Lt() {
870
945
  object: x("object"),
871
946
  string: x("string"),
872
947
  symbol: x("symbol"),
873
- any: E(),
874
- arrayOf: C,
875
- element: w(),
948
+ any: N(),
949
+ arrayOf: S,
950
+ element: D(),
876
951
  elementType: a(),
877
- instanceOf: M,
878
- node: _(),
952
+ instanceOf: P,
953
+ node: $(),
879
954
  objectOf: u,
880
955
  oneOf: i,
881
- oneOfType: c,
882
- shape: H,
883
- exact: V
956
+ oneOfType: M,
957
+ shape: V,
958
+ exact: G
884
959
  };
885
- function D(v, P) {
886
- return v === P ? v !== 0 || 1 / v === 1 / P : v !== v && P !== P;
960
+ function T(C, I) {
961
+ return C === I ? C !== 0 || 1 / C === 1 / I : C !== C && I !== I;
887
962
  }
888
- function h(v, P) {
889
- this.message = v, this.data = P && typeof P == "object" ? P : {}, this.stack = "";
963
+ function h(C, I) {
964
+ this.message = C, this.data = I && typeof I == "object" ? I : {}, this.stack = "";
890
965
  }
891
966
  h.prototype = Error.prototype;
892
- function y(v) {
967
+ function g(C) {
893
968
  if (process.env.NODE_ENV !== "production")
894
- var P = {}, j = 0;
895
- function k(A, O, W, q, F, L, Z) {
896
- if (q = q || p, L = L || W, Z !== r) {
897
- if (T) {
898
- var N = new Error(
969
+ var I = {}, A = 0;
970
+ function W(L, k, j, q, K, U, J) {
971
+ if (q = q || y, U = U || j, J !== n) {
972
+ if (w) {
973
+ var E = new Error(
899
974
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
900
975
  );
901
- throw N.name = "Invariant Violation", N;
976
+ throw E.name = "Invariant Violation", E;
902
977
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
903
- var te = q + ":" + W;
904
- !P[te] && // Avoid spamming the console because they are often not actionable except for lib authors
905
- j < 3 && (o(
906
- "You are manually calling a React.PropTypes validation function for the `" + L + "` prop on `" + q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
907
- ), P[te] = !0, j++);
978
+ var ne = q + ":" + j;
979
+ !I[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
980
+ A < 3 && (o(
981
+ "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
982
+ ), I[ne] = !0, A++);
908
983
  }
909
984
  }
910
- return O[W] == null ? A ? O[W] === null ? new h("The " + F + " `" + L + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new h("The " + F + " `" + L + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : v(O, W, q, F, L);
985
+ return k[j] == null ? L ? k[j] === null ? new h("The " + K + " `" + U + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new h("The " + K + " `" + U + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : C(k, j, q, K, U);
911
986
  }
912
- var $ = k.bind(null, !1);
913
- return $.isRequired = k.bind(null, !0), $;
914
- }
915
- function x(v) {
916
- function P(j, k, $, A, O, W) {
917
- var q = j[k], F = B(q);
918
- if (F !== v) {
919
- var L = ee(q);
987
+ var O = W.bind(null, !1);
988
+ return O.isRequired = W.bind(null, !0), O;
989
+ }
990
+ function x(C) {
991
+ function I(A, W, O, L, k, j) {
992
+ var q = A[W], K = m(q);
993
+ if (K !== C) {
994
+ var U = B(q);
920
995
  return new h(
921
- "Invalid " + A + " `" + O + "` of type " + ("`" + L + "` supplied to `" + $ + "`, expected ") + ("`" + v + "`."),
922
- { expectedType: v }
996
+ "Invalid " + L + " `" + k + "` of type " + ("`" + U + "` supplied to `" + O + "`, expected ") + ("`" + C + "`."),
997
+ { expectedType: C }
923
998
  );
924
999
  }
925
1000
  return null;
926
1001
  }
927
- return y(P);
928
- }
929
- function E() {
930
- return y(f);
931
- }
932
- function C(v) {
933
- function P(j, k, $, A, O) {
934
- if (typeof v != "function")
935
- return new h("Property `" + O + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
936
- var W = j[k];
937
- if (!Array.isArray(W)) {
938
- var q = B(W);
939
- return new h("Invalid " + A + " `" + O + "` of type " + ("`" + q + "` supplied to `" + $ + "`, expected an array."));
1002
+ return g(I);
1003
+ }
1004
+ function N() {
1005
+ return g(c);
1006
+ }
1007
+ function S(C) {
1008
+ function I(A, W, O, L, k) {
1009
+ if (typeof C != "function")
1010
+ return new h("Property `" + k + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
1011
+ var j = A[W];
1012
+ if (!Array.isArray(j)) {
1013
+ var q = m(j);
1014
+ return new h("Invalid " + L + " `" + k + "` of type " + ("`" + q + "` supplied to `" + O + "`, expected an array."));
940
1015
  }
941
- for (var F = 0; F < W.length; F++) {
942
- var L = v(W, F, $, A, O + "[" + F + "]", r);
943
- if (L instanceof Error)
944
- return L;
1016
+ for (var K = 0; K < j.length; K++) {
1017
+ var U = C(j, K, O, L, k + "[" + K + "]", n);
1018
+ if (U instanceof Error)
1019
+ return U;
945
1020
  }
946
1021
  return null;
947
1022
  }
948
- return y(P);
949
- }
950
- function w() {
951
- function v(P, j, k, $, A) {
952
- var O = P[j];
953
- if (!g(O)) {
954
- var W = B(O);
955
- return new h("Invalid " + $ + " `" + A + "` of type " + ("`" + W + "` supplied to `" + k + "`, expected a single ReactElement."));
1023
+ return g(I);
1024
+ }
1025
+ function D() {
1026
+ function C(I, A, W, O, L) {
1027
+ var k = I[A];
1028
+ if (!f(k)) {
1029
+ var j = m(k);
1030
+ return new h("Invalid " + O + " `" + L + "` of type " + ("`" + j + "` supplied to `" + W + "`, expected a single ReactElement."));
956
1031
  }
957
1032
  return null;
958
1033
  }
959
- return y(v);
1034
+ return g(C);
960
1035
  }
961
1036
  function a() {
962
- function v(P, j, k, $, A) {
963
- var O = P[j];
964
- if (!e.isValidElementType(O)) {
965
- var W = B(O);
966
- return new h("Invalid " + $ + " `" + A + "` of type " + ("`" + W + "` supplied to `" + k + "`, expected a single ReactElement type."));
1037
+ function C(I, A, W, O, L) {
1038
+ var k = I[A];
1039
+ if (!e.isValidElementType(k)) {
1040
+ var j = m(k);
1041
+ return new h("Invalid " + O + " `" + L + "` of type " + ("`" + j + "` supplied to `" + W + "`, expected a single ReactElement type."));
967
1042
  }
968
1043
  return null;
969
1044
  }
970
- return y(v);
1045
+ return g(C);
971
1046
  }
972
- function M(v) {
973
- function P(j, k, $, A, O) {
974
- if (!(j[k] instanceof v)) {
975
- var W = v.name || p, q = le(j[k]);
976
- return new h("Invalid " + A + " `" + O + "` of type " + ("`" + q + "` supplied to `" + $ + "`, expected ") + ("instance of `" + W + "`."));
1047
+ function P(C) {
1048
+ function I(A, W, O, L, k) {
1049
+ if (!(A[W] instanceof C)) {
1050
+ var j = C.name || y, q = le(A[W]);
1051
+ return new h("Invalid " + L + " `" + k + "` of type " + ("`" + q + "` supplied to `" + O + "`, expected ") + ("instance of `" + j + "`."));
977
1052
  }
978
1053
  return null;
979
1054
  }
980
- return y(P);
1055
+ return g(I);
981
1056
  }
982
- function i(v) {
983
- if (!Array.isArray(v))
1057
+ function i(C) {
1058
+ if (!Array.isArray(C))
984
1059
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
985
1060
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
986
- ) : o("Invalid argument supplied to oneOf, expected an array.")), f;
987
- function P(j, k, $, A, O) {
988
- for (var W = j[k], q = 0; q < v.length; q++)
989
- if (D(W, v[q]))
1061
+ ) : o("Invalid argument supplied to oneOf, expected an array.")), c;
1062
+ function I(A, W, O, L, k) {
1063
+ for (var j = A[W], q = 0; q < C.length; q++)
1064
+ if (T(j, C[q]))
990
1065
  return null;
991
- var F = JSON.stringify(v, function(Z, N) {
992
- var te = ee(N);
993
- return te === "symbol" ? String(N) : N;
1066
+ var K = JSON.stringify(C, function(J, E) {
1067
+ var ne = B(E);
1068
+ return ne === "symbol" ? String(E) : E;
994
1069
  });
995
- return new h("Invalid " + A + " `" + O + "` of value `" + String(W) + "` " + ("supplied to `" + $ + "`, expected one of " + F + "."));
1070
+ return new h("Invalid " + L + " `" + k + "` of value `" + String(j) + "` " + ("supplied to `" + O + "`, expected one of " + K + "."));
996
1071
  }
997
- return y(P);
1072
+ return g(I);
998
1073
  }
999
- function u(v) {
1000
- function P(j, k, $, A, O) {
1001
- if (typeof v != "function")
1002
- return new h("Property `" + O + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
1003
- var W = j[k], q = B(W);
1074
+ function u(C) {
1075
+ function I(A, W, O, L, k) {
1076
+ if (typeof C != "function")
1077
+ return new h("Property `" + k + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
1078
+ var j = A[W], q = m(j);
1004
1079
  if (q !== "object")
1005
- return new h("Invalid " + A + " `" + O + "` of type " + ("`" + q + "` supplied to `" + $ + "`, expected an object."));
1006
- for (var F in W)
1007
- if (n(W, F)) {
1008
- var L = v(W, F, $, A, O + "." + F, r);
1009
- if (L instanceof Error)
1010
- return L;
1080
+ return new h("Invalid " + L + " `" + k + "` of type " + ("`" + q + "` supplied to `" + O + "`, expected an object."));
1081
+ for (var K in j)
1082
+ if (r(j, K)) {
1083
+ var U = C(j, K, O, L, k + "." + K, n);
1084
+ if (U instanceof Error)
1085
+ return U;
1011
1086
  }
1012
1087
  return null;
1013
1088
  }
1014
- return y(P);
1015
- }
1016
- function c(v) {
1017
- if (!Array.isArray(v))
1018
- return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), f;
1019
- for (var P = 0; P < v.length; P++) {
1020
- var j = v[P];
1021
- if (typeof j != "function")
1089
+ return g(I);
1090
+ }
1091
+ function M(C) {
1092
+ if (!Array.isArray(C))
1093
+ return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), c;
1094
+ for (var I = 0; I < C.length; I++) {
1095
+ var A = C[I];
1096
+ if (typeof A != "function")
1022
1097
  return o(
1023
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ie(j) + " at index " + P + "."
1024
- ), f;
1098
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + te(A) + " at index " + I + "."
1099
+ ), c;
1025
1100
  }
1026
- function k($, A, O, W, q) {
1027
- for (var F = [], L = 0; L < v.length; L++) {
1028
- var Z = v[L], N = Z($, A, O, W, q, r);
1029
- if (N == null)
1101
+ function W(O, L, k, j, q) {
1102
+ for (var K = [], U = 0; U < C.length; U++) {
1103
+ var J = C[U], E = J(O, L, k, j, q, n);
1104
+ if (E == null)
1030
1105
  return null;
1031
- N.data && n(N.data, "expectedType") && F.push(N.data.expectedType);
1106
+ E.data && r(E.data, "expectedType") && K.push(E.data.expectedType);
1032
1107
  }
1033
- var te = F.length > 0 ? ", expected one of type [" + F.join(", ") + "]" : "";
1034
- return new h("Invalid " + W + " `" + q + "` supplied to " + ("`" + O + "`" + te + "."));
1108
+ var ne = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
1109
+ return new h("Invalid " + j + " `" + q + "` supplied to " + ("`" + k + "`" + ne + "."));
1035
1110
  }
1036
- return y(k);
1111
+ return g(W);
1037
1112
  }
1038
- function _() {
1039
- function v(P, j, k, $, A) {
1040
- return X(P[j]) ? null : new h("Invalid " + $ + " `" + A + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
1113
+ function $() {
1114
+ function C(I, A, W, O, L) {
1115
+ return X(I[A]) ? null : new h("Invalid " + O + " `" + L + "` supplied to " + ("`" + W + "`, expected a ReactNode."));
1041
1116
  }
1042
- return y(v);
1117
+ return g(C);
1043
1118
  }
1044
- function R(v, P, j, k, $) {
1119
+ function R(C, I, A, W, O) {
1045
1120
  return new h(
1046
- (v || "React class") + ": " + P + " type `" + j + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
1121
+ (C || "React class") + ": " + I + " type `" + A + "." + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
1047
1122
  );
1048
1123
  }
1049
- function H(v) {
1050
- function P(j, k, $, A, O) {
1051
- var W = j[k], q = B(W);
1124
+ function V(C) {
1125
+ function I(A, W, O, L, k) {
1126
+ var j = A[W], q = m(j);
1052
1127
  if (q !== "object")
1053
- return new h("Invalid " + A + " `" + O + "` of type `" + q + "` " + ("supplied to `" + $ + "`, expected `object`."));
1054
- for (var F in v) {
1055
- var L = v[F];
1056
- if (typeof L != "function")
1057
- return R($, A, O, F, ee(L));
1058
- var Z = L(W, F, $, A, O + "." + F, r);
1059
- if (Z)
1060
- return Z;
1128
+ return new h("Invalid " + L + " `" + k + "` of type `" + q + "` " + ("supplied to `" + O + "`, expected `object`."));
1129
+ for (var K in C) {
1130
+ var U = C[K];
1131
+ if (typeof U != "function")
1132
+ return R(O, L, k, K, B(U));
1133
+ var J = U(j, K, O, L, k + "." + K, n);
1134
+ if (J)
1135
+ return J;
1061
1136
  }
1062
1137
  return null;
1063
1138
  }
1064
- return y(P);
1139
+ return g(I);
1065
1140
  }
1066
- function V(v) {
1067
- function P(j, k, $, A, O) {
1068
- var W = j[k], q = B(W);
1141
+ function G(C) {
1142
+ function I(A, W, O, L, k) {
1143
+ var j = A[W], q = m(j);
1069
1144
  if (q !== "object")
1070
- return new h("Invalid " + A + " `" + O + "` of type `" + q + "` " + ("supplied to `" + $ + "`, expected `object`."));
1071
- var F = s({}, j[k], v);
1072
- for (var L in F) {
1073
- var Z = v[L];
1074
- if (n(v, L) && typeof Z != "function")
1075
- return R($, A, O, L, ee(Z));
1076
- if (!Z)
1145
+ return new h("Invalid " + L + " `" + k + "` of type `" + q + "` " + ("supplied to `" + O + "`, expected `object`."));
1146
+ var K = s({}, A[W], C);
1147
+ for (var U in K) {
1148
+ var J = C[U];
1149
+ if (r(C, U) && typeof J != "function")
1150
+ return R(O, L, k, U, B(J));
1151
+ if (!J)
1077
1152
  return new h(
1078
- "Invalid " + A + " `" + O + "` key `" + L + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(j[k], null, " ") + `
1079
- Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
1153
+ "Invalid " + L + " `" + k + "` key `" + U + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(A[W], null, " ") + `
1154
+ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1080
1155
  );
1081
- var N = Z(W, L, $, A, O + "." + L, r);
1082
- if (N)
1083
- return N;
1156
+ var E = J(j, U, O, L, k + "." + U, n);
1157
+ if (E)
1158
+ return E;
1084
1159
  }
1085
1160
  return null;
1086
1161
  }
1087
- return y(P);
1162
+ return g(I);
1088
1163
  }
1089
- function X(v) {
1090
- switch (typeof v) {
1164
+ function X(C) {
1165
+ switch (typeof C) {
1091
1166
  case "number":
1092
1167
  case "string":
1093
1168
  case "undefined":
1094
1169
  return !0;
1095
1170
  case "boolean":
1096
- return !v;
1171
+ return !C;
1097
1172
  case "object":
1098
- if (Array.isArray(v))
1099
- return v.every(X);
1100
- if (v === null || g(v))
1173
+ if (Array.isArray(C))
1174
+ return C.every(X);
1175
+ if (C === null || f(C))
1101
1176
  return !0;
1102
- var P = l(v);
1103
- if (P) {
1104
- var j = P.call(v), k;
1105
- if (P !== v.entries) {
1106
- for (; !(k = j.next()).done; )
1107
- if (!X(k.value))
1177
+ var I = l(C);
1178
+ if (I) {
1179
+ var A = I.call(C), W;
1180
+ if (I !== C.entries) {
1181
+ for (; !(W = A.next()).done; )
1182
+ if (!X(W.value))
1108
1183
  return !1;
1109
1184
  } else
1110
- for (; !(k = j.next()).done; ) {
1111
- var $ = k.value;
1112
- if ($ && !X($[1]))
1185
+ for (; !(W = A.next()).done; ) {
1186
+ var O = W.value;
1187
+ if (O && !X(O[1]))
1113
1188
  return !1;
1114
1189
  }
1115
1190
  } else
@@ -1119,302 +1194,302 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
1119
1194
  return !1;
1120
1195
  }
1121
1196
  }
1122
- function Q(v, P) {
1123
- return v === "symbol" ? !0 : P ? P["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && P instanceof Symbol : !1;
1197
+ function Q(C, I) {
1198
+ return C === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
1124
1199
  }
1125
- function B(v) {
1126
- var P = typeof v;
1127
- return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : Q(P, v) ? "symbol" : P;
1200
+ function m(C) {
1201
+ var I = typeof C;
1202
+ return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : Q(I, C) ? "symbol" : I;
1128
1203
  }
1129
- function ee(v) {
1130
- if (typeof v > "u" || v === null)
1131
- return "" + v;
1132
- var P = B(v);
1133
- if (P === "object") {
1134
- if (v instanceof Date)
1204
+ function B(C) {
1205
+ if (typeof C > "u" || C === null)
1206
+ return "" + C;
1207
+ var I = m(C);
1208
+ if (I === "object") {
1209
+ if (C instanceof Date)
1135
1210
  return "date";
1136
- if (v instanceof RegExp)
1211
+ if (C instanceof RegExp)
1137
1212
  return "regexp";
1138
1213
  }
1139
- return P;
1214
+ return I;
1140
1215
  }
1141
- function ie(v) {
1142
- var P = ee(v);
1143
- switch (P) {
1216
+ function te(C) {
1217
+ var I = B(C);
1218
+ switch (I) {
1144
1219
  case "array":
1145
1220
  case "object":
1146
- return "an " + P;
1221
+ return "an " + I;
1147
1222
  case "boolean":
1148
1223
  case "date":
1149
1224
  case "regexp":
1150
- return "a " + P;
1225
+ return "a " + I;
1151
1226
  default:
1152
- return P;
1227
+ return I;
1153
1228
  }
1154
1229
  }
1155
- function le(v) {
1156
- return !v.constructor || !v.constructor.name ? p : v.constructor.name;
1230
+ function le(C) {
1231
+ return !C.constructor || !C.constructor.name ? y : C.constructor.name;
1157
1232
  }
1158
- return m.checkPropTypes = d, m.resetWarningCache = d.resetWarningCache, m.PropTypes = m, m;
1159
- }, _e;
1233
+ return p.checkPropTypes = d, p.resetWarningCache = d.resetWarningCache, p.PropTypes = p, p;
1234
+ }, Me;
1160
1235
  }
1161
- var Me, ze;
1162
- function Ut() {
1163
- if (ze) return Me;
1164
- ze = 1;
1165
- var e = /* @__PURE__ */ $e();
1236
+ var Pe, He;
1237
+ function zt() {
1238
+ if (He) return Pe;
1239
+ He = 1;
1240
+ var e = /* @__PURE__ */ ke();
1166
1241
  function s() {
1167
1242
  }
1168
- function r() {
1243
+ function n() {
1169
1244
  }
1170
- return r.resetWarningCache = s, Me = function() {
1171
- function n(f, g, T, S, b, l) {
1245
+ return n.resetWarningCache = s, Pe = function() {
1246
+ function r(c, f, w, b, v, l) {
1172
1247
  if (l !== e) {
1173
- var p = new Error(
1248
+ var y = new Error(
1174
1249
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1175
1250
  );
1176
- throw p.name = "Invariant Violation", p;
1251
+ throw y.name = "Invariant Violation", y;
1177
1252
  }
1178
1253
  }
1179
- n.isRequired = n;
1254
+ r.isRequired = r;
1180
1255
  function d() {
1181
- return n;
1256
+ return r;
1182
1257
  }
1183
1258
  var o = {
1184
- array: n,
1185
- bigint: n,
1186
- bool: n,
1187
- func: n,
1188
- number: n,
1189
- object: n,
1190
- string: n,
1191
- symbol: n,
1192
- any: n,
1259
+ array: r,
1260
+ bigint: r,
1261
+ bool: r,
1262
+ func: r,
1263
+ number: r,
1264
+ object: r,
1265
+ string: r,
1266
+ symbol: r,
1267
+ any: r,
1193
1268
  arrayOf: d,
1194
- element: n,
1195
- elementType: n,
1269
+ element: r,
1270
+ elementType: r,
1196
1271
  instanceOf: d,
1197
- node: n,
1272
+ node: r,
1198
1273
  objectOf: d,
1199
1274
  oneOf: d,
1200
1275
  oneOfType: d,
1201
1276
  shape: d,
1202
1277
  exact: d,
1203
- checkPropTypes: r,
1278
+ checkPropTypes: n,
1204
1279
  resetWarningCache: s
1205
1280
  };
1206
1281
  return o.PropTypes = o, o;
1207
- }, Me;
1282
+ }, Pe;
1208
1283
  }
1209
- var Be;
1210
- function ft() {
1211
- if (Be) return ge.exports;
1212
- if (Be = 1, process.env.NODE_ENV !== "production") {
1213
- var e = dt(), s = !0;
1214
- ge.exports = /* @__PURE__ */ Lt()(e.isElement, s);
1284
+ var Ve;
1285
+ function pt() {
1286
+ if (Ve) return me.exports;
1287
+ if (Ve = 1, process.env.NODE_ENV !== "production") {
1288
+ var e = gt(), s = !0;
1289
+ me.exports = /* @__PURE__ */ Kt()(e.isElement, s);
1215
1290
  } else
1216
- ge.exports = /* @__PURE__ */ Ut()();
1217
- return ge.exports;
1291
+ me.exports = /* @__PURE__ */ zt()();
1292
+ return me.exports;
1218
1293
  }
1219
- var pe = { exports: {} }, He;
1220
- function Yt() {
1221
- if (He) return pe.exports;
1222
- He = 1;
1223
- function e(r) {
1224
- var n, d, o = "";
1225
- if (typeof r == "string" || typeof r == "number") o += r;
1226
- else if (typeof r == "object") if (Array.isArray(r)) {
1227
- var f = r.length;
1228
- for (n = 0; n < f; n++) r[n] && (d = e(r[n])) && (o && (o += " "), o += d);
1229
- } else for (d in r) r[d] && (o && (o += " "), o += d);
1294
+ var ye = { exports: {} }, Xe;
1295
+ function Bt() {
1296
+ if (Xe) return ye.exports;
1297
+ Xe = 1;
1298
+ function e(n) {
1299
+ var r, d, o = "";
1300
+ if (typeof n == "string" || typeof n == "number") o += n;
1301
+ else if (typeof n == "object") if (Array.isArray(n)) {
1302
+ var c = n.length;
1303
+ for (r = 0; r < c; r++) n[r] && (d = e(n[r])) && (o && (o += " "), o += d);
1304
+ } else for (d in n) n[d] && (o && (o += " "), o += d);
1230
1305
  return o;
1231
1306
  }
1232
1307
  function s() {
1233
- for (var r, n, d = 0, o = "", f = arguments.length; d < f; d++) (r = arguments[d]) && (n = e(r)) && (o && (o += " "), o += n);
1308
+ for (var n, r, d = 0, o = "", c = arguments.length; d < c; d++) (n = arguments[d]) && (r = e(n)) && (o && (o += " "), o += r);
1234
1309
  return o;
1235
1310
  }
1236
- return pe.exports = s, pe.exports.clsx = s, pe.exports;
1311
+ return ye.exports = s, ye.exports.clsx = s, ye.exports;
1237
1312
  }
1238
- var z = {}, ne = {}, Ve;
1239
- function xe() {
1240
- if (Ve) return ne;
1241
- Ve = 1, Object.defineProperty(ne, "__esModule", {
1313
+ var H = {}, ie = {}, Ge;
1314
+ function Ce() {
1315
+ if (Ge) return ie;
1316
+ Ge = 1, Object.defineProperty(ie, "__esModule", {
1242
1317
  value: !0
1243
- }), ne.dontSetMe = d, ne.findInArray = e, ne.int = n, ne.isFunction = s, ne.isNum = r;
1244
- function e(o, f) {
1245
- for (let g = 0, T = o.length; g < T; g++)
1246
- if (f.apply(f, [o[g], g, o])) return o[g];
1318
+ }), ie.dontSetMe = d, ie.findInArray = e, ie.int = r, ie.isFunction = s, ie.isNum = n;
1319
+ function e(o, c) {
1320
+ for (let f = 0, w = o.length; f < w; f++)
1321
+ if (c.apply(c, [o[f], f, o])) return o[f];
1247
1322
  }
1248
1323
  function s(o) {
1249
1324
  return typeof o == "function" || Object.prototype.toString.call(o) === "[object Function]";
1250
1325
  }
1251
- function r(o) {
1326
+ function n(o) {
1252
1327
  return typeof o == "number" && !isNaN(o);
1253
1328
  }
1254
- function n(o) {
1329
+ function r(o) {
1255
1330
  return parseInt(o, 10);
1256
1331
  }
1257
- function d(o, f, g) {
1258
- if (o[f])
1259
- return new Error(`Invalid prop ${f} passed to ${g} - do not set this, set it on the child.`);
1332
+ function d(o, c, f) {
1333
+ if (o[c])
1334
+ return new Error(`Invalid prop ${c} passed to ${f} - do not set this, set it on the child.`);
1260
1335
  }
1261
- return ne;
1336
+ return ie;
1262
1337
  }
1263
- var oe = {}, Xe;
1264
- function Ft() {
1265
- if (Xe) return oe;
1266
- Xe = 1, Object.defineProperty(oe, "__esModule", {
1338
+ var ae = {}, Ze;
1339
+ function Ht() {
1340
+ if (Ze) return ae;
1341
+ Ze = 1, Object.defineProperty(ae, "__esModule", {
1267
1342
  value: !0
1268
- }), oe.browserPrefixToKey = r, oe.browserPrefixToStyle = n, oe.default = void 0, oe.getPrefix = s;
1343
+ }), ae.browserPrefixToKey = n, ae.browserPrefixToStyle = r, ae.default = void 0, ae.getPrefix = s;
1269
1344
  const e = ["Moz", "Webkit", "O", "ms"];
1270
1345
  function s() {
1271
1346
  let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
1272
1347
  if (typeof window > "u") return "";
1273
- const f = window.document?.documentElement?.style;
1274
- if (!f || o in f) return "";
1275
- for (let g = 0; g < e.length; g++)
1276
- if (r(o, e[g]) in f) return e[g];
1348
+ const c = window.document?.documentElement?.style;
1349
+ if (!c || o in c) return "";
1350
+ for (let f = 0; f < e.length; f++)
1351
+ if (n(o, e[f]) in c) return e[f];
1277
1352
  return "";
1278
1353
  }
1279
- function r(o, f) {
1280
- return f ? `${f}${d(o)}` : o;
1354
+ function n(o, c) {
1355
+ return c ? `${c}${d(o)}` : o;
1281
1356
  }
1282
- function n(o, f) {
1283
- return f ? `-${f.toLowerCase()}-${o}` : o;
1357
+ function r(o, c) {
1358
+ return c ? `-${c.toLowerCase()}-${o}` : o;
1284
1359
  }
1285
1360
  function d(o) {
1286
- let f = "", g = !0;
1287
- for (let T = 0; T < o.length; T++)
1288
- g ? (f += o[T].toUpperCase(), g = !1) : o[T] === "-" ? g = !0 : f += o[T];
1289
- return f;
1361
+ let c = "", f = !0;
1362
+ for (let w = 0; w < o.length; w++)
1363
+ f ? (c += o[w].toUpperCase(), f = !1) : o[w] === "-" ? f = !0 : c += o[w];
1364
+ return c;
1290
1365
  }
1291
- return oe.default = s(), oe;
1366
+ return ae.default = s(), ae;
1292
1367
  }
1293
- var Ge;
1294
- function Oe() {
1295
- if (Ge) return z;
1296
- Ge = 1, Object.defineProperty(z, "__esModule", {
1368
+ var Je;
1369
+ function We() {
1370
+ if (Je) return H;
1371
+ Je = 1, Object.defineProperty(H, "__esModule", {
1297
1372
  value: !0
1298
- }), z.addClassName = a, z.addEvent = f, z.addUserSelectStyles = E, z.createCSSTransform = m, z.createSVGTransform = D, z.getTouch = y, z.getTouchIdentifier = x, z.getTranslation = h, z.innerHeight = b, z.innerWidth = l, z.matchesSelector = d, z.matchesSelectorAndParentsTo = o, z.offsetXYFromParent = p, z.outerHeight = T, z.outerWidth = S, z.removeClassName = M, z.removeEvent = g, z.scheduleRemoveUserSelectStyles = C;
1299
- var e = xe(), s = r(Ft());
1300
- function r(i, u) {
1301
- if (typeof WeakMap == "function") var c = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap();
1302
- return (r = function(R, H) {
1303
- if (!H && R && R.__esModule) return R;
1304
- var V, X, Q = { __proto__: null, default: R };
1373
+ }), H.addClassName = a, H.addEvent = c, H.addUserSelectStyles = N, H.createCSSTransform = p, H.createSVGTransform = T, H.getTouch = g, H.getTouchIdentifier = x, H.getTranslation = h, H.innerHeight = v, H.innerWidth = l, H.matchesSelector = d, H.matchesSelectorAndParentsTo = o, H.offsetXYFromParent = y, H.outerHeight = w, H.outerWidth = b, H.removeClassName = P, H.removeEvent = f, H.scheduleRemoveUserSelectStyles = S;
1374
+ var e = Ce(), s = n(Ht());
1375
+ function n(i, u) {
1376
+ if (typeof WeakMap == "function") var M = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap();
1377
+ return (n = function(R, V) {
1378
+ if (!V && R && R.__esModule) return R;
1379
+ var G, X, Q = { __proto__: null, default: R };
1305
1380
  if (R === null || typeof R != "object" && typeof R != "function") return Q;
1306
- if (V = H ? _ : c) {
1307
- if (V.has(R)) return V.get(R);
1308
- V.set(R, Q);
1381
+ if (G = V ? $ : M) {
1382
+ if (G.has(R)) return G.get(R);
1383
+ G.set(R, Q);
1309
1384
  }
1310
- for (const B in R) B !== "default" && {}.hasOwnProperty.call(R, B) && ((X = (V = Object.defineProperty) && Object.getOwnPropertyDescriptor(R, B)) && (X.get || X.set) ? V(Q, B, X) : Q[B] = R[B]);
1385
+ for (const m in R) m !== "default" && {}.hasOwnProperty.call(R, m) && ((X = (G = Object.defineProperty) && Object.getOwnPropertyDescriptor(R, m)) && (X.get || X.set) ? G(Q, m, X) : Q[m] = R[m]);
1311
1386
  return Q;
1312
1387
  })(i, u);
1313
1388
  }
1314
- let n = "";
1389
+ let r = "";
1315
1390
  function d(i, u) {
1316
- return n || (n = (0, e.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(c) {
1317
- return (0, e.isFunction)(i[c]);
1318
- })), (0, e.isFunction)(i[n]) ? i[n](u) : !1;
1391
+ return r || (r = (0, e.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(M) {
1392
+ return (0, e.isFunction)(i[M]);
1393
+ })), (0, e.isFunction)(i[r]) ? i[r](u) : !1;
1319
1394
  }
1320
- function o(i, u, c) {
1321
- let _ = i;
1395
+ function o(i, u, M) {
1396
+ let $ = i;
1322
1397
  do {
1323
- if (d(_, u)) return !0;
1324
- if (_ === c) return !1;
1325
- _ = _.parentNode;
1326
- } while (_);
1398
+ if (d($, u)) return !0;
1399
+ if ($ === M) return !1;
1400
+ $ = $.parentNode;
1401
+ } while ($);
1327
1402
  return !1;
1328
1403
  }
1329
- function f(i, u, c, _) {
1404
+ function c(i, u, M, $) {
1330
1405
  if (!i) return;
1331
1406
  const R = {
1332
1407
  capture: !0,
1333
- ..._
1408
+ ...$
1334
1409
  };
1335
- i.addEventListener ? i.addEventListener(u, c, R) : i.attachEvent ? i.attachEvent("on" + u, c) : i["on" + u] = c;
1410
+ i.addEventListener ? i.addEventListener(u, M, R) : i.attachEvent ? i.attachEvent("on" + u, M) : i["on" + u] = M;
1336
1411
  }
1337
- function g(i, u, c, _) {
1412
+ function f(i, u, M, $) {
1338
1413
  if (!i) return;
1339
1414
  const R = {
1340
1415
  capture: !0,
1341
- ..._
1416
+ ...$
1342
1417
  };
1343
- i.removeEventListener ? i.removeEventListener(u, c, R) : i.detachEvent ? i.detachEvent("on" + u, c) : i["on" + u] = null;
1418
+ i.removeEventListener ? i.removeEventListener(u, M, R) : i.detachEvent ? i.detachEvent("on" + u, M) : i["on" + u] = null;
1344
1419
  }
1345
- function T(i) {
1420
+ function w(i) {
1346
1421
  let u = i.clientHeight;
1347
- const c = i.ownerDocument.defaultView.getComputedStyle(i);
1348
- return u += (0, e.int)(c.borderTopWidth), u += (0, e.int)(c.borderBottomWidth), u;
1422
+ const M = i.ownerDocument.defaultView.getComputedStyle(i);
1423
+ return u += (0, e.int)(M.borderTopWidth), u += (0, e.int)(M.borderBottomWidth), u;
1349
1424
  }
1350
- function S(i) {
1425
+ function b(i) {
1351
1426
  let u = i.clientWidth;
1352
- const c = i.ownerDocument.defaultView.getComputedStyle(i);
1353
- return u += (0, e.int)(c.borderLeftWidth), u += (0, e.int)(c.borderRightWidth), u;
1427
+ const M = i.ownerDocument.defaultView.getComputedStyle(i);
1428
+ return u += (0, e.int)(M.borderLeftWidth), u += (0, e.int)(M.borderRightWidth), u;
1354
1429
  }
1355
- function b(i) {
1430
+ function v(i) {
1356
1431
  let u = i.clientHeight;
1357
- const c = i.ownerDocument.defaultView.getComputedStyle(i);
1358
- return u -= (0, e.int)(c.paddingTop), u -= (0, e.int)(c.paddingBottom), u;
1432
+ const M = i.ownerDocument.defaultView.getComputedStyle(i);
1433
+ return u -= (0, e.int)(M.paddingTop), u -= (0, e.int)(M.paddingBottom), u;
1359
1434
  }
1360
1435
  function l(i) {
1361
1436
  let u = i.clientWidth;
1362
- const c = i.ownerDocument.defaultView.getComputedStyle(i);
1363
- return u -= (0, e.int)(c.paddingLeft), u -= (0, e.int)(c.paddingRight), u;
1437
+ const M = i.ownerDocument.defaultView.getComputedStyle(i);
1438
+ return u -= (0, e.int)(M.paddingLeft), u -= (0, e.int)(M.paddingRight), u;
1364
1439
  }
1365
- function p(i, u, c) {
1440
+ function y(i, u, M) {
1366
1441
  const R = u === u.ownerDocument.body ? {
1367
1442
  left: 0,
1368
1443
  top: 0
1369
- } : u.getBoundingClientRect(), H = (i.clientX + u.scrollLeft - R.left) / c, V = (i.clientY + u.scrollTop - R.top) / c;
1444
+ } : u.getBoundingClientRect(), V = (i.clientX + u.scrollLeft - R.left) / M, G = (i.clientY + u.scrollTop - R.top) / M;
1370
1445
  return {
1371
- x: H,
1372
- y: V
1446
+ x: V,
1447
+ y: G
1373
1448
  };
1374
1449
  }
1375
- function m(i, u) {
1376
- const c = h(i, u, "px");
1450
+ function p(i, u) {
1451
+ const M = h(i, u, "px");
1377
1452
  return {
1378
- [(0, s.browserPrefixToKey)("transform", s.default)]: c
1453
+ [(0, s.browserPrefixToKey)("transform", s.default)]: M
1379
1454
  };
1380
1455
  }
1381
- function D(i, u) {
1456
+ function T(i, u) {
1382
1457
  return h(i, u, "");
1383
1458
  }
1384
- function h(i, u, c) {
1459
+ function h(i, u, M) {
1385
1460
  let {
1386
- x: _,
1461
+ x: $,
1387
1462
  y: R
1388
- } = i, H = `translate(${_}${c},${R}${c})`;
1463
+ } = i, V = `translate(${$}${M},${R}${M})`;
1389
1464
  if (u) {
1390
- const V = `${typeof u.x == "string" ? u.x : u.x + c}`, X = `${typeof u.y == "string" ? u.y : u.y + c}`;
1391
- H = `translate(${V}, ${X})` + H;
1465
+ const G = `${typeof u.x == "string" ? u.x : u.x + M}`, X = `${typeof u.y == "string" ? u.y : u.y + M}`;
1466
+ V = `translate(${G}, ${X})` + V;
1392
1467
  }
1393
- return H;
1468
+ return V;
1394
1469
  }
1395
- function y(i, u) {
1396
- return i.targetTouches && (0, e.findInArray)(i.targetTouches, (c) => u === c.identifier) || i.changedTouches && (0, e.findInArray)(i.changedTouches, (c) => u === c.identifier);
1470
+ function g(i, u) {
1471
+ return i.targetTouches && (0, e.findInArray)(i.targetTouches, (M) => u === M.identifier) || i.changedTouches && (0, e.findInArray)(i.changedTouches, (M) => u === M.identifier);
1397
1472
  }
1398
1473
  function x(i) {
1399
1474
  if (i.targetTouches && i.targetTouches[0]) return i.targetTouches[0].identifier;
1400
1475
  if (i.changedTouches && i.changedTouches[0]) return i.changedTouches[0].identifier;
1401
1476
  }
1402
- function E(i) {
1477
+ function N(i) {
1403
1478
  if (!i) return;
1404
1479
  let u = i.getElementById("react-draggable-style-el");
1405
1480
  u || (u = i.createElement("style"), u.type = "text/css", u.id = "react-draggable-style-el", u.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
1406
1481
  `, u.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
1407
1482
  `, i.getElementsByTagName("head")[0].appendChild(u)), i.body && a(i.body, "react-draggable-transparent-selection");
1408
1483
  }
1409
- function C(i) {
1484
+ function S(i) {
1410
1485
  window.requestAnimationFrame ? window.requestAnimationFrame(() => {
1411
- w(i);
1412
- }) : w(i);
1486
+ D(i);
1487
+ }) : D(i);
1413
1488
  }
1414
- function w(i) {
1489
+ function D(i) {
1415
1490
  if (i)
1416
1491
  try {
1417
- if (i.body && M(i.body, "react-draggable-transparent-selection"), i.selection)
1492
+ if (i.body && P(i.body, "react-draggable-transparent-selection"), i.selection)
1418
1493
  i.selection.empty();
1419
1494
  else {
1420
1495
  const u = (i.defaultView || window).getSelection();
@@ -1426,45 +1501,45 @@ function Oe() {
1426
1501
  function a(i, u) {
1427
1502
  i.classList ? i.classList.add(u) : i.className.match(new RegExp(`(?:^|\\s)${u}(?!\\S)`)) || (i.className += ` ${u}`);
1428
1503
  }
1429
- function M(i, u) {
1504
+ function P(i, u) {
1430
1505
  i.classList ? i.classList.remove(u) : i.className = i.className.replace(new RegExp(`(?:^|\\s)${u}(?!\\S)`, "g"), "");
1431
1506
  }
1432
- return z;
1507
+ return H;
1433
1508
  }
1434
- var re = {}, Ze;
1435
- function ht() {
1436
- if (Ze) return re;
1437
- Ze = 1, Object.defineProperty(re, "__esModule", {
1509
+ var re = {}, Qe;
1510
+ function yt() {
1511
+ if (Qe) return re;
1512
+ Qe = 1, Object.defineProperty(re, "__esModule", {
1438
1513
  value: !0
1439
- }), re.canDragX = d, re.canDragY = o, re.createCoreData = g, re.createDraggableData = T, re.getBoundPosition = r, re.getControlPosition = f, re.snapToGrid = n;
1440
- var e = xe(), s = Oe();
1441
- function r(l, p, m) {
1442
- if (!l.props.bounds) return [p, m];
1514
+ }), re.canDragX = d, re.canDragY = o, re.createCoreData = f, re.createDraggableData = w, re.getBoundPosition = n, re.getControlPosition = c, re.snapToGrid = r;
1515
+ var e = Ce(), s = We();
1516
+ function n(l, y, p) {
1517
+ if (!l.props.bounds) return [y, p];
1443
1518
  let {
1444
- bounds: D
1519
+ bounds: T
1445
1520
  } = l.props;
1446
- D = typeof D == "string" ? D : S(D);
1447
- const h = b(l);
1448
- if (typeof D == "string") {
1521
+ T = typeof T == "string" ? T : b(T);
1522
+ const h = v(l);
1523
+ if (typeof T == "string") {
1449
1524
  const {
1450
- ownerDocument: y
1451
- } = h, x = y.defaultView;
1452
- let E;
1453
- if (D === "parent" ? E = h.parentNode : E = h.getRootNode().querySelector(D), !(E instanceof x.HTMLElement))
1454
- throw new Error('Bounds selector "' + D + '" could not find an element.');
1455
- const C = E, w = x.getComputedStyle(h), a = x.getComputedStyle(C);
1456
- D = {
1457
- left: -h.offsetLeft + (0, e.int)(a.paddingLeft) + (0, e.int)(w.marginLeft),
1458
- top: -h.offsetTop + (0, e.int)(a.paddingTop) + (0, e.int)(w.marginTop),
1459
- right: (0, s.innerWidth)(C) - (0, s.outerWidth)(h) - h.offsetLeft + (0, e.int)(a.paddingRight) - (0, e.int)(w.marginRight),
1460
- bottom: (0, s.innerHeight)(C) - (0, s.outerHeight)(h) - h.offsetTop + (0, e.int)(a.paddingBottom) - (0, e.int)(w.marginBottom)
1525
+ ownerDocument: g
1526
+ } = h, x = g.defaultView;
1527
+ let N;
1528
+ if (T === "parent" ? N = h.parentNode : N = h.getRootNode().querySelector(T), !(N instanceof x.HTMLElement))
1529
+ throw new Error('Bounds selector "' + T + '" could not find an element.');
1530
+ const S = N, D = x.getComputedStyle(h), a = x.getComputedStyle(S);
1531
+ T = {
1532
+ left: -h.offsetLeft + (0, e.int)(a.paddingLeft) + (0, e.int)(D.marginLeft),
1533
+ top: -h.offsetTop + (0, e.int)(a.paddingTop) + (0, e.int)(D.marginTop),
1534
+ right: (0, s.innerWidth)(S) - (0, s.outerWidth)(h) - h.offsetLeft + (0, e.int)(a.paddingRight) - (0, e.int)(D.marginRight),
1535
+ bottom: (0, s.innerHeight)(S) - (0, s.outerHeight)(h) - h.offsetTop + (0, e.int)(a.paddingBottom) - (0, e.int)(D.marginBottom)
1461
1536
  };
1462
1537
  }
1463
- return (0, e.isNum)(D.right) && (p = Math.min(p, D.right)), (0, e.isNum)(D.bottom) && (m = Math.min(m, D.bottom)), (0, e.isNum)(D.left) && (p = Math.max(p, D.left)), (0, e.isNum)(D.top) && (m = Math.max(m, D.top)), [p, m];
1538
+ return (0, e.isNum)(T.right) && (y = Math.min(y, T.right)), (0, e.isNum)(T.bottom) && (p = Math.min(p, T.bottom)), (0, e.isNum)(T.left) && (y = Math.max(y, T.left)), (0, e.isNum)(T.top) && (p = Math.max(p, T.top)), [y, p];
1464
1539
  }
1465
- function n(l, p, m) {
1466
- const D = Math.round(p / l[0]) * l[0], h = Math.round(m / l[1]) * l[1];
1467
- return [D, h];
1540
+ function r(l, y, p) {
1541
+ const T = Math.round(y / l[0]) * l[0], h = Math.round(p / l[1]) * l[1];
1542
+ return [T, h];
1468
1543
  }
1469
1544
  function d(l) {
1470
1545
  return l.props.axis === "both" || l.props.axis === "x";
@@ -1472,45 +1547,45 @@ function ht() {
1472
1547
  function o(l) {
1473
1548
  return l.props.axis === "both" || l.props.axis === "y";
1474
1549
  }
1475
- function f(l, p, m) {
1476
- const D = typeof p == "number" ? (0, s.getTouch)(l, p) : null;
1477
- if (typeof p == "number" && !D) return null;
1478
- const h = b(m), y = m.props.offsetParent || h.offsetParent || h.ownerDocument.body;
1479
- return (0, s.offsetXYFromParent)(D || l, y, m.props.scale);
1550
+ function c(l, y, p) {
1551
+ const T = typeof y == "number" ? (0, s.getTouch)(l, y) : null;
1552
+ if (typeof y == "number" && !T) return null;
1553
+ const h = v(p), g = p.props.offsetParent || h.offsetParent || h.ownerDocument.body;
1554
+ return (0, s.offsetXYFromParent)(T || l, g, p.props.scale);
1480
1555
  }
1481
- function g(l, p, m) {
1482
- const D = !(0, e.isNum)(l.lastX), h = b(l);
1483
- return D ? {
1556
+ function f(l, y, p) {
1557
+ const T = !(0, e.isNum)(l.lastX), h = v(l);
1558
+ return T ? {
1484
1559
  node: h,
1485
1560
  deltaX: 0,
1486
1561
  deltaY: 0,
1487
- lastX: p,
1488
- lastY: m,
1489
- x: p,
1490
- y: m
1562
+ lastX: y,
1563
+ lastY: p,
1564
+ x: y,
1565
+ y: p
1491
1566
  } : {
1492
1567
  node: h,
1493
- deltaX: p - l.lastX,
1494
- deltaY: m - l.lastY,
1568
+ deltaX: y - l.lastX,
1569
+ deltaY: p - l.lastY,
1495
1570
  lastX: l.lastX,
1496
1571
  lastY: l.lastY,
1497
- x: p,
1498
- y: m
1572
+ x: y,
1573
+ y: p
1499
1574
  };
1500
1575
  }
1501
- function T(l, p) {
1502
- const m = l.props.scale;
1576
+ function w(l, y) {
1577
+ const p = l.props.scale;
1503
1578
  return {
1504
- node: p.node,
1505
- x: l.state.x + p.deltaX / m,
1506
- y: l.state.y + p.deltaY / m,
1507
- deltaX: p.deltaX / m,
1508
- deltaY: p.deltaY / m,
1579
+ node: y.node,
1580
+ x: l.state.x + y.deltaX / p,
1581
+ y: l.state.y + y.deltaY / p,
1582
+ deltaX: y.deltaX / p,
1583
+ deltaY: y.deltaY / p,
1509
1584
  lastX: l.state.x,
1510
1585
  lastY: l.state.y
1511
1586
  };
1512
1587
  }
1513
- function S(l) {
1588
+ function b(l) {
1514
1589
  return {
1515
1590
  left: l.left,
1516
1591
  top: l.top,
@@ -1518,66 +1593,66 @@ function ht() {
1518
1593
  bottom: l.bottom
1519
1594
  };
1520
1595
  }
1521
- function b(l) {
1522
- const p = l.findDOMNode();
1523
- if (!p)
1596
+ function v(l) {
1597
+ const y = l.findDOMNode();
1598
+ if (!y)
1524
1599
  throw new Error("<DraggableCore>: Unmounted during event!");
1525
- return p;
1600
+ return y;
1526
1601
  }
1527
1602
  return re;
1528
1603
  }
1529
- var ue = {}, ye = {}, Je;
1530
- function gt() {
1531
- if (Je) return ye;
1532
- Je = 1, Object.defineProperty(ye, "__esModule", {
1604
+ var ue = {}, be = {}, et;
1605
+ function bt() {
1606
+ if (et) return be;
1607
+ et = 1, Object.defineProperty(be, "__esModule", {
1533
1608
  value: !0
1534
- }), ye.default = e;
1609
+ }), be.default = e;
1535
1610
  function e() {
1536
1611
  }
1537
- return ye;
1612
+ return be;
1538
1613
  }
1539
- var Qe;
1540
- function Kt() {
1541
- if (Qe) return ue;
1542
- Qe = 1, Object.defineProperty(ue, "__esModule", {
1614
+ var tt;
1615
+ function Vt() {
1616
+ if (tt) return ue;
1617
+ tt = 1, Object.defineProperty(ue, "__esModule", {
1543
1618
  value: !0
1544
1619
  }), ue.default = void 0;
1545
- var e = T(ve), s = g(/* @__PURE__ */ ft()), r = g(it), n = Oe(), d = ht(), o = xe(), f = g(gt());
1546
- function g(h) {
1620
+ var e = w(xe), s = f(/* @__PURE__ */ pt()), n = f(st), r = We(), d = yt(), o = Ce(), c = f(bt());
1621
+ function f(h) {
1547
1622
  return h && h.__esModule ? h : { default: h };
1548
1623
  }
1549
- function T(h, y) {
1550
- if (typeof WeakMap == "function") var x = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap();
1551
- return (T = function(C, w) {
1552
- if (!w && C && C.__esModule) return C;
1553
- var a, M, i = { __proto__: null, default: C };
1554
- if (C === null || typeof C != "object" && typeof C != "function") return i;
1555
- if (a = w ? E : x) {
1556
- if (a.has(C)) return a.get(C);
1557
- a.set(C, i);
1624
+ function w(h, g) {
1625
+ if (typeof WeakMap == "function") var x = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap();
1626
+ return (w = function(S, D) {
1627
+ if (!D && S && S.__esModule) return S;
1628
+ var a, P, i = { __proto__: null, default: S };
1629
+ if (S === null || typeof S != "object" && typeof S != "function") return i;
1630
+ if (a = D ? N : x) {
1631
+ if (a.has(S)) return a.get(S);
1632
+ a.set(S, i);
1558
1633
  }
1559
- for (const u in C) u !== "default" && {}.hasOwnProperty.call(C, u) && ((M = (a = Object.defineProperty) && Object.getOwnPropertyDescriptor(C, u)) && (M.get || M.set) ? a(i, u, M) : i[u] = C[u]);
1634
+ for (const u in S) u !== "default" && {}.hasOwnProperty.call(S, u) && ((P = (a = Object.defineProperty) && Object.getOwnPropertyDescriptor(S, u)) && (P.get || P.set) ? a(i, u, P) : i[u] = S[u]);
1560
1635
  return i;
1561
- })(h, y);
1636
+ })(h, g);
1562
1637
  }
1563
- function S(h, y, x) {
1564
- return (y = b(y)) in h ? Object.defineProperty(h, y, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : h[y] = x, h;
1638
+ function b(h, g, x) {
1639
+ return (g = v(g)) in h ? Object.defineProperty(h, g, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : h[g] = x, h;
1565
1640
  }
1566
- function b(h) {
1567
- var y = l(h, "string");
1568
- return typeof y == "symbol" ? y : y + "";
1641
+ function v(h) {
1642
+ var g = l(h, "string");
1643
+ return typeof g == "symbol" ? g : g + "";
1569
1644
  }
1570
- function l(h, y) {
1645
+ function l(h, g) {
1571
1646
  if (typeof h != "object" || !h) return h;
1572
1647
  var x = h[Symbol.toPrimitive];
1573
1648
  if (x !== void 0) {
1574
- var E = x.call(h, y);
1575
- if (typeof E != "object") return E;
1649
+ var N = x.call(h, g);
1650
+ if (typeof N != "object") return N;
1576
1651
  throw new TypeError("@@toPrimitive must return a primitive value.");
1577
1652
  }
1578
- return (y === "string" ? String : Number)(h);
1653
+ return (g === "string" ? String : Number)(h);
1579
1654
  }
1580
- const p = {
1655
+ const y = {
1581
1656
  touch: {
1582
1657
  start: "touchstart",
1583
1658
  move: "touchmove",
@@ -1589,42 +1664,42 @@ function Kt() {
1589
1664
  stop: "mouseup"
1590
1665
  }
1591
1666
  };
1592
- let m = p.mouse, D = class extends e.Component {
1667
+ let p = y.mouse, T = class extends e.Component {
1593
1668
  constructor() {
1594
- super(...arguments), S(this, "dragging", !1), S(this, "lastX", NaN), S(this, "lastY", NaN), S(this, "touchIdentifier", null), S(this, "mounted", !1), S(this, "handleDragStart", (y) => {
1595
- if (this.props.onMouseDown(y), !this.props.allowAnyClick && typeof y.button == "number" && y.button !== 0) return !1;
1669
+ super(...arguments), b(this, "dragging", !1), b(this, "lastX", NaN), b(this, "lastY", NaN), b(this, "touchIdentifier", null), b(this, "mounted", !1), b(this, "handleDragStart", (g) => {
1670
+ if (this.props.onMouseDown(g), !this.props.allowAnyClick && typeof g.button == "number" && g.button !== 0) return !1;
1596
1671
  const x = this.findDOMNode();
1597
1672
  if (!x || !x.ownerDocument || !x.ownerDocument.body)
1598
1673
  throw new Error("<DraggableCore> not mounted on DragStart!");
1599
1674
  const {
1600
- ownerDocument: E
1675
+ ownerDocument: N
1601
1676
  } = x;
1602
- if (this.props.disabled || !(y.target instanceof E.defaultView.Node) || this.props.handle && !(0, n.matchesSelectorAndParentsTo)(y.target, this.props.handle, x) || this.props.cancel && (0, n.matchesSelectorAndParentsTo)(y.target, this.props.cancel, x))
1677
+ if (this.props.disabled || !(g.target instanceof N.defaultView.Node) || this.props.handle && !(0, r.matchesSelectorAndParentsTo)(g.target, this.props.handle, x) || this.props.cancel && (0, r.matchesSelectorAndParentsTo)(g.target, this.props.cancel, x))
1603
1678
  return;
1604
- y.type === "touchstart" && !this.props.allowMobileScroll && y.preventDefault();
1605
- const C = (0, n.getTouchIdentifier)(y);
1606
- this.touchIdentifier = C;
1607
- const w = (0, d.getControlPosition)(y, C, this);
1608
- if (w == null) return;
1679
+ g.type === "touchstart" && !this.props.allowMobileScroll && g.preventDefault();
1680
+ const S = (0, r.getTouchIdentifier)(g);
1681
+ this.touchIdentifier = S;
1682
+ const D = (0, d.getControlPosition)(g, S, this);
1683
+ if (D == null) return;
1609
1684
  const {
1610
1685
  x: a,
1611
- y: M
1612
- } = w, i = (0, d.createCoreData)(this, a, M);
1613
- (0, f.default)("DraggableCore: handleDragStart: %j", i), (0, f.default)("calling", this.props.onStart), !(this.props.onStart(y, i) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, n.addUserSelectStyles)(E), this.dragging = !0, this.lastX = a, this.lastY = M, (0, n.addEvent)(E, m.move, this.handleDrag), (0, n.addEvent)(E, m.stop, this.handleDragStop));
1614
- }), S(this, "handleDrag", (y) => {
1615
- const x = (0, d.getControlPosition)(y, this.touchIdentifier, this);
1686
+ y: P
1687
+ } = D, i = (0, d.createCoreData)(this, a, P);
1688
+ (0, c.default)("DraggableCore: handleDragStart: %j", i), (0, c.default)("calling", this.props.onStart), !(this.props.onStart(g, i) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, r.addUserSelectStyles)(N), this.dragging = !0, this.lastX = a, this.lastY = P, (0, r.addEvent)(N, p.move, this.handleDrag), (0, r.addEvent)(N, p.stop, this.handleDragStop));
1689
+ }), b(this, "handleDrag", (g) => {
1690
+ const x = (0, d.getControlPosition)(g, this.touchIdentifier, this);
1616
1691
  if (x == null) return;
1617
1692
  let {
1618
- x: E,
1619
- y: C
1693
+ x: N,
1694
+ y: S
1620
1695
  } = x;
1621
1696
  if (Array.isArray(this.props.grid)) {
1622
- let M = E - this.lastX, i = C - this.lastY;
1623
- if ([M, i] = (0, d.snapToGrid)(this.props.grid, M, i), !M && !i) return;
1624
- E = this.lastX + M, C = this.lastY + i;
1697
+ let P = N - this.lastX, i = S - this.lastY;
1698
+ if ([P, i] = (0, d.snapToGrid)(this.props.grid, P, i), !P && !i) return;
1699
+ N = this.lastX + P, S = this.lastY + i;
1625
1700
  }
1626
- const w = (0, d.createCoreData)(this, E, C);
1627
- if ((0, f.default)("DraggableCore: handleDrag: %j", w), this.props.onDrag(y, w) === !1 || this.mounted === !1) {
1701
+ const D = (0, d.createCoreData)(this, N, S);
1702
+ if ((0, c.default)("DraggableCore: handleDrag: %j", D), this.props.onDrag(g, D) === !1 || this.mounted === !1) {
1628
1703
  try {
1629
1704
  this.handleDragStop(new MouseEvent("mouseup"));
1630
1705
  } catch {
@@ -1633,48 +1708,48 @@ function Kt() {
1633
1708
  }
1634
1709
  return;
1635
1710
  }
1636
- this.lastX = E, this.lastY = C;
1637
- }), S(this, "handleDragStop", (y) => {
1711
+ this.lastX = N, this.lastY = S;
1712
+ }), b(this, "handleDragStop", (g) => {
1638
1713
  if (!this.dragging) return;
1639
- const x = (0, d.getControlPosition)(y, this.touchIdentifier, this);
1714
+ const x = (0, d.getControlPosition)(g, this.touchIdentifier, this);
1640
1715
  if (x == null) return;
1641
1716
  let {
1642
- x: E,
1643
- y: C
1717
+ x: N,
1718
+ y: S
1644
1719
  } = x;
1645
1720
  if (Array.isArray(this.props.grid)) {
1646
- let i = E - this.lastX || 0, u = C - this.lastY || 0;
1647
- [i, u] = (0, d.snapToGrid)(this.props.grid, i, u), E = this.lastX + i, C = this.lastY + u;
1721
+ let i = N - this.lastX || 0, u = S - this.lastY || 0;
1722
+ [i, u] = (0, d.snapToGrid)(this.props.grid, i, u), N = this.lastX + i, S = this.lastY + u;
1648
1723
  }
1649
- const w = (0, d.createCoreData)(this, E, C);
1650
- if (this.props.onStop(y, w) === !1 || this.mounted === !1) return !1;
1651
- const M = this.findDOMNode();
1652
- M && this.props.enableUserSelectHack && (0, n.scheduleRemoveUserSelectStyles)(M.ownerDocument), (0, f.default)("DraggableCore: handleDragStop: %j", w), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, M && ((0, f.default)("DraggableCore: Removing handlers"), (0, n.removeEvent)(M.ownerDocument, m.move, this.handleDrag), (0, n.removeEvent)(M.ownerDocument, m.stop, this.handleDragStop));
1653
- }), S(this, "onMouseDown", (y) => (m = p.mouse, this.handleDragStart(y))), S(this, "onMouseUp", (y) => (m = p.mouse, this.handleDragStop(y))), S(this, "onTouchStart", (y) => (m = p.touch, this.handleDragStart(y))), S(this, "onTouchEnd", (y) => (m = p.touch, this.handleDragStop(y)));
1724
+ const D = (0, d.createCoreData)(this, N, S);
1725
+ if (this.props.onStop(g, D) === !1 || this.mounted === !1) return !1;
1726
+ const P = this.findDOMNode();
1727
+ P && this.props.enableUserSelectHack && (0, r.scheduleRemoveUserSelectStyles)(P.ownerDocument), (0, c.default)("DraggableCore: handleDragStop: %j", D), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, P && ((0, c.default)("DraggableCore: Removing handlers"), (0, r.removeEvent)(P.ownerDocument, p.move, this.handleDrag), (0, r.removeEvent)(P.ownerDocument, p.stop, this.handleDragStop));
1728
+ }), b(this, "onMouseDown", (g) => (p = y.mouse, this.handleDragStart(g))), b(this, "onMouseUp", (g) => (p = y.mouse, this.handleDragStop(g))), b(this, "onTouchStart", (g) => (p = y.touch, this.handleDragStart(g))), b(this, "onTouchEnd", (g) => (p = y.touch, this.handleDragStop(g)));
1654
1729
  }
1655
1730
  componentDidMount() {
1656
1731
  this.mounted = !0;
1657
- const y = this.findDOMNode();
1658
- y && (0, n.addEvent)(y, p.touch.start, this.onTouchStart, {
1732
+ const g = this.findDOMNode();
1733
+ g && (0, r.addEvent)(g, y.touch.start, this.onTouchStart, {
1659
1734
  passive: !1
1660
1735
  });
1661
1736
  }
1662
1737
  componentWillUnmount() {
1663
1738
  this.mounted = !1;
1664
- const y = this.findDOMNode();
1665
- if (y) {
1739
+ const g = this.findDOMNode();
1740
+ if (g) {
1666
1741
  const {
1667
1742
  ownerDocument: x
1668
- } = y;
1669
- (0, n.removeEvent)(x, p.mouse.move, this.handleDrag), (0, n.removeEvent)(x, p.touch.move, this.handleDrag), (0, n.removeEvent)(x, p.mouse.stop, this.handleDragStop), (0, n.removeEvent)(x, p.touch.stop, this.handleDragStop), (0, n.removeEvent)(y, p.touch.start, this.onTouchStart, {
1743
+ } = g;
1744
+ (0, r.removeEvent)(x, y.mouse.move, this.handleDrag), (0, r.removeEvent)(x, y.touch.move, this.handleDrag), (0, r.removeEvent)(x, y.mouse.stop, this.handleDragStop), (0, r.removeEvent)(x, y.touch.stop, this.handleDragStop), (0, r.removeEvent)(g, y.touch.start, this.onTouchStart, {
1670
1745
  passive: !1
1671
- }), this.props.enableUserSelectHack && (0, n.scheduleRemoveUserSelectStyles)(x);
1746
+ }), this.props.enableUserSelectHack && (0, r.scheduleRemoveUserSelectStyles)(x);
1672
1747
  }
1673
1748
  }
1674
1749
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
1675
1750
  // the underlying DOM node ourselves. See the README for more information.
1676
1751
  findDOMNode() {
1677
- return this.props?.nodeRef ? this.props?.nodeRef?.current : r.default.findDOMNode(this);
1752
+ return this.props?.nodeRef ? this.props?.nodeRef?.current : n.default.findDOMNode(this);
1678
1753
  }
1679
1754
  render() {
1680
1755
  return /* @__PURE__ */ e.cloneElement(e.Children.only(this.props.children), {
@@ -1689,7 +1764,7 @@ function Kt() {
1689
1764
  });
1690
1765
  }
1691
1766
  };
1692
- return ue.default = D, S(D, "displayName", "DraggableCore"), S(D, "propTypes", {
1767
+ return ue.default = T, b(T, "displayName", "DraggableCore"), b(T, "propTypes", {
1693
1768
  /**
1694
1769
  * `allowAnyClick` allows dragging using any mouse button.
1695
1770
  * By default, we only accept the left button.
@@ -1721,8 +1796,8 @@ function Kt() {
1721
1796
  * `offsetParent`, if set, uses the passed DOM node to compute drag offsets
1722
1797
  * instead of using the parent node.
1723
1798
  */
1724
- offsetParent: function(h, y) {
1725
- if (h[y] && h[y].nodeType !== 1)
1799
+ offsetParent: function(h, g) {
1800
+ if (h[g] && h[g].nodeType !== 1)
1726
1801
  throw new Error("Draggable's offsetParent must be a DOM Node.");
1727
1802
  },
1728
1803
  /**
@@ -1819,7 +1894,7 @@ function Kt() {
1819
1894
  className: o.dontSetMe,
1820
1895
  style: o.dontSetMe,
1821
1896
  transform: o.dontSetMe
1822
- }), S(D, "defaultProps", {
1897
+ }), b(T, "defaultProps", {
1823
1898
  allowAnyClick: !1,
1824
1899
  // by default only accept left click
1825
1900
  allowMobileScroll: !1,
@@ -1836,92 +1911,92 @@ function Kt() {
1836
1911
  scale: 1
1837
1912
  }), ue;
1838
1913
  }
1839
- var et;
1840
- function zt() {
1841
- return et || (et = 1, (function(e) {
1914
+ var nt;
1915
+ function Xt() {
1916
+ return nt || (nt = 1, (function(e) {
1842
1917
  Object.defineProperty(e, "__esModule", {
1843
1918
  value: !0
1844
1919
  }), Object.defineProperty(e, "DraggableCore", {
1845
1920
  enumerable: !0,
1846
1921
  get: function() {
1847
- return T.default;
1922
+ return w.default;
1848
1923
  }
1849
1924
  }), e.default = void 0;
1850
- var s = l(ve), r = b(/* @__PURE__ */ ft()), n = b(it), d = Yt(), o = Oe(), f = ht(), g = xe(), T = b(Kt()), S = b(gt());
1851
- function b(x) {
1925
+ var s = l(xe), n = v(/* @__PURE__ */ pt()), r = v(st), d = Bt(), o = We(), c = yt(), f = Ce(), w = v(Vt()), b = v(bt());
1926
+ function v(x) {
1852
1927
  return x && x.__esModule ? x : { default: x };
1853
1928
  }
1854
- function l(x, E) {
1855
- if (typeof WeakMap == "function") var C = /* @__PURE__ */ new WeakMap(), w = /* @__PURE__ */ new WeakMap();
1856
- return (l = function(a, M) {
1857
- if (!M && a && a.__esModule) return a;
1858
- var i, u, c = { __proto__: null, default: a };
1859
- if (a === null || typeof a != "object" && typeof a != "function") return c;
1860
- if (i = M ? w : C) {
1929
+ function l(x, N) {
1930
+ if (typeof WeakMap == "function") var S = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap();
1931
+ return (l = function(a, P) {
1932
+ if (!P && a && a.__esModule) return a;
1933
+ var i, u, M = { __proto__: null, default: a };
1934
+ if (a === null || typeof a != "object" && typeof a != "function") return M;
1935
+ if (i = P ? D : S) {
1861
1936
  if (i.has(a)) return i.get(a);
1862
- i.set(a, c);
1937
+ i.set(a, M);
1863
1938
  }
1864
- for (const _ in a) _ !== "default" && {}.hasOwnProperty.call(a, _) && ((u = (i = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, _)) && (u.get || u.set) ? i(c, _, u) : c[_] = a[_]);
1865
- return c;
1866
- })(x, E);
1867
- }
1868
- function p() {
1869
- return p = Object.assign ? Object.assign.bind() : function(x) {
1870
- for (var E = 1; E < arguments.length; E++) {
1871
- var C = arguments[E];
1872
- for (var w in C) ({}).hasOwnProperty.call(C, w) && (x[w] = C[w]);
1939
+ for (const $ in a) $ !== "default" && {}.hasOwnProperty.call(a, $) && ((u = (i = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, $)) && (u.get || u.set) ? i(M, $, u) : M[$] = a[$]);
1940
+ return M;
1941
+ })(x, N);
1942
+ }
1943
+ function y() {
1944
+ return y = Object.assign ? Object.assign.bind() : function(x) {
1945
+ for (var N = 1; N < arguments.length; N++) {
1946
+ var S = arguments[N];
1947
+ for (var D in S) ({}).hasOwnProperty.call(S, D) && (x[D] = S[D]);
1873
1948
  }
1874
1949
  return x;
1875
- }, p.apply(null, arguments);
1950
+ }, y.apply(null, arguments);
1876
1951
  }
1877
- function m(x, E, C) {
1878
- return (E = D(E)) in x ? Object.defineProperty(x, E, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : x[E] = C, x;
1952
+ function p(x, N, S) {
1953
+ return (N = T(N)) in x ? Object.defineProperty(x, N, { value: S, enumerable: !0, configurable: !0, writable: !0 }) : x[N] = S, x;
1879
1954
  }
1880
- function D(x) {
1881
- var E = h(x, "string");
1882
- return typeof E == "symbol" ? E : E + "";
1955
+ function T(x) {
1956
+ var N = h(x, "string");
1957
+ return typeof N == "symbol" ? N : N + "";
1883
1958
  }
1884
- function h(x, E) {
1959
+ function h(x, N) {
1885
1960
  if (typeof x != "object" || !x) return x;
1886
- var C = x[Symbol.toPrimitive];
1887
- if (C !== void 0) {
1888
- var w = C.call(x, E);
1889
- if (typeof w != "object") return w;
1961
+ var S = x[Symbol.toPrimitive];
1962
+ if (S !== void 0) {
1963
+ var D = S.call(x, N);
1964
+ if (typeof D != "object") return D;
1890
1965
  throw new TypeError("@@toPrimitive must return a primitive value.");
1891
1966
  }
1892
- return (E === "string" ? String : Number)(x);
1967
+ return (N === "string" ? String : Number)(x);
1893
1968
  }
1894
- class y extends s.Component {
1969
+ class g extends s.Component {
1895
1970
  // React 16.3+
1896
1971
  // Arity (props, state)
1897
- static getDerivedStateFromProps(E, C) {
1972
+ static getDerivedStateFromProps(N, S) {
1898
1973
  let {
1899
- position: w
1900
- } = E, {
1974
+ position: D
1975
+ } = N, {
1901
1976
  prevPropsPosition: a
1902
- } = C;
1903
- return w && (!a || w.x !== a.x || w.y !== a.y) ? ((0, S.default)("Draggable: getDerivedStateFromProps %j", {
1904
- position: w,
1977
+ } = S;
1978
+ return D && (!a || D.x !== a.x || D.y !== a.y) ? ((0, b.default)("Draggable: getDerivedStateFromProps %j", {
1979
+ position: D,
1905
1980
  prevPropsPosition: a
1906
1981
  }), {
1907
- x: w.x,
1908
- y: w.y,
1982
+ x: D.x,
1983
+ y: D.y,
1909
1984
  prevPropsPosition: {
1910
- ...w
1985
+ ...D
1911
1986
  }
1912
1987
  }) : null;
1913
1988
  }
1914
- constructor(E) {
1915
- super(E), m(this, "onDragStart", (C, w) => {
1916
- if ((0, S.default)("Draggable: onDragStart: %j", w), this.props.onStart(C, (0, f.createDraggableData)(this, w)) === !1) return !1;
1989
+ constructor(N) {
1990
+ super(N), p(this, "onDragStart", (S, D) => {
1991
+ if ((0, b.default)("Draggable: onDragStart: %j", D), this.props.onStart(S, (0, c.createDraggableData)(this, D)) === !1) return !1;
1917
1992
  this.setState({
1918
1993
  dragging: !0,
1919
1994
  dragged: !0
1920
1995
  });
1921
- }), m(this, "onDrag", (C, w) => {
1996
+ }), p(this, "onDrag", (S, D) => {
1922
1997
  if (!this.state.dragging) return !1;
1923
- (0, S.default)("Draggable: onDrag: %j", w);
1924
- const a = (0, f.createDraggableData)(this, w), M = {
1998
+ (0, b.default)("Draggable: onDrag: %j", D);
1999
+ const a = (0, c.createDraggableData)(this, D), P = {
1925
2000
  x: a.x,
1926
2001
  y: a.y,
1927
2002
  slackX: 0,
@@ -1930,18 +2005,18 @@ function zt() {
1930
2005
  if (this.props.bounds) {
1931
2006
  const {
1932
2007
  x: u,
1933
- y: c
1934
- } = M;
1935
- M.x += this.state.slackX, M.y += this.state.slackY;
1936
- const [_, R] = (0, f.getBoundPosition)(this, M.x, M.y);
1937
- M.x = _, M.y = R, M.slackX = this.state.slackX + (u - M.x), M.slackY = this.state.slackY + (c - M.y), a.x = M.x, a.y = M.y, a.deltaX = M.x - this.state.x, a.deltaY = M.y - this.state.y;
2008
+ y: M
2009
+ } = P;
2010
+ P.x += this.state.slackX, P.y += this.state.slackY;
2011
+ const [$, R] = (0, c.getBoundPosition)(this, P.x, P.y);
2012
+ P.x = $, P.y = R, P.slackX = this.state.slackX + (u - P.x), P.slackY = this.state.slackY + (M - P.y), a.x = P.x, a.y = P.y, a.deltaX = P.x - this.state.x, a.deltaY = P.y - this.state.y;
1938
2013
  }
1939
- if (this.props.onDrag(C, a) === !1) return !1;
1940
- this.setState(M);
1941
- }), m(this, "onDragStop", (C, w) => {
1942
- if (!this.state.dragging || this.props.onStop(C, (0, f.createDraggableData)(this, w)) === !1) return !1;
1943
- (0, S.default)("Draggable: onDragStop: %j", w);
1944
- const M = {
2014
+ if (this.props.onDrag(S, a) === !1) return !1;
2015
+ this.setState(P);
2016
+ }), p(this, "onDragStop", (S, D) => {
2017
+ if (!this.state.dragging || this.props.onStop(S, (0, c.createDraggableData)(this, D)) === !1) return !1;
2018
+ (0, b.default)("Draggable: onDragStop: %j", D);
2019
+ const P = {
1945
2020
  dragging: !1,
1946
2021
  slackX: 0,
1947
2022
  slackY: 0
@@ -1949,28 +2024,28 @@ function zt() {
1949
2024
  if (!!this.props.position) {
1950
2025
  const {
1951
2026
  x: u,
1952
- y: c
2027
+ y: M
1953
2028
  } = this.props.position;
1954
- M.x = u, M.y = c;
2029
+ P.x = u, P.y = M;
1955
2030
  }
1956
- this.setState(M);
2031
+ this.setState(P);
1957
2032
  }), this.state = {
1958
2033
  // Whether or not we are currently dragging.
1959
2034
  dragging: !1,
1960
2035
  // Whether or not we have been dragged before.
1961
2036
  dragged: !1,
1962
2037
  // Current transform x and y.
1963
- x: E.position ? E.position.x : E.defaultPosition.x,
1964
- y: E.position ? E.position.y : E.defaultPosition.y,
2038
+ x: N.position ? N.position.x : N.defaultPosition.x,
2039
+ y: N.position ? N.position.y : N.defaultPosition.y,
1965
2040
  prevPropsPosition: {
1966
- ...E.position
2041
+ ...N.position
1967
2042
  },
1968
2043
  // Used for compensating for out-of-bounds drags
1969
2044
  slackX: 0,
1970
2045
  slackY: 0,
1971
2046
  // Can only determine if SVG after mounting
1972
2047
  isElementSVG: !1
1973
- }, E.position && !(E.onDrag || E.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
2048
+ }, N.position && !(N.onDrag || N.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
1974
2049
  }
1975
2050
  componentDidMount() {
1976
2051
  typeof window.SVGElement < "u" && this.findDOMNode() instanceof window.SVGElement && this.setState({
@@ -1985,51 +2060,51 @@ function zt() {
1985
2060
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
1986
2061
  // the underlying DOM node ourselves. See the README for more information.
1987
2062
  findDOMNode() {
1988
- return this.props?.nodeRef?.current ?? n.default.findDOMNode(this);
2063
+ return this.props?.nodeRef?.current ?? r.default.findDOMNode(this);
1989
2064
  }
1990
2065
  render() {
1991
2066
  const {
1992
- axis: E,
1993
- bounds: C,
1994
- children: w,
2067
+ axis: N,
2068
+ bounds: S,
2069
+ children: D,
1995
2070
  defaultPosition: a,
1996
- defaultClassName: M,
2071
+ defaultClassName: P,
1997
2072
  defaultClassNameDragging: i,
1998
2073
  defaultClassNameDragged: u,
1999
- position: c,
2000
- positionOffset: _,
2074
+ position: M,
2075
+ positionOffset: $,
2001
2076
  scale: R,
2002
- ...H
2077
+ ...V
2003
2078
  } = this.props;
2004
- let V = {}, X = null;
2005
- const B = !!!c || this.state.dragging, ee = c || a, ie = {
2079
+ let G = {}, X = null;
2080
+ const m = !!!M || this.state.dragging, B = M || a, te = {
2006
2081
  // Set left if horizontal drag is enabled
2007
- x: (0, f.canDragX)(this) && B ? this.state.x : ee.x,
2082
+ x: (0, c.canDragX)(this) && m ? this.state.x : B.x,
2008
2083
  // Set top if vertical drag is enabled
2009
- y: (0, f.canDragY)(this) && B ? this.state.y : ee.y
2084
+ y: (0, c.canDragY)(this) && m ? this.state.y : B.y
2010
2085
  };
2011
- this.state.isElementSVG ? X = (0, o.createSVGTransform)(ie, _) : V = (0, o.createCSSTransform)(ie, _);
2012
- const le = (0, d.clsx)(w.props.className || "", M, {
2086
+ this.state.isElementSVG ? X = (0, o.createSVGTransform)(te, $) : G = (0, o.createCSSTransform)(te, $);
2087
+ const le = (0, d.clsx)(D.props.className || "", P, {
2013
2088
  [i]: this.state.dragging,
2014
2089
  [u]: this.state.dragged
2015
2090
  });
2016
- return /* @__PURE__ */ s.createElement(T.default, p({}, H, {
2091
+ return /* @__PURE__ */ s.createElement(w.default, y({}, V, {
2017
2092
  onStart: this.onDragStart,
2018
2093
  onDrag: this.onDrag,
2019
2094
  onStop: this.onDragStop
2020
- }), /* @__PURE__ */ s.cloneElement(s.Children.only(w), {
2095
+ }), /* @__PURE__ */ s.cloneElement(s.Children.only(D), {
2021
2096
  className: le,
2022
2097
  style: {
2023
- ...w.props.style,
2024
- ...V
2098
+ ...D.props.style,
2099
+ ...G
2025
2100
  },
2026
2101
  transform: X
2027
2102
  }));
2028
2103
  }
2029
2104
  }
2030
- e.default = y, m(y, "displayName", "Draggable"), m(y, "propTypes", {
2105
+ e.default = g, p(g, "displayName", "Draggable"), p(g, "propTypes", {
2031
2106
  // Accepts all props <DraggableCore> accepts.
2032
- ...T.default.propTypes,
2107
+ ...w.default.propTypes,
2033
2108
  /**
2034
2109
  * `axis` determines which axis the draggable can move.
2035
2110
  *
@@ -2043,7 +2118,7 @@ function zt() {
2043
2118
  *
2044
2119
  * Defaults to 'both'.
2045
2120
  */
2046
- axis: r.default.oneOf(["both", "x", "y", "none"]),
2121
+ axis: n.default.oneOf(["both", "x", "y", "none"]),
2047
2122
  /**
2048
2123
  * `bounds` determines the range of movement available to the element.
2049
2124
  * Available values are:
@@ -2070,15 +2145,15 @@ function zt() {
2070
2145
  * });
2071
2146
  * ```
2072
2147
  */
2073
- bounds: r.default.oneOfType([r.default.shape({
2074
- left: r.default.number,
2075
- right: r.default.number,
2076
- top: r.default.number,
2077
- bottom: r.default.number
2078
- }), r.default.string, r.default.oneOf([!1])]),
2079
- defaultClassName: r.default.string,
2080
- defaultClassNameDragging: r.default.string,
2081
- defaultClassNameDragged: r.default.string,
2148
+ bounds: n.default.oneOfType([n.default.shape({
2149
+ left: n.default.number,
2150
+ right: n.default.number,
2151
+ top: n.default.number,
2152
+ bottom: n.default.number
2153
+ }), n.default.string, n.default.oneOf([!1])]),
2154
+ defaultClassName: n.default.string,
2155
+ defaultClassNameDragging: n.default.string,
2156
+ defaultClassNameDragged: n.default.string,
2082
2157
  /**
2083
2158
  * `defaultPosition` specifies the x and y that the dragged item should start at
2084
2159
  *
@@ -2096,13 +2171,13 @@ function zt() {
2096
2171
  * });
2097
2172
  * ```
2098
2173
  */
2099
- defaultPosition: r.default.shape({
2100
- x: r.default.number,
2101
- y: r.default.number
2174
+ defaultPosition: n.default.shape({
2175
+ x: n.default.number,
2176
+ y: n.default.number
2102
2177
  }),
2103
- positionOffset: r.default.shape({
2104
- x: r.default.oneOfType([r.default.number, r.default.string]),
2105
- y: r.default.oneOfType([r.default.number, r.default.string])
2178
+ positionOffset: n.default.shape({
2179
+ x: n.default.oneOfType([n.default.number, n.default.string]),
2180
+ y: n.default.oneOfType([n.default.number, n.default.string])
2106
2181
  }),
2107
2182
  /**
2108
2183
  * `position`, if present, defines the current position of the element.
@@ -2124,18 +2199,18 @@ function zt() {
2124
2199
  * });
2125
2200
  * ```
2126
2201
  */
2127
- position: r.default.shape({
2128
- x: r.default.number,
2129
- y: r.default.number
2202
+ position: n.default.shape({
2203
+ x: n.default.number,
2204
+ y: n.default.number
2130
2205
  }),
2131
2206
  /**
2132
2207
  * These properties should be defined on the child, not here.
2133
2208
  */
2134
- className: g.dontSetMe,
2135
- style: g.dontSetMe,
2136
- transform: g.dontSetMe
2137
- }), m(y, "defaultProps", {
2138
- ...T.default.defaultProps,
2209
+ className: f.dontSetMe,
2210
+ style: f.dontSetMe,
2211
+ transform: f.dontSetMe
2212
+ }), p(g, "defaultProps", {
2213
+ ...w.default.defaultProps,
2139
2214
  axis: "both",
2140
2215
  bounds: !1,
2141
2216
  defaultClassName: "react-draggable",
@@ -2147,20 +2222,20 @@ function zt() {
2147
2222
  },
2148
2223
  scale: 1
2149
2224
  });
2150
- })(Se)), Se;
2225
+ })(De)), De;
2151
2226
  }
2152
- var tt;
2153
- function Bt() {
2154
- if (tt) return de.exports;
2155
- tt = 1;
2227
+ var rt;
2228
+ function Gt() {
2229
+ if (rt) return de.exports;
2230
+ rt = 1;
2156
2231
  const {
2157
2232
  default: e,
2158
2233
  DraggableCore: s
2159
- } = zt();
2234
+ } = Xt();
2160
2235
  return de.exports = e, de.exports.default = e, de.exports.DraggableCore = s, de.exports;
2161
2236
  }
2162
- var Ht = Bt();
2163
- const Vt = /* @__PURE__ */ kt(Ht), Xt = se((e, s) => {
2237
+ var Zt = Gt();
2238
+ const Jt = /* @__PURE__ */ Lt(Zt), Qt = se((e, s) => {
2164
2239
  const d = {
2165
2240
  ...{
2166
2241
  // 1. Take it out of the document flow
@@ -2178,38 +2253,38 @@ const Vt = /* @__PURE__ */ kt(Ht), Xt = se((e, s) => {
2178
2253
  boxShadow: "rgba(0, 0, 0, 0.5) 7px 7px 10px 0px"
2179
2254
  },
2180
2255
  ...e.style || {}
2181
- }, o = e.testId || "not-set", f = e.className || "panel", g = vt(null);
2256
+ }, o = e.testId || "not-set", c = e.className || "panel", f = at(null);
2182
2257
  return (
2183
2258
  // 3. Pass the internal ref to the Draggable component via 'nodeRef'
2184
2259
  /* @__PURE__ */ t(
2185
- Vt,
2260
+ Jt,
2186
2261
  {
2187
- nodeRef: g,
2262
+ nodeRef: f,
2188
2263
  "data-testid": o,
2189
2264
  axis: "both",
2190
2265
  handle: ".handle",
2191
- onStart: (b, l) => {
2266
+ onStart: (v, l) => {
2192
2267
  e.onDraggingChange?.(!0);
2193
2268
  },
2194
- onStop: (b, l) => {
2269
+ onStop: (v, l) => {
2195
2270
  setTimeout(() => {
2196
2271
  e.onDraggingChange?.(!1);
2197
2272
  }, 100);
2198
2273
  },
2199
- children: /* @__PURE__ */ t("div", { ref: g, className: f, style: d, children: e.children })
2274
+ children: /* @__PURE__ */ t("div", { ref: f, className: c, style: d, children: e.children })
2200
2275
  }
2201
2276
  )
2202
2277
  );
2203
2278
  });
2204
- function Nr({ children: e, addCssClasses: s }) {
2205
- const r = G(
2279
+ function $n({ children: e, addCssClasses: s }) {
2280
+ const n = Z(
2206
2281
  "w-full h-full flex-1 flex flex-col",
2207
2282
  (s || "gap-2 items-end justify-end content-end").trim()
2208
2283
  );
2209
2284
  return /* @__PURE__ */ t(
2210
2285
  "div",
2211
2286
  {
2212
- className: r,
2287
+ className: n,
2213
2288
  style: {
2214
2289
  minHeight: "140px"
2215
2290
  },
@@ -2217,57 +2292,57 @@ function Nr({ children: e, addCssClasses: s }) {
2217
2292
  }
2218
2293
  );
2219
2294
  }
2220
- function _r({ children: e, addCssClasses: s }) {
2221
- const r = G(
2295
+ function Rn({ children: e, addCssClasses: s }) {
2296
+ const n = Z(
2222
2297
  "w-full flex flex-col",
2223
2298
  (s || "items-end").trim()
2224
2299
  );
2225
- return /* @__PURE__ */ t("div", { className: r, children: e });
2300
+ return /* @__PURE__ */ t("div", { className: n, children: e });
2226
2301
  }
2227
- const Mr = (e) => {
2302
+ const On = (e) => {
2228
2303
  console.warn("showToast TODO", e);
2229
- }, Gt = (e) => e < 0.8 ? 1 : e <= 1 ? 0 : e > 1 ? -1 : 0, Pr = se((e, s) => {
2230
- let r = pt(Number(e.zoomScale || 0));
2231
- const n = e.responsiveGrid || !1, d = e.isEditing || !1, o = {
2232
- "--bwj-dashboard-transform-scale": r,
2233
- "--bwj-dashboard-add-cols": Gt(r)
2234
- }, f = G(
2304
+ }, en = (e) => e < 0.8 ? 1 : e <= 1 ? 0 : e > 1 ? -1 : 0, kn = se((e, s) => {
2305
+ let n = xt(Number(e.zoomScale || 0));
2306
+ const r = e.responsiveGrid || !1, d = e.isEditing || !1, o = {
2307
+ "--bwj-dashboard-transform-scale": n,
2308
+ "--bwj-dashboard-add-cols": en(n)
2309
+ }, c = Z(
2235
2310
  "dashboard-main-grid w-full",
2236
2311
  d ? "editing" : "",
2237
- n ? "responsive-grid" : "",
2312
+ r ? "responsive-grid" : "",
2238
2313
  `border border-dashed ${d ? "border-primary border-opacity-50" : "border-transparent"}`
2239
2314
  );
2240
- return /* @__PURE__ */ t("div", { className: f, style: o, children: e.children });
2241
- }), Pe = "size-5", Zt = (e) => {
2315
+ return /* @__PURE__ */ t("div", { className: c, style: o, children: e.children });
2316
+ }), Ie = "size-5", tn = (e) => {
2242
2317
  if ((e.overrideCssClasses || "").trim().length > 0)
2243
2318
  return (e.overrideCssClasses || "").trim();
2244
- const s = e.direction || "column", r = e.noBorder;
2245
- let n = `dashboard-widget direction-${s} ${e.isEditing ? "editing" : ""} border border-solid`;
2246
- return ["large", "xlarge"].indexOf(e.size || "") > -1 && (n = `${n} ${e.size}-widget`), r ? n = `${n} border-transparent border-opacity-0` : (e.borderCssClasses || "").trim().length > 0 ? n = `${n} ${e.borderCssClasses}` : n = `${n} border-card-invert border-opacity-20`, e.noShadow && (n = `${n} no-shadow`), e.noPadding && (n = `${n} no-padding p-0`), (e.backgroundCssClasses || "").trim().length > 0 ? n = `${n} ${e.backgroundCssClasses}`.trim() : n = `${n} bg-card content-card`, (e.addCssClasses || "").trim().length > 0 && (n = `${n} ${e.addCssClasses}`.trim()), n;
2247
- }, Jt = (e, s) => {
2248
- const r = e.hideTitle && !e.isEditing, n = G(Zt(e)), d = () => {
2319
+ const s = e.direction || "column", n = e.noBorder;
2320
+ let r = `dashboard-widget direction-${s} ${e.isEditing ? "editing" : ""} border border-solid`;
2321
+ return ["large", "xlarge"].indexOf(e.size || "") > -1 && (r = `${r} ${e.size}-widget`), n ? r = `${r} border-transparent border-opacity-0` : (e.borderCssClasses || "").trim().length > 0 ? r = `${r} ${e.borderCssClasses}` : r = `${r} border-card-invert border-opacity-20`, e.noShadow && (r = `${r} no-shadow`), e.noPadding && (r = `${r} no-padding p-0`), (e.backgroundCssClasses || "").trim().length > 0 ? r = `${r} ${e.backgroundCssClasses}`.trim() : r = `${r} bg-card content-card`, (e.addCssClasses || "").trim().length > 0 && (r = `${r} ${e.addCssClasses}`.trim()), r;
2322
+ }, nn = (e, s) => {
2323
+ const n = e.hideTitle && !e.isEditing, r = Z(tn(e)), d = () => {
2249
2324
  e.onRemoveClick && e.widgetKey && e.onRemoveClick(e.widgetKey, e.parentWidgetKey);
2250
- }, o = (g) => {
2251
- e.onMoveClick && e.widgetKey && e.onMoveClick(g, e.widgetKey, e.parentWidgetKey);
2252
- }, f = G(
2325
+ }, o = (f) => {
2326
+ e.onMoveClick && e.widgetKey && e.onMoveClick(f, e.widgetKey, e.parentWidgetKey);
2327
+ }, c = Z(
2253
2328
  "widget-header",
2254
- r ? "hidden" : "flex items-center justify-between border-b border-solid border-card-invert",
2255
- r ? "border-opacity-0" : "border-opacity-20"
2329
+ n ? "hidden" : "flex items-center justify-between border-b border-solid border-card-invert",
2330
+ n ? "border-opacity-0" : "border-opacity-20"
2256
2331
  );
2257
- return /* @__PURE__ */ I("div", { className: n, children: [
2258
- /* @__PURE__ */ I("div", { className: f, children: [
2259
- /* @__PURE__ */ I("div", { className: "widget-title-wrapper w-full flex flex-row gap-2 items-center justify-between", children: [
2260
- /* @__PURE__ */ I("h2", { className: "widget-title", children: [
2332
+ return /* @__PURE__ */ _("div", { className: r, children: [
2333
+ /* @__PURE__ */ _("div", { className: c, children: [
2334
+ /* @__PURE__ */ _("div", { className: "widget-title-wrapper w-full flex flex-row gap-2 items-center justify-between", children: [
2335
+ /* @__PURE__ */ _("h2", { className: "widget-title", children: [
2261
2336
  e.title,
2262
2337
  " "
2263
2338
  ] }),
2264
2339
  /* @__PURE__ */ t("div", {})
2265
2340
  ] }),
2266
- /* @__PURE__ */ t("div", { "data-testid": "collapse-and-other-actions", children: /* @__PURE__ */ I("div", { className: "actions-inner", children: [
2341
+ /* @__PURE__ */ t("div", { "data-testid": "collapse-and-other-actions", children: /* @__PURE__ */ _("div", { className: "actions-inner", children: [
2267
2342
  /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("span", { className: "hidden", children: "Widget" }) }),
2268
- /* @__PURE__ */ I("div", { className: "actions-buttons-container", children: [
2343
+ /* @__PURE__ */ _("div", { className: "actions-buttons-container", children: [
2269
2344
  /* @__PURE__ */ t(
2270
- J,
2345
+ ee,
2271
2346
  {
2272
2347
  "data-testid": `move-widget-left_${e.title}`,
2273
2348
  isIconButton: !0,
@@ -2277,11 +2352,11 @@ const Mr = (e) => {
2277
2352
  title: `${e.index < 1 ? "Already at min position" : "Move Widget to the left/up"}`
2278
2353
  },
2279
2354
  onClick: () => o(-1),
2280
- children: /* @__PURE__ */ t(at, { className: Pe })
2355
+ children: /* @__PURE__ */ t(ct, { className: Ie })
2281
2356
  }
2282
2357
  ),
2283
2358
  /* @__PURE__ */ t(
2284
- J,
2359
+ ee,
2285
2360
  {
2286
2361
  "data-testid": `move-widget-right_${e.title}`,
2287
2362
  isIconButton: !0,
@@ -2291,11 +2366,11 @@ const Mr = (e) => {
2291
2366
  title: `${e.index >= e.maxIndex ? "Already at max position" : "Move Widget to the right/down"}`
2292
2367
  },
2293
2368
  onClick: () => o(1),
2294
- children: /* @__PURE__ */ t(st, { className: Pe })
2369
+ children: /* @__PURE__ */ t(dt, { className: Ie })
2295
2370
  }
2296
2371
  ),
2297
2372
  /* @__PURE__ */ t(
2298
- J,
2373
+ ee,
2299
2374
  {
2300
2375
  "data-testid": `remove-container_${e.title}`,
2301
2376
  isIconButton: !0,
@@ -2304,7 +2379,7 @@ const Mr = (e) => {
2304
2379
  title: "Remove Widget"
2305
2380
  },
2306
2381
  onClick: () => d(),
2307
- children: /* @__PURE__ */ t(lt, { className: Pe })
2382
+ children: /* @__PURE__ */ t(ut, { className: Ie })
2308
2383
  }
2309
2384
  )
2310
2385
  ] })
@@ -2312,211 +2387,211 @@ const Mr = (e) => {
2312
2387
  ] }),
2313
2388
  /* @__PURE__ */ t("div", { className: "widget-inner", children: e.children })
2314
2389
  ] });
2315
- }, Qt = se(Jt);
2316
- function rt(e) {
2317
- const { widgetKey: s, parentWidgetKey: r, index: n, maxIndex: d, isEditing: o, onRemoveClick: f, onMoveClick: g } = e, T = e.extraProps;
2390
+ }, rn = se(nn);
2391
+ function ot(e) {
2392
+ const { widgetKey: s, parentWidgetKey: n, index: r, maxIndex: d, isEditing: o, onRemoveClick: c, onMoveClick: f } = e, w = e.extraProps;
2318
2393
  return /* @__PURE__ */ t(
2319
- Qt,
2394
+ rn,
2320
2395
  {
2321
2396
  widgetKey: s,
2322
2397
  title: "Widget Error",
2323
- parentWidgetKey: r,
2324
- index: n,
2398
+ parentWidgetKey: n,
2399
+ index: r,
2325
2400
  maxIndex: d,
2326
2401
  isEditing: o,
2327
- onRemoveClick: f,
2328
- onMoveClick: g,
2329
- children: /* @__PURE__ */ I("div", { className: "p-4 border border-dashed border-danger", children: [
2330
- /* @__PURE__ */ I("span", { className: "font-bold", children: [
2402
+ onRemoveClick: c,
2403
+ onMoveClick: f,
2404
+ children: /* @__PURE__ */ _("div", { className: "p-4 border border-dashed border-danger", children: [
2405
+ /* @__PURE__ */ _("span", { className: "font-bold", children: [
2331
2406
  'Failed to load "',
2332
2407
  s,
2333
2408
  '"'
2334
2409
  ] }),
2335
- T?.versionMismatch && /* @__PURE__ */ I("div", { className: "flex flex-col", children: [
2336
- /* @__PURE__ */ I("span", { className: "font-bold text-sm", children: [
2410
+ w?.versionMismatch && /* @__PURE__ */ _("div", { className: "flex flex-col", children: [
2411
+ /* @__PURE__ */ _("span", { className: "font-bold text-sm", children: [
2337
2412
  "Version Mismatch: ",
2338
2413
  s
2339
2414
  ] }),
2340
- /* @__PURE__ */ I("div", { className: "flex flex-col text-xs", children: [
2341
- /* @__PURE__ */ I("span", { children: [
2415
+ /* @__PURE__ */ _("div", { className: "flex flex-col text-xs", children: [
2416
+ /* @__PURE__ */ _("span", { children: [
2342
2417
  "Widget requires: Vue ",
2343
- T?.requiredVer,
2418
+ w?.requiredVer,
2344
2419
  "."
2345
2420
  ] }),
2346
- /* @__PURE__ */ I("span", { children: [
2421
+ /* @__PURE__ */ _("span", { children: [
2347
2422
  "Host version: ",
2348
- T?.hostVer,
2423
+ w?.hostVer,
2349
2424
  "."
2350
2425
  ] })
2351
2426
  ] }),
2352
- /* @__PURE__ */ I("div", { className: "flex flex-col mt-3", children: [
2427
+ /* @__PURE__ */ _("div", { className: "flex flex-col mt-3", children: [
2353
2428
  /* @__PURE__ */ t("h5", { children: "Externals:" }),
2354
- /* @__PURE__ */ t("dl", { className: "ml-2 flex flex-col text-xs", children: T?.externalDependencies.map((S, b) => /* @__PURE__ */ I("dd", { children: [
2429
+ /* @__PURE__ */ t("dl", { className: "ml-2 flex flex-col text-xs", children: w?.externalDependencies.map((b, v) => /* @__PURE__ */ _("dd", { children: [
2355
2430
  "- ",
2356
- S
2357
- ] }, `dep-${b}`)) })
2431
+ b
2432
+ ] }, `dep-${v}`)) })
2358
2433
  ] })
2359
2434
  ] }),
2360
- !T?.versionMismatch && /* @__PURE__ */ I("div", { className: "flex flex-col", children: [
2435
+ !w?.versionMismatch && /* @__PURE__ */ _("div", { className: "flex flex-col", children: [
2361
2436
  /* @__PURE__ */ t("div", { className: "flex flex-col text-xs italic", children: /* @__PURE__ */ t("span", { children: "The remote plugin is unavailable." }) }),
2362
2437
  /* @__PURE__ */ t("span", { className: "font-bold text-sm", children: "Error Details:" }),
2363
- /* @__PURE__ */ I("div", { className: "flex flex-col mt-3", children: [
2438
+ /* @__PURE__ */ _("div", { className: "flex flex-col mt-3", children: [
2364
2439
  /* @__PURE__ */ t("h5", { children: "Details:" }),
2365
- /* @__PURE__ */ t("div", { className: "text-xs break-all", children: T?.errorMessage || "Unknown error occurred." })
2440
+ /* @__PURE__ */ t("div", { className: "text-xs break-all", children: w?.errorMessage || "Unknown error occurred." })
2366
2441
  ] })
2367
2442
  ] })
2368
2443
  ] })
2369
2444
  }
2370
2445
  );
2371
2446
  }
2372
- const er = (e, s) => {
2373
- const r = (o) => o.replace(/[^0-9.]/g, ""), n = r(e).split(".").map(Number), d = r(s).split(".").map(Number);
2374
- return !(n[0] !== d[0] || n[1] < d[1]);
2447
+ const on = (e, s) => {
2448
+ const n = (o) => o.replace(/[^0-9.]/g, ""), r = n(e).split(".").map(Number), d = n(s).split(".").map(Number);
2449
+ return !(r[0] !== d[0] || r[1] < d[1]);
2375
2450
  };
2376
- function tr(e) {
2377
- return /* @__PURE__ */ t("div", { className: "dashboard-widget", children: /* @__PURE__ */ I("div", { className: "absolute inset-0 bg-black flex flex-col items-center justify-center text-center", children: [
2451
+ function an(e) {
2452
+ return /* @__PURE__ */ t("div", { className: "dashboard-widget", children: /* @__PURE__ */ _("div", { className: "absolute inset-0 bg-black flex flex-col items-center justify-center text-center", children: [
2378
2453
  /* @__PURE__ */ t("div", { className: "w-full absolute opacity-100 text-primary", children: e.title }),
2379
2454
  /* @__PURE__ */ t("div", { className: "animate-ping rounded-full h-32 w-32 border-8 border-white" })
2380
2455
  ] }) });
2381
2456
  }
2382
- function rr({
2457
+ function sn({
2383
2458
  index: e,
2384
2459
  maxIndex: s,
2385
- widgetKey: r,
2386
- parentWidgetKey: n,
2460
+ widgetKey: n,
2461
+ parentWidgetKey: r,
2387
2462
  targetContainerKey: d,
2388
2463
  childWidgetsConfig: o,
2389
- widgetCatalog: f,
2390
- isEditing: g,
2464
+ widgetCatalog: c,
2465
+ isEditing: f,
2391
2466
  // for additional props passed to all widget from the dashboard through the DynamicWidgetLoader:
2392
- extraProps: T,
2393
- onRemoveClick: S,
2394
- onMoveClick: b,
2467
+ extraProps: w,
2468
+ onRemoveClick: b,
2469
+ onMoveClick: v,
2395
2470
  selectContainer: l
2396
2471
  }) {
2397
- const p = `${r}`.split("_"), m = p.length > 1, D = m ? p[0] : r, h = f.get(D);
2472
+ const y = `${n}`.split("_"), p = y.length > 1, T = p ? y[0] : n, h = c.get(T);
2398
2473
  if (!h)
2399
- return /* @__PURE__ */ t("div", { className: "flex", children: /* @__PURE__ */ I("p", { children: [
2474
+ return /* @__PURE__ */ t("div", { className: "flex", children: /* @__PURE__ */ _("p", { children: [
2400
2475
  "Widget not found in catalog: ",
2401
- D
2476
+ T
2402
2477
  ] }) });
2403
- let y = null, x = !1;
2404
- const E = !!h.isContainer, C = m ? nt(r) : "", w = E ? (o || []).filter((i) => i.parentWidgetKey === r) : [], a = {
2478
+ let g = null, x = !1;
2479
+ const N = !!h.isContainer, S = p ? it(n) : "", D = N ? (o || []).filter((i) => i.parentWidgetKey === n) : [], a = {
2405
2480
  index: e,
2406
2481
  maxIndex: s,
2407
- widgetKey: r,
2408
- parentWidgetKey: n,
2409
- isEditing: g,
2410
- extraProps: T,
2411
- title: m ? C : h.title,
2412
- onRemoveClick: S,
2413
- onMoveClick: b
2482
+ widgetKey: n,
2483
+ parentWidgetKey: r,
2484
+ isEditing: f,
2485
+ extraProps: w,
2486
+ title: p ? S : h.title,
2487
+ onRemoveClick: b,
2488
+ onMoveClick: v
2414
2489
  };
2415
- if (h.component ? (y = h.component, x = !1) : h.loader && (x = !0, y = ot(() => {
2490
+ if (h.component ? (g = h.component, x = !1) : h.loader && (x = !0, g = fe(() => {
2416
2491
  if (!h) return null;
2417
- const i = typeof __HOST_REACT_VERSION__ < "u" ? __HOST_REACT_VERSION__ : "19.2.3", u = h.meta?.externalDependencies || [], c = u.find((_) => _.startsWith("react@"));
2418
- if (c) {
2419
- const _ = c.split("@")[1];
2420
- if (!er(i, _)) {
2492
+ const i = typeof __HOST_REACT_VERSION__ < "u" ? __HOST_REACT_VERSION__ : "19.2.3", u = h.meta?.externalDependencies || [], M = u.find(($) => $.startsWith("react@"));
2493
+ if (M) {
2494
+ const $ = M.split("@")[1];
2495
+ if (!on(i, $)) {
2421
2496
  const R = {
2422
2497
  ...a.extraProps,
2423
2498
  hostVer: i,
2424
- requiredVer: _,
2499
+ requiredVer: $,
2425
2500
  externalDependencies: u,
2426
- errorMessage: `Incompatible React version. Required: ${_}, Host: ${i}`,
2501
+ errorMessage: `Incompatible React version. Required: ${$}, Host: ${i}`,
2427
2502
  versionMismatch: !0
2428
2503
  };
2429
2504
  return a.extraProps = {
2430
2505
  ...a.extraProps,
2431
2506
  ...R
2432
- }, ve.lazy(async () => ({
2433
- default: () => /* @__PURE__ */ t(rt, { ...a })
2507
+ }, xe.lazy(async () => ({
2508
+ default: () => /* @__PURE__ */ t(ot, { ...a })
2434
2509
  }));
2435
2510
  }
2436
2511
  }
2437
2512
  if (h.component)
2438
2513
  return h.component;
2439
2514
  if (h.loader) {
2440
- const _ = async () => {
2515
+ const $ = async () => {
2441
2516
  try {
2442
2517
  return await h.loader();
2443
2518
  } catch (R) {
2444
- console.error(`Widget Load Error [${r}]:`, R);
2445
- const H = {
2519
+ console.error(`Widget Load Error [${n}]:`, R);
2520
+ const V = {
2446
2521
  ...a.extraProps,
2447
2522
  hostVer: i,
2448
- requiredVer: c ? c.split("@")[1] : "Unknown",
2523
+ requiredVer: M ? M.split("@")[1] : "Unknown",
2449
2524
  externalDependencies: u,
2450
2525
  errorMessage: R.message,
2451
2526
  versionMismatch: !1
2452
2527
  };
2453
2528
  return a.extraProps = {
2454
2529
  ...a.extraProps,
2455
- ...H
2530
+ ...V
2456
2531
  }, {
2457
- default: () => /* @__PURE__ */ t(rt, { ...a })
2532
+ default: () => /* @__PURE__ */ t(ot, { ...a })
2458
2533
  };
2459
2534
  }
2460
2535
  };
2461
- return ve.lazy(_);
2536
+ return xe.lazy($);
2462
2537
  }
2463
2538
  return null;
2464
- }, [h, r])), !y)
2465
- return /* @__PURE__ */ t("div", { className: "flex", children: /* @__PURE__ */ I("p", { children: [
2539
+ }, [h, n])), !g)
2540
+ return /* @__PURE__ */ t("div", { className: "flex", children: /* @__PURE__ */ _("p", { children: [
2466
2541
  "Widget definition incomplete: ",
2467
- D
2542
+ T
2468
2543
  ] }) });
2469
- const M = E ? {
2470
- highlight: d === r,
2544
+ const P = N ? {
2545
+ highlight: d === n,
2471
2546
  selectContainer: l,
2472
2547
  // The children prop is the recursive call back to DynamicWidgetLoader
2473
- children: w.map((i, u) => /* @__PURE__ */ t(
2474
- rr,
2548
+ children: D.map((i, u) => /* @__PURE__ */ t(
2549
+ sn,
2475
2550
  {
2476
2551
  index: u,
2477
- maxIndex: w.length - 1,
2552
+ maxIndex: D.length - 1,
2478
2553
  widgetKey: i.widgetKey,
2479
2554
  parentWidgetKey: i.parentWidgetKey,
2480
- widgetCatalog: f,
2481
- isEditing: g,
2482
- extraProps: T,
2483
- onRemoveClick: S,
2484
- onMoveClick: b
2555
+ widgetCatalog: c,
2556
+ isEditing: f,
2557
+ extraProps: w,
2558
+ onRemoveClick: b,
2559
+ onMoveClick: v
2485
2560
  },
2486
2561
  `${i.widgetKey}_${u}`
2487
2562
  ))
2488
2563
  } : {};
2489
- return x ? /* @__PURE__ */ t(xt, { fallback: /* @__PURE__ */ t(tr, { title: `Loading ${h.title}` }), children: /* @__PURE__ */ t(y, { ...a, ...M }) }) : /* @__PURE__ */ t(y, { ...a, ...M });
2564
+ return x ? /* @__PURE__ */ t(St, { fallback: /* @__PURE__ */ t(an, { title: `Loading ${h.title}` }), children: /* @__PURE__ */ t(g, { ...a, ...P }) }) : /* @__PURE__ */ t(g, { ...a, ...P });
2490
2565
  }
2491
- const be = "size-5";
2492
- function ke(e) {
2493
- const s = e.highlight || !1, r = e.direction || "column", n = e.children.length > 0, d = e.isEditing || !1;
2494
- let g = s ? "border-transparent" : d && !n ? "border-card-invert" : "border-transparent";
2495
- const T = ["large", "xlarge"].includes(e.size || "");
2496
- let S = "";
2497
- ["large", "xlarge"].indexOf(e.size || "") > -1 && (S = `${e.size}-widget`);
2566
+ const ve = "size-5";
2567
+ function je(e) {
2568
+ const s = e.highlight || !1, n = e.direction || "column", r = e.children.length > 0, d = e.isEditing || !1;
2569
+ let f = s ? "border-transparent" : d && !r ? "border-card-invert" : "border-transparent";
2570
+ const w = ["large", "xlarge"].includes(e.size || "");
2498
2571
  let b = "";
2499
- r === "row" && !n ? b = "min-h-48" : r === "column" && !n && (b = "min-h-96");
2500
- let l = G(
2572
+ ["large", "xlarge"].indexOf(e.size || "") > -1 && (b = `${e.size}-widget`);
2573
+ let v = "";
2574
+ n === "row" && !r ? v = "min-h-48" : n === "column" && !r && (v = "min-h-96");
2575
+ let l = Z(
2501
2576
  "dashboard-widget-container relative ",
2502
- n ? "" : "has-no-children",
2577
+ r ? "" : "has-no-children",
2503
2578
  d ? "editing" : "",
2579
+ v,
2504
2580
  b,
2505
- S,
2506
- T ? "widget-container-grid" : "widget-container-flex",
2507
- `direction-${r}`,
2508
- `border ${g}`,
2509
- `${s ? "highlight-container" : ""} ${g}`
2510
- ), p = `widget-container-header direction-${r} flex items-center border-1 ${g}`;
2511
- const m = () => {
2581
+ w ? "widget-container-grid" : "widget-container-flex",
2582
+ `direction-${n}`,
2583
+ `border ${f}`,
2584
+ `${s ? "highlight-container" : ""} ${f}`
2585
+ ), y = `widget-container-header direction-${n} flex items-center border-1 ${f}`;
2586
+ const p = () => {
2512
2587
  e.onRemoveClick && e.widgetKey && e.onRemoveClick(e.widgetKey);
2513
- }, D = (y) => {
2514
- e.onMoveClick && e.widgetKey && e.onMoveClick(y, e.widgetKey, e.parentWidgetKey);
2588
+ }, T = (g) => {
2589
+ e.onMoveClick && e.widgetKey && e.onMoveClick(g, e.widgetKey, e.parentWidgetKey);
2515
2590
  }, h = () => {
2516
2591
  e.selectContainer && e.widgetKey && e.selectContainer(e.widgetKey);
2517
2592
  };
2518
- return /* @__PURE__ */ I("div", { "data-testid": `container_${e.widgetKey}`, className: l, children: [
2519
- /* @__PURE__ */ I("div", { className: p, children: [
2593
+ return /* @__PURE__ */ _("div", { "data-testid": `container_${e.widgetKey}`, className: l, children: [
2594
+ /* @__PURE__ */ _("div", { className: y, children: [
2520
2595
  /* @__PURE__ */ t(
2521
2596
  "div",
2522
2597
  {
@@ -2525,9 +2600,9 @@ function ke(e) {
2525
2600
  children: /* @__PURE__ */ t("span", { className: "text-sm font-semibold capitalize", children: e.title })
2526
2601
  }
2527
2602
  ),
2528
- /* @__PURE__ */ t("div", { "data-testid": "collapse-and-other-actions", children: /* @__PURE__ */ t("div", { className: "actions-inner", children: /* @__PURE__ */ I("div", { className: "actions-buttons-container", children: [
2603
+ /* @__PURE__ */ t("div", { "data-testid": "collapse-and-other-actions", children: /* @__PURE__ */ t("div", { className: "actions-inner", children: /* @__PURE__ */ _("div", { className: "actions-buttons-container", children: [
2529
2604
  /* @__PURE__ */ t(
2530
- J,
2605
+ ee,
2531
2606
  {
2532
2607
  "data-testid": `open-widgets-catalog-from-container_${e.title}`,
2533
2608
  isIconButton: !0,
@@ -2538,15 +2613,15 @@ function ke(e) {
2538
2613
  },
2539
2614
  onClick: h,
2540
2615
  children: /* @__PURE__ */ t(
2541
- It,
2616
+ Ot,
2542
2617
  {
2543
- className: `${be} ${s ? "text-success" : "text-disabled"}`
2618
+ className: `${ve} ${s ? "text-success" : "text-disabled"}`
2544
2619
  }
2545
2620
  )
2546
2621
  }
2547
2622
  ),
2548
2623
  /* @__PURE__ */ t(
2549
- J,
2624
+ ee,
2550
2625
  {
2551
2626
  "data-testid": `move-container-left_${e.title}`,
2552
2627
  isIconButton: !0,
@@ -2555,12 +2630,12 @@ function ke(e) {
2555
2630
  placement: "top",
2556
2631
  title: `${e.index < 1 ? "Already at min position" : "Move Container to the left/up"}`
2557
2632
  },
2558
- onClick: () => D(-1),
2559
- children: /* @__PURE__ */ t(at, { className: be })
2633
+ onClick: () => T(-1),
2634
+ children: /* @__PURE__ */ t(ct, { className: ve })
2560
2635
  }
2561
2636
  ),
2562
2637
  /* @__PURE__ */ t(
2563
- J,
2638
+ ee,
2564
2639
  {
2565
2640
  "data-testid": `move-container-right_${e.title}`,
2566
2641
  isIconButton: !0,
@@ -2569,12 +2644,12 @@ function ke(e) {
2569
2644
  placement: "top",
2570
2645
  title: `${e.index >= e.maxIndex ? "Already at max position" : "Move Container to the right/down"}`
2571
2646
  },
2572
- onClick: () => D(1),
2573
- children: /* @__PURE__ */ t(st, { className: be })
2647
+ onClick: () => T(1),
2648
+ children: /* @__PURE__ */ t(dt, { className: ve })
2574
2649
  }
2575
2650
  ),
2576
2651
  /* @__PURE__ */ t(
2577
- J,
2652
+ ee,
2578
2653
  {
2579
2654
  "data-testid": `remove-container_${e.title}`,
2580
2655
  isIconButton: !0,
@@ -2582,8 +2657,8 @@ function ke(e) {
2582
2657
  placement: "top",
2583
2658
  title: "Remove Container"
2584
2659
  },
2585
- onClick: () => m(),
2586
- children: /* @__PURE__ */ t(lt, { className: be })
2660
+ onClick: () => p(),
2661
+ children: /* @__PURE__ */ t(ut, { className: ve })
2587
2662
  }
2588
2663
  )
2589
2664
  ] }) }) })
@@ -2591,159 +2666,212 @@ function ke(e) {
2591
2666
  /* @__PURE__ */ t("div", { "data-testid": `childrenwrapper_${e.widgetKey}`, className: "widget-container-inner", children: e.children })
2592
2667
  ] });
2593
2668
  }
2594
- function Ir(e) {
2595
- const { direction: s, ...r } = e;
2596
- return /* @__PURE__ */ t(ke, { direction: "column", ...r });
2669
+ function Wn(e) {
2670
+ const { direction: s, ...n } = e;
2671
+ return /* @__PURE__ */ t(je, { direction: "column", ...n });
2597
2672
  }
2598
- function Rr(e) {
2599
- const { size: s, ...r } = e;
2600
- return /* @__PURE__ */ t(ke, { size: "large", ...r });
2673
+ function jn(e) {
2674
+ const { size: s, ...n } = e;
2675
+ return /* @__PURE__ */ t(je, { size: "large", ...n });
2601
2676
  }
2602
- function $r(e) {
2603
- const { direction: s, ...r } = e;
2604
- return /* @__PURE__ */ t(ke, { direction: "row", ...r });
2677
+ function An(e) {
2678
+ const { direction: s, ...n } = e;
2679
+ return /* @__PURE__ */ t(je, { direction: "row", ...n });
2605
2680
  }
2606
- function Ie({
2681
+ function $e({
2607
2682
  // widgetKey,
2608
2683
  metaData: e,
2609
2684
  alreadyAdded: s,
2610
- addWidget: r
2685
+ addWidget: n
2611
2686
  }) {
2612
- const [n, d] = ae(!1), o = e.icon || Rt, f = e.name || "Unknown", g = e.description || "---", S = (e.noDuplicatedWidgets || !1) && s, b = G(`
2687
+ const [r, d] = oe(!1), o = e.icon || kt, c = e.name || "Unknown", f = e.description || "---", b = (e.noDuplicatedWidgets || !1) && s, v = Z(`
2613
2688
  flex flex-row gap-2 p-2 rounded-md border text-sm bg-card content-card backdrop-opacity-100
2614
- ${S ? "border-disabled fill-disabled text-disabled" : "cursor-pointer border-primary fill-danger hover:fill-primary content-primary hover:brightness-110"}
2615
- `);
2616
- return /* @__PURE__ */ I("div", { className: b, style: { width: "calc(100% - 1rem)" }, onClick: () => {
2617
- S || r();
2618
- }, children: [
2689
+ ${b ? "border-disabled fill-disabled text-disabled" : "cursor-pointer border-primary fill-danger hover:fill-primary content-primary hover:brightness-110"}
2690
+ `), l = () => {
2691
+ b || n();
2692
+ }, y = (p) => {
2693
+ p.stopPropagation(), p.preventDefault(), d(!r);
2694
+ };
2695
+ return /* @__PURE__ */ _("div", { className: v, style: { width: "calc(100% - 1rem)" }, onClick: l, children: [
2619
2696
  /* @__PURE__ */ t(o, { className: "" }),
2620
- /* @__PURE__ */ I("div", { className: "w-full", children: [
2621
- /* @__PURE__ */ I("div", { className: "flex flex-row items-center gap-2 justify-between", children: [
2622
- /* @__PURE__ */ t("span", { className: "font-bold", children: f }),
2623
- /* @__PURE__ */ t("div", { className: "text-xs", children: S ? "(Added)" : "" })
2697
+ /* @__PURE__ */ _("div", { className: "w-full", children: [
2698
+ /* @__PURE__ */ _("div", { className: "flex flex-row items-center gap-2 justify-between", children: [
2699
+ /* @__PURE__ */ t("span", { className: "font-bold", children: c }),
2700
+ /* @__PURE__ */ t("div", { className: "text-xs", children: b ? "(Added)" : "" })
2624
2701
  ] }),
2625
- /* @__PURE__ */ I("div", { className: "flex flex-col text-xs", children: [
2626
- /* @__PURE__ */ t("div", { children: g }),
2627
- /* @__PURE__ */ t("div", { className: "mt-3 cursor-pointer", onClick: (m) => {
2628
- m.stopPropagation(), m.preventDefault(), d(!n);
2629
- }, children: "Externals:" }),
2630
- n && /* @__PURE__ */ t("dl", { className: "ml-2 flex flex-col text-xs", children: e.externalDependencies.map((m, D) => /* @__PURE__ */ I("dd", { children: [
2631
- "- ",
2632
- m
2633
- ] }, D)) })
2702
+ /* @__PURE__ */ _("div", { className: "flex flex-col text-xs", children: [
2703
+ /* @__PURE__ */ t("div", { children: f }),
2704
+ r && e.externalDependencies.length > 0 && /* @__PURE__ */ _("div", { className: "mt-3 cursor-pointer", onClick: y, children: [
2705
+ "Externals:",
2706
+ /* @__PURE__ */ t("dl", { className: "ml-2 flex flex-col text-xs", children: e.externalDependencies.map((p, T) => /* @__PURE__ */ _("dd", { children: [
2707
+ "- ",
2708
+ p
2709
+ ] }, T)) })
2710
+ ] })
2634
2711
  ] })
2635
2712
  ] })
2636
2713
  ] });
2637
2714
  }
2638
- function nr({ item: e, onSettingItemChanged: s }) {
2639
- const r = e.name || "Unknown", n = e.description || "---", d = G(`
2640
- flex flex-row gap-2 p-2 rounded-md border text-sm bg-card content-card backdrop-opacity-100
2641
- `), o = (g) => {
2642
- const T = g.key;
2643
- if (["ArrowUp", "ArrowDown"].includes(T)) {
2644
- g.preventDefault();
2645
- const S = bt.incrementOrDecrementValue(
2646
- e,
2647
- T === "ArrowUp" ? 1 : -1
2648
- );
2649
- s(S);
2650
- }
2651
- }, f = (g) => {
2715
+ function ln({ item: e, onSettingItemChanged: s }) {
2716
+ const n = e.name || "Unknown", r = e.description || "---", d = Z(`
2717
+ flex flex-row gap-2 px-2 text-sm backdrop-opacity-100
2718
+ `), o = (w) => {
2719
+ const b = wt.incrementOrDecrementValue(e, w);
2720
+ s(b);
2721
+ }, c = (w) => {
2722
+ const b = w.key;
2723
+ ["ArrowUp", "ArrowDown"].includes(b) && (w.preventDefault(), o(b === "ArrowUp" ? 1 : -1));
2724
+ }, f = (w) => {
2652
2725
  s({
2653
2726
  ...e,
2654
- value: g.target.value || ""
2727
+ value: w.target.value || ""
2655
2728
  });
2656
2729
  };
2657
- return /* @__PURE__ */ t("div", { className: d, style: { width: "calc(100% - 1rem)" }, children: /* @__PURE__ */ I("div", { className: "w-full", children: [
2658
- /* @__PURE__ */ t("div", { className: "flex flex-row items-center gap-2 justify-between", children: /* @__PURE__ */ t("span", { className: "font-bold", children: r }) }),
2659
- /* @__PURE__ */ t("div", { className: "flex flex-col gap-2 text-xs", children: /* @__PURE__ */ t("div", { children: n }) }),
2660
- /* @__PURE__ */ I("div", { children: [
2661
- "Value:",
2730
+ return /* @__PURE__ */ t("div", { className: d, style: { width: "calc(100% - 1rem)" }, children: /* @__PURE__ */ _("div", { className: "w-full flex flex-col", children: [
2731
+ /* @__PURE__ */ t("h6", { className: "font-bold", children: n }),
2732
+ /* @__PURE__ */ t("p", { className: "flex flex-col text-xs", children: r }),
2733
+ /* @__PURE__ */ _("div", { className: "mt-1 flex flex-row gap-2 items-center", children: [
2662
2734
  /* @__PURE__ */ t(
2663
- ct,
2735
+ ht,
2664
2736
  {
2665
- label: "Filter...",
2737
+ label: "",
2666
2738
  size: "small",
2667
2739
  className: "w-full",
2668
2740
  value: e.value,
2669
2741
  onChange: f,
2670
- onKeyDown: o
2742
+ onKeyDown: c
2743
+ }
2744
+ ),
2745
+ /* @__PURE__ */ t(
2746
+ ee,
2747
+ {
2748
+ "data-testid": `setting-decrease_${e.key}`,
2749
+ isIconButton: !0,
2750
+ tooltip: {
2751
+ placement: "bottom",
2752
+ title: "Decrease Value"
2753
+ },
2754
+ onClick: () => o(-1),
2755
+ children: /* @__PURE__ */ t(Et, {})
2756
+ }
2757
+ ),
2758
+ /* @__PURE__ */ t(
2759
+ ee,
2760
+ {
2761
+ "data-testid": `setting-increase_${e.key}`,
2762
+ isIconButton: !0,
2763
+ tooltip: {
2764
+ placement: "bottom",
2765
+ title: "Increase Value"
2766
+ },
2767
+ onClick: () => o(1),
2768
+ children: /* @__PURE__ */ t(lt, {})
2671
2769
  }
2672
2770
  )
2673
2771
  ] })
2674
2772
  ] }) });
2675
2773
  }
2676
2774
  const Re = (e, s) => [
2677
- ...s.widgets.filter((n) => n.indexOf("Container") === -1),
2678
- ...s.childWidgetsConfig.map((n) => n.widgetKey)
2775
+ ...s.widgets.filter((r) => r.indexOf("Container") === -1),
2776
+ ...s.childWidgetsConfig.map((r) => r.widgetKey)
2679
2777
  ].includes(e);
2680
- function Or(e) {
2778
+ function Ln(e) {
2681
2779
  const {
2682
2780
  currentDashboardConfig: s,
2683
- undoStatus: r,
2684
- addContainer: n,
2781
+ undoStatus: n,
2782
+ addContainer: r,
2685
2783
  onResetToDefaultDashboardClick: d,
2686
2784
  onUndoOrRedo: o,
2687
- onDoneClick: f
2688
- } = e, [g, T] = ae("Editing"), [S, b] = ae(0), [l, p] = ae(""), D = Array.from(e.widgetsCatalog.keys()).map((c) => ({
2689
- widgetKey: c,
2690
- metaData: yt(c, e.widgetsCatalog)
2691
- })), h = !!e.targetContainerKey, y = (c) => {
2692
- p(c.target.value);
2693
- }, x = (c) => {
2694
- const _ = l.trim().toLowerCase();
2695
- return _.length < 1 ? !0 : c.name.trim().toLowerCase().includes(_) || c.description.toLowerCase().includes(_);
2696
- }, E = (c) => {
2697
- const _ = l.trim().toLowerCase();
2698
- return _.length < 1 ? !0 : c.name.trim().toLowerCase().includes(_) || c.description.toLowerCase().includes(_);
2699
- }, C = (c) => G(
2700
- "px-4 py-2 font-medium cursor-pointer border-b-2 border-transparent hover:border-primary focus:outline-none",
2701
- c === S ? "text-primary border-primary" : ""
2702
- ), w = (c) => {
2703
- h ? e.addWidget(c, e.targetContainerKey) : e.addWidget(c);
2704
- }, a = (c) => {
2705
- const _ = (e.currentDashboardConfig.cssSettings || []).map((R) => R.key === c.key ? c : R);
2706
- e.onSettingItemsUpdated(_);
2707
- }, [M, i] = ae(!1), u = (c) => {
2708
- i(c);
2785
+ onDoneClick: c
2786
+ } = e, [f, w] = oe("Editing"), [b, v] = oe(0), [l, y] = oe(""), [p, T] = oe(!1), g = Array.from(e.widgetsCatalog.keys()).map((m) => ({
2787
+ widgetKey: m,
2788
+ metaData: Ct(m, e.widgetsCatalog)
2789
+ })), x = !!e.targetContainerKey, N = (m) => {
2790
+ y(m.target.value);
2791
+ }, S = (m) => {
2792
+ const B = l.trim().toLowerCase();
2793
+ return B.length < 1 ? !0 : m.name.trim().toLowerCase().includes(B) || m.description.toLowerCase().includes(B) || m.categories.some((te) => te.toLowerCase().includes(B));
2794
+ }, D = (m) => {
2795
+ const B = l.trim().toLowerCase();
2796
+ return B.length < 1 ? !0 : m.name.trim().toLowerCase().includes(B) || m.description.toLowerCase().includes(B);
2797
+ }, a = (m, B) => Z(
2798
+ "px-4 py-2 font-medium cursor-pointer",
2799
+ `${B ? "" : "border-b-2"} border-transparent hover:border-primary focus:outline-none`,
2800
+ m === b ? "text-primary border-primary" : ""
2801
+ ), P = (m) => Z(
2802
+ "w-full flex items-center gap-2 px-2 py-1 text-left text-sm cursor-pointer border",
2803
+ m !== b ? "border-transparent content-topbar hover:bg-primary hover:content-primary" : "border-primary text-primary"
2804
+ ), i = (m) => {
2805
+ x ? e.addWidget(m, e.targetContainerKey) : e.addWidget(m);
2806
+ }, u = (m) => {
2807
+ const B = (e.currentDashboardConfig.cssSettings || []).map((te) => te.key === m.key ? m : te);
2808
+ e.onSettingItemsUpdated(B);
2809
+ }, M = (m) => {
2810
+ T(m);
2811
+ }, $ = (m) => {
2812
+ v(m), T(!1);
2813
+ }, [R, V] = oe(!1), G = (m) => {
2814
+ V(m);
2709
2815
  };
2710
- return Ct(() => {
2816
+ Oe(() => {
2711
2817
  if (e.targetContainerKey) {
2712
- b(0);
2713
- const c = nt(e.targetContainerKey);
2714
- T(`Editing ${c}`);
2818
+ $(0);
2819
+ const m = it(e.targetContainerKey);
2820
+ w(`Editing ${m}`);
2715
2821
  } else
2716
- T("Editing Dashboard");
2717
- }, [e.targetContainerKey]), /* @__PURE__ */ t(
2718
- Xt,
2822
+ w("Widget Catalog");
2823
+ }, [e.targetContainerKey]);
2824
+ const X = fe(() => {
2825
+ const m = [
2826
+ {
2827
+ id: 0,
2828
+ label: "Widgets"
2829
+ },
2830
+ {
2831
+ id: 1,
2832
+ label: "Charts"
2833
+ }
2834
+ ];
2835
+ return x || (m.push({
2836
+ id: 2,
2837
+ label: "Containers"
2838
+ }), m.push({
2839
+ id: 3,
2840
+ label: "CSS Settings",
2841
+ hideLabel: !0,
2842
+ icon: /* @__PURE__ */ t(_t, {})
2843
+ })), m;
2844
+ }, [x]), Q = fe(() => X.find((m) => m.id === b)?.label || "Category...", [b]);
2845
+ return /* @__PURE__ */ t(
2846
+ Qt,
2719
2847
  {
2720
2848
  testId: "dashboard-catalog-flyout",
2721
- className: "bg-body content-body bg-opacity-70 border-2 border-primary",
2849
+ className: "bg-body content-body bg-opacity-70 border-2 border-primary max-w-72 sm:max-w-90",
2722
2850
  zIndex: e.zIndex,
2723
2851
  style: {
2724
- width: "360px",
2725
- minWidth: "360px",
2726
- maxWidth: "360px",
2727
- minHeight: "360px",
2852
+ // width: '360px',
2853
+ // minWidth: '360px',
2854
+ // maxWidth: '360px',
2855
+ // minHeight: '360px',
2728
2856
  backdropFilter: "blur(8px)"
2729
2857
  },
2730
- onDraggingChange: u,
2731
- children: /* @__PURE__ */ I("div", { className: "flex flex-col gap-2 p-2", children: [
2732
- /* @__PURE__ */ I("div", { className: "flex flex-row gap-2 justify-between", children: [
2733
- /* @__PURE__ */ I("div", { className: "handle flex-1 flex gap-2 w-full hover:text-primary cursor-grab", children: [
2734
- M ? /* @__PURE__ */ t(Pt, { className: "size-5" }) : /* @__PURE__ */ t(Mt, { className: "size-5" }),
2858
+ onDraggingChange: G,
2859
+ children: /* @__PURE__ */ _("div", { className: "flex flex-col gap-2 p-2", children: [
2860
+ /* @__PURE__ */ _("div", { className: "flex flex-row gap-2 justify-between", children: [
2861
+ /* @__PURE__ */ _("div", { className: "handle flex-1 flex gap-2 w-full hover:text-primary cursor-grab", children: [
2862
+ R ? /* @__PURE__ */ t(Rt, { className: "size-5" }) : /* @__PURE__ */ t($t, { className: "size-5" }),
2735
2863
  /* @__PURE__ */ t(
2736
2864
  "h2",
2737
2865
  {
2738
2866
  className: "flex-1 text-base margin-0 capitalize",
2739
- title: h ? g : `Editing dashboard: ${s.dashboardName}`,
2740
- children: g
2867
+ title: x ? f : `Editing dashboard: ${s.dashboardName}`,
2868
+ children: f
2741
2869
  }
2742
2870
  )
2743
2871
  ] }),
2744
- /* @__PURE__ */ I("div", { className: "flex flex-row gap-2 items-center", children: [
2872
+ /* @__PURE__ */ _("div", { className: "flex flex-row items-center gap-2", children: [
2745
2873
  /* @__PURE__ */ t(
2746
- J,
2874
+ ee,
2747
2875
  {
2748
2876
  "data-testid": "undo-dashboard-config-change",
2749
2877
  isIconButton: !0,
@@ -2751,13 +2879,13 @@ function Or(e) {
2751
2879
  placement: "bottom",
2752
2880
  title: "Undo"
2753
2881
  },
2754
- disabled: r.isUndoDisabled,
2882
+ disabled: n.isUndoDisabled,
2755
2883
  onClick: () => o("Undo"),
2756
- children: /* @__PURE__ */ t(Nt, { className: "size-5" })
2884
+ children: /* @__PURE__ */ t(Pt, { className: "size-5" })
2757
2885
  }
2758
2886
  ),
2759
2887
  /* @__PURE__ */ t(
2760
- J,
2888
+ ee,
2761
2889
  {
2762
2890
  "data-testid": "redo-dashboard-config-change",
2763
2891
  isIconButton: !0,
@@ -2765,13 +2893,13 @@ function Or(e) {
2765
2893
  placement: "bottom",
2766
2894
  title: "Redo"
2767
2895
  },
2768
- disabled: r.isRedoDisabled,
2896
+ disabled: n.isRedoDisabled,
2769
2897
  onClick: () => o("Redo"),
2770
- children: /* @__PURE__ */ t(_t, { className: "size-5" })
2898
+ children: /* @__PURE__ */ t(It, { className: "size-5" })
2771
2899
  }
2772
2900
  ),
2773
2901
  /* @__PURE__ */ t(
2774
- J,
2902
+ ee,
2775
2903
  {
2776
2904
  "data-testid": "reset-dashboard-to-default",
2777
2905
  isIconButton: !0,
@@ -2780,28 +2908,63 @@ function Or(e) {
2780
2908
  title: "Reset this dashboard to the default configuration"
2781
2909
  },
2782
2910
  onClick: d,
2783
- children: /* @__PURE__ */ t(Et, { className: "size-5" })
2911
+ children: /* @__PURE__ */ t(Mt, { className: "size-5" })
2784
2912
  }
2785
2913
  )
2786
2914
  ] })
2787
2915
  ] }),
2788
- /* @__PURE__ */ I("div", { className: "flex border-b border-gray-200", children: [
2789
- /* @__PURE__ */ t("button", { onClick: () => b(0), className: C(0), children: "Widgets" }),
2790
- /* @__PURE__ */ t("button", { onClick: () => b(1), className: C(1), children: "Charts" }),
2791
- !h && /* @__PURE__ */ t("button", { onClick: () => b(2), className: C(2), children: "Containers" }),
2792
- !h && /* @__PURE__ */ t("button", { onClick: () => b(3), className: C(3), children: /* @__PURE__ */ t(Tt, {}) })
2793
- ] }),
2794
- /* @__PURE__ */ t("div", { className: "flex items-center justify-between gap-1 w-full", children: /* @__PURE__ */ t(
2795
- ct,
2916
+ /* @__PURE__ */ t("div", { className: "hidden sm:flex sm:flex-row sm:items-center sm:gap-1", children: X.map((m) => /* @__PURE__ */ _(
2917
+ "button",
2918
+ {
2919
+ className: a(m.id, m.id === 3),
2920
+ onClick: () => $(m.id),
2921
+ children: [
2922
+ /* @__PURE__ */ t("span", { className: m.hideLabel ? "sr-only" : "", children: m.label }),
2923
+ m.icon
2924
+ ]
2925
+ },
2926
+ m.id
2927
+ )) }),
2928
+ /* @__PURE__ */ t("div", { className: "flex flex-col gap-1 sm:hidden", children: /* @__PURE__ */ t(
2929
+ Wt,
2930
+ {
2931
+ enabled: !0,
2932
+ showChevron: !0,
2933
+ isMenuOpen: p,
2934
+ toggleOpen: M,
2935
+ icon: /* @__PURE__ */ _("div", { className: "group flex items-center gap-2 text-primary group-hover:text-primary-inverse", children: [
2936
+ /* @__PURE__ */ t("h5", { className: "py-2 font-bold", children: Q }),
2937
+ /* @__PURE__ */ t(ft, { className: "shrink-0 ml-1 size-4" })
2938
+ ] }),
2939
+ children: /* @__PURE__ */ _("div", { className: "p-2 rounded-md border border-primary", children: [
2940
+ /* @__PURE__ */ t("h6", { className: "font-semibold", children: "Category:" }),
2941
+ X.map((m) => /* @__PURE__ */ t(
2942
+ "button",
2943
+ {
2944
+ type: "button",
2945
+ className: P(m.id),
2946
+ role: "menuitem",
2947
+ tabIndex: -1,
2948
+ onClick: () => $(m.id),
2949
+ children: /* @__PURE__ */ t("span", { children: m.label })
2950
+ },
2951
+ m.id
2952
+ ))
2953
+ ] })
2954
+ }
2955
+ ) }),
2956
+ /* @__PURE__ */ t("div", { className: "sm:mt-2 flex flex-col gap-1 w-full", children: /* @__PURE__ */ t(
2957
+ ht,
2796
2958
  {
2797
- label: "Filter...",
2959
+ label: "",
2960
+ placeholder: "Find...",
2798
2961
  size: "small",
2799
2962
  className: "w-full",
2800
2963
  value: l,
2801
- onChange: y
2964
+ onChange: N
2802
2965
  }
2803
2966
  ) }),
2804
- /* @__PURE__ */ I(
2967
+ /* @__PURE__ */ _(
2805
2968
  "div",
2806
2969
  {
2807
2970
  className: "flex flex-col gap-2 overflow-x-hidden overflow-y-auto",
@@ -2809,60 +2972,64 @@ function Or(e) {
2809
2972
  maxHeight: "360px"
2810
2973
  },
2811
2974
  children: [
2812
- S === 0 && D.filter(
2813
- (c) => c.metaData.categories.includes("Widget") && x(c.metaData)
2814
- ).map((c) => /* @__PURE__ */ t(
2815
- Ie,
2975
+ b === 3 && /* @__PURE__ */ _("div", { className: "hidden px-2 w-full sm:flex", children: [
2976
+ Q,
2977
+ ":"
2978
+ ] }),
2979
+ b === 0 && g.filter(
2980
+ (m) => m.metaData.categories.includes("Widget") && S(m.metaData)
2981
+ ).map((m) => /* @__PURE__ */ t(
2982
+ $e,
2816
2983
  {
2817
- widgetKey: c.widgetKey,
2818
- metaData: c.metaData,
2819
- alreadyAdded: Re(c.widgetKey, s),
2820
- addWidget: () => w(c.widgetKey)
2984
+ widgetKey: m.widgetKey,
2985
+ metaData: m.metaData,
2986
+ alreadyAdded: Re(m.widgetKey, s),
2987
+ addWidget: () => i(m.widgetKey)
2821
2988
  },
2822
- c.widgetKey
2989
+ m.widgetKey
2823
2990
  )),
2824
- S === 1 && D.filter(
2825
- (c) => c.metaData.categories.includes("Chart") && x(c.metaData)
2826
- ).map((c) => /* @__PURE__ */ t(
2827
- Ie,
2991
+ b === 1 && g.filter(
2992
+ (m) => m.metaData.categories.includes("Chart") && S(m.metaData)
2993
+ ).map((m) => /* @__PURE__ */ t(
2994
+ $e,
2828
2995
  {
2829
- widgetKey: c.widgetKey,
2830
- metaData: c.metaData,
2831
- alreadyAdded: Re(c.widgetKey, s),
2832
- addWidget: () => w(c.widgetKey)
2996
+ widgetKey: m.widgetKey,
2997
+ metaData: m.metaData,
2998
+ alreadyAdded: Re(m.widgetKey, s),
2999
+ addWidget: () => i(m.widgetKey)
2833
3000
  },
2834
- c.widgetKey
3001
+ m.widgetKey
2835
3002
  )),
2836
- !h && S === 2 && D.filter((c) => c.metaData.categories.includes("Container")).map((c) => /* @__PURE__ */ t(
2837
- Ie,
3003
+ !x && b === 2 && g.filter((m) => m.metaData.categories.includes("Container")).map((m) => /* @__PURE__ */ t(
3004
+ $e,
2838
3005
  {
2839
- widgetKey: c.widgetKey,
2840
- metaData: c.metaData,
2841
- alreadyAdded: Re(c.widgetKey, s),
2842
- addWidget: () => n(c.widgetKey)
3006
+ widgetKey: m.widgetKey,
3007
+ metaData: m.metaData,
3008
+ alreadyAdded: Re(m.widgetKey, s),
3009
+ addWidget: () => r(m.widgetKey)
2843
3010
  },
2844
- c.widgetKey
3011
+ m.widgetKey
2845
3012
  )),
2846
- !h && S === 3 && (s.cssSettings || []).filter(E).map((c) => /* @__PURE__ */ t(
2847
- nr,
3013
+ !x && b === 3 && (s.cssSettings || []).filter(D).map((m) => /* @__PURE__ */ t(
3014
+ ln,
2848
3015
  {
2849
- item: c,
2850
- onSettingItemChanged: a
3016
+ item: m,
3017
+ onSettingItemChanged: u
2851
3018
  },
2852
- c.key
3019
+ m.key
2853
3020
  ))
2854
3021
  ]
2855
3022
  }
2856
3023
  ),
2857
3024
  /* @__PURE__ */ t("div", { className: "mt-4 w-full flex flex-row justify-end pt-1", children: /* @__PURE__ */ t(
2858
- J,
3025
+ ee,
2859
3026
  {
2860
3027
  className: "bg-opacity-100",
2861
3028
  tooltip: {
2862
3029
  placement: "bottom",
2863
3030
  title: "Click to exit edit mode"
2864
3031
  },
2865
- onClick: f,
3032
+ onClick: c,
2866
3033
  children: "Done"
2867
3034
  }
2868
3035
  ) })
@@ -2871,48 +3038,52 @@ function Or(e) {
2871
3038
  );
2872
3039
  }
2873
3040
  export {
2874
- ur as AddIcon,
2875
- J as Button,
2876
- Rt as CircleQuestionMark,
2877
- It as CrosshairIcon,
2878
- Pr as DashboardGrid,
2879
- Qt as DashboardWidgetBase,
2880
- fr as DeleteIcon,
2881
- Xt as DraggablePanel,
2882
- rr as DynamicWidgetLoader,
2883
- hr as EditIcon,
2884
- mr as GridIcon,
2885
- Pt as HandGrabIcon,
2886
- Mt as HandIcon,
2887
- wr as ListItem,
2888
- Sr as ListItemLeftChild,
2889
- Dr as ListItemMiddleChild,
2890
- Tr as ListItemRightChild,
2891
- pr as MonitorIcon,
2892
- yr as MonitorSmartphoneIcon,
2893
- at as MoveLeftIcon,
2894
- st as MoveRightIcon,
2895
- _t as RedoIcon,
2896
- gr as RenameIcon,
2897
- Tt as SettingsIcon,
2898
- Ot as Stack,
2899
- K as SvgBaseWrapper,
2900
- br as TabletSmartphoneIcon,
2901
- Cr as TargetIcon,
2902
- ct as TextField,
2903
- Et as TimerResetIcon,
2904
- Nt as UndoIcon,
2905
- Ir as WidgetContainerColumn,
2906
- Rr as WidgetContainerLarge,
2907
- $r as WidgetContainerRow,
2908
- Or as WidgetsCatalogFlyout,
2909
- Nr as WrapperColumnContent,
2910
- _r as WrapperColumnContentListItem,
2911
- lt as XCircleIcon,
2912
- vr as ZoomInIcon,
2913
- xr as ZoomOutIcon,
2914
- er as _isVersionCompatible,
2915
- Mr as showToast,
2916
- cr as useDashboardStore,
2917
- dr as useDashboardUndoService
3041
+ pn as AddIcon,
3042
+ ee as Button,
3043
+ ft as ChevronDownIcon,
3044
+ kt as CircleQuestionMark,
3045
+ Ot as CrosshairIcon,
3046
+ kn as DashboardGrid,
3047
+ rn as DashboardWidgetBase,
3048
+ yn as DeleteIcon,
3049
+ Qt as DraggablePanel,
3050
+ Wt as Dropdown,
3051
+ sn as DynamicWidgetLoader,
3052
+ bn as EditIcon,
3053
+ xn as GridIcon,
3054
+ Rt as HandGrabIcon,
3055
+ $t as HandIcon,
3056
+ En as ListItem,
3057
+ _n as ListItemLeftChild,
3058
+ Mn as ListItemMiddleChild,
3059
+ Pn as ListItemRightChild,
3060
+ Et as MinusCircleIcon,
3061
+ Cn as MonitorIcon,
3062
+ wn as MonitorSmartphoneIcon,
3063
+ ct as MoveLeftIcon,
3064
+ dt as MoveRightIcon,
3065
+ lt as PlusCircleIcon,
3066
+ It as RedoIcon,
3067
+ vn as RenameIcon,
3068
+ _t as SettingsIcon,
3069
+ At as Stack,
3070
+ z as SvgBaseWrapper,
3071
+ Sn as TabletSmartphoneIcon,
3072
+ Nn as TargetIcon,
3073
+ ht as TextField,
3074
+ Mt as TimerResetIcon,
3075
+ Pt as UndoIcon,
3076
+ Wn as WidgetContainerColumn,
3077
+ jn as WidgetContainerLarge,
3078
+ An as WidgetContainerRow,
3079
+ Ln as WidgetsCatalogFlyout,
3080
+ $n as WrapperColumnContent,
3081
+ Rn as WrapperColumnContentListItem,
3082
+ ut as XCircleIcon,
3083
+ Dn as ZoomInIcon,
3084
+ Tn as ZoomOutIcon,
3085
+ on as _isVersionCompatible,
3086
+ On as showToast,
3087
+ gn as useDashboardStore,
3088
+ mn as useDashboardUndoService
2918
3089
  };