@purpurds/modal 6.1.1 → 6.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/modal.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { jsx as p, Fragment as ae, jsxs as A } from "react/jsx-runtime";
1
+ import { jsx as p, Fragment as ae, jsxs as R } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import { useState as Qe, forwardRef as Ce, useRef as _e, useCallback as zt, useEffect as ye } from "react";
4
- import * as Ht from "react-dom";
5
- import Gt from "react-dom";
3
+ import { useState as Qe, forwardRef as Ce, useRef as _e, useCallback as Ht, useEffect as ye } from "react";
4
+ import * as Gt from "react-dom";
5
+ import Kt from "react-dom";
6
6
  function L(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
7
7
  return function(a) {
8
8
  if (e == null || e(a), r === !1 || !a.defaultPrevented)
@@ -30,10 +30,10 @@ function Je(...e) {
30
30
  };
31
31
  };
32
32
  }
33
- function j(...e) {
33
+ function B(...e) {
34
34
  return s.useCallback(Je(...e), e);
35
35
  }
36
- function Kt(e, t) {
36
+ function Xt(e, t) {
37
37
  const r = s.createContext(t), o = (n) => {
38
38
  const { children: i, ...u } = n, d = s.useMemo(() => u, Object.values(u));
39
39
  return /* @__PURE__ */ p(r.Provider, { value: d, children: i });
@@ -47,21 +47,21 @@ function Kt(e, t) {
47
47
  }
48
48
  return [o, a];
49
49
  }
50
- function Xt(e, t = []) {
50
+ function Yt(e, t = []) {
51
51
  let r = [];
52
52
  function o(n, i) {
53
53
  const u = s.createContext(i), d = r.length;
54
54
  r = [...r, i];
55
55
  const c = (v) => {
56
56
  var _;
57
- const { scope: h, children: g, ...w } = v, l = ((_ = h == null ? void 0 : h[e]) == null ? void 0 : _[d]) || u, m = s.useMemo(() => w, Object.values(w));
57
+ const { scope: h, children: g, ...y } = v, l = ((_ = h == null ? void 0 : h[e]) == null ? void 0 : _[d]) || u, m = s.useMemo(() => y, Object.values(y));
58
58
  return /* @__PURE__ */ p(l.Provider, { value: m, children: g });
59
59
  };
60
60
  c.displayName = n + "Provider";
61
61
  function f(v, h) {
62
62
  var l;
63
- const g = ((l = h == null ? void 0 : h[e]) == null ? void 0 : l[d]) || u, w = s.useContext(g);
64
- if (w) return w;
63
+ const g = ((l = h == null ? void 0 : h[e]) == null ? void 0 : l[d]) || u, y = s.useContext(g);
64
+ if (y) return y;
65
65
  if (i !== void 0) return i;
66
66
  throw new Error(`\`${v}\` must be used within \`${n}\``);
67
67
  }
@@ -77,9 +77,9 @@ function Xt(e, t = []) {
77
77
  );
78
78
  };
79
79
  };
80
- return a.scopeName = e, [o, Yt(a, ...t)];
80
+ return a.scopeName = e, [o, Zt(a, ...t)];
81
81
  }
82
- function Yt(...e) {
82
+ function Zt(...e) {
83
83
  const t = e[0];
84
84
  if (e.length === 1) return t;
85
85
  const r = () => {
@@ -98,15 +98,15 @@ function Yt(...e) {
98
98
  return r.scopeName = t.scopeName, r;
99
99
  }
100
100
  var ie = globalThis != null && globalThis.document ? s.useLayoutEffect : () => {
101
- }, Zt = s.useId || (() => {
102
- }), Qt = 0;
101
+ }, Qt = s.useId || (() => {
102
+ }), Jt = 0;
103
103
  function le(e) {
104
- const [t, r] = s.useState(Zt());
104
+ const [t, r] = s.useState(Qt());
105
105
  return ie(() => {
106
- e || r((o) => o ?? String(Qt++));
106
+ e || r((o) => o ?? String(Jt++));
107
107
  }, [e]), e || (t ? `radix-${t}` : "");
108
108
  }
109
- function F(e) {
109
+ function W(e) {
110
110
  const t = s.useRef(e);
111
111
  return s.useEffect(() => {
112
112
  t.current = e;
@@ -115,13 +115,13 @@ function F(e) {
115
115
  return (o = t.current) == null ? void 0 : o.call(t, ...r);
116
116
  }, []);
117
117
  }
118
- function Jt({
118
+ function er({
119
119
  prop: e,
120
120
  defaultProp: t,
121
121
  onChange: r = () => {
122
122
  }
123
123
  }) {
124
- const [o, a] = er({ defaultProp: t, onChange: r }), n = e !== void 0, i = n ? e : o, u = F(r), d = s.useCallback(
124
+ const [o, a] = tr({ defaultProp: t, onChange: r }), n = e !== void 0, i = n ? e : o, u = W(r), d = s.useCallback(
125
125
  (c) => {
126
126
  if (n) {
127
127
  const v = typeof c == "function" ? c(e) : c;
@@ -133,17 +133,17 @@ function Jt({
133
133
  );
134
134
  return [i, d];
135
135
  }
136
- function er({
136
+ function tr({
137
137
  defaultProp: e,
138
138
  onChange: t
139
139
  }) {
140
- const r = s.useState(e), [o] = r, a = s.useRef(o), n = F(t);
140
+ const r = s.useState(e), [o] = r, a = s.useRef(o), n = W(t);
141
141
  return s.useEffect(() => {
142
142
  a.current !== o && (n(o), a.current = o);
143
143
  }, [o, a, n]), r;
144
144
  }
145
145
  var Ne = s.forwardRef((e, t) => {
146
- const { children: r, ...o } = e, a = s.Children.toArray(r), n = a.find(rr);
146
+ const { children: r, ...o } = e, a = s.Children.toArray(r), n = a.find(nr);
147
147
  if (n) {
148
148
  const i = n.props.children, u = a.map((d) => d === n ? s.Children.count(i) > 1 ? s.Children.only(null) : s.isValidElement(i) ? i.props.children : null : d);
149
149
  return /* @__PURE__ */ p(be, { ...o, ref: t, children: s.isValidElement(i) ? s.cloneElement(i, void 0, u) : null });
@@ -154,17 +154,17 @@ Ne.displayName = "Slot";
154
154
  var be = s.forwardRef((e, t) => {
155
155
  const { children: r, ...o } = e;
156
156
  if (s.isValidElement(r)) {
157
- const a = or(r), n = nr(o, r.props);
157
+ const a = ar(r), n = or(o, r.props);
158
158
  return r.type !== s.Fragment && (n.ref = t ? Je(t, a) : a), s.cloneElement(r, n);
159
159
  }
160
160
  return s.Children.count(r) > 1 ? s.Children.only(null) : null;
161
161
  });
162
162
  be.displayName = "SlotClone";
163
- var tr = ({ children: e }) => /* @__PURE__ */ p(ae, { children: e });
164
- function rr(e) {
165
- return s.isValidElement(e) && e.type === tr;
163
+ var rr = ({ children: e }) => /* @__PURE__ */ p(ae, { children: e });
164
+ function nr(e) {
165
+ return s.isValidElement(e) && e.type === rr;
166
166
  }
167
- function nr(e, t) {
167
+ function or(e, t) {
168
168
  const r = { ...t };
169
169
  for (const o in t) {
170
170
  const a = e[o], n = t[o];
@@ -174,12 +174,12 @@ function nr(e, t) {
174
174
  }
175
175
  return { ...e, ...r };
176
176
  }
177
- function or(e) {
177
+ function ar(e) {
178
178
  var o, a;
179
179
  let t = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning;
180
180
  return r ? e.ref : (t = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
181
181
  }
182
- var ar = [
182
+ var ir = [
183
183
  "a",
184
184
  "button",
185
185
  "div",
@@ -196,18 +196,18 @@ var ar = [
196
196
  "span",
197
197
  "svg",
198
198
  "ul"
199
- ], M = ar.reduce((e, t) => {
199
+ ], M = ir.reduce((e, t) => {
200
200
  const r = s.forwardRef((o, a) => {
201
201
  const { asChild: n, ...i } = o, u = n ? Ne : t;
202
202
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(u, { ...i, ref: a });
203
203
  });
204
204
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
205
205
  }, {});
206
- function ir(e, t) {
207
- e && Ht.flushSync(() => e.dispatchEvent(t));
206
+ function ur(e, t) {
207
+ e && Gt.flushSync(() => e.dispatchEvent(t));
208
208
  }
209
- function ur(e, t = globalThis == null ? void 0 : globalThis.document) {
210
- const r = F(e);
209
+ function sr(e, t = globalThis == null ? void 0 : globalThis.document) {
210
+ const r = W(e);
211
211
  s.useEffect(() => {
212
212
  const o = (a) => {
213
213
  a.key === "Escape" && r(a);
@@ -215,7 +215,7 @@ function ur(e, t = globalThis == null ? void 0 : globalThis.document) {
215
215
  return t.addEventListener("keydown", o, { capture: !0 }), () => t.removeEventListener("keydown", o, { capture: !0 });
216
216
  }, [r, t]);
217
217
  }
218
- var sr = "DismissableLayer", we = "dismissableLayer.update", cr = "dismissableLayer.pointerDownOutside", lr = "dismissableLayer.focusOutside", Me, et = s.createContext({
218
+ var cr = "DismissableLayer", we = "dismissableLayer.update", lr = "dismissableLayer.pointerDownOutside", dr = "dismissableLayer.focusOutside", Me, et = s.createContext({
219
219
  layers: /* @__PURE__ */ new Set(),
220
220
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
221
221
  branches: /* @__PURE__ */ new Set()
@@ -229,15 +229,15 @@ var sr = "DismissableLayer", we = "dismissableLayer.update", cr = "dismissableLa
229
229
  onInteractOutside: i,
230
230
  onDismiss: u,
231
231
  ...d
232
- } = e, c = s.useContext(et), [f, v] = s.useState(null), h = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = s.useState({}), w = j(t, (y) => v(y)), l = Array.from(c.layers), [m] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), _ = l.indexOf(m), C = f ? l.indexOf(f) : -1, E = c.layersWithOutsidePointerEventsDisabled.size > 0, b = C >= _, S = fr((y) => {
233
- const R = y.target, O = [...c.branches].some((z) => z.contains(R));
234
- !b || O || (a == null || a(y), i == null || i(y), y.defaultPrevented || u == null || u());
235
- }, h), x = vr((y) => {
236
- const R = y.target;
237
- [...c.branches].some((z) => z.contains(R)) || (n == null || n(y), i == null || i(y), y.defaultPrevented || u == null || u());
232
+ } = e, c = s.useContext(et), [f, v] = s.useState(null), h = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = s.useState({}), y = B(t, (b) => v(b)), l = Array.from(c.layers), [m] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), _ = l.indexOf(m), C = f ? l.indexOf(f) : -1, w = c.layersWithOutsidePointerEventsDisabled.size > 0, E = C >= _, S = vr((b) => {
233
+ const P = b.target, $ = [...c.branches].some((D) => D.contains(P));
234
+ !E || $ || (a == null || a(b), i == null || i(b), b.defaultPrevented || u == null || u());
235
+ }, h), x = hr((b) => {
236
+ const P = b.target;
237
+ [...c.branches].some((D) => D.contains(P)) || (n == null || n(b), i == null || i(b), b.defaultPrevented || u == null || u());
238
238
  }, h);
239
- return ur((y) => {
240
- C === c.layers.size - 1 && (o == null || o(y), !y.defaultPrevented && u && (y.preventDefault(), u()));
239
+ return sr((b) => {
240
+ C === c.layers.size - 1 && (o == null || o(b), !b.defaultPrevented && u && (b.preventDefault(), u()));
241
241
  }, h), s.useEffect(() => {
242
242
  if (f)
243
243
  return r && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (Me = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), c.layersWithOutsidePointerEventsDisabled.add(f)), c.layers.add(f), Ie(), () => {
@@ -246,15 +246,15 @@ var sr = "DismissableLayer", we = "dismissableLayer.update", cr = "dismissableLa
246
246
  }, [f, h, r, c]), s.useEffect(() => () => {
247
247
  f && (c.layers.delete(f), c.layersWithOutsidePointerEventsDisabled.delete(f), Ie());
248
248
  }, [f, c]), s.useEffect(() => {
249
- const y = () => g({});
250
- return document.addEventListener(we, y), () => document.removeEventListener(we, y);
249
+ const b = () => g({});
250
+ return document.addEventListener(we, b), () => document.removeEventListener(we, b);
251
251
  }, []), /* @__PURE__ */ p(
252
252
  M.div,
253
253
  {
254
254
  ...d,
255
- ref: w,
255
+ ref: y,
256
256
  style: {
257
- pointerEvents: E ? b ? "auto" : "none" : void 0,
257
+ pointerEvents: w ? E ? "auto" : "none" : void 0,
258
258
  ...e.style
259
259
  },
260
260
  onFocusCapture: L(e.onFocusCapture, x.onFocusCapture),
@@ -267,9 +267,9 @@ var sr = "DismissableLayer", we = "dismissableLayer.update", cr = "dismissableLa
267
267
  );
268
268
  }
269
269
  );
270
- tt.displayName = sr;
271
- var dr = "DismissableLayerBranch", pr = s.forwardRef((e, t) => {
272
- const r = s.useContext(et), o = s.useRef(null), a = j(t, o);
270
+ tt.displayName = cr;
271
+ var pr = "DismissableLayerBranch", fr = s.forwardRef((e, t) => {
272
+ const r = s.useContext(et), o = s.useRef(null), a = B(t, o);
273
273
  return s.useEffect(() => {
274
274
  const n = o.current;
275
275
  if (n)
@@ -278,16 +278,16 @@ var dr = "DismissableLayerBranch", pr = s.forwardRef((e, t) => {
278
278
  };
279
279
  }, [r.branches]), /* @__PURE__ */ p(M.div, { ...e, ref: a });
280
280
  });
281
- pr.displayName = dr;
282
- function fr(e, t = globalThis == null ? void 0 : globalThis.document) {
283
- const r = F(e), o = s.useRef(!1), a = s.useRef(() => {
281
+ fr.displayName = pr;
282
+ function vr(e, t = globalThis == null ? void 0 : globalThis.document) {
283
+ const r = W(e), o = s.useRef(!1), a = s.useRef(() => {
284
284
  });
285
285
  return s.useEffect(() => {
286
286
  const n = (u) => {
287
287
  if (u.target && !o.current) {
288
288
  let d = function() {
289
289
  rt(
290
- cr,
290
+ lr,
291
291
  r,
292
292
  c,
293
293
  { discrete: !0 }
@@ -309,11 +309,11 @@ function fr(e, t = globalThis == null ? void 0 : globalThis.document) {
309
309
  onPointerDownCapture: () => o.current = !0
310
310
  };
311
311
  }
312
- function vr(e, t = globalThis == null ? void 0 : globalThis.document) {
313
- const r = F(e), o = s.useRef(!1);
312
+ function hr(e, t = globalThis == null ? void 0 : globalThis.document) {
313
+ const r = W(e), o = s.useRef(!1);
314
314
  return s.useEffect(() => {
315
315
  const a = (n) => {
316
- n.target && !o.current && rt(lr, r, { originalEvent: n }, {
316
+ n.target && !o.current && rt(dr, r, { originalEvent: n }, {
317
317
  discrete: !1
318
318
  });
319
319
  };
@@ -329,16 +329,16 @@ function Ie() {
329
329
  }
330
330
  function rt(e, t, r, { discrete: o }) {
331
331
  const a = r.originalEvent.target, n = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
332
- t && a.addEventListener(e, t, { once: !0 }), o ? ir(a, n) : a.dispatchEvent(n);
332
+ t && a.addEventListener(e, t, { once: !0 }), o ? ur(a, n) : a.dispatchEvent(n);
333
333
  }
334
- var de = "focusScope.autoFocusOnMount", pe = "focusScope.autoFocusOnUnmount", Le = { bubbles: !1, cancelable: !0 }, hr = "FocusScope", nt = s.forwardRef((e, t) => {
334
+ var de = "focusScope.autoFocusOnMount", pe = "focusScope.autoFocusOnUnmount", Le = { bubbles: !1, cancelable: !0 }, mr = "FocusScope", nt = s.forwardRef((e, t) => {
335
335
  const {
336
336
  loop: r = !1,
337
337
  trapped: o = !1,
338
338
  onMountAutoFocus: a,
339
339
  onUnmountAutoFocus: n,
340
340
  ...i
341
- } = e, [u, d] = s.useState(null), c = F(a), f = F(n), v = s.useRef(null), h = j(t, (l) => d(l)), g = s.useRef({
341
+ } = e, [u, d] = s.useState(null), c = W(a), f = W(n), v = s.useRef(null), h = B(t, (l) => d(l)), g = s.useRef({
342
342
  paused: !1,
343
343
  pause() {
344
344
  this.paused = !0;
@@ -349,17 +349,17 @@ var de = "focusScope.autoFocusOnMount", pe = "focusScope.autoFocusOnUnmount", Le
349
349
  }).current;
350
350
  s.useEffect(() => {
351
351
  if (o) {
352
- let l = function(E) {
352
+ let l = function(w) {
353
353
  if (g.paused || !u) return;
354
- const b = E.target;
355
- u.contains(b) ? v.current = b : I(v.current, { select: !0 });
356
- }, m = function(E) {
354
+ const E = w.target;
355
+ u.contains(E) ? v.current = E : I(v.current, { select: !0 });
356
+ }, m = function(w) {
357
357
  if (g.paused || !u) return;
358
- const b = E.relatedTarget;
359
- b !== null && (u.contains(b) || I(v.current, { select: !0 }));
360
- }, _ = function(E) {
358
+ const E = w.relatedTarget;
359
+ E !== null && (u.contains(E) || I(v.current, { select: !0 }));
360
+ }, _ = function(w) {
361
361
  if (document.activeElement === document.body)
362
- for (const S of E)
362
+ for (const S of w)
363
363
  S.removedNodes.length > 0 && I(u);
364
364
  };
365
365
  document.addEventListener("focusin", l), document.addEventListener("focusout", m);
@@ -374,7 +374,7 @@ var de = "focusScope.autoFocusOnMount", pe = "focusScope.autoFocusOnUnmount", Le
374
374
  const l = document.activeElement;
375
375
  if (!u.contains(l)) {
376
376
  const _ = new CustomEvent(de, Le);
377
- u.addEventListener(de, c), u.dispatchEvent(_), _.defaultPrevented || (mr(wr(ot(u)), { select: !0 }), document.activeElement === l && I(u));
377
+ u.addEventListener(de, c), u.dispatchEvent(_), _.defaultPrevented || (gr(Er(ot(u)), { select: !0 }), document.activeElement === l && I(u));
378
378
  }
379
379
  return () => {
380
380
  u.removeEventListener(de, c), setTimeout(() => {
@@ -384,26 +384,26 @@ var de = "focusScope.autoFocusOnMount", pe = "focusScope.autoFocusOnUnmount", Le
384
384
  };
385
385
  }
386
386
  }, [u, c, f, g]);
387
- const w = s.useCallback(
387
+ const y = s.useCallback(
388
388
  (l) => {
389
389
  if (!r && !o || g.paused) return;
390
390
  const m = l.key === "Tab" && !l.altKey && !l.ctrlKey && !l.metaKey, _ = document.activeElement;
391
391
  if (m && _) {
392
- const C = l.currentTarget, [E, b] = gr(C);
393
- E && b ? !l.shiftKey && _ === b ? (l.preventDefault(), r && I(E, { select: !0 })) : l.shiftKey && _ === E && (l.preventDefault(), r && I(b, { select: !0 })) : _ === C && l.preventDefault();
392
+ const C = l.currentTarget, [w, E] = _r(C);
393
+ w && E ? !l.shiftKey && _ === E ? (l.preventDefault(), r && I(w, { select: !0 })) : l.shiftKey && _ === w && (l.preventDefault(), r && I(E, { select: !0 })) : _ === C && l.preventDefault();
394
394
  }
395
395
  },
396
396
  [r, o, g.paused]
397
397
  );
398
- return /* @__PURE__ */ p(M.div, { tabIndex: -1, ...i, ref: h, onKeyDown: w });
398
+ return /* @__PURE__ */ p(M.div, { tabIndex: -1, ...i, ref: h, onKeyDown: y });
399
399
  });
400
- nt.displayName = hr;
401
- function mr(e, { select: t = !1 } = {}) {
400
+ nt.displayName = mr;
401
+ function gr(e, { select: t = !1 } = {}) {
402
402
  const r = document.activeElement;
403
403
  for (const o of e)
404
404
  if (I(o, { select: t }), document.activeElement !== r) return;
405
405
  }
406
- function gr(e) {
406
+ function _r(e) {
407
407
  const t = ot(e), r = $e(t, e), o = $e(t.reverse(), e);
408
408
  return [r, o];
409
409
  }
@@ -419,9 +419,9 @@ function ot(e) {
419
419
  }
420
420
  function $e(e, t) {
421
421
  for (const r of e)
422
- if (!_r(r, { upTo: t })) return r;
422
+ if (!yr(r, { upTo: t })) return r;
423
423
  }
424
- function _r(e, { upTo: t }) {
424
+ function yr(e, { upTo: t }) {
425
425
  if (getComputedStyle(e).visibility === "hidden") return !0;
426
426
  for (; e; ) {
427
427
  if (t !== void 0 && e === t) return !1;
@@ -430,17 +430,17 @@ function _r(e, { upTo: t }) {
430
430
  }
431
431
  return !1;
432
432
  }
433
- function yr(e) {
433
+ function br(e) {
434
434
  return e instanceof HTMLInputElement && "select" in e;
435
435
  }
436
436
  function I(e, { select: t = !1 } = {}) {
437
437
  if (e && e.focus) {
438
438
  const r = document.activeElement;
439
- e.focus({ preventScroll: !0 }), e !== r && yr(e) && t && e.select();
439
+ e.focus({ preventScroll: !0 }), e !== r && br(e) && t && e.select();
440
440
  }
441
441
  }
442
- var ke = br();
443
- function br() {
442
+ var ke = wr();
443
+ function wr() {
444
444
  let e = [];
445
445
  return {
446
446
  add(t) {
@@ -457,27 +457,27 @@ function Fe(e, t) {
457
457
  const r = [...e], o = r.indexOf(t);
458
458
  return o !== -1 && r.splice(o, 1), r;
459
459
  }
460
- function wr(e) {
460
+ function Er(e) {
461
461
  return e.filter((t) => t.tagName !== "A");
462
462
  }
463
- var Er = "Portal", at = s.forwardRef((e, t) => {
463
+ var Sr = "Portal", at = s.forwardRef((e, t) => {
464
464
  var u;
465
465
  const { container: r, ...o } = e, [a, n] = s.useState(!1);
466
466
  ie(() => n(!0), []);
467
467
  const i = r || a && ((u = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : u.body);
468
- return i ? Gt.createPortal(/* @__PURE__ */ p(M.div, { ...o, ref: t }), i) : null;
468
+ return i ? Kt.createPortal(/* @__PURE__ */ p(M.div, { ...o, ref: t }), i) : null;
469
469
  });
470
- at.displayName = Er;
471
- function Sr(e, t) {
470
+ at.displayName = Sr;
471
+ function Cr(e, t) {
472
472
  return s.useReducer((r, o) => t[r][o] ?? r, e);
473
473
  }
474
474
  var se = (e) => {
475
- const { present: t, children: r } = e, o = Cr(t), a = typeof r == "function" ? r({ present: o.isPresent }) : s.Children.only(r), n = j(o.ref, Nr(a));
475
+ const { present: t, children: r } = e, o = Nr(t), a = typeof r == "function" ? r({ present: o.isPresent }) : s.Children.only(r), n = B(o.ref, Pr(a));
476
476
  return typeof r == "function" || o.isPresent ? s.cloneElement(a, { ref: n }) : null;
477
477
  };
478
478
  se.displayName = "Presence";
479
- function Cr(e) {
480
- const [t, r] = s.useState(), o = s.useRef({}), a = s.useRef(e), n = s.useRef("none"), i = e ? "mounted" : "unmounted", [u, d] = Sr(i, {
479
+ function Nr(e) {
480
+ const [t, r] = s.useState(), o = s.useRef({}), a = s.useRef(e), n = s.useRef("none"), i = e ? "mounted" : "unmounted", [u, d] = Cr(i, {
481
481
  mounted: {
482
482
  UNMOUNT: "unmounted",
483
483
  ANIMATION_OUT: "unmountSuspended"
@@ -528,13 +528,13 @@ function Cr(e) {
528
528
  function Y(e) {
529
529
  return (e == null ? void 0 : e.animationName) || "none";
530
530
  }
531
- function Nr(e) {
531
+ function Pr(e) {
532
532
  var o, a;
533
533
  let t = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning;
534
534
  return r ? e.ref : (t = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
535
535
  }
536
536
  var fe = 0;
537
- function Pr() {
537
+ function Or() {
538
538
  s.useEffect(() => {
539
539
  const e = document.querySelectorAll("[data-radix-focus-guard]");
540
540
  return document.body.insertAdjacentElement("afterbegin", e[0] ?? We()), document.body.insertAdjacentElement("beforeend", e[1] ?? We()), fe++, () => {
@@ -563,16 +563,16 @@ function it(e, t) {
563
563
  t.indexOf(o[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[a]) && (r[o[a]] = e[o[a]]);
564
564
  return r;
565
565
  }
566
- function Or(e, t, r) {
566
+ function xr(e, t, r) {
567
567
  if (r || arguments.length === 2) for (var o = 0, a = t.length, n; o < a; o++)
568
568
  (n || !(o in t)) && (n || (n = Array.prototype.slice.call(t, 0, o)), n[o] = t[o]);
569
569
  return e.concat(n || Array.prototype.slice.call(t));
570
570
  }
571
- var ne = "right-scroll-bar-position", oe = "width-before-scroll-bar", xr = "with-scroll-bars-hidden", Rr = "--removed-body-scroll-bar-size";
571
+ var ne = "right-scroll-bar-position", oe = "width-before-scroll-bar", Rr = "with-scroll-bars-hidden", Ar = "--removed-body-scroll-bar-size";
572
572
  function ve(e, t) {
573
573
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
574
574
  }
575
- function Ar(e, t) {
575
+ function Dr(e, t) {
576
576
  var r = Qe(function() {
577
577
  return {
578
578
  // value
@@ -593,14 +593,14 @@ function Ar(e, t) {
593
593
  })[0];
594
594
  return r.callback = t, r.facade;
595
595
  }
596
- var Dr = typeof window < "u" ? s.useLayoutEffect : s.useEffect, je = /* @__PURE__ */ new WeakMap();
597
- function Tr(e, t) {
598
- var r = Ar(null, function(o) {
596
+ var Tr = typeof window < "u" ? s.useLayoutEffect : s.useEffect, je = /* @__PURE__ */ new WeakMap();
597
+ function Mr(e, t) {
598
+ var r = Dr(null, function(o) {
599
599
  return e.forEach(function(a) {
600
600
  return ve(a, o);
601
601
  });
602
602
  });
603
- return Dr(function() {
603
+ return Tr(function() {
604
604
  var o = je.get(r);
605
605
  if (o) {
606
606
  var a = new Set(o), n = new Set(e), i = r.current;
@@ -613,11 +613,11 @@ function Tr(e, t) {
613
613
  je.set(r, e);
614
614
  }, [e]), r;
615
615
  }
616
- function Mr(e) {
616
+ function Ir(e) {
617
617
  return e;
618
618
  }
619
- function Ir(e, t) {
620
- t === void 0 && (t = Mr);
619
+ function Lr(e, t) {
620
+ t === void 0 && (t = Ir);
621
621
  var r = [], o = !1, a = {
622
622
  read: function() {
623
623
  if (o)
@@ -671,9 +671,9 @@ function Ir(e, t) {
671
671
  };
672
672
  return a;
673
673
  }
674
- function Lr(e) {
674
+ function $r(e) {
675
675
  e === void 0 && (e = {});
676
- var t = Ir(null);
676
+ var t = Lr(null);
677
677
  return t.options = T({ async: !0, ssr: !1 }, e), t;
678
678
  }
679
679
  var ut = function(e) {
@@ -686,20 +686,20 @@ var ut = function(e) {
686
686
  return s.createElement(o, T({}, r));
687
687
  };
688
688
  ut.isSideCarExport = !0;
689
- function $r(e, t) {
689
+ function kr(e, t) {
690
690
  return e.useMedium(t), ut;
691
691
  }
692
- var st = Lr(), he = function() {
692
+ var st = $r(), he = function() {
693
693
  }, ce = s.forwardRef(function(e, t) {
694
694
  var r = s.useRef(null), o = s.useState({
695
695
  onScrollCapture: he,
696
696
  onWheelCapture: he,
697
697
  onTouchMoveCapture: he
698
- }), a = o[0], n = o[1], i = e.forwardProps, u = e.children, d = e.className, c = e.removeScrollBar, f = e.enabled, v = e.shards, h = e.sideCar, g = e.noIsolation, w = e.inert, l = e.allowPinchZoom, m = e.as, _ = m === void 0 ? "div" : m, C = e.gapMode, E = it(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), b = h, S = Tr([r, t]), x = T(T({}, E), a);
698
+ }), a = o[0], n = o[1], i = e.forwardProps, u = e.children, d = e.className, c = e.removeScrollBar, f = e.enabled, v = e.shards, h = e.sideCar, g = e.noIsolation, y = e.inert, l = e.allowPinchZoom, m = e.as, _ = m === void 0 ? "div" : m, C = e.gapMode, w = it(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), E = h, S = Mr([r, t]), x = T(T({}, w), a);
699
699
  return s.createElement(
700
700
  s.Fragment,
701
701
  null,
702
- f && s.createElement(b, { sideCar: st, removeScrollBar: c, shards: v, noIsolation: g, inert: w, setCallbacks: n, allowPinchZoom: !!l, lockRef: r, gapMode: C }),
702
+ f && s.createElement(E, { sideCar: st, removeScrollBar: c, shards: v, noIsolation: g, inert: y, setCallbacks: n, allowPinchZoom: !!l, lockRef: r, gapMode: C }),
703
703
  i ? s.cloneElement(s.Children.only(u), T(T({}, x), { ref: S })) : s.createElement(_, T({}, x, { className: d, ref: S }), u)
704
704
  );
705
705
  });
@@ -712,37 +712,37 @@ ce.classNames = {
712
712
  fullWidth: oe,
713
713
  zeroRight: ne
714
714
  };
715
- var kr = function() {
715
+ var Fr = function() {
716
716
  if (typeof __webpack_nonce__ < "u")
717
717
  return __webpack_nonce__;
718
718
  };
719
- function Fr() {
719
+ function Wr() {
720
720
  if (!document)
721
721
  return null;
722
722
  var e = document.createElement("style");
723
723
  e.type = "text/css";
724
- var t = kr();
724
+ var t = Fr();
725
725
  return t && e.setAttribute("nonce", t), e;
726
726
  }
727
- function Wr(e, t) {
727
+ function jr(e, t) {
728
728
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
729
729
  }
730
- function jr(e) {
730
+ function Br(e) {
731
731
  var t = document.head || document.getElementsByTagName("head")[0];
732
732
  t.appendChild(e);
733
733
  }
734
- var Br = function() {
734
+ var qr = function() {
735
735
  var e = 0, t = null;
736
736
  return {
737
737
  add: function(r) {
738
- e == 0 && (t = Fr()) && (Wr(t, r), jr(t)), e++;
738
+ e == 0 && (t = Wr()) && (jr(t, r), Br(t)), e++;
739
739
  },
740
740
  remove: function() {
741
741
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
742
742
  }
743
743
  };
744
- }, qr = function() {
745
- var e = Br();
744
+ }, Ur = function() {
745
+ var e = qr();
746
746
  return function(t, r) {
747
747
  s.useEffect(function() {
748
748
  return e.add(t), function() {
@@ -751,39 +751,39 @@ var Br = function() {
751
751
  }, [t && r]);
752
752
  };
753
753
  }, ct = function() {
754
- var e = qr(), t = function(r) {
754
+ var e = Ur(), t = function(r) {
755
755
  var o = r.styles, a = r.dynamic;
756
756
  return e(o, a), null;
757
757
  };
758
758
  return t;
759
- }, Ur = {
759
+ }, Vr = {
760
760
  left: 0,
761
761
  top: 0,
762
762
  right: 0,
763
763
  gap: 0
764
764
  }, me = function(e) {
765
765
  return parseInt(e || "", 10) || 0;
766
- }, Vr = function(e) {
766
+ }, zr = function(e) {
767
767
  var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], o = t[e === "padding" ? "paddingTop" : "marginTop"], a = t[e === "padding" ? "paddingRight" : "marginRight"];
768
768
  return [me(r), me(o), me(a)];
769
- }, zr = function(e) {
769
+ }, Hr = function(e) {
770
770
  if (e === void 0 && (e = "margin"), typeof window > "u")
771
- return Ur;
772
- var t = Vr(e), r = document.documentElement.clientWidth, o = window.innerWidth;
771
+ return Vr;
772
+ var t = zr(e), r = document.documentElement.clientWidth, o = window.innerWidth;
773
773
  return {
774
774
  left: t[0],
775
775
  top: t[1],
776
776
  right: t[2],
777
777
  gap: Math.max(0, o - r + t[2] - t[0])
778
778
  };
779
- }, Hr = ct(), V = "data-scroll-locked", Gr = function(e, t, r, o) {
779
+ }, Gr = ct(), z = "data-scroll-locked", Kr = function(e, t, r, o) {
780
780
  var a = e.left, n = e.top, i = e.right, u = e.gap;
781
781
  return r === void 0 && (r = "margin"), `
782
- .`.concat(xr, ` {
782
+ .`.concat(Rr, ` {
783
783
  overflow: hidden `).concat(o, `;
784
784
  padding-right: `).concat(u, "px ").concat(o, `;
785
785
  }
786
- body[`).concat(V, `] {
786
+ body[`).concat(z, `] {
787
787
  overflow: hidden `).concat(o, `;
788
788
  overscroll-behavior: contain;
789
789
  `).concat([
@@ -816,27 +816,27 @@ var Br = function() {
816
816
  margin-right: 0 `).concat(o, `;
817
817
  }
818
818
 
819
- body[`).concat(V, `] {
820
- `).concat(Rr, ": ").concat(u, `px;
819
+ body[`).concat(z, `] {
820
+ `).concat(Ar, ": ").concat(u, `px;
821
821
  }
822
822
  `);
823
823
  }, Be = function() {
824
- var e = parseInt(document.body.getAttribute(V) || "0", 10);
824
+ var e = parseInt(document.body.getAttribute(z) || "0", 10);
825
825
  return isFinite(e) ? e : 0;
826
- }, Kr = function() {
826
+ }, Xr = function() {
827
827
  s.useEffect(function() {
828
- return document.body.setAttribute(V, (Be() + 1).toString()), function() {
828
+ return document.body.setAttribute(z, (Be() + 1).toString()), function() {
829
829
  var e = Be() - 1;
830
- e <= 0 ? document.body.removeAttribute(V) : document.body.setAttribute(V, e.toString());
830
+ e <= 0 ? document.body.removeAttribute(z) : document.body.setAttribute(z, e.toString());
831
831
  };
832
832
  }, []);
833
- }, Xr = function(e) {
833
+ }, Yr = function(e) {
834
834
  var t = e.noRelative, r = e.noImportant, o = e.gapMode, a = o === void 0 ? "margin" : o;
835
- Kr();
835
+ Xr();
836
836
  var n = s.useMemo(function() {
837
- return zr(a);
837
+ return Hr(a);
838
838
  }, [a]);
839
- return s.createElement(Hr, { styles: Gr(n, !t, a, r ? "" : "!important") });
839
+ return s.createElement(Gr, { styles: Kr(n, !t, a, r ? "" : "!important") });
840
840
  }, Ee = !1;
841
841
  if (typeof window < "u")
842
842
  try {
@@ -849,7 +849,7 @@ if (typeof window < "u")
849
849
  } catch {
850
850
  Ee = !1;
851
851
  }
852
- var B = Ee ? { passive: !1 } : !1, Yr = function(e) {
852
+ var q = Ee ? { passive: !1 } : !1, Zr = function(e) {
853
853
  return e.tagName === "TEXTAREA";
854
854
  }, lt = function(e, t) {
855
855
  if (!(e instanceof Element))
@@ -858,11 +858,11 @@ var B = Ee ? { passive: !1 } : !1, Yr = function(e) {
858
858
  return (
859
859
  // not-not-scrollable
860
860
  r[t] !== "hidden" && // contains scroll inside self
861
- !(r.overflowY === r.overflowX && !Yr(e) && r[t] === "visible")
861
+ !(r.overflowY === r.overflowX && !Zr(e) && r[t] === "visible")
862
862
  );
863
- }, Zr = function(e) {
864
- return lt(e, "overflowY");
865
863
  }, Qr = function(e) {
864
+ return lt(e, "overflowY");
865
+ }, Jr = function(e) {
866
866
  return lt(e, "overflowX");
867
867
  }, qe = function(e, t) {
868
868
  var r = t.ownerDocument, o = t;
@@ -877,14 +877,14 @@ var B = Ee ? { passive: !1 } : !1, Yr = function(e) {
877
877
  o = o.parentNode;
878
878
  } while (o && o !== r.body);
879
879
  return !1;
880
- }, Jr = function(e) {
880
+ }, en = function(e) {
881
881
  var t = e.scrollTop, r = e.scrollHeight, o = e.clientHeight;
882
882
  return [
883
883
  t,
884
884
  r,
885
885
  o
886
886
  ];
887
- }, en = function(e) {
887
+ }, tn = function(e) {
888
888
  var t = e.scrollLeft, r = e.scrollWidth, o = e.clientWidth;
889
889
  return [
890
890
  t,
@@ -892,16 +892,16 @@ var B = Ee ? { passive: !1 } : !1, Yr = function(e) {
892
892
  o
893
893
  ];
894
894
  }, dt = function(e, t) {
895
- return e === "v" ? Zr(t) : Qr(t);
895
+ return e === "v" ? Qr(t) : Jr(t);
896
896
  }, pt = function(e, t) {
897
- return e === "v" ? Jr(t) : en(t);
898
- }, tn = function(e, t) {
897
+ return e === "v" ? en(t) : tn(t);
898
+ }, rn = function(e, t) {
899
899
  return e === "h" && t === "rtl" ? -1 : 1;
900
- }, rn = function(e, t, r, o, a) {
901
- var n = tn(e, window.getComputedStyle(t).direction), i = n * o, u = r.target, d = t.contains(u), c = !1, f = i > 0, v = 0, h = 0;
900
+ }, nn = function(e, t, r, o, a) {
901
+ var n = rn(e, window.getComputedStyle(t).direction), i = n * o, u = r.target, d = t.contains(u), c = !1, f = i > 0, v = 0, h = 0;
902
902
  do {
903
- var g = pt(e, u), w = g[0], l = g[1], m = g[2], _ = l - m - n * w;
904
- (w || _) && dt(e, u) && (v += _, h += w), u instanceof ShadowRoot ? u = u.host : u = u.parentNode;
903
+ var g = pt(e, u), y = g[0], l = g[1], m = g[2], _ = l - m - n * y;
904
+ (y || _) && dt(e, u) && (v += _, h += y), u instanceof ShadowRoot ? u = u.host : u = u.parentNode;
905
905
  } while (
906
906
  // portaled content
907
907
  !d && u !== document.body || // self content
@@ -914,22 +914,22 @@ var B = Ee ? { passive: !1 } : !1, Yr = function(e) {
914
914
  return [e.deltaX, e.deltaY];
915
915
  }, Ve = function(e) {
916
916
  return e && "current" in e ? e.current : e;
917
- }, nn = function(e, t) {
917
+ }, on = function(e, t) {
918
918
  return e[0] === t[0] && e[1] === t[1];
919
- }, on = function(e) {
919
+ }, an = function(e) {
920
920
  return `
921
921
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
922
922
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
923
923
  `);
924
- }, an = 0, q = [];
925
- function un(e) {
926
- var t = s.useRef([]), r = s.useRef([0, 0]), o = s.useRef(), a = s.useState(an++)[0], n = s.useState(ct)[0], i = s.useRef(e);
924
+ }, un = 0, U = [];
925
+ function sn(e) {
926
+ var t = s.useRef([]), r = s.useRef([0, 0]), o = s.useRef(), a = s.useState(un++)[0], n = s.useState(ct)[0], i = s.useRef(e);
927
927
  s.useEffect(function() {
928
928
  i.current = e;
929
929
  }, [e]), s.useEffect(function() {
930
930
  if (e.inert) {
931
931
  document.body.classList.add("block-interactivity-".concat(a));
932
- var l = Or([e.lockRef.current], (e.shards || []).map(Ve), !0).filter(Boolean);
932
+ var l = xr([e.lockRef.current], (e.shards || []).map(Ve), !0).filter(Boolean);
933
933
  return l.forEach(function(m) {
934
934
  return m.classList.add("allow-interactivity-".concat(a));
935
935
  }), function() {
@@ -942,40 +942,40 @@ function un(e) {
942
942
  var u = s.useCallback(function(l, m) {
943
943
  if ("touches" in l && l.touches.length === 2 || l.type === "wheel" && l.ctrlKey)
944
944
  return !i.current.allowPinchZoom;
945
- var _ = Q(l), C = r.current, E = "deltaX" in l ? l.deltaX : C[0] - _[0], b = "deltaY" in l ? l.deltaY : C[1] - _[1], S, x = l.target, y = Math.abs(E) > Math.abs(b) ? "h" : "v";
946
- if ("touches" in l && y === "h" && x.type === "range")
945
+ var _ = Q(l), C = r.current, w = "deltaX" in l ? l.deltaX : C[0] - _[0], E = "deltaY" in l ? l.deltaY : C[1] - _[1], S, x = l.target, b = Math.abs(w) > Math.abs(E) ? "h" : "v";
946
+ if ("touches" in l && b === "h" && x.type === "range")
947
947
  return !1;
948
- var R = qe(y, x);
949
- if (!R)
948
+ var P = qe(b, x);
949
+ if (!P)
950
950
  return !0;
951
- if (R ? S = y : (S = y === "v" ? "h" : "v", R = qe(y, x)), !R)
951
+ if (P ? S = b : (S = b === "v" ? "h" : "v", P = qe(b, x)), !P)
952
952
  return !1;
953
- if (!o.current && "changedTouches" in l && (E || b) && (o.current = S), !S)
953
+ if (!o.current && "changedTouches" in l && (w || E) && (o.current = S), !S)
954
954
  return !0;
955
- var O = o.current || S;
956
- return rn(O, m, l, O === "h" ? E : b);
955
+ var $ = o.current || S;
956
+ return nn($, m, l, $ === "h" ? w : E);
957
957
  }, []), d = s.useCallback(function(l) {
958
958
  var m = l;
959
- if (!(!q.length || q[q.length - 1] !== n)) {
959
+ if (!(!U.length || U[U.length - 1] !== n)) {
960
960
  var _ = "deltaY" in m ? Ue(m) : Q(m), C = t.current.filter(function(S) {
961
- return S.name === m.type && (S.target === m.target || m.target === S.shadowParent) && nn(S.delta, _);
961
+ return S.name === m.type && (S.target === m.target || m.target === S.shadowParent) && on(S.delta, _);
962
962
  })[0];
963
963
  if (C && C.should) {
964
964
  m.cancelable && m.preventDefault();
965
965
  return;
966
966
  }
967
967
  if (!C) {
968
- var E = (i.current.shards || []).map(Ve).filter(Boolean).filter(function(S) {
968
+ var w = (i.current.shards || []).map(Ve).filter(Boolean).filter(function(S) {
969
969
  return S.contains(m.target);
970
- }), b = E.length > 0 ? u(m, E[0]) : !i.current.noIsolation;
971
- b && m.cancelable && m.preventDefault();
970
+ }), E = w.length > 0 ? u(m, w[0]) : !i.current.noIsolation;
971
+ E && m.cancelable && m.preventDefault();
972
972
  }
973
973
  }
974
974
  }, []), c = s.useCallback(function(l, m, _, C) {
975
- var E = { name: l, delta: m, target: _, should: C, shadowParent: sn(_) };
976
- t.current.push(E), setTimeout(function() {
977
- t.current = t.current.filter(function(b) {
978
- return b !== E;
975
+ var w = { name: l, delta: m, target: _, should: C, shadowParent: cn(_) };
976
+ t.current.push(w), setTimeout(function() {
977
+ t.current = t.current.filter(function(E) {
978
+ return E !== w;
979
979
  });
980
980
  }, 1);
981
981
  }, []), f = s.useCallback(function(l) {
@@ -986,42 +986,42 @@ function un(e) {
986
986
  c(l.type, Q(l), l.target, u(l, e.lockRef.current));
987
987
  }, []);
988
988
  s.useEffect(function() {
989
- return q.push(n), e.setCallbacks({
989
+ return U.push(n), e.setCallbacks({
990
990
  onScrollCapture: v,
991
991
  onWheelCapture: v,
992
992
  onTouchMoveCapture: h
993
- }), document.addEventListener("wheel", d, B), document.addEventListener("touchmove", d, B), document.addEventListener("touchstart", f, B), function() {
994
- q = q.filter(function(l) {
993
+ }), document.addEventListener("wheel", d, q), document.addEventListener("touchmove", d, q), document.addEventListener("touchstart", f, q), function() {
994
+ U = U.filter(function(l) {
995
995
  return l !== n;
996
- }), document.removeEventListener("wheel", d, B), document.removeEventListener("touchmove", d, B), document.removeEventListener("touchstart", f, B);
996
+ }), document.removeEventListener("wheel", d, q), document.removeEventListener("touchmove", d, q), document.removeEventListener("touchstart", f, q);
997
997
  };
998
998
  }, []);
999
- var g = e.removeScrollBar, w = e.inert;
999
+ var g = e.removeScrollBar, y = e.inert;
1000
1000
  return s.createElement(
1001
1001
  s.Fragment,
1002
1002
  null,
1003
- w ? s.createElement(n, { styles: on(a) }) : null,
1004
- g ? s.createElement(Xr, { gapMode: e.gapMode }) : null
1003
+ y ? s.createElement(n, { styles: an(a) }) : null,
1004
+ g ? s.createElement(Yr, { gapMode: e.gapMode }) : null
1005
1005
  );
1006
1006
  }
1007
- function sn(e) {
1007
+ function cn(e) {
1008
1008
  for (var t = null; e !== null; )
1009
1009
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
1010
1010
  return t;
1011
1011
  }
1012
- const cn = $r(st, un);
1012
+ const ln = kr(st, sn);
1013
1013
  var ft = s.forwardRef(function(e, t) {
1014
- return s.createElement(ce, T({}, e, { ref: t, sideCar: cn }));
1014
+ return s.createElement(ce, T({}, e, { ref: t, sideCar: ln }));
1015
1015
  });
1016
1016
  ft.classNames = ce.classNames;
1017
- var ln = function(e) {
1017
+ var dn = function(e) {
1018
1018
  if (typeof document > "u")
1019
1019
  return null;
1020
1020
  var t = Array.isArray(e) ? e[0] : e;
1021
1021
  return t.ownerDocument.body;
1022
- }, U = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), ee = {}, ge = 0, vt = function(e) {
1022
+ }, V = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), ee = {}, ge = 0, vt = function(e) {
1023
1023
  return e && (e.host || vt(e.parentNode));
1024
- }, dn = function(e, t) {
1024
+ }, pn = function(e, t) {
1025
1025
  return t.map(function(r) {
1026
1026
  if (e.contains(r))
1027
1027
  return r;
@@ -1030,8 +1030,8 @@ var ln = function(e) {
1030
1030
  }).filter(function(r) {
1031
1031
  return !!r;
1032
1032
  });
1033
- }, pn = function(e, t, r, o) {
1034
- var a = dn(t, Array.isArray(e) ? e : [e]);
1033
+ }, fn = function(e, t, r, o) {
1034
+ var a = pn(t, Array.isArray(e) ? e : [e]);
1035
1035
  ee[r] || (ee[r] = /* @__PURE__ */ new WeakMap());
1036
1036
  var n = ee[r], i = [], u = /* @__PURE__ */ new Set(), d = new Set(a), c = function(v) {
1037
1037
  !v || u.has(v) || (u.add(v), c(v.parentNode));
@@ -1043,8 +1043,8 @@ var ln = function(e) {
1043
1043
  f(h);
1044
1044
  else
1045
1045
  try {
1046
- var g = h.getAttribute(o), w = g !== null && g !== "false", l = (U.get(h) || 0) + 1, m = (n.get(h) || 0) + 1;
1047
- U.set(h, l), n.set(h, m), i.push(h), l === 1 && w && J.set(h, !0), m === 1 && h.setAttribute(r, "true"), w || h.setAttribute(o, "true");
1046
+ var g = h.getAttribute(o), y = g !== null && g !== "false", l = (V.get(h) || 0) + 1, m = (n.get(h) || 0) + 1;
1047
+ V.set(h, l), n.set(h, m), i.push(h), l === 1 && y && J.set(h, !0), m === 1 && h.setAttribute(r, "true"), y || h.setAttribute(o, "true");
1048
1048
  } catch (_) {
1049
1049
  console.error("aria-hidden: cannot operate on ", h, _);
1050
1050
  }
@@ -1052,17 +1052,17 @@ var ln = function(e) {
1052
1052
  };
1053
1053
  return f(t), u.clear(), ge++, function() {
1054
1054
  i.forEach(function(v) {
1055
- var h = U.get(v) - 1, g = n.get(v) - 1;
1056
- U.set(v, h), n.set(v, g), h || (J.has(v) || v.removeAttribute(o), J.delete(v)), g || v.removeAttribute(r);
1057
- }), ge--, ge || (U = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), ee = {});
1055
+ var h = V.get(v) - 1, g = n.get(v) - 1;
1056
+ V.set(v, h), n.set(v, g), h || (J.has(v) || v.removeAttribute(o), J.delete(v)), g || v.removeAttribute(r);
1057
+ }), ge--, ge || (V = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), ee = {});
1058
1058
  };
1059
- }, fn = function(e, t, r) {
1059
+ }, vn = function(e, t, r) {
1060
1060
  r === void 0 && (r = "data-aria-hidden");
1061
- var o = Array.from(Array.isArray(e) ? e : [e]), a = ln(e);
1062
- return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), pn(o, a, r, "aria-hidden")) : function() {
1061
+ var o = Array.from(Array.isArray(e) ? e : [e]), a = dn(e);
1062
+ return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), fn(o, a, r, "aria-hidden")) : function() {
1063
1063
  return null;
1064
1064
  };
1065
- }, Pe = "Dialog", [ht, xo] = Xt(Pe), [vn, D] = ht(Pe), mt = (e) => {
1065
+ }, Pe = "Dialog", [ht, Ro] = Yt(Pe), [hn, A] = ht(Pe), mt = (e) => {
1066
1066
  const {
1067
1067
  __scopeDialog: t,
1068
1068
  children: r,
@@ -1070,13 +1070,13 @@ var ln = function(e) {
1070
1070
  defaultOpen: a,
1071
1071
  onOpenChange: n,
1072
1072
  modal: i = !0
1073
- } = e, u = s.useRef(null), d = s.useRef(null), [c = !1, f] = Jt({
1073
+ } = e, u = s.useRef(null), d = s.useRef(null), [c = !1, f] = er({
1074
1074
  prop: o,
1075
1075
  defaultProp: a,
1076
1076
  onChange: n
1077
1077
  });
1078
1078
  return /* @__PURE__ */ p(
1079
- vn,
1079
+ hn,
1080
1080
  {
1081
1081
  scope: t,
1082
1082
  triggerRef: u,
@@ -1095,7 +1095,7 @@ var ln = function(e) {
1095
1095
  mt.displayName = Pe;
1096
1096
  var gt = "DialogTrigger", _t = s.forwardRef(
1097
1097
  (e, t) => {
1098
- const { __scopeDialog: r, ...o } = e, a = D(gt, r), n = j(t, a.triggerRef);
1098
+ const { __scopeDialog: r, ...o } = e, a = A(gt, r), n = B(t, a.triggerRef);
1099
1099
  return /* @__PURE__ */ p(
1100
1100
  M.button,
1101
1101
  {
@@ -1112,23 +1112,23 @@ var gt = "DialogTrigger", _t = s.forwardRef(
1112
1112
  }
1113
1113
  );
1114
1114
  _t.displayName = gt;
1115
- var Oe = "DialogPortal", [hn, yt] = ht(Oe, {
1115
+ var Oe = "DialogPortal", [mn, yt] = ht(Oe, {
1116
1116
  forceMount: void 0
1117
1117
  }), bt = (e) => {
1118
- const { __scopeDialog: t, forceMount: r, children: o, container: a } = e, n = D(Oe, t);
1119
- return /* @__PURE__ */ p(hn, { scope: t, forceMount: r, children: s.Children.map(o, (i) => /* @__PURE__ */ p(se, { present: r || n.open, children: /* @__PURE__ */ p(at, { asChild: !0, container: a, children: i }) })) });
1118
+ const { __scopeDialog: t, forceMount: r, children: o, container: a } = e, n = A(Oe, t);
1119
+ return /* @__PURE__ */ p(mn, { scope: t, forceMount: r, children: s.Children.map(o, (i) => /* @__PURE__ */ p(se, { present: r || n.open, children: /* @__PURE__ */ p(at, { asChild: !0, container: a, children: i }) })) });
1120
1120
  };
1121
1121
  bt.displayName = Oe;
1122
1122
  var ue = "DialogOverlay", wt = s.forwardRef(
1123
1123
  (e, t) => {
1124
- const r = yt(ue, e.__scopeDialog), { forceMount: o = r.forceMount, ...a } = e, n = D(ue, e.__scopeDialog);
1125
- return n.modal ? /* @__PURE__ */ p(se, { present: o || n.open, children: /* @__PURE__ */ p(mn, { ...a, ref: t }) }) : null;
1124
+ const r = yt(ue, e.__scopeDialog), { forceMount: o = r.forceMount, ...a } = e, n = A(ue, e.__scopeDialog);
1125
+ return n.modal ? /* @__PURE__ */ p(se, { present: o || n.open, children: /* @__PURE__ */ p(gn, { ...a, ref: t }) }) : null;
1126
1126
  }
1127
1127
  );
1128
1128
  wt.displayName = ue;
1129
- var mn = s.forwardRef(
1129
+ var gn = s.forwardRef(
1130
1130
  (e, t) => {
1131
- const { __scopeDialog: r, ...o } = e, a = D(ue, r);
1131
+ const { __scopeDialog: r, ...o } = e, a = A(ue, r);
1132
1132
  return (
1133
1133
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
1134
1134
  // ie. when `Overlay` and `Content` are siblings
@@ -1143,19 +1143,19 @@ var mn = s.forwardRef(
1143
1143
  ) })
1144
1144
  );
1145
1145
  }
1146
- ), W = "DialogContent", Et = s.forwardRef(
1146
+ ), j = "DialogContent", Et = s.forwardRef(
1147
1147
  (e, t) => {
1148
- const r = yt(W, e.__scopeDialog), { forceMount: o = r.forceMount, ...a } = e, n = D(W, e.__scopeDialog);
1149
- return /* @__PURE__ */ p(se, { present: o || n.open, children: n.modal ? /* @__PURE__ */ p(gn, { ...a, ref: t }) : /* @__PURE__ */ p(_n, { ...a, ref: t }) });
1148
+ const r = yt(j, e.__scopeDialog), { forceMount: o = r.forceMount, ...a } = e, n = A(j, e.__scopeDialog);
1149
+ return /* @__PURE__ */ p(se, { present: o || n.open, children: n.modal ? /* @__PURE__ */ p(_n, { ...a, ref: t }) : /* @__PURE__ */ p(yn, { ...a, ref: t }) });
1150
1150
  }
1151
1151
  );
1152
- Et.displayName = W;
1153
- var gn = s.forwardRef(
1152
+ Et.displayName = j;
1153
+ var _n = s.forwardRef(
1154
1154
  (e, t) => {
1155
- const r = D(W, e.__scopeDialog), o = s.useRef(null), a = j(t, r.contentRef, o);
1155
+ const r = A(j, e.__scopeDialog), o = s.useRef(null), a = B(t, r.contentRef, o);
1156
1156
  return s.useEffect(() => {
1157
1157
  const n = o.current;
1158
- if (n) return fn(n);
1158
+ if (n) return vn(n);
1159
1159
  }, []), /* @__PURE__ */ p(
1160
1160
  St,
1161
1161
  {
@@ -1178,9 +1178,9 @@ var gn = s.forwardRef(
1178
1178
  }
1179
1179
  );
1180
1180
  }
1181
- ), _n = s.forwardRef(
1181
+ ), yn = s.forwardRef(
1182
1182
  (e, t) => {
1183
- const r = D(W, e.__scopeDialog), o = s.useRef(!1), a = s.useRef(!1);
1183
+ const r = A(j, e.__scopeDialog), o = s.useRef(!1), a = s.useRef(!1);
1184
1184
  return /* @__PURE__ */ p(
1185
1185
  St,
1186
1186
  {
@@ -1203,8 +1203,8 @@ var gn = s.forwardRef(
1203
1203
  }
1204
1204
  ), St = s.forwardRef(
1205
1205
  (e, t) => {
1206
- const { __scopeDialog: r, trapFocus: o, onOpenAutoFocus: a, onCloseAutoFocus: n, ...i } = e, u = D(W, r), d = s.useRef(null), c = j(t, d);
1207
- return Pr(), /* @__PURE__ */ A(ae, { children: [
1206
+ const { __scopeDialog: r, trapFocus: o, onOpenAutoFocus: a, onCloseAutoFocus: n, ...i } = e, u = A(j, r), d = s.useRef(null), c = B(t, d);
1207
+ return Or(), /* @__PURE__ */ R(ae, { children: [
1208
1208
  /* @__PURE__ */ p(
1209
1209
  nt,
1210
1210
  {
@@ -1228,29 +1228,29 @@ var gn = s.forwardRef(
1228
1228
  )
1229
1229
  }
1230
1230
  ),
1231
- /* @__PURE__ */ A(ae, { children: [
1232
- /* @__PURE__ */ p(yn, { titleId: u.titleId }),
1233
- /* @__PURE__ */ p(wn, { contentRef: d, descriptionId: u.descriptionId })
1231
+ /* @__PURE__ */ R(ae, { children: [
1232
+ /* @__PURE__ */ p(bn, { titleId: u.titleId }),
1233
+ /* @__PURE__ */ p(En, { contentRef: d, descriptionId: u.descriptionId })
1234
1234
  ] })
1235
1235
  ] });
1236
1236
  }
1237
1237
  ), xe = "DialogTitle", Ct = s.forwardRef(
1238
1238
  (e, t) => {
1239
- const { __scopeDialog: r, ...o } = e, a = D(xe, r);
1239
+ const { __scopeDialog: r, ...o } = e, a = A(xe, r);
1240
1240
  return /* @__PURE__ */ p(M.h2, { id: a.titleId, ...o, ref: t });
1241
1241
  }
1242
1242
  );
1243
1243
  Ct.displayName = xe;
1244
1244
  var Nt = "DialogDescription", Pt = s.forwardRef(
1245
1245
  (e, t) => {
1246
- const { __scopeDialog: r, ...o } = e, a = D(Nt, r);
1246
+ const { __scopeDialog: r, ...o } = e, a = A(Nt, r);
1247
1247
  return /* @__PURE__ */ p(M.p, { id: a.descriptionId, ...o, ref: t });
1248
1248
  }
1249
1249
  );
1250
1250
  Pt.displayName = Nt;
1251
1251
  var Ot = "DialogClose", xt = s.forwardRef(
1252
1252
  (e, t) => {
1253
- const { __scopeDialog: r, ...o } = e, a = D(Ot, r);
1253
+ const { __scopeDialog: r, ...o } = e, a = A(Ot, r);
1254
1254
  return /* @__PURE__ */ p(
1255
1255
  M.button,
1256
1256
  {
@@ -1266,11 +1266,11 @@ xt.displayName = Ot;
1266
1266
  function Re(e) {
1267
1267
  return e ? "open" : "closed";
1268
1268
  }
1269
- var Rt = "DialogTitleWarning", [Ro, At] = Kt(Rt, {
1270
- contentName: W,
1269
+ var Rt = "DialogTitleWarning", [Ao, At] = Xt(Rt, {
1270
+ contentName: j,
1271
1271
  titleName: xe,
1272
1272
  docsSlug: "dialog"
1273
- }), yn = ({ titleId: e }) => {
1273
+ }), bn = ({ titleId: e }) => {
1274
1274
  const t = At(Rt), r = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
1275
1275
 
1276
1276
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
@@ -1279,21 +1279,21 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
1279
1279
  return s.useEffect(() => {
1280
1280
  e && (document.getElementById(e) || console.error(r));
1281
1281
  }, [r, e]), null;
1282
- }, bn = "DialogDescriptionWarning", wn = ({ contentRef: e, descriptionId: t }) => {
1283
- const o = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${At(bn).contentName}}.`;
1282
+ }, wn = "DialogDescriptionWarning", En = ({ contentRef: e, descriptionId: t }) => {
1283
+ const o = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${At(wn).contentName}}.`;
1284
1284
  return s.useEffect(() => {
1285
1285
  var n;
1286
1286
  const a = (n = e.current) == null ? void 0 : n.getAttribute("aria-describedby");
1287
1287
  t && a && (document.getElementById(t) || console.warn(o));
1288
1288
  }, [o, e, t]), null;
1289
- }, En = mt, Sn = _t, Cn = bt, Nn = wt, Pn = Et, On = Ct, ze = Pt, xn = xt;
1290
- const Rn = {
1289
+ }, Sn = mt, Cn = _t, Nn = bt, Pn = wt, On = Et, xn = Ct, ze = Pt, Rn = xt;
1290
+ const An = {
1291
1291
  XS: "xs",
1292
1292
  SM: "sm",
1293
1293
  MD: "md",
1294
1294
  LG: "lg"
1295
1295
  };
1296
- function An(e) {
1296
+ function Dn(e) {
1297
1297
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1298
1298
  }
1299
1299
  var Dt = { exports: {} };
@@ -1332,30 +1332,30 @@ var Dt = { exports: {} };
1332
1332
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1333
1333
  })();
1334
1334
  })(Dt);
1335
- var Dn = Dt.exports;
1336
- const He = /* @__PURE__ */ An(Dn), Tn = "_rotate_1xozj_1", Mn = "_dash_1xozj_1", H = {
1335
+ var Tn = Dt.exports;
1336
+ const He = /* @__PURE__ */ Dn(Tn), Mn = "_rotate_1xozj_1", In = "_dash_1xozj_1", H = {
1337
1337
  "purpur-spinner": "_purpur-spinner_1xozj_1",
1338
- rotate: Tn,
1338
+ rotate: Mn,
1339
1339
  "purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
1340
1340
  "purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
1341
1341
  "purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
1342
1342
  "purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
1343
1343
  "purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
1344
1344
  "purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
1345
- dash: Mn,
1345
+ dash: In,
1346
1346
  "purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
1347
1347
  "purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
1348
- }, G = "purpur-spinner", In = {
1348
+ }, G = "purpur-spinner", Ln = {
1349
1349
  XXS: "xxs",
1350
1350
  XS: "xs",
1351
1351
  SM: "sm",
1352
1352
  MD: "md",
1353
1353
  LG: "lg"
1354
- }, Ln = ({
1354
+ }, $n = ({
1355
1355
  ["data-testid"]: e,
1356
1356
  disabled: t = !1,
1357
1357
  negative: r = !1,
1358
- size: o = In.SM,
1358
+ size: o = Ln.SM,
1359
1359
  ...a
1360
1360
  }) => /* @__PURE__ */ p(
1361
1361
  "div",
@@ -1377,7 +1377,7 @@ const He = /* @__PURE__ */ An(Dn), Tn = "_rotate_1xozj_1", Mn = "_dash_1xozj_1",
1377
1377
  ) })
1378
1378
  }
1379
1379
  );
1380
- function $n(e) {
1380
+ function kn(e) {
1381
1381
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1382
1382
  }
1383
1383
  var Tt = { exports: {} };
@@ -1416,8 +1416,8 @@ var Tt = { exports: {} };
1416
1416
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1417
1417
  })();
1418
1418
  })(Tt);
1419
- var kn = Tt.exports;
1420
- const Fn = /* @__PURE__ */ $n(kn), Wn = {
1419
+ var Fn = Tt.exports;
1420
+ const Wn = /* @__PURE__ */ kn(Fn), jn = {
1421
1421
  "purpur-button": "_purpur-button_w455q_1",
1422
1422
  "purpur-button--xs": "_purpur-button--xs_w455q_33",
1423
1423
  "purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
@@ -1439,7 +1439,7 @@ const Fn = /* @__PURE__ */ $n(kn), Wn = {
1439
1439
  "purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_w455q_166",
1440
1440
  "purpur-button--text-negative": "_purpur-button--text-negative_w455q_181",
1441
1441
  "purpur-button--text": "_purpur-button--text_w455q_181"
1442
- }, jn = Fn.bind(Wn), k = "purpur-button", Bn = ({
1442
+ }, Bn = Wn.bind(jn), F = "purpur-button", qn = ({
1443
1443
  children: e,
1444
1444
  className: t,
1445
1445
  ["data-testid"]: r,
@@ -1456,26 +1456,26 @@ const Fn = /* @__PURE__ */ $n(kn), Wn = {
1456
1456
  }, g) => {
1457
1457
  if (n && f === "destructive")
1458
1458
  return null;
1459
- const w = jn(
1459
+ const y = Bn(
1460
1460
  [
1461
- k,
1462
- `${k}--${u ? `${f}-negative` : f}`,
1463
- `${k}--${c}`
1461
+ F,
1462
+ `${F}--${u ? `${f}-negative` : f}`,
1463
+ `${F}--${c}`
1464
1464
  ],
1465
1465
  {
1466
- [`${k}--icon-only`]: n,
1467
- [`${k}--negative`]: u,
1468
- [`${k}--full-width`]: a,
1469
- [`${k}--disabled`]: o || i
1466
+ [`${F}--icon-only`]: n,
1467
+ [`${F}--negative`]: u,
1468
+ [`${F}--full-width`]: a,
1469
+ [`${F}--disabled`]: o || i
1470
1470
  },
1471
1471
  t
1472
1472
  ), l = (_) => {
1473
1473
  o || i ? _.preventDefault() : d && d(_);
1474
1474
  }, m = !!h["aria-disabled"] || o || i;
1475
- return /* @__PURE__ */ A(
1475
+ return /* @__PURE__ */ R(
1476
1476
  "button",
1477
1477
  {
1478
- className: w,
1478
+ className: y,
1479
1479
  "data-testid": r,
1480
1480
  type: v,
1481
1481
  ref: g,
@@ -1483,15 +1483,15 @@ const Fn = /* @__PURE__ */ $n(kn), Wn = {
1483
1483
  onClick: l,
1484
1484
  ...h,
1485
1485
  children: [
1486
- i && /* @__PURE__ */ p(Ln, { size: c === Rn.LG ? "xs" : "xxs", negative: u, disabled: m }),
1486
+ i && /* @__PURE__ */ p($n, { size: c === An.LG ? "xs" : "xxs", negative: u, disabled: m }),
1487
1487
  " ",
1488
1488
  e
1489
1489
  ]
1490
1490
  }
1491
1491
  );
1492
- }, Ae = Ce(Bn);
1492
+ }, Ae = Ce(qn);
1493
1493
  Ae.displayName = "Button";
1494
- function qn(e) {
1494
+ function Un(e) {
1495
1495
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1496
1496
  }
1497
1497
  var Mt = { exports: {} };
@@ -1530,8 +1530,8 @@ var Mt = { exports: {} };
1530
1530
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1531
1531
  })();
1532
1532
  })(Mt);
1533
- var Un = Mt.exports;
1534
- const Vn = /* @__PURE__ */ qn(Un), te = {
1533
+ var Vn = Mt.exports;
1534
+ const zn = /* @__PURE__ */ Un(Vn), te = {
1535
1535
  "purpur-heading": "_purpur-heading_k9fhq_1",
1536
1536
  "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
1537
1537
  "purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
@@ -1547,7 +1547,7 @@ const Vn = /* @__PURE__ */ qn(Un), te = {
1547
1547
  "purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
1548
1548
  "purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
1549
1549
  "purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
1550
- }, zn = {
1550
+ }, Hn = {
1551
1551
  TITLE100: "title-100",
1552
1552
  TITLE200: "title-200",
1553
1553
  TITLE300: "title-300",
@@ -1563,10 +1563,10 @@ const Vn = /* @__PURE__ */ qn(Un), te = {
1563
1563
  enableHyphenation: o = !1,
1564
1564
  negative: a = !1,
1565
1565
  tag: n,
1566
- variant: i = zn.TITLE100,
1566
+ variant: i = Hn.TITLE100,
1567
1567
  ...u
1568
1568
  }) => {
1569
- const d = n, c = Vn([
1569
+ const d = n, c = zn([
1570
1570
  r,
1571
1571
  te[re],
1572
1572
  te[`${re}--${i}`],
@@ -1578,7 +1578,7 @@ const Vn = /* @__PURE__ */ qn(Un), te = {
1578
1578
  return /* @__PURE__ */ p(d, { ...u, className: c, "data-testid": e, children: t });
1579
1579
  };
1580
1580
  It.displayName = "Heading";
1581
- function Hn(e) {
1581
+ function Gn(e) {
1582
1582
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1583
1583
  }
1584
1584
  var Lt = { exports: {} };
@@ -1617,8 +1617,8 @@ var Lt = { exports: {} };
1617
1617
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1618
1618
  })();
1619
1619
  })(Lt);
1620
- var Gn = Lt.exports;
1621
- const Kn = /* @__PURE__ */ Hn(Gn), Xn = {
1620
+ var Kn = Lt.exports;
1621
+ const Xn = /* @__PURE__ */ Gn(Kn), Yn = {
1622
1622
  "purpur-icon": "_purpur-icon_8u1lq_1",
1623
1623
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
1624
1624
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -1626,26 +1626,26 @@ const Kn = /* @__PURE__ */ Hn(Gn), Xn = {
1626
1626
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
1627
1627
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
1628
1628
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
1629
- }, Yn = Kn.bind(Xn), Ge = "purpur-icon", Zn = "md", Qn = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "), Jn = ({ content: e = "", title: t } = {}) => {
1629
+ }, Zn = Xn.bind(Yn), Ge = "purpur-icon", Qn = "md", Jn = (e) => e.filter((t) => Object.keys(t).length >= 1).map((t) => `${t.name}="${t.value}"`).join(" "), eo = ({ content: e = "", title: t } = {}) => {
1630
1630
  const r = [
1631
1631
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
1632
1632
  { name: "fill", value: "currentColor" },
1633
1633
  { name: "viewBox", value: "0 0 24 24" },
1634
1634
  t ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
1635
1635
  ], o = t ? `<title>${t}</title>` : "";
1636
- return `<svg ${Qn(r)}>${o}${e}</svg>`;
1637
- }, eo = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), $t = ({
1636
+ return `<svg ${Jn(r)}>${o}${e}</svg>`;
1637
+ }, to = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), $t = ({
1638
1638
  ["data-testid"]: e,
1639
1639
  svg: t,
1640
1640
  allyTitle: r,
1641
1641
  className: o,
1642
- size: a = Zn,
1642
+ size: a = Qn,
1643
1643
  ...n
1644
1644
  }) => {
1645
- const i = Jn({
1646
- content: eo(t.svg),
1645
+ const i = eo({
1646
+ content: to(t.svg),
1647
1647
  title: r
1648
- }), u = Yn(o, Ge, `${Ge}--${a}`);
1648
+ }), u = Zn(o, Ge, `${Ge}--${a}`);
1649
1649
  return /* @__PURE__ */ p(
1650
1650
  "span",
1651
1651
  {
@@ -1658,14 +1658,14 @@ const Kn = /* @__PURE__ */ Hn(Gn), Xn = {
1658
1658
  );
1659
1659
  };
1660
1660
  $t.displayName = "Icon";
1661
- const to = {
1661
+ const ro = {
1662
1662
  name: "close",
1663
1663
  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>',
1664
1664
  keywords: ["close"],
1665
1665
  category: "utility"
1666
- }, kt = (e) => /* @__PURE__ */ p($t, { ...e, svg: to });
1666
+ }, kt = (e) => /* @__PURE__ */ p($t, { ...e, svg: ro });
1667
1667
  kt.displayName = "IconClose";
1668
- function ro(e) {
1668
+ function no(e) {
1669
1669
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1670
1670
  }
1671
1671
  var Ft = { exports: {} };
@@ -1704,8 +1704,8 @@ var Ft = { exports: {} };
1704
1704
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1705
1705
  })();
1706
1706
  })(Ft);
1707
- var no = Ft.exports;
1708
- const oo = /* @__PURE__ */ ro(no), K = {
1707
+ var oo = Ft.exports;
1708
+ const ao = /* @__PURE__ */ no(oo), K = {
1709
1709
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
1710
1710
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
1711
1711
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
@@ -1720,7 +1720,7 @@ const oo = /* @__PURE__ */ ro(no), K = {
1720
1720
  "purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
1721
1721
  "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
1722
1722
  "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
1723
- }, ao = {
1723
+ }, io = {
1724
1724
  PARAGRAPH100: "paragraph-100",
1725
1725
  PARAGRAPH100MEDIUM: "paragraph-100-medium",
1726
1726
  PARAGRAPH100BOLD: "paragraph-100-bold",
@@ -1738,10 +1738,10 @@ const oo = /* @__PURE__ */ ro(no), K = {
1738
1738
  disabled: o,
1739
1739
  enableHyphenation: a = !1,
1740
1740
  negative: n = !1,
1741
- variant: i = ao.PARAGRAPH100,
1741
+ variant: i = io.PARAGRAPH100,
1742
1742
  ...u
1743
1743
  }) => {
1744
- const d = oo([
1744
+ const d = ao([
1745
1745
  r,
1746
1746
  K[X],
1747
1747
  K[`${X}--${i}`],
@@ -1759,7 +1759,7 @@ function Ke(e, t) {
1759
1759
  return e(t);
1760
1760
  e != null && (e.current = t);
1761
1761
  }
1762
- function io(...e) {
1762
+ function uo(...e) {
1763
1763
  return (t) => {
1764
1764
  let r = !1;
1765
1765
  const o = e.map((a) => {
@@ -1776,7 +1776,7 @@ function io(...e) {
1776
1776
  };
1777
1777
  }
1778
1778
  var jt = s.forwardRef((e, t) => {
1779
- const { children: r, ...o } = e, a = s.Children.toArray(r), n = a.find(so);
1779
+ const { children: r, ...o } = e, a = s.Children.toArray(r), n = a.find(co);
1780
1780
  if (n) {
1781
1781
  const i = n.props.children, u = a.map((d) => d === n ? s.Children.count(i) > 1 ? s.Children.only(null) : s.isValidElement(i) ? i.props.children : null : d);
1782
1782
  return /* @__PURE__ */ p(Se, { ...o, ref: t, children: s.isValidElement(i) ? s.cloneElement(i, void 0, u) : null });
@@ -1787,17 +1787,17 @@ jt.displayName = "Slot";
1787
1787
  var Se = s.forwardRef((e, t) => {
1788
1788
  const { children: r, ...o } = e;
1789
1789
  if (s.isValidElement(r)) {
1790
- const a = lo(r), n = co(o, r.props);
1791
- return r.type !== s.Fragment && (n.ref = t ? io(t, a) : a), s.cloneElement(r, n);
1790
+ const a = po(r), n = lo(o, r.props);
1791
+ return r.type !== s.Fragment && (n.ref = t ? uo(t, a) : a), s.cloneElement(r, n);
1792
1792
  }
1793
1793
  return s.Children.count(r) > 1 ? s.Children.only(null) : null;
1794
1794
  });
1795
1795
  Se.displayName = "SlotClone";
1796
- var uo = ({ children: e }) => /* @__PURE__ */ p(ae, { children: e });
1797
- function so(e) {
1798
- return s.isValidElement(e) && e.type === uo;
1796
+ var so = ({ children: e }) => /* @__PURE__ */ p(ae, { children: e });
1797
+ function co(e) {
1798
+ return s.isValidElement(e) && e.type === so;
1799
1799
  }
1800
- function co(e, t) {
1800
+ function lo(e, t) {
1801
1801
  const r = { ...t };
1802
1802
  for (const o in t) {
1803
1803
  const a = e[o], n = t[o];
@@ -1807,12 +1807,12 @@ function co(e, t) {
1807
1807
  }
1808
1808
  return { ...e, ...r };
1809
1809
  }
1810
- function lo(e) {
1810
+ function po(e) {
1811
1811
  var t, r;
1812
1812
  let o = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, a = o && "isReactWarning" in o && o.isReactWarning;
1813
1813
  return a ? e.ref : (o = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, a = o && "isReactWarning" in o && o.isReactWarning, a ? e.props.ref : e.props.ref || e.ref);
1814
1814
  }
1815
- var po = [
1815
+ var fo = [
1816
1816
  "a",
1817
1817
  "button",
1818
1818
  "div",
@@ -1829,15 +1829,15 @@ var po = [
1829
1829
  "span",
1830
1830
  "svg",
1831
1831
  "ul"
1832
- ], fo = po.reduce((e, t) => {
1832
+ ], vo = fo.reduce((e, t) => {
1833
1833
  const r = s.forwardRef((o, a) => {
1834
1834
  const { asChild: n, ...i } = o, u = n ? jt : t;
1835
1835
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p(u, { ...i, ref: a });
1836
1836
  });
1837
1837
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
1838
- }, {}), vo = "VisuallyHidden", Bt = s.forwardRef(
1838
+ }, {}), ho = "VisuallyHidden", Bt = s.forwardRef(
1839
1839
  (e, t) => /* @__PURE__ */ p(
1840
- fo.span,
1840
+ vo.span,
1841
1841
  {
1842
1842
  ...e,
1843
1843
  ref: t,
@@ -1858,15 +1858,15 @@ var po = [
1858
1858
  }
1859
1859
  )
1860
1860
  );
1861
- Bt.displayName = vo;
1862
- var ho = Bt;
1863
- const mo = ({
1861
+ Bt.displayName = ho;
1862
+ var mo = Bt;
1863
+ const go = ({
1864
1864
  asChild: e,
1865
1865
  children: t,
1866
1866
  className: r = "",
1867
1867
  ["data-testid"]: o
1868
- }) => /* @__PURE__ */ p(ho, { asChild: e, "data-testid": o, className: r, children: t });
1869
- function go(e) {
1868
+ }) => /* @__PURE__ */ p(mo, { asChild: e, "data-testid": o, className: r, children: t });
1869
+ function _o(e) {
1870
1870
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1871
1871
  }
1872
1872
  var qt = { exports: {} };
@@ -1905,10 +1905,10 @@ var qt = { exports: {} };
1905
1905
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1906
1906
  })();
1907
1907
  })(qt);
1908
- var _o = qt.exports;
1909
- const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
1908
+ var yo = qt.exports;
1909
+ const bo = /* @__PURE__ */ _o(yo), wo = "_fadeIn_1ifm3_1", Eo = {
1910
1910
  "purpur-modal-content": "_purpur-modal-content_1ifm3_1",
1911
- fadeIn: bo,
1911
+ fadeIn: wo,
1912
1912
  "purpur-modal-content__overlay": "_purpur-modal-content__overlay_1ifm3_30",
1913
1913
  "purpur-modal-content__close-button": "_purpur-modal-content__close-button_1ifm3_37",
1914
1914
  "purpur-modal-content__wrapper": "_purpur-modal-content__wrapper_1ifm3_48",
@@ -1927,7 +1927,7 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
1927
1927
  "purpur-modal-content__actions": "_purpur-modal-content__actions_1ifm3_124",
1928
1928
  "purpur-modal-content__actions-separator": "_purpur-modal-content__actions-separator_1ifm3_181",
1929
1929
  "purpur-modal-content--sticky-footer": "_purpur-modal-content--sticky-footer_1ifm3_191"
1930
- }, Xe = (e) => e.showCloseButton === !0, P = yo.bind(wo), N = "purpur-modal-content", Eo = Ce(
1930
+ }, Xe = (e) => e.showCloseButton === !0, O = bo.bind(Eo), N = "purpur-modal-content", So = Ce(
1931
1931
  ({
1932
1932
  ["data-testid"]: e,
1933
1933
  actions: t,
@@ -1942,67 +1942,69 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
1942
1942
  title: f,
1943
1943
  notification: v = void 0,
1944
1944
  zIndex: h,
1945
- ...g
1946
- }, w) => {
1947
- const { closeButtonAllyLabel: l, showCloseButton: m, ..._ } = g, [C, E] = Qe(!1), b = _e(null), S = _e(null), x = P([
1945
+ onCloseAutoFocus: g,
1946
+ ...y
1947
+ }, l) => {
1948
+ const { closeButtonAllyLabel: m, showCloseButton: _, ...C } = y, [w, E] = Qe(!1), S = _e(null), x = _e(null), b = O([
1948
1949
  N,
1949
1950
  { [`${N}--with-image`]: !!u },
1950
- { [`${N}--overflow`]: C },
1951
+ { [`${N}--overflow`]: w },
1951
1952
  { [`${N}--sticky-footer`]: c },
1952
1953
  o
1953
- ]), y = ($) => e ? `${e} ${$}` : void 0, R = ($) => {
1954
- n && $.preventDefault();
1955
- }, O = zt(() => {
1956
- if (!b.current || !S.current)
1954
+ ]), P = (k) => e ? `${e} ${k}` : void 0, $ = (k) => {
1955
+ n && k.preventDefault();
1956
+ }, D = Ht(() => {
1957
+ if (!S.current || !x.current)
1957
1958
  return;
1958
- const $ = window.getComputedStyle(b.current, null), Ut = parseFloat($.getPropertyValue("height")), Vt = S.current.offsetHeight;
1959
- E(Ut < Vt);
1960
- }, []), z = ($) => {
1961
- n && !m && $.preventDefault();
1959
+ const k = window.getComputedStyle(S.current, null), Vt = parseFloat(k.getPropertyValue("height")), zt = x.current.offsetHeight;
1960
+ E(Vt < zt);
1961
+ }, []), Ut = (k) => {
1962
+ n && !_ && k.preventDefault();
1962
1963
  };
1963
- return ye(() => (window.addEventListener("resize", O), () => {
1964
- window.removeEventListener("resize", O);
1965
- }), [O]), ye(() => {
1966
- O();
1967
- }, [v, r, O]), /* @__PURE__ */ A(Cn, { children: [
1968
- /* @__PURE__ */ p(Nn, { className: P(`${N}__overlay`), style: { zIndex: h } }),
1969
- /* @__PURE__ */ A(
1970
- Pn,
1964
+ return ye(() => (window.addEventListener("resize", D), () => {
1965
+ window.removeEventListener("resize", D);
1966
+ }), [D]), ye(() => {
1967
+ D();
1968
+ }, [v, r, D]), /* @__PURE__ */ R(Nn, { children: [
1969
+ /* @__PURE__ */ p(Pn, { className: O(`${N}__overlay`), style: { zIndex: h } }),
1970
+ /* @__PURE__ */ R(
1971
+ On,
1971
1972
  {
1972
- ..._,
1973
- className: x,
1973
+ ...C,
1974
+ className: b,
1974
1975
  "data-testid": e,
1975
- ref: w,
1976
+ ref: l,
1976
1977
  ...!a && { "aria-describedby": void 0 },
1977
- onPointerDownOutside: R,
1978
- onOpenAutoFocus: O,
1979
- onEscapeKeyDown: z,
1978
+ onPointerDownOutside: $,
1979
+ onOpenAutoFocus: D,
1980
+ onEscapeKeyDown: Ut,
1981
+ onCloseAutoFocus: g,
1980
1982
  style: { zIndex: `calc(${h} + 1)` },
1981
1983
  children: [
1982
- /* @__PURE__ */ A("div", { ref: b, className: P(`${N}__wrapper`), children: [
1983
- Xe(g) && l && u && /* @__PURE__ */ p(
1984
+ /* @__PURE__ */ R("div", { ref: S, className: O(`${N}__wrapper`), children: [
1985
+ Xe(y) && m && u && /* @__PURE__ */ p(
1984
1986
  Ye,
1985
1987
  {
1986
- allyLabel: l,
1988
+ allyLabel: m,
1987
1989
  hasImage: !0,
1988
- "data-testid": y("close-button")
1990
+ "data-testid": P("close-button")
1989
1991
  }
1990
1992
  ),
1991
- /* @__PURE__ */ A("div", { ref: S, className: P(`${N}__wrapper-inner`), children: [
1992
- /* @__PURE__ */ A("div", { className: P(`${N}__header`), children: [
1993
- Xe(g) && l && !u && /* @__PURE__ */ p(
1993
+ /* @__PURE__ */ R("div", { ref: x, className: O(`${N}__wrapper-inner`), children: [
1994
+ /* @__PURE__ */ R("div", { className: O(`${N}__header`), children: [
1995
+ Xe(y) && m && !u && /* @__PURE__ */ p(
1994
1996
  Ye,
1995
1997
  {
1996
- allyLabel: l,
1997
- "data-testid": y("close-button")
1998
+ allyLabel: m,
1999
+ "data-testid": P("close-button")
1998
2000
  }
1999
2001
  ),
2000
2002
  /* @__PURE__ */ p(
2001
- On,
2003
+ xn,
2002
2004
  {
2003
2005
  asChild: !0,
2004
- className: P(`${N}__title`),
2005
- "data-testid": y("title"),
2006
+ className: O(`${N}__title`),
2007
+ "data-testid": P("title"),
2006
2008
  children: /* @__PURE__ */ p(It, { tag: "h2", variant: "title-200", children: f })
2007
2009
  }
2008
2010
  )
@@ -2010,19 +2012,19 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
2010
2012
  u && /* @__PURE__ */ p(
2011
2013
  "div",
2012
2014
  {
2013
- className: P(`${N}__image-wrapper`),
2014
- "data-testid": y("image"),
2015
+ className: O(`${N}__image-wrapper`),
2016
+ "data-testid": P("image"),
2015
2017
  children: u
2016
2018
  }
2017
2019
  ),
2018
- /* @__PURE__ */ p("div", { className: P(`${N}__body`), children: /* @__PURE__ */ A("div", { className: P(`${N}__body-inner`), children: [
2019
- a && i && /* @__PURE__ */ p(mo, { asChild: !0, children: /* @__PURE__ */ p(ze, { "data-testid": y("description"), children: a }) }),
2020
+ /* @__PURE__ */ p("div", { className: O(`${N}__body`), children: /* @__PURE__ */ R("div", { className: O(`${N}__body-inner`), children: [
2021
+ a && i && /* @__PURE__ */ p(go, { asChild: !0, children: /* @__PURE__ */ p(ze, { "data-testid": P("description"), children: a }) }),
2020
2022
  a && !i && /* @__PURE__ */ p(
2021
2023
  ze,
2022
2024
  {
2023
2025
  asChild: !0,
2024
- className: P(`${N}__description`),
2025
- "data-testid": y("description"),
2026
+ className: O(`${N}__description`),
2027
+ "data-testid": P("description"),
2026
2028
  children: /* @__PURE__ */ p(Wt, { variant: "paragraph-100", children: a })
2027
2029
  }
2028
2030
  ),
@@ -2055,7 +2057,7 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
2055
2057
  allyLabel: e,
2056
2058
  hasImage: t,
2057
2059
  ["data-testid"]: r
2058
- }) => /* @__PURE__ */ p(xn, { asChild: !0, children: /* @__PURE__ */ p(
2060
+ }) => /* @__PURE__ */ p(Rn, { asChild: !0, children: /* @__PURE__ */ p(
2059
2061
  Ae,
2060
2062
  {
2061
2063
  variant: t ? "primary" : "tertiary-purple",
@@ -2063,11 +2065,11 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
2063
2065
  size: "sm",
2064
2066
  iconOnly: !0,
2065
2067
  "aria-label": e,
2066
- className: P(`${N}__close-button`),
2068
+ className: O(`${N}__close-button`),
2067
2069
  "data-testid": r,
2068
2070
  children: /* @__PURE__ */ p(kt, {})
2069
2071
  }
2070
- ) }), So = 3, Ze = ({
2072
+ ) }), Co = 3, Ze = ({
2071
2073
  actions: e,
2072
2074
  primaryActionVariant: t,
2073
2075
  notification: r
@@ -2076,9 +2078,9 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
2076
2078
  return ye(() => {
2077
2079
  var n, i;
2078
2080
  r && ((i = (n = o == null ? void 0 : o.current) == null ? void 0 : n.scrollIntoView) == null || i.call(n, !1));
2079
- }, [r]), e && e.length > 0 ? /* @__PURE__ */ A("div", { className: P(`${N}__actions`), children: [
2080
- /* @__PURE__ */ p("div", { className: P(`${N}__actions-buttons`), "data-testid": "modal actions", children: e.slice(0, So).map(
2081
- ({ label: n, onClick: i, disabled: u, loading: d, iconPosition: c = "right", icon: f, ...v }, h) => /* @__PURE__ */ A(
2081
+ }, [r]), e && e.length > 0 ? /* @__PURE__ */ R("div", { className: O(`${N}__actions`), children: [
2082
+ /* @__PURE__ */ p("div", { className: O(`${N}__actions-buttons`), "data-testid": "modal actions", children: e.slice(0, Co).map(
2083
+ ({ label: n, onClick: i, disabled: u, loading: d, iconPosition: c = "right", icon: f, ...v }, h) => /* @__PURE__ */ R(
2082
2084
  Ae,
2083
2085
  {
2084
2086
  "data-testid": "modal actions button",
@@ -2086,7 +2088,7 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
2086
2088
  onClick: i,
2087
2089
  disabled: u,
2088
2090
  loading: d,
2089
- className: P(`${N}__actions-button`),
2091
+ className: O(`${N}__actions-button`),
2090
2092
  ...v,
2091
2093
  children: [
2092
2094
  c === "left" && f && f,
@@ -2097,29 +2099,19 @@ const yo = /* @__PURE__ */ go(_o), bo = "_fadeIn_1ifm3_1", wo = {
2097
2099
  n
2098
2100
  )
2099
2101
  ) }),
2100
- r && /* @__PURE__ */ p("div", { className: P(`${N}__notification`), ref: o, children: r }),
2101
- /* @__PURE__ */ p("span", { className: P(`${N}__actions-separator`) })
2102
+ r && /* @__PURE__ */ p("div", { className: O(`${N}__notification`), ref: o, children: r }),
2103
+ /* @__PURE__ */ p("span", { className: O(`${N}__actions-separator`) })
2102
2104
  ] }) : null;
2103
- }, Co = Ce(
2104
- ({ ["data-testid"]: e, children: t, className: r, ...o }, a) => /* @__PURE__ */ p(
2105
- Sn,
2106
- {
2107
- asChild: !0,
2108
- ref: a,
2109
- "data-testid": e,
2110
- className: r,
2111
- ...o,
2112
- children: t
2113
- }
2114
- )
2105
+ }, No = Ce(
2106
+ ({ ["data-testid"]: e, children: t, className: r, ...o }, a) => /* @__PURE__ */ p(Cn, { asChild: !0, ref: a, "data-testid": e, className: r, ...o, children: t })
2115
2107
  ), De = ({
2116
2108
  ["data-testid"]: e,
2117
2109
  children: t,
2118
2110
  open: r,
2119
2111
  onOpenChange: o
2120
- }) => /* @__PURE__ */ p(En, { open: r, onOpenChange: o, "data-testid": e, children: t });
2121
- De.Trigger = Co;
2122
- De.Content = Eo;
2112
+ }) => /* @__PURE__ */ p(Sn, { open: r, onOpenChange: o, "data-testid": e, children: t });
2113
+ De.Trigger = No;
2114
+ De.Content = So;
2123
2115
  De.displayName = "Modal";
2124
2116
  export {
2125
2117
  De as Modal