@purpurds/pagination 8.19.0 → 8.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  import { jsx as s, jsxs as h } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
- import { forwardRef as z, useId as er, useMemo as kr, createElement as se, useState as I, useEffect as le } from "react";
3
+ import { forwardRef as z, useId as ir, useMemo as Vr, createElement as ce, useState as er, useEffect as _e } from "react";
4
4
  import "react-dom";
5
- function ue(e) {
5
+ function de(e) {
6
6
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
7
  }
8
- var or = { exports: {} }, sr;
9
- function ge() {
10
- return sr || (sr = 1, (function(e) {
8
+ var lr = { exports: {} }, ur;
9
+ function fe() {
10
+ return ur || (ur = 1, (function(e) {
11
11
  (function() {
12
12
  var n = {}.hasOwnProperty;
13
13
  function i() {
@@ -36,10 +36,10 @@ function ge() {
36
36
  }
37
37
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
38
38
  })();
39
- })(or)), or.exports;
39
+ })(lr)), lr.exports;
40
40
  }
41
- var ce = ge();
42
- const _e = /* @__PURE__ */ ue(ce), de = {
41
+ var me = fe();
42
+ const ve = /* @__PURE__ */ de(me), he = {
43
43
  "purpur-icon": "_purpur-icon_8u1lq_1",
44
44
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
45
45
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -47,61 +47,61 @@ const _e = /* @__PURE__ */ ue(ce), de = {
47
47
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
48
48
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
49
49
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
50
- }, fe = _e.bind(de), lr = "purpur-icon", me = "md", ve = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), he = ({ content: e = "", title: n } = {}) => {
50
+ }, ye = ve.bind(he), gr = "purpur-icon", $e = "md", be = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), xe = ({ content: e = "", title: n } = {}) => {
51
51
  const i = [
52
52
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
53
53
  { name: "fill", value: "currentColor" },
54
54
  { name: "viewBox", value: "0 0 24 24" },
55
55
  n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
56
56
  ], o = n ? `<title>${n}</title>` : "";
57
- return `<svg ${ve(i)}>${o}${e}</svg>`;
58
- }, ye = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), tr = ({ svg: e, allyTitle: n, className: i, size: o = me, ...a }) => {
59
- const r = he({
60
- content: ye(e.svg),
57
+ return `<svg ${be(i)}>${o}${e}</svg>`;
58
+ }, we = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), nr = ({ svg: e, allyTitle: n, className: i, size: o = $e, ...a }) => {
59
+ const r = xe({
60
+ content: we(e.svg),
61
61
  title: n
62
- }), t = fe(lr, `${lr}--${o}`, i);
62
+ }), t = ye(gr, `${gr}--${o}`, i);
63
63
  return /* @__PURE__ */ s("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...a });
64
64
  };
65
- tr.displayName = "Icon";
66
- const $e = {
65
+ nr.displayName = "Icon";
66
+ const Se = {
67
67
  name: "arrow-left",
68
68
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
69
69
  keywords: ["arrow-left"],
70
70
  category: "utility"
71
- }, Dr = (e) => /* @__PURE__ */ s(tr, { ...e, svg: $e });
72
- Dr.displayName = "IconArrowLeft";
73
- const be = {
71
+ }, Wr = (e) => /* @__PURE__ */ s(nr, { ...e, svg: Se });
72
+ Wr.displayName = "IconArrowLeft";
73
+ const Ne = {
74
74
  name: "arrow-right",
75
75
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
76
76
  keywords: ["arrow-right"],
77
77
  category: "utility"
78
- }, Vr = (e) => /* @__PURE__ */ s(tr, { ...e, svg: be });
79
- Vr.displayName = "IconArrowRight";
80
- function ur(e, n) {
78
+ }, Br = (e) => /* @__PURE__ */ s(nr, { ...e, svg: Ne });
79
+ Br.displayName = "IconArrowRight";
80
+ function cr(e, n) {
81
81
  if (typeof e == "function")
82
82
  return e(n);
83
83
  e != null && (e.current = n);
84
84
  }
85
- function xe(...e) {
85
+ function Oe(...e) {
86
86
  return (n) => {
87
87
  let i = !1;
88
88
  const o = e.map((a) => {
89
- const r = ur(a, n);
89
+ const r = cr(a, n);
90
90
  return !i && typeof r == "function" && (i = !0), r;
91
91
  });
92
92
  if (i)
93
93
  return () => {
94
94
  for (let a = 0; a < o.length; a++) {
95
95
  const r = o[a];
96
- typeof r == "function" ? r() : ur(e[a], null);
96
+ typeof r == "function" ? r() : cr(e[a], null);
97
97
  }
98
98
  };
99
99
  };
100
100
  }
101
101
  // @__NO_SIDE_EFFECTS__
102
- function we(e) {
103
- const n = /* @__PURE__ */ Se(e), i = l.forwardRef((o, a) => {
104
- const { children: r, ...t } = o, p = l.Children.toArray(r), g = p.find(Oe);
102
+ function Ce(e) {
103
+ const n = /* @__PURE__ */ Pe(e), i = l.forwardRef((o, a) => {
104
+ const { children: r, ...t } = o, p = l.Children.toArray(r), g = p.find(ze);
105
105
  if (g) {
106
106
  const c = g.props.children, f = p.map((u) => u === g ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : u);
107
107
  return /* @__PURE__ */ s(n, { ...t, ref: a, children: l.isValidElement(c) ? l.cloneElement(c, void 0, f) : null });
@@ -111,22 +111,22 @@ function we(e) {
111
111
  return i.displayName = `${e}.Slot`, i;
112
112
  }
113
113
  // @__NO_SIDE_EFFECTS__
114
- function Se(e) {
114
+ function Pe(e) {
115
115
  const n = l.forwardRef((i, o) => {
116
116
  const { children: a, ...r } = i;
117
117
  if (l.isValidElement(a)) {
118
- const t = Pe(a), p = Ce(r, a.props);
119
- return a.type !== l.Fragment && (p.ref = o ? xe(o, t) : t), l.cloneElement(a, p);
118
+ const t = Re(a), p = Ae(r, a.props);
119
+ return a.type !== l.Fragment && (p.ref = o ? Oe(o, t) : t), l.cloneElement(a, p);
120
120
  }
121
121
  return l.Children.count(a) > 1 ? l.Children.only(null) : null;
122
122
  });
123
123
  return n.displayName = `${e}.SlotClone`, n;
124
124
  }
125
- var Ne = Symbol("radix.slottable");
126
- function Oe(e) {
127
- return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ne;
125
+ var je = /* @__PURE__ */ Symbol("radix.slottable");
126
+ function ze(e) {
127
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === je;
128
128
  }
129
- function Ce(e, n) {
129
+ function Ae(e, n) {
130
130
  const i = { ...n };
131
131
  for (const o in n) {
132
132
  const a = e[o], r = n[o];
@@ -136,11 +136,11 @@ function Ce(e, n) {
136
136
  }
137
137
  return { ...e, ...i };
138
138
  }
139
- function Pe(e) {
139
+ function Re(e) {
140
140
  let n = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, i = n && "isReactWarning" in n && n.isReactWarning;
141
141
  return i ? e.ref : (n = Object.getOwnPropertyDescriptor(e, "ref")?.get, i = n && "isReactWarning" in n && n.isReactWarning, i ? e.props.ref : e.props.ref || e.ref);
142
142
  }
143
- var je = [
143
+ var qe = [
144
144
  "a",
145
145
  "button",
146
146
  "div",
@@ -157,15 +157,15 @@ var je = [
157
157
  "span",
158
158
  "svg",
159
159
  "ul"
160
- ], ze = je.reduce((e, n) => {
161
- const i = /* @__PURE__ */ we(`Primitive.${n}`), o = l.forwardRef((a, r) => {
160
+ ], Ee = qe.reduce((e, n) => {
161
+ const i = /* @__PURE__ */ Ce(`Primitive.${n}`), o = l.forwardRef((a, r) => {
162
162
  const { asChild: t, ...p } = a, g = t ? i : n;
163
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(g, { ...p, ref: r });
163
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(g, { ...p, ref: r });
164
164
  });
165
165
  return o.displayName = `Primitive.${n}`, { ...e, [n]: o };
166
- }, {}), Ae = "VisuallyHidden", Br = l.forwardRef(
166
+ }, {}), Me = "VisuallyHidden", Lr = l.forwardRef(
167
167
  (e, n) => /* @__PURE__ */ s(
168
- ze.span,
168
+ Ee.span,
169
169
  {
170
170
  ...e,
171
171
  ref: n,
@@ -186,16 +186,16 @@ var je = [
186
186
  }
187
187
  )
188
188
  );
189
- Br.displayName = Ae;
190
- var Re = Br;
191
- const R = ({ asChild: e, children: n, ...i }) => /* @__PURE__ */ s(Re, { asChild: e, ...i, children: n });
192
- function Me(e) {
189
+ Lr.displayName = Me;
190
+ var ke = Lr;
191
+ const R = ({ asChild: e, children: n, ...i }) => /* @__PURE__ */ s(ke, { asChild: e, ...i, children: n });
192
+ function De(e) {
193
193
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
194
194
  }
195
- var Q = { exports: {} };
196
- var gr;
197
- function qe() {
198
- return gr || (gr = 1, (function(e) {
195
+ var X = { exports: {} };
196
+ var _r;
197
+ function Ve() {
198
+ return _r || (_r = 1, (function(e) {
199
199
  (function() {
200
200
  var n = {}.hasOwnProperty;
201
201
  function i() {
@@ -224,12 +224,12 @@ function qe() {
224
224
  }
225
225
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
226
226
  })();
227
- })(Q)), Q.exports;
227
+ })(X)), X.exports;
228
228
  }
229
- var Ee = qe();
230
- const A = /* @__PURE__ */ Me(Ee), Wr = (e) => {
229
+ var We = Ve();
230
+ const A = /* @__PURE__ */ De(We), Zr = (e) => {
231
231
  window.location.href = e;
232
- }, ke = {
232
+ }, Be = {
233
233
  "purpur-pagination": "_purpur-pagination_1g3as_1",
234
234
  "purpur-pagination__pagination-container": "_purpur-pagination__pagination-container_1g3as_5",
235
235
  "purpur-pagination__pagination-container--with-page-size-select": "_purpur-pagination__pagination-container--with-page-size-select_1g3as_12",
@@ -244,31 +244,40 @@ const A = /* @__PURE__ */ Me(Ee), Wr = (e) => {
244
244
  "purpur-pagination__page-selector": "_purpur-pagination__page-selector_1g3as_94",
245
245
  "purpur-pagination__page-selector--visible": "_purpur-pagination__page-selector--visible_1g3as_97"
246
246
  };
247
- function cr(e, n) {
247
+ function dr(e, n) {
248
248
  if (typeof e == "function")
249
249
  return e(n);
250
250
  e != null && (e.current = n);
251
251
  }
252
- function De(...e) {
252
+ function Le(...e) {
253
253
  return (n) => {
254
254
  let i = !1;
255
255
  const o = e.map((a) => {
256
- const r = cr(a, n);
256
+ const r = dr(a, n);
257
257
  return !i && typeof r == "function" && (i = !0), r;
258
258
  });
259
259
  if (i)
260
260
  return () => {
261
261
  for (let a = 0; a < o.length; a++) {
262
262
  const r = o[a];
263
- typeof r == "function" ? r() : cr(e[a], null);
263
+ typeof r == "function" ? r() : dr(e[a], null);
264
264
  }
265
265
  };
266
266
  };
267
267
  }
268
+ var Ze = /* @__PURE__ */ Symbol.for("react.lazy"), J = l[" use ".trim().toString()];
269
+ function He(e) {
270
+ return typeof e == "object" && e !== null && "then" in e;
271
+ }
272
+ function Hr(e) {
273
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Ze && "_payload" in e && He(e._payload);
274
+ }
268
275
  // @__NO_SIDE_EFFECTS__
269
- function Ve(e) {
270
- const n = /* @__PURE__ */ Be(e), i = l.forwardRef((o, a) => {
271
- const { children: r, ...t } = o, p = l.Children.toArray(r), g = p.find(Ze);
276
+ function Fe(e) {
277
+ const n = /* @__PURE__ */ Ge(e), i = l.forwardRef((o, a) => {
278
+ let { children: r, ...t } = o;
279
+ Hr(r) && typeof J == "function" && (r = J(r._payload));
280
+ const p = l.Children.toArray(r), g = p.find(Ke);
272
281
  if (g) {
273
282
  const c = g.props.children, f = p.map((u) => u === g ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : u);
274
283
  return /* @__PURE__ */ s(n, { ...t, ref: a, children: l.isValidElement(c) ? l.cloneElement(c, void 0, f) : null });
@@ -278,22 +287,22 @@ function Ve(e) {
278
287
  return i.displayName = `${e}.Slot`, i;
279
288
  }
280
289
  // @__NO_SIDE_EFFECTS__
281
- function Be(e) {
290
+ function Ge(e) {
282
291
  const n = l.forwardRef((i, o) => {
283
- const { children: a, ...r } = i;
284
- if (l.isValidElement(a)) {
285
- const t = Le(a), p = He(r, a.props);
286
- return a.type !== l.Fragment && (p.ref = o ? De(o, t) : t), l.cloneElement(a, p);
292
+ let { children: a, ...r } = i;
293
+ if (Hr(a) && typeof J == "function" && (a = J(a._payload)), l.isValidElement(a)) {
294
+ const t = Ue(a), p = Qe(r, a.props);
295
+ return a.type !== l.Fragment && (p.ref = o ? Le(o, t) : t), l.cloneElement(a, p);
287
296
  }
288
297
  return l.Children.count(a) > 1 ? l.Children.only(null) : null;
289
298
  });
290
299
  return n.displayName = `${e}.SlotClone`, n;
291
300
  }
292
- var We = Symbol("radix.slottable");
293
- function Ze(e) {
294
- return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === We;
301
+ var Je = /* @__PURE__ */ Symbol("radix.slottable");
302
+ function Ke(e) {
303
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Je;
295
304
  }
296
- function He(e, n) {
305
+ function Qe(e, n) {
297
306
  const i = { ...n };
298
307
  for (const o in n) {
299
308
  const a = e[o], r = n[o];
@@ -304,11 +313,11 @@ function He(e, n) {
304
313
  }
305
314
  return { ...e, ...i };
306
315
  }
307
- function Le(e) {
316
+ function Ue(e) {
308
317
  let n = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, i = n && "isReactWarning" in n && n.isReactWarning;
309
318
  return i ? e.ref : (n = Object.getOwnPropertyDescriptor(e, "ref")?.get, i = n && "isReactWarning" in n && n.isReactWarning, i ? e.props.ref : e.props.ref || e.ref);
310
319
  }
311
- var Fe = [
320
+ var Xe = [
312
321
  "a",
313
322
  "button",
314
323
  "div",
@@ -326,14 +335,14 @@ var Fe = [
326
335
  "span",
327
336
  "svg",
328
337
  "ul"
329
- ], Ge = Fe.reduce((e, n) => {
330
- const i = /* @__PURE__ */ Ve(`Primitive.${n}`), o = l.forwardRef((a, r) => {
338
+ ], Ye = Xe.reduce((e, n) => {
339
+ const i = /* @__PURE__ */ Fe(`Primitive.${n}`), o = l.forwardRef((a, r) => {
331
340
  const { asChild: t, ...p } = a, g = t ? i : n;
332
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(g, { ...p, ref: r });
341
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(g, { ...p, ref: r });
333
342
  });
334
343
  return o.displayName = `Primitive.${n}`, { ...e, [n]: o };
335
- }, {}), Je = "Label", Zr = l.forwardRef((e, n) => /* @__PURE__ */ s(
336
- Ge.label,
344
+ }, {}), Te = "Label", Fr = l.forwardRef((e, n) => /* @__PURE__ */ s(
345
+ Ye.label,
337
346
  {
338
347
  ...e,
339
348
  ref: n,
@@ -342,14 +351,14 @@ var Fe = [
342
351
  }
343
352
  }
344
353
  ));
345
- Zr.displayName = Je;
346
- var Ke = Zr;
347
- function Qe(e) {
354
+ Fr.displayName = Te;
355
+ var Ie = Fr;
356
+ function rt(e) {
348
357
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
349
358
  }
350
- var _r = { exports: {} }, dr;
351
- function Ue() {
352
- return dr || (dr = 1, (function(e) {
359
+ var fr = { exports: {} }, mr;
360
+ function et() {
361
+ return mr || (mr = 1, (function(e) {
353
362
  (function() {
354
363
  var n = {}.hasOwnProperty;
355
364
  function i() {
@@ -378,32 +387,32 @@ function Ue() {
378
387
  }
379
388
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
380
389
  })();
381
- })(_r)), _r.exports;
390
+ })(fr)), fr.exports;
382
391
  }
383
- var Xe = Ue();
384
- const Ye = /* @__PURE__ */ Qe(Xe), Te = {
392
+ var tt = et();
393
+ const it = /* @__PURE__ */ rt(tt), nt = {
385
394
  "purpur-label": "_purpur-label_1x80u_1",
386
395
  "purpur-label--negative": "_purpur-label--negative_1x80u_8",
387
396
  "purpur-label--disabled": "_purpur-label--disabled_1x80u_11"
388
- }, Ie = Ye.bind(Te), U = "purpur-label", Hr = ({
397
+ }, at = it.bind(nt), Y = "purpur-label", Gr = ({
389
398
  children: e,
390
399
  className: n,
391
400
  disabled: i,
392
401
  negative: o = !1,
393
402
  ...a
394
403
  }) => {
395
- const r = Ie(n, U, {
396
- [`${U}--disabled`]: i,
397
- [`${U}--negative`]: o
404
+ const r = at(n, Y, {
405
+ [`${Y}--disabled`]: i,
406
+ [`${Y}--negative`]: o
398
407
  });
399
- return /* @__PURE__ */ s(Ke, { className: r, ...a, children: e });
408
+ return /* @__PURE__ */ s(Ie, { className: r, ...a, children: e });
400
409
  };
401
- function rt(e) {
410
+ function pt(e) {
402
411
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
403
412
  }
404
- var fr = { exports: {} }, mr;
405
- function et() {
406
- return mr || (mr = 1, (function(e) {
413
+ var vr = { exports: {} }, hr;
414
+ function ot() {
415
+ return hr || (hr = 1, (function(e) {
407
416
  (function() {
408
417
  var n = {}.hasOwnProperty;
409
418
  function i() {
@@ -432,10 +441,10 @@ function et() {
432
441
  }
433
442
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
434
443
  })();
435
- })(fr)), fr.exports;
444
+ })(vr)), vr.exports;
436
445
  }
437
- var tt = et();
438
- const it = /* @__PURE__ */ rt(tt), nt = {
446
+ var st = ot();
447
+ const lt = /* @__PURE__ */ pt(st), ut = {
439
448
  "purpur-paragraph": "_purpur-paragraph_1vz75_1",
440
449
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1vz75_7",
441
450
  "purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1vz75_10",
@@ -451,31 +460,31 @@ const it = /* @__PURE__ */ rt(tt), nt = {
451
460
  "purpur-paragraph--additional-100-bold": "_purpur-paragraph--additional-100-bold_1vz75_67",
452
461
  "purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1vz75_74",
453
462
  "purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1vz75_82"
454
- }, at = it.bind(nt), pt = {
463
+ }, gt = lt.bind(ut), ct = {
455
464
  PARAGRAPH100: "paragraph-100"
456
- }, M = "purpur-paragraph", ir = ({
465
+ }, q = "purpur-paragraph", ar = ({
457
466
  children: e,
458
467
  className: n,
459
468
  disabled: i,
460
469
  enableHyphenation: o = !1,
461
470
  negative: a = !1,
462
- variant: r = pt.PARAGRAPH100,
471
+ variant: r = ct.PARAGRAPH100,
463
472
  ...t
464
473
  }) => {
465
- const p = at(n, M, `${M}--${r}`, {
466
- [`${M}--hyphens`]: o,
467
- [`${M}--disabled`]: i,
468
- [`${M}--negative`]: a
474
+ const p = gt(n, q, `${q}--${r}`, {
475
+ [`${q}--hyphens`]: o,
476
+ [`${q}--disabled`]: i,
477
+ [`${q}--negative`]: a
469
478
  });
470
479
  return /* @__PURE__ */ s("p", { ...t, className: p, children: e });
471
480
  };
472
- ir.displayName = "Paragraph";
473
- function ot(e) {
481
+ ar.displayName = "Paragraph";
482
+ function _t(e) {
474
483
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
475
484
  }
476
- var vr = { exports: {} }, hr;
477
- function st() {
478
- return hr || (hr = 1, (function(e) {
485
+ var yr = { exports: {} }, $r;
486
+ function dt() {
487
+ return $r || ($r = 1, (function(e) {
479
488
  (function() {
480
489
  var n = {}.hasOwnProperty;
481
490
  function i() {
@@ -504,10 +513,10 @@ function st() {
504
513
  }
505
514
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
506
515
  })();
507
- })(vr)), vr.exports;
516
+ })(yr)), yr.exports;
508
517
  }
509
- var lt = st();
510
- const ut = /* @__PURE__ */ ot(lt), gt = {
518
+ var ft = dt();
519
+ const mt = /* @__PURE__ */ _t(ft), vt = {
511
520
  "purpur-icon": "_purpur-icon_8u1lq_1",
512
521
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
513
522
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -515,34 +524,34 @@ const ut = /* @__PURE__ */ ot(lt), gt = {
515
524
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
516
525
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
517
526
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
518
- }, ct = ut.bind(gt), yr = "purpur-icon", _t = "md", dt = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), ft = ({ content: e = "", title: n } = {}) => {
527
+ }, ht = mt.bind(vt), br = "purpur-icon", yt = "md", $t = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), bt = ({ content: e = "", title: n } = {}) => {
519
528
  const i = [
520
529
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
521
530
  { name: "fill", value: "currentColor" },
522
531
  { name: "viewBox", value: "0 0 24 24" },
523
532
  n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
524
533
  ], o = n ? `<title>${n}</title>` : "";
525
- return `<svg ${dt(i)}>${o}${e}</svg>`;
526
- }, mt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Lr = ({ svg: e, allyTitle: n, className: i, size: o = _t, ...a }) => {
527
- const r = ft({
528
- content: mt(e.svg),
534
+ return `<svg ${$t(i)}>${o}${e}</svg>`;
535
+ }, xt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Jr = ({ svg: e, allyTitle: n, className: i, size: o = yt, ...a }) => {
536
+ const r = bt({
537
+ content: xt(e.svg),
529
538
  title: n
530
- }), t = ct(yr, `${yr}--${o}`, i);
539
+ }), t = ht(br, `${br}--${o}`, i);
531
540
  return /* @__PURE__ */ s("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...a });
532
541
  };
533
- Lr.displayName = "Icon";
534
- const vt = {
542
+ Jr.displayName = "Icon";
543
+ const wt = {
535
544
  name: "error-filled",
536
545
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',
537
546
  keywords: ["error-filled"],
538
547
  category: "status"
539
548
  };
540
- function ht(e) {
549
+ function St(e) {
541
550
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
542
551
  }
543
- var $r = { exports: {} }, br;
544
- function yt() {
545
- return br || (br = 1, (function(e) {
552
+ var xr = { exports: {} }, wr;
553
+ function Nt() {
554
+ return wr || (wr = 1, (function(e) {
546
555
  (function() {
547
556
  var n = {}.hasOwnProperty;
548
557
  function i() {
@@ -571,14 +580,14 @@ function yt() {
571
580
  }
572
581
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
573
582
  })();
574
- })($r)), $r.exports;
583
+ })(xr)), xr.exports;
575
584
  }
576
- var $t = yt();
577
- const bt = /* @__PURE__ */ ht($t), xt = {
585
+ var Ot = Nt();
586
+ const Ct = /* @__PURE__ */ St(Ot), Pt = {
578
587
  "purpur-field-error-text": "_purpur-field-error-text_u1cy2_1",
579
588
  "purpur-field-error-text--negative": "_purpur-field-error-text--negative_u1cy2_11",
580
589
  "purpur-field-error-text__icon": "_purpur-field-error-text__icon_u1cy2_14"
581
- }, xr = bt.bind(xt), X = "purpur-field-error-text", wt = ({
590
+ }, Sr = Ct.bind(Pt), T = "purpur-field-error-text", jt = ({
582
591
  children: e,
583
592
  className: n,
584
593
  negative: i = !1,
@@ -587,24 +596,24 @@ const bt = /* @__PURE__ */ ht($t), xt = {
587
596
  }) => /* @__PURE__ */ h(
588
597
  "div",
589
598
  {
590
- className: xr(n, X, {
591
- [`${X}--negative`]: i
599
+ className: Sr(n, T, {
600
+ [`${T}--negative`]: i
592
601
  }),
593
602
  "aria-live": "assertive",
594
603
  "aria-relevant": o,
595
604
  ...a,
596
605
  children: [
597
- /* @__PURE__ */ s(Lr, { svg: vt, size: "xs", className: xr(`${X}__icon`) }),
606
+ /* @__PURE__ */ s(Jr, { svg: wt, size: "xs", className: Sr(`${T}__icon`) }),
598
607
  e
599
608
  ]
600
609
  }
601
610
  );
602
- function St(e) {
611
+ function zt(e) {
603
612
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
604
613
  }
605
- var wr = { exports: {} }, Sr;
606
- function Nt() {
607
- return Sr || (Sr = 1, (function(e) {
614
+ var Nr = { exports: {} }, Or;
615
+ function At() {
616
+ return Or || (Or = 1, (function(e) {
608
617
  (function() {
609
618
  var n = {}.hasOwnProperty;
610
619
  function i() {
@@ -633,14 +642,14 @@ function Nt() {
633
642
  }
634
643
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
635
644
  })();
636
- })(wr)), wr.exports;
645
+ })(Nr)), Nr.exports;
637
646
  }
638
- var Ot = Nt();
639
- const Ct = /* @__PURE__ */ St(Ot), Pt = {
647
+ var Rt = At();
648
+ const qt = /* @__PURE__ */ zt(Rt), Et = {
640
649
  "purpur-field-helper-text": "_purpur-field-helper-text_1ociq_1",
641
650
  "purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_1ociq_9",
642
651
  "purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_1ociq_12"
643
- }, jt = Ct.bind(Pt), Y = "purpur-field-helper-text", zt = ({
652
+ }, Mt = qt.bind(Et), I = "purpur-field-helper-text", kt = ({
644
653
  children: e,
645
654
  className: n,
646
655
  disabled: i,
@@ -648,18 +657,18 @@ const Ct = /* @__PURE__ */ St(Ot), Pt = {
648
657
  negative: a,
649
658
  ...r
650
659
  }) => {
651
- const t = jt(n, Y, {
652
- [`${Y}--disabled`]: i,
653
- [`${Y}--negative`]: a
660
+ const t = Mt(n, I, {
661
+ [`${I}--disabled`]: i,
662
+ [`${I}--negative`]: a
654
663
  });
655
664
  return /* @__PURE__ */ s("span", { id: o, className: t, ...r, children: e });
656
665
  };
657
- function At(e) {
666
+ function Dt(e) {
658
667
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
659
668
  }
660
- var Nr = { exports: {} }, Or;
661
- function Rt() {
662
- return Or || (Or = 1, (function(e) {
669
+ var Cr = { exports: {} }, Pr;
670
+ function Vt() {
671
+ return Pr || (Pr = 1, (function(e) {
663
672
  (function() {
664
673
  var n = {}.hasOwnProperty;
665
674
  function i() {
@@ -688,10 +697,10 @@ function Rt() {
688
697
  }
689
698
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
690
699
  })();
691
- })(Nr)), Nr.exports;
700
+ })(Cr)), Cr.exports;
692
701
  }
693
- var Mt = Rt();
694
- const qt = /* @__PURE__ */ At(Mt), Et = {
702
+ var Wt = Vt();
703
+ const Bt = /* @__PURE__ */ Dt(Wt), Lt = {
695
704
  "purpur-icon": "_purpur-icon_8u1lq_1",
696
705
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
697
706
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -699,61 +708,70 @@ const qt = /* @__PURE__ */ At(Mt), Et = {
699
708
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
700
709
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
701
710
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
702
- }, kt = qt.bind(Et), Cr = "purpur-icon", Dt = "md", Vt = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Bt = ({ content: e = "", title: n } = {}) => {
711
+ }, Zt = Bt.bind(Lt), jr = "purpur-icon", Ht = "md", Ft = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Gt = ({ content: e = "", title: n } = {}) => {
703
712
  const i = [
704
713
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
705
714
  { name: "fill", value: "currentColor" },
706
715
  { name: "viewBox", value: "0 0 24 24" },
707
716
  n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
708
717
  ], o = n ? `<title>${n}</title>` : "";
709
- return `<svg ${Vt(i)}>${o}${e}</svg>`;
710
- }, Wt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), nr = ({ svg: e, allyTitle: n, className: i, size: o = Dt, ...a }) => {
711
- const r = Bt({
712
- content: Wt(e.svg),
718
+ return `<svg ${Ft(i)}>${o}${e}</svg>`;
719
+ }, Jt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), pr = ({ svg: e, allyTitle: n, className: i, size: o = Ht, ...a }) => {
720
+ const r = Gt({
721
+ content: Jt(e.svg),
713
722
  title: n
714
- }), t = kt(Cr, `${Cr}--${o}`, i);
723
+ }), t = Zt(jr, `${jr}--${o}`, i);
715
724
  return /* @__PURE__ */ s("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...a });
716
725
  };
717
- nr.displayName = "Icon";
718
- const Zt = {
726
+ pr.displayName = "Icon";
727
+ const Kt = {
719
728
  name: "check-circle-filled",
720
729
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.712-12.491a.875.875 0 1 0-1.424-1.018l-4.4 6.16-2.27-2.27a.875.875 0 0 0-1.237 1.238l3 3a.875.875 0 0 0 1.331-.11l5-7Z" clip-rule="evenodd"/></svg>',
721
730
  keywords: ["check-circle-filled"],
722
731
  category: "status"
723
- }, Fr = (e) => /* @__PURE__ */ s(nr, { ...e, svg: Zt });
724
- Fr.displayName = "IconCheckCircleFilled";
725
- const Ht = {
732
+ }, Kr = (e) => /* @__PURE__ */ s(pr, { ...e, svg: Kt });
733
+ Kr.displayName = "IconCheckCircleFilled";
734
+ const Qt = {
726
735
  name: "chevron-down",
727
736
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',
728
737
  keywords: ["chevron-down"],
729
738
  category: "utility"
730
- }, Gr = (e) => /* @__PURE__ */ s(nr, { ...e, svg: Ht });
731
- Gr.displayName = "IconChevronDown";
732
- function Pr(e, n) {
739
+ }, Qr = (e) => /* @__PURE__ */ s(pr, { ...e, svg: Qt });
740
+ Qr.displayName = "IconChevronDown";
741
+ function zr(e, n) {
733
742
  if (typeof e == "function")
734
743
  return e(n);
735
744
  e != null && (e.current = n);
736
745
  }
737
- function Lt(...e) {
746
+ function Ut(...e) {
738
747
  return (n) => {
739
748
  let i = !1;
740
749
  const o = e.map((a) => {
741
- const r = Pr(a, n);
750
+ const r = zr(a, n);
742
751
  return !i && typeof r == "function" && (i = !0), r;
743
752
  });
744
753
  if (i)
745
754
  return () => {
746
755
  for (let a = 0; a < o.length; a++) {
747
756
  const r = o[a];
748
- typeof r == "function" ? r() : Pr(e[a], null);
757
+ typeof r == "function" ? r() : zr(e[a], null);
749
758
  }
750
759
  };
751
760
  };
752
761
  }
762
+ var Xt = /* @__PURE__ */ Symbol.for("react.lazy"), K = l[" use ".trim().toString()];
763
+ function Yt(e) {
764
+ return typeof e == "object" && e !== null && "then" in e;
765
+ }
766
+ function Ur(e) {
767
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Xt && "_payload" in e && Yt(e._payload);
768
+ }
753
769
  // @__NO_SIDE_EFFECTS__
754
- function Ft(e) {
755
- const n = /* @__PURE__ */ Gt(e), i = l.forwardRef((o, a) => {
756
- const { children: r, ...t } = o, p = l.Children.toArray(r), g = p.find(Kt);
770
+ function Tt(e) {
771
+ const n = /* @__PURE__ */ It(e), i = l.forwardRef((o, a) => {
772
+ let { children: r, ...t } = o;
773
+ Ur(r) && typeof K == "function" && (r = K(r._payload));
774
+ const p = l.Children.toArray(r), g = p.find(ei);
757
775
  if (g) {
758
776
  const c = g.props.children, f = p.map((u) => u === g ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : u);
759
777
  return /* @__PURE__ */ s(n, { ...t, ref: a, children: l.isValidElement(c) ? l.cloneElement(c, void 0, f) : null });
@@ -763,22 +781,22 @@ function Ft(e) {
763
781
  return i.displayName = `${e}.Slot`, i;
764
782
  }
765
783
  // @__NO_SIDE_EFFECTS__
766
- function Gt(e) {
784
+ function It(e) {
767
785
  const n = l.forwardRef((i, o) => {
768
- const { children: a, ...r } = i;
769
- if (l.isValidElement(a)) {
770
- const t = Ut(a), p = Qt(r, a.props);
771
- return a.type !== l.Fragment && (p.ref = o ? Lt(o, t) : t), l.cloneElement(a, p);
786
+ let { children: a, ...r } = i;
787
+ if (Ur(a) && typeof K == "function" && (a = K(a._payload)), l.isValidElement(a)) {
788
+ const t = ii(a), p = ti(r, a.props);
789
+ return a.type !== l.Fragment && (p.ref = o ? Ut(o, t) : t), l.cloneElement(a, p);
772
790
  }
773
791
  return l.Children.count(a) > 1 ? l.Children.only(null) : null;
774
792
  });
775
793
  return n.displayName = `${e}.SlotClone`, n;
776
794
  }
777
- var Jt = Symbol("radix.slottable");
778
- function Kt(e) {
779
- return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Jt;
795
+ var ri = /* @__PURE__ */ Symbol("radix.slottable");
796
+ function ei(e) {
797
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ri;
780
798
  }
781
- function Qt(e, n) {
799
+ function ti(e, n) {
782
800
  const i = { ...n };
783
801
  for (const o in n) {
784
802
  const a = e[o], r = n[o];
@@ -789,11 +807,11 @@ function Qt(e, n) {
789
807
  }
790
808
  return { ...e, ...i };
791
809
  }
792
- function Ut(e) {
810
+ function ii(e) {
793
811
  let n = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, i = n && "isReactWarning" in n && n.isReactWarning;
794
812
  return i ? e.ref : (n = Object.getOwnPropertyDescriptor(e, "ref")?.get, i = n && "isReactWarning" in n && n.isReactWarning, i ? e.props.ref : e.props.ref || e.ref);
795
813
  }
796
- var Xt = [
814
+ var ni = [
797
815
  "a",
798
816
  "button",
799
817
  "div",
@@ -811,14 +829,14 @@ var Xt = [
811
829
  "span",
812
830
  "svg",
813
831
  "ul"
814
- ], Yt = Xt.reduce((e, n) => {
815
- const i = /* @__PURE__ */ Ft(`Primitive.${n}`), o = l.forwardRef((a, r) => {
832
+ ], ai = ni.reduce((e, n) => {
833
+ const i = /* @__PURE__ */ Tt(`Primitive.${n}`), o = l.forwardRef((a, r) => {
816
834
  const { asChild: t, ...p } = a, g = t ? i : n;
817
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(g, { ...p, ref: r });
835
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(g, { ...p, ref: r });
818
836
  });
819
837
  return o.displayName = `Primitive.${n}`, { ...e, [n]: o };
820
- }, {}), Tt = "Label", Jr = l.forwardRef((e, n) => /* @__PURE__ */ s(
821
- Yt.label,
838
+ }, {}), pi = "Label", Xr = l.forwardRef((e, n) => /* @__PURE__ */ s(
839
+ ai.label,
822
840
  {
823
841
  ...e,
824
842
  ref: n,
@@ -827,14 +845,14 @@ var Xt = [
827
845
  }
828
846
  }
829
847
  ));
830
- Jr.displayName = Tt;
831
- var It = Jr;
832
- function ri(e) {
848
+ Xr.displayName = pi;
849
+ var oi = Xr;
850
+ function si(e) {
833
851
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
834
852
  }
835
- var jr = { exports: {} }, zr;
836
- function ei() {
837
- return zr || (zr = 1, (function(e) {
853
+ var Ar = { exports: {} }, Rr;
854
+ function li() {
855
+ return Rr || (Rr = 1, (function(e) {
838
856
  (function() {
839
857
  var n = {}.hasOwnProperty;
840
858
  function i() {
@@ -863,32 +881,32 @@ function ei() {
863
881
  }
864
882
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
865
883
  })();
866
- })(jr)), jr.exports;
884
+ })(Ar)), Ar.exports;
867
885
  }
868
- var ti = ei();
869
- const ii = /* @__PURE__ */ ri(ti), ni = {
886
+ var ui = li();
887
+ const gi = /* @__PURE__ */ si(ui), ci = {
870
888
  "purpur-label": "_purpur-label_1x80u_1",
871
889
  "purpur-label--negative": "_purpur-label--negative_1x80u_8",
872
890
  "purpur-label--disabled": "_purpur-label--disabled_1x80u_11"
873
- }, ai = ii.bind(ni), T = "purpur-label", pi = ({
891
+ }, _i = gi.bind(ci), rr = "purpur-label", di = ({
874
892
  children: e,
875
893
  className: n,
876
894
  disabled: i,
877
895
  negative: o = !1,
878
896
  ...a
879
897
  }) => {
880
- const r = ai(n, T, {
881
- [`${T}--disabled`]: i,
882
- [`${T}--negative`]: o
898
+ const r = _i(n, rr, {
899
+ [`${rr}--disabled`]: i,
900
+ [`${rr}--negative`]: o
883
901
  });
884
- return /* @__PURE__ */ s(It, { className: r, ...a, children: e });
902
+ return /* @__PURE__ */ s(oi, { className: r, ...a, children: e });
885
903
  };
886
- function oi(e) {
904
+ function fi(e) {
887
905
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
888
906
  }
889
- var Ar = { exports: {} }, Rr;
890
- function si() {
891
- return Rr || (Rr = 1, (function(e) {
907
+ var qr = { exports: {} }, Er;
908
+ function mi() {
909
+ return Er || (Er = 1, (function(e) {
892
910
  (function() {
893
911
  var n = {}.hasOwnProperty;
894
912
  function i() {
@@ -917,48 +935,48 @@ function si() {
917
935
  }
918
936
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
919
937
  })();
920
- })(Ar)), Ar.exports;
938
+ })(qr)), qr.exports;
921
939
  }
922
- var li = si();
923
- const ui = /* @__PURE__ */ oi(li), gi = "_rotate_12t9p_1", ci = "_dash_12t9p_1", _i = {
940
+ var vi = mi();
941
+ const hi = /* @__PURE__ */ fi(vi), yi = "_rotate_12t9p_1", $i = "_dash_12t9p_1", bi = {
924
942
  "purpur-spinner": "_purpur-spinner_12t9p_2",
925
- rotate: gi,
943
+ rotate: yi,
926
944
  "purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
927
945
  "purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
928
946
  "purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
929
947
  "purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
930
948
  "purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
931
949
  "purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
932
- dash: ci,
950
+ dash: $i,
933
951
  "purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
934
952
  "purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
935
- }, Mr = ui.bind(_i), q = "purpur-spinner", di = {
953
+ }, Mr = hi.bind(bi), E = "purpur-spinner", xi = {
936
954
  SM: "sm"
937
- }, Kr = ({
955
+ }, Yr = ({
938
956
  disabled: e = !1,
939
957
  negative: n = !1,
940
- size: i = di.SM,
958
+ size: i = xi.SM,
941
959
  className: o,
942
960
  ...a
943
- }) => /* @__PURE__ */ s("div", { className: Mr(q, `${q}--${i}`, o), ...a, children: /* @__PURE__ */ s("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ s(
961
+ }) => /* @__PURE__ */ s("div", { className: Mr(E, `${E}--${i}`, o), ...a, children: /* @__PURE__ */ s("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ s(
944
962
  "circle",
945
963
  {
946
- className: Mr(`${q}__circle`, {
947
- [`${q}__circle--disabled`]: e,
948
- [`${q}__circle--negative`]: n
964
+ className: Mr(`${E}__circle`, {
965
+ [`${E}__circle--disabled`]: e,
966
+ [`${E}__circle--negative`]: n
949
967
  }),
950
968
  cx: "25",
951
969
  cy: "25",
952
970
  r: "20"
953
971
  }
954
972
  ) }) });
955
- Kr.displayName = "Spinner";
956
- function fi(e) {
973
+ Yr.displayName = "Spinner";
974
+ function wi(e) {
957
975
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
958
976
  }
959
- var qr = { exports: {} }, Er;
960
- function mi() {
961
- return Er || (Er = 1, (function(e) {
977
+ var kr = { exports: {} }, Dr;
978
+ function Si() {
979
+ return Dr || (Dr = 1, (function(e) {
962
980
  (function() {
963
981
  var n = {}.hasOwnProperty;
964
982
  function i() {
@@ -987,10 +1005,10 @@ function mi() {
987
1005
  }
988
1006
  e.exports ? (i.default = i, e.exports = i) : window.classNames = i;
989
1007
  })();
990
- })(qr)), qr.exports;
1008
+ })(kr)), kr.exports;
991
1009
  }
992
- var vi = mi();
993
- const hi = /* @__PURE__ */ fi(vi), yi = {
1010
+ var Ni = Si();
1011
+ const Oi = /* @__PURE__ */ wi(Ni), Ci = {
994
1012
  "purpur-select": "_purpur-select_1gf3p_1",
995
1013
  "purpur-select__label": "_purpur-select__label_1gf3p_7",
996
1014
  "purpur-select__field-row": "_purpur-select__field-row_1gf3p_12",
@@ -1010,7 +1028,7 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1010
1028
  "purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_1gf3p_133",
1011
1029
  "purpur-select__select-icon--negative": "_purpur-select__select-icon--negative_1gf3p_136",
1012
1030
  "purpur-select__valid-icon": "_purpur-select__valid-icon_1gf3p_142"
1013
- }, N = hi.bind(yi), _ = "purpur-select", ar = z(
1031
+ }, N = Oi.bind(Ci), _ = "purpur-select", or = z(
1014
1032
  ({
1015
1033
  label: e,
1016
1034
  options: n,
@@ -1025,7 +1043,7 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1025
1043
  loading: f,
1026
1044
  ...u
1027
1045
  }, x) => {
1028
- const d = (P) => g ? `${g}-${P}` : void 0, y = c && !o, O = er(), $ = u.id ?? O, w = a ? `${$}-helper-text` : void 0, C = N(`${_}__select-container`, {
1046
+ const d = (P) => g ? `${g}-${P}` : void 0, y = c && !o, O = ir(), $ = u.id ?? O, w = a ? `${$}-helper-text` : void 0, C = N(`${_}__select-container`, {
1029
1047
  [`${_}__select-container--disabled`]: u.disabled,
1030
1048
  [`${_}__select-container--readonly`]: p && !u.disabled,
1031
1049
  [`${_}__select-container--negative`]: r
@@ -1043,7 +1061,7 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1043
1061
  }),
1044
1062
  children: [
1045
1063
  e && /* @__PURE__ */ h(
1046
- pi,
1064
+ di,
1047
1065
  {
1048
1066
  htmlFor: $,
1049
1067
  className: N(`${_}__label`),
@@ -1077,14 +1095,14 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1077
1095
  children: [
1078
1096
  t && /* @__PURE__ */ s("option", { value: t.value ?? t.label, disabled: !0, children: t.label }),
1079
1097
  n.map(
1080
- (P, E) => $i(P) ? bi(P, $, E, p) : Qr(P, $, E, p)
1098
+ (P, M) => Pi(P) ? ji(P, $, M, p) : Tr(P, $, M, p)
1081
1099
  )
1082
1100
  ]
1083
1101
  }
1084
1102
  ),
1085
1103
  /* @__PURE__ */ h("div", { className: N(`${_}__end-adornments`), children: [
1086
1104
  f ? /* @__PURE__ */ s(
1087
- Kr,
1105
+ Yr,
1088
1106
  {
1089
1107
  disabled: u.disabled,
1090
1108
  size: "xxs",
@@ -1093,7 +1111,7 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1093
1111
  },
1094
1112
  "spinner"
1095
1113
  ) : /* @__PURE__ */ s(
1096
- Gr,
1114
+ Qr,
1097
1115
  {
1098
1116
  className: N(`${_}__select-icon`, {
1099
1117
  [`${_}__select-icon--disabled`]: u.disabled,
@@ -1107,7 +1125,7 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1107
1125
  "chevron-down-icon"
1108
1126
  ),
1109
1127
  y && /* @__PURE__ */ s(
1110
- Fr,
1128
+ Kr,
1111
1129
  {
1112
1130
  "data-testid": d("valid-icon"),
1113
1131
  className: N(`${_}__valid-icon`)
@@ -1125,7 +1143,7 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1125
1143
  )
1126
1144
  ] }) }),
1127
1145
  w && /* @__PURE__ */ s(
1128
- zt,
1146
+ kt,
1129
1147
  {
1130
1148
  disabled: u.disabled,
1131
1149
  "data-testid": d("helper-text"),
@@ -1134,15 +1152,15 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1134
1152
  children: a
1135
1153
  }
1136
1154
  ),
1137
- o && /* @__PURE__ */ s(wt, { negative: r, "data-testid": d("error-text"), children: o })
1155
+ o && /* @__PURE__ */ s(jt, { negative: r, "data-testid": d("error-text"), children: o })
1138
1156
  ]
1139
1157
  }
1140
1158
  );
1141
1159
  }
1142
- ), $i = (e) => e.hasOwnProperty("options"), bi = (e, n, i, o) => {
1160
+ ), Pi = (e) => e.hasOwnProperty("options"), ji = (e, n, i, o) => {
1143
1161
  const a = `${n}--group--${i}`;
1144
- return /* @__PURE__ */ s("optgroup", { label: e.label, children: e.options.map((r, t) => Qr(r, a, t, o)) }, a);
1145
- }, Qr = (e, n, i, o) => /* @__PURE__ */ s(
1162
+ return /* @__PURE__ */ s("optgroup", { label: e.label, children: e.options.map((r, t) => Tr(r, a, t, o)) }, a);
1163
+ }, Tr = (e, n, i, o) => /* @__PURE__ */ s(
1146
1164
  "option",
1147
1165
  {
1148
1166
  value: e.value ?? e.label,
@@ -1151,17 +1169,17 @@ const hi = /* @__PURE__ */ fi(vi), yi = {
1151
1169
  },
1152
1170
  `${n}--option--${i}`
1153
1171
  );
1154
- ar.displayName = "Select";
1155
- const xi = {
1172
+ or.displayName = "Select";
1173
+ const zi = {
1156
1174
  "purpur-pagination-page-selector": "_purpur-pagination-page-selector_7pxsw_1",
1157
1175
  "purpur-pagination-page-selector__select-container": "_purpur-pagination-page-selector__select-container_7pxsw_6",
1158
1176
  "purpur-pagination-page-selector__of-total-pages-label": "_purpur-pagination-page-selector__of-total-pages-label_7pxsw_10"
1159
- }, wi = (e) => ({
1160
- options: kr(
1177
+ }, Ai = (e) => ({
1178
+ options: Vr(
1161
1179
  () => Array.from({ length: e }, (i, o) => ({ label: `${o + 1}`, value: `${o + 1}` })),
1162
1180
  [e]
1163
1181
  )
1164
- }), W = A.bind(xi), Z = "purpur-pagination-page-selector", Ur = z(
1182
+ }), B = A.bind(zi), L = "purpur-pagination-page-selector", Ir = z(
1165
1183
  ({
1166
1184
  ["data-testid"]: e = "purpur-pagination-page-selector",
1167
1185
  asLink: n,
@@ -1176,7 +1194,7 @@ const xi = {
1176
1194
  pageSelectorLabel: f,
1177
1195
  ...u
1178
1196
  }, x) => {
1179
- const d = er(), y = W(i, Z), { options: O } = wi(t), $ = (w) => {
1197
+ const d = ir(), y = B(i, L), { options: O } = Ai(t), $ = (w) => {
1180
1198
  const C = w.target.value ? Number(w.target.value) : 1;
1181
1199
  if (p(C), n) {
1182
1200
  const P = a?.(C) ?? "";
@@ -1184,12 +1202,12 @@ const xi = {
1184
1202
  }
1185
1203
  };
1186
1204
  return /* @__PURE__ */ h("div", { className: y, "data-testid": e, ref: x, ...u, children: [
1187
- /* @__PURE__ */ h("div", { className: W(`${Z}__select-container`), children: [
1188
- /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(Hr, { "data-testid": `${e}-label`, htmlFor: d, children: f }) }),
1205
+ /* @__PURE__ */ h("div", { className: B(`${L}__select-container`), children: [
1206
+ /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(Gr, { "data-testid": `${e}-label`, htmlFor: d, children: f }) }),
1189
1207
  /* @__PURE__ */ s(
1190
- ar,
1208
+ or,
1191
1209
  {
1192
- className: W(`${Z}__select`),
1210
+ className: B(`${L}__select`),
1193
1211
  "data-testid": `${e}-select`,
1194
1212
  id: c ?? d,
1195
1213
  onChange: $,
@@ -1199,9 +1217,9 @@ const xi = {
1199
1217
  )
1200
1218
  ] }),
1201
1219
  /* @__PURE__ */ s(
1202
- ir,
1220
+ ar,
1203
1221
  {
1204
- className: W(`${Z}__of-total-pages-label`),
1222
+ className: B(`${L}__of-total-pages-label`),
1205
1223
  "data-testid": `${e}-of-total-pages`,
1206
1224
  children: `${g} ${t}`
1207
1225
  }
@@ -1209,21 +1227,21 @@ const xi = {
1209
1227
  ] });
1210
1228
  }
1211
1229
  );
1212
- Ur.displayName = "PaginationPageSelector";
1213
- const Si = {
1230
+ Ir.displayName = "PaginationPageSelector";
1231
+ const Ri = {
1214
1232
  "purpur-pagination-page-size-selector": "_purpur-pagination-page-size-selector_11x2p_1",
1215
1233
  "purpur-pagination-page-size-selector__select": "_purpur-pagination-page-size-selector__select_11x2p_12",
1216
1234
  "purpur-pagination-page-size-selector__items-per-page-label": "_purpur-pagination-page-size-selector__items-per-page-label_11x2p_17",
1217
1235
  "purpur-pagination-page-size-selector__items-per-page-label-text": "_purpur-pagination-page-size-selector__items-per-page-label-text_11x2p_27"
1218
- }, Ni = (e) => ({
1219
- options: kr(
1236
+ }, qi = (e) => ({
1237
+ options: Vr(
1220
1238
  () => e.map((i) => ({
1221
1239
  label: `${i}`,
1222
1240
  value: `${i}`
1223
1241
  })),
1224
1242
  [e]
1225
1243
  )
1226
- }), H = A.bind(Si), L = "purpur-pagination-page-size-selector", Xr = z(
1244
+ }), Z = A.bind(Ri), H = "purpur-pagination-page-size-selector", re = z(
1227
1245
  ({
1228
1246
  ["data-testid"]: e = "purpur-pagination-page-size-selector",
1229
1247
  asLink: n,
@@ -1236,27 +1254,27 @@ const Si = {
1236
1254
  pageSizeLabel: g,
1237
1255
  ...c
1238
1256
  }, f) => {
1239
- const u = er(), x = H(o, L), { options: d } = Ni(i), y = (O) => {
1257
+ const u = ir(), x = Z(o, H), { options: d } = qi(i), y = (O) => {
1240
1258
  const $ = Number(O.target.value);
1241
1259
  if (t($), n) {
1242
1260
  const w = a({ page: 1, pageSize: $ });
1243
- r ? r({ currentPage: 1, pageSize: $, url: w }) : Wr(w);
1261
+ r ? r({ currentPage: 1, pageSize: $, url: w }) : Zr(w);
1244
1262
  }
1245
1263
  };
1246
1264
  return /* @__PURE__ */ h("div", { className: x, "data-testid": e, ref: f, ...c, children: [
1247
1265
  /* @__PURE__ */ s(
1248
- Hr,
1266
+ Gr,
1249
1267
  {
1250
- className: H(`${L}__items-per-page-label`),
1268
+ className: Z(`${H}__items-per-page-label`),
1251
1269
  "data-testid": `${e}-item-per-page-label`,
1252
1270
  htmlFor: u,
1253
- children: /* @__PURE__ */ s("span", { className: H(`${L}__items-per-page-label-text`), children: g })
1271
+ children: /* @__PURE__ */ s("span", { className: Z(`${H}__items-per-page-label-text`), children: g })
1254
1272
  }
1255
1273
  ),
1256
1274
  /* @__PURE__ */ s(
1257
- ar,
1275
+ or,
1258
1276
  {
1259
- className: H(`${L}__select`),
1277
+ className: Z(`${H}__select`),
1260
1278
  "data-testid": `${e}-select`,
1261
1279
  id: u,
1262
1280
  onChange: y,
@@ -1267,8 +1285,8 @@ const Si = {
1267
1285
  ] });
1268
1286
  }
1269
1287
  );
1270
- Xr.displayName = "PaginationPageSizeSelector";
1271
- const Oi = {
1288
+ re.displayName = "PaginationPageSizeSelector";
1289
+ const Ei = {
1272
1290
  "purpur-pagination-page-trigger": "_purpur-pagination-page-trigger_1pnyd_1",
1273
1291
  "purpur-pagination-page-trigger__trigger-item": "_purpur-pagination-page-trigger__trigger-item_1pnyd_4",
1274
1292
  "purpur-pagination-page-trigger__trigger-item--xs": "_purpur-pagination-page-trigger__trigger-item--xs_1pnyd_25",
@@ -1286,7 +1304,7 @@ const Oi = {
1286
1304
  "purpur-pagination-page-trigger__trigger-item--expressive-negative": "_purpur-pagination-page-trigger__trigger-item--expressive-negative_1pnyd_121",
1287
1305
  "purpur-pagination-page-trigger__trigger-item--page-trigger": "_purpur-pagination-page-trigger__trigger-item--page-trigger_1pnyd_133",
1288
1306
  "purpur-pagination-page-trigger__trigger-item--selected": "_purpur-pagination-page-trigger__trigger-item--selected_1pnyd_142"
1289
- }, F = A.bind(Oi), b = "purpur-pagination-page-trigger", Yr = z(
1307
+ }, F = A.bind(Ei), b = "purpur-pagination-page-trigger", ee = z(
1290
1308
  ({
1291
1309
  ["data-testid"]: e = "purpur-pagination-page-trigger",
1292
1310
  linkElement: n,
@@ -1361,22 +1379,22 @@ const Oi = {
1361
1379
  ) });
1362
1380
  }
1363
1381
  );
1364
- Yr.displayName = "PaginationPageTrigger";
1365
- const Ci = {
1382
+ ee.displayName = "PaginationPageTrigger";
1383
+ const Mi = {
1366
1384
  "purpur-pagination-pages": "_purpur-pagination-pages_2g8is_1"
1367
- }, Pi = {
1385
+ }, ki = {
1368
1386
  "purpur-pagination-truncation-separator": "_purpur-pagination-truncation-separator_b9cij_1"
1369
- }, ji = A.bind(Pi), zi = "purpur-pagination-truncation-separator", Tr = ({
1387
+ }, Di = A.bind(ki), Vi = "purpur-pagination-truncation-separator", te = ({
1370
1388
  ["data-testid"]: e = "purpur-pagination-truncation-separator",
1371
1389
  className: n,
1372
1390
  ["aria-label"]: i,
1373
1391
  ...o
1374
1392
  }) => {
1375
- const a = ji(n, zi);
1376
- return /* @__PURE__ */ s("li", { className: a, "data-testid": e, ...o, children: /* @__PURE__ */ s(ir, { "aria-label": i, children: "..." }) });
1393
+ const a = Di(n, Vi);
1394
+ return /* @__PURE__ */ s("li", { className: a, "data-testid": e, ...o, children: /* @__PURE__ */ s(ar, { "aria-label": i, children: "..." }) });
1377
1395
  };
1378
- Tr.displayName = "PaginationTruncationSeparator";
1379
- const Ai = A.bind(Ci), Ri = "purpur-pagination-pages", Ir = z(
1396
+ te.displayName = "PaginationTruncationSeparator";
1397
+ const Wi = A.bind(Mi), Bi = "purpur-pagination-pages", ie = z(
1380
1398
  ({
1381
1399
  ["data-testid"]: e = "purpur-pagination-pages",
1382
1400
  linkElement: n,
@@ -1390,10 +1408,10 @@ const Ai = A.bind(Ci), Ri = "purpur-pagination-pages", Ir = z(
1390
1408
  truncationSeparatorAriaLabel: c,
1391
1409
  ...f
1392
1410
  }, u) => {
1393
- const x = Ai(o, Ri);
1411
+ const x = Wi(o, Bi);
1394
1412
  return /* @__PURE__ */ s("ol", { className: x, "data-testid": e, ref: u, ...f, children: p.flatMap((d, y, O) => {
1395
- const $ = /* @__PURE__ */ se(
1396
- Yr,
1413
+ const $ = /* @__PURE__ */ ce(
1414
+ ee,
1397
1415
  {
1398
1416
  ...i ? { asLink: !0, hrefGetter: r } : {
1399
1417
  asLink: void 0,
@@ -1410,7 +1428,7 @@ const Ai = A.bind(Ci), Ri = "purpur-pagination-pages", Ir = z(
1410
1428
  );
1411
1429
  return y === 0 || O[y - 1] + 1 === d ? [$] : [
1412
1430
  /* @__PURE__ */ s(
1413
- Tr,
1431
+ te,
1414
1432
  {
1415
1433
  "data-testid": `${e}-truncation-separator-${d}`,
1416
1434
  "aria-label": c
@@ -1422,8 +1440,8 @@ const Ai = A.bind(Ci), Ri = "purpur-pagination-pages", Ir = z(
1422
1440
  }) });
1423
1441
  }
1424
1442
  );
1425
- Ir.displayName = "PaginationPages";
1426
- const Mi = {
1443
+ ie.displayName = "PaginationPages";
1444
+ const Li = {
1427
1445
  "purpur-pagination-step-trigger__trigger-item": "_purpur-pagination-step-trigger__trigger-item_1t19c_1",
1428
1446
  "purpur-pagination-step-trigger__trigger-item--xs": "_purpur-pagination-step-trigger__trigger-item--xs_1t19c_22",
1429
1447
  "purpur-pagination-step-trigger__trigger-item--icon-only": "_purpur-pagination-step-trigger__trigger-item--icon-only_1t19c_25",
@@ -1440,7 +1458,7 @@ const Mi = {
1440
1458
  "purpur-pagination-step-trigger__trigger-item--expressive-negative": "_purpur-pagination-step-trigger__trigger-item--expressive-negative_1t19c_118",
1441
1459
  "purpur-pagination-step-trigger__trigger-item--step-trigger": "_purpur-pagination-step-trigger__trigger-item--step-trigger_1t19c_130",
1442
1460
  "purpur-pagination-step-trigger__trigger-item--step-trigger--not-icon-only": "_purpur-pagination-step-trigger__trigger-item--step-trigger--not-icon-only_1t19c_137"
1443
- }, G = A.bind(Mi), m = "purpur-pagination-step-trigger", rr = z(
1461
+ }, G = A.bind(Li), m = "purpur-pagination-step-trigger", tr = z(
1444
1462
  ({
1445
1463
  ["aria-label"]: e,
1446
1464
  ["data-testid"]: n = "purpur-pagination-step-trigger",
@@ -1511,18 +1529,18 @@ const Mi = {
1511
1529
  ) });
1512
1530
  }
1513
1531
  );
1514
- rr.displayName = "PaginationStepTrigger";
1515
- const qi = (e, n, i) => {
1516
- const [o, a] = I([]), [r, t] = I(0);
1517
- return le(() => {
1532
+ tr.displayName = "PaginationStepTrigger";
1533
+ const Zi = (e, n, i) => {
1534
+ const [o, a] = er([]), [r, t] = er(0);
1535
+ return _e(() => {
1518
1536
  const p = Math.ceil(e / n);
1519
- t(p), a(Ei(p, i));
1537
+ t(p), a(Hi(p, i));
1520
1538
  }, [e, n, i]), {
1521
1539
  pages: o,
1522
1540
  numberOfPages: r
1523
1541
  };
1524
1542
  };
1525
- function Ei(e, n) {
1543
+ function Hi(e, n) {
1526
1544
  if (e <= 5)
1527
1545
  return Array.from({ length: e }, (a, r) => r + 1);
1528
1546
  const i = [1, 2, 3];
@@ -1531,7 +1549,7 @@ function Ei(e, n) {
1531
1549
  const o = [e - 2, e - 1, e];
1532
1550
  return o.includes(n) ? [1, e - 3, ...o] : [1, n - 1, n, n + 1, e];
1533
1551
  }
1534
- const S = A.bind(ke), v = "purpur-pagination", ki = z(
1552
+ const S = A.bind(Be), v = "purpur-pagination", Fi = z(
1535
1553
  ({
1536
1554
  ["data-testid"]: e = "purpur-pagination",
1537
1555
  linkElement: n = "a",
@@ -1553,20 +1571,20 @@ const S = A.bind(ke), v = "purpur-pagination", ki = z(
1553
1571
  previousButtonText: w,
1554
1572
  stepNumberPrefix: C,
1555
1573
  totalItems: P,
1556
- truncationSeparatorAriaLabel: E,
1557
- ...re
1558
- }, ee) => {
1559
- const te = S(a, v), [J, ie] = I(y), { pages: K, numberOfPages: k } = qi(P, J, r), D = !w && !c, V = (j) => {
1574
+ truncationSeparatorAriaLabel: M,
1575
+ ...ne
1576
+ }, ae) => {
1577
+ const pe = S(a, v), [Q, oe] = er(y), { pages: U, numberOfPages: k } = Zi(P, Q, r), D = !w && !c, V = (j) => {
1560
1578
  f?.({ currentPage: j, pageSize: y });
1561
- }, ne = (j) => t?.({ page: j, pageSize: y }) ?? "", ae = (j) => {
1562
- ie(j), f?.({ currentPage: 1, pageSize: j });
1563
- }, pe = (j, pr) => {
1564
- p ? p({ currentPage: j, pageSize: J, url: pr }) : Wr(pr);
1565
- }, B = i ? { asLink: !0, hrefGetter: ne } : {
1579
+ }, se = (j) => t?.({ page: j, pageSize: y }) ?? "", le = (j) => {
1580
+ oe(j), f?.({ currentPage: 1, pageSize: j });
1581
+ }, ue = (j, sr) => {
1582
+ p ? p({ currentPage: j, pageSize: Q, url: sr }) : Zr(sr);
1583
+ }, W = i ? { asLink: !0, hrefGetter: se } : {
1566
1584
  asLink: void 0,
1567
1585
  hrefGetter: void 0
1568
- }, oe = i ? "nav" : "div";
1569
- return k ? /* @__PURE__ */ s(oe, { className: te, "data-testid": e, ref: ee, ...re, children: /* @__PURE__ */ h(
1586
+ }, ge = i ? "nav" : "div";
1587
+ return k ? /* @__PURE__ */ s(ge, { className: pe, "data-testid": e, ref: ae, ...ne, children: /* @__PURE__ */ h(
1570
1588
  "div",
1571
1589
  {
1572
1590
  className: S(`${v}__pagination-container`, {
@@ -1575,9 +1593,9 @@ const S = A.bind(ke), v = "purpur-pagination", ki = z(
1575
1593
  children: [
1576
1594
  /* @__PURE__ */ h("div", { className: S(`${v}__page-navigation-container`), children: [
1577
1595
  /* @__PURE__ */ h(
1578
- rr,
1596
+ tr,
1579
1597
  {
1580
- ...B,
1598
+ ...W,
1581
1599
  linkElement: n,
1582
1600
  "aria-label": $,
1583
1601
  className: S(`${v}__step-trigger`),
@@ -1587,7 +1605,7 @@ const S = A.bind(ke), v = "purpur-pagination", ki = z(
1587
1605
  pageToNavigateTo: r - 1,
1588
1606
  isIconOnly: D,
1589
1607
  children: [
1590
- /* @__PURE__ */ s(Dr, { size: "sm" }),
1608
+ /* @__PURE__ */ s(Wr, { size: "sm" }),
1591
1609
  /* @__PURE__ */ s(
1592
1610
  "span",
1593
1611
  {
@@ -1603,15 +1621,15 @@ const S = A.bind(ke), v = "purpur-pagination", ki = z(
1603
1621
  ),
1604
1622
  /* @__PURE__ */ h("div", { className: S(`${v}__page-trigger-container`), children: [
1605
1623
  /* @__PURE__ */ s(
1606
- Ur,
1624
+ Ir,
1607
1625
  {
1608
- ...B,
1626
+ ...W,
1609
1627
  className: S(`${v}__page-selector`, {
1610
- [`${v}__page-selector--visible`]: K.length > 3
1628
+ [`${v}__page-selector--visible`]: U.length > 3
1611
1629
  }),
1612
1630
  currentPage: r,
1613
1631
  "data-testid": `${e}-page-selector`,
1614
- navigationFunction: pe,
1632
+ navigationFunction: ue,
1615
1633
  numberOfPages: k,
1616
1634
  onPageChange: V,
1617
1635
  outOfLabel: u,
@@ -1620,26 +1638,26 @@ const S = A.bind(ke), v = "purpur-pagination", ki = z(
1620
1638
  }
1621
1639
  ),
1622
1640
  /* @__PURE__ */ s(
1623
- Ir,
1641
+ ie,
1624
1642
  {
1625
- ...B,
1643
+ ...W,
1626
1644
  linkElement: n,
1627
1645
  className: S(`${v}__pages`, {
1628
- [`${v}__pages--visible`]: K.length <= 3
1646
+ [`${v}__pages--visible`]: U.length <= 3
1629
1647
  }),
1630
1648
  currentPage: r,
1631
1649
  "data-testid": `${e}-pages`,
1632
1650
  stepNumberPrefix: C,
1633
1651
  onPageChange: V,
1634
- truncationSeparatorAriaLabel: E,
1635
- pages: K
1652
+ truncationSeparatorAriaLabel: M,
1653
+ pages: U
1636
1654
  }
1637
1655
  )
1638
1656
  ] }),
1639
1657
  /* @__PURE__ */ h(
1640
- rr,
1658
+ tr,
1641
1659
  {
1642
- ...B,
1660
+ ...W,
1643
1661
  linkElement: n,
1644
1662
  "aria-label": g,
1645
1663
  className: S(`${v}__step-trigger`),
@@ -1659,20 +1677,20 @@ const S = A.bind(ke), v = "purpur-pagination", ki = z(
1659
1677
  }
1660
1678
  ),
1661
1679
  r !== k && /* @__PURE__ */ s(R, { "data-testid": `${e}-next-step-trigger-hidden-text`, children: `${C} ${r + 1}` }),
1662
- /* @__PURE__ */ s(Vr, { size: "sm" })
1680
+ /* @__PURE__ */ s(Br, { size: "sm" })
1663
1681
  ]
1664
1682
  }
1665
1683
  )
1666
1684
  ] }),
1667
1685
  o && /* @__PURE__ */ s("div", { className: S(`${v}__page-size-select-container`), children: /* @__PURE__ */ s(
1668
- Xr,
1686
+ re,
1669
1687
  {
1670
1688
  ...i ? { asLink: !0, hrefGetter: t, navigationFunction: p } : { asLink: void 0, hrefGetter: void 0 },
1671
1689
  availablePageSizes: o,
1672
1690
  className: S(`${v}__page-size-selector`),
1673
1691
  "data-testid": `${e}-page-size-selector`,
1674
- onPageSizeChange: ae,
1675
- pageSize: J,
1692
+ onPageSizeChange: le,
1693
+ pageSize: Q,
1676
1694
  pageSizeLabel: O
1677
1695
  }
1678
1696
  ) })
@@ -1681,8 +1699,8 @@ const S = A.bind(ke), v = "purpur-pagination", ki = z(
1681
1699
  ) }) : null;
1682
1700
  }
1683
1701
  );
1684
- ki.displayName = "Pagination";
1702
+ Fi.displayName = "Pagination";
1685
1703
  export {
1686
- ki as Pagination
1704
+ Fi as Pagination
1687
1705
  };
1688
1706
  //# sourceMappingURL=pagination.es.js.map