@purpurds/modal 4.1.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/modal.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as j, jsx as _ } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import { useCallback as Q, createContext as xe, useMemo as ve, createElement as g, useContext as tt, useLayoutEffect as Tt, useRef as O, useEffect as A, useState as V, forwardRef as C, Children as M, isValidElement as W, cloneElement as te, Fragment as Ie, useReducer as Dt } from "react";
4
- import It, { flushSync as nt } from "react-dom";
2
+ import * as g from "react";
3
+ import { useCallback as Q, createContext as xe, useMemo as ge, createElement as m, useContext as tt, useLayoutEffect as Tt, useRef as O, useEffect as A, useState as G, forwardRef as C, Children as M, isValidElement as W, cloneElement as re, Fragment as Re, useReducer as Dt } from "react";
4
+ import Rt, { flushSync as nt } from "react-dom";
5
5
  function P() {
6
6
  return P = Object.assign ? Object.assign.bind() : function(e) {
7
7
  for (var n = 1; n < arguments.length; n++) {
@@ -18,12 +18,12 @@ function B(e, n, { checkForDefaultPrevented: t = !0 } = {}) {
18
18
  return n == null ? void 0 : n(a);
19
19
  };
20
20
  }
21
- function Rt(e, n) {
21
+ function It(e, n) {
22
22
  typeof e == "function" ? e(n) : e != null && (e.current = n);
23
23
  }
24
24
  function rt(...e) {
25
25
  return (n) => e.forEach(
26
- (t) => Rt(t, n)
26
+ (t) => It(t, n)
27
27
  );
28
28
  }
29
29
  function J(...e) {
@@ -32,27 +32,27 @@ function J(...e) {
32
32
  function Mt(e, n = []) {
33
33
  let t = [];
34
34
  function o(r, i) {
35
- const u = /* @__PURE__ */ xe(i), l = t.length;
35
+ const u = /* @__PURE__ */ xe(i), s = t.length;
36
36
  t = [
37
37
  ...t,
38
38
  i
39
39
  ];
40
- function d(s) {
41
- const { scope: h, children: f, ...E } = s, c = (h == null ? void 0 : h[e][l]) || u, v = ve(
40
+ function d(l) {
41
+ const { scope: h, children: f, ...E } = l, c = (h == null ? void 0 : h[e][s]) || u, v = ge(
42
42
  () => E,
43
43
  Object.values(E)
44
44
  );
45
- return /* @__PURE__ */ g(c.Provider, {
45
+ return /* @__PURE__ */ m(c.Provider, {
46
46
  value: v
47
47
  }, f);
48
48
  }
49
- function p(s, h) {
50
- const f = (h == null ? void 0 : h[e][l]) || u, E = tt(f);
49
+ function p(l, h) {
50
+ const f = (h == null ? void 0 : h[e][s]) || u, E = tt(f);
51
51
  if (E)
52
52
  return E;
53
53
  if (i !== void 0)
54
54
  return i;
55
- throw new Error(`\`${s}\` must be used within \`${r}\``);
55
+ throw new Error(`\`${l}\` must be used within \`${r}\``);
56
56
  }
57
57
  return d.displayName = r + "Provider", [
58
58
  d,
@@ -62,17 +62,17 @@ function Mt(e, n = []) {
62
62
  const a = () => {
63
63
  const r = t.map((i) => /* @__PURE__ */ xe(i));
64
64
  return function(u) {
65
- const l = (u == null ? void 0 : u[e]) || r;
66
- return ve(
65
+ const s = (u == null ? void 0 : u[e]) || r;
66
+ return ge(
67
67
  () => ({
68
68
  [`__scope${e}`]: {
69
69
  ...u,
70
- [e]: l
70
+ [e]: s
71
71
  }
72
72
  }),
73
73
  [
74
74
  u,
75
- l
75
+ s
76
76
  ]
77
77
  );
78
78
  };
@@ -94,14 +94,14 @@ function Lt(...e) {
94
94
  })
95
95
  );
96
96
  return function(r) {
97
- const i = o.reduce((u, { useScope: l, scopeName: d }) => {
98
- const s = l(r)[`__scope${d}`];
97
+ const i = o.reduce((u, { useScope: s, scopeName: d }) => {
98
+ const l = s(r)[`__scope${d}`];
99
99
  return {
100
100
  ...u,
101
- ...s
101
+ ...l
102
102
  };
103
103
  }, {});
104
- return ve(
104
+ return ge(
105
105
  () => ({
106
106
  [`__scope${n.scopeName}`]: i
107
107
  }),
@@ -114,24 +114,24 @@ function Lt(...e) {
114
114
  return t.scopeName = n.scopeName, t;
115
115
  }
116
116
  const Oe = globalThis != null && globalThis.document ? Tt : () => {
117
- }, kt = m.useId || (() => {
117
+ }, Ft = g.useId || (() => {
118
118
  });
119
- let Ft = 0;
120
- function ge(e) {
121
- const [n, t] = m.useState(kt());
119
+ let kt = 0;
120
+ function be(e) {
121
+ const [n, t] = g.useState(Ft());
122
122
  return Oe(() => {
123
123
  e || t(
124
- (o) => o ?? String(Ft++)
124
+ (o) => o ?? String(kt++)
125
125
  );
126
126
  }, [
127
127
  e
128
128
  ]), e || (n ? `radix-${n}` : "");
129
129
  }
130
- function K(e) {
130
+ function V(e) {
131
131
  const n = O(e);
132
132
  return A(() => {
133
133
  n.current = e;
134
- }), ve(
134
+ }), ge(
135
135
  () => (...t) => {
136
136
  var o;
137
137
  return (o = n.current) === null || o === void 0 ? void 0 : o.call(n, ...t);
@@ -144,10 +144,10 @@ function jt({ prop: e, defaultProp: n, onChange: t = () => {
144
144
  const [o, a] = Bt({
145
145
  defaultProp: n,
146
146
  onChange: t
147
- }), r = e !== void 0, i = r ? e : o, u = K(t), l = Q((d) => {
147
+ }), r = e !== void 0, i = r ? e : o, u = V(t), s = Q((d) => {
148
148
  if (r) {
149
- const s = typeof d == "function" ? d(e) : d;
150
- s !== e && u(s);
149
+ const l = typeof d == "function" ? d(e) : d;
150
+ l !== e && u(l);
151
151
  } else
152
152
  a(d);
153
153
  }, [
@@ -158,11 +158,11 @@ function jt({ prop: e, defaultProp: n, onChange: t = () => {
158
158
  ]);
159
159
  return [
160
160
  i,
161
- l
161
+ s
162
162
  ];
163
163
  }
164
164
  function Bt({ defaultProp: e, onChange: n }) {
165
- const t = V(e), [o] = t, a = O(o), r = K(n);
165
+ const t = G(e), [o] = t, a = O(o), r = V(n);
166
166
  return A(() => {
167
167
  a.current !== o && (r(o), a.current = o);
168
168
  }, [
@@ -171,32 +171,32 @@ function Bt({ defaultProp: e, onChange: n }) {
171
171
  r
172
172
  ]), t;
173
173
  }
174
- const Re = /* @__PURE__ */ C((e, n) => {
174
+ const Ie = /* @__PURE__ */ C((e, n) => {
175
175
  const { children: t, ...o } = e, a = M.toArray(t), r = a.find(Ut);
176
176
  if (r) {
177
- const i = r.props.children, u = a.map((l) => l === r ? M.count(i) > 1 ? M.only(null) : /* @__PURE__ */ W(i) ? i.props.children : null : l);
178
- return /* @__PURE__ */ g(Pe, P({}, o, {
177
+ const i = r.props.children, u = a.map((s) => s === r ? M.count(i) > 1 ? M.only(null) : /* @__PURE__ */ W(i) ? i.props.children : null : s);
178
+ return /* @__PURE__ */ m(Pe, P({}, o, {
179
179
  ref: n
180
- }), /* @__PURE__ */ W(i) ? /* @__PURE__ */ te(i, void 0, u) : null);
180
+ }), /* @__PURE__ */ W(i) ? /* @__PURE__ */ re(i, void 0, u) : null);
181
181
  }
182
- return /* @__PURE__ */ g(Pe, P({}, o, {
182
+ return /* @__PURE__ */ m(Pe, P({}, o, {
183
183
  ref: n
184
184
  }), t);
185
185
  });
186
- Re.displayName = "Slot";
186
+ Ie.displayName = "Slot";
187
187
  const Pe = /* @__PURE__ */ C((e, n) => {
188
188
  const { children: t, ...o } = e;
189
- return /* @__PURE__ */ W(t) ? /* @__PURE__ */ te(t, {
190
- ...qt(o, t.props),
189
+ return /* @__PURE__ */ W(t) ? /* @__PURE__ */ re(t, {
190
+ ...zt(o, t.props),
191
191
  ref: n ? rt(n, t.ref) : t.ref
192
192
  }) : M.count(t) > 1 ? M.only(null) : null;
193
193
  });
194
194
  Pe.displayName = "SlotClone";
195
- const Wt = ({ children: e }) => /* @__PURE__ */ g(Ie, null, e);
195
+ const Wt = ({ children: e }) => /* @__PURE__ */ m(Re, null, e);
196
196
  function Ut(e) {
197
197
  return /* @__PURE__ */ W(e) && e.type === Wt;
198
198
  }
199
- function qt(e, n) {
199
+ function zt(e, n) {
200
200
  const t = {
201
201
  ...n
202
202
  };
@@ -217,7 +217,7 @@ function qt(e, n) {
217
217
  ...t
218
218
  };
219
219
  }
220
- const Ht = [
220
+ const qt = [
221
221
  "a",
222
222
  "button",
223
223
  "div",
@@ -234,12 +234,12 @@ const Ht = [
234
234
  "span",
235
235
  "svg",
236
236
  "ul"
237
- ], U = Ht.reduce((e, n) => {
237
+ ], U = qt.reduce((e, n) => {
238
238
  const t = /* @__PURE__ */ C((o, a) => {
239
- const { asChild: r, ...i } = o, u = r ? Re : n;
239
+ const { asChild: r, ...i } = o, u = r ? Ie : n;
240
240
  return A(() => {
241
241
  window[Symbol.for("radix-ui")] = !0;
242
- }, []), /* @__PURE__ */ g(u, P({}, i, {
242
+ }, []), /* @__PURE__ */ m(u, P({}, i, {
243
243
  ref: a
244
244
  }));
245
245
  });
@@ -248,13 +248,13 @@ const Ht = [
248
248
  [n]: t
249
249
  };
250
250
  }, {});
251
- function Gt(e, n) {
251
+ function Ht(e, n) {
252
252
  e && nt(
253
253
  () => e.dispatchEvent(n)
254
254
  );
255
255
  }
256
- function Vt(e, n = globalThis == null ? void 0 : globalThis.document) {
257
- const t = K(e);
256
+ function Gt(e, n = globalThis == null ? void 0 : globalThis.document) {
257
+ const t = V(e);
258
258
  A(() => {
259
259
  const o = (a) => {
260
260
  a.key === "Escape" && t(a);
@@ -265,55 +265,55 @@ function Vt(e, n = globalThis == null ? void 0 : globalThis.document) {
265
265
  n
266
266
  ]);
267
267
  }
268
- const Ne = "dismissableLayer.update", Kt = "dismissableLayer.pointerDownOutside", zt = "dismissableLayer.focusOutside";
269
- let Fe;
268
+ const Ne = "dismissableLayer.update", Vt = "dismissableLayer.pointerDownOutside", Kt = "dismissableLayer.focusOutside";
269
+ let ke;
270
270
  const Xt = /* @__PURE__ */ xe({
271
271
  layers: /* @__PURE__ */ new Set(),
272
272
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
273
273
  branches: /* @__PURE__ */ new Set()
274
274
  }), Yt = /* @__PURE__ */ C((e, n) => {
275
275
  var t;
276
- const { disableOutsidePointerEvents: o = !1, onEscapeKeyDown: a, onPointerDownOutside: r, onFocusOutside: i, onInteractOutside: u, onDismiss: l, ...d } = e, p = tt(Xt), [s, h] = V(null), f = (t = s == null ? void 0 : s.ownerDocument) !== null && t !== void 0 ? t : globalThis == null ? void 0 : globalThis.document, [, E] = V({}), c = J(
276
+ const { disableOutsidePointerEvents: o = !1, onEscapeKeyDown: a, onPointerDownOutside: r, onFocusOutside: i, onInteractOutside: u, onDismiss: s, ...d } = e, p = tt(Xt), [l, h] = G(null), f = (t = l == null ? void 0 : l.ownerDocument) !== null && t !== void 0 ? t : globalThis == null ? void 0 : globalThis.document, [, E] = G({}), c = J(
277
277
  n,
278
278
  (w) => h(w)
279
279
  ), v = Array.from(p.layers), [b] = [
280
280
  ...p.layersWithOutsidePointerEventsDisabled
281
- ].slice(-1), x = v.indexOf(b), $ = s ? v.indexOf(s) : -1, y = p.layersWithOutsidePointerEventsDisabled.size > 0, S = $ >= x, q = Zt((w) => {
282
- const I = w.target, ne = [
281
+ ].slice(-1), x = v.indexOf(b), $ = l ? v.indexOf(l) : -1, y = p.layersWithOutsidePointerEventsDisabled.size > 0, S = $ >= x, z = Zt((w) => {
282
+ const R = w.target, oe = [
283
283
  ...p.branches
284
284
  ].some(
285
- (R) => R.contains(I)
285
+ (I) => I.contains(R)
286
286
  );
287
- !S || ne || (r == null || r(w), u == null || u(w), w.defaultPrevented || l == null || l());
287
+ !S || oe || (r == null || r(w), u == null || u(w), w.defaultPrevented || s == null || s());
288
288
  }, f), T = Qt((w) => {
289
- const I = w.target;
289
+ const R = w.target;
290
290
  [
291
291
  ...p.branches
292
292
  ].some(
293
- (R) => R.contains(I)
294
- ) || (i == null || i(w), u == null || u(w), w.defaultPrevented || l == null || l());
293
+ (I) => I.contains(R)
294
+ ) || (i == null || i(w), u == null || u(w), w.defaultPrevented || s == null || s());
295
295
  }, f);
296
- return Vt((w) => {
297
- $ === p.layers.size - 1 && (a == null || a(w), !w.defaultPrevented && l && (w.preventDefault(), l()));
296
+ return Gt((w) => {
297
+ $ === p.layers.size - 1 && (a == null || a(w), !w.defaultPrevented && s && (w.preventDefault(), s()));
298
298
  }, f), A(() => {
299
- if (s)
300
- return o && (p.layersWithOutsidePointerEventsDisabled.size === 0 && (Fe = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), p.layersWithOutsidePointerEventsDisabled.add(s)), p.layers.add(s), je(), () => {
301
- o && p.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Fe);
299
+ if (l)
300
+ return o && (p.layersWithOutsidePointerEventsDisabled.size === 0 && (ke = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), p.layersWithOutsidePointerEventsDisabled.add(l)), p.layers.add(l), je(), () => {
301
+ o && p.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = ke);
302
302
  };
303
303
  }, [
304
- s,
304
+ l,
305
305
  f,
306
306
  o,
307
307
  p
308
308
  ]), A(() => () => {
309
- s && (p.layers.delete(s), p.layersWithOutsidePointerEventsDisabled.delete(s), je());
309
+ l && (p.layers.delete(l), p.layersWithOutsidePointerEventsDisabled.delete(l), je());
310
310
  }, [
311
- s,
311
+ l,
312
312
  p
313
313
  ]), A(() => {
314
314
  const w = () => E({});
315
315
  return document.addEventListener(Ne, w), () => document.removeEventListener(Ne, w);
316
- }, []), /* @__PURE__ */ g(U.div, P({}, d, {
316
+ }, []), /* @__PURE__ */ m(U.div, P({}, d, {
317
317
  ref: c,
318
318
  style: {
319
319
  pointerEvents: y ? S ? "auto" : "none" : void 0,
@@ -321,21 +321,21 @@ const Xt = /* @__PURE__ */ xe({
321
321
  },
322
322
  onFocusCapture: B(e.onFocusCapture, T.onFocusCapture),
323
323
  onBlurCapture: B(e.onBlurCapture, T.onBlurCapture),
324
- onPointerDownCapture: B(e.onPointerDownCapture, q.onPointerDownCapture)
324
+ onPointerDownCapture: B(e.onPointerDownCapture, z.onPointerDownCapture)
325
325
  }));
326
326
  });
327
327
  function Zt(e, n = globalThis == null ? void 0 : globalThis.document) {
328
- const t = K(e), o = O(!1), a = O(() => {
328
+ const t = V(e), o = O(!1), a = O(() => {
329
329
  });
330
330
  return A(() => {
331
331
  const r = (u) => {
332
332
  if (u.target && !o.current) {
333
333
  let d = function() {
334
- ot(Kt, t, l, {
334
+ ot(Vt, t, s, {
335
335
  discrete: !0
336
336
  });
337
337
  };
338
- const l = {
338
+ const s = {
339
339
  originalEvent: u
340
340
  };
341
341
  u.pointerType === "touch" ? (n.removeEventListener("click", a.current), a.current = d, n.addEventListener("click", a.current, {
@@ -359,10 +359,10 @@ function Zt(e, n = globalThis == null ? void 0 : globalThis.document) {
359
359
  };
360
360
  }
361
361
  function Qt(e, n = globalThis == null ? void 0 : globalThis.document) {
362
- const t = K(e), o = O(!1);
362
+ const t = V(e), o = O(!1);
363
363
  return A(() => {
364
364
  const a = (r) => {
365
- r.target && !o.current && ot(zt, t, {
365
+ r.target && !o.current && ot(Kt, t, {
366
366
  originalEvent: r
367
367
  }, {
368
368
  discrete: !1
@@ -389,15 +389,15 @@ function ot(e, n, t, { discrete: o }) {
389
389
  });
390
390
  n && a.addEventListener(e, n, {
391
391
  once: !0
392
- }), o ? Gt(a, r) : a.dispatchEvent(r);
392
+ }), o ? Ht(a, r) : a.dispatchEvent(r);
393
393
  }
394
- const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount", Be = {
394
+ const $e = "focusScope.autoFocusOnMount", ye = "focusScope.autoFocusOnUnmount", Be = {
395
395
  bubbles: !1,
396
396
  cancelable: !0
397
397
  }, Jt = /* @__PURE__ */ C((e, n) => {
398
- const { loop: t = !1, trapped: o = !1, onMountAutoFocus: a, onUnmountAutoFocus: r, ...i } = e, [u, l] = V(null), d = K(a), p = K(r), s = O(null), h = J(
398
+ const { loop: t = !1, trapped: o = !1, onMountAutoFocus: a, onUnmountAutoFocus: r, ...i } = e, [u, s] = G(null), d = V(a), p = V(r), l = O(null), h = J(
399
399
  n,
400
- (c) => l(c)
400
+ (c) => s(c)
401
401
  ), f = O({
402
402
  paused: !1,
403
403
  pause() {
@@ -413,20 +413,20 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
413
413
  if (f.paused || !u)
414
414
  return;
415
415
  const y = $.target;
416
- u.contains(y) ? s.current = y : F(s.current, {
416
+ u.contains(y) ? l.current = y : k(l.current, {
417
417
  select: !0
418
418
  });
419
419
  }, v = function($) {
420
420
  if (f.paused || !u)
421
421
  return;
422
422
  const y = $.relatedTarget;
423
- y !== null && (u.contains(y) || F(s.current, {
423
+ y !== null && (u.contains(y) || k(l.current, {
424
424
  select: !0
425
425
  }));
426
426
  }, b = function($) {
427
427
  if (document.activeElement === document.body)
428
428
  for (const S of $)
429
- S.removedNodes.length > 0 && F(u);
429
+ S.removedNodes.length > 0 && k(u);
430
430
  };
431
431
  document.addEventListener("focusin", c), document.addEventListener("focusout", v);
432
432
  const x = new MutationObserver(b);
@@ -446,17 +446,17 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
446
446
  Ue.add(f);
447
447
  const c = document.activeElement;
448
448
  if (!u.contains(c)) {
449
- const b = new CustomEvent(_e, Be);
450
- u.addEventListener(_e, d), u.dispatchEvent(b), b.defaultPrevented || (en(an(at(u)), {
449
+ const b = new CustomEvent($e, Be);
450
+ u.addEventListener($e, d), u.dispatchEvent(b), b.defaultPrevented || (en(an(at(u)), {
451
451
  select: !0
452
- }), document.activeElement === c && F(u));
452
+ }), document.activeElement === c && k(u));
453
453
  }
454
454
  return () => {
455
- u.removeEventListener(_e, d), setTimeout(() => {
456
- const b = new CustomEvent(be, Be);
457
- u.addEventListener(be, p), u.dispatchEvent(b), b.defaultPrevented || F(c ?? document.body, {
455
+ u.removeEventListener($e, d), setTimeout(() => {
456
+ const b = new CustomEvent(ye, Be);
457
+ u.addEventListener(ye, p), u.dispatchEvent(b), b.defaultPrevented || k(c ?? document.body, {
458
458
  select: !0
459
- }), u.removeEventListener(be, p), Ue.remove(f);
459
+ }), u.removeEventListener(ye, p), Ue.remove(f);
460
460
  }, 0);
461
461
  };
462
462
  }
@@ -472,9 +472,9 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
472
472
  const v = c.key === "Tab" && !c.altKey && !c.ctrlKey && !c.metaKey, b = document.activeElement;
473
473
  if (v && b) {
474
474
  const x = c.currentTarget, [$, y] = tn(x);
475
- $ && y ? !c.shiftKey && b === y ? (c.preventDefault(), t && F($, {
475
+ $ && y ? !c.shiftKey && b === y ? (c.preventDefault(), t && k($, {
476
476
  select: !0
477
- })) : c.shiftKey && b === $ && (c.preventDefault(), t && F(y, {
477
+ })) : c.shiftKey && b === $ && (c.preventDefault(), t && k(y, {
478
478
  select: !0
479
479
  })) : b === x && c.preventDefault();
480
480
  }
@@ -483,7 +483,7 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
483
483
  o,
484
484
  f.paused
485
485
  ]);
486
- return /* @__PURE__ */ g(U.div, P({
486
+ return /* @__PURE__ */ m(U.div, P({
487
487
  tabIndex: -1
488
488
  }, i, {
489
489
  ref: h,
@@ -493,7 +493,7 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
493
493
  function en(e, { select: n = !1 } = {}) {
494
494
  const t = document.activeElement;
495
495
  for (const o of e)
496
- if (F(o, {
496
+ if (k(o, {
497
497
  select: n
498
498
  }), document.activeElement !== t)
499
499
  return;
@@ -538,7 +538,7 @@ function nn(e, { upTo: n }) {
538
538
  function rn(e) {
539
539
  return e instanceof HTMLInputElement && "select" in e;
540
540
  }
541
- function F(e, { select: n = !1 } = {}) {
541
+ function k(e, { select: n = !1 } = {}) {
542
542
  if (e && e.focus) {
543
543
  const t = document.activeElement;
544
544
  e.focus({
@@ -552,15 +552,15 @@ function on() {
552
552
  return {
553
553
  add(n) {
554
554
  const t = e[0];
555
- n !== t && (t == null || t.pause()), e = qe(e, n), e.unshift(n);
555
+ n !== t && (t == null || t.pause()), e = ze(e, n), e.unshift(n);
556
556
  },
557
557
  remove(n) {
558
558
  var t;
559
- e = qe(e, n), (t = e[0]) === null || t === void 0 || t.resume();
559
+ e = ze(e, n), (t = e[0]) === null || t === void 0 || t.resume();
560
560
  }
561
561
  };
562
562
  }
563
- function qe(e, n) {
563
+ function ze(e, n) {
564
564
  const t = [
565
565
  ...e
566
566
  ], o = t.indexOf(n);
@@ -574,7 +574,7 @@ function an(e) {
574
574
  const un = /* @__PURE__ */ C((e, n) => {
575
575
  var t;
576
576
  const { container: o = globalThis == null || (t = globalThis.document) === null || t === void 0 ? void 0 : t.body, ...a } = e;
577
- return o ? /* @__PURE__ */ It.createPortal(/* @__PURE__ */ g(U.div, P({}, a, {
577
+ return o ? /* @__PURE__ */ Rt.createPortal(/* @__PURE__ */ m(U.div, P({}, a, {
578
578
  ref: n
579
579
  })), o) : null;
580
580
  });
@@ -584,17 +584,17 @@ function cn(e, n) {
584
584
  return a ?? t;
585
585
  }, e);
586
586
  }
587
- const he = (e) => {
587
+ const me = (e) => {
588
588
  const { present: n, children: t } = e, o = sn(n), a = typeof t == "function" ? t({
589
589
  present: o.isPresent
590
590
  }) : M.only(t), r = J(o.ref, a.ref);
591
- return typeof t == "function" || o.isPresent ? /* @__PURE__ */ te(a, {
591
+ return typeof t == "function" || o.isPresent ? /* @__PURE__ */ re(a, {
592
592
  ref: r
593
593
  }) : null;
594
594
  };
595
- he.displayName = "Presence";
595
+ me.displayName = "Presence";
596
596
  function sn(e) {
597
- const [n, t] = V(), o = O({}), a = O(e), r = O("none"), i = e ? "mounted" : "unmounted", [u, l] = cn(i, {
597
+ const [n, t] = G(), o = O({}), a = O(e), r = O("none"), i = e ? "mounted" : "unmounted", [u, s] = cn(i, {
598
598
  mounted: {
599
599
  UNMOUNT: "unmounted",
600
600
  ANIMATION_OUT: "unmountSuspended"
@@ -608,37 +608,37 @@ function sn(e) {
608
608
  }
609
609
  });
610
610
  return A(() => {
611
- const d = re(o.current);
611
+ const d = ae(o.current);
612
612
  r.current = u === "mounted" ? d : "none";
613
613
  }, [
614
614
  u
615
615
  ]), Oe(() => {
616
616
  const d = o.current, p = a.current;
617
617
  if (p !== e) {
618
- const h = r.current, f = re(d);
619
- e ? l("MOUNT") : f === "none" || (d == null ? void 0 : d.display) === "none" ? l("UNMOUNT") : l(p && h !== f ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
618
+ const h = r.current, f = ae(d);
619
+ e ? s("MOUNT") : f === "none" || (d == null ? void 0 : d.display) === "none" ? s("UNMOUNT") : s(p && h !== f ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
620
620
  }
621
621
  }, [
622
622
  e,
623
- l
623
+ s
624
624
  ]), Oe(() => {
625
625
  if (n) {
626
- const d = (s) => {
627
- const f = re(o.current).includes(s.animationName);
628
- s.target === n && f && nt(
629
- () => l("ANIMATION_END")
626
+ const d = (l) => {
627
+ const f = ae(o.current).includes(l.animationName);
628
+ l.target === n && f && nt(
629
+ () => s("ANIMATION_END")
630
630
  );
631
- }, p = (s) => {
632
- s.target === n && (r.current = re(o.current));
631
+ }, p = (l) => {
632
+ l.target === n && (r.current = ae(o.current));
633
633
  };
634
634
  return n.addEventListener("animationstart", p), n.addEventListener("animationcancel", d), n.addEventListener("animationend", d), () => {
635
635
  n.removeEventListener("animationstart", p), n.removeEventListener("animationcancel", d), n.removeEventListener("animationend", d);
636
636
  };
637
637
  } else
638
- l("ANIMATION_END");
638
+ s("ANIMATION_END");
639
639
  }, [
640
640
  n,
641
- l
641
+ s
642
642
  ]), {
643
643
  isPresent: [
644
644
  "mounted",
@@ -649,34 +649,34 @@ function sn(e) {
649
649
  }, [])
650
650
  };
651
651
  }
652
- function re(e) {
652
+ function ae(e) {
653
653
  return (e == null ? void 0 : e.animationName) || "none";
654
654
  }
655
- let $e = 0;
655
+ let Ee = 0;
656
656
  function ln() {
657
657
  A(() => {
658
658
  var e, n;
659
659
  const t = document.querySelectorAll("[data-radix-focus-guard]");
660
- return document.body.insertAdjacentElement("afterbegin", (e = t[0]) !== null && e !== void 0 ? e : He()), document.body.insertAdjacentElement("beforeend", (n = t[1]) !== null && n !== void 0 ? n : He()), $e++, () => {
661
- $e === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
660
+ return document.body.insertAdjacentElement("afterbegin", (e = t[0]) !== null && e !== void 0 ? e : qe()), document.body.insertAdjacentElement("beforeend", (n = t[1]) !== null && n !== void 0 ? n : qe()), Ee++, () => {
661
+ Ee === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
662
662
  (o) => o.remove()
663
- ), $e--;
663
+ ), Ee--;
664
664
  };
665
665
  }, []);
666
666
  }
667
- function He() {
667
+ function qe() {
668
668
  const e = document.createElement("span");
669
669
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e;
670
670
  }
671
- var k = function() {
672
- return k = Object.assign || function(n) {
671
+ var F = function() {
672
+ return F = Object.assign || function(n) {
673
673
  for (var t, o = 1, a = arguments.length; o < a; o++) {
674
674
  t = arguments[o];
675
675
  for (var r in t)
676
676
  Object.prototype.hasOwnProperty.call(t, r) && (n[r] = t[r]);
677
677
  }
678
678
  return n;
679
- }, k.apply(this, arguments);
679
+ }, F.apply(this, arguments);
680
680
  };
681
681
  function it(e, n) {
682
682
  var t = {};
@@ -693,12 +693,12 @@ function dn(e, n, t) {
693
693
  (r || !(o in n)) && (r || (r = Array.prototype.slice.call(n, 0, o)), r[o] = n[o]);
694
694
  return e.concat(r || Array.prototype.slice.call(n));
695
695
  }
696
- var pe = "right-scroll-bar-position", fe = "width-before-scroll-bar", pn = "with-scroll-bars-hidden", fn = "--removed-body-scroll-bar-size";
696
+ var ve = "right-scroll-bar-position", he = "width-before-scroll-bar", pn = "with-scroll-bars-hidden", fn = "--removed-body-scroll-bar-size";
697
697
  function vn(e, n) {
698
698
  return typeof e == "function" ? e(n) : e && (e.current = n), e;
699
699
  }
700
700
  function hn(e, n) {
701
- var t = V(function() {
701
+ var t = G(function() {
702
702
  return {
703
703
  // value
704
704
  value: e,
@@ -718,18 +718,18 @@ function hn(e, n) {
718
718
  })[0];
719
719
  return t.callback = n, t.facade;
720
720
  }
721
- function mn(e, n) {
721
+ function gn(e, n) {
722
722
  return hn(n || null, function(t) {
723
723
  return e.forEach(function(o) {
724
724
  return vn(o, t);
725
725
  });
726
726
  });
727
727
  }
728
- function gn(e) {
728
+ function mn(e) {
729
729
  return e;
730
730
  }
731
731
  function _n(e, n) {
732
- n === void 0 && (n = gn);
732
+ n === void 0 && (n = mn);
733
733
  var t = [], o = !1, a = {
734
734
  read: function() {
735
735
  if (o)
@@ -765,11 +765,11 @@ function _n(e, n) {
765
765
  var u = t;
766
766
  t = [], u.forEach(r), i = t;
767
767
  }
768
- var l = function() {
768
+ var s = function() {
769
769
  var p = i;
770
770
  i = [], p.forEach(r);
771
771
  }, d = function() {
772
- return Promise.resolve().then(l);
772
+ return Promise.resolve().then(s);
773
773
  };
774
774
  d(), t = {
775
775
  push: function(p) {
@@ -786,7 +786,7 @@ function _n(e, n) {
786
786
  function bn(e) {
787
787
  e === void 0 && (e = {});
788
788
  var n = _n(null);
789
- return n.options = k({ async: !0, ssr: !1 }, e), n;
789
+ return n.options = F({ async: !0, ssr: !1 }, e), n;
790
790
  }
791
791
  var ut = function(e) {
792
792
  var n = e.sideCar, t = it(e, ["sideCar"]);
@@ -795,34 +795,34 @@ var ut = function(e) {
795
795
  var o = n.read();
796
796
  if (!o)
797
797
  throw new Error("Sidecar medium not found");
798
- return m.createElement(o, k({}, t));
798
+ return g.createElement(o, F({}, t));
799
799
  };
800
800
  ut.isSideCarExport = !0;
801
801
  function $n(e, n) {
802
802
  return e.useMedium(n), ut;
803
803
  }
804
- var ct = bn(), ye = function() {
805
- }, me = m.forwardRef(function(e, n) {
806
- var t = m.useRef(null), o = m.useState({
807
- onScrollCapture: ye,
808
- onWheelCapture: ye,
809
- onTouchMoveCapture: ye
810
- }), a = o[0], r = o[1], i = e.forwardProps, u = e.children, l = e.className, d = e.removeScrollBar, p = e.enabled, s = e.shards, h = e.sideCar, f = e.noIsolation, E = e.inert, c = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, x = it(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), $ = h, y = mn([t, n]), S = k(k({}, x), a);
811
- return m.createElement(
812
- m.Fragment,
804
+ var ct = bn(), we = function() {
805
+ }, _e = g.forwardRef(function(e, n) {
806
+ var t = g.useRef(null), o = g.useState({
807
+ onScrollCapture: we,
808
+ onWheelCapture: we,
809
+ onTouchMoveCapture: we
810
+ }), a = o[0], r = o[1], i = e.forwardProps, u = e.children, s = e.className, d = e.removeScrollBar, p = e.enabled, l = e.shards, h = e.sideCar, f = e.noIsolation, E = e.inert, c = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, x = it(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), $ = h, y = gn([t, n]), S = F(F({}, x), a);
811
+ return g.createElement(
812
+ g.Fragment,
813
813
  null,
814
- p && m.createElement($, { sideCar: ct, removeScrollBar: d, shards: s, noIsolation: f, inert: E, setCallbacks: r, allowPinchZoom: !!c, lockRef: t }),
815
- i ? m.cloneElement(m.Children.only(u), k(k({}, S), { ref: y })) : m.createElement(b, k({}, S, { className: l, ref: y }), u)
814
+ p && g.createElement($, { sideCar: ct, removeScrollBar: d, shards: l, noIsolation: f, inert: E, setCallbacks: r, allowPinchZoom: !!c, lockRef: t }),
815
+ i ? g.cloneElement(g.Children.only(u), F(F({}, S), { ref: y })) : g.createElement(b, F({}, S, { className: s, ref: y }), u)
816
816
  );
817
817
  });
818
- me.defaultProps = {
818
+ _e.defaultProps = {
819
819
  enabled: !0,
820
820
  removeScrollBar: !0,
821
821
  inert: !1
822
822
  };
823
- me.classNames = {
824
- fullWidth: fe,
825
- zeroRight: pe
823
+ _e.classNames = {
824
+ fullWidth: he,
825
+ zeroRight: ve
826
826
  };
827
827
  var yn = function() {
828
828
  if (typeof __webpack_nonce__ < "u")
@@ -856,7 +856,7 @@ var Cn = function() {
856
856
  }, xn = function() {
857
857
  var e = Cn();
858
858
  return function(n, t) {
859
- m.useEffect(function() {
859
+ g.useEffect(function() {
860
860
  return e.add(n), function() {
861
861
  e.remove();
862
862
  };
@@ -873,11 +873,11 @@ var Cn = function() {
873
873
  top: 0,
874
874
  right: 0,
875
875
  gap: 0
876
- }, Ee = function(e) {
876
+ }, Se = function(e) {
877
877
  return parseInt(e || "", 10) || 0;
878
878
  }, Pn = function(e) {
879
879
  var n = window.getComputedStyle(document.body), t = n[e === "padding" ? "paddingLeft" : "marginLeft"], o = n[e === "padding" ? "paddingTop" : "marginTop"], a = n[e === "padding" ? "paddingRight" : "marginRight"];
880
- return [Ee(t), Ee(o), Ee(a)];
880
+ return [Se(t), Se(o), Se(a)];
881
881
  }, Nn = function(e) {
882
882
  if (e === void 0 && (e = "margin"), typeof window > "u")
883
883
  return On;
@@ -912,19 +912,19 @@ var Cn = function() {
912
912
  ].filter(Boolean).join(""), `
913
913
  }
914
914
 
915
- .`).concat(pe, ` {
915
+ .`).concat(ve, ` {
916
916
  right: `).concat(u, "px ").concat(o, `;
917
917
  }
918
918
 
919
- .`).concat(fe, ` {
919
+ .`).concat(he, ` {
920
920
  margin-right: `).concat(u, "px ").concat(o, `;
921
921
  }
922
922
 
923
- .`).concat(pe, " .").concat(pe, ` {
923
+ .`).concat(ve, " .").concat(ve, ` {
924
924
  right: 0 `).concat(o, `;
925
925
  }
926
926
 
927
- .`).concat(fe, " .").concat(fe, ` {
927
+ .`).concat(he, " .").concat(he, ` {
928
928
  margin-right: 0 `).concat(o, `;
929
929
  }
930
930
 
@@ -933,36 +933,36 @@ var Cn = function() {
933
933
  }
934
934
  `);
935
935
  }, Dn = function(e) {
936
- var n = e.noRelative, t = e.noImportant, o = e.gapMode, a = o === void 0 ? "margin" : o, r = m.useMemo(function() {
936
+ var n = e.noRelative, t = e.noImportant, o = e.gapMode, a = o === void 0 ? "margin" : o, r = g.useMemo(function() {
937
937
  return Nn(a);
938
938
  }, [a]);
939
- return m.createElement(An, { styles: Tn(r, !n, a, t ? "" : "!important") });
939
+ return g.createElement(An, { styles: Tn(r, !n, a, t ? "" : "!important") });
940
940
  }, Ae = !1;
941
941
  if (typeof window < "u")
942
942
  try {
943
- var oe = Object.defineProperty({}, "passive", {
943
+ var ie = Object.defineProperty({}, "passive", {
944
944
  get: function() {
945
945
  return Ae = !0, !0;
946
946
  }
947
947
  });
948
- window.addEventListener("test", oe, oe), window.removeEventListener("test", oe, oe);
948
+ window.addEventListener("test", ie, ie), window.removeEventListener("test", ie, ie);
949
949
  } catch {
950
950
  Ae = !1;
951
951
  }
952
- var z = Ae ? { passive: !1 } : !1, In = function(e) {
952
+ var K = Ae ? { passive: !1 } : !1, Rn = function(e) {
953
953
  return e.tagName === "TEXTAREA";
954
954
  }, lt = function(e, n) {
955
955
  var t = window.getComputedStyle(e);
956
956
  return (
957
957
  // not-not-scrollable
958
958
  t[n] !== "hidden" && // contains scroll inside self
959
- !(t.overflowY === t.overflowX && !In(e) && t[n] === "visible")
959
+ !(t.overflowY === t.overflowX && !Rn(e) && t[n] === "visible")
960
960
  );
961
- }, Rn = function(e) {
961
+ }, In = function(e) {
962
962
  return lt(e, "overflowY");
963
963
  }, Mn = function(e) {
964
964
  return lt(e, "overflowX");
965
- }, Ge = function(e, n) {
965
+ }, He = function(e, n) {
966
966
  var t = n;
967
967
  do {
968
968
  typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
@@ -982,7 +982,7 @@ var z = Ae ? { passive: !1 } : !1, In = function(e) {
982
982
  t,
983
983
  o
984
984
  ];
985
- }, kn = function(e) {
985
+ }, Fn = function(e) {
986
986
  var n = e.scrollLeft, t = e.scrollWidth, o = e.clientWidth;
987
987
  return [
988
988
  n,
@@ -990,27 +990,27 @@ var z = Ae ? { passive: !1 } : !1, In = function(e) {
990
990
  o
991
991
  ];
992
992
  }, dt = function(e, n) {
993
- return e === "v" ? Rn(n) : Mn(n);
993
+ return e === "v" ? In(n) : Mn(n);
994
994
  }, pt = function(e, n) {
995
- return e === "v" ? Ln(n) : kn(n);
996
- }, Fn = function(e, n) {
995
+ return e === "v" ? Ln(n) : Fn(n);
996
+ }, kn = function(e, n) {
997
997
  return e === "h" && n === "rtl" ? -1 : 1;
998
998
  }, jn = function(e, n, t, o, a) {
999
- var r = Fn(e, window.getComputedStyle(n).direction), i = r * o, u = t.target, l = n.contains(u), d = !1, p = i > 0, s = 0, h = 0;
999
+ var r = kn(e, window.getComputedStyle(n).direction), i = r * o, u = t.target, s = n.contains(u), d = !1, p = i > 0, l = 0, h = 0;
1000
1000
  do {
1001
1001
  var f = pt(e, u), E = f[0], c = f[1], v = f[2], b = c - v - r * E;
1002
- (E || b) && dt(e, u) && (s += b, h += E), u = u.parentNode;
1002
+ (E || b) && dt(e, u) && (l += b, h += E), u = u.parentNode;
1003
1003
  } while (
1004
1004
  // portaled content
1005
- !l && u !== document.body || // self content
1006
- l && (n.contains(u) || n === u)
1005
+ !s && u !== document.body || // self content
1006
+ s && (n.contains(u) || n === u)
1007
1007
  );
1008
- return (p && (a && s === 0 || !a && i > s) || !p && (a && h === 0 || !a && -i > h)) && (d = !0), d;
1009
- }, ae = function(e) {
1008
+ return (p && (a && l === 0 || !a && i > l) || !p && (a && h === 0 || !a && -i > h)) && (d = !0), d;
1009
+ }, ue = function(e) {
1010
1010
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
1011
- }, Ve = function(e) {
1011
+ }, Ge = function(e) {
1012
1012
  return [e.deltaX, e.deltaY];
1013
- }, Ke = function(e) {
1013
+ }, Ve = function(e) {
1014
1014
  return e && "current" in e ? e.current : e;
1015
1015
  }, Bn = function(e, n) {
1016
1016
  return e[0] === n[0] && e[1] === n[1];
@@ -1020,16 +1020,16 @@ var z = Ae ? { passive: !1 } : !1, In = function(e) {
1020
1020
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
1021
1021
  `);
1022
1022
  }, Un = 0, X = [];
1023
- function qn(e) {
1024
- var n = m.useRef([]), t = m.useRef([0, 0]), o = m.useRef(), a = m.useState(Un++)[0], r = m.useState(function() {
1023
+ function zn(e) {
1024
+ var n = g.useRef([]), t = g.useRef([0, 0]), o = g.useRef(), a = g.useState(Un++)[0], r = g.useState(function() {
1025
1025
  return st();
1026
- })[0], i = m.useRef(e);
1027
- m.useEffect(function() {
1026
+ })[0], i = g.useRef(e);
1027
+ g.useEffect(function() {
1028
1028
  i.current = e;
1029
- }, [e]), m.useEffect(function() {
1029
+ }, [e]), g.useEffect(function() {
1030
1030
  if (e.inert) {
1031
1031
  document.body.classList.add("block-interactivity-".concat(a));
1032
- var c = dn([e.lockRef.current], (e.shards || []).map(Ke), !0).filter(Boolean);
1032
+ var c = dn([e.lockRef.current], (e.shards || []).map(Ve), !0).filter(Boolean);
1033
1033
  return c.forEach(function(v) {
1034
1034
  return v.classList.add("allow-interactivity-".concat(a));
1035
1035
  }), function() {
@@ -1039,25 +1039,25 @@ function qn(e) {
1039
1039
  };
1040
1040
  }
1041
1041
  }, [e.inert, e.lockRef.current, e.shards]);
1042
- var u = m.useCallback(function(c, v) {
1042
+ var u = g.useCallback(function(c, v) {
1043
1043
  if ("touches" in c && c.touches.length === 2)
1044
1044
  return !i.current.allowPinchZoom;
1045
- var b = ae(c), x = t.current, $ = "deltaX" in c ? c.deltaX : x[0] - b[0], y = "deltaY" in c ? c.deltaY : x[1] - b[1], S, q = c.target, T = Math.abs($) > Math.abs(y) ? "h" : "v";
1046
- if ("touches" in c && T === "h" && q.type === "range")
1045
+ var b = ue(c), x = t.current, $ = "deltaX" in c ? c.deltaX : x[0] - b[0], y = "deltaY" in c ? c.deltaY : x[1] - b[1], S, z = c.target, T = Math.abs($) > Math.abs(y) ? "h" : "v";
1046
+ if ("touches" in c && T === "h" && z.type === "range")
1047
1047
  return !1;
1048
- var w = Ge(T, q);
1048
+ var w = He(T, z);
1049
1049
  if (!w)
1050
1050
  return !0;
1051
- if (w ? S = T : (S = T === "v" ? "h" : "v", w = Ge(T, q)), !w)
1051
+ if (w ? S = T : (S = T === "v" ? "h" : "v", w = He(T, z)), !w)
1052
1052
  return !1;
1053
1053
  if (!o.current && "changedTouches" in c && ($ || y) && (o.current = S), !S)
1054
1054
  return !0;
1055
- var I = o.current || S;
1056
- return jn(I, v, c, I === "h" ? $ : y, !0);
1057
- }, []), l = m.useCallback(function(c) {
1055
+ var R = o.current || S;
1056
+ return jn(R, v, c, R === "h" ? $ : y, !0);
1057
+ }, []), s = g.useCallback(function(c) {
1058
1058
  var v = c;
1059
1059
  if (!(!X.length || X[X.length - 1] !== r)) {
1060
- var b = "deltaY" in v ? Ve(v) : ae(v), x = n.current.filter(function(S) {
1060
+ var b = "deltaY" in v ? Ge(v) : ue(v), x = n.current.filter(function(S) {
1061
1061
  return S.name === v.type && S.target === v.target && Bn(S.delta, b);
1062
1062
  })[0];
1063
1063
  if (x && x.should) {
@@ -1065,59 +1065,59 @@ function qn(e) {
1065
1065
  return;
1066
1066
  }
1067
1067
  if (!x) {
1068
- var $ = (i.current.shards || []).map(Ke).filter(Boolean).filter(function(S) {
1068
+ var $ = (i.current.shards || []).map(Ve).filter(Boolean).filter(function(S) {
1069
1069
  return S.contains(v.target);
1070
1070
  }), y = $.length > 0 ? u(v, $[0]) : !i.current.noIsolation;
1071
1071
  y && v.cancelable && v.preventDefault();
1072
1072
  }
1073
1073
  }
1074
- }, []), d = m.useCallback(function(c, v, b, x) {
1074
+ }, []), d = g.useCallback(function(c, v, b, x) {
1075
1075
  var $ = { name: c, delta: v, target: b, should: x };
1076
1076
  n.current.push($), setTimeout(function() {
1077
1077
  n.current = n.current.filter(function(y) {
1078
1078
  return y !== $;
1079
1079
  });
1080
1080
  }, 1);
1081
- }, []), p = m.useCallback(function(c) {
1082
- t.current = ae(c), o.current = void 0;
1083
- }, []), s = m.useCallback(function(c) {
1084
- d(c.type, Ve(c), c.target, u(c, e.lockRef.current));
1085
- }, []), h = m.useCallback(function(c) {
1086
- d(c.type, ae(c), c.target, u(c, e.lockRef.current));
1081
+ }, []), p = g.useCallback(function(c) {
1082
+ t.current = ue(c), o.current = void 0;
1083
+ }, []), l = g.useCallback(function(c) {
1084
+ d(c.type, Ge(c), c.target, u(c, e.lockRef.current));
1085
+ }, []), h = g.useCallback(function(c) {
1086
+ d(c.type, ue(c), c.target, u(c, e.lockRef.current));
1087
1087
  }, []);
1088
- m.useEffect(function() {
1088
+ g.useEffect(function() {
1089
1089
  return X.push(r), e.setCallbacks({
1090
- onScrollCapture: s,
1091
- onWheelCapture: s,
1090
+ onScrollCapture: l,
1091
+ onWheelCapture: l,
1092
1092
  onTouchMoveCapture: h
1093
- }), document.addEventListener("wheel", l, z), document.addEventListener("touchmove", l, z), document.addEventListener("touchstart", p, z), function() {
1093
+ }), document.addEventListener("wheel", s, K), document.addEventListener("touchmove", s, K), document.addEventListener("touchstart", p, K), function() {
1094
1094
  X = X.filter(function(c) {
1095
1095
  return c !== r;
1096
- }), document.removeEventListener("wheel", l, z), document.removeEventListener("touchmove", l, z), document.removeEventListener("touchstart", p, z);
1096
+ }), document.removeEventListener("wheel", s, K), document.removeEventListener("touchmove", s, K), document.removeEventListener("touchstart", p, K);
1097
1097
  };
1098
1098
  }, []);
1099
1099
  var f = e.removeScrollBar, E = e.inert;
1100
- return m.createElement(
1101
- m.Fragment,
1100
+ return g.createElement(
1101
+ g.Fragment,
1102
1102
  null,
1103
- E ? m.createElement(r, { styles: Wn(a) }) : null,
1104
- f ? m.createElement(Dn, { gapMode: "margin" }) : null
1103
+ E ? g.createElement(r, { styles: Wn(a) }) : null,
1104
+ f ? g.createElement(Dn, { gapMode: "margin" }) : null
1105
1105
  );
1106
1106
  }
1107
- const Hn = $n(ct, qn);
1108
- var ft = m.forwardRef(function(e, n) {
1109
- return m.createElement(me, k({}, e, { ref: n, sideCar: Hn }));
1107
+ const qn = $n(ct, zn);
1108
+ var ft = g.forwardRef(function(e, n) {
1109
+ return g.createElement(_e, F({}, e, { ref: n, sideCar: qn }));
1110
1110
  });
1111
- ft.classNames = me.classNames;
1112
- const Gn = ft;
1113
- var Vn = function(e) {
1111
+ ft.classNames = _e.classNames;
1112
+ const Hn = ft;
1113
+ var Gn = function(e) {
1114
1114
  if (typeof document > "u")
1115
1115
  return null;
1116
1116
  var n = Array.isArray(e) ? e[0] : e;
1117
1117
  return n.ownerDocument.body;
1118
- }, Y = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), ue = {}, we = 0, vt = function(e) {
1118
+ }, Y = /* @__PURE__ */ new WeakMap(), ce = /* @__PURE__ */ new WeakMap(), se = {}, Ce = 0, vt = function(e) {
1119
1119
  return e && (e.host || vt(e.parentNode));
1120
- }, Kn = function(e, n) {
1120
+ }, Vn = function(e, n) {
1121
1121
  return n.map(function(t) {
1122
1122
  if (e.contains(t))
1123
1123
  return t;
@@ -1126,54 +1126,54 @@ var Vn = function(e) {
1126
1126
  }).filter(function(t) {
1127
1127
  return !!t;
1128
1128
  });
1129
- }, zn = function(e, n, t, o) {
1130
- var a = Kn(n, Array.isArray(e) ? e : [e]);
1131
- ue[t] || (ue[t] = /* @__PURE__ */ new WeakMap());
1132
- var r = ue[t], i = [], u = /* @__PURE__ */ new Set(), l = new Set(a), d = function(s) {
1133
- !s || u.has(s) || (u.add(s), d(s.parentNode));
1129
+ }, Kn = function(e, n, t, o) {
1130
+ var a = Vn(n, Array.isArray(e) ? e : [e]);
1131
+ se[t] || (se[t] = /* @__PURE__ */ new WeakMap());
1132
+ var r = se[t], i = [], u = /* @__PURE__ */ new Set(), s = new Set(a), d = function(l) {
1133
+ !l || u.has(l) || (u.add(l), d(l.parentNode));
1134
1134
  };
1135
1135
  a.forEach(d);
1136
- var p = function(s) {
1137
- !s || l.has(s) || Array.prototype.forEach.call(s.children, function(h) {
1136
+ var p = function(l) {
1137
+ !l || s.has(l) || Array.prototype.forEach.call(l.children, function(h) {
1138
1138
  if (u.has(h))
1139
1139
  p(h);
1140
1140
  else {
1141
1141
  var f = h.getAttribute(o), E = f !== null && f !== "false", c = (Y.get(h) || 0) + 1, v = (r.get(h) || 0) + 1;
1142
- Y.set(h, c), r.set(h, v), i.push(h), c === 1 && E && ie.set(h, !0), v === 1 && h.setAttribute(t, "true"), E || h.setAttribute(o, "true");
1142
+ Y.set(h, c), r.set(h, v), i.push(h), c === 1 && E && ce.set(h, !0), v === 1 && h.setAttribute(t, "true"), E || h.setAttribute(o, "true");
1143
1143
  }
1144
1144
  });
1145
1145
  };
1146
- return p(n), u.clear(), we++, function() {
1147
- i.forEach(function(s) {
1148
- var h = Y.get(s) - 1, f = r.get(s) - 1;
1149
- Y.set(s, h), r.set(s, f), h || (ie.has(s) || s.removeAttribute(o), ie.delete(s)), f || s.removeAttribute(t);
1150
- }), we--, we || (Y = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), ue = {});
1146
+ return p(n), u.clear(), Ce++, function() {
1147
+ i.forEach(function(l) {
1148
+ var h = Y.get(l) - 1, f = r.get(l) - 1;
1149
+ Y.set(l, h), r.set(l, f), h || (ce.has(l) || l.removeAttribute(o), ce.delete(l)), f || l.removeAttribute(t);
1150
+ }), Ce--, Ce || (Y = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), ce = /* @__PURE__ */ new WeakMap(), se = {});
1151
1151
  };
1152
1152
  }, Xn = function(e, n, t) {
1153
1153
  t === void 0 && (t = "data-aria-hidden");
1154
- var o = Array.from(Array.isArray(e) ? e : [e]), a = n || Vn(e);
1155
- return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), zn(o, a, t, "aria-hidden")) : function() {
1154
+ var o = Array.from(Array.isArray(e) ? e : [e]), a = n || Gn(e);
1155
+ return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), Kn(o, a, t, "aria-hidden")) : function() {
1156
1156
  return null;
1157
1157
  };
1158
1158
  };
1159
- const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1160
- const { __scopeDialog: n, children: t, open: o, defaultOpen: a, onOpenChange: r, modal: i = !0 } = e, u = O(null), l = O(null), [d = !1, p] = jt({
1159
+ const ht = "Dialog", [gt, yo] = Mt(ht), [Yn, L] = gt(ht), Zn = (e) => {
1160
+ const { __scopeDialog: n, children: t, open: o, defaultOpen: a, onOpenChange: r, modal: i = !0 } = e, u = O(null), s = O(null), [d = !1, p] = jt({
1161
1161
  prop: o,
1162
1162
  defaultProp: a,
1163
1163
  onChange: r
1164
1164
  });
1165
- return /* @__PURE__ */ g(Yn, {
1165
+ return /* @__PURE__ */ m(Yn, {
1166
1166
  scope: n,
1167
1167
  triggerRef: u,
1168
- contentRef: l,
1169
- contentId: ge(),
1170
- titleId: ge(),
1171
- descriptionId: ge(),
1168
+ contentRef: s,
1169
+ contentId: be(),
1170
+ titleId: be(),
1171
+ descriptionId: be(),
1172
1172
  open: d,
1173
1173
  onOpenChange: p,
1174
1174
  onOpenToggle: Q(
1175
1175
  () => p(
1176
- (s) => !s
1176
+ (l) => !l
1177
1177
  ),
1178
1178
  [
1179
1179
  p
@@ -1183,7 +1183,7 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1183
1183
  }, t);
1184
1184
  }, Qn = "DialogTrigger", Jn = /* @__PURE__ */ C((e, n) => {
1185
1185
  const { __scopeDialog: t, ...o } = e, a = L(Qn, t), r = J(n, a.triggerRef);
1186
- return /* @__PURE__ */ g(U.button, P({
1186
+ return /* @__PURE__ */ m(U.button, P({
1187
1187
  type: "button",
1188
1188
  "aria-haspopup": "dialog",
1189
1189
  "aria-expanded": a.open,
@@ -1193,27 +1193,27 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1193
1193
  ref: r,
1194
1194
  onClick: B(e.onClick, a.onOpenToggle)
1195
1195
  }));
1196
- }), gt = "DialogPortal", [er, _t] = mt(gt, {
1196
+ }), mt = "DialogPortal", [er, _t] = gt(mt, {
1197
1197
  forceMount: void 0
1198
1198
  }), tr = (e) => {
1199
- const { __scopeDialog: n, forceMount: t, children: o, container: a } = e, r = L(gt, n);
1200
- return /* @__PURE__ */ g(er, {
1199
+ const { __scopeDialog: n, forceMount: t, children: o, container: a } = e, r = L(mt, n);
1200
+ return /* @__PURE__ */ m(er, {
1201
1201
  scope: n,
1202
1202
  forceMount: t
1203
1203
  }, M.map(
1204
1204
  o,
1205
- (i) => /* @__PURE__ */ g(he, {
1205
+ (i) => /* @__PURE__ */ m(me, {
1206
1206
  present: t || r.open
1207
- }, /* @__PURE__ */ g(un, {
1207
+ }, /* @__PURE__ */ m(un, {
1208
1208
  asChild: !0,
1209
1209
  container: a
1210
1210
  }, i))
1211
1211
  ));
1212
1212
  }, Te = "DialogOverlay", nr = /* @__PURE__ */ C((e, n) => {
1213
1213
  const t = _t(Te, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(Te, e.__scopeDialog);
1214
- return r.modal ? /* @__PURE__ */ g(he, {
1214
+ return r.modal ? /* @__PURE__ */ m(me, {
1215
1215
  present: o || r.open
1216
- }, /* @__PURE__ */ g(rr, P({}, a, {
1216
+ }, /* @__PURE__ */ m(rr, P({}, a, {
1217
1217
  ref: n
1218
1218
  }))) : null;
1219
1219
  }), rr = /* @__PURE__ */ C((e, n) => {
@@ -1221,13 +1221,13 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1221
1221
  return (
1222
1222
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
1223
1223
  // ie. when `Overlay` and `Content` are siblings
1224
- /* @__PURE__ */ g(Gn, {
1225
- as: Re,
1224
+ /* @__PURE__ */ m(Hn, {
1225
+ as: Ie,
1226
1226
  allowPinchZoom: !0,
1227
1227
  shards: [
1228
1228
  a.contentRef
1229
1229
  ]
1230
- }, /* @__PURE__ */ g(U.div, P({
1230
+ }, /* @__PURE__ */ m(U.div, P({
1231
1231
  "data-state": Me(a.open)
1232
1232
  }, o, {
1233
1233
  ref: n,
@@ -1237,22 +1237,22 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1237
1237
  }
1238
1238
  })))
1239
1239
  );
1240
- }), ee = "DialogContent", or = /* @__PURE__ */ C((e, n) => {
1241
- const t = _t(ee, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(ee, e.__scopeDialog);
1242
- return /* @__PURE__ */ g(he, {
1240
+ }), ne = "DialogContent", or = /* @__PURE__ */ C((e, n) => {
1241
+ const t = _t(ne, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(ne, e.__scopeDialog);
1242
+ return /* @__PURE__ */ m(me, {
1243
1243
  present: o || r.open
1244
- }, r.modal ? /* @__PURE__ */ g(ar, P({}, a, {
1244
+ }, r.modal ? /* @__PURE__ */ m(ar, P({}, a, {
1245
1245
  ref: n
1246
- })) : /* @__PURE__ */ g(ir, P({}, a, {
1246
+ })) : /* @__PURE__ */ m(ir, P({}, a, {
1247
1247
  ref: n
1248
1248
  })));
1249
1249
  }), ar = /* @__PURE__ */ C((e, n) => {
1250
- const t = L(ee, e.__scopeDialog), o = O(null), a = J(n, t.contentRef, o);
1250
+ const t = L(ne, e.__scopeDialog), o = O(null), a = J(n, t.contentRef, o);
1251
1251
  return A(() => {
1252
1252
  const r = o.current;
1253
1253
  if (r)
1254
1254
  return Xn(r);
1255
- }, []), /* @__PURE__ */ g(bt, P({}, e, {
1255
+ }, []), /* @__PURE__ */ m(bt, P({}, e, {
1256
1256
  ref: a,
1257
1257
  trapFocus: t.open,
1258
1258
  disableOutsidePointerEvents: !0,
@@ -1270,8 +1270,8 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1270
1270
  )
1271
1271
  }));
1272
1272
  }), ir = /* @__PURE__ */ C((e, n) => {
1273
- const t = L(ee, e.__scopeDialog), o = O(!1), a = O(!1);
1274
- return /* @__PURE__ */ g(bt, P({}, e, {
1273
+ const t = L(ne, e.__scopeDialog), o = O(!1), a = O(!1);
1274
+ return /* @__PURE__ */ m(bt, P({}, e, {
1275
1275
  ref: n,
1276
1276
  trapFocus: !1,
1277
1277
  disableOutsidePointerEvents: !1,
@@ -1286,19 +1286,19 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1286
1286
  onInteractOutside: (r) => {
1287
1287
  var i, u;
1288
1288
  (i = e.onInteractOutside) === null || i === void 0 || i.call(e, r), r.defaultPrevented || (o.current = !0, r.detail.originalEvent.type === "pointerdown" && (a.current = !0));
1289
- const l = r.target;
1290
- ((u = t.triggerRef.current) === null || u === void 0 ? void 0 : u.contains(l)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && a.current && r.preventDefault();
1289
+ const s = r.target;
1290
+ ((u = t.triggerRef.current) === null || u === void 0 ? void 0 : u.contains(s)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && a.current && r.preventDefault();
1291
1291
  }
1292
1292
  }));
1293
1293
  }), bt = /* @__PURE__ */ C((e, n) => {
1294
- const { __scopeDialog: t, trapFocus: o, onOpenAutoFocus: a, onCloseAutoFocus: r, ...i } = e, u = L(ee, t), l = O(null), d = J(n, l);
1295
- return ln(), /* @__PURE__ */ g(Ie, null, /* @__PURE__ */ g(Jt, {
1294
+ const { __scopeDialog: t, trapFocus: o, onOpenAutoFocus: a, onCloseAutoFocus: r, ...i } = e, u = L(ne, t), s = O(null), d = J(n, s);
1295
+ return ln(), /* @__PURE__ */ m(Re, null, /* @__PURE__ */ m(Jt, {
1296
1296
  asChild: !0,
1297
1297
  loop: !0,
1298
1298
  trapped: o,
1299
1299
  onMountAutoFocus: a,
1300
1300
  onUnmountAutoFocus: r
1301
- }, /* @__PURE__ */ g(Yt, P({
1301
+ }, /* @__PURE__ */ m(Yt, P({
1302
1302
  role: "dialog",
1303
1303
  id: u.contentId,
1304
1304
  "aria-describedby": u.descriptionId,
@@ -1310,21 +1310,21 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1310
1310
  }))), !1);
1311
1311
  }), ur = "DialogTitle", cr = /* @__PURE__ */ C((e, n) => {
1312
1312
  const { __scopeDialog: t, ...o } = e, a = L(ur, t);
1313
- return /* @__PURE__ */ g(U.h2, P({
1313
+ return /* @__PURE__ */ m(U.h2, P({
1314
1314
  id: a.titleId
1315
1315
  }, o, {
1316
1316
  ref: n
1317
1317
  }));
1318
1318
  }), sr = "DialogDescription", lr = /* @__PURE__ */ C((e, n) => {
1319
1319
  const { __scopeDialog: t, ...o } = e, a = L(sr, t);
1320
- return /* @__PURE__ */ g(U.p, P({
1320
+ return /* @__PURE__ */ m(U.p, P({
1321
1321
  id: a.descriptionId
1322
1322
  }, o, {
1323
1323
  ref: n
1324
1324
  }));
1325
1325
  }), dr = "DialogClose", pr = /* @__PURE__ */ C((e, n) => {
1326
1326
  const { __scopeDialog: t, ...o } = e, a = L(dr, t);
1327
- return /* @__PURE__ */ g(U.button, P({
1327
+ return /* @__PURE__ */ m(U.button, P({
1328
1328
  type: "button"
1329
1329
  }, o, {
1330
1330
  ref: n,
@@ -1337,7 +1337,7 @@ const ht = "Dialog", [mt, yo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1337
1337
  function Me(e) {
1338
1338
  return e ? "open" : "closed";
1339
1339
  }
1340
- const fr = Zn, vr = Jn, hr = tr, mr = nr, gr = or, _r = cr, ze = lr, br = pr, Xe = {
1340
+ const fr = Zn, vr = Jn, hr = tr, gr = nr, mr = or, _r = cr, Ke = lr, br = pr, Xe = {
1341
1341
  SM: "sm",
1342
1342
  MD: "md",
1343
1343
  LG: "lg"
@@ -1382,7 +1382,7 @@ var $t = { exports: {} };
1382
1382
  })();
1383
1383
  })($t);
1384
1384
  var yr = $t.exports;
1385
- const Ye = /* @__PURE__ */ $r(yr), Er = "_rotate_7s2g1_1", wr = "_dash_7s2g1_1", ce = {
1385
+ const Ye = /* @__PURE__ */ $r(yr), Er = "_rotate_7s2g1_1", wr = "_dash_7s2g1_1", le = {
1386
1386
  "purpur-spinner": "_purpur-spinner_7s2g1_1",
1387
1387
  rotate: Er,
1388
1388
  "purpur-spinner--xxs": "_purpur-spinner--xxs_7s2g1_4",
@@ -1395,7 +1395,7 @@ const Ye = /* @__PURE__ */ $r(yr), Er = "_rotate_7s2g1_1", wr = "_dash_7s2g1_1",
1395
1395
  "purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_7s2g1_33",
1396
1396
  "purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_7s2g1_36",
1397
1397
  "purpur-spinner__circle--negative-disabled": "_purpur-spinner__circle--negative-disabled_7s2g1_39"
1398
- }, se = "purpur-spinner", Sr = {
1398
+ }, de = "purpur-spinner", Sr = {
1399
1399
  PRIMARY: "primary",
1400
1400
  DISABLED: "disabled",
1401
1401
  NEGATIVE: "negative",
@@ -1414,15 +1414,15 @@ const Ye = /* @__PURE__ */ $r(yr), Er = "_rotate_7s2g1_1", wr = "_dash_7s2g1_1",
1414
1414
  }) => /* @__PURE__ */ _(
1415
1415
  "div",
1416
1416
  {
1417
- className: Ye([ce[se], ce[`${se}--${n}`]]),
1417
+ className: Ye([le[de], le[`${de}--${n}`]]),
1418
1418
  "data-testid": e,
1419
1419
  ...o,
1420
1420
  children: /* @__PURE__ */ _("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ _(
1421
1421
  "circle",
1422
1422
  {
1423
1423
  className: Ye(
1424
- ce[`${se}__circle`],
1425
- ce[`${se}__circle--${t}`]
1424
+ le[`${de}__circle`],
1425
+ le[`${de}__circle--${t}`]
1426
1426
  ),
1427
1427
  cx: "25",
1428
1428
  cy: "25",
@@ -1471,7 +1471,7 @@ var yt = { exports: {} };
1471
1471
  })();
1472
1472
  })(yt);
1473
1473
  var Pr = yt.exports;
1474
- const Nr = /* @__PURE__ */ Or(Pr), H = {
1474
+ const Nr = /* @__PURE__ */ Or(Pr), q = {
1475
1475
  "purpur-button": "_purpur-button_1fna2_1",
1476
1476
  "purpur-button--sm": "_purpur-button--sm_1fna2_33",
1477
1477
  "purpur-button--icon-only": "_purpur-button--icon-only_1fna2_36",
@@ -1492,7 +1492,7 @@ const Nr = /* @__PURE__ */ Or(Pr), H = {
1492
1492
  "purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_1fna2_160",
1493
1493
  "purpur-button--text-negative": "_purpur-button--text-negative_1fna2_175",
1494
1494
  "purpur-button--text": "_purpur-button--text_1fna2_175"
1495
- }, G = "purpur-button", Ar = ({
1495
+ }, H = "purpur-button", Ar = ({
1496
1496
  children: e,
1497
1497
  className: n,
1498
1498
  ["data-testid"]: t,
@@ -1501,24 +1501,24 @@ const Nr = /* @__PURE__ */ Or(Pr), H = {
1501
1501
  iconOnly: r,
1502
1502
  loading: i = !1,
1503
1503
  onClick: u,
1504
- size: l = Xe.MD,
1504
+ size: s = Xe.MD,
1505
1505
  variant: d,
1506
1506
  type: p = "button",
1507
- ...s
1507
+ ...l
1508
1508
  }, h) => {
1509
1509
  if (r && d === "destructive")
1510
1510
  return null;
1511
1511
  const f = Nr(
1512
1512
  [
1513
- H[G],
1514
- H[`${G}--${d}`],
1515
- H[`${G}--${l}`]
1513
+ q[H],
1514
+ q[`${H}--${d}`],
1515
+ q[`${H}--${s}`]
1516
1516
  ],
1517
1517
  {
1518
- [H[`${G}--icon-only`]]: r,
1519
- [H[`${G}--negative`]]: d.endsWith("negative"),
1520
- [H[`${G}--full-width`]]: a,
1521
- [H[`${G}--disabled`]]: o || i
1518
+ [q[`${H}--icon-only`]]: r,
1519
+ [q[`${H}--negative`]]: d.endsWith("negative"),
1520
+ [q[`${H}--full-width`]]: a,
1521
+ [q[`${H}--disabled`]]: o || i
1522
1522
  },
1523
1523
  n
1524
1524
  ), E = (v) => {
@@ -1531,11 +1531,11 @@ const Nr = /* @__PURE__ */ Or(Pr), H = {
1531
1531
  "data-testid": t,
1532
1532
  type: p,
1533
1533
  ref: h,
1534
- "aria-disabled": s["aria-disabled"] || o || i,
1534
+ "aria-disabled": l["aria-disabled"] || o || i,
1535
1535
  onClick: E,
1536
- ...s,
1536
+ ...l,
1537
1537
  children: [
1538
- i && /* @__PURE__ */ _(xr, { size: l === Xe.LG ? "xs" : "xxs", variant: c() }),
1538
+ i && /* @__PURE__ */ _(xr, { size: s === Xe.LG ? "xs" : "xxs", variant: c() }),
1539
1539
  " ",
1540
1540
  e
1541
1541
  ]
@@ -1583,22 +1583,23 @@ var Et = { exports: {} };
1583
1583
  })();
1584
1584
  })(Et);
1585
1585
  var Dr = Et.exports;
1586
- const Ir = /* @__PURE__ */ Tr(Dr), Se = {
1587
- "purpur-heading": "_purpur-heading_1abfh_1",
1588
- "purpur-heading--hyphens": "_purpur-heading--hyphens_1abfh_8",
1589
- "purpur-heading--subsection-100": "_purpur-heading--subsection-100_1abfh_11",
1590
- "purpur-heading--title-100": "_purpur-heading--title-100_1abfh_17",
1591
- "purpur-heading--title-200": "_purpur-heading--title-200_1abfh_23",
1592
- "purpur-heading--title-300": "_purpur-heading--title-300_1abfh_29",
1593
- "purpur-heading--title-400": "_purpur-heading--title-400_1abfh_35",
1594
- "purpur-heading--title-500": "_purpur-heading--title-500_1abfh_41",
1595
- "purpur-heading--title-600": "_purpur-heading--title-600_1abfh_47",
1596
- "purpur-heading--title-700": "_purpur-heading--title-700_1abfh_53",
1597
- "purpur-heading--display-25": "_purpur-heading--display-25_1abfh_59",
1598
- "purpur-heading--display-50": "_purpur-heading--display-50_1abfh_65",
1599
- "purpur-heading--display-100": "_purpur-heading--display-100_1abfh_71",
1600
- "purpur-heading--display-200": "_purpur-heading--display-200_1abfh_77"
1601
- }, Rr = {
1586
+ const Rr = /* @__PURE__ */ Tr(Dr), pe = {
1587
+ "purpur-heading": "_purpur-heading_1g237_1",
1588
+ "purpur-heading--hyphens": "_purpur-heading--hyphens_1g237_8",
1589
+ "purpur-heading--negative": "_purpur-heading--negative_1g237_11",
1590
+ "purpur-heading--subsection-100": "_purpur-heading--subsection-100_1g237_14",
1591
+ "purpur-heading--title-100": "_purpur-heading--title-100_1g237_20",
1592
+ "purpur-heading--title-200": "_purpur-heading--title-200_1g237_26",
1593
+ "purpur-heading--title-300": "_purpur-heading--title-300_1g237_32",
1594
+ "purpur-heading--title-400": "_purpur-heading--title-400_1g237_38",
1595
+ "purpur-heading--title-500": "_purpur-heading--title-500_1g237_44",
1596
+ "purpur-heading--title-600": "_purpur-heading--title-600_1g237_50",
1597
+ "purpur-heading--title-700": "_purpur-heading--title-700_1g237_56",
1598
+ "purpur-heading--display-25": "_purpur-heading--display-25_1g237_62",
1599
+ "purpur-heading--display-50": "_purpur-heading--display-50_1g237_68",
1600
+ "purpur-heading--display-100": "_purpur-heading--display-100_1g237_74",
1601
+ "purpur-heading--display-200": "_purpur-heading--display-200_1g237_80"
1602
+ }, Ir = {
1602
1603
  TITLE100: "title-100",
1603
1604
  TITLE200: "title-200",
1604
1605
  TITLE300: "title-300",
@@ -1607,24 +1608,26 @@ const Ir = /* @__PURE__ */ Tr(Dr), Se = {
1607
1608
  TITLE600: "title-600",
1608
1609
  TITLE700: "title-700",
1609
1610
  SUBSECTION100: "subsection-100"
1610
- }, Ce = "purpur-heading", Mr = ({
1611
+ }, fe = "purpur-heading", Mr = ({
1611
1612
  ["data-testid"]: e,
1612
1613
  children: n,
1613
1614
  className: t = "",
1614
1615
  enableHyphenation: o = !1,
1615
- tag: a,
1616
- variant: r = Rr.TITLE100,
1617
- ...i
1616
+ negative: a = !1,
1617
+ tag: r,
1618
+ variant: i = Ir.TITLE100,
1619
+ ...u
1618
1620
  }) => {
1619
- const u = a, l = Ir([
1621
+ const s = r, d = Rr([
1620
1622
  t,
1621
- Se[Ce],
1622
- Se[`${Ce}--${r}`],
1623
+ pe[fe],
1624
+ pe[`${fe}--${i}`],
1623
1625
  {
1624
- [Se[`${Ce}--hyphens`]]: o
1626
+ [pe[`${fe}--hyphens`]]: o,
1627
+ [pe[`${fe}--negative`]]: a
1625
1628
  }
1626
1629
  ]);
1627
- return /* @__PURE__ */ _(u, { ...i, className: l, "data-testid": e, children: n });
1630
+ return /* @__PURE__ */ _(s, { ...u, className: d, "data-testid": e, children: n });
1628
1631
  };
1629
1632
  function Lr(e) {
1630
1633
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -1665,8 +1668,8 @@ var wt = { exports: {} };
1665
1668
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1666
1669
  })();
1667
1670
  })(wt);
1668
- var kr = wt.exports;
1669
- const Fr = /* @__PURE__ */ Lr(kr), jr = {
1671
+ var Fr = wt.exports;
1672
+ const kr = /* @__PURE__ */ Lr(Fr), jr = {
1670
1673
  "purpur-icon": "_purpur-icon_8u1lq_1",
1671
1674
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
1672
1675
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -1680,22 +1683,22 @@ const Fr = /* @__PURE__ */ Lr(kr), jr = {
1680
1683
  keywords: ["close"],
1681
1684
  category: "utility"
1682
1685
  }, St = (e) => /* @__PURE__ */ _(
1683
- Vr,
1686
+ Gr,
1684
1687
  {
1685
1688
  ...e,
1686
1689
  svg: Br
1687
1690
  }
1688
1691
  );
1689
1692
  St.displayName = "IconClose";
1690
- const Wr = Fr.bind(jr), Ze = "purpur-icon", Ur = "md", qr = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Hr = ({ content: e = "", title: n } = {}) => {
1693
+ const Wr = kr.bind(jr), Ze = "purpur-icon", Ur = "md", zr = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), qr = ({ content: e = "", title: n } = {}) => {
1691
1694
  const t = [
1692
1695
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
1693
1696
  { name: "fill", value: "currentColor" },
1694
1697
  { name: "viewBox", value: "0 0 24 24" },
1695
1698
  n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
1696
1699
  ], o = n ? `<title>${n}</title>` : "";
1697
- return `<svg ${qr(t)}>${o}${e}</svg>`;
1698
- }, Gr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Vr = ({
1700
+ return `<svg ${zr(t)}>${o}${e}</svg>`;
1701
+ }, Hr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Gr = ({
1699
1702
  ["data-testid"]: e,
1700
1703
  svg: n,
1701
1704
  allyTitle: t,
@@ -1703,8 +1706,8 @@ const Wr = Fr.bind(jr), Ze = "purpur-icon", Ur = "md", qr = (e) => e.filter((n)
1703
1706
  size: a = Ur,
1704
1707
  ...r
1705
1708
  }) => {
1706
- const i = Hr({
1707
- content: Gr(n.svg),
1709
+ const i = qr({
1710
+ content: Hr(n.svg),
1708
1711
  title: t
1709
1712
  }), u = Wr(o, Ze, `${Ze}--${a}`);
1710
1713
  return /* @__PURE__ */ _(
@@ -1718,7 +1721,7 @@ const Wr = Fr.bind(jr), Ze = "purpur-icon", Ur = "md", qr = (e) => e.filter((n)
1718
1721
  }
1719
1722
  );
1720
1723
  };
1721
- function Kr(e) {
1724
+ function Vr(e) {
1722
1725
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1723
1726
  }
1724
1727
  var Ct = { exports: {} };
@@ -1757,21 +1760,22 @@ var Ct = { exports: {} };
1757
1760
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1758
1761
  })();
1759
1762
  })(Ct);
1760
- var zr = Ct.exports;
1761
- const Xr = /* @__PURE__ */ Kr(zr), le = {
1762
- "purpur-paragraph": "_purpur-paragraph_5wbko_1",
1763
- "purpur-paragraph--disabled": "_purpur-paragraph--disabled_5wbko_7",
1764
- "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_5wbko_10",
1765
- "purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-100_5wbko_13",
1766
- "purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-medium_5wbko_19",
1767
- "purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-bold_5wbko_26",
1768
- "purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-200_5wbko_33",
1769
- "purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-100_5wbko_39",
1770
- "purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-200_5wbko_45",
1771
- "purpur-paragraph--additional-100": "_purpur-paragraph--additional-100_5wbko_51",
1772
- "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_5wbko_57",
1773
- "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_5wbko_64",
1774
- "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_5wbko_72"
1763
+ var Kr = Ct.exports;
1764
+ const Xr = /* @__PURE__ */ Vr(Kr), ee = {
1765
+ "purpur-paragraph": "_purpur-paragraph_15yuz_1",
1766
+ "purpur-paragraph--disabled": "_purpur-paragraph--disabled_15yuz_7",
1767
+ "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_15yuz_10",
1768
+ "purpur-paragraph--negative": "_purpur-paragraph--negative_15yuz_13",
1769
+ "purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-100_15yuz_16",
1770
+ "purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-medium_15yuz_22",
1771
+ "purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-bold_15yuz_29",
1772
+ "purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-200_15yuz_36",
1773
+ "purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-100_15yuz_42",
1774
+ "purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-200_15yuz_48",
1775
+ "purpur-paragraph--additional-100": "_purpur-paragraph--additional-100_15yuz_54",
1776
+ "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_15yuz_60",
1777
+ "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_15yuz_67",
1778
+ "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_15yuz_75"
1775
1779
  }, Yr = {
1776
1780
  PARAGRAPH100: "paragraph-100",
1777
1781
  PARAGRAPH100MEDIUM: "paragraph-100-medium",
@@ -1783,25 +1787,27 @@ const Xr = /* @__PURE__ */ Kr(zr), le = {
1783
1787
  ADDITIONAL100MEDIUM: "additional-100-medium",
1784
1788
  OVERLINE100: "overline-100",
1785
1789
  OVERLINE200: "overline-200"
1786
- }, de = "purpur-paragraph", Zr = ({
1790
+ }, te = "purpur-paragraph", Zr = ({
1787
1791
  ["data-testid"]: e,
1788
1792
  children: n,
1789
1793
  className: t = "",
1790
1794
  disabled: o,
1791
1795
  enableHyphenation: a = !1,
1792
- variant: r = Yr.PARAGRAPH100,
1793
- ...i
1796
+ negative: r = !1,
1797
+ variant: i = Yr.PARAGRAPH100,
1798
+ ...u
1794
1799
  }) => {
1795
- const u = Xr([
1800
+ const s = Xr([
1796
1801
  t,
1797
- le[de],
1798
- le[`${de}--${r}`],
1802
+ ee[te],
1803
+ ee[`${te}--${i}`],
1799
1804
  {
1800
- [le[`${de}--hyphens`]]: a,
1801
- [le[`${de}--disabled`]]: o
1805
+ [ee[`${te}--hyphens`]]: a,
1806
+ [ee[`${te}--disabled`]]: o,
1807
+ [ee[`${te}--negative`]]: r
1802
1808
  }
1803
1809
  ]);
1804
- return /* @__PURE__ */ _("p", { ...i, className: u, "data-testid": e, children: n });
1810
+ return /* @__PURE__ */ _("p", { ...u, className: s, "data-testid": e, children: n });
1805
1811
  }, Qr = "600px";
1806
1812
  function Z() {
1807
1813
  return Z = Object.assign ? Object.assign.bind() : function(e) {
@@ -1824,25 +1830,25 @@ function eo(...e) {
1824
1830
  const xt = /* @__PURE__ */ C((e, n) => {
1825
1831
  const { children: t, ...o } = e, a = M.toArray(t), r = a.find(no);
1826
1832
  if (r) {
1827
- const i = r.props.children, u = a.map((l) => l === r ? M.count(i) > 1 ? M.only(null) : /* @__PURE__ */ W(i) ? i.props.children : null : l);
1828
- return /* @__PURE__ */ g(De, Z({}, o, {
1833
+ const i = r.props.children, u = a.map((s) => s === r ? M.count(i) > 1 ? M.only(null) : /* @__PURE__ */ W(i) ? i.props.children : null : s);
1834
+ return /* @__PURE__ */ m(De, Z({}, o, {
1829
1835
  ref: n
1830
- }), /* @__PURE__ */ W(i) ? /* @__PURE__ */ te(i, void 0, u) : null);
1836
+ }), /* @__PURE__ */ W(i) ? /* @__PURE__ */ re(i, void 0, u) : null);
1831
1837
  }
1832
- return /* @__PURE__ */ g(De, Z({}, o, {
1838
+ return /* @__PURE__ */ m(De, Z({}, o, {
1833
1839
  ref: n
1834
1840
  }), t);
1835
1841
  });
1836
1842
  xt.displayName = "Slot";
1837
1843
  const De = /* @__PURE__ */ C((e, n) => {
1838
1844
  const { children: t, ...o } = e;
1839
- return /* @__PURE__ */ W(t) ? /* @__PURE__ */ te(t, {
1845
+ return /* @__PURE__ */ W(t) ? /* @__PURE__ */ re(t, {
1840
1846
  ...ro(o, t.props),
1841
1847
  ref: n ? eo(n, t.ref) : t.ref
1842
1848
  }) : M.count(t) > 1 ? M.only(null) : null;
1843
1849
  });
1844
1850
  De.displayName = "SlotClone";
1845
- const to = ({ children: e }) => /* @__PURE__ */ g(Ie, null, e);
1851
+ const to = ({ children: e }) => /* @__PURE__ */ m(Re, null, e);
1846
1852
  function no(e) {
1847
1853
  return /* @__PURE__ */ W(e) && e.type === to;
1848
1854
  }
@@ -1889,7 +1895,7 @@ const oo = [
1889
1895
  const { asChild: r, ...i } = o, u = r ? xt : n;
1890
1896
  return A(() => {
1891
1897
  window[Symbol.for("radix-ui")] = !0;
1892
- }, []), /* @__PURE__ */ g(u, Z({}, i, {
1898
+ }, []), /* @__PURE__ */ m(u, Z({}, i, {
1893
1899
  ref: a
1894
1900
  }));
1895
1901
  });
@@ -1897,7 +1903,7 @@ const oo = [
1897
1903
  ...e,
1898
1904
  [n]: t
1899
1905
  };
1900
- }, {}), io = /* @__PURE__ */ C((e, n) => /* @__PURE__ */ g(ao.span, Z({}, e, {
1906
+ }, {}), io = /* @__PURE__ */ C((e, n) => /* @__PURE__ */ m(ao.span, Z({}, e, {
1901
1907
  ref: n,
1902
1908
  style: {
1903
1909
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -1989,48 +1995,48 @@ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
1989
1995
  disableCloseOnClickOutside: r,
1990
1996
  hideDescription: i,
1991
1997
  image: u,
1992
- primaryActionVariant: l = "primary",
1998
+ primaryActionVariant: s = "primary",
1993
1999
  stickyButtons: d = !0,
1994
2000
  title: p,
1995
- ...s
2001
+ ...l
1996
2002
  }, h) => {
1997
- const { closeButtonAllyLabel: f, showCloseButton: E, ...c } = s, [v, b] = V(!1), x = O(null), $ = O(null), y = O(null), S = O(null), q = D([
2003
+ const { closeButtonAllyLabel: f, showCloseButton: E, ...c } = l, [v, b] = G(!1), x = O(null), $ = O(null), y = O(null), S = O(null), z = D([
1998
2004
  N,
1999
2005
  { [`${N}--with-image`]: !!u },
2000
2006
  { [`${N}--overflow`]: v },
2001
2007
  { [`${N}--sticky-footer`]: d },
2002
2008
  o
2003
- ]), T = (R) => e ? `${e} ${R}` : void 0, w = (R) => {
2004
- r && R.preventDefault();
2005
- }, I = Q(() => {
2009
+ ]), T = (I) => e ? `${e} ${I}` : void 0, w = (I) => {
2010
+ r && I.preventDefault();
2011
+ }, R = Q(() => {
2006
2012
  if (!x.current || !$.current || !y.current || !S.current)
2007
2013
  return;
2008
- const R = window.innerWidth < parseInt(Qr), Pt = window.getComputedStyle(
2009
- R ? x.current : y.current,
2014
+ const I = window.innerWidth < parseInt(Qr), Pt = window.getComputedStyle(
2015
+ I ? x.current : y.current,
2010
2016
  null
2011
- ), Nt = parseFloat(Pt.getPropertyValue("height")), At = R ? $.current.offsetHeight : S.current.offsetHeight;
2017
+ ), Nt = parseFloat(Pt.getPropertyValue("height")), At = I ? $.current.offsetHeight : S.current.offsetHeight;
2012
2018
  b(Nt < At);
2013
- }, []), ne = (R) => {
2014
- r && !E && R.preventDefault();
2019
+ }, []), oe = (I) => {
2020
+ r && !E && I.preventDefault();
2015
2021
  };
2016
- return A(() => (window.addEventListener("resize", I), () => {
2017
- window.removeEventListener("resize", I);
2018
- }), [I]), /* @__PURE__ */ j(hr, { children: [
2019
- /* @__PURE__ */ _(mr, { className: D(`${N}__overlay`) }),
2022
+ return A(() => (window.addEventListener("resize", R), () => {
2023
+ window.removeEventListener("resize", R);
2024
+ }), [R]), /* @__PURE__ */ j(hr, { children: [
2025
+ /* @__PURE__ */ _(gr, { className: D(`${N}__overlay`) }),
2020
2026
  /* @__PURE__ */ j(
2021
- gr,
2027
+ mr,
2022
2028
  {
2023
2029
  ...c,
2024
- className: q,
2030
+ className: z,
2025
2031
  "data-testid": e,
2026
2032
  ref: h,
2027
2033
  ...!a && { "aria-describedby": void 0 },
2028
2034
  onPointerDownOutside: w,
2029
- onOpenAutoFocus: I,
2030
- onEscapeKeyDown: ne,
2035
+ onOpenAutoFocus: R,
2036
+ onEscapeKeyDown: oe,
2031
2037
  children: [
2032
2038
  /* @__PURE__ */ j("div", { ref: x, className: D(`${N}__wrapper`), children: [
2033
- Qe(s) && f && u && /* @__PURE__ */ _(
2039
+ Qe(l) && f && u && /* @__PURE__ */ _(
2034
2040
  Je,
2035
2041
  {
2036
2042
  allyLabel: f,
@@ -2040,7 +2046,7 @@ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
2040
2046
  ),
2041
2047
  /* @__PURE__ */ j("div", { ref: $, className: D(`${N}__wrapper-inner`), children: [
2042
2048
  /* @__PURE__ */ j("div", { className: D(`${N}__header`), children: [
2043
- Qe(s) && f && !u && /* @__PURE__ */ _(
2049
+ Qe(l) && f && !u && /* @__PURE__ */ _(
2044
2050
  Je,
2045
2051
  {
2046
2052
  allyLabel: f,
@@ -2066,9 +2072,9 @@ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
2066
2072
  }
2067
2073
  ),
2068
2074
  /* @__PURE__ */ _("div", { ref: y, className: D(`${N}__body`), children: /* @__PURE__ */ j("div", { ref: S, className: D(`${N}__body-inner`), children: [
2069
- a && i && /* @__PURE__ */ _(co, { asChild: !0, children: /* @__PURE__ */ _(ze, { "data-testid": T("description"), children: a }) }),
2075
+ a && i && /* @__PURE__ */ _(co, { asChild: !0, children: /* @__PURE__ */ _(Ke, { "data-testid": T("description"), children: a }) }),
2070
2076
  a && !i && /* @__PURE__ */ _(
2071
- ze,
2077
+ Ke,
2072
2078
  {
2073
2079
  asChild: !0,
2074
2080
  className: D(`${N}__description`),
@@ -2077,11 +2083,11 @@ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
2077
2083
  }
2078
2084
  ),
2079
2085
  /* @__PURE__ */ _("div", { children: t }),
2080
- !d && /* @__PURE__ */ _(et, { actions: n, primaryActionVariant: l })
2086
+ !d && /* @__PURE__ */ _(et, { actions: n, primaryActionVariant: s })
2081
2087
  ] }) })
2082
2088
  ] })
2083
2089
  ] }),
2084
- d && /* @__PURE__ */ _(et, { actions: n, primaryActionVariant: l })
2090
+ d && /* @__PURE__ */ _(et, { actions: n, primaryActionVariant: s })
2085
2091
  ]
2086
2092
  }
2087
2093
  )
@@ -2102,13 +2108,13 @@ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
2102
2108
  "data-testid": t,
2103
2109
  children: /* @__PURE__ */ _(St, {})
2104
2110
  }
2105
- ) }), mo = 3, et = ({
2111
+ ) }), go = 3, et = ({
2106
2112
  actions: e,
2107
2113
  primaryActionVariant: n
2108
2114
  }) => {
2109
2115
  const t = [n, "secondary", "text"];
2110
2116
  return e && e.length > 0 ? /* @__PURE__ */ j("div", { className: D(`${N}__actions`), children: [
2111
- /* @__PURE__ */ _("div", { className: D(`${N}__actions-buttons`), "data-testid": "modal actions", children: e.slice(0, mo).map(({ label: o, onClick: a }, r) => /* @__PURE__ */ _(
2117
+ /* @__PURE__ */ _("div", { className: D(`${N}__actions-buttons`), "data-testid": "modal actions", children: e.slice(0, go).map(({ label: o, onClick: a }, r) => /* @__PURE__ */ _(
2112
2118
  Le,
2113
2119
  {
2114
2120
  "data-testid": "modal actions button",
@@ -2121,7 +2127,7 @@ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
2121
2127
  )) }),
2122
2128
  /* @__PURE__ */ _("span", { className: D(`${N}__actions-separator`) })
2123
2129
  ] }) : null;
2124
- }, go = C(
2130
+ }, mo = C(
2125
2131
  ({ ["data-testid"]: e, children: n, className: t, ...o }, a) => /* @__PURE__ */ _(
2126
2132
  vr,
2127
2133
  {
@@ -2133,16 +2139,16 @@ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
2133
2139
  children: n
2134
2140
  }
2135
2141
  )
2136
- ), ke = ({
2142
+ ), Fe = ({
2137
2143
  ["data-testid"]: e,
2138
2144
  children: n,
2139
2145
  open: t,
2140
2146
  onOpenChange: o
2141
2147
  }) => /* @__PURE__ */ _(fr, { open: t, onOpenChange: o, "data-testid": e, children: n });
2142
- ke.Trigger = go;
2143
- ke.Content = ho;
2144
- ke.displayName = "Modal";
2148
+ Fe.Trigger = mo;
2149
+ Fe.Content = ho;
2150
+ Fe.displayName = "Modal";
2145
2151
  export {
2146
- ke as Modal
2152
+ Fe as Modal
2147
2153
  };
2148
2154
  //# sourceMappingURL=modal.es.js.map