@purpurds/modal 4.0.1 → 4.1.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
- import { jsxs as G, jsx as _, Fragment as Tt } from "react/jsx-runtime";
2
- import * as g from "react";
3
- import { useCallback as Q, createContext as Ce, useMemo as ve, createElement as m, useContext as tt, useLayoutEffect as Dt, useRef as O, useEffect as A, useState as V, forwardRef as x, Children as R, isValidElement as B, cloneElement as te, Fragment as Ie, useReducer as It } from "react";
4
- import Rt, { flushSync as nt } from "react-dom";
1
+ import { jsxs as j, jsx as _ } from "react/jsx-runtime";
2
+ import * as m from "react";
3
+ import { useCallback as Q, createContext as Ce, useMemo as ve, createElement as g, useContext as tt, useLayoutEffect as Tt, useRef as O, useEffect as A, useState as G, forwardRef as x, 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";
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++) {
@@ -12,24 +12,24 @@ function P() {
12
12
  return e;
13
13
  }, P.apply(this, arguments);
14
14
  }
15
- function j(e, n, { checkForDefaultPrevented: t = !0 } = {}) {
15
+ function B(e, n, { checkForDefaultPrevented: t = !0 } = {}) {
16
16
  return function(a) {
17
17
  if (e == null || e(a), t === !1 || !a.defaultPrevented)
18
18
  return n == null ? void 0 : n(a);
19
19
  };
20
20
  }
21
- function Mt(e, n) {
21
+ function Rt(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) => Mt(t, n)
26
+ (t) => Rt(t, n)
27
27
  );
28
28
  }
29
29
  function J(...e) {
30
30
  return Q(rt(...e), e);
31
31
  }
