@purpurds/modal 5.11.0 → 5.11.2

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 W, jsx as _ } from "react/jsx-runtime";
1
+ import { jsxs as U, jsx as _ } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
- import { useCallback as Q, createContext as Ce, useMemo as me, createElement as g, useContext as tt, useLayoutEffect as Dt, useRef as C, useEffect as A, useState as G, forwardRef as S, Children as R, isValidElement as z, cloneElement as ae, Fragment as Ie, useReducer as It } from "react";
4
- import Rt, { flushSync as nt } from "react-dom";
3
+ import { useCallback as Q, createContext as Ce, useMemo as me, createElement as g, useContext as et, useLayoutEffect as It, useRef as C, useEffect as A, useState as K, forwardRef as S, Children as R, isValidElement as z, cloneElement as ae, Fragment as Ie, useReducer as Rt } from "react";
4
+ import Lt, { flushSync as tt } from "react-dom";
5
5
  function N() {
6
6
  return N = Object.assign ? Object.assign.bind() : function(e) {
7
7
  for (var n = 1; n < arguments.length; n++) {
@@ -12,46 +12,43 @@ function N() {
12
12
  return e;
13
13
  }, N.apply(this, arguments);
14
14
  }
15
- function U(e, n, { checkForDefaultPrevented: t = !0 } = {}) {
15
+ function W(e, n, { checkForDefaultPrevented: t = !0 } = {}) {
16
16
  return function(a) {
17
- if (e == null || e(a), t === !1 || !a.defaultPrevented)
18
- return n == null ? void 0 : n(a);
17
+ if (e == null || e(a), t === !1 || !a.defaultPrevented) return n == null ? void 0 : n(a);
19
18
  };
20
19
  }
21
- function Lt(e, n) {
20
+ function Mt(e, n) {
22
21
  typeof e == "function" ? e(n) : e != null && (e.current = n);
23
22
  }
24
- function rt(...e) {
23
+ function nt(...e) {
25
24
  return (n) => e.forEach(
26
- (t) => Lt(t, n)
25
+ (t) => Mt(t, n)
27
26
  );
28
27
  }
29
28
  function J(...e) {
30
- return Q(rt(...e), e);
29
+ return Q(nt(...e), e);
31
30
  }
32
- function Mt(e, n = []) {
31
+ function kt(e, n = []) {
33
32
  let t = [];
34
33
  function o(r, i) {
35
- const u = /* @__PURE__ */ Ce(i), s = t.length;
34
+ const c = /* @__PURE__ */ Ce(i), s = t.length;
36
35
  t = [
37
36
  ...t,
38
37
  i
39
38
  ];
40
39
  function d(l) {
41
- const { scope: h, children: f, ...E } = l, c = (h == null ? void 0 : h[e][s]) || u, v = me(
40
+ const { scope: h, children: f, ...E } = l, u = (h == null ? void 0 : h[e][s]) || c, v = me(
42
41
  () => E,
43
42
  Object.values(E)
44
43
  );
45
- return /* @__PURE__ */ g(c.Provider, {
44
+ return /* @__PURE__ */ g(u.Provider, {
46
45
  value: v
47
46
  }, f);
48
47
  }
49
48
  function p(l, h) {
50
- const f = (h == null ? void 0 : h[e][s]) || u, E = tt(f);
51
- if (E)
52
- return E;
53
- if (i !== void 0)
54
- return i;
49
+ const f = (h == null ? void 0 : h[e][s]) || c, E = et(f);
50
+ if (E) return E;
51
+ if (i !== void 0) return i;
55
52
  throw new Error(`\`${l}\` must be used within \`${r}\``);
56
53
  }
57
54
  return d.displayName = r + "Provider", [
@@ -61,17 +58,17 @@ function Mt(e, n = []) {
61
58
  }
62
59
  const a = () => {
63
60
  const r = t.map((i) => /* @__PURE__ */ Ce(i));
64
- return function(u) {
65
- const s = (u == null ? void 0 : u[e]) || r;
61
+ return function(c) {
62
+ const s = (c == null ? void 0 : c[e]) || r;
66
63
  return me(
67
64
  () => ({
68
65
  [`__scope${e}`]: {
69
- ...u,
66
+ ...c,
70
67
  [e]: s
71
68
  }
72
69
  }),
73
70
  [
74
- u,
71
+ c,
75
72
  s
76
73
  ]
77
74
  );
@@ -79,13 +76,12 @@ function Mt(e, n = []) {
79
76
  };
80
77
  return a.scopeName = e, [
81
78
  o,
82
- kt(a, ...n)
79
+ Ft(a, ...n)
83
80
  ];
84
81
  }
85
- function kt(...e) {
82
+ function Ft(...e) {
86
83
  const n = e[0];
87
- if (e.length === 1)
88
- return n;
84
+ if (e.length === 1) return n;
89
85
  const t = () => {
90
86
  const o = e.map(
91
87
  (a) => ({
@@ -94,10 +90,10 @@ function kt(...e) {
94
90
  })
95
91
  );
96
92
  return function(r) {
97
- const i = o.reduce((u, { useScope: s, scopeName: d }) => {
93
+ const i = o.reduce((c, { useScope: s, scopeName: d }) => {
98
94
  const l = s(r)[`__scope${d}`];
99
95
  return {
100
- ...u,
96
+ ...c,
101
97
  ...l
102
98
  };
103
99
  }, {});
@@ -113,21 +109,21 @@ function kt(...e) {
113
109
  };
114
110
  return t.scopeName = n.scopeName, t;
115
111
  }
116
- const Oe = globalThis != null && globalThis.document ? Dt : () => {
117
- }, Ft = m.useId || (() => {
112
+ const Oe = globalThis != null && globalThis.document ? It : () => {
113
+ }, jt = m.useId || (() => {
118
114
  });
119
- let jt = 0;
115
+ let Bt = 0;
120
116
  function be(e) {
121
- const [n, t] = m.useState(Ft());
117
+ const [n, t] = m.useState(jt());
122
118
  return Oe(() => {
123
119
  e || t(
124
- (o) => o ?? String(jt++)
120
+ (o) => o ?? String(Bt++)
125
121
  );
126
122
  }, [
127
123
  e
128
124
  ]), e || (n ? `radix-${n}` : "");
129
125
  }
130
- function K(e) {
126
+ function G(e) {
131
127
  const n = C(e);
132
128
  return A(() => {
133
129
  n.current = e;
@@ -139,22 +135,21 @@ function K(e) {
139
135
  []
140
136
  );
141
137
  }
142
- function Bt({ prop: e, defaultProp: n, onChange: t = () => {
138
+ function Ut({ prop: e, defaultProp: n, onChange: t = () => {
143
139
  } }) {
144
140
  const [o, a] = Wt({
145
141
  defaultProp: n,
146
142
  onChange: t
147
- }), r = e !== void 0, i = r ? e : o, u = K(t), s = Q((d) => {
143
+ }), r = e !== void 0, i = r ? e : o, c = G(t), s = Q((d) => {
148
144
  if (r) {
149
145
  const l = typeof d == "function" ? d(e) : d;
150
- l !== e && u(l);
151
- } else
152
- a(d);
146
+ l !== e && c(l);
147
+ } else a(d);
153
148
  }, [
154
149
  r,
155
150
  e,
156
151
  a,
157
- u
152
+ c
158
153
  ]);
159
154
  return [
160
155
  i,
@@ -162,7 +157,7 @@ function Bt({ prop: e, defaultProp: n, onChange: t = () => {
162
157
  ];
163
158
  }
164
159
  function Wt({ defaultProp: e, onChange: n }) {
165
- const t = G(e), [o] = t, a = C(o), r = K(n);
160
+ const t = K(e), [o] = t, a = C(o), r = G(n);
166
161
  return A(() => {
167
162
  a.current !== o && (r(o), a.current = o);
168
163
  }, [
@@ -172,12 +167,12 @@ function Wt({ defaultProp: e, onChange: n }) {
172
167
  ]), t;
173
168
  }
174
169
  const Re = /* @__PURE__ */ S((e, n) => {
175
- const { children: t, ...o } = e, a = R.toArray(t), r = a.find(zt);
170
+ const { children: t, ...o } = e, a = R.toArray(t), r = a.find(qt);
176
171
  if (r) {
177
- const i = r.props.children, u = a.map((s) => s === r ? R.count(i) > 1 ? R.only(null) : /* @__PURE__ */ z(i) ? i.props.children : null : s);
172
+ const i = r.props.children, c = a.map((s) => s === r ? R.count(i) > 1 ? R.only(null) : /* @__PURE__ */ z(i) ? i.props.children : null : s);
178
173
  return /* @__PURE__ */ g(Pe, N({}, o, {
179
174
  ref: n
180
- }), /* @__PURE__ */ z(i) ? /* @__PURE__ */ ae(i, void 0, u) : null);
175
+ }), /* @__PURE__ */ z(i) ? /* @__PURE__ */ ae(i, void 0, c) : null);
181
176
  }
182
177
  return /* @__PURE__ */ g(Pe, N({}, o, {
183
178
  ref: n
@@ -187,23 +182,23 @@ Re.displayName = "Slot";
187
182
  const Pe = /* @__PURE__ */ S((e, n) => {
188
183
  const { children: t, ...o } = e;
189
184
  return /* @__PURE__ */ z(t) ? /* @__PURE__ */ ae(t, {
190
- ...qt(o, t.props),
191
- ref: n ? rt(n, t.ref) : t.ref
185
+ ...Ht(o, t.props),
186
+ ref: n ? nt(n, t.ref) : t.ref
192
187
  }) : R.count(t) > 1 ? R.only(null) : null;
193
188
  });
194
189
  Pe.displayName = "SlotClone";
195
- const Ut = ({ children: e }) => /* @__PURE__ */ g(Ie, null, e);
196
- function zt(e) {
197
- return /* @__PURE__ */ z(e) && e.type === Ut;
190
+ const zt = ({ children: e }) => /* @__PURE__ */ g(Ie, null, e);
191
+ function qt(e) {
192
+ return /* @__PURE__ */ z(e) && e.type === zt;
198
193
  }
199
- function qt(e, n) {
194
+ function Ht(e, n) {
200
195
  const t = {
201
196
  ...n
202
197
  };
203
198
  for (const o in n) {
204
199
  const a = e[o], r = n[o];
205
- /^on[A-Z]/.test(o) ? a && r ? t[o] = (...u) => {
206
- r(...u), a(...u);
200
+ /^on[A-Z]/.test(o) ? a && r ? t[o] = (...c) => {
201
+ r(...c), a(...c);
207
202
  } : a && (t[o] = a) : o === "style" ? t[o] = {
208
203
  ...a,
209
204
  ...r
@@ -217,7 +212,7 @@ function qt(e, n) {
217
212
  ...t
218
213
  };
219
214
  }
220
- const Ht = [
215
+ const Kt = [
221
216
  "a",
222
217
  "button",
223
218
  "div",
@@ -234,12 +229,12 @@ const Ht = [
234
229
  "span",
235
230
  "svg",
236
231
  "ul"
237
- ], q = Ht.reduce((e, n) => {
232
+ ], q = Kt.reduce((e, n) => {
238
233
  const t = /* @__PURE__ */ S((o, a) => {
239
- const { asChild: r, ...i } = o, u = r ? Re : n;
234
+ const { asChild: r, ...i } = o, c = r ? Re : n;
240
235
  return A(() => {
241
236
  window[Symbol.for("radix-ui")] = !0;
242
- }, []), /* @__PURE__ */ g(u, N({}, i, {
237
+ }, []), /* @__PURE__ */ g(c, N({}, i, {
243
238
  ref: a
244
239
  }));
245
240
  });
@@ -249,12 +244,12 @@ const Ht = [
249
244
  };
250
245
  }, {});
251
246
  function Gt(e, n) {
252
- e && nt(
247
+ e && tt(
253
248
  () => e.dispatchEvent(n)
254
249
  );
255
250
  }
256
- function Kt(e, n = globalThis == null ? void 0 : globalThis.document) {
257
- const t = K(e);
251
+ function Vt(e, n = globalThis == null ? void 0 : globalThis.document) {
252
+ const t = G(e);
258
253
  A(() => {
259
254
  const o = (a) => {
260
255
  a.key === "Escape" && t(a);
@@ -265,36 +260,36 @@ function Kt(e, n = globalThis == null ? void 0 : globalThis.document) {
265
260
  n
266
261
  ]);
267
262
  }
268
- const Ne = "dismissableLayer.update", Vt = "dismissableLayer.pointerDownOutside", Xt = "dismissableLayer.focusOutside";
263
+ const Ne = "dismissableLayer.update", Xt = "dismissableLayer.pointerDownOutside", Yt = "dismissableLayer.focusOutside";
269
264
  let Fe;
270
- const Yt = /* @__PURE__ */ Ce({
265
+ const Zt = /* @__PURE__ */ Ce({
271
266
  layers: /* @__PURE__ */ new Set(),
272
267
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
273
268
  branches: /* @__PURE__ */ new Set()
274
- }), Zt = /* @__PURE__ */ S((e, n) => {
269
+ }), Qt = /* @__PURE__ */ S((e, n) => {
275
270
  var t;
276
- const { disableOutsidePointerEvents: o = !1, onEscapeKeyDown: a, onPointerDownOutside: r, onFocusOutside: i, onInteractOutside: u, onDismiss: s, ...d } = e, p = tt(Yt), [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(
271
+ const { disableOutsidePointerEvents: o = !1, onEscapeKeyDown: a, onPointerDownOutside: r, onFocusOutside: i, onInteractOutside: c, onDismiss: s, ...d } = e, p = et(Zt), [l, h] = K(null), f = (t = l == null ? void 0 : l.ownerDocument) !== null && t !== void 0 ? t : globalThis == null ? void 0 : globalThis.document, [, E] = K({}), u = J(
277
272
  n,
278
- (w) => h(w)
273
+ (x) => h(x)
279
274
  ), v = Array.from(p.layers), [b] = [
280
275
  ...p.layersWithOutsidePointerEventsDisabled
281
- ].slice(-1), O = v.indexOf(b), y = l ? v.indexOf(l) : -1, $ = p.layersWithOutsidePointerEventsDisabled.size > 0, x = y >= O, F = Qt((w) => {
282
- const D = w.target, ie = [
276
+ ].slice(-1), O = v.indexOf(b), y = l ? v.indexOf(l) : -1, $ = p.layersWithOutsidePointerEventsDisabled.size > 0, w = y >= O, F = Jt((x) => {
277
+ const D = x.target, ie = [
283
278
  ...p.branches
284
279
  ].some(
285
280
  (M) => M.contains(D)
286
281
  );
287
- !x || ie || (r == null || r(w), u == null || u(w), w.defaultPrevented || s == null || s());
288
- }, f), I = Jt((w) => {
289
- const D = w.target;
282
+ !w || ie || (r == null || r(x), c == null || c(x), x.defaultPrevented || s == null || s());
283
+ }, f), I = en((x) => {
284
+ const D = x.target;
290
285
  [
291
286
  ...p.branches
292
287
  ].some(
293
288
  (M) => M.contains(D)
294
- ) || (i == null || i(w), u == null || u(w), w.defaultPrevented || s == null || s());
289
+ ) || (i == null || i(x), c == null || c(x), x.defaultPrevented || s == null || s());
295
290
  }, f);
296
- return Kt((w) => {
297
- y === p.layers.size - 1 && (a == null || a(w), !w.defaultPrevented && s && (w.preventDefault(), s()));
291
+ return Vt((x) => {
292
+ y === p.layers.size - 1 && (a == null || a(x), !x.defaultPrevented && s && (x.preventDefault(), s()));
298
293
  }, f), A(() => {
299
294
  if (l)
300
295
  return o && (p.layersWithOutsidePointerEventsDisabled.size === 0 && (Fe = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), p.layersWithOutsidePointerEventsDisabled.add(l)), p.layers.add(l), je(), () => {
@@ -311,34 +306,34 @@ const Yt = /* @__PURE__ */ Ce({
311
306
  l,
312
307
  p
313
308
  ]), A(() => {
314
- const w = () => E({});
315
- return document.addEventListener(Ne, w), () => document.removeEventListener(Ne, w);
309
+ const x = () => E({});
310
+ return document.addEventListener(Ne, x), () => document.removeEventListener(Ne, x);
316
311
  }, []), /* @__PURE__ */ g(q.div, N({}, d, {
317
- ref: c,
312
+ ref: u,
318
313
  style: {
319
- pointerEvents: $ ? x ? "auto" : "none" : void 0,
314
+ pointerEvents: $ ? w ? "auto" : "none" : void 0,
320
315
  ...e.style
321
316
  },
322
- onFocusCapture: U(e.onFocusCapture, I.onFocusCapture),
323
- onBlurCapture: U(e.onBlurCapture, I.onBlurCapture),
324
- onPointerDownCapture: U(e.onPointerDownCapture, F.onPointerDownCapture)
317
+ onFocusCapture: W(e.onFocusCapture, I.onFocusCapture),
318
+ onBlurCapture: W(e.onBlurCapture, I.onBlurCapture),
319
+ onPointerDownCapture: W(e.onPointerDownCapture, F.onPointerDownCapture)
325
320
  }));
326
321
  });
327
- function Qt(e, n = globalThis == null ? void 0 : globalThis.document) {
328
- const t = K(e), o = C(!1), a = C(() => {
322
+ function Jt(e, n = globalThis == null ? void 0 : globalThis.document) {
323
+ const t = G(e), o = C(!1), a = C(() => {
329
324
  });
330
325
  return A(() => {
331
- const r = (u) => {
332
- if (u.target && !o.current) {
326
+ const r = (c) => {
327
+ if (c.target && !o.current) {
333
328
  let d = function() {
334
- ot(Vt, t, s, {
329
+ rt(Xt, t, s, {
335
330
  discrete: !0
336
331
  });
337
332
  };
338
333
  const s = {
339
- originalEvent: u
334
+ originalEvent: c
340
335
  };
341
- u.pointerType === "touch" ? (n.removeEventListener("click", a.current), a.current = d, n.addEventListener("click", a.current, {
336
+ c.pointerType === "touch" ? (n.removeEventListener("click", a.current), a.current = d, n.addEventListener("click", a.current, {
342
337
  once: !0
343
338
  })) : d();
344
339
  } else
@@ -358,11 +353,11 @@ function Qt(e, n = globalThis == null ? void 0 : globalThis.document) {
358
353
  onPointerDownCapture: () => o.current = !0
359
354
  };
360
355
  }
361
- function Jt(e, n = globalThis == null ? void 0 : globalThis.document) {
362
- const t = K(e), o = C(!1);
356
+ function en(e, n = globalThis == null ? void 0 : globalThis.document) {
357
+ const t = G(e), o = C(!1);
363
358
  return A(() => {
364
359
  const a = (r) => {
365
- r.target && !o.current && ot(Xt, t, {
360
+ r.target && !o.current && rt(Yt, t, {
366
361
  originalEvent: r
367
362
  }, {
368
363
  discrete: !1
@@ -381,7 +376,7 @@ function je() {
381
376
  const e = new CustomEvent(Ne);
382
377
  document.dispatchEvent(e);
383
378
  }
384
- function ot(e, n, t, { discrete: o }) {
379
+ function rt(e, n, t, { discrete: o }) {
385
380
  const a = t.originalEvent.target, r = new CustomEvent(e, {
386
381
  bubbles: !1,
387
382
  cancelable: !0,
@@ -394,10 +389,10 @@ function ot(e, n, t, { discrete: o }) {
394
389
  const $e = "focusScope.autoFocusOnMount", ye = "focusScope.autoFocusOnUnmount", Be = {
395
390
  bubbles: !1,
396
391
  cancelable: !0
397
- }, en = /* @__PURE__ */ S((e, n) => {
398
- const { loop: t = !1, trapped: o = !1, onMountAutoFocus: a, onUnmountAutoFocus: r, ...i } = e, [u, s] = G(null), d = K(a), p = K(r), l = C(null), h = J(
392
+ }, tn = /* @__PURE__ */ S((e, n) => {
393
+ const { loop: t = !1, trapped: o = !1, onMountAutoFocus: a, onUnmountAutoFocus: r, ...i } = e, [c, s] = K(null), d = G(a), p = G(r), l = C(null), h = J(
399
394
  n,
400
- (c) => s(c)
395
+ (u) => s(u)
401
396
  ), f = C({
402
397
  paused: !1,
403
398
  pause() {
@@ -409,74 +404,70 @@ const $e = "focusScope.autoFocusOnMount", ye = "focusScope.autoFocusOnUnmount",
409
404
  }).current;
410
405
  A(() => {
411
406
  if (o) {
412
- let c = function(y) {
413
- if (f.paused || !u)
414
- return;
407
+ let u = function(y) {
408
+ if (f.paused || !c) return;
415
409
  const $ = y.target;
416
- u.contains($) ? l.current = $ : B(l.current, {
410
+ c.contains($) ? l.current = $ : B(l.current, {
417
411
  select: !0
418
412
  });
419
413
  }, v = function(y) {
420
- if (f.paused || !u)
421
- return;
414
+ if (f.paused || !c) return;
422
415
  const $ = y.relatedTarget;
423
- $ !== null && (u.contains($) || B(l.current, {
416
+ $ !== null && (c.contains($) || B(l.current, {
424
417
  select: !0
425
418
  }));
426
419
  }, b = function(y) {
427
420
  if (document.activeElement === document.body)
428
- for (const x of y)
429
- x.removedNodes.length > 0 && B(u);
421
+ for (const w of y) w.removedNodes.length > 0 && B(c);
430
422
  };
431
- document.addEventListener("focusin", c), document.addEventListener("focusout", v);
423
+ document.addEventListener("focusin", u), document.addEventListener("focusout", v);
432
424
  const O = new MutationObserver(b);
433
- return u && O.observe(u, {
425
+ return c && O.observe(c, {
434
426
  childList: !0,
435
427
  subtree: !0
436
428
  }), () => {
437
- document.removeEventListener("focusin", c), document.removeEventListener("focusout", v), O.disconnect();
429
+ document.removeEventListener("focusin", u), document.removeEventListener("focusout", v), O.disconnect();
438
430
  };
439
431
  }
440
432
  }, [
441
433
  o,
442
- u,
434
+ c,
443
435
  f.paused
444
436
  ]), A(() => {
445
- if (u) {
446
- Ue.add(f);
447
- const c = document.activeElement;
448
- if (!u.contains(c)) {
437
+ if (c) {
438
+ We.add(f);
439
+ const u = document.activeElement;
440
+ if (!c.contains(u)) {
449
441
  const b = new CustomEvent($e, Be);
450
- u.addEventListener($e, d), u.dispatchEvent(b), b.defaultPrevented || (tn(un(at(u)), {
442
+ c.addEventListener($e, d), c.dispatchEvent(b), b.defaultPrevented || (nn(un(ot(c)), {
451
443
  select: !0
452
- }), document.activeElement === c && B(u));
444
+ }), document.activeElement === u && B(c));
453
445
  }
454
446
  return () => {
455
- u.removeEventListener($e, d), setTimeout(() => {
447
+ c.removeEventListener($e, d), setTimeout(() => {
456
448
  const b = new CustomEvent(ye, Be);
457
- u.addEventListener(ye, p), u.dispatchEvent(b), b.defaultPrevented || B(c ?? document.body, {
449
+ c.addEventListener(ye, p), c.dispatchEvent(b), b.defaultPrevented || B(u ?? document.body, {
458
450
  select: !0
459
- }), u.removeEventListener(ye, p), Ue.remove(f);
451
+ }), c.removeEventListener(ye, p), We.remove(f);
460
452
  }, 0);
461
453
  };
462
454
  }
463
455
  }, [
464
- u,
456
+ c,
465
457
  d,
466
458
  p,
467
459
  f
468
460
  ]);
469
- const E = Q((c) => {
470
- if (!t && !o || f.paused)
471
- return;
472
- const v = c.key === "Tab" && !c.altKey && !c.ctrlKey && !c.metaKey, b = document.activeElement;
461
+ const E = Q((u) => {
462
+ if (!t && !o || f.paused) return;
463
+ const v = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, b = document.activeElement;
473
464
  if (v && b) {
474
- const O = c.currentTarget, [y, $] = nn(O);
475
- y && $ ? !c.shiftKey && b === $ ? (c.preventDefault(), t && B(y, {
465
+ const O = u.currentTarget, [y, $] = rn(O);
466
+ y && $ ? !u.shiftKey && b === $ ? (u.preventDefault(), t && B(y, {
476
467
  select: !0
477
- })) : c.shiftKey && b === y && (c.preventDefault(), t && B($, {
468
+ })) : u.shiftKey && b === y && (u.preventDefault(), t && B($, {
478
469
  select: !0
479
- })) : b === O && c.preventDefault();
470
+ })) : b === O && u.preventDefault();
480
471
  }
481
472
  }, [
482
473
  t,
@@ -490,52 +481,46 @@ const $e = "focusScope.autoFocusOnMount", ye = "focusScope.autoFocusOnUnmount",
490
481
  onKeyDown: E
491
482
  }));
492
483
  });
493
- function tn(e, { select: n = !1 } = {}) {
484
+ function nn(e, { select: n = !1 } = {}) {
494
485
  const t = document.activeElement;
495
486
  for (const o of e)
496
487
  if (B(o, {
497
488
  select: n
498
- }), document.activeElement !== t)
499
- return;
489
+ }), document.activeElement !== t) return;
500
490
  }
501
- function nn(e) {
502
- const n = at(e), t = We(n, e), o = We(n.reverse(), e);
491
+ function rn(e) {
492
+ const n = ot(e), t = Ue(n, e), o = Ue(n.reverse(), e);
503
493
  return [
504
494
  t,
505
495
  o
506
496
  ];
507
497
  }
508
- function at(e) {
498
+ function ot(e) {
509
499
  const n = [], t = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
510
500
  acceptNode: (o) => {
511
501
  const a = o.tagName === "INPUT" && o.type === "hidden";
512
502
  return o.disabled || o.hidden || a ? NodeFilter.FILTER_SKIP : o.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
513
503
  }
514
504
  });
515
- for (; t.nextNode(); )
516
- n.push(t.currentNode);
505
+ for (; t.nextNode(); ) n.push(t.currentNode);
517
506
  return n;
518
507
  }
519
- function We(e, n) {
508
+ function Ue(e, n) {
520
509
  for (const t of e)
521
- if (!rn(t, {
510
+ if (!on(t, {
522
511
  upTo: n
523
- }))
524
- return t;
512
+ })) return t;
525
513
  }
526
- function rn(e, { upTo: n }) {
527
- if (getComputedStyle(e).visibility === "hidden")
528
- return !0;
514
+ function on(e, { upTo: n }) {
515
+ if (getComputedStyle(e).visibility === "hidden") return !0;
529
516
  for (; e; ) {
530
- if (n !== void 0 && e === n)
531
- return !1;
532
- if (getComputedStyle(e).display === "none")
533
- return !0;
517
+ if (n !== void 0 && e === n) return !1;
518
+ if (getComputedStyle(e).display === "none") return !0;
534
519
  e = e.parentElement;
535
520
  }
536
521
  return !1;
537
522
  }
538
- function on(e) {
523
+ function an(e) {
539
524
  return e instanceof HTMLInputElement && "select" in e;
540
525
  }
541
526
  function B(e, { select: n = !1 } = {}) {
@@ -543,11 +528,11 @@ function B(e, { select: n = !1 } = {}) {
543
528
  const t = document.activeElement;
544
529
  e.focus({
545
530
  preventScroll: !0
546
- }), e !== t && on(e) && n && e.select();
531
+ }), e !== t && an(e) && n && e.select();
547
532
  }
548
533
  }
549
- const Ue = an();
550
- function an() {
534
+ const We = cn();
535
+ function cn() {
551
536
  let e = [];
552
537
  return {
553
538
  add(n) {
@@ -571,21 +556,21 @@ function un(e) {
571
556
  (n) => n.tagName !== "A"
572
557
  );
573
558
  }
574
- const cn = /* @__PURE__ */ S((e, n) => {
559
+ const sn = /* @__PURE__ */ S((e, n) => {
575
560
  var t;
576
561
  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__ */ g(q.div, N({}, a, {
562
+ return o ? /* @__PURE__ */ Lt.createPortal(/* @__PURE__ */ g(q.div, N({}, a, {
578
563
  ref: n
579
564
  })), o) : null;
580
565
  });
581
- function sn(e, n) {
582
- return It((t, o) => {
566
+ function ln(e, n) {
567
+ return Rt((t, o) => {
583
568
  const a = n[t][o];
584
569
  return a ?? t;
585
570
  }, e);
586
571
  }
587
572
  const ge = (e) => {
588
- const { present: n, children: t } = e, o = ln(n), a = typeof t == "function" ? t({
573
+ const { present: n, children: t } = e, o = dn(n), a = typeof t == "function" ? t({
589
574
  present: o.isPresent
590
575
  }) : R.only(t), r = J(o.ref, a.ref);
591
576
  return typeof t == "function" || o.isPresent ? /* @__PURE__ */ ae(a, {
@@ -593,8 +578,8 @@ const ge = (e) => {
593
578
  }) : null;
594
579
  };
595
580
  ge.displayName = "Presence";
596
- function ln(e) {
597
- const [n, t] = G(), o = C({}), a = C(e), r = C("none"), i = e ? "mounted" : "unmounted", [u, s] = sn(i, {
581
+ function dn(e) {
582
+ const [n, t] = K(), o = C({}), a = C(e), r = C("none"), i = e ? "mounted" : "unmounted", [c, s] = ln(i, {
598
583
  mounted: {
599
584
  UNMOUNT: "unmounted",
600
585
  ANIMATION_OUT: "unmountSuspended"
@@ -608,14 +593,14 @@ function ln(e) {
608
593
  }
609
594
  });
610
595
  return A(() => {
611
- const d = ue(o.current);
612
- r.current = u === "mounted" ? d : "none";
596
+ const d = ce(o.current);
597
+ r.current = c === "mounted" ? d : "none";
613
598
  }, [
614
- u
599
+ c
615
600
  ]), Oe(() => {
616
601
  const d = o.current, p = a.current;
617
602
  if (p !== e) {
618
- const h = r.current, f = ue(d);
603
+ const h = r.current, f = ce(d);
619
604
  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
605
  }
621
606
  }, [
@@ -624,12 +609,12 @@ function ln(e) {
624
609
  ]), Oe(() => {
625
610
  if (n) {
626
611
  const d = (l) => {
627
- const f = ue(o.current).includes(l.animationName);
628
- l.target === n && f && nt(
612
+ const f = ce(o.current).includes(l.animationName);
613
+ l.target === n && f && tt(
629
614
  () => s("ANIMATION_END")
630
615
  );
631
616
  }, p = (l) => {
632
- l.target === n && (r.current = ue(o.current));
617
+ l.target === n && (r.current = ce(o.current));
633
618
  };
634
619
  return n.addEventListener("animationstart", p), n.addEventListener("animationcancel", d), n.addEventListener("animationend", d), () => {
635
620
  n.removeEventListener("animationstart", p), n.removeEventListener("animationcancel", d), n.removeEventListener("animationend", d);
@@ -643,17 +628,17 @@ function ln(e) {
643
628
  isPresent: [
644
629
  "mounted",
645
630
  "unmountSuspended"
646
- ].includes(u),
631
+ ].includes(c),
647
632
  ref: Q((d) => {
648
633
  d && (o.current = getComputedStyle(d)), t(d);
649
634
  }, [])
650
635
  };
651
636
  }
652
- function ue(e) {
637
+ function ce(e) {
653
638
  return (e == null ? void 0 : e.animationName) || "none";
654
639
  }
655
640
  let Ee = 0;
656
- function dn() {
641
+ function pn() {
657
642
  A(() => {
658
643
  var e, n;
659
644
  const t = document.querySelectorAll("[data-radix-focus-guard]");
@@ -672,33 +657,30 @@ var k = function() {
672
657
  return k = Object.assign || function(n) {
673
658
  for (var t, o = 1, a = arguments.length; o < a; o++) {
674
659
  t = arguments[o];
675
- for (var r in t)
676
- Object.prototype.hasOwnProperty.call(t, r) && (n[r] = t[r]);
660
+ for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (n[r] = t[r]);
677
661
  }
678
662
  return n;
679
663
  }, k.apply(this, arguments);
680
664
  };
681
- function it(e, n) {
665
+ function at(e, n) {
682
666
  var t = {};
683
- for (var o in e)
684
- Object.prototype.hasOwnProperty.call(e, o) && n.indexOf(o) < 0 && (t[o] = e[o]);
667
+ for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && n.indexOf(o) < 0 && (t[o] = e[o]);
685
668
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
686
669
  for (var a = 0, o = Object.getOwnPropertySymbols(e); a < o.length; a++)
687
670
  n.indexOf(o[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[a]) && (t[o[a]] = e[o[a]]);
688
671
  return t;
689
672
  }
690
- function pn(e, n, t) {
691
- if (t || arguments.length === 2)
692
- for (var o = 0, a = n.length, r; o < a; o++)
693
- (r || !(o in n)) && (r || (r = Array.prototype.slice.call(n, 0, o)), r[o] = n[o]);
673
+ function fn(e, n, t) {
674
+ if (t || arguments.length === 2) for (var o = 0, a = n.length, r; o < a; o++)
675
+ (r || !(o in n)) && (r || (r = Array.prototype.slice.call(n, 0, o)), r[o] = n[o]);
694
676
  return e.concat(r || Array.prototype.slice.call(n));
695
677
  }
696
- var ve = "right-scroll-bar-position", he = "width-before-scroll-bar", fn = "with-scroll-bars-hidden", vn = "--removed-body-scroll-bar-size";
697
- function hn(e, n) {
678
+ var ve = "right-scroll-bar-position", he = "width-before-scroll-bar", vn = "with-scroll-bars-hidden", hn = "--removed-body-scroll-bar-size";
679
+ function mn(e, n) {
698
680
  return typeof e == "function" ? e(n) : e && (e.current = n), e;
699
681
  }
700
- function mn(e, n) {
701
- var t = G(function() {
682
+ function gn(e, n) {
683
+ var t = K(function() {
702
684
  return {
703
685
  // value
704
686
  value: e,
@@ -718,18 +700,18 @@ function mn(e, n) {
718
700
  })[0];
719
701
  return t.callback = n, t.facade;
720
702
  }
721
- function gn(e, n) {
722
- return mn(null, function(t) {
703
+ function _n(e, n) {
704
+ return gn(null, function(t) {
723
705
  return e.forEach(function(o) {
724
- return hn(o, t);
706
+ return mn(o, t);
725
707
  });
726
708
  });
727
709
  }
728
- function _n(e) {
710
+ function bn(e) {
729
711
  return e;
730
712
  }
731
- function bn(e, n) {
732
- n === void 0 && (n = _n);
713
+ function $n(e, n) {
714
+ n === void 0 && (n = bn);
733
715
  var t = [], o = !1, a = {
734
716
  read: function() {
735
717
  if (o)
@@ -739,8 +721,8 @@ function bn(e, n) {
739
721
  useMedium: function(r) {
740
722
  var i = n(r, o);
741
723
  return t.push(i), function() {
742
- t = t.filter(function(u) {
743
- return u !== i;
724
+ t = t.filter(function(c) {
725
+ return c !== i;
744
726
  });
745
727
  };
746
728
  },
@@ -750,8 +732,8 @@ function bn(e, n) {
750
732
  t = [], i.forEach(r);
751
733
  }
752
734
  t = {
753
- push: function(u) {
754
- return r(u);
735
+ push: function(c) {
736
+ return r(c);
755
737
  },
756
738
  filter: function() {
757
739
  return t;
@@ -762,8 +744,8 @@ function bn(e, n) {
762
744
  o = !0;
763
745
  var i = [];
764
746
  if (t.length) {
765
- var u = t;
766
- t = [], u.forEach(r), i = t;
747
+ var c = t;
748
+ t = [], c.forEach(r), i = t;
767
749
  }
768
750
  var s = function() {
769
751
  var p = i;
@@ -783,13 +765,13 @@ function bn(e, n) {
783
765
  };
784
766
  return a;
785
767
  }
786
- function $n(e) {
768
+ function yn(e) {
787
769
  e === void 0 && (e = {});
788
- var n = bn(null);
770
+ var n = $n(null);
789
771
  return n.options = k({ async: !0, ssr: !1 }, e), n;
790
772
  }
791
- var ut = function(e) {
792
- var n = e.sideCar, t = it(e, ["sideCar"]);
773
+ var it = function(e) {
774
+ var n = e.sideCar, t = at(e, ["sideCar"]);
793
775
  if (!n)
794
776
  throw new Error("Sidecar: please provide `sideCar` property to import the right car");
795
777
  var o = n.read();
@@ -797,22 +779,22 @@ var ut = function(e) {
797
779
  throw new Error("Sidecar medium not found");
798
780
  return m.createElement(o, k({}, t));
799
781
  };
800
- ut.isSideCarExport = !0;
801
- function yn(e, n) {
802
- return e.useMedium(n), ut;
782
+ it.isSideCarExport = !0;
783
+ function En(e, n) {
784
+ return e.useMedium(n), it;
803
785
  }
804
- var ct = $n(), we = function() {
786
+ var ct = yn(), xe = function() {
805
787
  }, _e = m.forwardRef(function(e, n) {
806
788
  var t = m.useRef(null), o = m.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, O = it(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), y = h, $ = gn([t, n]), x = k(k({}, O), a);
789
+ onScrollCapture: xe,
790
+ onWheelCapture: xe,
791
+ onTouchMoveCapture: xe
792
+ }), a = o[0], r = o[1], i = e.forwardProps, c = e.children, s = e.className, d = e.removeScrollBar, p = e.enabled, l = e.shards, h = e.sideCar, f = e.noIsolation, E = e.inert, u = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, O = at(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), y = h, $ = _n([t, n]), w = k(k({}, O), a);
811
793
  return m.createElement(
812
794
  m.Fragment,
813
795
  null,
814
- p && m.createElement(y, { sideCar: ct, removeScrollBar: d, shards: l, noIsolation: f, inert: E, setCallbacks: r, allowPinchZoom: !!c, lockRef: t }),
815
- i ? m.cloneElement(m.Children.only(u), k(k({}, x), { ref: $ })) : m.createElement(b, k({}, x, { className: s, ref: $ }), u)
796
+ p && m.createElement(y, { sideCar: ct, removeScrollBar: d, shards: l, noIsolation: f, inert: E, setCallbacks: r, allowPinchZoom: !!u, lockRef: t }),
797
+ i ? m.cloneElement(m.Children.only(c), k(k({}, w), { ref: $ })) : m.createElement(b, k({}, w, { className: s, ref: $ }), c)
816
798
  );
817
799
  });
818
800
  _e.defaultProps = {
@@ -824,7 +806,7 @@ _e.classNames = {
824
806
  fullWidth: he,
825
807
  zeroRight: ve
826
808
  };
827
- var En = function() {
809
+ var xn = function() {
828
810
  if (typeof __webpack_nonce__ < "u")
829
811
  return __webpack_nonce__;
830
812
  };
@@ -833,28 +815,28 @@ function wn() {
833
815
  return null;
834
816
  var e = document.createElement("style");
835
817
  e.type = "text/css";
836
- var n = En();
818
+ var n = xn();
837
819
  return n && e.setAttribute("nonce", n), e;
838
820
  }
839
- function xn(e, n) {
821
+ function Sn(e, n) {
840
822
  e.styleSheet ? e.styleSheet.cssText = n : e.appendChild(document.createTextNode(n));
841
823
  }
842
- function Sn(e) {
824
+ function Cn(e) {
843
825
  var n = document.head || document.getElementsByTagName("head")[0];
844
826
  n.appendChild(e);
845
827
  }
846
- var Cn = function() {
828
+ var On = function() {
847
829
  var e = 0, n = null;
848
830
  return {
849
831
  add: function(t) {
850
- e == 0 && (n = wn()) && (xn(n, t), Sn(n)), e++;
832
+ e == 0 && (n = wn()) && (Sn(n, t), Cn(n)), e++;
851
833
  },
852
834
  remove: function() {
853
835
  e--, !e && n && (n.parentNode && n.parentNode.removeChild(n), n = null);
854
836
  }
855
837
  };
856
- }, On = function() {
857
- var e = Cn();
838
+ }, Pn = function() {
839
+ var e = On();
858
840
  return function(n, t) {
859
841
  m.useEffect(function() {
860
842
  return e.add(n), function() {
@@ -862,38 +844,38 @@ var Cn = function() {
862
844
  };
863
845
  }, [n && t]);
864
846
  };
865
- }, st = function() {
866
- var e = On(), n = function(t) {
847
+ }, ut = function() {
848
+ var e = Pn(), n = function(t) {
867
849
  var o = t.styles, a = t.dynamic;
868
850
  return e(o, a), null;
869
851
  };
870
852
  return n;
871
- }, Pn = {
853
+ }, Nn = {
872
854
  left: 0,
873
855
  top: 0,
874
856
  right: 0,
875
857
  gap: 0
876
- }, xe = function(e) {
858
+ }, we = function(e) {
877
859
  return parseInt(e || "", 10) || 0;
878
- }, Nn = function(e) {
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 [xe(t), xe(o), xe(a)];
881
860
  }, An = function(e) {
861
+ var n = window.getComputedStyle(document.body), t = n[e === "padding" ? "paddingLeft" : "marginLeft"], o = n[e === "padding" ? "paddingTop" : "marginTop"], a = n[e === "padding" ? "paddingRight" : "marginRight"];
862
+ return [we(t), we(o), we(a)];
863
+ }, Tn = function(e) {
882
864
  if (e === void 0 && (e = "margin"), typeof window > "u")
883
- return Pn;
884
- var n = Nn(e), t = document.documentElement.clientWidth, o = window.innerWidth;
865
+ return Nn;
866
+ var n = An(e), t = document.documentElement.clientWidth, o = window.innerWidth;
885
867
  return {
886
868
  left: n[0],
887
869
  top: n[1],
888
870
  right: n[2],
889
871
  gap: Math.max(0, o - t + n[2] - n[0])
890
872
  };
891
- }, Tn = st(), Dn = function(e, n, t, o) {
892
- var a = e.left, r = e.top, i = e.right, u = e.gap;
873
+ }, Dn = ut(), In = function(e, n, t, o) {
874
+ var a = e.left, r = e.top, i = e.right, c = e.gap;
893
875
  return t === void 0 && (t = "margin"), `
894
- .`.concat(fn, ` {
876
+ .`.concat(vn, ` {
895
877
  overflow: hidden `).concat(o, `;
896
- padding-right: `).concat(u, "px ").concat(o, `;
878
+ padding-right: `).concat(c, "px ").concat(o, `;
897
879
  }
898
880
  body {
899
881
  overflow: hidden `).concat(o, `;
@@ -906,18 +888,18 @@ var Cn = function() {
906
888
  padding-right: `).concat(i, `px;
907
889
  margin-left:0;
908
890
  margin-top:0;
909
- margin-right: `).concat(u, "px ").concat(o, `;
891
+ margin-right: `).concat(c, "px ").concat(o, `;
910
892
  `),
911
- t === "padding" && "padding-right: ".concat(u, "px ").concat(o, ";")
893
+ t === "padding" && "padding-right: ".concat(c, "px ").concat(o, ";")
912
894
  ].filter(Boolean).join(""), `
913
895
  }
914
896
 
915
897
  .`).concat(ve, ` {
916
- right: `).concat(u, "px ").concat(o, `;
898
+ right: `).concat(c, "px ").concat(o, `;
917
899
  }
918
900
 
919
901
  .`).concat(he, ` {
920
- margin-right: `).concat(u, "px ").concat(o, `;
902
+ margin-right: `).concat(c, "px ").concat(o, `;
921
903
  }
922
904
 
923
905
  .`).concat(ve, " .").concat(ve, ` {
@@ -929,161 +911,161 @@ var Cn = function() {
929
911
  }
930
912
 
931
913
  body {
932
- `).concat(vn, ": ").concat(u, `px;
914
+ `).concat(hn, ": ").concat(c, `px;
933
915
  }
934
916
  `);
935
- }, In = function(e) {
917
+ }, Rn = function(e) {
936
918
  var n = e.noRelative, t = e.noImportant, o = e.gapMode, a = o === void 0 ? "margin" : o, r = m.useMemo(function() {
937
- return An(a);
919
+ return Tn(a);
938
920
  }, [a]);
939
- return m.createElement(Tn, { styles: Dn(r, !n, a, t ? "" : "!important") });
921
+ return m.createElement(Dn, { styles: In(r, !n, a, t ? "" : "!important") });
940
922
  }, Ae = !1;
941
923
  if (typeof window < "u")
942
924
  try {
943
- var ce = Object.defineProperty({}, "passive", {
925
+ var ue = Object.defineProperty({}, "passive", {
944
926
  get: function() {
945
927
  return Ae = !0, !0;
946
928
  }
947
929
  });
948
- window.addEventListener("test", ce, ce), window.removeEventListener("test", ce, ce);
930
+ window.addEventListener("test", ue, ue), window.removeEventListener("test", ue, ue);
949
931
  } catch {
950
932
  Ae = !1;
951
933
  }
952
- var V = Ae ? { passive: !1 } : !1, Rn = function(e) {
934
+ var V = Ae ? { passive: !1 } : !1, Ln = function(e) {
953
935
  return e.tagName === "TEXTAREA";
954
- }, lt = function(e, n) {
936
+ }, st = function(e, n) {
955
937
  var t = window.getComputedStyle(e);
956
938
  return (
957
939
  // not-not-scrollable
958
940
  t[n] !== "hidden" && // contains scroll inside self
959
- !(t.overflowY === t.overflowX && !Rn(e) && t[n] === "visible")
941
+ !(t.overflowY === t.overflowX && !Ln(e) && t[n] === "visible")
960
942
  );
961
- }, Ln = function(e) {
962
- return lt(e, "overflowY");
963
943
  }, Mn = function(e) {
964
- return lt(e, "overflowX");
944
+ return st(e, "overflowY");
945
+ }, kn = function(e) {
946
+ return st(e, "overflowX");
965
947
  }, He = function(e, n) {
966
948
  var t = n;
967
949
  do {
968
950
  typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
969
- var o = dt(e, t);
951
+ var o = lt(e, t);
970
952
  if (o) {
971
- var a = pt(e, t), r = a[1], i = a[2];
953
+ var a = dt(e, t), r = a[1], i = a[2];
972
954
  if (r > i)
973
955
  return !0;
974
956
  }
975
957
  t = t.parentNode;
976
958
  } while (t && t !== document.body);
977
959
  return !1;
978
- }, kn = function(e) {
960
+ }, Fn = function(e) {
979
961
  var n = e.scrollTop, t = e.scrollHeight, o = e.clientHeight;
980
962
  return [
981
963
  n,
982
964
  t,
983
965
  o
984
966
  ];
985
- }, Fn = function(e) {
967
+ }, jn = function(e) {
986
968
  var n = e.scrollLeft, t = e.scrollWidth, o = e.clientWidth;
987
969
  return [
988
970
  n,
989
971
  t,
990
972
  o
991
973
  ];
974
+ }, lt = function(e, n) {
975
+ return e === "v" ? Mn(n) : kn(n);
992
976
  }, dt = function(e, n) {
993
- return e === "v" ? Ln(n) : Mn(n);
994
- }, pt = function(e, n) {
995
- return e === "v" ? kn(n) : Fn(n);
996
- }, jn = function(e, n) {
977
+ return e === "v" ? Fn(n) : jn(n);
978
+ }, Bn = function(e, n) {
997
979
  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, s = n.contains(u), d = !1, p = i > 0, l = 0, h = 0;
980
+ }, Un = function(e, n, t, o, a) {
981
+ var r = Bn(e, window.getComputedStyle(n).direction), i = r * o, c = t.target, s = n.contains(c), d = !1, p = i > 0, l = 0, h = 0;
1000
982
  do {
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) && (l += b, h += E), u = u.parentNode;
983
+ var f = dt(e, c), E = f[0], u = f[1], v = f[2], b = u - v - r * E;
984
+ (E || b) && lt(e, c) && (l += b, h += E), c = c.parentNode;
1003
985
  } while (
1004
986
  // portaled content
1005
- !s && u !== document.body || // self content
1006
- s && (n.contains(u) || n === u)
987
+ !s && c !== document.body || // self content
988
+ s && (n.contains(c) || n === c)
1007
989
  );
1008
990
  return (p && (l === 0 || !a) || !p && (h === 0 || !a)) && (d = !0), d;
1009
991
  }, se = function(e) {
1010
992
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
1011
- }, Ge = function(e) {
1012
- return [e.deltaX, e.deltaY];
1013
993
  }, Ke = function(e) {
994
+ return [e.deltaX, e.deltaY];
995
+ }, Ge = function(e) {
1014
996
  return e && "current" in e ? e.current : e;
1015
997
  }, Wn = function(e, n) {
1016
998
  return e[0] === n[0] && e[1] === n[1];
1017
- }, Un = function(e) {
999
+ }, zn = function(e) {
1018
1000
  return `
1019
1001
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
1020
1002
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
1021
1003
  `);
1022
- }, zn = 0, X = [];
1023
- function qn(e) {
1024
- var n = m.useRef([]), t = m.useRef([0, 0]), o = m.useRef(), a = m.useState(zn++)[0], r = m.useState(function() {
1025
- return st();
1004
+ }, qn = 0, X = [];
1005
+ function Hn(e) {
1006
+ var n = m.useRef([]), t = m.useRef([0, 0]), o = m.useRef(), a = m.useState(qn++)[0], r = m.useState(function() {
1007
+ return ut();
1026
1008
  })[0], i = m.useRef(e);
1027
1009
  m.useEffect(function() {
1028
1010
  i.current = e;
1029
1011
  }, [e]), m.useEffect(function() {
1030
1012
  if (e.inert) {
1031
1013
  document.body.classList.add("block-interactivity-".concat(a));
1032
- var c = pn([e.lockRef.current], (e.shards || []).map(Ke), !0).filter(Boolean);
1033
- return c.forEach(function(v) {
1014
+ var u = fn([e.lockRef.current], (e.shards || []).map(Ge), !0).filter(Boolean);
1015
+ return u.forEach(function(v) {
1034
1016
  return v.classList.add("allow-interactivity-".concat(a));
1035
1017
  }), function() {
1036
- document.body.classList.remove("block-interactivity-".concat(a)), c.forEach(function(v) {
1018
+ document.body.classList.remove("block-interactivity-".concat(a)), u.forEach(function(v) {
1037
1019
  return v.classList.remove("allow-interactivity-".concat(a));
1038
1020
  });
1039
1021
  };
1040
1022
  }
1041
1023
  }, [e.inert, e.lockRef.current, e.shards]);
1042
- var u = m.useCallback(function(c, v) {
1043
- if ("touches" in c && c.touches.length === 2)
1024
+ var c = m.useCallback(function(u, v) {
1025
+ if ("touches" in u && u.touches.length === 2)
1044
1026
  return !i.current.allowPinchZoom;
1045
- var b = se(c), O = t.current, y = "deltaX" in c ? c.deltaX : O[0] - b[0], $ = "deltaY" in c ? c.deltaY : O[1] - b[1], x, F = c.target, I = Math.abs(y) > Math.abs($) ? "h" : "v";
1046
- if ("touches" in c && I === "h" && F.type === "range")
1027
+ var b = se(u), O = t.current, y = "deltaX" in u ? u.deltaX : O[0] - b[0], $ = "deltaY" in u ? u.deltaY : O[1] - b[1], w, F = u.target, I = Math.abs(y) > Math.abs($) ? "h" : "v";
1028
+ if ("touches" in u && I === "h" && F.type === "range")
1047
1029
  return !1;
1048
- var w = He(I, F);
1049
- if (!w)
1030
+ var x = He(I, F);
1031
+ if (!x)
1050
1032
  return !0;
1051
- if (w ? x = I : (x = I === "v" ? "h" : "v", w = He(I, F)), !w)
1033
+ if (x ? w = I : (w = I === "v" ? "h" : "v", x = He(I, F)), !x)
1052
1034
  return !1;
1053
- if (!o.current && "changedTouches" in c && (y || $) && (o.current = x), !x)
1035
+ if (!o.current && "changedTouches" in u && (y || $) && (o.current = w), !w)
1054
1036
  return !0;
1055
- var D = o.current || x;
1056
- return Bn(D, v, c, D === "h" ? y : $, !0);
1057
- }, []), s = m.useCallback(function(c) {
1058
- var v = c;
1037
+ var D = o.current || w;
1038
+ return Un(D, v, u, D === "h" ? y : $, !0);
1039
+ }, []), s = m.useCallback(function(u) {
1040
+ var v = u;
1059
1041
  if (!(!X.length || X[X.length - 1] !== r)) {
1060
- var b = "deltaY" in v ? Ge(v) : se(v), O = n.current.filter(function(x) {
1061
- return x.name === v.type && x.target === v.target && Wn(x.delta, b);
1042
+ var b = "deltaY" in v ? Ke(v) : se(v), O = n.current.filter(function(w) {
1043
+ return w.name === v.type && w.target === v.target && Wn(w.delta, b);
1062
1044
  })[0];
1063
1045
  if (O && O.should) {
1064
1046
  v.cancelable && v.preventDefault();
1065
1047
  return;
1066
1048
  }
1067
1049
  if (!O) {
1068
- var y = (i.current.shards || []).map(Ke).filter(Boolean).filter(function(x) {
1069
- return x.contains(v.target);
1070
- }), $ = y.length > 0 ? u(v, y[0]) : !i.current.noIsolation;
1050
+ var y = (i.current.shards || []).map(Ge).filter(Boolean).filter(function(w) {
1051
+ return w.contains(v.target);
1052
+ }), $ = y.length > 0 ? c(v, y[0]) : !i.current.noIsolation;
1071
1053
  $ && v.cancelable && v.preventDefault();
1072
1054
  }
1073
1055
  }
1074
- }, []), d = m.useCallback(function(c, v, b, O) {
1075
- var y = { name: c, delta: v, target: b, should: O };
1056
+ }, []), d = m.useCallback(function(u, v, b, O) {
1057
+ var y = { name: u, delta: v, target: b, should: O };
1076
1058
  n.current.push(y), setTimeout(function() {
1077
1059
  n.current = n.current.filter(function($) {
1078
1060
  return $ !== y;
1079
1061
  });
1080
1062
  }, 1);
1081
- }, []), p = m.useCallback(function(c) {
1082
- t.current = se(c), o.current = void 0;
1083
- }, []), l = m.useCallback(function(c) {
1084
- d(c.type, Ge(c), c.target, u(c, e.lockRef.current));
1085
- }, []), h = m.useCallback(function(c) {
1086
- d(c.type, se(c), c.target, u(c, e.lockRef.current));
1063
+ }, []), p = m.useCallback(function(u) {
1064
+ t.current = se(u), o.current = void 0;
1065
+ }, []), l = m.useCallback(function(u) {
1066
+ d(u.type, Ke(u), u.target, c(u, e.lockRef.current));
1067
+ }, []), h = m.useCallback(function(u) {
1068
+ d(u.type, se(u), u.target, c(u, e.lockRef.current));
1087
1069
  }, []);
1088
1070
  m.useEffect(function() {
1089
1071
  return X.push(r), e.setCallbacks({
@@ -1091,8 +1073,8 @@ function qn(e) {
1091
1073
  onWheelCapture: l,
1092
1074
  onTouchMoveCapture: h
1093
1075
  }), document.addEventListener("wheel", s, V), document.addEventListener("touchmove", s, V), document.addEventListener("touchstart", p, V), function() {
1094
- X = X.filter(function(c) {
1095
- return c !== r;
1076
+ X = X.filter(function(u) {
1077
+ return u !== r;
1096
1078
  }), document.removeEventListener("wheel", s, V), document.removeEventListener("touchmove", s, V), document.removeEventListener("touchstart", p, V);
1097
1079
  };
1098
1080
  }, []);
@@ -1100,70 +1082,70 @@ function qn(e) {
1100
1082
  return m.createElement(
1101
1083
  m.Fragment,
1102
1084
  null,
1103
- E ? m.createElement(r, { styles: Un(a) }) : null,
1104
- f ? m.createElement(In, { gapMode: "margin" }) : null
1085
+ E ? m.createElement(r, { styles: zn(a) }) : null,
1086
+ f ? m.createElement(Rn, { gapMode: "margin" }) : null
1105
1087
  );
1106
1088
  }
1107
- const Hn = yn(ct, qn);
1108
- var ft = m.forwardRef(function(e, n) {
1109
- return m.createElement(_e, k({}, e, { ref: n, sideCar: Hn }));
1089
+ const Kn = En(ct, Hn);
1090
+ var pt = m.forwardRef(function(e, n) {
1091
+ return m.createElement(_e, k({}, e, { ref: n, sideCar: Kn }));
1110
1092
  });
1111
- ft.classNames = _e.classNames;
1093
+ pt.classNames = _e.classNames;
1112
1094
  var Gn = function(e) {
1113
1095
  if (typeof document > "u")
1114
1096
  return null;
1115
1097
  var n = Array.isArray(e) ? e[0] : e;
1116
1098
  return n.ownerDocument.body;
1117
- }, Y = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), de = {}, Se = 0, vt = function(e) {
1118
- return e && (e.host || vt(e.parentNode));
1119
- }, Kn = function(e, n) {
1099
+ }, Y = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), de = {}, Se = 0, ft = function(e) {
1100
+ return e && (e.host || ft(e.parentNode));
1101
+ }, Vn = function(e, n) {
1120
1102
  return n.map(function(t) {
1121
1103
  if (e.contains(t))
1122
1104
  return t;
1123
- var o = vt(t);
1105
+ var o = ft(t);
1124
1106
  return o && e.contains(o) ? o : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
1125
1107
  }).filter(function(t) {
1126
1108
  return !!t;
1127
1109
  });
1128
- }, Vn = function(e, n, t, o) {
1129
- var a = Kn(n, Array.isArray(e) ? e : [e]);
1110
+ }, Xn = function(e, n, t, o) {
1111
+ var a = Vn(n, Array.isArray(e) ? e : [e]);
1130
1112
  de[t] || (de[t] = /* @__PURE__ */ new WeakMap());
1131
- var r = de[t], i = [], u = /* @__PURE__ */ new Set(), s = new Set(a), d = function(l) {
1132
- !l || u.has(l) || (u.add(l), d(l.parentNode));
1113
+ var r = de[t], i = [], c = /* @__PURE__ */ new Set(), s = new Set(a), d = function(l) {
1114
+ !l || c.has(l) || (c.add(l), d(l.parentNode));
1133
1115
  };
1134
1116
  a.forEach(d);
1135
1117
  var p = function(l) {
1136
1118
  !l || s.has(l) || Array.prototype.forEach.call(l.children, function(h) {
1137
- if (u.has(h))
1119
+ if (c.has(h))
1138
1120
  p(h);
1139
1121
  else {
1140
- var f = h.getAttribute(o), E = f !== null && f !== "false", c = (Y.get(h) || 0) + 1, v = (r.get(h) || 0) + 1;
1141
- Y.set(h, c), r.set(h, v), i.push(h), c === 1 && E && le.set(h, !0), v === 1 && h.setAttribute(t, "true"), E || h.setAttribute(o, "true");
1122
+ var f = h.getAttribute(o), E = f !== null && f !== "false", u = (Y.get(h) || 0) + 1, v = (r.get(h) || 0) + 1;
1123
+ Y.set(h, u), r.set(h, v), i.push(h), u === 1 && E && le.set(h, !0), v === 1 && h.setAttribute(t, "true"), E || h.setAttribute(o, "true");
1142
1124
  }
1143
1125
  });
1144
1126
  };
1145
- return p(n), u.clear(), Se++, function() {
1127
+ return p(n), c.clear(), Se++, function() {
1146
1128
  i.forEach(function(l) {
1147
1129
  var h = Y.get(l) - 1, f = r.get(l) - 1;
1148
1130
  Y.set(l, h), r.set(l, f), h || (le.has(l) || l.removeAttribute(o), le.delete(l)), f || l.removeAttribute(t);
1149
1131
  }), Se--, Se || (Y = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), de = {});
1150
1132
  };
1151
- }, Xn = function(e, n, t) {
1133
+ }, Yn = function(e, n, t) {
1152
1134
  t === void 0 && (t = "data-aria-hidden");
1153
1135
  var o = Array.from(Array.isArray(e) ? e : [e]), a = Gn(e);
1154
- return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), Vn(o, a, t, "aria-hidden")) : function() {
1136
+ return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), Xn(o, a, t, "aria-hidden")) : function() {
1155
1137
  return null;
1156
1138
  };
1157
1139
  };
1158
- const ht = "Dialog", [mt, Eo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1159
- const { __scopeDialog: n, children: t, open: o, defaultOpen: a, onOpenChange: r, modal: i = !0 } = e, u = C(null), s = C(null), [d = !1, p] = Bt({
1140
+ const vt = "Dialog", [ht, Eo] = kt(vt), [Zn, L] = ht(vt), Qn = (e) => {
1141
+ const { __scopeDialog: n, children: t, open: o, defaultOpen: a, onOpenChange: r, modal: i = !0 } = e, c = C(null), s = C(null), [d = !1, p] = Ut({
1160
1142
  prop: o,
1161
1143
  defaultProp: a,
1162
1144
  onChange: r
1163
1145
  });
1164
- return /* @__PURE__ */ g(Yn, {
1146
+ return /* @__PURE__ */ g(Zn, {
1165
1147
  scope: n,
1166
- triggerRef: u,
1148
+ triggerRef: c,
1167
1149
  contentRef: s,
1168
1150
  contentId: be(),
1169
1151
  titleId: be(),
@@ -1180,8 +1162,8 @@ const ht = "Dialog", [mt, Eo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1180
1162
  ),
1181
1163
  modal: i
1182
1164
  }, t);
1183
- }, Qn = "DialogTrigger", Jn = /* @__PURE__ */ S((e, n) => {
1184
- const { __scopeDialog: t, ...o } = e, a = L(Qn, t), r = J(n, a.triggerRef);
1165
+ }, Jn = "DialogTrigger", er = /* @__PURE__ */ S((e, n) => {
1166
+ const { __scopeDialog: t, ...o } = e, a = L(Jn, t), r = J(n, a.triggerRef);
1185
1167
  return /* @__PURE__ */ g(q.button, N({
1186
1168
  type: "button",
1187
1169
  "aria-haspopup": "dialog",
@@ -1190,37 +1172,37 @@ const ht = "Dialog", [mt, Eo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1190
1172
  "data-state": Le(a.open)
1191
1173
  }, o, {
1192
1174
  ref: r,
1193
- onClick: U(e.onClick, a.onOpenToggle)
1175
+ onClick: W(e.onClick, a.onOpenToggle)
1194
1176
  }));
1195
- }), gt = "DialogPortal", [er, _t] = mt(gt, {
1177
+ }), mt = "DialogPortal", [tr, gt] = ht(mt, {
1196
1178
  forceMount: void 0
1197
- }), tr = (e) => {
1198
- const { __scopeDialog: n, forceMount: t, children: o, container: a } = e, r = L(gt, n);
1199
- return /* @__PURE__ */ g(er, {
1179
+ }), nr = (e) => {
1180
+ const { __scopeDialog: n, forceMount: t, children: o, container: a } = e, r = L(mt, n);
1181
+ return /* @__PURE__ */ g(tr, {
1200
1182
  scope: n,
1201
1183
  forceMount: t
1202
1184
  }, R.map(
1203
1185
  o,
1204
1186
  (i) => /* @__PURE__ */ g(ge, {
1205
1187
  present: t || r.open
1206
- }, /* @__PURE__ */ g(cn, {
1188
+ }, /* @__PURE__ */ g(sn, {
1207
1189
  asChild: !0,
1208
1190
  container: a
1209
1191
  }, i))
1210
1192
  ));
1211
- }, Te = "DialogOverlay", nr = /* @__PURE__ */ S((e, n) => {
1212
- const t = _t(Te, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(Te, e.__scopeDialog);
1193
+ }, Te = "DialogOverlay", rr = /* @__PURE__ */ S((e, n) => {
1194
+ const t = gt(Te, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(Te, e.__scopeDialog);
1213
1195
  return r.modal ? /* @__PURE__ */ g(ge, {
1214
1196
  present: o || r.open
1215
- }, /* @__PURE__ */ g(rr, N({}, a, {
1197
+ }, /* @__PURE__ */ g(or, N({}, a, {
1216
1198
  ref: n
1217
1199
  }))) : null;
1218
- }), rr = /* @__PURE__ */ S((e, n) => {
1200
+ }), or = /* @__PURE__ */ S((e, n) => {
1219
1201
  const { __scopeDialog: t, ...o } = e, a = L(Te, t);
1220
1202
  return (
1221
1203
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
1222
1204
  // ie. when `Overlay` and `Content` are siblings
1223
- /* @__PURE__ */ g(ft, {
1205
+ /* @__PURE__ */ g(pt, {
1224
1206
  as: Re,
1225
1207
  allowPinchZoom: !0,
1226
1208
  shards: [
@@ -1236,98 +1218,97 @@ const ht = "Dialog", [mt, Eo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1236
1218
  }
1237
1219
  })))
1238
1220
  );
1239
- }), oe = "DialogContent", or = /* @__PURE__ */ S((e, n) => {
1240
- const t = _t(oe, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(oe, e.__scopeDialog);
1221
+ }), oe = "DialogContent", ar = /* @__PURE__ */ S((e, n) => {
1222
+ const t = gt(oe, e.__scopeDialog), { forceMount: o = t.forceMount, ...a } = e, r = L(oe, e.__scopeDialog);
1241
1223
  return /* @__PURE__ */ g(ge, {
1242
1224
  present: o || r.open
1243
- }, r.modal ? /* @__PURE__ */ g(ar, N({}, a, {
1225
+ }, r.modal ? /* @__PURE__ */ g(ir, N({}, a, {
1244
1226
  ref: n
1245
- })) : /* @__PURE__ */ g(ir, N({}, a, {
1227
+ })) : /* @__PURE__ */ g(cr, N({}, a, {
1246
1228
  ref: n
1247
1229
  })));
1248
- }), ar = /* @__PURE__ */ S((e, n) => {
1230
+ }), ir = /* @__PURE__ */ S((e, n) => {
1249
1231
  const t = L(oe, e.__scopeDialog), o = C(null), a = J(n, t.contentRef, o);
1250
1232
  return A(() => {
1251
1233
  const r = o.current;
1252
- if (r)
1253
- return Xn(r);
1254
- }, []), /* @__PURE__ */ g(bt, N({}, e, {
1234
+ if (r) return Yn(r);
1235
+ }, []), /* @__PURE__ */ g(_t, N({}, e, {
1255
1236
  ref: a,
1256
1237
  trapFocus: t.open,
1257
1238
  disableOutsidePointerEvents: !0,
1258
- onCloseAutoFocus: U(e.onCloseAutoFocus, (r) => {
1239
+ onCloseAutoFocus: W(e.onCloseAutoFocus, (r) => {
1259
1240
  var i;
1260
1241
  r.preventDefault(), (i = t.triggerRef.current) === null || i === void 0 || i.focus();
1261
1242
  }),
1262
- onPointerDownOutside: U(e.onPointerDownOutside, (r) => {
1263
- const i = r.detail.originalEvent, u = i.button === 0 && i.ctrlKey === !0;
1264
- (i.button === 2 || u) && r.preventDefault();
1243
+ onPointerDownOutside: W(e.onPointerDownOutside, (r) => {
1244
+ const i = r.detail.originalEvent, c = i.button === 0 && i.ctrlKey === !0;
1245
+ (i.button === 2 || c) && r.preventDefault();
1265
1246
  }),
1266
- onFocusOutside: U(
1247
+ onFocusOutside: W(
1267
1248
  e.onFocusOutside,
1268
1249
  (r) => r.preventDefault()
1269
1250
  )
1270
1251
  }));
1271
- }), ir = /* @__PURE__ */ S((e, n) => {
1252
+ }), cr = /* @__PURE__ */ S((e, n) => {
1272
1253
  const t = L(oe, e.__scopeDialog), o = C(!1), a = C(!1);
1273
- return /* @__PURE__ */ g(bt, N({}, e, {
1254
+ return /* @__PURE__ */ g(_t, N({}, e, {
1274
1255
  ref: n,
1275
1256
  trapFocus: !1,
1276
1257
  disableOutsidePointerEvents: !1,
1277
1258
  onCloseAutoFocus: (r) => {
1278
1259
  var i;
1279
1260
  if ((i = e.onCloseAutoFocus) === null || i === void 0 || i.call(e, r), !r.defaultPrevented) {
1280
- var u;
1281
- o.current || (u = t.triggerRef.current) === null || u === void 0 || u.focus(), r.preventDefault();
1261
+ var c;
1262
+ o.current || (c = t.triggerRef.current) === null || c === void 0 || c.focus(), r.preventDefault();
1282
1263
  }
1283
1264
  o.current = !1, a.current = !1;
1284
1265
  },
1285
1266
  onInteractOutside: (r) => {
1286
- var i, u;
1267
+ var i, c;
1287
1268
  (i = e.onInteractOutside) === null || i === void 0 || i.call(e, r), r.defaultPrevented || (o.current = !0, r.detail.originalEvent.type === "pointerdown" && (a.current = !0));
1288
1269
  const s = r.target;
1289
- ((u = t.triggerRef.current) === null || u === void 0 ? void 0 : u.contains(s)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && a.current && r.preventDefault();
1270
+ ((c = t.triggerRef.current) === null || c === void 0 ? void 0 : c.contains(s)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && a.current && r.preventDefault();
1290
1271
  }
1291
1272
  }));
1292
- }), bt = /* @__PURE__ */ S((e, n) => {
1293
- const { __scopeDialog: t, trapFocus: o, onOpenAutoFocus: a, onCloseAutoFocus: r, ...i } = e, u = L(oe, t), s = C(null), d = J(n, s);
1294
- return dn(), /* @__PURE__ */ g(Ie, null, /* @__PURE__ */ g(en, {
1273
+ }), _t = /* @__PURE__ */ S((e, n) => {
1274
+ const { __scopeDialog: t, trapFocus: o, onOpenAutoFocus: a, onCloseAutoFocus: r, ...i } = e, c = L(oe, t), s = C(null), d = J(n, s);
1275
+ return pn(), /* @__PURE__ */ g(Ie, null, /* @__PURE__ */ g(tn, {
1295
1276
  asChild: !0,
1296
1277
  loop: !0,
1297
1278
  trapped: o,
1298
1279
  onMountAutoFocus: a,
1299
1280
  onUnmountAutoFocus: r
1300
- }, /* @__PURE__ */ g(Zt, N({
1281
+ }, /* @__PURE__ */ g(Qt, N({
1301
1282
  role: "dialog",
1302
- id: u.contentId,
1303
- "aria-describedby": u.descriptionId,
1304
- "aria-labelledby": u.titleId,
1305
- "data-state": Le(u.open)
1283
+ id: c.contentId,
1284
+ "aria-describedby": c.descriptionId,
1285
+ "aria-labelledby": c.titleId,
1286
+ "data-state": Le(c.open)
1306
1287
  }, i, {
1307
1288
  ref: d,
1308
- onDismiss: () => u.onOpenChange(!1)
1289
+ onDismiss: () => c.onOpenChange(!1)
1309
1290
  }))), !1);
1310
- }), ur = "DialogTitle", cr = /* @__PURE__ */ S((e, n) => {
1291
+ }), ur = "DialogTitle", sr = /* @__PURE__ */ S((e, n) => {
1311
1292
  const { __scopeDialog: t, ...o } = e, a = L(ur, t);
1312
1293
  return /* @__PURE__ */ g(q.h2, N({
1313
1294
  id: a.titleId
1314
1295
  }, o, {
1315
1296
  ref: n
1316
1297
  }));
1317
- }), sr = "DialogDescription", lr = /* @__PURE__ */ S((e, n) => {
1318
- const { __scopeDialog: t, ...o } = e, a = L(sr, t);
1298
+ }), lr = "DialogDescription", dr = /* @__PURE__ */ S((e, n) => {
1299
+ const { __scopeDialog: t, ...o } = e, a = L(lr, t);
1319
1300
  return /* @__PURE__ */ g(q.p, N({
1320
1301
  id: a.descriptionId
1321
1302
  }, o, {
1322
1303
  ref: n
1323
1304
  }));
1324
- }), dr = "DialogClose", pr = /* @__PURE__ */ S((e, n) => {
1325
- const { __scopeDialog: t, ...o } = e, a = L(dr, t);
1305
+ }), pr = "DialogClose", fr = /* @__PURE__ */ S((e, n) => {
1306
+ const { __scopeDialog: t, ...o } = e, a = L(pr, t);
1326
1307
  return /* @__PURE__ */ g(q.button, N({
1327
1308
  type: "button"
1328
1309
  }, o, {
1329
1310
  ref: n,
1330
- onClick: U(
1311
+ onClick: W(
1331
1312
  e.onClick,
1332
1313
  () => a.onOpenChange(!1)
1333
1314
  )
@@ -1336,15 +1317,15 @@ const ht = "Dialog", [mt, Eo] = Mt(ht), [Yn, L] = mt(ht), Zn = (e) => {
1336
1317
  function Le(e) {
1337
1318
  return e ? "open" : "closed";
1338
1319
  }
1339
- const fr = Zn, vr = Jn, hr = tr, mr = nr, gr = or, _r = cr, Ve = lr, br = pr, Xe = {
1320
+ const vr = Qn, hr = er, mr = nr, gr = rr, _r = ar, br = sr, Ve = dr, $r = fr, yr = {
1340
1321
  SM: "sm",
1341
1322
  MD: "md",
1342
1323
  LG: "lg"
1343
1324
  };
1344
- function $r(e) {
1325
+ function Er(e) {
1345
1326
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1346
1327
  }
1347
- var $t = { exports: {} };
1328
+ var bt = { exports: {} };
1348
1329
  /*!
1349
1330
  Copyright (c) 2018 Jed Watson.
1350
1331
  Licensed under the MIT License (MIT), see
@@ -1355,8 +1336,8 @@ var $t = { exports: {} };
1355
1336
  var n = {}.hasOwnProperty;
1356
1337
  function t() {
1357
1338
  for (var r = "", i = 0; i < arguments.length; i++) {
1358
- var u = arguments[i];
1359
- u && (r = a(r, o(u)));
1339
+ var c = arguments[i];
1340
+ c && (r = a(r, o(c)));
1360
1341
  }
1361
1342
  return r;
1362
1343
  }
@@ -1370,8 +1351,8 @@ var $t = { exports: {} };
1370
1351
  if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1371
1352
  return r.toString();
1372
1353
  var i = "";
1373
- for (var u in r)
1374
- n.call(r, u) && r[u] && (i = a(i, u));
1354
+ for (var c in r)
1355
+ n.call(r, c) && r[c] && (i = a(i, c));
1375
1356
  return i;
1376
1357
  }
1377
1358
  function a(r, i) {
@@ -1379,42 +1360,42 @@ var $t = { exports: {} };
1379
1360
  }
1380
1361
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1381
1362
  })();
1382
- })($t);
1383
- var yr = $t.exports;
1384
- const Ye = /* @__PURE__ */ $r(yr), Er = "_rotate_1xozj_1", wr = "_dash_1xozj_1", ee = {
1363
+ })(bt);
1364
+ var xr = bt.exports;
1365
+ const Xe = /* @__PURE__ */ Er(xr), wr = "_rotate_1xozj_1", Sr = "_dash_1xozj_1", ee = {
1385
1366
  "purpur-spinner": "_purpur-spinner_1xozj_1",
1386
- rotate: Er,
1367
+ rotate: wr,
1387
1368
  "purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
1388
1369
  "purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
1389
1370
  "purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
1390
1371
  "purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
1391
1372
  "purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
1392
1373
  "purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
1393
- dash: wr,
1374
+ dash: Sr,
1394
1375
  "purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
1395
1376
  "purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
1396
- }, te = "purpur-spinner", xr = {
1377
+ }, te = "purpur-spinner", Cr = {
1397
1378
  XXS: "xxs",
1398
1379
  XS: "xs",
1399
1380
  SM: "sm",
1400
1381
  MD: "md",
1401
1382
  LG: "lg"
1402
- }, Sr = ({
1383
+ }, Or = ({
1403
1384
  ["data-testid"]: e,
1404
1385
  disabled: n = !1,
1405
1386
  negative: t = !1,
1406
- size: o = xr.SM,
1387
+ size: o = Cr.SM,
1407
1388
  ...a
1408
1389
  }) => /* @__PURE__ */ _(
1409
1390
  "div",
1410
1391
  {
1411
- className: Ye([ee[te], ee[`${te}--${o}`]]),
1392
+ className: Xe([ee[te], ee[`${te}--${o}`]]),
1412
1393
  "data-testid": e,
1413
1394
  ...a,
1414
1395
  children: /* @__PURE__ */ _("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ _(
1415
1396
  "circle",
1416
1397
  {
1417
- className: Ye(ee[`${te}__circle`], {
1398
+ className: Xe(ee[`${te}__circle`], {
1418
1399
  [ee[`${te}__circle--disabled`]]: n,
1419
1400
  [ee[`${te}__circle--negative`]]: t
1420
1401
  }),
@@ -1425,10 +1406,10 @@ const Ye = /* @__PURE__ */ $r(yr), Er = "_rotate_1xozj_1", wr = "_dash_1xozj_1",
1425
1406
  ) })
1426
1407
  }
1427
1408
  );
1428
- function Cr(e) {
1409
+ function Pr(e) {
1429
1410
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1430
1411
  }
1431
- var yt = { exports: {} };
1412
+ var $t = { exports: {} };
1432
1413
  /*!
1433
1414
  Copyright (c) 2018 Jed Watson.
1434
1415
  Licensed under the MIT License (MIT), see
@@ -1439,8 +1420,8 @@ var yt = { exports: {} };
1439
1420
  var n = {}.hasOwnProperty;
1440
1421
  function t() {
1441
1422
  for (var r = "", i = 0; i < arguments.length; i++) {
1442
- var u = arguments[i];
1443
- u && (r = a(r, o.call(this, u)));
1423
+ var c = arguments[i];
1424
+ c && (r = a(r, o.call(this, c)));
1444
1425
  }
1445
1426
  return r;
1446
1427
  }
@@ -1454,8 +1435,8 @@ var yt = { exports: {} };
1454
1435
  if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1455
1436
  return r.toString();
1456
1437
  var i = "";
1457
- for (var u in r)
1458
- n.call(r, u) && r[u] && (i = a(i, this && this[u] || u));
1438
+ for (var c in r)
1439
+ n.call(r, c) && r[c] && (i = a(i, this && this[c] || c));
1459
1440
  return i;
1460
1441
  }
1461
1442
  function a(r, i) {
@@ -1463,30 +1444,30 @@ var yt = { exports: {} };
1463
1444
  }
1464
1445
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1465
1446
  })();
1466
- })(yt);
1467
- var Or = yt.exports;
1468
- const Pr = /* @__PURE__ */ Cr(Or), Nr = {
1469
- "purpur-button": "_purpur-button_u2yv5_1",
1470
- "purpur-button--sm": "_purpur-button--sm_u2yv5_33",
1471
- "purpur-button--icon-only": "_purpur-button--icon-only_u2yv5_36",
1472
- "purpur-button--md": "_purpur-button--md_u2yv5_39",
1473
- "purpur-button--lg": "_purpur-button--lg_u2yv5_45",
1474
- "purpur-button--full-width": "_purpur-button--full-width_u2yv5_51",
1475
- "purpur-button--primary": "_purpur-button--primary_u2yv5_54",
1476
- "purpur-button--disabled": "_purpur-button--disabled_u2yv5_58",
1477
- "purpur-button--primary-negative": "_purpur-button--primary-negative_u2yv5_64",
1478
- "purpur-button--secondary": "_purpur-button--secondary_u2yv5_76",
1479
- "purpur-button--secondary-negative": "_purpur-button--secondary-negative_u2yv5_87",
1480
- "purpur-button--expressive": "_purpur-button--expressive_u2yv5_98",
1481
- "purpur-button--expressive-negative": "_purpur-button--expressive-negative_u2yv5_108",
1482
- "purpur-button--negative": "_purpur-button--negative_u2yv5_120",
1483
- "purpur-button--destructive": "_purpur-button--destructive_u2yv5_127",
1484
- "purpur-button--destructive-negative": "_purpur-button--destructive-negative_u2yv5_137",
1485
- "purpur-button--tertiary-purple": "_purpur-button--tertiary-purple_u2yv5_147",
1486
- "purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_u2yv5_160",
1487
- "purpur-button--text-negative": "_purpur-button--text-negative_u2yv5_175",
1488
- "purpur-button--text": "_purpur-button--text_u2yv5_175"
1489
- }, Ar = Pr.bind(Nr), H = "purpur-button", Tr = ({
1447
+ })($t);
1448
+ var Nr = $t.exports;
1449
+ const Ar = /* @__PURE__ */ Pr(Nr), Tr = {
1450
+ "purpur-button": "_purpur-button_1acxn_1",
1451
+ "purpur-button--sm": "_purpur-button--sm_1acxn_33",
1452
+ "purpur-button--icon-only": "_purpur-button--icon-only_1acxn_36",
1453
+ "purpur-button--md": "_purpur-button--md_1acxn_39",
1454
+ "purpur-button--lg": "_purpur-button--lg_1acxn_45",
1455
+ "purpur-button--full-width": "_purpur-button--full-width_1acxn_51",
1456
+ "purpur-button--primary": "_purpur-button--primary_1acxn_54",
1457
+ "purpur-button--disabled": "_purpur-button--disabled_1acxn_58",
1458
+ "purpur-button--primary-negative": "_purpur-button--primary-negative_1acxn_64",
1459
+ "purpur-button--secondary": "_purpur-button--secondary_1acxn_76",
1460
+ "purpur-button--secondary-negative": "_purpur-button--secondary-negative_1acxn_87",
1461
+ "purpur-button--expressive": "_purpur-button--expressive_1acxn_98",
1462
+ "purpur-button--expressive-negative": "_purpur-button--expressive-negative_1acxn_108",
1463
+ "purpur-button--negative": "_purpur-button--negative_1acxn_120",
1464
+ "purpur-button--destructive": "_purpur-button--destructive_1acxn_127",
1465
+ "purpur-button--destructive-negative": "_purpur-button--destructive-negative_1acxn_137",
1466
+ "purpur-button--tertiary-purple": "_purpur-button--tertiary-purple_1acxn_147",
1467
+ "purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_1acxn_160",
1468
+ "purpur-button--text-negative": "_purpur-button--text-negative_1acxn_175",
1469
+ "purpur-button--text": "_purpur-button--text_1acxn_175"
1470
+ }, Dr = Ar.bind(Tr), H = "purpur-button", Ir = ({
1490
1471
  children: e,
1491
1472
  className: n,
1492
1473
  ["data-testid"]: t,
@@ -1494,32 +1475,32 @@ const Pr = /* @__PURE__ */ Cr(Or), Nr = {
1494
1475
  fullWidth: a = !1,
1495
1476
  iconOnly: r,
1496
1477
  loading: i = !1,
1497
- negative: u = !1,
1478
+ negative: c = !1,
1498
1479
  onClick: s,
1499
- size: d = Xe.MD,
1480
+ size: d = "md",
1500
1481
  variant: p,
1501
1482
  type: l = "button",
1502
1483
  ...h
1503
1484
  }, f) => {
1504
1485
  if (r && p === "destructive")
1505
1486
  return null;
1506
- const E = Ar(
1487
+ const E = Dr(
1507
1488
  [
1508
1489
  H,
1509
- `${H}--${u ? `${p}-negative` : p}`,
1490
+ `${H}--${c ? `${p}-negative` : p}`,
1510
1491
  `${H}--${d}`
1511
1492
  ],
1512
1493
  {
1513
1494
  [`${H}--icon-only`]: r,
1514
- [`${H}--negative`]: u,
1495
+ [`${H}--negative`]: c,
1515
1496
  [`${H}--full-width`]: a,
1516
1497
  [`${H}--disabled`]: o || i
1517
1498
  },
1518
1499
  n
1519
- ), c = (b) => {
1500
+ ), u = (b) => {
1520
1501
  o || i ? b.preventDefault() : s && s(b);
1521
1502
  }, v = !!h["aria-disabled"] || o || i;
1522
- return /* @__PURE__ */ W(
1503
+ return /* @__PURE__ */ U(
1523
1504
  "button",
1524
1505
  {
1525
1506
  className: E,
@@ -1527,21 +1508,21 @@ const Pr = /* @__PURE__ */ Cr(Or), Nr = {
1527
1508
  type: l,
1528
1509
  ref: f,
1529
1510
  "aria-disabled": v,
1530
- onClick: c,
1511
+ onClick: u,
1531
1512
  ...h,
1532
1513
  children: [
1533
- i && /* @__PURE__ */ _(Sr, { size: d === Xe.LG ? "xs" : "xxs", negative: u, disabled: v }),
1514
+ i && /* @__PURE__ */ _(Or, { size: d === yr.LG ? "xs" : "xxs", negative: c, disabled: v }),
1534
1515
  " ",
1535
1516
  e
1536
1517
  ]
1537
1518
  }
1538
1519
  );
1539
- }, Me = S(Tr);
1520
+ }, Me = S(Ir);
1540
1521
  Me.displayName = "Button";
1541
- function Dr(e) {
1522
+ function Rr(e) {
1542
1523
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1543
1524
  }
1544
- var Et = { exports: {} };
1525
+ var yt = { exports: {} };
1545
1526
  /*!
1546
1527
  Copyright (c) 2018 Jed Watson.
1547
1528
  Licensed under the MIT License (MIT), see
@@ -1552,8 +1533,8 @@ var Et = { exports: {} };
1552
1533
  var n = {}.hasOwnProperty;
1553
1534
  function t() {
1554
1535
  for (var r = "", i = 0; i < arguments.length; i++) {
1555
- var u = arguments[i];
1556
- u && (r = a(r, o(u)));
1536
+ var c = arguments[i];
1537
+ c && (r = a(r, o(c)));
1557
1538
  }
1558
1539
  return r;
1559
1540
  }
@@ -1567,8 +1548,8 @@ var Et = { exports: {} };
1567
1548
  if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1568
1549
  return r.toString();
1569
1550
  var i = "";
1570
- for (var u in r)
1571
- n.call(r, u) && r[u] && (i = a(i, u));
1551
+ for (var c in r)
1552
+ n.call(r, c) && r[c] && (i = a(i, c));
1572
1553
  return i;
1573
1554
  }
1574
1555
  function a(r, i) {
@@ -1576,9 +1557,9 @@ var Et = { exports: {} };
1576
1557
  }
1577
1558
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1578
1559
  })();
1579
- })(Et);
1580
- var Ir = Et.exports;
1581
- const Rr = /* @__PURE__ */ Dr(Ir), pe = {
1560
+ })(yt);
1561
+ var Lr = yt.exports;
1562
+ const Mr = /* @__PURE__ */ Rr(Lr), pe = {
1582
1563
  "purpur-heading": "_purpur-heading_k9fhq_1",
1583
1564
  "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
1584
1565
  "purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
@@ -1594,7 +1575,7 @@ const Rr = /* @__PURE__ */ Dr(Ir), pe = {
1594
1575
  "purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
1595
1576
  "purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
1596
1577
  "purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
1597
- }, Lr = {
1578
+ }, kr = {
1598
1579
  TITLE100: "title-100",
1599
1580
  TITLE200: "title-200",
1600
1581
  TITLE300: "title-300",
@@ -1603,17 +1584,17 @@ const Rr = /* @__PURE__ */ Dr(Ir), pe = {
1603
1584
  TITLE600: "title-600",
1604
1585
  TITLE700: "title-700",
1605
1586
  SUBSECTION100: "subsection-100"
1606
- }, fe = "purpur-heading", Mr = ({
1587
+ }, fe = "purpur-heading", Et = ({
1607
1588
  ["data-testid"]: e,
1608
1589
  children: n,
1609
1590
  className: t = "",
1610
1591
  enableHyphenation: o = !1,
1611
1592
  negative: a = !1,
1612
1593
  tag: r,
1613
- variant: i = Lr.TITLE100,
1614
- ...u
1594
+ variant: i = kr.TITLE100,
1595
+ ...c
1615
1596
  }) => {
1616
- const s = r, d = Rr([
1597
+ const s = r, d = Mr([
1617
1598
  t,
1618
1599
  pe[fe],
1619
1600
  pe[`${fe}--${i}`],
@@ -1622,12 +1603,13 @@ const Rr = /* @__PURE__ */ Dr(Ir), pe = {
1622
1603
  [pe[`${fe}--negative`]]: a
1623
1604
  }
1624
1605
  ]);
1625
- return /* @__PURE__ */ _(s, { ...u, className: d, "data-testid": e, children: n });
1606
+ return /* @__PURE__ */ _(s, { ...c, className: d, "data-testid": e, children: n });
1626
1607
  };
1627
- function kr(e) {
1608
+ Et.displayName = "Heading";
1609
+ function Fr(e) {
1628
1610
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1629
1611
  }
1630
- var wt = { exports: {} };
1612
+ var xt = { exports: {} };
1631
1613
  /*!
1632
1614
  Copyright (c) 2018 Jed Watson.
1633
1615
  Licensed under the MIT License (MIT), see
@@ -1638,8 +1620,8 @@ var wt = { exports: {} };
1638
1620
  var n = {}.hasOwnProperty;
1639
1621
  function t() {
1640
1622
  for (var r = "", i = 0; i < arguments.length; i++) {
1641
- var u = arguments[i];
1642
- u && (r = a(r, o.call(this, u)));
1623
+ var c = arguments[i];
1624
+ c && (r = a(r, o.call(this, c)));
1643
1625
  }
1644
1626
  return r;
1645
1627
  }
@@ -1653,8 +1635,8 @@ var wt = { exports: {} };
1653
1635
  if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1654
1636
  return r.toString();
1655
1637
  var i = "";
1656
- for (var u in r)
1657
- n.call(r, u) && r[u] && (i = a(i, this && this[u] || u));
1638
+ for (var c in r)
1639
+ n.call(r, c) && r[c] && (i = a(i, this && this[c] || c));
1658
1640
  return i;
1659
1641
  }
1660
1642
  function a(r, i) {
@@ -1662,9 +1644,9 @@ var wt = { exports: {} };
1662
1644
  }
1663
1645
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1664
1646
  })();
1665
- })(wt);
1666
- var Fr = wt.exports;
1667
- const jr = /* @__PURE__ */ kr(Fr), Br = {
1647
+ })(xt);
1648
+ var jr = xt.exports;
1649
+ const Br = /* @__PURE__ */ Fr(jr), Ur = {
1668
1650
  "purpur-icon": "_purpur-icon_8u1lq_1",
1669
1651
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
1670
1652
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -1677,46 +1659,46 @@ const jr = /* @__PURE__ */ kr(Fr), Br = {
1677
1659
  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>',
1678
1660
  keywords: ["close"],
1679
1661
  category: "utility"
1680
- }, xt = (e) => /* @__PURE__ */ _(
1681
- Kr,
1662
+ }, wt = (e) => /* @__PURE__ */ _(
1663
+ Vr,
1682
1664
  {
1683
1665
  ...e,
1684
1666
  svg: Wr
1685
1667
  }
1686
1668
  );
1687
- xt.displayName = "IconClose";
1688
- const Ur = jr.bind(Br), Ze = "purpur-icon", zr = "md", qr = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Hr = ({ content: e = "", title: n } = {}) => {
1669
+ wt.displayName = "IconClose";
1670
+ const zr = Br.bind(Ur), Ye = "purpur-icon", qr = "md", Hr = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Kr = ({ content: e = "", title: n } = {}) => {
1689
1671
  const t = [
1690
1672
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
1691
1673
  { name: "fill", value: "currentColor" },
1692
1674
  { name: "viewBox", value: "0 0 24 24" },
1693
1675
  n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
1694
1676
  ], o = n ? `<title>${n}</title>` : "";
1695
- return `<svg ${qr(t)}>${o}${e}</svg>`;
1696
- }, Gr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Kr = ({
1677
+ return `<svg ${Hr(t)}>${o}${e}</svg>`;
1678
+ }, Gr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Vr = ({
1697
1679
  ["data-testid"]: e,
1698
1680
  svg: n,
1699
1681
  allyTitle: t,
1700
- className: o = "",
1701
- size: a = zr,
1682
+ className: o,
1683
+ size: a = qr,
1702
1684
  ...r
1703
1685
  }) => {
1704
- const i = Hr({
1686
+ const i = Kr({
1705
1687
  content: Gr(n.svg),
1706
1688
  title: t
1707
- }), u = Ur(o, Ze, `${Ze}--${a}`);
1689
+ }), c = zr(o, Ye, `${Ye}--${a}`);
1708
1690
  return /* @__PURE__ */ _(
1709
1691
  "span",
1710
1692
  {
1711
1693
  "aria-label": t,
1712
- className: u,
1694
+ className: c,
1713
1695
  "data-testid": e,
1714
1696
  dangerouslySetInnerHTML: { __html: i },
1715
1697
  ...r
1716
1698
  }
1717
1699
  );
1718
1700
  };
1719
- function Vr(e) {
1701
+ function Xr(e) {
1720
1702
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1721
1703
  }
1722
1704
  var St = { exports: {} };
@@ -1730,8 +1712,8 @@ var St = { exports: {} };
1730
1712
  var n = {}.hasOwnProperty;
1731
1713
  function t() {
1732
1714
  for (var r = "", i = 0; i < arguments.length; i++) {
1733
- var u = arguments[i];
1734
- u && (r = a(r, o(u)));
1715
+ var c = arguments[i];
1716
+ c && (r = a(r, o(c)));
1735
1717
  }
1736
1718
  return r;
1737
1719
  }
@@ -1745,8 +1727,8 @@ var St = { exports: {} };
1745
1727
  if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1746
1728
  return r.toString();
1747
1729
  var i = "";
1748
- for (var u in r)
1749
- n.call(r, u) && r[u] && (i = a(i, u));
1730
+ for (var c in r)
1731
+ n.call(r, c) && r[c] && (i = a(i, c));
1750
1732
  return i;
1751
1733
  }
1752
1734
  function a(r, i) {
@@ -1755,8 +1737,8 @@ var St = { exports: {} };
1755
1737
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1756
1738
  })();
1757
1739
  })(St);
1758
- var Xr = St.exports;
1759
- const Yr = /* @__PURE__ */ Vr(Xr), ne = {
1740
+ var Yr = St.exports;
1741
+ const Zr = /* @__PURE__ */ Xr(Yr), ne = {
1760
1742
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
1761
1743
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
1762
1744
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
@@ -1771,7 +1753,7 @@ const Yr = /* @__PURE__ */ Vr(Xr), ne = {
1771
1753
  "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
1772
1754
  "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
1773
1755
  "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
1774
- }, Zr = {
1756
+ }, Qr = {
1775
1757
  PARAGRAPH100: "paragraph-100",
1776
1758
  PARAGRAPH100MEDIUM: "paragraph-100-medium",
1777
1759
  PARAGRAPH100BOLD: "paragraph-100-bold",
@@ -1782,17 +1764,17 @@ const Yr = /* @__PURE__ */ Vr(Xr), ne = {
1782
1764
  ADDITIONAL100MEDIUM: "additional-100-medium",
1783
1765
  OVERLINE100: "overline-100",
1784
1766
  OVERLINE200: "overline-200"
1785
- }, re = "purpur-paragraph", Qr = ({
1767
+ }, re = "purpur-paragraph", Ct = ({
1786
1768
  ["data-testid"]: e,
1787
1769
  children: n,
1788
- className: t = "",
1770
+ className: t,
1789
1771
  disabled: o,
1790
1772
  enableHyphenation: a = !1,
1791
1773
  negative: r = !1,
1792
- variant: i = Zr.PARAGRAPH100,
1793
- ...u
1774
+ variant: i = Qr.PARAGRAPH100,
1775
+ ...c
1794
1776
  }) => {
1795
- const s = Yr([
1777
+ const s = Zr([
1796
1778
  t,
1797
1779
  ne[re],
1798
1780
  ne[`${re}--${i}`],
@@ -1802,8 +1784,10 @@ const Yr = /* @__PURE__ */ Vr(Xr), ne = {
1802
1784
  [ne[`${re}--negative`]]: r
1803
1785
  }
1804
1786
  ]);
1805
- return /* @__PURE__ */ _("p", { ...u, className: s, "data-testid": e, children: n });
1806
- }, Jr = "600px";
1787
+ return /* @__PURE__ */ _("p", { ...c, className: s, "data-testid": e, children: n });
1788
+ };
1789
+ Ct.displayName = "Paragraph";
1790
+ const Jr = "600px";
1807
1791
  function Z() {
1808
1792
  return Z = Object.assign ? Object.assign.bind() : function(e) {
1809
1793
  for (var n = 1; n < arguments.length; n++) {
@@ -1822,19 +1806,19 @@ function to(...e) {
1822
1806
  (t) => eo(t, n)
1823
1807
  );
1824
1808
  }
1825
- const Ct = /* @__PURE__ */ S((e, n) => {
1809
+ const Ot = /* @__PURE__ */ S((e, n) => {
1826
1810
  const { children: t, ...o } = e, a = R.toArray(t), r = a.find(ro);
1827
1811
  if (r) {
1828
- const i = r.props.children, u = a.map((s) => s === r ? R.count(i) > 1 ? R.only(null) : /* @__PURE__ */ z(i) ? i.props.children : null : s);
1812
+ const i = r.props.children, c = a.map((s) => s === r ? R.count(i) > 1 ? R.only(null) : /* @__PURE__ */ z(i) ? i.props.children : null : s);
1829
1813
  return /* @__PURE__ */ g(De, Z({}, o, {
1830
1814
  ref: n
1831
- }), /* @__PURE__ */ z(i) ? /* @__PURE__ */ ae(i, void 0, u) : null);
1815
+ }), /* @__PURE__ */ z(i) ? /* @__PURE__ */ ae(i, void 0, c) : null);
1832
1816
  }
1833
1817
  return /* @__PURE__ */ g(De, Z({}, o, {
1834
1818
  ref: n
1835
1819
  }), t);
1836
1820
  });
1837
- Ct.displayName = "Slot";
1821
+ Ot.displayName = "Slot";
1838
1822
  const De = /* @__PURE__ */ S((e, n) => {
1839
1823
  const { children: t, ...o } = e;
1840
1824
  return /* @__PURE__ */ z(t) ? /* @__PURE__ */ ae(t, {
@@ -1887,10 +1871,10 @@ const ao = [
1887
1871
  "ul"
1888
1872
  ], io = ao.reduce((e, n) => {
1889
1873
  const t = /* @__PURE__ */ S((o, a) => {
1890
- const { asChild: r, ...i } = o, u = r ? Ct : n;
1874
+ const { asChild: r, ...i } = o, c = r ? Ot : n;
1891
1875
  return A(() => {
1892
1876
  window[Symbol.for("radix-ui")] = !0;
1893
- }, []), /* @__PURE__ */ g(u, Z({}, i, {
1877
+ }, []), /* @__PURE__ */ g(c, Z({}, i, {
1894
1878
  ref: a
1895
1879
  }));
1896
1880
  });
@@ -1898,7 +1882,7 @@ const ao = [
1898
1882
  ...e,
1899
1883
  [n]: t
1900
1884
  };
1901
- }, {}), uo = /* @__PURE__ */ S((e, n) => /* @__PURE__ */ g(io.span, Z({}, e, {
1885
+ }, {}), co = /* @__PURE__ */ S((e, n) => /* @__PURE__ */ g(io.span, Z({}, e, {
1902
1886
  ref: n,
1903
1887
  style: {
1904
1888
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -1914,16 +1898,16 @@ const ao = [
1914
1898
  wordWrap: "normal",
1915
1899
  ...e.style
1916
1900
  }
1917
- }))), co = uo, so = ({
1901
+ }))), uo = co, so = ({
1918
1902
  asChild: e,
1919
1903
  children: n,
1920
1904
  className: t = "",
1921
1905
  ["data-testid"]: o
1922
- }) => /* @__PURE__ */ _(co, { asChild: e, "data-testid": o, className: t, children: n });
1906
+ }) => /* @__PURE__ */ _(uo, { asChild: e, "data-testid": o, className: t, children: n });
1923
1907
  function lo(e) {
1924
1908
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1925
1909
  }
1926
- var Ot = { exports: {} };
1910
+ var Pt = { exports: {} };
1927
1911
  /*!
1928
1912
  Copyright (c) 2018 Jed Watson.
1929
1913
  Licensed under the MIT License (MIT), see
@@ -1934,8 +1918,8 @@ var Ot = { exports: {} };
1934
1918
  var n = {}.hasOwnProperty;
1935
1919
  function t() {
1936
1920
  for (var r = "", i = 0; i < arguments.length; i++) {
1937
- var u = arguments[i];
1938
- u && (r = a(r, o.call(this, u)));
1921
+ var c = arguments[i];
1922
+ c && (r = a(r, o.call(this, c)));
1939
1923
  }
1940
1924
  return r;
1941
1925
  }
@@ -1949,8 +1933,8 @@ var Ot = { exports: {} };
1949
1933
  if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
1950
1934
  return r.toString();
1951
1935
  var i = "";
1952
- for (var u in r)
1953
- n.call(r, u) && r[u] && (i = a(i, this && this[u] || u));
1936
+ for (var c in r)
1937
+ n.call(r, c) && r[c] && (i = a(i, this && this[c] || c));
1954
1938
  return i;
1955
1939
  }
1956
1940
  function a(r, i) {
@@ -1958,8 +1942,8 @@ var Ot = { exports: {} };
1958
1942
  }
1959
1943
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
1960
1944
  })();
1961
- })(Ot);
1962
- var po = Ot.exports;
1945
+ })(Pt);
1946
+ var po = Pt.exports;
1963
1947
  const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
1964
1948
  "purpur-modal-content": "_purpur-modal-content_rblrn_1",
1965
1949
  fadeIn: vo,
@@ -1981,7 +1965,7 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
1981
1965
  "purpur-modal-content__actions": "_purpur-modal-content__actions_rblrn_133",
1982
1966
  "purpur-modal-content__actions-separator": "_purpur-modal-content__actions-separator_rblrn_190",
1983
1967
  "purpur-modal-content--sticky-footer": "_purpur-modal-content--sticky-footer_rblrn_200"
1984
- }, Qe = (e) => e.showCloseButton === !0, T = fo.bind(ho), P = "purpur-modal-content", mo = S(
1968
+ }, Ze = (e) => e.showCloseButton === !0, T = fo.bind(ho), P = "purpur-modal-content", mo = S(
1985
1969
  ({
1986
1970
  ["data-testid"]: e,
1987
1971
  actions: n,
@@ -1990,7 +1974,7 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
1990
1974
  description: a,
1991
1975
  disableCloseOnClickOutside: r,
1992
1976
  hideDescription: i,
1993
- image: u,
1977
+ image: c,
1994
1978
  primaryActionVariant: s = "primary",
1995
1979
  stickyButtons: d = !0,
1996
1980
  title: p,
@@ -1998,81 +1982,81 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
1998
1982
  zIndex: h,
1999
1983
  ...f
2000
1984
  }, E) => {
2001
- const { closeButtonAllyLabel: c, showCloseButton: v, ...b } = f, [O, y] = G(!1), $ = C(null), x = C(null), F = C(null), I = C(null), w = T([
1985
+ const { closeButtonAllyLabel: u, showCloseButton: v, ...b } = f, [O, y] = K(!1), $ = C(null), w = C(null), F = C(null), I = C(null), x = T([
2002
1986
  P,
2003
- { [`${P}--with-image`]: !!u },
1987
+ { [`${P}--with-image`]: !!c },
2004
1988
  { [`${P}--overflow`]: O },
2005
1989
  { [`${P}--sticky-footer`]: d },
2006
1990
  o
2007
1991
  ]), D = (j) => e ? `${e} ${j}` : void 0, ie = (j) => {
2008
1992
  r && j.preventDefault();
2009
1993
  }, M = Q(() => {
2010
- if (!$.current || !x.current || !F.current || !I.current)
1994
+ if (!$.current || !w.current || !F.current || !I.current)
2011
1995
  return;
2012
- const j = window.innerWidth < parseInt(Jr), Nt = window.getComputedStyle(
1996
+ const j = window.innerWidth < parseInt(Jr), At = window.getComputedStyle(
2013
1997
  j ? $.current : F.current,
2014
1998
  null
2015
- ), At = parseFloat(Nt.getPropertyValue("height")), Tt = j ? x.current.offsetHeight : I.current.offsetHeight;
2016
- y(At < Tt);
2017
- }, []), Pt = (j) => {
1999
+ ), Tt = parseFloat(At.getPropertyValue("height")), Dt = j ? w.current.offsetHeight : I.current.offsetHeight;
2000
+ y(Tt < Dt);
2001
+ }, []), Nt = (j) => {
2018
2002
  r && !v && j.preventDefault();
2019
2003
  };
2020
2004
  return A(() => (window.addEventListener("resize", M), () => {
2021
2005
  window.removeEventListener("resize", M);
2022
2006
  }), [M]), A(() => {
2023
2007
  M();
2024
- }, [l, M]), /* @__PURE__ */ W(hr, { children: [
2025
- /* @__PURE__ */ _(mr, { className: T(`${P}__overlay`), style: { zIndex: h } }),
2026
- /* @__PURE__ */ W(
2027
- gr,
2008
+ }, [l, M]), /* @__PURE__ */ U(mr, { children: [
2009
+ /* @__PURE__ */ _(gr, { className: T(`${P}__overlay`), style: { zIndex: h } }),
2010
+ /* @__PURE__ */ U(
2011
+ _r,
2028
2012
  {
2029
2013
  ...b,
2030
- className: w,
2014
+ className: x,
2031
2015
  "data-testid": e,
2032
2016
  ref: E,
2033
2017
  ...!a && { "aria-describedby": void 0 },
2034
2018
  onPointerDownOutside: ie,
2035
2019
  onOpenAutoFocus: M,
2036
- onEscapeKeyDown: Pt,
2020
+ onEscapeKeyDown: Nt,
2037
2021
  style: { zIndex: `calc(${h} + 1)` },
2038
2022
  children: [
2039
- /* @__PURE__ */ W("div", { ref: $, className: T(`${P}__wrapper`), children: [
2040
- Qe(f) && c && u && /* @__PURE__ */ _(
2041
- Je,
2023
+ /* @__PURE__ */ U("div", { ref: $, className: T(`${P}__wrapper`), children: [
2024
+ Ze(f) && u && c && /* @__PURE__ */ _(
2025
+ Qe,
2042
2026
  {
2043
- allyLabel: c,
2027
+ allyLabel: u,
2044
2028
  hasImage: !0,
2045
2029
  "data-testid": D("close-button")
2046
2030
  }
2047
2031
  ),
2048
- /* @__PURE__ */ W("div", { ref: x, className: T(`${P}__wrapper-inner`), children: [
2049
- /* @__PURE__ */ W("div", { className: T(`${P}__header`), children: [
2050
- Qe(f) && c && !u && /* @__PURE__ */ _(
2051
- Je,
2032
+ /* @__PURE__ */ U("div", { ref: w, className: T(`${P}__wrapper-inner`), children: [
2033
+ /* @__PURE__ */ U("div", { className: T(`${P}__header`), children: [
2034
+ Ze(f) && u && !c && /* @__PURE__ */ _(
2035
+ Qe,
2052
2036
  {
2053
- allyLabel: c,
2037
+ allyLabel: u,
2054
2038
  "data-testid": D("close-button")
2055
2039
  }
2056
2040
  ),
2057
2041
  /* @__PURE__ */ _(
2058
- _r,
2042
+ br,
2059
2043
  {
2060
2044
  asChild: !0,
2061
2045
  className: T(`${P}__title`),
2062
2046
  "data-testid": D("title"),
2063
- children: /* @__PURE__ */ _(Mr, { tag: "h2", variant: "title-200", children: p })
2047
+ children: /* @__PURE__ */ _(Et, { tag: "h2", variant: "title-200", children: p })
2064
2048
  }
2065
2049
  )
2066
2050
  ] }),
2067
- u && /* @__PURE__ */ _(
2051
+ c && /* @__PURE__ */ _(
2068
2052
  "div",
2069
2053
  {
2070
2054
  className: T(`${P}__image-wrapper`),
2071
2055
  "data-testid": D("image"),
2072
- children: u
2056
+ children: c
2073
2057
  }
2074
2058
  ),
2075
- /* @__PURE__ */ _("div", { ref: F, className: T(`${P}__body`), children: /* @__PURE__ */ W("div", { ref: I, className: T(`${P}__body-inner`), children: [
2059
+ /* @__PURE__ */ _("div", { ref: F, className: T(`${P}__body`), children: /* @__PURE__ */ U("div", { ref: I, className: T(`${P}__body-inner`), children: [
2076
2060
  a && i && /* @__PURE__ */ _(so, { asChild: !0, children: /* @__PURE__ */ _(Ve, { "data-testid": D("description"), children: a }) }),
2077
2061
  a && !i && /* @__PURE__ */ _(
2078
2062
  Ve,
@@ -2080,12 +2064,12 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
2080
2064
  asChild: !0,
2081
2065
  className: T(`${P}__description`),
2082
2066
  "data-testid": D("description"),
2083
- children: /* @__PURE__ */ _(Qr, { variant: "paragraph-100", children: a })
2067
+ children: /* @__PURE__ */ _(Ct, { variant: "paragraph-100", children: a })
2084
2068
  }
2085
2069
  ),
2086
2070
  /* @__PURE__ */ _("div", { children: t }),
2087
2071
  !d && /* @__PURE__ */ _(
2088
- et,
2072
+ Je,
2089
2073
  {
2090
2074
  actions: n,
2091
2075
  primaryActionVariant: s,
@@ -2096,7 +2080,7 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
2096
2080
  ] })
2097
2081
  ] }),
2098
2082
  d && /* @__PURE__ */ _(
2099
- et,
2083
+ Je,
2100
2084
  {
2101
2085
  actions: n,
2102
2086
  primaryActionVariant: s,
@@ -2108,11 +2092,11 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
2108
2092
  )
2109
2093
  ] });
2110
2094
  }
2111
- ), Je = ({
2095
+ ), Qe = ({
2112
2096
  allyLabel: e,
2113
2097
  hasImage: n,
2114
2098
  ["data-testid"]: t
2115
- }) => /* @__PURE__ */ _(br, { asChild: !0, children: /* @__PURE__ */ _(
2099
+ }) => /* @__PURE__ */ _($r, { asChild: !0, children: /* @__PURE__ */ _(
2116
2100
  Me,
2117
2101
  {
2118
2102
  variant: n ? "primary" : "tertiary-purple",
@@ -2122,9 +2106,9 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
2122
2106
  "aria-label": e,
2123
2107
  className: T(`${P}__close-button`),
2124
2108
  "data-testid": t,
2125
- children: /* @__PURE__ */ _(xt, {})
2109
+ children: /* @__PURE__ */ _(wt, {})
2126
2110
  }
2127
- ) }), go = 3, et = ({
2111
+ ) }), go = 3, Je = ({
2128
2112
  actions: e,
2129
2113
  primaryActionVariant: n,
2130
2114
  notification: t
@@ -2133,12 +2117,12 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
2133
2117
  return A(() => {
2134
2118
  var r, i;
2135
2119
  t && ((i = (r = o == null ? void 0 : o.current) == null ? void 0 : r.scrollIntoView) == null || i.call(r, !1));
2136
- }, [t]), e && e.length > 0 ? /* @__PURE__ */ W("div", { className: T(`${P}__actions`), children: [
2137
- /* @__PURE__ */ _("div", { className: T(`${P}__actions-buttons`), "data-testid": "modal actions", children: e.slice(0, go).map(({ label: r, onClick: i }, u) => /* @__PURE__ */ _(
2120
+ }, [t]), e && e.length > 0 ? /* @__PURE__ */ U("div", { className: T(`${P}__actions`), children: [
2121
+ /* @__PURE__ */ _("div", { className: T(`${P}__actions-buttons`), "data-testid": "modal actions", children: e.slice(0, go).map(({ label: r, onClick: i }, c) => /* @__PURE__ */ _(
2138
2122
  Me,
2139
2123
  {
2140
2124
  "data-testid": "modal actions button",
2141
- variant: a[u] || "",
2125
+ variant: a[c] || "",
2142
2126
  onClick: i,
2143
2127
  className: T(`${P}__actions-button`),
2144
2128
  children: r
@@ -2150,7 +2134,7 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
2150
2134
  ] }) : null;
2151
2135
  }, _o = S(
2152
2136
  ({ ["data-testid"]: e, children: n, className: t, ...o }, a) => /* @__PURE__ */ _(
2153
- vr,
2137
+ hr,
2154
2138
  {
2155
2139
  asChild: !0,
2156
2140
  ref: a,
@@ -2165,7 +2149,7 @@ const fo = /* @__PURE__ */ lo(po), vo = "_fadeIn_rblrn_1", ho = {
2165
2149
  children: n,
2166
2150
  open: t,
2167
2151
  onOpenChange: o
2168
- }) => /* @__PURE__ */ _(fr, { open: t, onOpenChange: o, "data-testid": e, children: n });
2152
+ }) => /* @__PURE__ */ _(vr, { open: t, onOpenChange: o, "data-testid": e, children: n });
2169
2153
  ke.Trigger = _o;
2170
2154
  ke.Content = mo;
2171
2155
  ke.displayName = "Modal";