32
- function Lt(e, n = []) {
32
+ function Mt(e, n = []) {
33
33
  let t = [];
34
34
  function o(r, i) {
35
35
  const u = /* @__PURE__ */ Ce(i), l = t.length;
@@ -42,7 +42,7 @@ function Lt(e, n = []) {
42
42
  () => E,
43
43
  Object.values(E)
44
44
  );
45
- return /* @__PURE__ */ m(c.Provider, {
45
+ return /* @__PURE__ */ g(c.Provider, {
46
46
  value: v
47
47
  }, f);
48
48
  }
@@ -79,10 +79,10 @@ function Lt(e, n = []) {
79
79
  };
80
80
  return a.scopeName = e, [
81
81
  o,
82
- Ft(a, ...n)
82
+ Lt(a, ...n)
83
83
  ];
84
84
  }
85
- function Ft(...e) {
85
+ function Lt(...e) {
86
86
  const n = e[0];
87
87
  if (e.length === 1)
88
88
  return n;
@@ -113,21 +113,21 @@ function Ft(...e) {
113
113
  };
114
114
  return t.scopeName = n.scopeName, t;
115
115
  }
116
- const Oe = globalThis != null && globalThis.document ? Dt : () => {
117
- }, kt = g.useId || (() => {
116
+ const Oe = globalThis != null && globalThis.document ? Tt : () => {
117
+ }, Ft = m.useId || (() => {
118
118
  });
119
- let jt = 0;
120
- function me(e) {
121
- const [n, t] = g.useState(kt());
119
+ let kt = 0;
120
+ function ge(e) {
121
+ const [n, t] = m.useState(Ft());
122
122
  return Oe(() => {
123
123
  e || t(
124
- (o) => o ?? String(jt++)
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;
@@ -139,12 +139,12 @@ function K(e) {
139
139
  []
140
140
  );
141
141
  }
142
- function Bt({ prop: e, defaultProp: n, onChange: t = () => {
142
+ function jt({ prop: e, defaultProp: n, onChange: t = () => {
143
143
  } }) {
144
- const [o, a] = Wt({
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), l = Q((d) => {
148
148
  if (r) {
149
149
  const s = typeof d == "function" ? d(e) : d;
150
150
  s !== e && u(s);
@@ -161,8 +161,8 @@ function Bt({ prop: e, defaultProp: n, onChange: t = () => {
161
161
  l
162
162
  ];
163
163
  }
164
- function Wt({ defaultProp: e, onChange: n }) {
165
- const t = V(e), [o] = t, a = O(o), r = K(n);
164
+ function Bt({ defaultProp: e, onChange: 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
  }, [
@@ -172,31 +172,31 @@ function Wt({ defaultProp: e, onChange: n }) {
172
172
  ]), t;
173
173
  }
174
174
  const Re = /* @__PURE__ */ x((e, n) => {
175
- const { children: t, ...o } = e, a = R.toArray(t), r = a.find(zt);
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 ? R.count(i) > 1 ? R.only(null) : /* @__PURE__ */ B(i) ? i.props.children : null : l);
178
- return /* @__PURE__ */ m(Pe, P({}, o, {
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, {
179
179
  ref: n
180
- }), /* @__PURE__ */ B(i) ? /* @__PURE__ */ te(i, void 0, u) : null);
180
+ }), /* @__PURE__ */ W(i) ? /* @__PURE__ */ te(i, void 0, u) : null);
181
181
  }
182
- return /* @__PURE__ */ m(Pe, P({}, o, {
182
+ return /* @__PURE__ */ g(Pe, P({}, o, {
183
183
  ref: n
184
184
  }), t);
185
185
  });
186
186
  Re.displayName = "Slot";
187
187
  const Pe = /* @__PURE__ */ x((e, n) => {
188
188
  const { children: t, ...o } = e;
189
- return /* @__PURE__ */ B(t) ? /* @__PURE__ */ te(t, {
190
- ...Ht(o, t.props),
189
+ return /* @__PURE__ */ W(t) ? /* @__PURE__ */ te(t, {
190
+ ...qt(o, t.props),
191
191
  ref: n ? rt(n, t.ref) : t.ref
192
- }) : R.count(t) > 1 ? R.only(null) : null;
192
+ }) : M.count(t) > 1 ? M.only(null) : null;
193
193
  });
194
194
  Pe.displayName = "SlotClone";
195
- const Ut = ({ children: e }) => /* @__PURE__ */ m(Ie, null, e);
196
- function zt(e) {
197
- return /* @__PURE__ */ B(e) && e.type === Ut;
195
+ const Wt = ({ children: e }) => /* @__PURE__ */ g(Ie, null, e);
196
+ function Ut(e) {
197
+ return /* @__PURE__ */ W(e) && e.type === Wt;
198
198
  }
199
- function Ht(e, n) {
199
+ function qt(e, n) {
200
200
  const t = {
201
201
  ...n
202
202
  };
@@ -217,7 +217,7 @@ function Ht(e, n) {
217
217
  ...t
218
218
  };
219
219
  }
220
- const Gt = [
220
+ const zt = [
221
221
  "a",
222
222
  "button",
223
223
  "div",
@@ -234,12 +234,12 @@ const Gt = [
234
234
  "span",
235
235
  "svg",
236
236
  "ul"
237
- ], W = Gt.reduce((e, n) => {
237
+ ], U = zt.reduce((e, n) => {
238
238
  const t = /* @__PURE__ */ x((o, a) => {
239
239
  const { asChild: r, ...i } = o, u = r ? Re : n;
240
240
  return A(() => {
241
241
  window[Symbol.for("radix-ui")] = !0;
242
- }, []), /* @__PURE__ */ m(u, P({}, i, {
242
+ }, []), /* @__PURE__ */ g(u, P({}, i, {
243
243
  ref: a
244
244
  }));
245
245
  });
@@ -248,13 +248,13 @@ const Gt = [
248
248
  [n]: t
249
249
  };
250
250
  }, {});
251
- function Vt(e, n) {
251
+ function Ht(e, n) {
252
252
  e && nt(
253
253
  () => e.dispatchEvent(n)
254
254
  );
255
255
  }
256
- function Kt(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,35 +265,35 @@ function Kt(e, n = globalThis == null ? void 0 : globalThis.document) {
265
265
  n
266
266
  ]);
267
267
  }
268
- const Ne = "dismissableLayer.update", Xt = "dismissableLayer.pointerDownOutside", Yt = "dismissableLayer.focusOutside";
268
+ const Ne = "dismissableLayer.update", Vt = "dismissableLayer.pointerDownOutside", Kt = "dismissableLayer.focusOutside";
269
269
  let ke;
270
- const qt = /* @__PURE__ */ Ce({
270
+ const Xt = /* @__PURE__ */ Ce({
271
271
  layers: /* @__PURE__ */ new Set(),
272
272
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
273
273
  branches: /* @__PURE__ */ new Set()
274
- }), Zt = /* @__PURE__ */ x((e, n) => {
274
+ }), Yt = /* @__PURE__ */ x((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(qt), [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: l, ...d } = e, p = tt(Xt), [s, h] = G(null), f = (t = s == null ? void 0 : s.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), C = v.indexOf(b), $ = s ? v.indexOf(s) : -1, y = p.layersWithOutsidePointerEventsDisabled.size > 0, S = $ >= C, U = Qt((w) => {
282
- const M = w.target, ne = [
281
+ ].slice(-1), C = v.indexOf(b), $ = s ? v.indexOf(s) : -1, y = p.layersWithOutsidePointerEventsDisabled.size > 0, S = $ >= C, q = Zt((w) => {
282
+ const I = w.target, ne = [
283
283
  ...p.branches
284
284
  ].some(
285
- (I) => I.contains(M)
285
+ (R) => R.contains(I)
286
286
  );
287
287
  !S || ne || (r == null || r(w), u == null || u(w), w.defaultPrevented || l == null || l());
288
- }, f), T = Jt((w) => {
289
- const M = w.target;
288
+ }, f), T = Qt((w) => {
289
+ const I = w.target;
290
290
  [
291
291
  ...p.branches
292
292
  ].some(
293
- (I) => I.contains(M)
293
+ (R) => R.contains(I)
294
294
  ) || (i == null || i(w), u == null || u(w), w.defaultPrevented || l == null || l());
295
295
  }, f);
296
- return Kt((w) => {
296
+ return Gt((w) => {
297
297
  $ === p.layers.size - 1 && (a == null || a(w), !w.defaultPrevented && l && (w.preventDefault(), l()));
298
298
  }, f), A(() => {
299
299
  if (s)
@@ -313,25 +313,25 @@ const qt = /* @__PURE__ */ Ce({
313
313
  ]), A(() => {
314
314
  const w = () => E({});
315
315
  return document.addEventListener(Ne, w), () => document.removeEventListener(Ne, w);
316
- }, []), /* @__PURE__ */ m(W.div, P({}, d, {
316
+ }, []), /* @__PURE__ */ g(U.div, P({}, d, {
317
317
  ref: c,
318
318
  style: {
319
319
  pointerEvents: y ? S ? "auto" : "none" : void 0,
320
320
  ...e.style
321
321
  },
322
- onFocusCapture: j(e.onFocusCapture, T.onFocusCapture),
323
- onBlurCapture: j(e.onBlurCapture, T.onBlurCapture),
324
- onPointerDownCapture: j(e.onPointerDownCapture, U.onPointerDownCapture)
322
+ onFocusCapture: B(e.onFocusCapture, T.onFocusCapture),
323
+ onBlurCapture: B(e.onBlurCapture, T.onBlurCapture),
324
+ onPointerDownCapture: B(e.onPointerDownCapture, q.onPointerDownCapture)
325
325
  }));
326
326
  });
327
- function Qt(e, n = globalThis == null ? void 0 : globalThis.document) {
328
- const t = K(e), o = O(!1), a = O(() => {
327
+ function Zt(e, n = globalThis == null ? void 0 : globalThis.document) {
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(Xt, t, l, {
334
+ ot(Vt, t, l, {
335
335
  discrete: !0
336
336
  });
337
337
  };
@@ -358,11 +358,11 @@ function Qt(e, n = globalThis == null ? void 0 : globalThis.document) {
358
358
  onPointerDownCapture: () => o.current = !0
359
359
  };
360
360
  }
361
- function Jt(e, n = globalThis == null ? void 0 : globalThis.document) {
362
- const t = K(e), o = O(!1);
361
+ function Qt(e, n = globalThis == null ? void 0 : globalThis.document) {
362
+ const t = V(e), o = O(!1);
363
363
  return A(() => {
364
364
  const a = (r) => {
365
- r.target && !o.current && ot(Yt, t, {
365
+ r.target && !o.current && ot(Kt, t, {
366
366
  originalEvent: r
367
367
  }, {
368
368
  discrete: !1
@@ -389,13 +389,13 @@ function ot(e, n, t, { discrete: o }) {
389
389
  });
390
390
  n && a.addEventListener(e, n, {
391
391
  once: !0
392
- }), o ? Vt(a, r) : a.dispatchEvent(r);
392
+ }), o ? Ht(a, r) : a.dispatchEvent(r);
393
393
  }
394
394
  const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount", Be = {
395
395
  bubbles: !1,
396
396
  cancelable: !0
397
- }, en = /* @__PURE__ */ x((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(
397
+ }, Jt = /* @__PURE__ */ x((e, n) => {
398
+ const { loop: t = !1, trapped: o = !1, onMountAutoFocus: a, onUnmountAutoFocus: r, ...i } = e, [u, l] = G(null), d = V(a), p = V(r), s = O(null), h = J(
399
399
  n,
400
400
  (c) => l(c)
401
401
  ), f = O({
@@ -447,7 +447,7 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
447
447
  const c = document.activeElement;
448
448
  if (!u.contains(c)) {
449
449
  const b = new CustomEvent(_e, Be);
450
- u.addEventListener(_e, d), u.dispatchEvent(b), b.defaultPrevented || (tn(un(at(u)), {
450
+ u.addEventListener(_e, d), u.dispatchEvent(b), b.defaultPrevented || (en(an(at(u)), {
451
451
  select: !0
452
452
  }), document.activeElement === c && k(u));
453
453
  }
@@ -471,7 +471,7 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
471
471
  return;
472
472
  const v = c.key === "Tab" && !c.altKey && !c.ctrlKey && !c.metaKey, b = document.activeElement;
473
473
  if (v && b) {
474
- const C = c.currentTarget, [$, y] = nn(C);
474
+ const C = c.currentTarget, [$, y] = tn(C);
475
475
  $ && y ? !c.shiftKey && b === y ? (c.preventDefault(), t && k($, {
476
476
  select: !0
477
477
  })) : c.shiftKey && b === $ && (c.preventDefault(), t && k(y, {
@@ -483,14 +483,14 @@ const _e = "focusScope.autoFocusOnMount", be = "focusScope.autoFocusOnUnmount",
483
483
  o,
484
484
  f.paused
485
485
  ]);
486
- return /* @__PURE__ */ m(W.div, P({
486
+ return /* @__PURE__ */ g(U.div, P({
487
487
  tabIndex: -1
488
488
  }, i, {
489
489
  ref: h,
490
490
  onKeyDown: E
491
491
  }));
492
492
  });
493
- function tn(e, { select: n = !1 } = {}) {
493
+ function en(e, { select: n = !1 } = {}) {
494
494
  const t = document.activeElement;
495
495
  for (const o of e)
496
496
  if (k(o, {
@@ -498,7 +498,7 @@ function tn(e, { select: n = !1 } = {}) {
498
498
  }), document.activeElement !== t)
499
499
  return;
500
500
  }
501
- function nn(e) {
501
+ function tn(e) {
502
502
  const n = at(e), t = We(n, e), o = We(n.reverse(), e);
503
503
  return [
504
504
  t,
@@ -518,12 +518,12 @@ function at(e) {
518
518
  }
519
519
  function We(e, n) {
520
520
  for (const t of e)
521
- if (!rn(t, {
521
+ if (!nn(t, {
522
522
  upTo: n
523
523
  }))
524
524
  return t;
525
525
  }
526
- function rn(e, { upTo: n }) {
526
+ function nn(e, { upTo: n }) {
527
527
  if (getComputedStyle(e).visibility === "hidden")
528
528
  return !0;
529
529
  for (; e; ) {
@@ -535,7 +535,7 @@ function rn(e, { upTo: n }) {
535
535
  }
536
536
  return !1;
537
537
  }
538
- function on(e) {
538
+ function rn(e) {
539
539
  return e instanceof HTMLInputElement && "select" in e;
540
540
  }
541
541
  function k(e, { select: n = !1 } = {}) {
@@ -543,58 +543,58 @@ function k(e, { select: n = !1 } = {}) {
543
543
  const t = document.activeElement;
544
544
  e.focus({
545
545
  preventScroll: !0
546
- }), e !== t && on(e) && n && e.select();
546
+ }), e !== t && rn(e) && n && e.select();
547
547
  }
548
548
  }
549
- const Ue = an();
550
- function an() {
549
+ const Ue = on();
550
+ function on() {
551
551
  let e = [];
552
552
  return {
553
553
  add(n) {
554
554
  const t = e[0];
555
- n !== t && (t == null || t.pause()), e = ze(e, n), e.unshift(n);
555
+ n !== t && (t == null || t.pause()), e = qe(e, n), e.unshift(n);
556
556
  },
557
557
  remove(n) {
558
558
  var t;
559
- e = ze(e, n), (t = e[0]) === null || t === void 0 || t.resume();
559
+ e = qe(e, n), (t = e[0]) === null || t === void 0 || t.resume();
560
560
  }
561
561
  };
562
562
  }
563
- function ze(e, n) {
563
+ function qe(e, n) {
564
564
  const t = [
565
565
  ...e
566
566
  ], o = t.indexOf(n);
567
567
  return o !== -1 && t.splice(o, 1), t;
568
568
  }
569
- function un(e) {
569
+ function an(e) {
570
570
  return e.filter(
571
571
  (n) => n.tagName !== "A"
572
572
  );
573
573
  }
574
- const cn = /* @__PURE__ */ x((e, n) => {
574
+ const un = /* @__PURE__ */ x((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__ */ Rt.createPortal(/* @__PURE__ */ m(W.div, P({}, a, {
577
+ return o ? /* @__PURE__ */ It.createPortal(/* @__PURE__ */ g(U.div, P({}, a, {
578
578
  ref: n
579
579
  })), o) : null;
580
580
  });
581
- function sn(e, n) {
582
- return It((t, o) => {
581
+ function cn(e, n) {
582
+ return Dt((t, o) => {
583
583
  const a = n[t][o];
584
584
  return a ?? t;
585
585
  }, e);
586
586
  }
587
587
  const he = (e) => {
588
- const { present: n, children: t } = e, o = ln(n), a = typeof t == "function" ? t({
588
+ const { present: n, children: t } = e, o = sn(n), a = typeof t == "function" ? t({
589
589
  present: o.isPresent
590
- }) : R.only(t), r = J(o.ref, a.ref);
590
+ }) : M.only(t), r = J(o.ref, a.ref);
591
591
  return typeof t == "function" || o.isPresent ? /* @__PURE__ */ te(a, {
592
592
  ref: r
593
593
  }) : null;
594
594
  };
595
595
  he.displayName = "Presence";
596
- function ln(e) {
597
- const [n, t] = V(), o = O({}), a = O(e), r = O("none"), i = e ? "mounted" : "unmounted", [u, l] = sn(i, {
596
+ function sn(e) {
597
+ const [n, t] = G(), o = O({}), a = O(e), r = O("none"), i = e ? "mounted" : "unmounted", [u, l] = cn(i, {
598
598
  mounted: {
599
599
  UNMOUNT: "unmounted",
600
600
  ANIMATION_OUT: "unmountSuspended"
@@ -653,18 +653,18 @@ function re(e) {
653
653
  return (e == null ? void 0 : e.animationName) || "none";
654
654
  }
655
655
  let $e = 0;
656
- function dn() {
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++, () => {
660
+ return document.body.insertAdjacentElement("afterbegin", (e = t[0]) !== null && e !== void 0 ? e : ze()), document.body.insertAdjacentElement("beforeend", (n = t[1]) !== null && n !== void 0 ? n : ze()), $e++, () => {
661
661
  $e === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
662
662
  (o) => o.remove()
663
663
  ), $e--;
664
664
  };
665
665
  }, []);
666
666
  }
667
- function He() {
667
+ function ze() {
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
  }
@@ -687,18 +687,18 @@ function it(e, n) {
687
687
  n.indexOf(o[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[a]) && (t[o[a]] = e[o[a]]);
688
688
  return t;
689
689
  }
690
- function pn(e, n, t) {
690
+ function dn(e, n, t) {
691
691
  if (t || arguments.length === 2)
692
692
  for (var o = 0, a = n.length, r; o < a; o++)
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", fn = "with-scroll-bars-hidden", vn = "--removed-body-scroll-bar-size";
697
- function hn(e, n) {
696
+ var pe = "right-scroll-bar-position", fe = "width-before-scroll-bar", pn = "with-scroll-bars-hidden", fn = "--removed-body-scroll-bar-size";
697
+ function vn(e, n) {
698
698
  return typeof e == "function" ? e(n) : e && (e.current = n), e;
699
699
  }
700
- function gn(e, n) {
701
- var t = V(function() {
700
+ function hn(e, n) {
701
+ var t = G(function() {
702
702
  return {
703
703
  // value
704
704
  value: e,
@@ -719,17 +719,17 @@ function gn(e, n) {
719
719
  return t.callback = n, t.facade;
720
720
  }
721
721
  function mn(e, n) {
722
- return gn(n || null, function(t) {
722
+ return hn(n || null, function(t) {
723
723
  return e.forEach(function(o) {
724
- return hn(o, t);
724
+ return vn(o, t);
725
725
  });
726
726
  });
727
727
  }
728
- function _n(e) {
728
+ function gn(e) {
729
729
  return e;
730
730
  }
731
- function bn(e, n) {
732
- n === void 0 && (n = _n);
731
+ function _n(e, n) {
732
+ n === void 0 && (n = gn);
733
733
  var t = [], o = !1, a = {
734
734
  read: function() {
735
735
  if (o)
@@ -783,9 +783,9 @@ function bn(e, n) {
783
783
  };
784
784
  return a;
785
785
  }
786
- function $n(e) {
786
+ function bn(e) {
787
787
  e === void 0 && (e = {});
788
- var n = bn(null);
788
+ var n = _n(null);
789
789
  return n.options = F({ async: !0, ssr: !1 }, e), n;
790
790
  }
791
791
  var ut = function(e) {
@@ -795,103 +795,103 @@ 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 g.createElement(o, F({}, t));
798
+ return m.createElement(o, F({}, t));
799
799
  };
800
800
  ut.isSideCarExport = !0;
801
- function yn(e, n) {
801
+ function $n(e, n) {
802
802
  return e.useMedium(n), ut;
803
803
  }
804
- var ct = $n(), ye = function() {
805
- }, ge = g.forwardRef(function(e, n) {
806
- var t = g.useRef(null), o = g.useState({
804
+ var ct = bn(), ye = function() {
805
+ }, me = m.forwardRef(function(e, n) {
806
+ var t = m.useRef(null), o = m.useState({
807
807
  onScrollCapture: ye,
808
808
  onWheelCapture: ye,
809
809
  onTouchMoveCapture: ye
810
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, C = it(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), $ = h, y = mn([t, n]), S = F(F({}, C), a);
811
- return g.createElement(
812
- g.Fragment,
811
+ return m.createElement(
812
+ m.Fragment,
813
813
  null,
814
- p && g.createElement($, { sideCar: ct, removeScrollBar: d, shards: s, 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: l, ref: y }), u)
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), F(F({}, S), { ref: y })) : m.createElement(b, F({}, S, { className: l, ref: y }), u)
816
816
  );
817
817
  });
818
- ge.defaultProps = {
818
+ me.defaultProps = {
819
819
  enabled: !0,
820
820
  removeScrollBar: !0,
821
821
  inert: !1
822
822
  };
823
- ge.classNames = {
823
+ me.classNames = {
824
824
  fullWidth: fe,
825
825
  zeroRight: pe
826
826
  };
827
- var En = function() {
827
+ var yn = function() {
828
828
  if (typeof __webpack_nonce__ < "u")
829
829
  return __webpack_nonce__;
830
830
  };
831
- function wn() {
831
+ function En() {
832
832
  if (!document)
833
833
  return null;
834
834
  var e = document.createElement("style");
835
835
  e.type = "text/css";
836
- var n = En();
836
+ var n = yn();
837
837
  return n && e.setAttribute("nonce", n), e;
838
838
  }
839
- function Sn(e, n) {
839
+ function wn(e, n) {
840
840
  e.styleSheet ? e.styleSheet.cssText = n : e.appendChild(document.createTextNode(n));
841
841
  }
842
- function xn(e) {
842
+ function Sn(e) {
843
843
  var n = document.head || document.getElementsByTagName("head")[0];
844
844
  n.appendChild(e);
845
845
  }
846
- var Cn = function() {
846
+ var xn = function() {
847
847
  var e = 0, n = null;
848
848
  return {
849
849
  add: function(t) {
850
- e == 0 && (n = wn()) && (Sn(n, t), xn(n)), e++;
850
+ e == 0 && (n = En()) && (wn(n, t), Sn(n)), e++;
851
851
  },
852
852
  remove: function() {
853
853
  e--, !e && n && (n.parentNode && n.parentNode.removeChild(n), n = null);
854
854
  }
855
855
  };
856
- }, On = function() {
857
- var e = Cn();
856
+ }, Cn = function() {
857
+ var e = xn();
858
858
  return function(n, t) {
859
- g.useEffect(function() {
859
+ m.useEffect(function() {
860
860
  return e.add(n), function() {
861
861
  e.remove();
862
862
  };
863
863
  }, [n && t]);
864
864
  };
865
865
  }, st = function() {
866
- var e = On(), n = function(t) {
866
+ var e = Cn(), n = function(t) {
867
867
  var o = t.styles, a = t.dynamic;
868
868
  return e(o, a), null;
869
869
  };
870
870
  return n;
871
- }, Pn = {
871
+ }, On = {
872
872
  left: 0,
873
873
  top: 0,
874
874
  right: 0,
875
875
  gap: 0
876
876
  }, Ee = function(e) {
877
877
  return parseInt(e || "", 10) || 0;
878
- }, Nn = function(e) {
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
880
  return [Ee(t), Ee(o), Ee(a)];
881
- }, An = function(e) {
881
+ }, Nn = function(e) {
882
882
  if (e === void 0 && (e = "margin"), typeof window > "u")
883
- return Pn;
884
- var n = Nn(e), t = document.documentElement.clientWidth, o = window.innerWidth;
883
+ return On;
884
+ var n = Pn(e), t = document.documentElement.clientWidth, o = window.innerWidth;
885
885
  return {
886
886
  left: n[0],
887
887
  top: n[1],
888
888
  right: n[2],
889
889
  gap: Math.max(0, o - t + n[2] - n[0])
890
890
  };
891
- }, Tn = st(), Dn = function(e, n, t, o) {
891
+ }, An = st(), Tn = function(e, n, t, o) {
892
892
  var a = e.left, r = e.top, i = e.right, u = e.gap;
893
893
  return t === void 0 && (t = "margin"), `
894
- .`.concat(fn, ` {
894
+ .`.concat(pn, ` {
895
895
  overflow: hidden `).concat(o, `;
896
896
  padding-right: `).concat(u, "px ").concat(o, `;
897
897
  }
@@ -929,14 +929,14 @@ var Cn = function() {
929
929
  }
930
930
 
931
931
  body {
932
- `).concat(vn, ": ").concat(u, `px;
932
+ `).concat(fn, ": ").concat(u, `px;
933
933
  }
934
934
  `);
935
- }, In = function(e) {
936
- var n = e.noRelative, t = e.noImportant, o = e.gapMode, a = o === void 0 ? "margin" : o, r = g.useMemo(function() {
937
- return An(a);
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() {
937
+ return Nn(a);
938
938
  }, [a]);
939
- return g.createElement(Tn, { styles: Dn(r, !n, a, t ? "" : "!important") });
939
+ return m.createElement(An, { styles: Tn(r, !n, a, t ? "" : "!important") });
940
940
  }, Ae = !1;
941
941
  if (typeof window < "u")
942
942
  try {
@@ -949,20 +949,20 @@ if (typeof window < "u")
949
949
  } catch {
950
950
  Ae = !1;
951
951
  }
952
- var X = Ae ? { passive: !1 } : !1, Rn = function(e) {
952
+ var K = Ae ? { passive: !1 } : !1, In = 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 && !Rn(e) && t[n] === "visible")
959
+ !(t.overflowY === t.overflowX && !In(e) && t[n] === "visible")
960
960
  );
961
- }, Mn = function(e) {
961
+ }, Rn = function(e) {
962
962
  return lt(e, "overflowY");
963
- }, Ln = function(e) {
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);
@@ -975,14 +975,14 @@ var X = Ae ? { passive: !1 } : !1, Rn = function(e) {
975
975
  t = t.parentNode;
976
976
  } while (t && t !== document.body);
977
977
  return !1;
978
- }, Fn = function(e) {
978
+ }, Ln = function(e) {
979
979
  var n = e.scrollTop, t = e.scrollHeight, o = e.clientHeight;
980
980
  return [
981
981
  n,
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,13 +990,13 @@ var X = Ae ? { passive: !1 } : !1, Rn = function(e) {
990
990
  o
991
991
  ];
992
992
  }, dt = function(e, n) {
993
- return e === "v" ? Mn(n) : Ln(n);
993
+ return e === "v" ? Rn(n) : Mn(n);
994
994
  }, pt = function(e, n) {
995
- return e === "v" ? Fn(n) : kn(n);
996
- }, jn = 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
- }, Bn = function(e, n, t, o, a) {
999
- var r = jn(e, window.getComputedStyle(n).direction), i = r * o, u = t.target, l = n.contains(u), d = !1, p = i > 0, s = 0, h = 0;
998
+ }, jn = function(e, n, t, o, a) {
999
+ var r = kn(e, window.getComputedStyle(n).direction), i = r * o, u = t.target, l = n.contains(u), d = !1, p = i > 0, s = 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
1002
  (E || b) && dt(e, u) && (s += b, h += E), u = u.parentNode;
@@ -1008,28 +1008,28 @@ var X = Ae ? { passive: !1 } : !1, Rn = function(e) {
1008
1008
  return (p && (a && s === 0 || !a && i > s) || !p && (a && h === 0 || !a && -i > h)) && (d = !0), d;
1009
1009
  }, ae = 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
- }, Wn = function(e, n) {
1015
+ }, Bn = function(e, n) {
1016
1016
  return e[0] === n[0] && e[1] === n[1];
1017
- }, Un = function(e) {
1017
+ }, Wn = function(e) {
1018
1018
  return `
1019
1019
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
1020
1020
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
1021
1021
  `);
1022
- }, zn = 0, Y = [];
1023
- function Hn(e) {
1024
- var n = g.useRef([]), t = g.useRef([0, 0]), o = g.useRef(), a = g.useState(zn++)[0], r = g.useState(function() {
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() {
1025
1025
  return st();
1026
- })[0], i = g.useRef(e);
1027
- g.useEffect(function() {
1026
+ })[0], i = m.useRef(e);
1027
+ m.useEffect(function() {
1028
1028
  i.current = e;
1029
- }, [e]), g.useEffect(function() {
1029
+ }, [e]), m.useEffect(function() {
1030
1030
  if (e.inert) {
1031
1031
  document.body.classList.add("block-interactivity-".concat(a));
1032
- var c = pn([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,85 +1039,85 @@ function Hn(e) {
1039
1039
  };
1040
1040
  }
1041
1041
  }, [e.inert, e.lockRef.current, e.shards]);
1042
- var u = g.useCallback(function(c, v) {
1042
+ var u = m.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), C = t.current, $ = "deltaX" in c ? c.deltaX : C[0] - b[0], y = "deltaY" in c ? c.deltaY : C[1] - b[1], S, U = c.target, T = Math.abs($) > Math.abs(y) ? "h" : "v";
1046
- if ("touches" in c && T === "h" && U.type === "range")
1045
+ var b = ae(c), C = t.current, $ = "deltaX" in c ? c.deltaX : C[0] - b[0], y = "deltaY" in c ? c.deltaY : C[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")
1047
1047
  return !1;
1048
- var w = Ge(T, U);
1048
+ var w = He(T, q);
1049
1049
  if (!w)
1050
1050
  return !0;
1051
- if (w ? S = T : (S = T === "v" ? "h" : "v", w = Ge(T, U)), !w)
1051
+ if (w ? S = T : (S = T === "v" ? "h" : "v", w = He(T, q)), !w)
1052
1052
  return !1;
1053
1053
  if (!o.current && "changedTouches" in c && ($ || y) && (o.current = S), !S)
1054
1054
  return !0;
1055
- var M = o.current || S;
1056
- return Bn(M, v, c, M === "h" ? $ : y, !0);
1057
- }, []), l = g.useCallback(function(c) {
1055
+ var I = o.current || S;
1056
+ return jn(I, v, c, I === "h" ? $ : y, !0);
1057
+ }, []), l = m.useCallback(function(c) {
1058
1058
  var v = c;
1059
- if (!(!Y.length || Y[Y.length - 1] !== r)) {
1060
- var b = "deltaY" in v ? Ve(v) : ae(v), C = n.current.filter(function(S) {
1061
- return S.name === v.type && S.target === v.target && Wn(S.delta, b);
1059
+ if (!(!X.length || X[X.length - 1] !== r)) {
1060
+ var b = "deltaY" in v ? Ge(v) : ae(v), C = n.current.filter(function(S) {
1061
+ return S.name === v.type && S.target === v.target && Bn(S.delta, b);
1062
1062
  })[0];
1063
1063
  if (C && C.should) {
1064
1064
  v.cancelable && v.preventDefault();
1065
1065
  return;
1066
1066
  }
1067
1067
  if (!C) {
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 = g.useCallback(function(c, v, b, C) {
1074
+ }, []), d = m.useCallback(function(c, v, b, C) {
1075
1075
  var $ = { name: c, delta: v, target: b, should: C };
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 = g.useCallback(function(c) {
1081
+ }, []), p = m.useCallback(function(c) {
1082
1082
  t.current = ae(c), o.current = void 0;
1083
- }, []), s = g.useCallback(function(c) {
1084
- d(c.type, Ve(c), c.target, u(c, e.lockRef.current));
1085
- }, []), h = g.useCallback(function(c) {
1083
+ }, []), s = m.useCallback(function(c) {
1084
+ d(c.type, Ge(c), c.target, u(c, e.lockRef.current));
1085
+ }, []), h = m.useCallback(function(c) {
1086
1086
  d(c.type, ae(c), c.target, u(c, e.lockRef.current));
1087
1087
  }, []);
1088
- g.useEffect(function() {
1089
- return Y.push(r), e.setCallbacks({
1088
+ m.useEffect(function() {
1089
+ return X.push(r), e.setCallbacks({
1090
1090
  onScrollCapture: s,
1091
1091
  onWheelCapture: s,
1092
1092
  onTouchMoveCapture: h
1093
- }), document.addEventListener("wheel", l, X), document.addEventListener("touchmove", l, X), document.addEventListener("touchstart", p, X), function() {
1094
- Y = Y.filter(function(c) {
1093
+ }), document.addEventListener("wheel", l, K), document.addEventListener("touchmove", l, K), document.addEventListener("touchstart", p, K), function() {
1094
+ X = X.filter(function(c) {
1095
1095
  return c !== r;
1096
- }), document.removeEventListener("wheel", l, X), document.removeEventListener("touchmove", l, X), document.removeEventListener("touchstart", p, X);
1096
+ }), document.removeEventListener("wheel", l, K), document.removeEventListener("touchmove", l, K), document.removeEventListener("touchstart", p, K);
1097
1097
  };
1098
1098
  }, []);
1099
1099
  var f = e.removeScrollBar, E = e.inert;
1100
- return g.createElement(
1101
- g.Fragment,
1100
+ return m.createElement(
1101
+ m.Fragment,
1102
1102
  null,
1103
- E ? g.createElement(r, { styles: Un(a) }) : null,
1104
- f ? g.createElement(In, { gapMode: "margin" }) : null
1103
+ E ? m.createElement(r, { styles: Wn(a) }) : null,
1104
+ f ? m.createElement(Dn, { gapMode: "margin" }) : null
1105
1105
  );
1106
1106
  }
1107
- const Gn = yn(ct, Hn);
1108
- var ft = g.forwardRef(function(e, n) {
1109
- return g.createElement(ge, F({}, e, { ref: n, sideCar: Gn }));
1107
+ const zn = $n(ct, qn);
1108
+ var ft = m.forwardRef(function(e, n) {
1109
+ return m.createElement(me, F({}, e, { ref: n, sideCar: zn }));
1110
1110
  });
1111
- ft.classNames = ge.classNames;
1112
- const Vn = ft;
1113
- var Kn = function(e) {
1111
+ ft.classNames = me.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
- }, q = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), ue = {}, we = 0, vt = function(e) {
1118
+ }, Y = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), ue = {}, we = 0, vt = function(e) {
1119
1119
  return e && (e.host || vt(e.parentNode));
1120
- }, Xn = 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,8 +1126,8 @@ var Kn = function(e) {
1126
1126
  }).filter(function(t) {
1127
1127
  return !!t;
1128
1128
  });
1129
- }, Yn = function(e, n, t, o) {
1130
- var a = Xn(n, Array.isArray(e) ? e : [e]);
1129
+ }, Kn = function(e, n, t, o) {
1130
+ var a = Vn(n, Array.isArray(e) ? e : [e]);
1131
1131
  ue[t] || (ue[t] = /* @__PURE__ */ new WeakMap());
1132
1132
  var r = ue[t], i = [], u = /* @__PURE__ */ new Set(), l = new Set(a), d = function(s) {
1133
1133
  !s || u.has(s) || (u.add(s), d(s.parentNode));
@@ -1138,37 +1138,37 @@ var Kn = function(e) {
1138
1138
  if (u.has(h))
1139
1139
  p(h);
1140
1140
  else {
1141
- var f = h.getAttribute(o), E = f !== null && f !== "false", c = (q.get(h) || 0) + 1, v = (r.get(h) || 0) + 1;
1142
- q.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");
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");
1143
1143
  }
1144
1144
  });
1145
1145
  };
1146
1146
  return p(n), u.clear(), we++, function() {
1147
1147
  i.forEach(function(s) {
1148
- var h = q.get(s) - 1, f = r.get(s) - 1;
1149
- q.set(s, h), r.set(s, f), h || (ie.has(s) || s.removeAttribute(o), ie.delete(s)), f || s.removeAttribute(t);
1150
- }), we--, we || (q = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), ue = {});
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 = {});
1151
1151
  };
1152
- }, qn = function(e, n, t) {
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 || Kn(e);
1155
- return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), Yn(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", [gt, Eo] = Lt(ht), [Zn, L] = gt(ht), Qn = (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] = Bt({
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({
1161
1161
  prop: o,
1162
1162
  defaultProp: a,
1163
1163
  onChange: r
1164
1164
  });
1165
- return /* @__PURE__ */ m(Zn, {
1165
+ return /* @__PURE__ */ g(Yn, {
1166
1166
  scope: n,
1167
1167
  triggerRef: u,
1168
1168
  contentRef: l,
1169
- contentId: me(),
1170
- titleId: me(),
1171
- descriptionId: me(),
1169
+ contentId: ge(),
1170
+ titleId: ge(),
1171
+ descriptionId: ge(),
1172
1172
  open: d,
1173
1173
  onOpenChange: p,
1174
1174
  onOpenToggle: Q(
@@ -1181,9 +1181,9 @@ const ht = "Dialog", [gt, Eo] = Lt(ht), [Zn, L] = gt(ht), Qn = (e) => {
1181
1181
  ),
1182
1182
  modal: i
1183
1183
  }, t);
1184
- }, Jn = "DialogTrigger", er = /* @__PURE__ */ x((e, n) => {
1185
- const { __scopeDialog: t, ...o } = e, a = L(Jn, t), r = J(n, a.triggerRef);
1186
- return /* @__PURE__ */ m(W.button, P({
1184
+ }, Qn = "DialogTrigger", Jn = /* @__PURE__ */ x((e, n) => {
1185
+ const { __scopeDialog: t, ...o } = e, a = L(Qn, t), r = J(n, a.triggerRef);
1186
+ return /* @__PURE__ */ g(U.button, P({
1187
1187
  type: "button",
1188
1188
  "aria-haspopup": "dialog",
1189
1189
  "aria-expanded": a.open,
@@ -1191,43 +1191,43 @@ const ht = "Dialog", [gt, Eo] = Lt(ht), [Zn, L] = gt(ht), Qn = (e) => {
1191
1191
  "data-state": Me(a.open)
1192
1192
  }, o, {
1193
1193
  ref: r,
1194
- onClick: j(e.onClick, a.onOpenToggle)
1194
+ onClick: B(e.onClick, a.onOpenToggle)
1195
1195
  }));
1196
- }), mt = "DialogPortal", [tr, _t] = gt(mt, {
1196
+ }), gt = "DialogPortal", [er, _t] = mt(gt, {
1197
1197
  forceMount: void 0
1198
- }), nr = (e) => {
1199
- const { __scopeDialog: n, forceMount: t, children: o, container: a } = e, r = L(mt, n);
1200
- return /* @__PURE__ */ m(tr, {
1198
+ }), tr = (e) => {
1199
+ const { __scopeDialog: n, forceMount: t, children: o, container: a } = e, r = L(gt, n);
1200
+ return /* @__PURE__ */ g(er, {
1201
1201
  scope: n,
1202
1202
  forceMount: t
1203
- }, R.map(
1203
+ }, M.map(
1204
1204
  o,
1205
- (i) => /* @__PURE__ */ m(he, {
1205
+ (i) => /* @__PURE__ */ g(he, {
1206
1206
  present: t || r.open
1207
- }, /* @__PURE__ */ m(cn, {
1207
+ }, /* @__PURE__ */ g(un, {
1208
1208
  asChild: !0,
1209
1209
  container: a
1210
1210
  }, i))
1211
1211
  ));
1212
- }, Te = "DialogOverlay", rr = /* @__PURE__ */ x((e, n) => {
1212
+ }, Te = "DialogOverlay", nr = /* @__PURE__ */ x((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__ */ m(he, {
1214
+ return r.modal ? /* @__PURE__ */ g(he, {
1215
1215
  present: o || r.open
1216
- }, /* @__PURE__ */ m(or, P({}, a, {
1216
+ }, /* @__PURE__ */ g(rr, P({}, a, {
1217
1217
  ref: n
1218
1218
  }))) : null;
1219
- }), or = /* @__PURE__ */ x((e, n) => {
1219
+ }), rr = /* @__PURE__ */ x((e, n) => {
1220
1220
  const { __scopeDialog: t, ...o } = e, a = L(Te, t);
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__ */ m(Vn, {
1224
+ /* @__PURE__ */ g(Hn, {
1225
1225
  as: Re,
1226
1226
  allowPinchZoom: !0,
1227
1227
  shards: [
1228
1228
  a.contentRef
1229
1229
  ]
1230
- }, /* @__PURE__ */ m(W.div, P({
1230
+ }, /* @__PURE__ */ g(U.div, P({
1231
1231
  "data-state": Me(a.open)
1232
1232
  }, o, {
1233
1233
  ref: n,
@@ -1237,41 +1237,41 @@ const ht = "Dialog", [gt, Eo] = Lt(ht), [Zn, L] = gt(ht), Qn = (e) => {
1237
1237
  }
1238
1238
  })))
1239
1239
  );
1240
- }), ee = "DialogContent", ar = /* @__PURE__ */ x((e, n) => {
1240
+ }), ee = "DialogContent", or = /* @__PURE__ */ x((e, n) => {
1241
1241
  const t = _t(ee, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(ee, e.__scopeDialog);
1242
- return /* @__PURE__ */ m(he, {
1242
+ return /* @__PURE__ */ g(he, {
1243
1243
  present: o || r.open
1244
- }, r.modal ? /* @__PURE__ */ m(ir, P({}, a, {
1244
+ }, r.modal ? /* @__PURE__ */ g(ar, P({}, a, {
1245
1245
  ref: n
1246
- })) : /* @__PURE__ */ m(ur, P({}, a, {
1246
+ })) : /* @__PURE__ */ g(ir, P({}, a, {
1247
1247
  ref: n
1248
1248
  })));
1249
- }), ir = /* @__PURE__ */ x((e, n) => {
1249
+ }), ar = /* @__PURE__ */ x((e, n) => {
1250
1250
  const t = L(ee, 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
- return qn(r);
1255
- }, []), /* @__PURE__ */ m(bt, P({}, e, {
1254
+ return Xn(r);
1255
+ }, []), /* @__PURE__ */ g(bt, P({}, e, {
1256
1256
  ref: a,
1257
1257
  trapFocus: t.open,
1258
1258
  disableOutsidePointerEvents: !0,
1259
- onCloseAutoFocus: j(e.onCloseAutoFocus, (r) => {
1259
+ onCloseAutoFocus: B(e.onCloseAutoFocus, (r) => {
1260
1260
  var i;
1261
1261
  r.preventDefault(), (i = t.triggerRef.current) === null || i === void 0 || i.focus();
1262
1262
  }),
1263
- onPointerDownOutside: j(e.onPointerDownOutside, (r) => {
1263
+ onPointerDownOutside: B(e.onPointerDownOutside, (r) => {
1264
1264
  const i = r.detail.originalEvent, u = i.button === 0 && i.ctrlKey === !0;
1265
1265
  (i.button === 2 || u) && r.preventDefault();
1266
1266
  }),
1267
- onFocusOutside: j(
1267
+ onFocusOutside: B(
1268
1268
  e.onFocusOutside,
1269
1269
  (r) => r.preventDefault()
1270
1270
  )
1271
1271
  }));
1272
- }), ur = /* @__PURE__ */ x((e, n) => {
1272
+ }), ir = /* @__PURE__ */ x((e, n) => {
1273
1273
  const t = L(ee, e.__scopeDialog), o = O(!1), a = O(!1);
1274
- return /* @__PURE__ */ m(bt, P({}, e, {
1274
+ return /* @__PURE__ */ g(bt, P({}, e, {
1275
1275
  ref: n,
1276
1276
  trapFocus: !1,
1277
1277
  disableOutsidePointerEvents: !1,
@@ -1292,13 +1292,13 @@ const ht = "Dialog", [gt, Eo] = Lt(ht), [Zn, L] = gt(ht), Qn = (e) => {
1292
1292
  }));
1293
1293
  }), bt = /* @__PURE__ */ x((e, n) => {
1294
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 dn(), /* @__PURE__ */ m(Ie, null, /* @__PURE__ */ m(en, {
1295
+ return ln(), /* @__PURE__ */ g(Ie, null, /* @__PURE__ */ g(Jt, {
1296
1296
  asChild: !0,
1297
1297
  loop: !0,
1298
1298
  trapped: o,
1299
1299
  onMountAutoFocus: a,
1300
1300
  onUnmountAutoFocus: r
1301
- }, /* @__PURE__ */ m(Zt, P({
1301
+ }, /* @__PURE__ */ g(Yt, P({
1302
1302
  role: "dialog",
1303
1303
  id: u.contentId,
1304
1304
  "aria-describedby": u.descriptionId,
@@ -1308,27 +1308,27 @@ const ht = "Dialog", [gt, Eo] = Lt(ht), [Zn, L] = gt(ht), Qn = (e) => {
1308
1308
  ref: d,
1309
1309
  onDismiss: () => u.onOpenChange(!1)
1310
1310
  }))), !1);
1311
- }), cr = "DialogTitle", sr = /* @__PURE__ */ x((e, n) => {
1312
- const { __scopeDialog: t, ...o } = e, a = L(cr, t);
1313
- return /* @__PURE__ */ m(W.h2, P({
1311
+ }), ur = "DialogTitle", cr = /* @__PURE__ */ x((e, n) => {
1312
+ const { __scopeDialog: t, ...o } = e, a = L(ur, t);
1313
+ return /* @__PURE__ */ g(U.h2, P({
1314
1314
  id: a.titleId
1315
1315
  }, o, {
1316
1316
  ref: n
1317
1317
  }));
1318
- }), lr = "DialogDescription", dr = /* @__PURE__ */ x((e, n) => {
1319
- const { __scopeDialog: t, ...o } = e, a = L(lr, t);
1320
- return /* @__PURE__ */ m(W.p, P({
1318
+ }), sr = "DialogDescription", lr = /* @__PURE__ */ x((e, n) => {
1319
+ const { __scopeDialog: t, ...o } = e, a = L(sr, t);
1320
+ return /* @__PURE__ */ g(U.p, P({
1321
1321
  id: a.descriptionId
1322
1322
  }, o, {
1323
1323
  ref: n
1324
1324
  }));
1325
- }), pr = "DialogClose", fr = /* @__PURE__ */ x((e, n) => {
1326
- const { __scopeDialog: t, ...o } = e, a = L(pr, t);
1327
- return /* @__PURE__ */ m(W.button, P({
1325
+ }), dr = "DialogClose", pr = /* @__PURE__ */ x((e, n) => {
1326
+ const { __scopeDialog: t, ...o } = e, a = L(dr, t);
1327
+ return /* @__PURE__ */ g(U.button, P({
1328
1328
  type: "button"
1329
1329
  }, o, {
1330
1330
  ref: n,
1331
- onClick: j(
1331
+ onClick: B(
1332
1332
  e.onClick,
1333
1333
  () => a.onOpenChange(!1)
1334
1334
  )
@@ -1337,12 +1337,12 @@ const ht = "Dialog", [gt, Eo] = Lt(ht), [Zn, L] = gt(ht), Qn = (e) => {
1337
1337
  function Me(e) {
1338
1338
  return e ? "open" : "closed";
1339
1339
  }
1340
- const vr = Qn, hr = er, gr = nr, mr = rr, _r = ar, br = sr, Xe = dr, $r = fr, Ye = {
1340
+ const fr = Zn, vr = Jn, hr = tr, mr = nr, gr = or, _r = cr, Ke = lr, br = pr, Xe = {
1341
1341
  SM: "sm",
1342
1342
  MD: "md",
1343
1343
  LG: "lg"
1344
1344
  };
1345
- function yr(e) {
1345
+ function $r(e) {
1346
1346
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1347
1347
  }
1348
1348
  var $t = { exports: {} };
@@ -1381,46 +1381,46 @@ var $t = { exports: {} };
1381
1381
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1382
1382
  })();
1383
1383
  })($t);
1384
- var Er = $t.exports;
1385
- const qe = /* @__PURE__ */ yr(Er), wr = "_rotate_7s2g1_1", Sr = "_dash_7s2g1_1", ce = {
1384
+ var yr = $t.exports;
1385
+ const Ye = /* @__PURE__ */ $r(yr), Er = "_rotate_7s2g1_1", wr = "_dash_7s2g1_1", ce = {
1386
1386
  "purpur-spinner": "_purpur-spinner_7s2g1_1",
1387
- rotate: wr,
1387
+ rotate: Er,
1388
1388
  "purpur-spinner--xxs": "_purpur-spinner--xxs_7s2g1_4",
1389
1389
  "purpur-spinner--xs": "_purpur-spinner--xs_7s2g1_8",
1390
1390
  "purpur-spinner--sm": "_purpur-spinner--sm_7s2g1_12",
1391
1391
  "purpur-spinner--md": "_purpur-spinner--md_7s2g1_16",
1392
1392
  "purpur-spinner--lg": "_purpur-spinner--lg_7s2g1_20",
1393
1393
  "purpur-spinner__circle": "_purpur-spinner__circle_7s2g1_24",
1394
- dash: Sr,
1394
+ dash: wr,
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", xr = {
1398
+ }, se = "purpur-spinner", Sr = {
1399
1399
  PRIMARY: "primary",
1400
1400
  DISABLED: "disabled",
1401
1401
  NEGATIVE: "negative",
1402
1402
  NEGATIVE_DISABLED: "negative-disabled"
1403
- }, Cr = {
1403
+ }, xr = {
1404
1404
  XXS: "xxs",
1405
1405
  XS: "xs",
1406
1406
  SM: "sm",
1407
1407
  MD: "md",
1408
1408
  LG: "lg"
1409
- }, Or = ({
1409
+ }, Cr = ({
1410
1410
  ["data-testid"]: e,
1411
- size: n = Cr.SM,
1412
- variant: t = xr.PRIMARY,
1411
+ size: n = xr.SM,
1412
+ variant: t = Sr.PRIMARY,
1413
1413
  ...o
1414
1414
  }) => /* @__PURE__ */ _(
1415
1415
  "div",
1416
1416
  {
1417
- className: qe([ce[se], ce[`${se}--${n}`]]),
1417
+ className: Ye([ce[se], ce[`${se}--${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
- className: qe(
1423
+ className: Ye(
1424
1424
  ce[`${se}__circle`],
1425
1425
  ce[`${se}__circle--${t}`]
1426
1426
  ),
@@ -1431,7 +1431,7 @@ const qe = /* @__PURE__ */ yr(Er), wr = "_rotate_7s2g1_1", Sr = "_dash_7s2g1_1",
1431
1431
  ) })
1432
1432
  }
1433
1433
  );
1434
- function Pr(e) {
1434
+ function Or(e) {
1435
1435
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1436
1436
  }
1437
1437
  var yt = { exports: {} };
@@ -1470,8 +1470,8 @@ var yt = { exports: {} };
1470
1470
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1471
1471
  })();
1472
1472
  })(yt);
1473
- var Nr = yt.exports;
1474
- const Ar = /* @__PURE__ */ Pr(Nr), z = {
1473
+ var Pr = yt.exports;
1474
+ const Nr = /* @__PURE__ */ Or(Pr), z = {
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 Ar = /* @__PURE__ */ Pr(Nr), z = {
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
- }, H = "purpur-button", Tr = ({
1495
+ }, H = "purpur-button", Ar = ({
1496
1496
  children: e,
1497
1497
  className: n,
1498
1498
  ["data-testid"]: t,
@@ -1501,14 +1501,14 @@ const Ar = /* @__PURE__ */ Pr(Nr), z = {
1501
1501
  iconOnly: r,
1502
1502
  loading: i = !1,
1503
1503
  onClick: u,
1504
- size: l = Ye.MD,
1504
+ size: l = Xe.MD,
1505
1505
  variant: d,
1506
1506
  type: p = "button",
1507
1507
  ...s
1508
1508
  }, h) => {
1509
1509
  if (r && d === "destructive")
1510
1510
  return null;
1511
- const f = Ar(
1511
+ const f = Nr(
1512
1512
  [
1513
1513
  z[H],
1514
1514
  z[`${H}--${d}`],
@@ -1524,7 +1524,7 @@ const Ar = /* @__PURE__ */ Pr(Nr), z = {
1524
1524
  ), E = (v) => {
1525
1525
  o || i ? v.preventDefault() : u && u(v);
1526
1526
  }, c = () => d.endsWith("negative") ? "negative-disabled" : "disabled";
1527
- return /* @__PURE__ */ G(
1527
+ return /* @__PURE__ */ j(
1528
1528
  "button",
1529
1529
  {
1530
1530
  className: f,
@@ -1535,15 +1535,15 @@ const Ar = /* @__PURE__ */ Pr(Nr), z = {
1535
1535
  onClick: E,
1536
1536
  ...s,
1537
1537
  children: [
1538
- i && /* @__PURE__ */ _(Or, { size: l === Ye.LG ? "xs" : "xxs", variant: c() }),
1538
+ i && /* @__PURE__ */ _(Cr, { size: l === Xe.LG ? "xs" : "xxs", variant: c() }),
1539
1539
  " ",
1540
1540
  e
1541
1541
  ]
1542
1542
  }
1543
1543
  );
1544
- }, Le = x(Tr);
1544
+ }, Le = x(Ar);
1545
1545
  Le.displayName = "Button";
1546
- function Dr(e) {
1546
+ function Tr(e) {
1547
1547
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1548
1548
  }
1549
1549
  var Et = { exports: {} };
@@ -1582,8 +1582,8 @@ var Et = { exports: {} };
1582
1582
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1583
1583
  })();
1584
1584
  })(Et);
1585
- var Ir = Et.exports;
1586
- const Rr = /* @__PURE__ */ Dr(Ir), Se = {
1585
+ var Dr = Et.exports;
1586
+ const Ir = /* @__PURE__ */ Tr(Dr), Se = {
1587
1587
  "purpur-heading": "_purpur-heading_1abfh_1",
1588
1588
  "purpur-heading--hyphens": "_purpur-heading--hyphens_1abfh_8",
1589
1589
  "purpur-heading--subsection-100": "_purpur-heading--subsection-100_1abfh_11",
@@ -1598,7 +1598,7 @@ const Rr = /* @__PURE__ */ Dr(Ir), Se = {
1598
1598
  "purpur-heading--display-50": "_purpur-heading--display-50_1abfh_65",
1599
1599
  "purpur-heading--display-100": "_purpur-heading--display-100_1abfh_71",
1600
1600
  "purpur-heading--display-200": "_purpur-heading--display-200_1abfh_77"
1601
- }, Mr = {
1601
+ }, Rr = {
1602
1602
  TITLE100: "title-100",
1603
1603
  TITLE200: "title-200",
1604
1604
  TITLE300: "title-300",
@@ -1607,16 +1607,16 @@ const Rr = /* @__PURE__ */ Dr(Ir), Se = {
1607
1607
  TITLE600: "title-600",
1608
1608
  TITLE700: "title-700",
1609
1609
  SUBSECTION100: "subsection-100"
1610
- }, xe = "purpur-heading", Lr = ({
1610
+ }, xe = "purpur-heading", Mr = ({
1611
1611
  ["data-testid"]: e,
1612
1612
  children: n,
1613
1613
  className: t = "",
1614
1614
  enableHyphenation: o = !1,
1615
1615
  tag: a,
1616
- variant: r = Mr.TITLE100,
1616
+ variant: r = Rr.TITLE100,
1617
1617
  ...i
1618
1618
  }) => {
1619
- const u = a, l = Rr([
1619
+ const u = a, l = Ir([
1620
1620
  t,
1621
1621
  Se[xe],
1622
1622
  Se[`${xe}--${r}`],
@@ -1626,7 +1626,7 @@ const Rr = /* @__PURE__ */ Dr(Ir), Se = {
1626
1626
  ]);
1627
1627
  return /* @__PURE__ */ _(u, { ...i, className: l, "data-testid": e, children: n });
1628
1628
  };
1629
- function Fr(e) {
1629
+ function Lr(e) {
1630
1630
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1631
1631
  }
1632
1632
  var wt = { exports: {} };
@@ -1665,8 +1665,8 @@ var wt = { exports: {} };
1665
1665
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1666
1666
  })();
1667
1667
  })(wt);
1668
- var kr = wt.exports;
1669
- const jr = /* @__PURE__ */ Fr(kr), Br = {
1668
+ var Fr = wt.exports;
1669
+ const kr = /* @__PURE__ */ Lr(Fr), jr = {
1670
1670
  "purpur-icon": "_purpur-icon_8u1lq_1",
1671
1671
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
1672
1672
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -1674,39 +1674,39 @@ const jr = /* @__PURE__ */ Fr(kr), Br = {
1674
1674
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
1675
1675
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
1676
1676
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
1677
- }, Wr = {
1677
+ }, Br = {
1678
1678
  name: "close",
1679
1679
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M4.864 4.864a.9.9 0 0 1 1.273 0L12 10.727l5.864-5.863a.9.9 0 0 1 1.272 1.272L13.273 12l5.863 5.864a.9.9 0 1 1-1.272 1.272L12 13.273l-5.863 5.863a.9.9 0 0 1-1.273-1.272L10.727 12 4.864 6.136a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"/></svg>',
1680
1680
  keywords: ["close"],
1681
1681
  category: "utility"
1682
1682
  }, St = (e) => /* @__PURE__ */ _(
1683
- Kr,
1683
+ Gr,
1684
1684
  {
1685
1685
  ...e,
1686
- svg: Wr
1686
+ svg: Br
1687
1687
  }
1688
1688
  );
1689
1689
  St.displayName = "IconClose";
1690
- const Ur = jr.bind(Br), Ze = "purpur-icon", zr = "md", Hr = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Gr = ({ content: e = "", title: n } = {}) => {
1690
+ const Wr = kr.bind(jr), Ze = "purpur-icon", Ur = "md", qr = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), zr = ({ content: e = "", title: n } = {}) => {
1691
1691
  const t = [
1692
1692
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
1693
1693
  { name: "fill", value: "currentColor" },
1694
1694
  { name: "viewBox", value: "0 0 24 24" },
1695
1695
  n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
1696
1696
  ], o = n ? `<title>${n}</title>` : "";
1697
- return `<svg ${Hr(t)}>${o}${e}</svg>`;
1698
- }, Vr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Kr = ({
1697
+ return `<svg ${qr(t)}>${o}${e}</svg>`;
1698
+ }, Hr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Gr = ({
1699
1699
  ["data-testid"]: e,
1700
1700
  svg: n,
1701
1701
  allyTitle: t,
1702
1702
  className: o = "",
1703
- size: a = zr,
1703
+ size: a = Ur,
1704
1704
  ...r
1705
1705
  }) => {
1706
- const i = Gr({
1707
- content: Vr(n.svg),
1706
+ const i = zr({
1707
+ content: Hr(n.svg),
1708
1708
  title: t
1709
- }), u = Ur(o, Ze, `${Ze}--${a}`);
1709
+ }), u = Wr(o, Ze, `${Ze}--${a}`);
1710
1710
  return /* @__PURE__ */ _(
1711
1711
  "span",
1712
1712
  {
@@ -1718,7 +1718,7 @@ const Ur = jr.bind(Br), Ze = "purpur-icon", zr = "md", Hr = (e) => e.filter((n)
1718
1718
  }
1719
1719
  );
1720
1720
  };
1721
- function Xr(e) {
1721
+ function Vr(e) {
1722
1722
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1723
1723
  }
1724
1724
  var xt = { exports: {} };
@@ -1757,8 +1757,8 @@ var xt = { exports: {} };
1757
1757
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1758
1758
  })();
1759
1759
  })(xt);
1760
- var Yr = xt.exports;
1761
- const qr = /* @__PURE__ */ Xr(Yr), le = {
1760
+ var Kr = xt.exports;
1761
+ const Xr = /* @__PURE__ */ Vr(Kr), le = {
1762
1762
  "purpur-paragraph": "_purpur-paragraph_1fzxr_1",
1763
1763
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1fzxr_7",
1764
1764
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1fzxr_10",
@@ -1772,7 +1772,7 @@ const qr = /* @__PURE__ */ Xr(Yr), le = {
1772
1772
  "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1fzxr_57",
1773
1773
  "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1fzxr_64",
1774
1774
  "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1fzxr_71"
1775
- }, Zr = {
1775
+ }, Yr = {
1776
1776
  PARAGRAPH100: "paragraph-100",
1777
1777
  PARAGRAPH100MEDIUM: "paragraph-100-medium",
1778
1778
  PARAGRAPH100BOLD: "paragraph-100-bold",
@@ -1783,16 +1783,16 @@ const qr = /* @__PURE__ */ Xr(Yr), le = {
1783
1783
  ADDITIONAL100MEDIUM: "additional-100-medium",
1784
1784
  OVERLINE100: "overline-100",
1785
1785
  OVERLINE200: "overline-200"
1786
- }, de = "purpur-paragraph", Qr = ({
1786
+ }, de = "purpur-paragraph", Zr = ({
1787
1787
  ["data-testid"]: e,
1788
1788
  children: n,
1789
1789
  className: t = "",
1790
1790
  disabled: o,
1791
1791
  enableHyphenation: a = !1,
1792
- variant: r = Zr.PARAGRAPH100,
1792
+ variant: r = Yr.PARAGRAPH100,
1793
1793
  ...i
1794
1794
  }) => {
1795
- const u = qr([
1795
+ const u = Xr([
1796
1796
  t,
1797
1797
  le[de],
1798
1798
  le[`${de}--${r}`],
@@ -1802,7 +1802,7 @@ const qr = /* @__PURE__ */ Xr(Yr), le = {
1802
1802
  }
1803
1803
  ]);
1804
1804
  return /* @__PURE__ */ _("p", { ...i, className: u, "data-testid": e, children: n });
1805
- };
1805
+ }, Qr = "600px";
1806
1806
  function Z() {
1807
1807
  return Z = Object.assign ? Object.assign.bind() : function(e) {
1808
1808
  for (var n = 1; n < arguments.length; n++) {
@@ -1822,29 +1822,29 @@ function eo(...e) {
1822
1822
  );
1823
1823
  }
1824
1824
  const Ct = /* @__PURE__ */ x((e, n) => {
1825
- const { children: t, ...o } = e, a = R.toArray(t), r = a.find(no);
1825
+ const { children: t, ...o } = e, a = M.toArray(t), r = a.find(no);
1826
1826
  if (r) {
1827
- const i = r.props.children, u = a.map((l) => l === r ? R.count(i) > 1 ? R.only(null) : /* @__PURE__ */ B(i) ? i.props.children : null : l);
1828
- return /* @__PURE__ */ m(De, Z({}, o, {
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, {
1829
1829
  ref: n
1830
- }), /* @__PURE__ */ B(i) ? /* @__PURE__ */ te(i, void 0, u) : null);
1830
+ }), /* @__PURE__ */ W(i) ? /* @__PURE__ */ te(i, void 0, u) : null);
1831
1831
  }
1832
- return /* @__PURE__ */ m(De, Z({}, o, {
1832
+ return /* @__PURE__ */ g(De, Z({}, o, {
1833
1833
  ref: n
1834
1834
  }), t);
1835
1835
  });
1836
1836
  Ct.displayName = "Slot";
1837
1837
  const De = /* @__PURE__ */ x((e, n) => {
1838
1838
  const { children: t, ...o } = e;
1839
- return /* @__PURE__ */ B(t) ? /* @__PURE__ */ te(t, {
1839
+ return /* @__PURE__ */ W(t) ? /* @__PURE__ */ te(t, {
1840
1840
  ...ro(o, t.props),
1841
1841
  ref: n ? eo(n, t.ref) : t.ref
1842
- }) : R.count(t) > 1 ? R.only(null) : null;
1842
+ }) : M.count(t) > 1 ? M.only(null) : null;
1843
1843
  });
1844
1844
  De.displayName = "SlotClone";
1845
- const to = ({ children: e }) => /* @__PURE__ */ m(Ie, null, e);
1845
+ const to = ({ children: e }) => /* @__PURE__ */ g(Ie, null, e);
1846
1846
  function no(e) {
1847
- return /* @__PURE__ */ B(e) && e.type === to;
1847
+ return /* @__PURE__ */ W(e) && e.type === to;
1848
1848
  }
1849
1849
  function ro(e, n) {
1850
1850
  const t = {
@@ -1889,7 +1889,7 @@ const oo = [
1889
1889
  const { asChild: r, ...i } = o, u = r ? Ct : n;
1890
1890
  return A(() => {
1891
1891
  window[Symbol.for("radix-ui")] = !0;
1892
- }, []), /* @__PURE__ */ m(u, Z({}, i, {
1892
+ }, []), /* @__PURE__ */ g(u, Z({}, i, {
1893
1893
  ref: a
1894
1894
  }));
1895
1895
  });
@@ -1897,7 +1897,7 @@ const oo = [
1897
1897
  ...e,
1898
1898
  [n]: t
1899
1899
  };
1900
- }, {}), io = /* @__PURE__ */ x((e, n) => /* @__PURE__ */ m(ao.span, Z({}, e, {
1900
+ }, {}), io = /* @__PURE__ */ x((e, n) => /* @__PURE__ */ g(ao.span, Z({}, e, {
1901
1901
  ref: n,
1902
1902
  style: {
1903
1903
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -1918,8 +1918,8 @@ const oo = [
1918
1918
  children: n,
1919
1919
  className: t = "",
1920
1920
  ["data-testid"]: o
1921
- }) => /* @__PURE__ */ _(uo, { asChild: e, "data-testid": o, className: t, children: n }), so = "600px";
1922
- function lo(e) {
1921
+ }) => /* @__PURE__ */ _(uo, { asChild: e, "data-testid": o, className: t, children: n });
1922
+ function so(e) {
1923
1923
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1924
1924
  }
1925
1925
  var Ot = { exports: {} };
@@ -1958,26 +1958,28 @@ var Ot = { exports: {} };
1958
1958
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1959
1959
  })();
1960
1960
  })(Ot);
1961
- var po = Ot.exports;
1962
- const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
1963
- "purpur-modal-content": "_purpur-modal-content_1fnes_1",
1964
- fadeIn: vo,
1965
- "purpur-modal-content__overlay": "_purpur-modal-content__overlay_1fnes_30",
1966
- "purpur-modal-content__close-button": "_purpur-modal-content__close-button_1fnes_37",
1967
- "purpur-modal-content__wrapper": "_purpur-modal-content__wrapper_1fnes_48",
1968
- "purpur-modal-content__wrapper-inner": "_purpur-modal-content__wrapper-inner_1fnes_59",
1969
- "purpur-modal-content__image-wrapper": "_purpur-modal-content__image-wrapper_1fnes_68",
1970
- "purpur-modal-content__header": "_purpur-modal-content__header_1fnes_91",
1971
- "purpur-modal-content__title": "_purpur-modal-content__title_1fnes_104",
1972
- "purpur-modal-content__description": "_purpur-modal-content__description_1fnes_107",
1973
- "purpur-modal-content__body": "_purpur-modal-content__body_1fnes_110",
1974
- "purpur-modal-content__body-inner": "_purpur-modal-content__body-inner_1fnes_120",
1975
- "purpur-modal-content__actions": "_purpur-modal-content__actions_1fnes_133",
1976
- "purpur-modal-content__button": "_purpur-modal-content__button_1fnes_145",
1977
- "purpur-modal-content--with-image": "_purpur-modal-content--with-image_1fnes_156",
1978
- "purpur-modal-content--overflow": "_purpur-modal-content--overflow_1fnes_156",
1979
- "purpur-modal-content--sticky-footer": "_purpur-modal-content--sticky-footer_1fnes_194"
1980
- }, Qe = (e) => e.showCloseButton === !0, D = fo.bind(ho), N = "purpur-modal-content", go = x(
1961
+ var lo = Ot.exports;
1962
+ const po = /* @__PURE__ */ so(lo), fo = "_fadeIn_1qmv6_1", vo = {
1963
+ "purpur-modal-content": "_purpur-modal-content_1qmv6_1",
1964
+ fadeIn: fo,
1965
+ "purpur-modal-content__overlay": "_purpur-modal-content__overlay_1qmv6_30",
1966
+ "purpur-modal-content__close-button": "_purpur-modal-content__close-button_1qmv6_37",
1967
+ "purpur-modal-content__wrapper": "_purpur-modal-content__wrapper_1qmv6_48",
1968
+ "purpur-modal-content__wrapper-inner": "_purpur-modal-content__wrapper-inner_1qmv6_59",
1969
+ "purpur-modal-content__image-wrapper": "_purpur-modal-content__image-wrapper_1qmv6_68",
1970
+ "purpur-modal-content__header": "_purpur-modal-content__header_1qmv6_91",
1971
+ "purpur-modal-content__title": "_purpur-modal-content__title_1qmv6_104",
1972
+ "purpur-modal-content__description": "_purpur-modal-content__description_1qmv6_107",
1973
+ "purpur-modal-content__body": "_purpur-modal-content__body_1qmv6_110",
1974
+ "purpur-modal-content__body-inner": "_purpur-modal-content__body-inner_1qmv6_120",
1975
+ "purpur-modal-content__actions-buttons": "_purpur-modal-content__actions-buttons_1qmv6_132",
1976
+ "purpur-modal-content__actions-button": "_purpur-modal-content__actions-button_1qmv6_132",
1977
+ "purpur-modal-content--with-image": "_purpur-modal-content--with-image_1qmv6_155",
1978
+ "purpur-modal-content--overflow": "_purpur-modal-content--overflow_1qmv6_155",
1979
+ "purpur-modal-content__actions": "_purpur-modal-content__actions_1qmv6_132",
1980
+ "purpur-modal-content__actions-separator": "_purpur-modal-content__actions-separator_1qmv6_186",
1981
+ "purpur-modal-content--sticky-footer": "_purpur-modal-content--sticky-footer_1qmv6_196"
1982
+ }, Qe = (e) => e.showCloseButton === !0, D = po.bind(vo), N = "purpur-modal-content", ho = x(
1981
1983
  ({
1982
1984
  ["data-testid"]: e,
1983
1985
  actions: n,
@@ -1992,42 +1994,42 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
1992
1994
  title: p,
1993
1995
  ...s
1994
1996
  }, h) => {
1995
- const { closeButtonAllyLabel: f, showCloseButton: E, ...c } = s, [v, b] = V(!1), C = O(null), $ = O(null), y = O(null), S = O(null), U = D([
1997
+ const { closeButtonAllyLabel: f, showCloseButton: E, ...c } = s, [v, b] = G(!1), C = O(null), $ = O(null), y = O(null), S = O(null), q = D([
1996
1998
  N,
1997
1999
  { [`${N}--with-image`]: !!u },
1998
2000
  { [`${N}--overflow`]: v },
1999
2001
  { [`${N}--sticky-footer`]: d },
2000
2002
  o
2001
- ]), T = (I) => e ? `${e} ${I}` : void 0, w = (I) => {
2002
- r && I.preventDefault();
2003
- }, M = Q(() => {
2003
+ ]), T = (R) => e ? `${e} ${R}` : void 0, w = (R) => {
2004
+ r && R.preventDefault();
2005
+ }, I = Q(() => {
2004
2006
  if (!C.current || !$.current || !y.current || !S.current)
2005
2007
  return;
2006
- const I = window.innerWidth < parseInt(so), Pt = window.getComputedStyle(
2007
- I ? C.current : y.current,
2008
+ const R = window.innerWidth < parseInt(Qr), Pt = window.getComputedStyle(
2009
+ R ? C.current : y.current,
2008
2010
  null
2009
- ), Nt = parseFloat(Pt.getPropertyValue("height")), At = I ? $.current.offsetHeight : S.current.offsetHeight;
2011
+ ), Nt = parseFloat(Pt.getPropertyValue("height")), At = R ? $.current.offsetHeight : S.current.offsetHeight;
2010
2012
  b(Nt < At);
2011
- }, []), ne = (I) => {
2012
- r && !E && I.preventDefault();
2013
+ }, []), ne = (R) => {
2014
+ r && !E && R.preventDefault();
2013
2015
  };
2014
- return A(() => (window.addEventListener("resize", M), () => {
2015
- window.removeEventListener("resize", M);
2016
- }), []), /* @__PURE__ */ G(gr, { children: [
2016
+ return A(() => (window.addEventListener("resize", I), () => {
2017
+ window.removeEventListener("resize", I);
2018
+ }), [I]), /* @__PURE__ */ j(hr, { children: [
2017
2019
  /* @__PURE__ */ _(mr, { className: D(`${N}__overlay`) }),
2018
- /* @__PURE__ */ G(
2019
- _r,
2020
+ /* @__PURE__ */ j(
2021
+ gr,
2020
2022
  {
2021
2023
  ...c,
2022
- className: U,
2024
+ className: q,
2023
2025
  "data-testid": e,
2024
2026
  ref: h,
2025
2027
  ...!a && { "aria-describedby": void 0 },
2026
2028
  onPointerDownOutside: w,
2027
- onOpenAutoFocus: M,
2029
+ onOpenAutoFocus: I,
2028
2030
  onEscapeKeyDown: ne,
2029
2031
  children: [
2030
- /* @__PURE__ */ G("div", { ref: C, className: D(`${N}__wrapper`), children: [
2032
+ /* @__PURE__ */ j("div", { ref: C, className: D(`${N}__wrapper`), children: [
2031
2033
  Qe(s) && f && u && /* @__PURE__ */ _(
2032
2034
  Je,
2033
2035
  {
@@ -2036,8 +2038,8 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
2036
2038
  "data-testid": T("close-button")
2037
2039
  }
2038
2040
  ),
2039
- /* @__PURE__ */ G("div", { ref: $, className: D(`${N}__wrapper-inner`), children: [
2040
- /* @__PURE__ */ G("div", { className: D(`${N}__header`), children: [
2041
+ /* @__PURE__ */ j("div", { ref: $, className: D(`${N}__wrapper-inner`), children: [
2042
+ /* @__PURE__ */ j("div", { className: D(`${N}__header`), children: [
2041
2043
  Qe(s) && f && !u && /* @__PURE__ */ _(
2042
2044
  Je,
2043
2045
  {
@@ -2046,12 +2048,12 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
2046
2048
  }
2047
2049
  ),
2048
2050
  /* @__PURE__ */ _(
2049
- br,
2051
+ _r,
2050
2052
  {
2051
2053
  asChild: !0,
2052
2054
  className: D(`${N}__title`),
2053
2055
  "data-testid": T("title"),
2054
- children: /* @__PURE__ */ _(Lr, { tag: "h2", variant: "title-200", children: p })
2056
+ children: /* @__PURE__ */ _(Mr, { tag: "h2", variant: "title-200", children: p })
2055
2057
  }
2056
2058
  )
2057
2059
  ] }),
@@ -2063,16 +2065,17 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
2063
2065
  children: u
2064
2066
  }
2065
2067
  ),
2066
- /* @__PURE__ */ _("div", { ref: y, className: D(`${N}__body`), children: /* @__PURE__ */ G("div", { ref: S, className: D(`${N}__body-inner`), children: [
2067
- a && /* @__PURE__ */ _(Tt, { children: i ? /* @__PURE__ */ _(co, { asChild: !0, children: /* @__PURE__ */ _(Xe, { "data-testid": T("description"), children: a }) }) : /* @__PURE__ */ _(
2068
- Xe,
2068
+ /* @__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__ */ _(Ke, { "data-testid": T("description"), children: a }) }),
2070
+ a && !i && /* @__PURE__ */ _(
2071
+ Ke,
2069
2072
  {
2070
2073
  asChild: !0,
2071
2074
  className: D(`${N}__description`),
2072
2075
  "data-testid": T("description"),
2073
- children: /* @__PURE__ */ _(Qr, { variant: "paragraph-100", children: a })
2076
+ children: /* @__PURE__ */ _(Zr, { variant: "paragraph-100", children: a })
2074
2077
  }
2075
- ) }),
2078
+ ),
2076
2079
  /* @__PURE__ */ _("div", { children: t }),
2077
2080
  !d && /* @__PURE__ */ _(et, { actions: n, primaryActionVariant: l })
2078
2081
  ] }) })
@@ -2088,7 +2091,7 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
2088
2091
  allyLabel: e,
2089
2092
  hasImage: n,
2090
2093
  ["data-testid"]: t
2091
- }) => /* @__PURE__ */ _($r, { asChild: !0, children: /* @__PURE__ */ _(
2094
+ }) => /* @__PURE__ */ _(br, { asChild: !0, children: /* @__PURE__ */ _(
2092
2095
  Le,
2093
2096
  {
2094
2097
  variant: n ? "primary-negative" : "tertiary-purple",
@@ -2104,20 +2107,23 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
2104
2107
  primaryActionVariant: n
2105
2108
  }) => {
2106
2109
  const t = [n, "secondary", "text"];
2107
- return e && e.length > 0 ? /* @__PURE__ */ _("div", { className: D(`${N}__actions`), "data-testid": "modal actions", children: e.slice(0, mo).map(({ label: o, onClick: a }, r) => /* @__PURE__ */ _(
2108
- Le,
2109
- {
2110
- "data-testid": "modal actions button",
2111
- variant: t[r] || "",
2112
- onClick: a,
2113
- className: D(`${N}__button`),
2114
- children: o
2115
- },
2116
- o
2117
- )) }) : null;
2118
- }, _o = x(
2110
+ 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__ */ _(
2112
+ Le,
2113
+ {
2114
+ "data-testid": "modal actions button",
2115
+ variant: t[r] || "",
2116
+ onClick: a,
2117
+ className: D(`${N}__actions-button`),
2118
+ children: o
2119
+ },
2120
+ o
2121
+ )) }),
2122
+ /* @__PURE__ */ _("span", { className: D(`${N}__actions-separator`) })
2123
+ ] }) : null;
2124
+ }, go = x(
2119
2125
  ({ ["data-testid"]: e, children: n, className: t, ...o }, a) => /* @__PURE__ */ _(
2120
- hr,
2126
+ vr,
2121
2127
  {
2122
2128
  asChild: !0,
2123
2129
  ref: a,
@@ -2132,9 +2138,9 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_1fnes_1", ho = {
2132
2138
  children: n,
2133
2139
  open: t,
2134
2140
  onOpenChange: o
2135
- }) => /* @__PURE__ */ _(vr, { open: t, onOpenChange: o, "data-testid": e, children: n });
2136
- Fe.Trigger = _o;
2137
- Fe.Content = go;
2141
+ }) => /* @__PURE__ */ _(fr, { open: t, onOpenChange: o, "data-testid": e, children: n });
2142
+ Fe.Trigger = go;
2143
+ Fe.Content = ho;
2138
2144
  Fe.displayName = "Modal";
2139
2145
  export {
2140
2146
  Fe as Modal