ui-mathilde-web 0.0.9 → 0.0.10

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.
@@ -15,19 +15,38 @@ const lp = "button-module__mth-btn-default__cda3k", cp = "button-module__mth-btn
15
15
  mthBtn: dp,
16
16
  "mth-btn-full": "button-module__mth-btn-full__7QycJ",
17
17
  mthBtnFull: up
18
- }, nC = ({ txtBtn: t, typeButton: e, full: n, onClick: r, disabled: o, type: i }) => /* @__PURE__ */ b("div", { className: `${n ? uo["mth-btn-full"] : ""}`, children: /* @__PURE__ */ b(
18
+ }, oC = ({
19
+ txtBtn: t,
20
+ typeButton: e,
21
+ full: n,
22
+ onClick: r,
23
+ disabled: o,
24
+ type: i,
25
+ leftIcon: s,
26
+ rightIcon: a,
27
+ iconSize: l = 20
28
+ }) => /* @__PURE__ */ b("div", { className: `${n ? uo["mth-btn-full"] : ""}`, children: /* @__PURE__ */ $(
19
29
  "button",
20
30
  {
21
31
  type: i,
22
- className: `${uo["mth-btn"]} ${uo[`mth-btn-${e}`]} ${n ? uo["mth-btn-full"] : ""}`,
32
+ className: `${uo["mth-btn"]} ${uo[`mth-btn-${e}`]} ${n ? uo["mth-btn-full"] : ""} flex items-center justify-center gap-2`,
23
33
  onClick: r,
24
34
  disabled: o,
25
- children: t
35
+ children: [
36
+ s && /* @__PURE__ */ b(s, { size: l }),
37
+ t,
38
+ a && /* @__PURE__ */ b(a, { size: l })
39
+ ]
26
40
  }
27
41
  ) }), fp = "checkbox-module__checkmark__pC-qY", Vo = {
28
42
  "checkbox-container": "checkbox-module__checkbox-container__jLidj",
29
43
  checkmark: fp
30
- }, rC = ({ label: t, value: e, checked: n, onChange: r }) => /* @__PURE__ */ $("label", { className: Vo["checkbox-container"], children: [
44
+ }, iC = ({
45
+ label: t,
46
+ value: e,
47
+ checked: n,
48
+ onChange: r
49
+ }) => /* @__PURE__ */ $("label", { className: Vo["checkbox-container"], children: [
31
50
  /* @__PURE__ */ b(
32
51
  "input",
33
52
  {
@@ -39,7 +58,13 @@ const lp = "button-module__mth-btn-default__cda3k", cp = "button-module__mth-btn
39
58
  ),
40
59
  /* @__PURE__ */ b("span", { className: Vo.checkmark }),
41
60
  t && /* @__PURE__ */ b("span", { className: "ml-2", children: t })
42
- ] }), Fr = ({ src: t, alt: e, width: n, height: r, classIm: o }) => /* @__PURE__ */ b(
61
+ ] }), Fr = ({
62
+ src: t,
63
+ alt: e,
64
+ width: n,
65
+ height: r,
66
+ classIm: o
67
+ }) => /* @__PURE__ */ b(
43
68
  "img",
44
69
  {
45
70
  className: o,
@@ -48,31 +73,33 @@ const lp = "button-module__mth-btn-default__cda3k", cp = "button-module__mth-btn
48
73
  width: n,
49
74
  height: r
50
75
  }
51
- ), hp = ue(({
52
- placeholder: t,
53
- label: e,
54
- error: n,
55
- type: r,
56
- classInclude: o,
57
- maxLength: i,
58
- onChange: s,
59
- ...a
60
- }, l) => /* @__PURE__ */ $("div", { className: "mb-5", children: [
61
- e && /* @__PURE__ */ b("label", { className: " mb-1 block font-semibold", children: e }),
62
- /* @__PURE__ */ b(
63
- "input",
64
- {
65
- ref: l,
66
- type: r,
67
- placeholder: t,
68
- className: `w-full p-2 border ${o || ""}`,
69
- maxLength: i,
70
- onChange: s,
71
- ...a
72
- }
73
- ),
74
- n && /* @__PURE__ */ b("p", { className: "text-red-500 text-sm mt-1", children: n })
75
- ] }));
76
+ ), hp = ue(
77
+ ({
78
+ placeholder: t,
79
+ label: e,
80
+ error: n,
81
+ type: r,
82
+ classInclude: o,
83
+ maxLength: i,
84
+ onChange: s,
85
+ ...a
86
+ }, l) => /* @__PURE__ */ $("div", { className: "mb-5", children: [
87
+ e && /* @__PURE__ */ b("label", { className: " mb-1 block font-semibold", children: e }),
88
+ /* @__PURE__ */ b(
89
+ "input",
90
+ {
91
+ ref: l,
92
+ type: r,
93
+ placeholder: t,
94
+ className: `w-full border p-2 ${o || ""}`,
95
+ maxLength: i,
96
+ onChange: s,
97
+ ...a
98
+ }
99
+ ),
100
+ n && /* @__PURE__ */ b("p", { className: "mt-1 text-sm text-red-500", children: n })
101
+ ] })
102
+ );
76
103
  hp.displayName = "InputForm";
77
104
  var Yd = {
78
105
  color: void 0,
@@ -202,17 +229,22 @@ function Op(t) {
202
229
  }
203
230
  const Tp = {
204
231
  "mth-password": "passwordInput-module__mth-password__R6DoN"
205
- }, il = ({ placeholder: t, onChange: e, value: n, ...r }) => {
232
+ }, il = ({
233
+ placeholder: t,
234
+ onChange: e,
235
+ value: n,
236
+ ...r
237
+ }) => {
206
238
  const [o, i] = xe(!1), s = () => {
207
239
  i(!o);
208
240
  };
209
- return /* @__PURE__ */ b("div", { className: "mb-5", children: /* @__PURE__ */ $("div", { className: "w-full relative inline-block", children: [
241
+ return /* @__PURE__ */ b("div", { className: "mb-5", children: /* @__PURE__ */ $("div", { className: "relative inline-block w-full", children: [
210
242
  /* @__PURE__ */ b(
211
243
  "input",
212
244
  {
213
245
  type: o ? "text" : "password",
214
246
  value: n,
215
- className: "w-full pr-10 p-2 border",
247
+ className: "w-full border p-2 pr-10",
216
248
  onChange: e,
217
249
  placeholder: t,
218
250
  ...r
@@ -231,57 +263,71 @@ const Tp = {
231
263
  }, sl = {
232
264
  "progress-check": "progressBar-module__progress-check__TVlHq",
233
265
  "progress-no-check": "progressBar-module__progress-no-check__YeVq1"
234
- }, Rp = ({ start: t, end: e, current: n }) => {
266
+ }, Rp = ({
267
+ start: t,
268
+ end: e,
269
+ current: n
270
+ }) => {
235
271
  const r = (n - t) / (e - t) * 100;
236
- return /* @__PURE__ */ $("div", { className: "relative w-full h-4 bg-gray-200 rounded-full overflow-hidden", children: [
272
+ return /* @__PURE__ */ $("div", { className: "relative h-4 w-full overflow-hidden rounded-full bg-gray-200", children: [
237
273
  /* @__PURE__ */ b(
238
274
  "div",
239
275
  {
240
- className: `absolute top-0 left-0 h-full rounded-full ${r < 50 ? sl["progress-no-check"] : sl["progress-check"]}`,
276
+ className: `absolute left-0 top-0 h-full rounded-full ${r < 50 ? sl["progress-no-check"] : sl["progress-check"]}`,
241
277
  style: { width: `${Math.min(r, 100)}%` }
242
278
  }
243
279
  ),
244
- /* @__PURE__ */ b("div", { className: "absolute inset-0 flex items-center px-2", children: /* @__PURE__ */ $("span", { className: "text-sm font-medium text-gray-900 z-10", children: [
280
+ /* @__PURE__ */ b("div", { className: "absolute inset-0 flex items-center px-2", children: /* @__PURE__ */ $("span", { className: "z-10 text-sm font-medium text-gray-900", children: [
245
281
  n.toFixed(2),
246
282
  "%"
247
283
  ] }) })
248
284
  ] });
249
- }, Np = ue(({
250
- options: t,
251
- label: e,
252
- error: n,
253
- value: r,
254
- onChange: o,
255
- ...i
256
- }, s) => /* @__PURE__ */ $("div", { className: "mb-5", children: [
257
- e && /* @__PURE__ */ b("label", { className: "block mb-1 font-semibold", children: e }),
258
- /* @__PURE__ */ $(
259
- "select",
260
- {
261
- ref: s,
262
- className: "w-full p-2 border rounded",
263
- value: r,
264
- onChange: o,
265
- ...i,
266
- children: [
267
- /* @__PURE__ */ b("option", { disabled: !0, value: "", children: "Seleccione una opción" }),
268
- t == null ? void 0 : t.map((a) => /* @__PURE__ */ b("option", { value: a.value, children: a.label }, a.value))
269
- ]
270
- }
271
- ),
272
- n && /* @__PURE__ */ b("p", { className: "text-red-500 text-sm mt-1", children: n })
273
- ] }));
285
+ }, Np = ue(
286
+ ({ options: t, label: e, error: n, value: r, onChange: o, ...i }, s) => /* @__PURE__ */ $("div", { className: "mb-5", children: [
287
+ e && /* @__PURE__ */ b("label", { className: "mb-1 block font-semibold", children: e }),
288
+ /* @__PURE__ */ $(
289
+ "select",
290
+ {
291
+ ref: s,
292
+ className: "w-full rounded border p-2",
293
+ value: r,
294
+ onChange: o,
295
+ ...i,
296
+ children: [
297
+ /* @__PURE__ */ b("option", { disabled: !0, value: "", children: "Seleccione una opción" }),
298
+ t == null ? void 0 : t.map((a) => /* @__PURE__ */ b("option", { value: a.value, children: a.label }, a.value))
299
+ ]
300
+ }
301
+ ),
302
+ n && /* @__PURE__ */ b("p", { className: "mt-1 text-sm text-red-500", children: n })
303
+ ] })
304
+ );
274
305
  Np.displayName = "SelectForm";
275
306
  const wi = () => {
276
307
  const { protocol: t, host: e } = window.location;
277
308
  return `${t}//${e}/`;
278
- }, Mp = wi(), oC = ({ logo: t, number: e, title: n, start: r, end: o, current: i }) => {
309
+ }, Mp = wi(), sC = ({
310
+ logo: t,
311
+ number: e,
312
+ title: n,
313
+ start: r,
314
+ end: o,
315
+ current: i
316
+ }) => {
279
317
  const s = (a) => new Intl.NumberFormat("es-ES", {
280
318
  maximumFractionDigits: 2,
281
319
  minimumFractionDigits: 0
282
320
  }).format(a);
283
- return /* @__PURE__ */ $("div", { className: "flex flex-col border px-3.5 py-7 bg-white", children: [
284
- /* @__PURE__ */ b("div", { className: "flex justify-end", children: /* @__PURE__ */ b(Fr, { src: `${Mp}/public/assets/images/${t}.svg`, alt: "Icon", width: 30, height: 30 }) }),
321
+ return /* @__PURE__ */ $("div", { className: "flex flex-col border bg-white px-3.5 py-7", children: [
322
+ /* @__PURE__ */ b("div", { className: "flex justify-end", children: /* @__PURE__ */ b(
323
+ Fr,
324
+ {
325
+ src: `${Mp}/public/assets/images/${t}.svg`,
326
+ alt: "Icon",
327
+ width: 30,
328
+ height: 30
329
+ }
330
+ ) }),
285
331
  /* @__PURE__ */ b("h2", { className: "my-3 font-bold", children: n }),
286
332
  /* @__PURE__ */ b("small", { className: "text-3xl", children: s(e) }),
287
333
  /* @__PURE__ */ b("div", { className: "mt-2 w-full", children: /* @__PURE__ */ b(Rp, { start: r, end: o, current: i }) })
@@ -6673,7 +6719,7 @@ function ey(t, e) {
6673
6719
  }
6674
6720
  const ty = /* @__PURE__ */ ey("doughnut", _r);
6675
6721
  Si.register(Sr, Ub, zb);
6676
- const lC = () => {
6722
+ const dC = () => {
6677
6723
  const t = {
6678
6724
  labels: ["Planeado", "Ejecutado"],
6679
6725
  datasets: [
@@ -6723,7 +6769,10 @@ const lC = () => {
6723
6769
  return /* @__PURE__ */ b("div", { className: "size-full min-h-[200px]", children: /* @__PURE__ */ b(ty, { data: t, options: e, plugins: [{
6724
6770
  id: "textCenter",
6725
6771
  beforeDraw(r) {
6726
- const { ctx: o, chartArea: { top: i, width: s, height: a } } = r, l = "Total", c = t.datasets[0].data.reduce((u, f) => u + f, 0).toFixed(1), d = i + a * 0.75;
6772
+ const {
6773
+ ctx: o,
6774
+ chartArea: { top: i, width: s, height: a }
6775
+ } = r, l = "Total", c = t.datasets[0].data.reduce((u, f) => u + f, 0).toFixed(1), d = i + a * 0.75;
6727
6776
  o.save(), o.font = "16px Arial", o.fillStyle = "black", o.textAlign = "center", o.fillText(l, s / 2, d - 15), o.font = "bold 20px Arial", o.fillText(c, s / 2, d + 15), o.restore();
6728
6777
  }
6729
6778
  }] }) });
@@ -10115,15 +10164,17 @@ var sd, Qx = ze.li(ad || (ad = Ge([`
10115
10164
  )
10116
10165
  );
10117
10166
  }, zn = j.forwardRef(ew), ad;
10118
- const tw = wi(), Ds = ue(
10167
+ const tw = "card-module__cardFormat__LNrgl", nw = {
10168
+ cardFormat: tw
10169
+ }, rw = wi(), Ds = ue(
10119
10170
  (t, e) => {
10120
10171
  const { image: n, icon: r, title: o, description: i } = t;
10121
- return /* @__PURE__ */ $("div", { className: "border px-3.5 py-7 cursor-pointer", ref: e, children: [
10172
+ return /* @__PURE__ */ $("div", { className: `${nw.cardFormat} border px-3.5 py-7`, ref: e, children: [
10122
10173
  (n == null ? void 0 : n.type) === "image" ? /* @__PURE__ */ b(
10123
10174
  Fr,
10124
10175
  {
10125
10176
  classIm: "mx-auto",
10126
- src: `${tw}/public/assets/images/${n.name}.svg`,
10177
+ src: `${rw}public/assets/images/${n.name}.svg`,
10127
10178
  alt: n.name,
10128
10179
  width: 74,
10129
10180
  height: 74
@@ -10135,16 +10186,16 @@ const tw = wi(), Ds = ue(
10135
10186
  }
10136
10187
  );
10137
10188
  Ds.displayName = "CardFormat";
10138
- function nw(t) {
10189
+ function ow(t) {
10139
10190
  return me({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M15.528 2.973a.75.75 0 0 1 .472.696v8.662a.75.75 0 0 1-.472.696l-7.25 2.9a.75.75 0 0 1-.557 0l-7.25-2.9A.75.75 0 0 1 0 12.331V3.669a.75.75 0 0 1 .471-.696L7.443.184l.01-.003.268-.108a.75.75 0 0 1 .558 0l.269.108.01.003 6.97 2.789ZM10.404 2 4.25 4.461 1.846 3.5 1 3.839v.4l6.5 2.6v7.922l.5.2.5-.2V6.84l6.5-2.6v-.4l-.846-.339L8 5.961 5.596 5l6.154-2.461L10.404 2Z" }, child: [] }] })(t);
10140
10191
  }
10141
- function rw(t) {
10192
+ function iw(t) {
10142
10193
  return me({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM5 4h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1zm-.5 2.5A.5.5 0 0 1 5 6h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zM5 8h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1zm0 2h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1z" }, child: [] }] })(t);
10143
10194
  }
10144
- function ow(t) {
10195
+ function sw(t) {
10145
10196
  return me({ attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 0 0-282.5 117 397.47 397.47 0 0 0-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 0 0 155.6 31.5 398.57 398.57 0 0 0 282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0 0 31.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 0 0 588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z" }, child: [] }] })(t);
10146
10197
  }
10147
- function iw(t) {
10198
+ function aw(t) {
10148
10199
  return me({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 176a80 80 0 1 0 80 80 80.24 80.24 0 0 0-80-80zm172.72 80a165.53 165.53 0 0 1-1.64 22.34l48.69 38.12a11.59 11.59 0 0 1 2.63 14.78l-46.06 79.52a11.64 11.64 0 0 1-14.14 4.93l-57.25-23a176.56 176.56 0 0 1-38.82 22.67l-8.56 60.78a11.93 11.93 0 0 1-11.51 9.86h-92.12a12 12 0 0 1-11.51-9.53l-8.56-60.78A169.3 169.3 0 0 1 151.05 393L93.8 416a11.64 11.64 0 0 1-14.14-4.92L33.6 331.57a11.59 11.59 0 0 1 2.63-14.78l48.69-38.12A174.58 174.58 0 0 1 83.28 256a165.53 165.53 0 0 1 1.64-22.34l-48.69-38.12a11.59 11.59 0 0 1-2.63-14.78l46.06-79.52a11.64 11.64 0 0 1 14.14-4.93l57.25 23a176.56 176.56 0 0 1 38.82-22.67l8.56-60.78A11.93 11.93 0 0 1 209.94 26h92.12a12 12 0 0 1 11.51 9.53l8.56 60.78A169.3 169.3 0 0 1 361 119l57.2-23a11.64 11.64 0 0 1 14.14 4.92l46.06 79.52a11.59 11.59 0 0 1-2.63 14.78l-48.69 38.12a174.58 174.58 0 0 1 1.64 22.66z" }, child: [] }] })(t);
10149
10200
  }
10150
10201
  function uf(t) {
@@ -10152,18 +10203,18 @@ function uf(t) {
10152
10203
  }
10153
10204
  var xa = {};
10154
10205
  Object.defineProperty(xa, "__esModule", { value: !0 });
10155
- xa.parse = fw;
10156
- xa.serialize = hw;
10157
- const sw = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, aw = /^[\u0021-\u003A\u003C-\u007E]*$/, lw = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, cw = /^[\u0020-\u003A\u003D-\u007E]*$/, dw = Object.prototype.toString, uw = /* @__PURE__ */ (() => {
10206
+ xa.parse = gw;
10207
+ xa.serialize = pw;
10208
+ const lw = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, cw = /^[\u0021-\u003A\u003C-\u007E]*$/, dw = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, uw = /^[\u0020-\u003A\u003D-\u007E]*$/, fw = Object.prototype.toString, hw = /* @__PURE__ */ (() => {
10158
10209
  const t = function() {
10159
10210
  };
10160
10211
  return t.prototype = /* @__PURE__ */ Object.create(null), t;
10161
10212
  })();
10162
- function fw(t, e) {
10163
- const n = new uw(), r = t.length;
10213
+ function gw(t, e) {
10214
+ const n = new hw(), r = t.length;
10164
10215
  if (r < 2)
10165
10216
  return n;
10166
- const o = (e == null ? void 0 : e.decode) || gw;
10217
+ const o = (e == null ? void 0 : e.decode) || mw;
10167
10218
  let i = 0;
10168
10219
  do {
10169
10220
  const s = t.indexOf("=", i);
@@ -10200,12 +10251,12 @@ function cd(t, e, n) {
10200
10251
  }
10201
10252
  return n;
10202
10253
  }
10203
- function hw(t, e, n) {
10254
+ function pw(t, e, n) {
10204
10255
  const r = (n == null ? void 0 : n.encode) || encodeURIComponent;
10205
- if (!sw.test(t))
10256
+ if (!lw.test(t))
10206
10257
  throw new TypeError(`argument name is invalid: ${t}`);
10207
10258
  const o = r(e);
10208
- if (!aw.test(o))
10259
+ if (!cw.test(o))
10209
10260
  throw new TypeError(`argument val is invalid: ${e}`);
10210
10261
  let i = t + "=" + o;
10211
10262
  if (!n)
@@ -10216,17 +10267,17 @@ function hw(t, e, n) {
10216
10267
  i += "; Max-Age=" + n.maxAge;
10217
10268
  }
10218
10269
  if (n.domain) {
10219
- if (!lw.test(n.domain))
10270
+ if (!dw.test(n.domain))
10220
10271
  throw new TypeError(`option domain is invalid: ${n.domain}`);
10221
10272
  i += "; Domain=" + n.domain;
10222
10273
  }
10223
10274
  if (n.path) {
10224
- if (!cw.test(n.path))
10275
+ if (!uw.test(n.path))
10225
10276
  throw new TypeError(`option path is invalid: ${n.path}`);
10226
10277
  i += "; Path=" + n.path;
10227
10278
  }
10228
10279
  if (n.expires) {
10229
- if (!pw(n.expires) || !Number.isFinite(n.expires.valueOf()))
10280
+ if (!bw(n.expires) || !Number.isFinite(n.expires.valueOf()))
10230
10281
  throw new TypeError(`option expires is invalid: ${n.expires}`);
10231
10282
  i += "; Expires=" + n.expires.toUTCString();
10232
10283
  }
@@ -10261,7 +10312,7 @@ function hw(t, e, n) {
10261
10312
  }
10262
10313
  return i;
10263
10314
  }
10264
- function gw(t) {
10315
+ function mw(t) {
10265
10316
  if (t.indexOf("%") === -1)
10266
10317
  return t;
10267
10318
  try {
@@ -10270,8 +10321,8 @@ function gw(t) {
10270
10321
  return t;
10271
10322
  }
10272
10323
  }
10273
- function pw(t) {
10274
- return dw.call(t) === "[object Date]";
10324
+ function bw(t) {
10325
+ return fw.call(t) === "[object Date]";
10275
10326
  }
10276
10327
  /**
10277
10328
  * react-router v7.4.0
@@ -10314,18 +10365,18 @@ function wa(t) {
10314
10365
  return e;
10315
10366
  }
10316
10367
  function ff(t, e, n = "/") {
10317
- return mw(t, e, n, !1);
10368
+ return yw(t, e, n, !1);
10318
10369
  }
10319
- function mw(t, e, n, r) {
10370
+ function yw(t, e, n, r) {
10320
10371
  let o = typeof e == "string" ? wa(e) : e, i = dn(o.pathname || "/", n);
10321
10372
  if (i == null)
10322
10373
  return null;
10323
10374
  let s = hf(t);
10324
- bw(s);
10375
+ vw(s);
10325
10376
  let a = null;
10326
10377
  for (let l = 0; a == null && l < s.length; ++l) {
10327
- let c = Tw(i);
10328
- a = Ew(
10378
+ let c = Nw(i);
10379
+ a = Tw(
10329
10380
  s[l],
10330
10381
  c,
10331
10382
  r
@@ -10353,7 +10404,7 @@ function hf(t, e = [], n = [], r = "") {
10353
10404
  `Index routes must not have child routes. Please remove all child routes from route path "${c}".`
10354
10405
  ), hf(i.children, e, d, c)), !(i.path == null && !i.index) && e.push({
10355
10406
  path: c,
10356
- score: Cw(c, i.index),
10407
+ score: Ew(c, i.index),
10357
10408
  routesMeta: d
10358
10409
  });
10359
10410
  };
@@ -10381,23 +10432,23 @@ function gf(t) {
10381
10432
  (l) => t.startsWith("/") && l === "" ? "/" : l
10382
10433
  );
10383
10434
  }
10384
- function bw(t) {
10435
+ function vw(t) {
10385
10436
  t.sort(
10386
- (e, n) => e.score !== n.score ? n.score - e.score : Sw(
10437
+ (e, n) => e.score !== n.score ? n.score - e.score : Ow(
10387
10438
  e.routesMeta.map((r) => r.childrenIndex),
10388
10439
  n.routesMeta.map((r) => r.childrenIndex)
10389
10440
  )
10390
10441
  );
10391
10442
  }
10392
- var yw = /^:[\w-]+$/, vw = 3, xw = 2, ww = 1, kw = 10, _w = -2, dd = (t) => t === "*";
10393
- function Cw(t, e) {
10443
+ var xw = /^:[\w-]+$/, ww = 3, kw = 2, _w = 1, Cw = 10, Sw = -2, dd = (t) => t === "*";
10444
+ function Ew(t, e) {
10394
10445
  let n = t.split("/"), r = n.length;
10395
- return n.some(dd) && (r += _w), e && (r += xw), n.filter((o) => !dd(o)).reduce(
10396
- (o, i) => o + (yw.test(i) ? vw : i === "" ? ww : kw),
10446
+ return n.some(dd) && (r += Sw), e && (r += kw), n.filter((o) => !dd(o)).reduce(
10447
+ (o, i) => o + (xw.test(i) ? ww : i === "" ? _w : Cw),
10397
10448
  r
10398
10449
  );
10399
10450
  }
10400
- function Sw(t, e) {
10451
+ function Ow(t, e) {
10401
10452
  return t.length === e.length && t.slice(0, -1).every((r, o) => r === e[o]) ? (
10402
10453
  // If two routes are siblings, we should try to match the earlier sibling
10403
10454
  // first. This allows people to have fine-grained control over the matching
@@ -10410,7 +10461,7 @@ function Sw(t, e) {
10410
10461
  0
10411
10462
  );
10412
10463
  }
10413
- function Ew(t, e, n = !1) {
10464
+ function Tw(t, e, n = !1) {
10414
10465
  let { routesMeta: r } = t, o = {}, i = "/", s = [];
10415
10466
  for (let a = 0; a < r.length; ++a) {
10416
10467
  let l = r[a], c = a === r.length - 1, d = i === "/" ? e : e.slice(i.length) || "/", u = ci(
@@ -10430,7 +10481,7 @@ function Ew(t, e, n = !1) {
10430
10481
  // TODO: Can this as be avoided?
10431
10482
  params: o,
10432
10483
  pathname: Vt([i, u.pathname]),
10433
- pathnameBase: Pw(
10484
+ pathnameBase: Dw(
10434
10485
  Vt([i, u.pathnameBase])
10435
10486
  ),
10436
10487
  route: f
@@ -10440,7 +10491,7 @@ function Ew(t, e, n = !1) {
10440
10491
  }
10441
10492
  function ci(t, e) {
10442
10493
  typeof t == "string" && (t = { path: t, caseSensitive: !1, end: !0 });
10443
- let [n, r] = Ow(
10494
+ let [n, r] = Rw(
10444
10495
  t.path,
10445
10496
  t.caseSensitive,
10446
10497
  t.end
@@ -10464,7 +10515,7 @@ function ci(t, e) {
10464
10515
  pattern: t
10465
10516
  };
10466
10517
  }
10467
- function Ow(t, e = !1, n = !0) {
10518
+ function Rw(t, e = !1, n = !0) {
10468
10519
  Kt(
10469
10520
  t === "*" || !t.endsWith("*") || t.endsWith("/*"),
10470
10521
  `Route path "${t}" will be treated as if it were "${t.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/, "/*")}".`
@@ -10475,7 +10526,7 @@ function Ow(t, e = !1, n = !0) {
10475
10526
  );
10476
10527
  return t.endsWith("*") ? (r.push({ paramName: "*" }), o += t === "*" || t === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? o += "\\/*$" : t !== "" && t !== "/" && (o += "(?:(?=\\/|$))"), [new RegExp(o, e ? void 0 : "i"), r];
10477
10528
  }
10478
- function Tw(t) {
10529
+ function Nw(t) {
10479
10530
  try {
10480
10531
  return t.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
10481
10532
  } catch (e) {
@@ -10492,19 +10543,19 @@ function dn(t, e) {
10492
10543
  let n = e.endsWith("/") ? e.length - 1 : e.length, r = t.charAt(n);
10493
10544
  return r && r !== "/" ? null : t.slice(n) || "/";
10494
10545
  }
10495
- function Rw(t, e = "/") {
10546
+ function Mw(t, e = "/") {
10496
10547
  let {
10497
10548
  pathname: n,
10498
10549
  search: r = "",
10499
10550
  hash: o = ""
10500
10551
  } = typeof t == "string" ? wa(t) : t;
10501
10552
  return {
10502
- pathname: n ? n.startsWith("/") ? n : Nw(n, e) : e,
10503
- search: Aw(r),
10504
- hash: Dw(o)
10553
+ pathname: n ? n.startsWith("/") ? n : Pw(n, e) : e,
10554
+ search: Iw(r),
10555
+ hash: Lw(o)
10505
10556
  };
10506
10557
  }
10507
- function Nw(t, e) {
10558
+ function Pw(t, e) {
10508
10559
  let n = e.replace(/\/+$/, "").split("/");
10509
10560
  return t.split("/").forEach((o) => {
10510
10561
  o === ".." ? n.length > 1 && n.pop() : o !== "." && n.push(o);
@@ -10515,13 +10566,13 @@ function ss(t, e, n, r) {
10515
10566
  r
10516
10567
  )}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
10517
10568
  }
10518
- function Mw(t) {
10569
+ function Aw(t) {
10519
10570
  return t.filter(
10520
10571
  (e, n) => n === 0 || e.route.path && e.route.path.length > 0
10521
10572
  );
10522
10573
  }
10523
10574
  function pf(t) {
10524
- let e = Mw(t);
10575
+ let e = Aw(t);
10525
10576
  return e.map(
10526
10577
  (n, r) => r === e.length - 1 ? n.pathname : n.pathnameBase
10527
10578
  );
@@ -10551,11 +10602,11 @@ function mf(t, e, n, r = !1) {
10551
10602
  }
10552
10603
  a = u >= 0 ? e[u] : "/";
10553
10604
  }
10554
- let l = Rw(o, a), c = s && s !== "/" && s.endsWith("/"), d = (i || s === ".") && n.endsWith("/");
10605
+ let l = Mw(o, a), c = s && s !== "/" && s.endsWith("/"), d = (i || s === ".") && n.endsWith("/");
10555
10606
  return !l.pathname.endsWith("/") && (c || d) && (l.pathname += "/"), l;
10556
10607
  }
10557
- var Vt = (t) => t.join("/").replace(/\/\/+/g, "/"), Pw = (t) => t.replace(/\/+$/, "").replace(/^\/*/, "/"), Aw = (t) => !t || t === "?" ? "" : t.startsWith("?") ? t : "?" + t, Dw = (t) => !t || t === "#" ? "" : t.startsWith("#") ? t : "#" + t;
10558
- function Iw(t) {
10608
+ var Vt = (t) => t.join("/").replace(/\/\/+/g, "/"), Dw = (t) => t.replace(/\/+$/, "").replace(/^\/*/, "/"), Iw = (t) => !t || t === "?" ? "" : t.startsWith("?") ? t : "?" + t, Lw = (t) => !t || t === "#" ? "" : t.startsWith("#") ? t : "#" + t;
10609
+ function Fw(t) {
10559
10610
  return t != null && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.internal == "boolean" && "data" in t;
10560
10611
  }
10561
10612
  var bf = [
@@ -10567,11 +10618,11 @@ var bf = [
10567
10618
  new Set(
10568
10619
  bf
10569
10620
  );
10570
- var Lw = [
10621
+ var zw = [
10571
10622
  "GET",
10572
10623
  ...bf
10573
10624
  ];
10574
- new Set(Lw);
10625
+ new Set(zw);
10575
10626
  var ir = k.createContext(null);
10576
10627
  ir.displayName = "DataRouter";
10577
10628
  var Di = k.createContext(null);
@@ -10580,12 +10631,12 @@ var yf = k.createContext({
10580
10631
  isTransitioning: !1
10581
10632
  });
10582
10633
  yf.displayName = "ViewTransition";
10583
- var Fw = k.createContext(
10634
+ var Bw = k.createContext(
10584
10635
  /* @__PURE__ */ new Map()
10585
10636
  );
10586
- Fw.displayName = "Fetchers";
10587
- var zw = k.createContext(null);
10588
- zw.displayName = "Await";
10637
+ Bw.displayName = "Fetchers";
10638
+ var $w = k.createContext(null);
10639
+ $w.displayName = "Await";
10589
10640
  var Xt = k.createContext(
10590
10641
  null
10591
10642
  );
@@ -10602,7 +10653,7 @@ var Zt = k.createContext({
10602
10653
  Zt.displayName = "Route";
10603
10654
  var _a = k.createContext(null);
10604
10655
  _a.displayName = "RouteError";
10605
- function Bw(t, { relative: e } = {}) {
10656
+ function jw(t, { relative: e } = {}) {
10606
10657
  He(
10607
10658
  Ii(),
10608
10659
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -10627,11 +10678,11 @@ var vf = "You should call navigate() in a React.useEffect(), not when your compo
10627
10678
  function xf(t) {
10628
10679
  k.useContext(Xt).static || k.useLayoutEffect(t);
10629
10680
  }
10630
- function $w() {
10681
+ function Ww() {
10631
10682
  let { isDataRoute: t } = k.useContext(Zt);
10632
- return t ? Qw() : jw();
10683
+ return t ? t1() : Hw();
10633
10684
  }
10634
- function jw() {
10685
+ function Hw() {
10635
10686
  He(
10636
10687
  Ii(),
10637
10688
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -10682,7 +10733,7 @@ function ro(t, { relative: e } = {}) {
10682
10733
  [t, o, r, e]
10683
10734
  );
10684
10735
  }
10685
- function Ww(t, e, n, r) {
10736
+ function Vw(t, e, n, r) {
10686
10737
  He(
10687
10738
  Ii(),
10688
10739
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -10714,7 +10765,7 @@ Please change the parent <Route path="${y}"> to <Route path="${y === "/" ? "*" :
10714
10765
  ), Kt(
10715
10766
  m == null || m[m.length - 1].route.element !== void 0 || m[m.length - 1].route.Component !== void 0 || m[m.length - 1].route.lazy !== void 0,
10716
10767
  `Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
10717
- ), Kw(
10768
+ ), Gw(
10718
10769
  m && m.map(
10719
10770
  (y) => Object.assign({}, y, {
10720
10771
  params: Object.assign({}, l, y.params),
@@ -10735,14 +10786,14 @@ Please change the parent <Route path="${y}"> to <Route path="${y === "/" ? "*" :
10735
10786
  r
10736
10787
  );
10737
10788
  }
10738
- function Hw() {
10739
- let t = Jw(), e = Iw(t) ? `${t.status} ${t.statusText}` : t instanceof Error ? t.message : JSON.stringify(t), n = t instanceof Error ? t.stack : null, r = "rgba(200,200,200, 0.5)", o = { padding: "0.5rem", backgroundColor: r }, i = { padding: "2px 4px", backgroundColor: r }, s = null;
10789
+ function Yw() {
10790
+ let t = e1(), e = Fw(t) ? `${t.status} ${t.statusText}` : t instanceof Error ? t.message : JSON.stringify(t), n = t instanceof Error ? t.stack : null, r = "rgba(200,200,200, 0.5)", o = { padding: "0.5rem", backgroundColor: r }, i = { padding: "2px 4px", backgroundColor: r }, s = null;
10740
10791
  return console.error(
10741
10792
  "Error handled by React Router default ErrorBoundary:",
10742
10793
  t
10743
10794
  ), s = /* @__PURE__ */ k.createElement(k.Fragment, null, /* @__PURE__ */ k.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ k.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ k.createElement("code", { style: i }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ k.createElement("code", { style: i }, "errorElement"), " prop on your route.")), /* @__PURE__ */ k.createElement(k.Fragment, null, /* @__PURE__ */ k.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ k.createElement("h3", { style: { fontStyle: "italic" } }, e), n ? /* @__PURE__ */ k.createElement("pre", { style: o }, n) : null, s);
10744
10795
  }
10745
- var Vw = /* @__PURE__ */ k.createElement(Hw, null), Yw = class extends k.Component {
10796
+ var Uw = /* @__PURE__ */ k.createElement(Yw, null), Kw = class extends k.Component {
10746
10797
  constructor(t) {
10747
10798
  super(t), this.state = {
10748
10799
  location: t.location,
@@ -10781,11 +10832,11 @@ var Vw = /* @__PURE__ */ k.createElement(Hw, null), Yw = class extends k.Compone
10781
10832
  )) : this.props.children;
10782
10833
  }
10783
10834
  };
10784
- function Uw({ routeContext: t, match: e, children: n }) {
10835
+ function qw({ routeContext: t, match: e, children: n }) {
10785
10836
  let r = k.useContext(ir);
10786
10837
  return r && r.static && r.staticContext && (e.route.errorElement || e.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = e.route.id), /* @__PURE__ */ k.createElement(Zt.Provider, { value: t }, n);
10787
10838
  }
10788
- function Kw(t, e = [], n = null, r = null) {
10839
+ function Gw(t, e = [], n = null, r = null) {
10789
10840
  if (t == null) {
10790
10841
  if (!n)
10791
10842
  return null;
@@ -10825,7 +10876,7 @@ function Kw(t, e = [], n = null, r = null) {
10825
10876
  }
10826
10877
  return o.reduceRight((l, c, d) => {
10827
10878
  let u, f = !1, h = null, g = null;
10828
- n && (u = i && c.route.id ? i[c.route.id] : void 0, h = c.route.errorElement || Vw, s && (a < 0 && d === 0 ? (wf(
10879
+ n && (u = i && c.route.id ? i[c.route.id] : void 0, h = c.route.errorElement || Uw, s && (a < 0 && d === 0 ? (wf(
10829
10880
  "route-fallback",
10830
10881
  !1,
10831
10882
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -10833,7 +10884,7 @@ function Kw(t, e = [], n = null, r = null) {
10833
10884
  let p = e.concat(o.slice(0, d + 1)), m = () => {
10834
10885
  let v;
10835
10886
  return u ? v = h : f ? v = g : c.route.Component ? v = /* @__PURE__ */ k.createElement(c.route.Component, null) : c.route.element ? v = c.route.element : v = l, /* @__PURE__ */ k.createElement(
10836
- Uw,
10887
+ qw,
10837
10888
  {
10838
10889
  match: c,
10839
10890
  routeContext: {
@@ -10846,7 +10897,7 @@ function Kw(t, e = [], n = null, r = null) {
10846
10897
  );
10847
10898
  };
10848
10899
  return n && (c.route.ErrorBoundary || c.route.errorElement || d === 0) ? /* @__PURE__ */ k.createElement(
10849
- Yw,
10900
+ Kw,
10850
10901
  {
10851
10902
  location: n.location,
10852
10903
  revalidation: n.revalidation,
@@ -10861,34 +10912,34 @@ function Kw(t, e = [], n = null, r = null) {
10861
10912
  function Ca(t) {
10862
10913
  return `${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
10863
10914
  }
10864
- function qw(t) {
10915
+ function Xw(t) {
10865
10916
  let e = k.useContext(ir);
10866
10917
  return He(e, Ca(t)), e;
10867
10918
  }
10868
- function Gw(t) {
10919
+ function Zw(t) {
10869
10920
  let e = k.useContext(Di);
10870
10921
  return He(e, Ca(t)), e;
10871
10922
  }
10872
- function Xw(t) {
10923
+ function Jw(t) {
10873
10924
  let e = k.useContext(Zt);
10874
10925
  return He(e, Ca(t)), e;
10875
10926
  }
10876
10927
  function Sa(t) {
10877
- let e = Xw(t), n = e.matches[e.matches.length - 1];
10928
+ let e = Jw(t), n = e.matches[e.matches.length - 1];
10878
10929
  return He(
10879
10930
  n.route.id,
10880
10931
  `${t} can only be used on routes that contain a unique "id"`
10881
10932
  ), n.route.id;
10882
10933
  }
10883
- function Zw() {
10934
+ function Qw() {
10884
10935
  return Sa(
10885
10936
  "useRouteId"
10886
10937
  /* UseRouteId */
10887
10938
  );
10888
10939
  }
10889
- function Jw() {
10940
+ function e1() {
10890
10941
  var r;
10891
- let t = k.useContext(_a), e = Gw(
10942
+ let t = k.useContext(_a), e = Zw(
10892
10943
  "useRouteError"
10893
10944
  /* UseRouteError */
10894
10945
  ), n = Sa(
@@ -10897,8 +10948,8 @@ function Jw() {
10897
10948
  );
10898
10949
  return t !== void 0 ? t : (r = e.errors) == null ? void 0 : r[n];
10899
10950
  }
10900
- function Qw() {
10901
- let { router: t } = qw(
10951
+ function t1() {
10952
+ let { router: t } = Xw(
10902
10953
  "useNavigate"
10903
10954
  /* UseNavigateStable */
10904
10955
  ), e = Sa(
@@ -10918,37 +10969,37 @@ var ud = {};
10918
10969
  function wf(t, e, n) {
10919
10970
  !e && !ud[t] && (ud[t] = !0, Kt(!1, n));
10920
10971
  }
10921
- k.memo(e1);
10922
- function e1({
10972
+ k.memo(n1);
10973
+ function n1({
10923
10974
  routes: t,
10924
10975
  future: e,
10925
10976
  state: n
10926
10977
  }) {
10927
- return Ww(t, void 0, n, e);
10978
+ return Vw(t, void 0, n, e);
10928
10979
  }
10929
10980
  var $o = "get", jo = "application/x-www-form-urlencoded";
10930
10981
  function Li(t) {
10931
10982
  return t != null && typeof t.tagName == "string";
10932
10983
  }
10933
- function t1(t) {
10984
+ function r1(t) {
10934
10985
  return Li(t) && t.tagName.toLowerCase() === "button";
10935
10986
  }
10936
- function n1(t) {
10987
+ function o1(t) {
10937
10988
  return Li(t) && t.tagName.toLowerCase() === "form";
10938
10989
  }
10939
- function r1(t) {
10990
+ function i1(t) {
10940
10991
  return Li(t) && t.tagName.toLowerCase() === "input";
10941
10992
  }
10942
- function o1(t) {
10993
+ function s1(t) {
10943
10994
  return !!(t.metaKey || t.altKey || t.ctrlKey || t.shiftKey);
10944
10995
  }
10945
- function i1(t, e) {
10996
+ function a1(t, e) {
10946
10997
  return t.button === 0 && // Ignore everything but left clicks
10947
10998
  (!e || e === "_self") && // Let browser handle "target=_blank" etc.
10948
- !o1(t);
10999
+ !s1(t);
10949
11000
  }
10950
11001
  var Oo = null;
10951
- function s1() {
11002
+ function l1() {
10952
11003
  if (Oo === null)
10953
11004
  try {
10954
11005
  new FormData(
@@ -10961,30 +11012,30 @@ function s1() {
10961
11012
  }
10962
11013
  return Oo;
10963
11014
  }
10964
- var a1 = /* @__PURE__ */ new Set([
11015
+ var c1 = /* @__PURE__ */ new Set([
10965
11016
  "application/x-www-form-urlencoded",
10966
11017
  "multipart/form-data",
10967
11018
  "text/plain"
10968
11019
  ]);
10969
11020
  function as(t) {
10970
- return t != null && !a1.has(t) ? (Kt(
11021
+ return t != null && !c1.has(t) ? (Kt(
10971
11022
  !1,
10972
11023
  `"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${jo}"`
10973
11024
  ), null) : t;
10974
11025
  }
10975
- function l1(t, e) {
11026
+ function d1(t, e) {
10976
11027
  let n, r, o, i, s;
10977
- if (n1(t)) {
11028
+ if (o1(t)) {
10978
11029
  let a = t.getAttribute("action");
10979
11030
  r = a ? dn(a, e) : null, n = t.getAttribute("method") || $o, o = as(t.getAttribute("enctype")) || jo, i = new FormData(t);
10980
- } else if (t1(t) || r1(t) && (t.type === "submit" || t.type === "image")) {
11031
+ } else if (r1(t) || i1(t) && (t.type === "submit" || t.type === "image")) {
10981
11032
  let a = t.form;
10982
11033
  if (a == null)
10983
11034
  throw new Error(
10984
11035
  'Cannot submit a <button> or <input type="submit"> without a <form>'
10985
11036
  );
10986
11037
  let l = t.getAttribute("formaction") || a.getAttribute("action");
10987
- if (r = l ? dn(l, e) : null, n = t.getAttribute("formmethod") || a.getAttribute("method") || $o, o = as(t.getAttribute("formenctype")) || as(a.getAttribute("enctype")) || jo, i = new FormData(a, t), !s1()) {
11038
+ if (r = l ? dn(l, e) : null, n = t.getAttribute("formmethod") || a.getAttribute("method") || $o, o = as(t.getAttribute("formenctype")) || as(a.getAttribute("enctype")) || jo, i = new FormData(a, t), !l1()) {
10988
11039
  let { name: c, type: d, value: u } = t;
10989
11040
  if (d === "image") {
10990
11041
  let f = c ? `${c}.` : "";
@@ -11004,7 +11055,7 @@ function Ea(t, e) {
11004
11055
  if (t === !1 || t === null || typeof t > "u")
11005
11056
  throw new Error(e);
11006
11057
  }
11007
- async function c1(t, e) {
11058
+ async function u1(t, e) {
11008
11059
  if (t.id in e)
11009
11060
  return e[t.id];
11010
11061
  try {
@@ -11021,22 +11072,22 @@ async function c1(t, e) {
11021
11072
  });
11022
11073
  }
11023
11074
  }
11024
- function d1(t) {
11075
+ function f1(t) {
11025
11076
  return t == null ? !1 : t.href == null ? t.rel === "preload" && typeof t.imageSrcSet == "string" && typeof t.imageSizes == "string" : typeof t.rel == "string" && typeof t.href == "string";
11026
11077
  }
11027
- async function u1(t, e, n) {
11078
+ async function h1(t, e, n) {
11028
11079
  let r = await Promise.all(
11029
11080
  t.map(async (o) => {
11030
11081
  let i = e.routes[o.route.id];
11031
11082
  if (i) {
11032
- let s = await c1(i, n);
11083
+ let s = await u1(i, n);
11033
11084
  return s.links ? s.links() : [];
11034
11085
  }
11035
11086
  return [];
11036
11087
  })
11037
11088
  );
11038
- return p1(
11039
- r.flat(1).filter(d1).filter((o) => o.rel === "stylesheet" || o.rel === "preload").map(
11089
+ return b1(
11090
+ r.flat(1).filter(f1).filter((o) => o.rel === "stylesheet" || o.rel === "preload").map(
11040
11091
  (o) => o.rel === "stylesheet" ? { ...o, rel: "prefetch", as: "style" } : { ...o, rel: "prefetch" }
11041
11092
  )
11042
11093
  );
@@ -11077,8 +11128,8 @@ function fd(t, e, n, r, o, i) {
11077
11128
  return !0;
11078
11129
  }) : [];
11079
11130
  }
11080
- function f1(t, e, { includeHydrateFallback: n } = {}) {
11081
- return h1(
11131
+ function g1(t, e, { includeHydrateFallback: n } = {}) {
11132
+ return p1(
11082
11133
  t.map((r) => {
11083
11134
  let o = e.routes[r.route.id];
11084
11135
  if (!o) return [];
@@ -11087,23 +11138,23 @@ function f1(t, e, { includeHydrateFallback: n } = {}) {
11087
11138
  }).flat(1)
11088
11139
  );
11089
11140
  }
11090
- function h1(t) {
11141
+ function p1(t) {
11091
11142
  return [...new Set(t)];
11092
11143
  }
11093
- function g1(t) {
11144
+ function m1(t) {
11094
11145
  let e = {}, n = Object.keys(t).sort();
11095
11146
  for (let r of n)
11096
11147
  e[r] = t[r];
11097
11148
  return e;
11098
11149
  }
11099
- function p1(t, e) {
11150
+ function b1(t, e) {
11100
11151
  let n = /* @__PURE__ */ new Set();
11101
11152
  return new Set(e), t.reduce((r, o) => {
11102
- let i = JSON.stringify(g1(o));
11153
+ let i = JSON.stringify(m1(o));
11103
11154
  return n.has(i) || (n.add(i), r.push({ key: i, link: o })), r;
11104
11155
  }, []);
11105
11156
  }
11106
- function m1(t, e) {
11157
+ function y1(t, e) {
11107
11158
  let n = typeof t == "string" ? new URL(
11108
11159
  t,
11109
11160
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
@@ -11119,7 +11170,7 @@ function kf() {
11119
11170
  "You must render this element inside a <DataRouterContext.Provider> element"
11120
11171
  ), t;
11121
11172
  }
11122
- function b1() {
11173
+ function v1() {
11123
11174
  let t = k.useContext(Di);
11124
11175
  return Ea(
11125
11176
  t,
@@ -11135,7 +11186,7 @@ function _f() {
11135
11186
  "You must render this element inside a <HydratedRouter> element"
11136
11187
  ), t;
11137
11188
  }
11138
- function y1(t, e) {
11189
+ function x1(t, e) {
11139
11190
  let n = k.useContext(Oa), [r, o] = k.useState(!1), [i, s] = k.useState(!1), { onFocus: a, onBlur: l, onMouseEnter: c, onMouseLeave: d, onTouchStart: u } = e, f = k.useRef(null);
11140
11191
  k.useEffect(() => {
11141
11192
  if (t === "render" && s(!0), t === "viewport") {
@@ -11180,7 +11231,7 @@ function yr(t, e) {
11180
11231
  t && t(n), n.defaultPrevented || e(n);
11181
11232
  };
11182
11233
  }
11183
- function v1({
11234
+ function w1({
11184
11235
  page: t,
11185
11236
  ...e
11186
11237
  }) {
@@ -11188,13 +11239,13 @@ function v1({
11188
11239
  () => ff(n.routes, t, n.basename),
11189
11240
  [n.routes, t, n.basename]
11190
11241
  );
11191
- return r ? /* @__PURE__ */ k.createElement(w1, { page: t, matches: r, ...e }) : null;
11242
+ return r ? /* @__PURE__ */ k.createElement(_1, { page: t, matches: r, ...e }) : null;
11192
11243
  }
11193
- function x1(t) {
11244
+ function k1(t) {
11194
11245
  let { manifest: e, routeModules: n } = _f(), [r, o] = k.useState([]);
11195
11246
  return k.useEffect(() => {
11196
11247
  let i = !1;
11197
- return u1(t, e, n).then(
11248
+ return h1(t, e, n).then(
11198
11249
  (s) => {
11199
11250
  i || o(s);
11200
11251
  }
@@ -11203,12 +11254,12 @@ function x1(t) {
11203
11254
  };
11204
11255
  }, [t, e, n]), r;
11205
11256
  }
11206
- function w1({
11257
+ function _1({
11207
11258
  page: t,
11208
11259
  matches: e,
11209
11260
  ...n
11210
11261
  }) {
11211
- let r = Dn(), { manifest: o, routeModules: i } = _f(), { basename: s } = kf(), { loaderData: a, matches: l } = b1(), c = k.useMemo(
11262
+ let r = Dn(), { manifest: o, routeModules: i } = _f(), { basename: s } = kf(), { loaderData: a, matches: l } = v1(), c = k.useMemo(
11212
11263
  () => fd(
11213
11264
  t,
11214
11265
  e,
@@ -11238,7 +11289,7 @@ function w1({
11238
11289
  !y || !y.hasLoader || (!c.some((x) => x.route.id === v.route.id) && v.route.id in a && ((_ = i[v.route.id]) != null && _.shouldRevalidate) || y.hasClientLoader ? p = !0 : g.add(v.route.id));
11239
11290
  }), g.size === 0)
11240
11291
  return [];
11241
- let m = m1(t, s);
11292
+ let m = y1(t, s);
11242
11293
  return p && g.size > 0 && m.searchParams.set(
11243
11294
  "_routes",
11244
11295
  e.filter((v) => g.has(v.route.id)).map((v) => v.route.id).join(",")
@@ -11253,16 +11304,16 @@ function w1({
11253
11304
  t,
11254
11305
  i
11255
11306
  ]), f = k.useMemo(
11256
- () => f1(d, o),
11307
+ () => g1(d, o),
11257
11308
  [d, o]
11258
- ), h = x1(d);
11309
+ ), h = k1(d);
11259
11310
  return /* @__PURE__ */ k.createElement(k.Fragment, null, u.map((g) => /* @__PURE__ */ k.createElement("link", { key: g, rel: "prefetch", as: "fetch", href: g, ...n })), f.map((g) => /* @__PURE__ */ k.createElement("link", { key: g, rel: "modulepreload", href: g, ...n })), h.map(({ key: g, link: p }) => (
11260
11311
  // these don't spread `linkProps` because they are full link descriptors
11261
11312
  // already with their own props
11262
11313
  /* @__PURE__ */ k.createElement("link", { key: g, ...p })
11263
11314
  )));
11264
11315
  }
11265
- function k1(...t) {
11316
+ function C1(...t) {
11266
11317
  return (e) => {
11267
11318
  t.forEach((n) => {
11268
11319
  typeof n == "function" ? n(e) : n != null && (n.current = e);
@@ -11300,10 +11351,10 @@ var Sf = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, jn = k.forwardRef(
11300
11351
  `<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
11301
11352
  );
11302
11353
  }
11303
- let y = Bw(c, { relative: o }), [_, x, w] = y1(
11354
+ let y = jw(c, { relative: o }), [_, x, w] = x1(
11304
11355
  r,
11305
11356
  f
11306
- ), C = E1(c, {
11357
+ ), C = T1(c, {
11307
11358
  replace: s,
11308
11359
  state: a,
11309
11360
  target: l,
@@ -11323,17 +11374,17 @@ var Sf = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, jn = k.forwardRef(
11323
11374
  ...w,
11324
11375
  href: m || y,
11325
11376
  onClick: v || i ? e : O,
11326
- ref: k1(h, x),
11377
+ ref: C1(h, x),
11327
11378
  target: l,
11328
11379
  "data-discover": !p && n === "render" ? "true" : void 0
11329
11380
  }
11330
11381
  )
11331
11382
  );
11332
- return _ && !p ? /* @__PURE__ */ k.createElement(k.Fragment, null, R, /* @__PURE__ */ k.createElement(v1, { page: y })) : R;
11383
+ return _ && !p ? /* @__PURE__ */ k.createElement(k.Fragment, null, R, /* @__PURE__ */ k.createElement(w1, { page: y })) : R;
11333
11384
  }
11334
11385
  );
11335
11386
  jn.displayName = "Link";
11336
- var _1 = k.forwardRef(
11387
+ var S1 = k.forwardRef(
11337
11388
  function({
11338
11389
  "aria-current": e = "page",
11339
11390
  caseSensitive: n = !1,
@@ -11347,7 +11398,7 @@ var _1 = k.forwardRef(
11347
11398
  }, d) {
11348
11399
  let u = ro(s, { relative: c.relative }), f = Dn(), h = k.useContext(Di), { navigator: g, basename: p } = k.useContext(Xt), m = h != null && // Conditional usage is OK here because the usage of a data router is static
11349
11400
  // eslint-disable-next-line react-hooks/rules-of-hooks
11350
- M1(u) && a === !0, v = g.encodeLocation ? g.encodeLocation(u).pathname : u.pathname, y = f.pathname, _ = h && h.navigation && h.navigation.location ? h.navigation.location.pathname : null;
11401
+ A1(u) && a === !0, v = g.encodeLocation ? g.encodeLocation(u).pathname : u.pathname, y = f.pathname, _ = h && h.navigation && h.navigation.location ? h.navigation.location.pathname : null;
11351
11402
  n || (y = y.toLowerCase(), _ = _ ? _.toLowerCase() : null, v = v.toLowerCase()), _ && p && (_ = dn(_, p) || _);
11352
11403
  const x = v !== "/" && v.endsWith("/") ? v.length - 1 : v.length;
11353
11404
  let w = y === v || !o && y.startsWith(v) && y.charAt(x) === "/", C = _ != null && (_ === v || !o && _.startsWith(v) && _.charAt(v.length) === "/"), O = {
@@ -11377,8 +11428,8 @@ var _1 = k.forwardRef(
11377
11428
  );
11378
11429
  }
11379
11430
  );
11380
- _1.displayName = "NavLink";
11381
- var C1 = k.forwardRef(
11431
+ S1.displayName = "NavLink";
11432
+ var E1 = k.forwardRef(
11382
11433
  ({
11383
11434
  discover: t = "render",
11384
11435
  fetcherKey: e,
@@ -11394,7 +11445,7 @@ var C1 = k.forwardRef(
11394
11445
  viewTransition: u,
11395
11446
  ...f
11396
11447
  }, h) => {
11397
- let g = R1(), p = N1(a, { relative: c }), m = s.toLowerCase() === "get" ? "get" : "post", v = typeof a == "string" && Sf.test(a), y = (_) => {
11448
+ let g = M1(), p = P1(a, { relative: c }), m = s.toLowerCase() === "get" ? "get" : "post", v = typeof a == "string" && Sf.test(a), y = (_) => {
11398
11449
  if (l && l(_), _.defaultPrevented) return;
11399
11450
  _.preventDefault();
11400
11451
  let x = _.nativeEvent.submitter, w = (x == null ? void 0 : x.getAttribute("formmethod")) || s;
@@ -11422,15 +11473,15 @@ var C1 = k.forwardRef(
11422
11473
  );
11423
11474
  }
11424
11475
  );
11425
- C1.displayName = "Form";
11426
- function S1(t) {
11476
+ E1.displayName = "Form";
11477
+ function O1(t) {
11427
11478
  return `${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
11428
11479
  }
11429
11480
  function Ef(t) {
11430
11481
  let e = k.useContext(ir);
11431
- return He(e, S1(t)), e;
11482
+ return He(e, O1(t)), e;
11432
11483
  }
11433
- function E1(t, {
11484
+ function T1(t, {
11434
11485
  target: e,
11435
11486
  replace: n,
11436
11487
  state: r,
@@ -11438,10 +11489,10 @@ function E1(t, {
11438
11489
  relative: i,
11439
11490
  viewTransition: s
11440
11491
  } = {}) {
11441
- let a = $w(), l = Dn(), c = ro(t, { relative: i });
11492
+ let a = Ww(), l = Dn(), c = ro(t, { relative: i });
11442
11493
  return k.useCallback(
11443
11494
  (d) => {
11444
- if (i1(d, e)) {
11495
+ if (a1(d, e)) {
11445
11496
  d.preventDefault();
11446
11497
  let u = n !== void 0 ? n : Is(l) === Is(c);
11447
11498
  a(t, {
@@ -11467,20 +11518,20 @@ function E1(t, {
11467
11518
  ]
11468
11519
  );
11469
11520
  }
11470
- var O1 = 0, T1 = () => `__${String(++O1)}__`;
11471
- function R1() {
11521
+ var R1 = 0, N1 = () => `__${String(++R1)}__`;
11522
+ function M1() {
11472
11523
  let { router: t } = Ef(
11473
11524
  "useSubmit"
11474
11525
  /* UseSubmit */
11475
- ), { basename: e } = k.useContext(Xt), n = Zw();
11526
+ ), { basename: e } = k.useContext(Xt), n = Qw();
11476
11527
  return k.useCallback(
11477
11528
  async (r, o = {}) => {
11478
- let { action: i, method: s, encType: a, formData: l, body: c } = l1(
11529
+ let { action: i, method: s, encType: a, formData: l, body: c } = d1(
11479
11530
  r,
11480
11531
  e
11481
11532
  );
11482
11533
  if (o.navigate === !1) {
11483
- let d = o.fetcherKey || T1();
11534
+ let d = o.fetcherKey || N1();
11484
11535
  await t.fetch(d, n, o.action || i, {
11485
11536
  preventScrollReset: o.preventScrollReset,
11486
11537
  formData: l,
@@ -11506,7 +11557,7 @@ function R1() {
11506
11557
  [t, e, n]
11507
11558
  );
11508
11559
  }
11509
- function N1(t, { relative: e } = {}) {
11560
+ function P1(t, { relative: e } = {}) {
11510
11561
  let { basename: n } = k.useContext(Xt), r = k.useContext(Zt);
11511
11562
  He(r, "useFormAction must be used inside a RouteContext");
11512
11563
  let [o] = r.matches.slice(-1), i = { ...ro(t || ".", { relative: e }) }, s = Dn();
@@ -11521,7 +11572,7 @@ function N1(t, { relative: e } = {}) {
11521
11572
  }
11522
11573
  return (!t || t === ".") && o.route.index && (i.search = i.search ? i.search.replace(/^\?/, "?index&") : "?index"), n !== "/" && (i.pathname = i.pathname === "/" ? n : Vt([n, i.pathname])), Is(i);
11523
11574
  }
11524
- function M1(t, e = {}) {
11575
+ function A1(t, e = {}) {
11525
11576
  let n = k.useContext(yf);
11526
11577
  He(
11527
11578
  n != null,
@@ -11537,7 +11588,7 @@ function M1(t, e = {}) {
11537
11588
  return ci(o.pathname, s) != null || ci(o.pathname, i) != null;
11538
11589
  }
11539
11590
  new TextEncoder();
11540
- const P1 = wi(), cC = () => {
11591
+ const D1 = wi(), uC = () => {
11541
11592
  const [t, e] = xe(!0), [n, r] = xe(null), o = () => {
11542
11593
  n || e(!1);
11543
11594
  }, i = () => {
@@ -11545,134 +11596,258 @@ const P1 = wi(), cC = () => {
11545
11596
  }, s = (a) => {
11546
11597
  r(n === a ? null : a);
11547
11598
  };
11548
- return /* @__PURE__ */ b("div", { className: "fixed top-0 left-0 h-full z-40", children: /* @__PURE__ */ $("div", { className: "flex flex-col", onMouseEnter: o, onMouseLeave: i, children: [
11549
- /* @__PURE__ */ $(
11550
- Nv,
11551
- {
11552
- collapsed: t,
11553
- rootStyles: {
11554
- [`.${ke.container}`]: {
11555
- backgroundColor: "#483FFF",
11556
- color: "#483FFF",
11557
- height: "100vh",
11558
- display: "flex",
11559
- flexDirection: "column"
11560
- }
11561
- },
11562
- children: [
11563
- /* @__PURE__ */ b(jn, { to: "/dashboard", children: /* @__PURE__ */ b("div", { children: /* @__PURE__ */ b(Fr, { classIm: "mx-auto", src: `${P1}/public/assets/images/logo mathilde.png`, alt: "Logo Mathilde ads", width: 74, height: 74 }) }) }),
11564
- /* @__PURE__ */ $(Av, { children: [
11565
- /* @__PURE__ */ b(
11566
- zn,
11567
- {
11568
- icon: /* @__PURE__ */ b(Ep, { className: "text-2xl" }),
11569
- onClick: () => s("campanas"),
11570
- className: "bg-white my-1 mx-2 rounded-lg hover:bg-opacity-90",
11571
- rootStyles: {
11572
- button: {
11573
- width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11574
- margin: t ? "0 0.25rem" : "0 0.5rem",
11575
- color: "#483FFF",
11576
- "&:hover": {
11577
- color: "#483FFF"
11578
- }
11579
- }
11580
- },
11581
- children: " Campañas "
11582
- }
11583
- ),
11584
- /* @__PURE__ */ b(jn, { to: "https://dsp.mathilde-ads.com/login", children: /* @__PURE__ */ b(
11585
- zn,
11586
- {
11587
- icon: /* @__PURE__ */ b(nw, { className: "text-xl" }),
11588
- className: "bg-white my-1 mx-2 rounded-lg hover:bg-opacity-90",
11589
- rootStyles: {
11590
- button: {
11591
- width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11592
- margin: t ? "0 0.25rem" : "0 0.5rem",
11593
- color: "#483FFF",
11594
- "&:hover": {
11595
- color: "#483FFF"
11596
- }
11597
- }
11598
- },
11599
- children: " Medios "
11600
- }
11601
- ) }),
11602
- /* @__PURE__ */ b(
11603
- zn,
11604
- {
11605
- icon: /* @__PURE__ */ b(Op, { className: "text-xl" }),
11606
- onClick: () => s("audiencias"),
11607
- className: "bg-white my-1 mx-2 rounded-lg hover:bg-opacity-90",
11608
- rootStyles: {
11609
- button: {
11610
- width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11611
- margin: t ? "0 0.25rem" : "0 0.5rem",
11612
- color: "#483FFF",
11613
- "&:hover": {
11614
- color: "#483FFF"
11615
- }
11616
- }
11617
- },
11618
- children: " Audiencias "
11619
- }
11620
- ),
11621
- /* @__PURE__ */ b(zn, { icon: /* @__PURE__ */ b(ow, { className: "text-xl" }), onClick: () => s("reportes"), className: "bg-white my-1 mx-2 rounded-lg hover:bg-opacity-90", rootStyles: {
11622
- button: {
11623
- width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11624
- margin: t ? "0 0.25rem" : "0 0.5rem",
11599
+ return /* @__PURE__ */ b("div", { className: "fixed left-0 top-0 z-40 h-full", children: /* @__PURE__ */ $(
11600
+ "div",
11601
+ {
11602
+ className: "flex flex-col",
11603
+ onMouseEnter: o,
11604
+ onMouseLeave: i,
11605
+ children: [
11606
+ /* @__PURE__ */ $(
11607
+ Nv,
11608
+ {
11609
+ collapsed: t,
11610
+ rootStyles: {
11611
+ [`.${ke.container}`]: {
11612
+ backgroundColor: "#483FFF",
11625
11613
  color: "#483FFF",
11626
- "&:hover": {
11627
- color: "#483FFF"
11628
- }
11614
+ height: "100vh",
11615
+ display: "flex",
11616
+ flexDirection: "column"
11629
11617
  }
11630
- }, children: " Reportes " }),
11631
- /* @__PURE__ */ b(zn, { icon: /* @__PURE__ */ b(rw, { className: "text-xl" }), onClick: () => s("facturacion"), className: "bg-white my-1 mx-2 rounded-lg hover:bg-opacity-90", rootStyles: {
11632
- button: {
11633
- width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11634
- margin: t ? "0 0.25rem" : "0 0.5rem",
11635
- color: "#483FFF",
11636
- "&:hover": {
11637
- color: "#483FFF"
11618
+ },
11619
+ children: [
11620
+ /* @__PURE__ */ b(jn, { to: "/dashboard", children: /* @__PURE__ */ b("div", { children: /* @__PURE__ */ b(
11621
+ Fr,
11622
+ {
11623
+ classIm: "mx-auto",
11624
+ src: `${D1}/public/assets/images/logo mathilde.png`,
11625
+ alt: "Logo Mathilde ads",
11626
+ width: 74,
11627
+ height: 74
11638
11628
  }
11639
- }
11640
- }, children: " Facturación " }),
11641
- /* @__PURE__ */ b(jn, { to: "/settings", children: /* @__PURE__ */ b(zn, { icon: /* @__PURE__ */ b(iw, { className: "text-xl" }), className: "bg-white my-1 mx-2 rounded-lg hover:bg-opacity-90", rootStyles: {
11642
- button: {
11643
- width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11644
- margin: t ? "0 0.25rem" : "0 0.5rem",
11645
- color: "#483FFF",
11646
- "&:hover": {
11647
- color: "#483FFF"
11629
+ ) }) }),
11630
+ /* @__PURE__ */ $(Av, { children: [
11631
+ /* @__PURE__ */ $(
11632
+ zn,
11633
+ {
11634
+ icon: /* @__PURE__ */ b(Ep, { className: "text-2xl" }),
11635
+ onClick: () => s("campanas"),
11636
+ className: "mx-2 my-1 rounded-lg bg-white hover:bg-opacity-90",
11637
+ rootStyles: {
11638
+ button: {
11639
+ width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11640
+ margin: t ? "0 0.25rem" : "0 0.5rem",
11641
+ color: "#483FFF",
11642
+ "&:hover": {
11643
+ color: "#483FFF"
11644
+ }
11645
+ }
11646
+ },
11647
+ children: [
11648
+ " ",
11649
+ "Campañas",
11650
+ " "
11651
+ ]
11652
+ }
11653
+ ),
11654
+ /* @__PURE__ */ b(jn, { to: "https://dsp.mathilde-ads.com/login", children: /* @__PURE__ */ $(
11655
+ zn,
11656
+ {
11657
+ icon: /* @__PURE__ */ b(ow, { className: "text-xl" }),
11658
+ className: "mx-2 my-1 rounded-lg bg-white hover:bg-opacity-90",
11659
+ rootStyles: {
11660
+ button: {
11661
+ width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11662
+ margin: t ? "0 0.25rem" : "0 0.5rem",
11663
+ color: "#483FFF",
11664
+ "&:hover": {
11665
+ color: "#483FFF"
11666
+ }
11667
+ }
11668
+ },
11669
+ children: [
11670
+ " ",
11671
+ "Medios",
11672
+ " "
11673
+ ]
11674
+ }
11675
+ ) }),
11676
+ /* @__PURE__ */ $(
11677
+ zn,
11678
+ {
11679
+ icon: /* @__PURE__ */ b(Op, { className: "text-xl" }),
11680
+ onClick: () => s("audiencias"),
11681
+ className: "mx-2 my-1 rounded-lg bg-white hover:bg-opacity-90",
11682
+ rootStyles: {
11683
+ button: {
11684
+ width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11685
+ margin: t ? "0 0.25rem" : "0 0.5rem",
11686
+ color: "#483FFF",
11687
+ "&:hover": {
11688
+ color: "#483FFF"
11689
+ }
11690
+ }
11691
+ },
11692
+ children: [
11693
+ " ",
11694
+ "Audiencias",
11695
+ " "
11696
+ ]
11697
+ }
11698
+ ),
11699
+ /* @__PURE__ */ $(
11700
+ zn,
11701
+ {
11702
+ icon: /* @__PURE__ */ b(sw, { className: "text-xl" }),
11703
+ onClick: () => s("reportes"),
11704
+ className: "mx-2 my-1 rounded-lg bg-white hover:bg-opacity-90",
11705
+ rootStyles: {
11706
+ button: {
11707
+ width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11708
+ margin: t ? "0 0.25rem" : "0 0.5rem",
11709
+ color: "#483FFF",
11710
+ "&:hover": {
11711
+ color: "#483FFF"
11712
+ }
11713
+ }
11714
+ },
11715
+ children: [
11716
+ " ",
11717
+ "Reportes",
11718
+ " "
11719
+ ]
11720
+ }
11721
+ ),
11722
+ /* @__PURE__ */ $(
11723
+ zn,
11724
+ {
11725
+ icon: /* @__PURE__ */ b(iw, { className: "text-xl" }),
11726
+ onClick: () => s("facturacion"),
11727
+ className: "mx-2 my-1 rounded-lg bg-white hover:bg-opacity-90",
11728
+ rootStyles: {
11729
+ button: {
11730
+ width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11731
+ margin: t ? "0 0.25rem" : "0 0.5rem",
11732
+ color: "#483FFF",
11733
+ "&:hover": {
11734
+ color: "#483FFF"
11735
+ }
11736
+ }
11737
+ },
11738
+ children: [
11739
+ " ",
11740
+ "Facturación",
11741
+ " "
11742
+ ]
11743
+ }
11744
+ ),
11745
+ /* @__PURE__ */ b(jn, { to: "/settings", children: /* @__PURE__ */ $(
11746
+ zn,
11747
+ {
11748
+ icon: /* @__PURE__ */ b(aw, { className: "text-xl" }),
11749
+ className: "mx-2 my-1 rounded-lg bg-white hover:bg-opacity-90",
11750
+ rootStyles: {
11751
+ button: {
11752
+ width: t ? "calc(100% - 0.5rem)" : "calc(100% - 1rem)",
11753
+ margin: t ? "0 0.25rem" : "0 0.5rem",
11754
+ color: "#483FFF",
11755
+ "&:hover": {
11756
+ color: "#483FFF"
11757
+ }
11758
+ }
11759
+ },
11760
+ children: [
11761
+ " ",
11762
+ "Configuración",
11763
+ " "
11764
+ ]
11765
+ }
11766
+ ) })
11767
+ ] }),
11768
+ /* @__PURE__ */ b("div", { className: "mt-auto self-end p-4", children: /* @__PURE__ */ b("div", { className: "flex justify-center rounded-lg bg-white p-2", children: /* @__PURE__ */ b(
11769
+ "button",
11770
+ {
11771
+ className: "cursor-pointer text-3xl",
11772
+ style: { color: "#483FFF" },
11773
+ children: /* @__PURE__ */ b(sy, {})
11648
11774
  }
11649
- }
11650
- }, children: " Configuración " }) })
11651
- ] }),
11652
- /* @__PURE__ */ b("div", { className: "mt-auto self-end p-4", children: /* @__PURE__ */ b("div", { className: "flex justify-center bg-white rounded-lg p-2", children: /* @__PURE__ */ b("button", { className: "cursor-pointer text-3xl", style: { color: "#483FFF" }, children: /* @__PURE__ */ b(sy, {}) }) }) })
11653
- ]
11654
- }
11655
- ),
11656
- /* @__PURE__ */ b(pr, { width: "40%", isOpen: n === "campanas", onClose: () => r(null), children: /* @__PURE__ */ $("div", { className: "flex flex-col p-10", children: [
11657
- /* @__PURE__ */ b("h2", { className: "text-center font-bold mb-3", children: "Selecciona el tipo de campaña que quieres crear" }),
11658
- /* @__PURE__ */ $("div", { className: "flex", children: [
11659
- /* @__PURE__ */ b("div", { className: "w-3/6 p-2", children: /* @__PURE__ */ b(Ds, { image: { type: "image", name: "medios-propios" }, title: "Medios Propios", description: "Crea y administra campañas a los usuarios que ingresan a tus canales." }) }),
11660
- /* @__PURE__ */ b("div", { className: "w-3/6 p-2", children: /* @__PURE__ */ b(jn, { to: "/thirdPartyCampaign", children: /* @__PURE__ */ b(Ds, { image: { type: "image", name: "medios-pagos" }, title: "Medios Pagos", description: "Activa campañas de Marketing Digital usando inventario de Redes Sociales y Google." }) }) })
11661
- ] })
11662
- ] }) }),
11663
- /* @__PURE__ */ b(pr, { isOpen: n === "audiencias", onClose: () => r(null), children: /* @__PURE__ */ b("h2", { children: "Audiencias" }) }),
11664
- /* @__PURE__ */ b(pr, { isOpen: n === "reportes", onClose: () => r(null), children: /* @__PURE__ */ b("h2", { children: "Reportes" }) }),
11665
- /* @__PURE__ */ b(pr, { isOpen: n === "facturacion", onClose: () => r(null), children: /* @__PURE__ */ b("h2", { children: "Facturación" }) }),
11666
- /* @__PURE__ */ b(pr, { isOpen: n === "configuracion", onClose: () => r(null), children: /* @__PURE__ */ b("h2", { children: "Configuración" }) })
11667
- ] }) });
11775
+ ) }) })
11776
+ ]
11777
+ }
11778
+ ),
11779
+ /* @__PURE__ */ b(
11780
+ pr,
11781
+ {
11782
+ width: "40%",
11783
+ isOpen: n === "campanas",
11784
+ onClose: () => r(null),
11785
+ children: /* @__PURE__ */ $("div", { className: "flex flex-col p-10", children: [
11786
+ /* @__PURE__ */ b("h2", { className: "mb-3 text-center font-bold", children: "Selecciona el tipo de campaña que quieres crear" }),
11787
+ /* @__PURE__ */ $("div", { className: "flex", children: [
11788
+ /* @__PURE__ */ b("div", { className: "w-3/6 p-2", children: /* @__PURE__ */ b(
11789
+ Ds,
11790
+ {
11791
+ image: { type: "image", name: "medios-propios" },
11792
+ title: "Medios Propios",
11793
+ description: "Crea y administra campañas a los usuarios que ingresan a tus canales."
11794
+ }
11795
+ ) }),
11796
+ /* @__PURE__ */ b("div", { className: "w-3/6 p-2", children: /* @__PURE__ */ b(jn, { to: "/thirdPartyCampaign", children: /* @__PURE__ */ b(
11797
+ Ds,
11798
+ {
11799
+ image: { type: "image", name: "medios-pagos" },
11800
+ title: "Medios Pagos",
11801
+ description: "Activa campañas de Marketing Digital usando inventario de Redes Sociales y Google."
11802
+ }
11803
+ ) }) })
11804
+ ] })
11805
+ ] })
11806
+ }
11807
+ ),
11808
+ /* @__PURE__ */ b(
11809
+ pr,
11810
+ {
11811
+ isOpen: n === "audiencias",
11812
+ onClose: () => r(null),
11813
+ children: /* @__PURE__ */ b("h2", { children: "Audiencias" })
11814
+ }
11815
+ ),
11816
+ /* @__PURE__ */ b(
11817
+ pr,
11818
+ {
11819
+ isOpen: n === "reportes",
11820
+ onClose: () => r(null),
11821
+ children: /* @__PURE__ */ b("h2", { children: "Reportes" })
11822
+ }
11823
+ ),
11824
+ /* @__PURE__ */ b(
11825
+ pr,
11826
+ {
11827
+ isOpen: n === "facturacion",
11828
+ onClose: () => r(null),
11829
+ children: /* @__PURE__ */ b("h2", { children: "Facturación" })
11830
+ }
11831
+ ),
11832
+ /* @__PURE__ */ b(
11833
+ pr,
11834
+ {
11835
+ isOpen: n === "configuracion",
11836
+ onClose: () => r(null),
11837
+ children: /* @__PURE__ */ b("h2", { children: "Configuración" })
11838
+ }
11839
+ )
11840
+ ]
11841
+ }
11842
+ ) });
11668
11843
  };
11669
- function A1(t) {
11844
+ function I1(t) {
11670
11845
  return me({ attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z", clipRule: "evenodd" }, child: [] }] })(t);
11671
11846
  }
11672
- function D1(t) {
11847
+ function L1(t) {
11673
11848
  return me({ attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z", clipRule: "evenodd" }, child: [] }] })(t);
11674
11849
  }
11675
- function I1(t) {
11850
+ function F1(t) {
11676
11851
  return me({ attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z", clipRule: "evenodd" }, child: [] }] })(t);
11677
11852
  }
11678
11853
  function Of(t) {
@@ -11684,39 +11859,39 @@ function Tf(t) {
11684
11859
  function Rf(t) {
11685
11860
  return me({ attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z", clipRule: "evenodd" }, child: [] }] })(t);
11686
11861
  }
11687
- function L1(t) {
11862
+ function z1(t) {
11688
11863
  return me({ attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z", clipRule: "evenodd" }, child: [] }] })(t);
11689
11864
  }
11690
- function F1(t) {
11865
+ function B1(t) {
11691
11866
  return me({ attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { d: "M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" }, child: [] }] })(t);
11692
11867
  }
11693
- function z1(t) {
11868
+ function $1(t) {
11694
11869
  return me({ attr: { viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z", clipRule: "evenodd" }, child: [] }] })(t);
11695
11870
  }
11696
11871
  function Nf(t) {
11697
11872
  return me({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M19 9l-7 7-7-7" }, child: [] }] })(t);
11698
11873
  }
11699
- function B1(t) {
11874
+ function j1(t) {
11700
11875
  return me({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M15 19l-7-7 7-7" }, child: [] }] })(t);
11701
11876
  }
11702
11877
  function Mf(t) {
11703
11878
  return me({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M9 5l7 7-7 7" }, child: [] }] })(t);
11704
11879
  }
11705
- function $1(t) {
11880
+ function W1(t) {
11706
11881
  return me({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M5 15l7-7 7 7" }, child: [] }] })(t);
11707
11882
  }
11708
- function j1(t) {
11883
+ function H1(t) {
11709
11884
  return me({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" }, child: [] }] })(t);
11710
11885
  }
11711
11886
  const Ta = "-";
11712
- function W1(t) {
11713
- const e = V1(t), {
11887
+ function V1(t) {
11888
+ const e = U1(t), {
11714
11889
  conflictingClassGroups: n,
11715
11890
  conflictingClassGroupModifiers: r
11716
11891
  } = t;
11717
11892
  function o(s) {
11718
11893
  const a = s.split(Ta);
11719
- return a[0] === "" && a.length !== 1 && a.shift(), Pf(a, e) || H1(s);
11894
+ return a[0] === "" && a.length !== 1 && a.shift(), Pf(a, e) || Y1(s);
11720
11895
  }
11721
11896
  function i(s, a) {
11722
11897
  const l = n[s] || [];
@@ -11742,14 +11917,14 @@ function Pf(t, e) {
11742
11917
  }) => a(i))) == null ? void 0 : s.classGroupId;
11743
11918
  }
11744
11919
  const hd = /^\[(.+)\]$/;
11745
- function H1(t) {
11920
+ function Y1(t) {
11746
11921
  if (hd.test(t)) {
11747
11922
  const e = hd.exec(t)[1], n = e == null ? void 0 : e.substring(0, e.indexOf(":"));
11748
11923
  if (n)
11749
11924
  return "arbitrary.." + n;
11750
11925
  }
11751
11926
  }
11752
- function V1(t) {
11927
+ function U1(t) {
11753
11928
  const {
11754
11929
  theme: e,
11755
11930
  prefix: n
@@ -11757,7 +11932,7 @@ function V1(t) {
11757
11932
  nextPart: /* @__PURE__ */ new Map(),
11758
11933
  validators: []
11759
11934
  };
11760
- return U1(Object.entries(t.classGroups), n).forEach(([i, s]) => {
11935
+ return q1(Object.entries(t.classGroups), n).forEach(([i, s]) => {
11761
11936
  Ls(s, r, i, e);
11762
11937
  }), r;
11763
11938
  }
@@ -11769,7 +11944,7 @@ function Ls(t, e, n, r) {
11769
11944
  return;
11770
11945
  }
11771
11946
  if (typeof o == "function") {
11772
- if (Y1(o)) {
11947
+ if (K1(o)) {
11773
11948
  Ls(o(r), e, n, r);
11774
11949
  return;
11775
11950
  }
@@ -11793,16 +11968,16 @@ function gd(t, e) {
11793
11968
  }), n = n.nextPart.get(r);
11794
11969
  }), n;
11795
11970
  }
11796
- function Y1(t) {
11971
+ function K1(t) {
11797
11972
  return t.isThemeGetter;
11798
11973
  }
11799
- function U1(t, e) {
11974
+ function q1(t, e) {
11800
11975
  return e ? t.map(([n, r]) => {
11801
11976
  const o = r.map((i) => typeof i == "string" ? e + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([s, a]) => [e + s, a])) : i);
11802
11977
  return [n, o];
11803
11978
  }) : t;
11804
11979
  }
11805
- function K1(t) {
11980
+ function G1(t) {
11806
11981
  if (t < 1)
11807
11982
  return {
11808
11983
  get: () => {
@@ -11828,7 +12003,7 @@ function K1(t) {
11828
12003
  };
11829
12004
  }
11830
12005
  const Af = "!";
11831
- function q1(t) {
12006
+ function X1(t) {
11832
12007
  const e = t.separator, n = e.length === 1, r = e[0], o = e.length;
11833
12008
  return function(s) {
11834
12009
  const a = [];
@@ -11856,7 +12031,7 @@ function q1(t) {
11856
12031
  };
11857
12032
  };
11858
12033
  }
11859
- function G1(t) {
12034
+ function Z1(t) {
11860
12035
  if (t.length <= 1)
11861
12036
  return t;
11862
12037
  const e = [];
@@ -11865,21 +12040,21 @@ function G1(t) {
11865
12040
  r[0] === "[" ? (e.push(...n.sort(), r), n = []) : n.push(r);
11866
12041
  }), e.push(...n.sort()), e;
11867
12042
  }
11868
- function X1(t) {
12043
+ function J1(t) {
11869
12044
  return {
11870
- cache: K1(t.cacheSize),
11871
- splitModifiers: q1(t),
11872
- ...W1(t)
12045
+ cache: G1(t.cacheSize),
12046
+ splitModifiers: X1(t),
12047
+ ...V1(t)
11873
12048
  };
11874
12049
  }
11875
- const Z1 = /\s+/;
11876
- function J1(t, e) {
12050
+ const Q1 = /\s+/;
12051
+ function ek(t, e) {
11877
12052
  const {
11878
12053
  splitModifiers: n,
11879
12054
  getClassGroupId: r,
11880
12055
  getConflictingClassGroupIds: o
11881
12056
  } = e, i = /* @__PURE__ */ new Set();
11882
- return t.trim().split(Z1).map((s) => {
12057
+ return t.trim().split(Q1).map((s) => {
11883
12058
  const {
11884
12059
  modifiers: a,
11885
12060
  hasImportantModifier: l,
@@ -11900,7 +12075,7 @@ function J1(t, e) {
11900
12075
  };
11901
12076
  f = !1;
11902
12077
  }
11903
- const h = G1(a).join(":");
12078
+ const h = Z1(a).join(":");
11904
12079
  return {
11905
12080
  isTailwindClass: !0,
11906
12081
  modifierId: l ? h + Af : h,
@@ -11919,7 +12094,7 @@ function J1(t, e) {
11919
12094
  return i.has(d) ? !1 : (i.add(d), o(l, c).forEach((u) => i.add(a + u)), !0);
11920
12095
  }).reverse().map((s) => s.originalClassName).join(" ");
11921
12096
  }
11922
- function Q1() {
12097
+ function tk() {
11923
12098
  let t = 0, e, n, r = "";
11924
12099
  for (; t < arguments.length; )
11925
12100
  (e = arguments[t++]) && (n = Df(e)) && (r && (r += " "), r += n);
@@ -11933,33 +12108,33 @@ function Df(t) {
11933
12108
  t[r] && (e = Df(t[r])) && (n && (n += " "), n += e);
11934
12109
  return n;
11935
12110
  }
11936
- function ek(t, ...e) {
12111
+ function nk(t, ...e) {
11937
12112
  let n, r, o, i = s;
11938
12113
  function s(l) {
11939
12114
  const c = e.reduce((d, u) => u(d), t());
11940
- return n = X1(c), r = n.cache.get, o = n.cache.set, i = a, a(l);
12115
+ return n = J1(c), r = n.cache.get, o = n.cache.set, i = a, a(l);
11941
12116
  }
11942
12117
  function a(l) {
11943
12118
  const c = r(l);
11944
12119
  if (c)
11945
12120
  return c;
11946
- const d = J1(l, n);
12121
+ const d = ek(l, n);
11947
12122
  return o(l, d), d;
11948
12123
  }
11949
12124
  return function() {
11950
- return i(Q1.apply(null, arguments));
12125
+ return i(tk.apply(null, arguments));
11951
12126
  };
11952
12127
  }
11953
12128
  function ye(t) {
11954
12129
  const e = (n) => n[t] || [];
11955
12130
  return e.isThemeGetter = !0, e;
11956
12131
  }
11957
- const If = /^\[(?:([a-z-]+):)?(.+)\]$/i, tk = /^\d+\/\d+$/, nk = /* @__PURE__ */ new Set(["px", "full", "screen"]), rk = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ok = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ik = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, sk = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ak = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
12132
+ const If = /^\[(?:([a-z-]+):)?(.+)\]$/i, rk = /^\d+\/\d+$/, ok = /* @__PURE__ */ new Set(["px", "full", "screen"]), ik = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, sk = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ak = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, lk = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ck = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
11958
12133
  function Bt(t) {
11959
- return kn(t) || nk.has(t) || tk.test(t);
12134
+ return kn(t) || ok.has(t) || rk.test(t);
11960
12135
  }
11961
12136
  function en(t) {
11962
- return sr(t, "length", pk);
12137
+ return sr(t, "length", bk);
11963
12138
  }
11964
12139
  function kn(t) {
11965
12140
  return !!t && !Number.isNaN(Number(t));
@@ -11970,28 +12145,28 @@ function To(t) {
11970
12145
  function vr(t) {
11971
12146
  return !!t && Number.isInteger(Number(t));
11972
12147
  }
11973
- function lk(t) {
12148
+ function dk(t) {
11974
12149
  return t.endsWith("%") && kn(t.slice(0, -1));
11975
12150
  }
11976
12151
  function J(t) {
11977
12152
  return If.test(t);
11978
12153
  }
11979
12154
  function tn(t) {
11980
- return rk.test(t);
12155
+ return ik.test(t);
11981
12156
  }
11982
- const ck = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
11983
- function dk(t) {
11984
- return sr(t, ck, Lf);
12157
+ const uk = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
12158
+ function fk(t) {
12159
+ return sr(t, uk, Lf);
11985
12160
  }
11986
- function uk(t) {
12161
+ function hk(t) {
11987
12162
  return sr(t, "position", Lf);
11988
12163
  }
11989
- const fk = /* @__PURE__ */ new Set(["image", "url"]);
11990
- function hk(t) {
11991
- return sr(t, fk, bk);
12164
+ const gk = /* @__PURE__ */ new Set(["image", "url"]);
12165
+ function pk(t) {
12166
+ return sr(t, gk, vk);
11992
12167
  }
11993
- function gk(t) {
11994
- return sr(t, "", mk);
12168
+ function mk(t) {
12169
+ return sr(t, "", yk);
11995
12170
  }
11996
12171
  function xr() {
11997
12172
  return !0;
@@ -12000,19 +12175,19 @@ function sr(t, e, n) {
12000
12175
  const r = If.exec(t);
12001
12176
  return r ? r[1] ? typeof e == "string" ? r[1] === e : e.has(r[1]) : n(r[2]) : !1;
12002
12177
  }
12003
- function pk(t) {
12004
- return ok.test(t) && !ik.test(t);
12178
+ function bk(t) {
12179
+ return sk.test(t) && !ak.test(t);
12005
12180
  }
12006
12181
  function Lf() {
12007
12182
  return !1;
12008
12183
  }
12009
- function mk(t) {
12010
- return sk.test(t);
12184
+ function yk(t) {
12185
+ return lk.test(t);
12011
12186
  }
12012
- function bk(t) {
12013
- return ak.test(t);
12187
+ function vk(t) {
12188
+ return ck.test(t);
12014
12189
  }
12015
- function yk() {
12190
+ function xk() {
12016
12191
  const t = ye("colors"), e = ye("spacing"), n = ye("blur"), r = ye("brightness"), o = ye("borderColor"), i = ye("borderRadius"), s = ye("borderSpacing"), a = ye("borderWidth"), l = ye("contrast"), c = ye("grayscale"), d = ye("hueRotate"), u = ye("invert"), f = ye("gap"), h = ye("gradientColorStops"), g = ye("gradientColorStopPositions"), p = ye("inset"), m = ye("margin"), v = ye("opacity"), y = ye("padding"), _ = ye("saturate"), x = ye("scale"), w = ye("sepia"), C = ye("skew"), O = ye("space"), R = ye("translate"), T = () => ["auto", "contain", "none"], S = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", J, e], M = () => [J, e], P = () => ["", Bt, en], E = () => ["auto", kn, J], N = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], D = () => ["solid", "dashed", "dotted", "double", "none"], L = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], F = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], B = () => ["", "0", J], z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [kn, To], V = () => [kn, J];
12017
12192
  return {
12018
12193
  cacheSize: 500,
@@ -12032,7 +12207,7 @@ function yk() {
12032
12207
  invert: B(),
12033
12208
  gap: M(),
12034
12209
  gradientColorStops: [t],
12035
- gradientColorStopPositions: [lk, en],
12210
+ gradientColorStopPositions: [dk, en],
12036
12211
  inset: A(),
12037
12212
  margin: A(),
12038
12213
  opacity: H(),
@@ -12945,7 +13120,7 @@ function yk() {
12945
13120
  * @see https://tailwindcss.com/docs/background-position
12946
13121
  */
12947
13122
  "bg-position": [{
12948
- bg: [...N(), uk]
13123
+ bg: [...N(), hk]
12949
13124
  }],
12950
13125
  /**
12951
13126
  * Background Repeat
@@ -12961,7 +13136,7 @@ function yk() {
12961
13136
  * @see https://tailwindcss.com/docs/background-size
12962
13137
  */
12963
13138
  "bg-size": [{
12964
- bg: ["auto", "cover", "contain", dk]
13139
+ bg: ["auto", "cover", "contain", fk]
12965
13140
  }],
12966
13141
  /**
12967
13142
  * Background Image
@@ -12970,7 +13145,7 @@ function yk() {
12970
13145
  "bg-image": [{
12971
13146
  bg: ["none", {
12972
13147
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
12973
- }, hk]
13148
+ }, pk]
12974
13149
  }],
12975
13150
  /**
12976
13151
  * Background Color
@@ -13372,7 +13547,7 @@ function yk() {
13372
13547
  * @see https://tailwindcss.com/docs/box-shadow
13373
13548
  */
13374
13549
  shadow: [{
13375
- shadow: ["", "inner", "none", tn, gk]
13550
+ shadow: ["", "inner", "none", tn, mk]
13376
13551
  }],
13377
13552
  /**
13378
13553
  * Box Shadow Color
@@ -14028,7 +14203,7 @@ function yk() {
14028
14203
  }
14029
14204
  };
14030
14205
  }
14031
- const I = /* @__PURE__ */ ek(yk);
14206
+ const I = /* @__PURE__ */ nk(xk);
14032
14207
  function vn(t) {
14033
14208
  return t !== null && typeof t == "object" && t.constructor === Object;
14034
14209
  }
@@ -14049,7 +14224,7 @@ function W(t, e) {
14049
14224
  vn(e[r]) && r in t && vn(t[r]) ? n[r] = W(t[r], e[r]) : n[r] = vn(e[r]) ? Gr(e[r]) : e[r];
14050
14225
  return n;
14051
14226
  }
14052
- const vk = {
14227
+ const wk = {
14053
14228
  root: {
14054
14229
  base: "divide-y divide-gray-200 border-gray-200 dark:divide-gray-700 dark:border-gray-700",
14055
14230
  flush: {
@@ -14079,7 +14254,7 @@ const vk = {
14079
14254
  on: "bg-gray-100 text-gray-900 dark:bg-gray-800 dark:text-white"
14080
14255
  }
14081
14256
  }
14082
- }, xk = {
14257
+ }, kk = {
14083
14258
  base: "flex flex-col gap-2 p-4 text-sm",
14084
14259
  borderAccent: "border-t-4",
14085
14260
  closeButton: {
@@ -14127,7 +14302,7 @@ const vk = {
14127
14302
  icon: "mr-3 inline h-5 w-5 flex-shrink-0",
14128
14303
  rounded: "rounded-lg",
14129
14304
  wrapper: "flex items-center"
14130
- }, wk = {
14305
+ }, _k = {
14131
14306
  root: {
14132
14307
  base: "flex items-center justify-center space-x-4 rounded",
14133
14308
  bordered: "p-1 ring-2",
@@ -14186,7 +14361,7 @@ const vk = {
14186
14361
  groupCounter: {
14187
14362
  base: "relative flex h-10 w-10 items-center justify-center rounded-full bg-gray-700 text-xs font-medium text-white ring-2 ring-gray-300 hover:bg-gray-600 dark:ring-gray-500"
14188
14363
  }
14189
- }, kk = {
14364
+ }, Ck = {
14190
14365
  root: {
14191
14366
  base: "flex h-fit items-center gap-1 font-semibold",
14192
14367
  color: {
@@ -14222,11 +14397,11 @@ const vk = {
14222
14397
  sm: "h-3.5 w-3.5"
14223
14398
  }
14224
14399
  }
14225
- }, _k = {
14400
+ }, Sk = {
14226
14401
  root: {
14227
14402
  base: "text-xl font-semibold italic text-gray-900 dark:text-white"
14228
14403
  }
14229
- }, Ck = {
14404
+ }, Ek = {
14230
14405
  root: {
14231
14406
  base: "",
14232
14407
  list: "flex items-center"
@@ -14240,7 +14415,7 @@ const vk = {
14240
14415
  },
14241
14416
  icon: "mr-2 h-4 w-4"
14242
14417
  }
14243
- }, Sk = {
14418
+ }, Ok = {
14244
14419
  base: "group relative flex items-stretch justify-center p-0.5 text-center font-medium transition-[color,background-color,border-color,text-decoration-color,fill,stroke,box-shadow] focus:z-10 focus:outline-none",
14245
14420
  fullSized: "w-full",
14246
14421
  color: {
@@ -14333,7 +14508,7 @@ const vk = {
14333
14508
  lg: "px-5 py-2.5 text-base",
14334
14509
  xl: "px-6 py-3 text-base"
14335
14510
  }
14336
- }, Ek = {
14511
+ }, Tk = {
14337
14512
  base: "inline-flex",
14338
14513
  position: {
14339
14514
  none: "",
@@ -14341,7 +14516,7 @@ const vk = {
14341
14516
  middle: "rounded-none border-l-0 pl-0 focus:ring-2",
14342
14517
  end: "rounded-l-none border-l-0 pl-0 focus:ring-2"
14343
14518
  }
14344
- }, Ok = {
14519
+ }, Rk = {
14345
14520
  root: {
14346
14521
  base: "flex rounded-lg border border-gray-200 bg-white shadow-md dark:border-gray-700 dark:bg-gray-800",
14347
14522
  children: "flex h-full flex-col justify-center gap-4 p-6",
@@ -14358,7 +14533,7 @@ const vk = {
14358
14533
  on: "h-96 w-full rounded-t-lg object-cover md:h-auto md:w-48 md:rounded-none md:rounded-l-lg"
14359
14534
  }
14360
14535
  }
14361
- }, Tk = {
14536
+ }, Nk = {
14362
14537
  root: {
14363
14538
  base: "relative h-full w-full",
14364
14539
  leftControl: "absolute left-0 top-0 flex h-full items-center justify-center px-4 focus:outline-none",
@@ -14387,7 +14562,7 @@ const vk = {
14387
14562
  base: "flex h-full snap-mandatory overflow-y-hidden overflow-x-scroll scroll-smooth rounded-lg",
14388
14563
  snap: "snap-x"
14389
14564
  }
14390
- }, Rk = {
14565
+ }, Mk = {
14391
14566
  root: {
14392
14567
  base: "h-4 w-4 rounded border border-gray-300 bg-gray-100 focus:ring-2 dark:border-gray-600 dark:bg-gray-700",
14393
14568
  color: {
@@ -14411,12 +14586,12 @@ const vk = {
14411
14586
  yellow: "text-yellow-400 focus:ring-yellow-400 dark:ring-offset-yellow-400 dark:focus:ring-yellow-400"
14412
14587
  }
14413
14588
  }
14414
- }, Nk = {
14589
+ }, Pk = {
14415
14590
  root: {
14416
14591
  base: "rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700",
14417
14592
  icon: "h-5 w-5"
14418
14593
  }
14419
- }, Mk = {
14594
+ }, Ak = {
14420
14595
  root: {
14421
14596
  base: "relative"
14422
14597
  },
@@ -14497,7 +14672,7 @@ const vk = {
14497
14672
  }
14498
14673
  }
14499
14674
  }
14500
- }, Pk = {
14675
+ }, Dk = {
14501
14676
  arrowIcon: "ml-2 h-4 w-4",
14502
14677
  content: "py-1 focus:outline-none",
14503
14678
  floating: {
@@ -14529,7 +14704,7 @@ const vk = {
14529
14704
  target: "w-fit"
14530
14705
  },
14531
14706
  inlineWrapper: "flex items-center"
14532
- }, Ak = {
14707
+ }, Ik = {
14533
14708
  root: {
14534
14709
  base: "flex"
14535
14710
  },
@@ -14551,7 +14726,7 @@ const vk = {
14551
14726
  }
14552
14727
  }
14553
14728
  }
14554
- }, Dk = {
14729
+ }, Lk = {
14555
14730
  input: {
14556
14731
  default: {
14557
14732
  filled: {
@@ -14645,7 +14820,7 @@ const vk = {
14645
14820
  success: "mt-2 text-xs text-green-600 dark:text-green-400",
14646
14821
  error: "mt-2 text-xs text-red-600 dark:text-red-400"
14647
14822
  }
14648
- }, Ik = {
14823
+ }, Fk = {
14649
14824
  root: {
14650
14825
  base: "w-full rounded-lg bg-white shadow dark:bg-gray-800 md:flex md:items-center md:justify-between",
14651
14826
  container: "w-full p-6",
@@ -14679,7 +14854,7 @@ const vk = {
14679
14854
  img: "mr-3 h-8",
14680
14855
  span: "self-center whitespace-nowrap text-2xl font-semibold text-gray-800 dark:text-white"
14681
14856
  }
14682
- }, Lk = {
14857
+ }, zk = {
14683
14858
  root: {
14684
14859
  base: "mt-2 text-sm",
14685
14860
  colors: {
@@ -14690,12 +14865,12 @@ const vk = {
14690
14865
  warning: "text-yellow-500 dark:text-yellow-600"
14691
14866
  }
14692
14867
  }
14693
- }, Fk = {
14868
+ }, Bk = {
14694
14869
  root: {
14695
14870
  base: "rounded-lg border border-gray-200 bg-gray-100 px-2 py-1.5 text-xs font-semibold text-gray-800 dark:border-gray-500 dark:bg-gray-600 dark:text-gray-100",
14696
14871
  icon: "inline-block"
14697
14872
  }
14698
- }, zk = {
14873
+ }, $k = {
14699
14874
  root: {
14700
14875
  base: "text-sm font-medium",
14701
14876
  disabled: "opacity-50",
@@ -14707,7 +14882,7 @@ const vk = {
14707
14882
  success: "text-green-700 dark:text-green-500"
14708
14883
  }
14709
14884
  }
14710
- }, Bk = {
14885
+ }, jk = {
14711
14886
  root: {
14712
14887
  base: "list-inside space-y-1 text-gray-500 dark:text-gray-400",
14713
14888
  ordered: {
@@ -14725,7 +14900,7 @@ const vk = {
14725
14900
  },
14726
14901
  icon: "me-2 h-3.5 w-3.5 flex-shrink-0"
14727
14902
  }
14728
- }, $k = {
14903
+ }, Wk = {
14729
14904
  root: {
14730
14905
  base: "list-none rounded-lg border border-gray-200 bg-white text-left text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white"
14731
14906
  },
@@ -14748,7 +14923,7 @@ const vk = {
14748
14923
  icon: "mr-2 h-4 w-4 fill-current"
14749
14924
  }
14750
14925
  }
14751
- }, jk = {
14926
+ }, Hk = {
14752
14927
  root: {
14753
14928
  base: "fixed inset-x-0 top-0 z-50 h-screen overflow-y-auto overflow-x-hidden md:inset-0 md:h-full",
14754
14929
  show: {
@@ -14800,7 +14975,7 @@ const vk = {
14800
14975
  base: "flex items-center space-x-2 rounded-b border-gray-200 p-6 dark:border-gray-600",
14801
14976
  popup: "border-t"
14802
14977
  }
14803
- }, Wk = {
14978
+ }, Vk = {
14804
14979
  root: {
14805
14980
  base: "bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4",
14806
14981
  rounded: {
@@ -14845,7 +15020,7 @@ const vk = {
14845
15020
  base: "inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600 md:hidden",
14846
15021
  icon: "h-6 w-6 shrink-0"
14847
15022
  }
14848
- }, Hk = {
15023
+ }, Yk = {
14849
15024
  base: "",
14850
15025
  layout: {
14851
15026
  table: {
@@ -14870,14 +15045,14 @@ const vk = {
14870
15045
  disabled: "cursor-not-allowed opacity-50"
14871
15046
  }
14872
15047
  }
14873
- }, Vk = {
15048
+ }, Uk = {
14874
15049
  base: "absolute z-20 inline-block w-max max-w-[100vw] bg-white outline-none border border-gray-200 rounded-lg shadow-sm dark:border-gray-600 dark:bg-gray-800",
14875
15050
  content: "z-10 overflow-hidden rounded-[7px]",
14876
15051
  arrow: {
14877
15052
  base: "absolute h-2 w-2 z-0 rotate-45 mix-blend-lighten bg-white border border-gray-200 dark:border-gray-600 dark:bg-gray-800 dark:mix-blend-color",
14878
15053
  placement: "-4px"
14879
15054
  }
14880
- }, Yk = {
15055
+ }, Kk = {
14881
15056
  base: "w-full overflow-hidden rounded-full bg-gray-200 dark:bg-gray-700",
14882
15057
  label: "mb-1 flex justify-between font-medium dark:text-white",
14883
15058
  bar: "space-x-2 rounded-full text-center font-medium leading-none text-cyan-300 dark:text-cyan-100",
@@ -14901,11 +15076,11 @@ const vk = {
14901
15076
  lg: "h-4",
14902
15077
  xl: "h-6"
14903
15078
  }
14904
- }, Uk = {
15079
+ }, qk = {
14905
15080
  root: {
14906
15081
  base: "h-4 w-4 border border-gray-300 text-cyan-600 focus:ring-2 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:focus:bg-cyan-600 dark:focus:ring-cyan-600"
14907
15082
  }
14908
- }, Kk = {
15083
+ }, Gk = {
14909
15084
  root: {
14910
15085
  base: "flex"
14911
15086
  },
@@ -14920,7 +15095,7 @@ const vk = {
14920
15095
  }
14921
15096
  }
14922
15097
  }
14923
- }, qk = {
15098
+ }, Xk = {
14924
15099
  root: {
14925
15100
  base: "flex items-center"
14926
15101
  },
@@ -14933,7 +15108,7 @@ const vk = {
14933
15108
  lg: "h-10 w-10"
14934
15109
  }
14935
15110
  }
14936
- }, Gk = {
15111
+ }, Zk = {
14937
15112
  base: "flex items-center",
14938
15113
  label: "text-sm font-medium text-cyan-600 dark:text-cyan-500",
14939
15114
  progress: {
@@ -14941,7 +15116,7 @@ const vk = {
14941
15116
  fill: "h-5 rounded bg-yellow-400",
14942
15117
  label: "text-sm font-medium text-cyan-600 dark:text-cyan-500"
14943
15118
  }
14944
- }, Xk = {
15119
+ }, Jk = {
14945
15120
  base: "flex",
14946
15121
  addon: "inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",
14947
15122
  field: {
@@ -14978,7 +15153,7 @@ const vk = {
14978
15153
  }
14979
15154
  }
14980
15155
  }
14981
- }, Zk = {
15156
+ }, Qk = {
14982
15157
  root: {
14983
15158
  base: "h-full",
14984
15159
  collapsed: {
@@ -15055,7 +15230,7 @@ const vk = {
15055
15230
  },
15056
15231
  img: "mr-3 h-6 sm:h-7"
15057
15232
  }
15058
- }, Jk = {
15233
+ }, e2 = {
15059
15234
  base: "inline animate-spin text-gray-200",
15060
15235
  color: {
15061
15236
  failure: "fill-red-600",
@@ -15099,7 +15274,7 @@ const vk = {
15099
15274
  lg: "h-8 w-8",
15100
15275
  xl: "h-10 w-10"
15101
15276
  }
15102
- }, Qk = {
15277
+ }, t2 = {
15103
15278
  root: {
15104
15279
  base: "w-full text-left text-sm text-gray-500 dark:text-gray-400",
15105
15280
  shadow: "absolute left-0 top-0 -z-10 h-full w-full rounded-lg bg-white drop-shadow-md dark:bg-black",
@@ -15122,7 +15297,7 @@ const vk = {
15122
15297
  hovered: "hover:bg-gray-50 dark:hover:bg-gray-600",
15123
15298
  striped: "odd:bg-white even:bg-gray-50 odd:dark:bg-gray-800 even:dark:bg-gray-700"
15124
15299
  }
15125
- }, e2 = {
15300
+ }, n2 = {
15126
15301
  base: "flex flex-col gap-2",
15127
15302
  tablist: {
15128
15303
  base: "flex text-center",
@@ -15177,7 +15352,7 @@ const vk = {
15177
15352
  }
15178
15353
  },
15179
15354
  tabpanel: "py-3"
15180
- }, t2 = {
15355
+ }, r2 = {
15181
15356
  base: "block w-full rounded-lg border text-sm disabled:cursor-not-allowed disabled:opacity-50",
15182
15357
  colors: {
15183
15358
  gray: "border-gray-300 bg-gray-50 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",
@@ -15190,7 +15365,7 @@ const vk = {
15190
15365
  on: "shadow-sm dark:shadow-sm-light",
15191
15366
  off: ""
15192
15367
  }
15193
- }, n2 = {
15368
+ }, o2 = {
15194
15369
  base: "flex",
15195
15370
  addon: "inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",
15196
15371
  field: {
@@ -15235,7 +15410,7 @@ const vk = {
15235
15410
  }
15236
15411
  }
15237
15412
  }
15238
- }, r2 = {
15413
+ }, i2 = {
15239
15414
  root: {
15240
15415
  direction: {
15241
15416
  horizontal: "sm:flex",
@@ -15277,7 +15452,7 @@ const vk = {
15277
15452
  vertical: ""
15278
15453
  }
15279
15454
  }
15280
- }, o2 = {
15455
+ }, s2 = {
15281
15456
  root: {
15282
15457
  base: "flex w-full max-w-xs items-center rounded-lg bg-white p-4 text-gray-500 shadow dark:bg-gray-800 dark:text-gray-400",
15283
15458
  closed: "opacity-0 ease-out"
@@ -15286,7 +15461,7 @@ const vk = {
15286
15461
  base: "-m-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
15287
15462
  icon: "h-5 w-5 shrink-0"
15288
15463
  }
15289
- }, i2 = {
15464
+ }, a2 = {
15290
15465
  root: {
15291
15466
  base: "group relative flex items-center rounded-lg focus:outline-none",
15292
15467
  active: {
@@ -15326,7 +15501,7 @@ const vk = {
15326
15501
  lg: "h-7 w-14 after:absolute after:left-[4px] after:top-0.5 after:h-6 after:w-6"
15327
15502
  }
15328
15503
  }
15329
- }, s2 = {
15504
+ }, l2 = {
15330
15505
  target: "w-fit",
15331
15506
  animation: "transition-opacity",
15332
15507
  arrow: {
@@ -15346,54 +15521,54 @@ const vk = {
15346
15521
  auto: "border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white"
15347
15522
  },
15348
15523
  content: "relative z-20"
15349
- }, a2 = {
15350
- accordion: vk,
15351
- alert: xk,
15352
- avatar: wk,
15353
- badge: kk,
15354
- blockquote: _k,
15355
- breadcrumb: Ck,
15356
- button: Sk,
15357
- buttonGroup: Ek,
15358
- card: Ok,
15359
- carousel: Tk,
15360
- checkbox: Rk,
15361
- datepicker: Mk,
15362
- darkThemeToggle: Nk,
15363
- dropdown: Pk,
15364
- fileInput: Ak,
15365
- floatingLabel: Dk,
15366
- footer: Ik,
15367
- helperText: Lk,
15368
- kbd: Fk,
15369
- label: zk,
15370
- listGroup: $k,
15371
- list: Bk,
15372
- modal: jk,
15373
- navbar: Wk,
15374
- pagination: Hk,
15375
- popover: Vk,
15376
- progress: Yk,
15377
- radio: Uk,
15378
- rangeSlider: Kk,
15379
- rating: qk,
15380
- ratingAdvanced: Gk,
15381
- select: Xk,
15382
- textInput: n2,
15383
- textarea: t2,
15384
- toggleSwitch: i2,
15385
- sidebar: Zk,
15386
- spinner: Jk,
15387
- table: Qk,
15388
- tabs: e2,
15389
- timeline: r2,
15390
- toast: o2,
15391
- tooltip: s2
15392
- }, l2 = {
15393
- theme: Gr(a2)
15524
+ }, c2 = {
15525
+ accordion: wk,
15526
+ alert: kk,
15527
+ avatar: _k,
15528
+ badge: Ck,
15529
+ blockquote: Sk,
15530
+ breadcrumb: Ek,
15531
+ button: Ok,
15532
+ buttonGroup: Tk,
15533
+ card: Rk,
15534
+ carousel: Nk,
15535
+ checkbox: Mk,
15536
+ datepicker: Ak,
15537
+ darkThemeToggle: Pk,
15538
+ dropdown: Dk,
15539
+ fileInput: Ik,
15540
+ floatingLabel: Lk,
15541
+ footer: Fk,
15542
+ helperText: zk,
15543
+ kbd: Bk,
15544
+ label: $k,
15545
+ listGroup: Wk,
15546
+ list: jk,
15547
+ modal: Hk,
15548
+ navbar: Vk,
15549
+ pagination: Yk,
15550
+ popover: Uk,
15551
+ progress: Kk,
15552
+ radio: qk,
15553
+ rangeSlider: Gk,
15554
+ rating: Xk,
15555
+ ratingAdvanced: Zk,
15556
+ select: Jk,
15557
+ textInput: o2,
15558
+ textarea: r2,
15559
+ toggleSwitch: a2,
15560
+ sidebar: Qk,
15561
+ spinner: e2,
15562
+ table: t2,
15563
+ tabs: n2,
15564
+ timeline: i2,
15565
+ toast: s2,
15566
+ tooltip: l2
15567
+ }, d2 = {
15568
+ theme: Gr(c2)
15394
15569
  };
15395
15570
  function G() {
15396
- return Gr(l2.theme);
15571
+ return Gr(d2.theme);
15397
15572
  }
15398
15573
  const Ff = Ye(void 0);
15399
15574
  function zf() {
@@ -15833,8 +16008,8 @@ var nh = { exports: {} };
15833
16008
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
15834
16009
  })();
15835
16010
  })(nh);
15836
- var c2 = nh.exports;
15837
- const d2 = /* @__PURE__ */ uf(c2);
16011
+ var u2 = nh.exports;
16012
+ const f2 = /* @__PURE__ */ uf(u2);
15838
16013
  var Na = { exports: {} };
15839
16014
  function rh(t, e = 100, n = {}) {
15840
16015
  if (typeof t != "function")
@@ -15874,11 +16049,11 @@ function rh(t, e = 100, n = {}) {
15874
16049
  }
15875
16050
  Na.exports.debounce = rh;
15876
16051
  Na.exports = rh;
15877
- var u2 = Na.exports;
15878
- const f2 = /* @__PURE__ */ uf(u2);
15879
- var h2 = Object.defineProperty, g2 = (t, e, n) => e in t ? h2(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Me = (t, e, n) => (g2(t, typeof e != "symbol" ? e + "" : e, n), n);
15880
- const p2 = 300, m2 = 0;
15881
- class b2 extends ip {
16052
+ var h2 = Na.exports;
16053
+ const g2 = /* @__PURE__ */ uf(h2);
16054
+ var p2 = Object.defineProperty, m2 = (t, e, n) => e in t ? p2(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Me = (t, e, n) => (m2(t, typeof e != "symbol" ? e + "" : e, n), n);
16055
+ const b2 = 300, y2 = 0;
16056
+ class v2 extends ip {
15882
16057
  constructor(e) {
15883
16058
  super(e), Me(this, "container"), Me(this, "scrolling"), Me(this, "started"), Me(this, "pressed"), Me(this, "isMobile", !1), Me(this, "internal"), Me(this, "scrollLeft"), Me(this, "scrollTop"), Me(this, "clientX"), Me(this, "clientY"), Me(this, "onEndScroll", () => {
15884
16059
  this.scrolling = !1, !this.pressed && this.started && this.processEnd();
@@ -15910,7 +16085,7 @@ class b2 extends ip {
15910
16085
  this.pressed && (this.processMove(n.clientX, n.clientY), n.preventDefault(), this.props.stopPropagation && n.stopPropagation());
15911
16086
  }), Me(this, "onMouseUp", (n) => {
15912
16087
  this.pressed && (this.started ? this.processEnd() : (this.internal = !1, this.pressed = !1, this.forceUpdate(), this.props.onClick && this.props.onClick(n)), n.preventDefault(), this.props.stopPropagation && n.stopPropagation());
15913
- }), this.container = j.createRef(), this.onEndScroll = f2(this.onEndScroll, p2), this.scrolling = !1, this.started = !1, this.pressed = !1, this.internal = !1, this.getRef = this.getRef.bind(this);
16088
+ }), this.container = j.createRef(), this.onEndScroll = g2(this.onEndScroll, b2), this.scrolling = !1, this.started = !1, this.pressed = !1, this.internal = !1, this.getRef = this.getRef.bind(this);
15914
16089
  }
15915
16090
  componentDidMount() {
15916
16091
  const { nativeMobileScroll: e } = this.props, n = this.container.current;
@@ -15982,7 +16157,7 @@ class b2 extends ip {
15982
16157
  return /* @__PURE__ */ b(
15983
16158
  "div",
15984
16159
  {
15985
- className: d2(r, this.pressed && n, {
16160
+ className: f2(r, this.pressed && n, {
15986
16161
  "!scroll-auto [&>*]:pointer-events-none [&>*]:cursor-grab": this.pressed,
15987
16162
  "overflow-auto": this.isMobile,
15988
16163
  "overflow-hidden !overflow-x-hidden [overflow:-moz-scrollbars-none] [scrollbar-width:none]": i,
@@ -15996,7 +16171,7 @@ class b2 extends ip {
15996
16171
  );
15997
16172
  }
15998
16173
  }
15999
- Me(b2, "defaultProps", {
16174
+ Me(v2, "defaultProps", {
16000
16175
  nativeMobileScroll: !0,
16001
16176
  hideScrollbars: !0,
16002
16177
  activationDistance: 10,
@@ -16004,9 +16179,9 @@ Me(b2, "defaultProps", {
16004
16179
  horizontal: !0,
16005
16180
  stopPropagation: !1,
16006
16181
  style: {},
16007
- buttons: [m2]
16182
+ buttons: [y2]
16008
16183
  });
16009
- const y2 = ue(
16184
+ const x2 = ue(
16010
16185
  ({ className: t, color: e = "default", theme: n = {}, ...r }, o) => {
16011
16186
  const i = W(G().checkbox, n);
16012
16187
  return /* @__PURE__ */ b(
@@ -16020,7 +16195,7 @@ const y2 = ue(
16020
16195
  );
16021
16196
  }
16022
16197
  );
16023
- y2.displayName = "Checkbox";
16198
+ x2.displayName = "Checkbox";
16024
16199
  const oo = ({
16025
16200
  children: t,
16026
16201
  className: e,
@@ -16101,11 +16276,11 @@ const io = (t, e, n) => {
16101
16276
  return r <= o;
16102
16277
  }
16103
16278
  return !0;
16104
- }, zi = (t, e) => (t = new Date(t.getFullYear(), t.getMonth(), t.getDate()), e = new Date(e.getFullYear(), e.getMonth(), e.getDate()), t.getTime() === e.getTime()), v2 = (t, e, n) => (io(t, e, n) || (e && t < e ? t = e : n && t > n && (t = n)), t), x2 = (t, e) => {
16279
+ }, zi = (t, e) => (t = new Date(t.getFullYear(), t.getMonth(), t.getDate()), e = new Date(e.getFullYear(), e.getMonth(), e.getDate()), t.getTime() === e.getTime()), w2 = (t, e, n) => (io(t, e, n) || (e && t < e ? t = e : n && t > n && (t = n)), t), k2 = (t, e) => {
16105
16280
  const n = new Date(t.getFullYear(), t.getMonth(), 1);
16106
16281
  let o = n.getDay() - e;
16107
16282
  return o < 0 && (o += 7), Pa(n, -o);
16108
- }, w2 = (t, e) => {
16283
+ }, _2 = (t, e) => {
16109
16284
  const n = [], r = /* @__PURE__ */ new Date(0);
16110
16285
  r.setDate(r.getDate() - r.getDay() + e);
16111
16286
  const o = new Intl.DateTimeFormat(t, { weekday: "short" });
@@ -16115,7 +16290,7 @@ const io = (t, e, n) => {
16115
16290
  }, Pa = (t, e) => {
16116
16291
  const n = new Date(t);
16117
16292
  return n.setDate(n.getDate() + e), n;
16118
- }, k2 = (t, e) => {
16293
+ }, C2 = (t, e) => {
16119
16294
  const n = new Date(t);
16120
16295
  return n.setMonth(n.getMonth() + e), n;
16121
16296
  }, Wn = (t, e) => {
@@ -16131,10 +16306,10 @@ const io = (t, e, n) => {
16131
16306
  }, Hn = (t, e) => {
16132
16307
  const n = t.getFullYear();
16133
16308
  return Math.floor(n / e) * e;
16134
- }, _2 = (t, e) => {
16309
+ }, S2 = (t, e) => {
16135
16310
  const n = t.getFullYear(), r = e + 9;
16136
16311
  return n >= e && n <= r;
16137
- }, C2 = ({ theme: t = {} }) => {
16312
+ }, E2 = ({ theme: t = {} }) => {
16138
16313
  const {
16139
16314
  theme: e,
16140
16315
  weekStart: n,
@@ -16144,7 +16319,7 @@ const io = (t, e, n) => {
16144
16319
  selectedDate: s,
16145
16320
  changeSelectedDate: a,
16146
16321
  language: l
16147
- } = Fi(), c = W(e.views.days, t), d = w2(l, n), u = x2(i, n);
16322
+ } = Fi(), c = W(e.views.days, t), d = _2(l, n), u = k2(i, n);
16148
16323
  return /* @__PURE__ */ $(Ct, { children: [
16149
16324
  /* @__PURE__ */ b("div", { className: c.header.base, children: d.map((f, h) => /* @__PURE__ */ b("span", { className: c.header.title, children: f }, h)) }),
16150
16325
  /* @__PURE__ */ b("div", { className: c.items.base, children: [...Array(42)].map((f, h) => {
@@ -16168,10 +16343,10 @@ const io = (t, e, n) => {
16168
16343
  );
16169
16344
  }) })
16170
16345
  ] });
16171
- }, S2 = ({ theme: t = {} }) => {
16346
+ }, O2 = ({ theme: t = {} }) => {
16172
16347
  const { theme: e, selectedDate: n, viewDate: r, setViewDate: o, setView: i } = Fi(), s = W(e.views.decades, t);
16173
16348
  return /* @__PURE__ */ b("div", { className: s.items.base, children: [...Array(12)].map((a, l) => {
16174
- const d = Hn(r, 100) - 10 + l * 10, u = new Date(d, 0, 1), f = Wn(u, 9), h = _2(r, d), g = !io(r, u, f);
16349
+ const d = Hn(r, 100) - 10 + l * 10, u = new Date(d, 0, 1), f = Wn(u, 9), h = S2(r, d), g = !io(r, u, f);
16175
16350
  return /* @__PURE__ */ b(
16176
16351
  "button",
16177
16352
  {
@@ -16190,7 +16365,7 @@ const io = (t, e, n) => {
16190
16365
  l
16191
16366
  );
16192
16367
  }) });
16193
- }, E2 = ({ theme: t = {} }) => {
16368
+ }, T2 = ({ theme: t = {} }) => {
16194
16369
  const {
16195
16370
  theme: e,
16196
16371
  minDate: n,
@@ -16223,7 +16398,7 @@ const io = (t, e, n) => {
16223
16398
  u
16224
16399
  );
16225
16400
  }) });
16226
- }, O2 = ({ theme: t = {} }) => {
16401
+ }, R2 = ({ theme: t = {} }) => {
16227
16402
  const { theme: e, selectedDate: n, minDate: r, maxDate: o, viewDate: i, setViewDate: s, setView: a } = Fi(), l = W(e.views.years, t);
16228
16403
  return /* @__PURE__ */ b("div", { className: l.items.base, children: [...Array(12)].map((c, d) => {
16229
16404
  const f = Hn(i, 10) - 1 + d * 1, h = new Date(i.getTime());
@@ -16247,7 +16422,7 @@ const io = (t, e, n) => {
16247
16422
  d
16248
16423
  );
16249
16424
  }) });
16250
- }, T2 = ({
16425
+ }, N2 = ({
16251
16426
  title: t,
16252
16427
  open: e,
16253
16428
  inline: n = !1,
@@ -16268,7 +16443,7 @@ const io = (t, e, n) => {
16268
16443
  ...m
16269
16444
  }, v) => {
16270
16445
  const y = W(G().datepicker, g);
16271
- l = v2(l, c, d);
16446
+ l = w2(l, c, d);
16272
16447
  const [_, x] = xe(e), [w, C] = xe(we.Days), [O, R] = xe(l), [T, S] = xe(l), A = Yt(null), M = Yt(null), P = (B, z) => {
16273
16448
  R(B), p && p(B), r && w === we.Days && z == !0 && !n && x(!1);
16274
16449
  }, E = () => {
@@ -16286,14 +16461,14 @@ const io = (t, e, n) => {
16286
16461
  const N = (B) => {
16287
16462
  switch (B) {
16288
16463
  case we.Decades:
16289
- return /* @__PURE__ */ b(S2, { theme: y.views.decades });
16464
+ return /* @__PURE__ */ b(O2, { theme: y.views.decades });
16290
16465
  case we.Years:
16291
- return /* @__PURE__ */ b(O2, { theme: y.views.years });
16466
+ return /* @__PURE__ */ b(R2, { theme: y.views.years });
16292
16467
  case we.Months:
16293
- return /* @__PURE__ */ b(E2, { theme: y.views.months });
16468
+ return /* @__PURE__ */ b(T2, { theme: y.views.months });
16294
16469
  case we.Days:
16295
16470
  default:
16296
- return /* @__PURE__ */ b(C2, { theme: y.views.days });
16471
+ return /* @__PURE__ */ b(E2, { theme: y.views.days });
16297
16472
  }
16298
16473
  }, D = () => {
16299
16474
  switch (w) {
@@ -16320,7 +16495,7 @@ const io = (t, e, n) => {
16320
16495
  }, F = (B, z, H) => {
16321
16496
  switch (B) {
16322
16497
  case we.Days:
16323
- return new Date(k2(z, H));
16498
+ return new Date(C2(z, H));
16324
16499
  case we.Months:
16325
16500
  return new Date(Wn(z, H));
16326
16501
  case we.Years:
@@ -16364,7 +16539,7 @@ const io = (t, e, n) => {
16364
16539
  Ma,
16365
16540
  {
16366
16541
  theme: y.root.input,
16367
- icon: I1,
16542
+ icon: F1,
16368
16543
  ref: A,
16369
16544
  onFocus: () => {
16370
16545
  zi(T, O) || S(O), x(!0);
@@ -16387,7 +16562,7 @@ const io = (t, e, n) => {
16387
16562
  y.popup.header.selectors.button.prev
16388
16563
  ),
16389
16564
  onClick: () => S(F(w, T, -1)),
16390
- children: /* @__PURE__ */ b(A1, {})
16565
+ children: /* @__PURE__ */ b(I1, {})
16391
16566
  }
16392
16567
  ),
16393
16568
  /* @__PURE__ */ b(
@@ -16411,7 +16586,7 @@ const io = (t, e, n) => {
16411
16586
  y.popup.header.selectors.button.next
16412
16587
  ),
16413
16588
  onClick: () => S(F(w, T, 1)),
16414
- children: /* @__PURE__ */ b(D1, {})
16589
+ children: /* @__PURE__ */ b(L1, {})
16415
16590
  }
16416
16591
  )
16417
16592
  ] })
@@ -16446,8 +16621,8 @@ const io = (t, e, n) => {
16446
16621
  ] })
16447
16622
  }
16448
16623
  );
16449
- }, R2 = ue(T2);
16450
- R2.displayName = "Datepicker";
16624
+ }, M2 = ue(N2);
16625
+ M2.displayName = "Datepicker";
16451
16626
  function Bi() {
16452
16627
  return typeof window < "u";
16453
16628
  }
@@ -16483,7 +16658,7 @@ function so(t) {
16483
16658
  } = mt(t);
16484
16659
  return /auto|scroll|overlay|hidden|clip/.test(e + r + n) && !["inline", "contents"].includes(o);
16485
16660
  }
16486
- function N2(t) {
16661
+ function P2(t) {
16487
16662
  return ["table", "td", "th"].includes(In(t));
16488
16663
  }
16489
16664
  function $i(t) {
@@ -16499,7 +16674,7 @@ function Aa(t) {
16499
16674
  const e = Da(), n = pe(t) ? mt(t) : t;
16500
16675
  return ["transform", "translate", "scale", "rotate", "perspective"].some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
16501
16676
  }
16502
- function M2(t) {
16677
+ function A2(t) {
16503
16678
  let e = qt(t);
16504
16679
  for (; Ve(e) && !un(e); ) {
16505
16680
  if (Aa(e))
@@ -16599,7 +16774,7 @@ function ch(t) {
16599
16774
  return t.mozInputSource === 0 && t.isTrusted ? !0 : Bs() && t.pointerType ? t.type === "click" && t.buttons === 1 : t.detail === 0 && !t.pointerType;
16600
16775
  }
16601
16776
  function La(t) {
16602
- return P2() ? !1 : !Bs() && t.width === 0 && t.height === 0 || Bs() && t.width === 1 && t.height === 1 && t.pressure === 0 && t.detail === 0 && t.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
16777
+ return D2() ? !1 : !Bs() && t.width === 0 && t.height === 0 || Bs() && t.width === 1 && t.height === 1 && t.pressure === 0 && t.detail === 0 && t.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
16603
16778
  t.width < 1 && t.height < 1 && t.pressure === 0 && t.detail === 0 && t.pointerType === "touch";
16604
16779
  }
16605
16780
  function Fa() {
@@ -16612,17 +16787,17 @@ function Bs() {
16612
16787
  function dh() {
16613
16788
  return Ia().toLowerCase().startsWith("mac") && !navigator.maxTouchPoints;
16614
16789
  }
16615
- function P2() {
16790
+ function D2() {
16616
16791
  return lh().includes("jsdom/");
16617
16792
  }
16618
16793
  function di(t, e) {
16619
16794
  const n = ["mouse", "pen"];
16620
16795
  return e || n.push("", void 0), n.includes(t);
16621
16796
  }
16622
- function A2(t) {
16797
+ function I2(t) {
16623
16798
  return "nativeEvent" in t;
16624
16799
  }
16625
- function D2(t) {
16800
+ function L2(t) {
16626
16801
  return t.matches("html,body");
16627
16802
  }
16628
16803
  function Xe(t) {
@@ -16639,9 +16814,9 @@ function ls(t, e) {
16639
16814
  function rn(t) {
16640
16815
  return "composedPath" in t ? t.composedPath()[0] : t.target;
16641
16816
  }
16642
- const I2 = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
16817
+ const F2 = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
16643
16818
  function za(t) {
16644
- return Ve(t) && t.matches(I2);
16819
+ return Ve(t) && t.matches(F2);
16645
16820
  }
16646
16821
  function $e(t) {
16647
16822
  t.preventDefault(), t.stopPropagation();
@@ -16649,15 +16824,15 @@ function $e(t) {
16649
16824
  function uh(t) {
16650
16825
  return t ? t.getAttribute("role") === "combobox" && za(t) : !1;
16651
16826
  }
16652
- const L2 = ["top", "right", "bottom", "left"], md = ["start", "end"], bd = /* @__PURE__ */ L2.reduce((t, e) => t.concat(e, e + "-" + md[0], e + "-" + md[1]), []), er = Math.min, En = Math.max, ui = Math.round, Vn = Math.floor, At = (t) => ({
16827
+ const z2 = ["top", "right", "bottom", "left"], md = ["start", "end"], bd = /* @__PURE__ */ z2.reduce((t, e) => t.concat(e, e + "-" + md[0], e + "-" + md[1]), []), er = Math.min, En = Math.max, ui = Math.round, Vn = Math.floor, At = (t) => ({
16653
16828
  x: t,
16654
16829
  y: t
16655
- }), F2 = {
16830
+ }), B2 = {
16656
16831
  left: "right",
16657
16832
  right: "left",
16658
16833
  bottom: "top",
16659
16834
  top: "bottom"
16660
- }, z2 = {
16835
+ }, $2 = {
16661
16836
  start: "end",
16662
16837
  end: "start"
16663
16838
  };
@@ -16691,14 +16866,14 @@ function hh(t, e, n) {
16691
16866
  let s = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
16692
16867
  return e.reference[i] > e.floating[i] && (s = hi(s)), [s, hi(s)];
16693
16868
  }
16694
- function B2(t) {
16869
+ function j2(t) {
16695
16870
  const e = hi(t);
16696
16871
  return [fi(t), e, fi(e)];
16697
16872
  }
16698
16873
  function fi(t) {
16699
- return t.replace(/start|end/g, (e) => z2[e]);
16874
+ return t.replace(/start|end/g, (e) => $2[e]);
16700
16875
  }
16701
- function $2(t, e, n) {
16876
+ function W2(t, e, n) {
16702
16877
  const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], s = ["bottom", "top"];
16703
16878
  switch (t) {
16704
16879
  case "top":
@@ -16711,15 +16886,15 @@ function $2(t, e, n) {
16711
16886
  return [];
16712
16887
  }
16713
16888
  }
16714
- function j2(t, e, n, r) {
16889
+ function H2(t, e, n, r) {
16715
16890
  const o = Dt(t);
16716
- let i = $2(Gt(t), n === "start", r);
16891
+ let i = W2(Gt(t), n === "start", r);
16717
16892
  return o && (i = i.map((s) => s + "-" + o), e && (i = i.concat(i.map(fi)))), i;
16718
16893
  }
16719
16894
  function hi(t) {
16720
- return t.replace(/left|right|bottom|top/g, (e) => F2[e]);
16895
+ return t.replace(/left|right|bottom|top/g, (e) => B2[e]);
16721
16896
  }
16722
- function W2(t) {
16897
+ function V2(t) {
16723
16898
  return {
16724
16899
  top: 0,
16725
16900
  right: 0,
@@ -16729,7 +16904,7 @@ function W2(t) {
16729
16904
  };
16730
16905
  }
16731
16906
  function gh(t) {
16732
- return typeof t != "number" ? W2(t) : {
16907
+ return typeof t != "number" ? V2(t) : {
16733
16908
  top: t,
16734
16909
  right: t,
16735
16910
  bottom: t,
@@ -16802,7 +16977,7 @@ function yd(t, e, n) {
16802
16977
  }
16803
16978
  return h;
16804
16979
  }
16805
- const H2 = async (t, e, n) => {
16980
+ const Y2 = async (t, e, n) => {
16806
16981
  const {
16807
16982
  placement: r = "bottom",
16808
16983
  strategy: o = "absolute",
@@ -16907,7 +17082,7 @@ async function ja(t, e) {
16907
17082
  right: (w.right - v.right + g.right) / x.x
16908
17083
  };
16909
17084
  }
16910
- const V2 = (t) => ({
17085
+ const U2 = (t) => ({
16911
17086
  name: "arrow",
16912
17087
  options: t,
16913
17088
  async fn(e) {
@@ -16945,10 +17120,10 @@ const V2 = (t) => ({
16945
17120
  };
16946
17121
  }
16947
17122
  });
16948
- function Y2(t, e, n) {
17123
+ function K2(t, e, n) {
16949
17124
  return (t ? [...n.filter((o) => Dt(o) === t), ...n.filter((o) => Dt(o) !== t)] : n.filter((o) => Gt(o) === o)).filter((o) => t ? Dt(o) === t || (e ? fi(o) !== o : !1) : !0);
16950
17125
  }
16951
- const U2 = function(t) {
17126
+ const q2 = function(t) {
16952
17127
  return t === void 0 && (t = {}), {
16953
17128
  name: "autoPlacement",
16954
17129
  options: t,
@@ -16966,7 +17141,7 @@ const U2 = function(t) {
16966
17141
  allowedPlacements: f = bd,
16967
17142
  autoAlignment: h = !0,
16968
17143
  ...g
16969
- } = ar(t, e), p = u !== void 0 || f === bd ? Y2(u || null, h, f) : f, m = await ja(e, g), v = ((n = s.autoPlacement) == null ? void 0 : n.index) || 0, y = p[v];
17144
+ } = ar(t, e), p = u !== void 0 || f === bd ? K2(u || null, h, f) : f, m = await ja(e, g), v = ((n = s.autoPlacement) == null ? void 0 : n.index) || 0, y = p[v];
16970
17145
  if (y == null)
16971
17146
  return {};
16972
17147
  const _ = hh(y, i, await (l.isRTL == null ? void 0 : l.isRTL(c.floating)));
@@ -17016,7 +17191,7 @@ const U2 = function(t) {
17016
17191
  } : {};
17017
17192
  }
17018
17193
  };
17019
- }, K2 = function(t) {
17194
+ }, G2 = function(t) {
17020
17195
  return t === void 0 && (t = {}), {
17021
17196
  name: "flip",
17022
17197
  options: t,
@@ -17040,8 +17215,8 @@ const U2 = function(t) {
17040
17215
  } = ar(t, e);
17041
17216
  if ((n = i.arrow) != null && n.alignmentOffset)
17042
17217
  return {};
17043
- const v = Gt(o), y = Gt(a) === a, _ = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), x = f || (y || !p ? [hi(a)] : B2(a));
17044
- !f && g !== "none" && x.push(...j2(a, p, g, _));
17218
+ const v = Gt(o), y = Gt(a) === a, _ = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), x = f || (y || !p ? [hi(a)] : j2(a));
17219
+ !f && g !== "none" && x.push(...H2(a, p, g, _));
17045
17220
  const w = [a, ...x], C = await ja(e, m), O = [];
17046
17221
  let R = ((r = i.flip) == null ? void 0 : r.overflows) || [];
17047
17222
  if (d && O.push(C[v]), u) {
@@ -17088,7 +17263,7 @@ const U2 = function(t) {
17088
17263
  }
17089
17264
  };
17090
17265
  };
17091
- async function q2(t, e) {
17266
+ async function X2(t, e) {
17092
17267
  const {
17093
17268
  placement: n,
17094
17269
  platform: r,
@@ -17116,7 +17291,7 @@ async function q2(t, e) {
17116
17291
  y: h * d
17117
17292
  };
17118
17293
  }
17119
- const G2 = function(t) {
17294
+ const Z2 = function(t) {
17120
17295
  return t === void 0 && (t = 0), {
17121
17296
  name: "offset",
17122
17297
  options: t,
@@ -17127,7 +17302,7 @@ const G2 = function(t) {
17127
17302
  y: i,
17128
17303
  placement: s,
17129
17304
  middlewareData: a
17130
- } = e, l = await q2(e, t);
17305
+ } = e, l = await X2(e, t);
17131
17306
  return s === ((n = a.offset) == null ? void 0 : n.placement) && (r = a.arrow) != null && r.alignmentOffset ? {} : {
17132
17307
  x: o + l.x,
17133
17308
  y: i + l.y,
@@ -17138,7 +17313,7 @@ const G2 = function(t) {
17138
17313
  };
17139
17314
  }
17140
17315
  };
17141
- }, X2 = function(t) {
17316
+ }, J2 = function(t) {
17142
17317
  return t === void 0 && (t = {}), {
17143
17318
  name: "shift",
17144
17319
  options: t,
@@ -17219,15 +17394,15 @@ function Kn(t) {
17219
17394
  y: a
17220
17395
  };
17221
17396
  }
17222
- const Z2 = /* @__PURE__ */ At(0);
17397
+ const Q2 = /* @__PURE__ */ At(0);
17223
17398
  function mh(t) {
17224
17399
  const e = rt(t);
17225
- return !Da() || !e.visualViewport ? Z2 : {
17400
+ return !Da() || !e.visualViewport ? Q2 : {
17226
17401
  x: e.visualViewport.offsetLeft,
17227
17402
  y: e.visualViewport.offsetTop
17228
17403
  };
17229
17404
  }
17230
- function J2(t, e, n) {
17405
+ function e5(t, e, n) {
17231
17406
  return e === void 0 && (e = !1), !n || e && n !== rt(t) ? !1 : e;
17232
17407
  }
17233
17408
  function Mn(t, e, n, r) {
@@ -17235,7 +17410,7 @@ function Mn(t, e, n, r) {
17235
17410
  const o = t.getBoundingClientRect(), i = Wa(t);
17236
17411
  let s = At(1);
17237
17412
  e && (r ? pe(r) && (s = Kn(r)) : s = Kn(t));
17238
- const a = J2(i, n, r) ? mh(i) : At(0);
17413
+ const a = e5(i, n, r) ? mh(i) : At(0);
17239
17414
  let l = (o.left + a.x) / s.x, c = (o.top + a.y) / s.y, d = o.width / s.x, u = o.height / s.y;
17240
17415
  if (i) {
17241
17416
  const f = rt(i), h = r && pe(r) ? rt(r) : r;
@@ -17267,7 +17442,7 @@ function bh(t, e, n) {
17267
17442
  y: i
17268
17443
  };
17269
17444
  }
17270
- function Q2(t) {
17445
+ function t5(t) {
17271
17446
  let {
17272
17447
  elements: e,
17273
17448
  rect: n,
@@ -17294,10 +17469,10 @@ function Q2(t) {
17294
17469
  y: n.y * c.y - l.scrollTop * c.y + d.y + f.y
17295
17470
  };
17296
17471
  }
17297
- function e5(t) {
17472
+ function n5(t) {
17298
17473
  return Array.from(t.getClientRects());
17299
17474
  }
17300
- function t5(t) {
17475
+ function r5(t) {
17301
17476
  const e = Ft(t), n = ji(t), r = t.ownerDocument.body, o = En(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), i = En(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
17302
17477
  let s = -n.scrollLeft + Ha(t);
17303
17478
  const a = -n.scrollTop;
@@ -17308,7 +17483,7 @@ function t5(t) {
17308
17483
  y: a
17309
17484
  };
17310
17485
  }
17311
- function n5(t, e) {
17486
+ function o5(t, e) {
17312
17487
  const n = rt(t), r = Ft(t), o = n.visualViewport;
17313
17488
  let i = r.clientWidth, s = r.clientHeight, a = 0, l = 0;
17314
17489
  if (o) {
@@ -17323,7 +17498,7 @@ function n5(t, e) {
17323
17498
  y: l
17324
17499
  };
17325
17500
  }
17326
- function r5(t, e) {
17501
+ function i5(t, e) {
17327
17502
  const n = Mn(t, !0, e === "fixed"), r = n.top + t.clientTop, o = n.left + t.clientLeft, i = Ve(t) ? Kn(t) : At(1), s = t.clientWidth * i.x, a = t.clientHeight * i.y, l = o * i.x, c = r * i.y;
17328
17503
  return {
17329
17504
  width: s,
@@ -17335,11 +17510,11 @@ function r5(t, e) {
17335
17510
  function vd(t, e, n) {
17336
17511
  let r;
17337
17512
  if (e === "viewport")
17338
- r = n5(t, n);
17513
+ r = o5(t, n);
17339
17514
  else if (e === "document")
17340
- r = t5(Ft(t));
17515
+ r = r5(Ft(t));
17341
17516
  else if (pe(e))
17342
- r = r5(e, n);
17517
+ r = i5(e, n);
17343
17518
  else {
17344
17519
  const o = mh(t);
17345
17520
  r = {
@@ -17355,7 +17530,7 @@ function yh(t, e) {
17355
17530
  const n = qt(t);
17356
17531
  return n === e || !pe(n) || un(n) ? !1 : mt(n).position === "fixed" || yh(n, e);
17357
17532
  }
17358
- function o5(t, e) {
17533
+ function s5(t, e) {
17359
17534
  const n = e.get(t);
17360
17535
  if (n)
17361
17536
  return n;
@@ -17368,14 +17543,14 @@ function o5(t, e) {
17368
17543
  }
17369
17544
  return e.set(t, r), r;
17370
17545
  }
17371
- function i5(t) {
17546
+ function a5(t) {
17372
17547
  let {
17373
17548
  element: e,
17374
17549
  boundary: n,
17375
17550
  rootBoundary: r,
17376
17551
  strategy: o
17377
17552
  } = t;
17378
- const s = [...n === "clippingAncestors" ? $i(e) ? [] : o5(e, this._c) : [].concat(n), r], a = s[0], l = s.reduce((c, d) => {
17553
+ const s = [...n === "clippingAncestors" ? $i(e) ? [] : s5(e, this._c) : [].concat(n), r], a = s[0], l = s.reduce((c, d) => {
17379
17554
  const u = vd(e, d, o);
17380
17555
  return c.top = En(u.top, c.top), c.right = er(u.right, c.right), c.bottom = er(u.bottom, c.bottom), c.left = En(u.left, c.left), c;
17381
17556
  }, vd(e, a, o));
@@ -17386,7 +17561,7 @@ function i5(t) {
17386
17561
  y: l.top
17387
17562
  };
17388
17563
  }
17389
- function s5(t) {
17564
+ function l5(t) {
17390
17565
  const {
17391
17566
  width: e,
17392
17567
  height: n
@@ -17396,7 +17571,7 @@ function s5(t) {
17396
17571
  height: n
17397
17572
  };
17398
17573
  }
17399
- function a5(t, e, n) {
17574
+ function c5(t, e, n) {
17400
17575
  const r = Ve(e), o = Ft(e), i = n === "fixed", s = Mn(t, !0, i, e);
17401
17576
  let a = {
17402
17577
  scrollLeft: 0,
@@ -17441,14 +17616,14 @@ function vh(t, e) {
17441
17616
  return n;
17442
17617
  }
17443
17618
  let r = xd(t, e);
17444
- for (; r && N2(r) && cs(r); )
17619
+ for (; r && P2(r) && cs(r); )
17445
17620
  r = xd(r, e);
17446
- return r && un(r) && cs(r) && !Aa(r) ? n : r || M2(t) || n;
17621
+ return r && un(r) && cs(r) && !Aa(r) ? n : r || A2(t) || n;
17447
17622
  }
17448
- const l5 = async function(t) {
17623
+ const d5 = async function(t) {
17449
17624
  const e = this.getOffsetParent || vh, n = this.getDimensions, r = await n(t.floating);
17450
17625
  return {
17451
- reference: a5(t.reference, await e(t.floating), t.strategy),
17626
+ reference: c5(t.reference, await e(t.floating), t.strategy),
17452
17627
  floating: {
17453
17628
  x: 0,
17454
17629
  y: 0,
@@ -17457,25 +17632,25 @@ const l5 = async function(t) {
17457
17632
  }
17458
17633
  };
17459
17634
  };
17460
- function c5(t) {
17635
+ function u5(t) {
17461
17636
  return mt(t).direction === "rtl";
17462
17637
  }
17463
- const d5 = {
17464
- convertOffsetParentRelativeRectToViewportRelativeRect: Q2,
17638
+ const f5 = {
17639
+ convertOffsetParentRelativeRectToViewportRelativeRect: t5,
17465
17640
  getDocumentElement: Ft,
17466
- getClippingRect: i5,
17641
+ getClippingRect: a5,
17467
17642
  getOffsetParent: vh,
17468
- getElementRects: l5,
17469
- getClientRects: e5,
17470
- getDimensions: s5,
17643
+ getElementRects: d5,
17644
+ getClientRects: n5,
17645
+ getDimensions: l5,
17471
17646
  getScale: Kn,
17472
17647
  isElement: pe,
17473
- isRTL: c5
17648
+ isRTL: u5
17474
17649
  };
17475
17650
  function xh(t, e) {
17476
17651
  return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
17477
17652
  }
17478
- function u5(t, e) {
17653
+ function h5(t, e) {
17479
17654
  let n = null, r;
17480
17655
  const o = Ft(t);
17481
17656
  function i() {
@@ -17535,7 +17710,7 @@ function wh(t, e, n, r) {
17535
17710
  passive: !0
17536
17711
  }), i && v.addEventListener("resize", n);
17537
17712
  });
17538
- const u = c && a ? u5(c, n) : null;
17713
+ const u = c && a ? h5(c, n) : null;
17539
17714
  let f = -1, h = null;
17540
17715
  s && (h = new ResizeObserver((v) => {
17541
17716
  let [y] = v;
@@ -17557,15 +17732,15 @@ function wh(t, e, n, r) {
17557
17732
  }), u == null || u(), (v = h) == null || v.disconnect(), h = null, l && cancelAnimationFrame(g);
17558
17733
  };
17559
17734
  }
17560
- const f5 = G2, h5 = U2, g5 = X2, p5 = K2, wd = V2, m5 = (t, e, n) => {
17735
+ const g5 = Z2, p5 = q2, m5 = J2, b5 = G2, wd = U2, y5 = (t, e, n) => {
17561
17736
  const r = /* @__PURE__ */ new Map(), o = {
17562
- platform: d5,
17737
+ platform: f5,
17563
17738
  ...n
17564
17739
  }, i = {
17565
17740
  ...o.platform,
17566
17741
  _c: r
17567
17742
  };
17568
- return H2(t, e, {
17743
+ return Y2(t, e, {
17569
17744
  ...o,
17570
17745
  platform: i
17571
17746
  });
@@ -17614,7 +17789,7 @@ function ds(t) {
17614
17789
  e.current = t;
17615
17790
  }), e;
17616
17791
  }
17617
- function b5(t) {
17792
+ function v5(t) {
17618
17793
  t === void 0 && (t = {});
17619
17794
  const {
17620
17795
  placement: e = "bottom",
@@ -17649,7 +17824,7 @@ function b5(t) {
17649
17824
  strategy: n,
17650
17825
  middleware: f
17651
17826
  };
17652
- A.current && (F.platform = A.current), m5(C.current, O.current, F).then((B) => {
17827
+ A.current && (F.platform = A.current), y5(C.current, O.current, F).then((B) => {
17653
17828
  const z = {
17654
17829
  ...B,
17655
17830
  // The floating element's position may be recomputed while it's closed
@@ -17716,7 +17891,7 @@ function b5(t) {
17716
17891
  floatingStyles: L
17717
17892
  }), [d, P, N, D, L]);
17718
17893
  }
17719
- const y5 = (t) => {
17894
+ const x5 = (t) => {
17720
17895
  function e(n) {
17721
17896
  return {}.hasOwnProperty.call(n, "current");
17722
17897
  }
@@ -17737,27 +17912,27 @@ const y5 = (t) => {
17737
17912
  }).fn(n) : {};
17738
17913
  }
17739
17914
  };
17740
- }, v5 = (t, e) => ({
17741
- ...f5(t),
17742
- options: [t, e]
17743
- }), x5 = (t, e) => ({
17915
+ }, w5 = (t, e) => ({
17744
17916
  ...g5(t),
17745
17917
  options: [t, e]
17746
- }), w5 = (t, e) => ({
17747
- ...p5(t),
17748
- options: [t, e]
17749
17918
  }), k5 = (t, e) => ({
17750
- ...h5(t),
17919
+ ...m5(t),
17751
17920
  options: [t, e]
17752
17921
  }), _5 = (t, e) => ({
17753
- ...y5(t),
17922
+ ...b5(t),
17923
+ options: [t, e]
17924
+ }), C5 = (t, e) => ({
17925
+ ...p5(t),
17926
+ options: [t, e]
17927
+ }), S5 = (t, e) => ({
17928
+ ...x5(t),
17754
17929
  options: [t, e]
17755
17930
  });
17756
17931
  /*!
17757
17932
  * tabbable 6.2.0
17758
17933
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
17759
17934
  */
17760
- var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], mi = /* @__PURE__ */ C5.join(","), _h = typeof Element > "u", tr = _h ? function() {
17935
+ var E5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], mi = /* @__PURE__ */ E5.join(","), _h = typeof Element > "u", tr = _h ? function() {
17761
17936
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, bi = !_h && Element.prototype.getRootNode ? function(t) {
17762
17937
  var e;
17763
17938
  return t == null || (e = t.getRootNode) === null || e === void 0 ? void 0 : e.call(t);
@@ -17768,15 +17943,15 @@ var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
17768
17943
  n === void 0 && (n = !0);
17769
17944
  var o = e == null || (r = e.getAttribute) === null || r === void 0 ? void 0 : r.call(e, "inert"), i = o === "" || o === "true", s = i || n && e && t(e.parentNode);
17770
17945
  return s;
17771
- }, S5 = function(e) {
17946
+ }, O5 = function(e) {
17772
17947
  var n, r = e == null || (n = e.getAttribute) === null || n === void 0 ? void 0 : n.call(e, "contenteditable");
17773
17948
  return r === "" || r === "true";
17774
- }, E5 = function(e, n, r) {
17949
+ }, T5 = function(e, n, r) {
17775
17950
  if (yi(e))
17776
17951
  return [];
17777
17952
  var o = Array.prototype.slice.apply(e.querySelectorAll(mi));
17778
17953
  return n && tr.call(e, mi) && o.unshift(e), o = o.filter(r), o;
17779
- }, O5 = function t(e, n, r) {
17954
+ }, R5 = function t(e, n, r) {
17780
17955
  for (var o = [], i = Array.from(e); i.length; ) {
17781
17956
  var s = i.shift();
17782
17957
  if (!yi(s, !1))
@@ -17807,26 +17982,26 @@ var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
17807
17982
  }, Sh = function(e) {
17808
17983
  if (!e)
17809
17984
  throw new Error("No node provided");
17810
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || S5(e)) && !Ch(e) ? 0 : e.tabIndex;
17811
- }, T5 = function(e, n) {
17985
+ return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || O5(e)) && !Ch(e) ? 0 : e.tabIndex;
17986
+ }, N5 = function(e, n) {
17812
17987
  var r = Sh(e);
17813
17988
  return r < 0 && n && !Ch(e) ? 0 : r;
17814
- }, R5 = function(e, n) {
17989
+ }, M5 = function(e, n) {
17815
17990
  return e.tabIndex === n.tabIndex ? e.documentOrder - n.documentOrder : e.tabIndex - n.tabIndex;
17816
17991
  }, Eh = function(e) {
17817
17992
  return e.tagName === "INPUT";
17818
- }, N5 = function(e) {
17993
+ }, P5 = function(e) {
17819
17994
  return Eh(e) && e.type === "hidden";
17820
- }, M5 = function(e) {
17995
+ }, A5 = function(e) {
17821
17996
  var n = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(r) {
17822
17997
  return r.tagName === "SUMMARY";
17823
17998
  });
17824
17999
  return n;
17825
- }, P5 = function(e, n) {
18000
+ }, D5 = function(e, n) {
17826
18001
  for (var r = 0; r < e.length; r++)
17827
18002
  if (e[r].checked && e[r].form === n)
17828
18003
  return e[r];
17829
- }, A5 = function(e) {
18004
+ }, I5 = function(e) {
17830
18005
  if (!e.name)
17831
18006
  return !0;
17832
18007
  var n = e.form || bi(e), r = function(a) {
@@ -17840,13 +18015,13 @@ var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
17840
18015
  } catch (s) {
17841
18016
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", s.message), !1;
17842
18017
  }
17843
- var i = P5(o, e.form);
18018
+ var i = D5(o, e.form);
17844
18019
  return !i || i === e;
17845
- }, D5 = function(e) {
17846
- return Eh(e) && e.type === "radio";
17847
- }, I5 = function(e) {
17848
- return D5(e) && !A5(e);
17849
18020
  }, L5 = function(e) {
18021
+ return Eh(e) && e.type === "radio";
18022
+ }, F5 = function(e) {
18023
+ return L5(e) && !I5(e);
18024
+ }, z5 = function(e) {
17850
18025
  var n, r = e && bi(e), o = (n = r) === null || n === void 0 ? void 0 : n.host, i = !1;
17851
18026
  if (r && r !== e) {
17852
18027
  var s, a, l;
@@ -17859,7 +18034,7 @@ var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
17859
18034
  }, _d = function(e) {
17860
18035
  var n = e.getBoundingClientRect(), r = n.width, o = n.height;
17861
18036
  return r === 0 && o === 0;
17862
- }, F5 = function(e, n) {
18037
+ }, B5 = function(e, n) {
17863
18038
  var r = n.displayCheck, o = n.getShadowRoot;
17864
18039
  if (getComputedStyle(e).visibility === "hidden")
17865
18040
  return !0;
@@ -17876,14 +18051,14 @@ var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
17876
18051
  }
17877
18052
  e = a;
17878
18053
  }
17879
- if (L5(e))
18054
+ if (z5(e))
17880
18055
  return !e.getClientRects().length;
17881
18056
  if (r !== "legacy-full")
17882
18057
  return !0;
17883
18058
  } else if (r === "non-zero-area")
17884
18059
  return _d(e);
17885
18060
  return !1;
17886
- }, z5 = function(e) {
18061
+ }, $5 = function(e) {
17887
18062
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
17888
18063
  for (var n = e.parentElement; n; ) {
17889
18064
  if (n.tagName === "FIELDSET" && n.disabled) {
@@ -17897,21 +18072,21 @@ var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
17897
18072
  n = n.parentElement;
17898
18073
  }
17899
18074
  return !1;
17900
- }, B5 = function(e, n) {
18075
+ }, j5 = function(e, n) {
17901
18076
  return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
17902
18077
  // because we're limited in the type of selectors we can use in JSDom (see related
17903
18078
  // note related to `candidateSelectors`)
17904
- yi(n) || N5(n) || F5(n, e) || // For a details element with a summary, the summary element gets the focus
17905
- M5(n) || z5(n));
18079
+ yi(n) || P5(n) || B5(n, e) || // For a details element with a summary, the summary element gets the focus
18080
+ A5(n) || $5(n));
17906
18081
  }, js = function(e, n) {
17907
- return !(I5(n) || Sh(n) < 0 || !B5(e, n));
17908
- }, $5 = function(e) {
18082
+ return !(F5(n) || Sh(n) < 0 || !j5(e, n));
18083
+ }, W5 = function(e) {
17909
18084
  var n = parseInt(e.getAttribute("tabindex"), 10);
17910
18085
  return !!(isNaN(n) || n >= 0);
17911
- }, j5 = function t(e) {
18086
+ }, H5 = function t(e) {
17912
18087
  var n = [], r = [];
17913
18088
  return e.forEach(function(o, i) {
17914
- var s = !!o.scopeParent, a = s ? o.scopeParent : o, l = T5(a, s), c = s ? t(o.candidates) : a;
18089
+ var s = !!o.scopeParent, a = s ? o.scopeParent : o, l = N5(a, s), c = s ? t(o.candidates) : a;
17915
18090
  l === 0 ? s ? n.push.apply(n, c) : n.push(a) : r.push({
17916
18091
  documentOrder: i,
17917
18092
  tabIndex: l,
@@ -17919,19 +18094,19 @@ var C5 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
17919
18094
  isScope: s,
17920
18095
  content: c
17921
18096
  });
17922
- }), r.sort(R5).reduce(function(o, i) {
18097
+ }), r.sort(M5).reduce(function(o, i) {
17923
18098
  return i.isScope ? o.push.apply(o, i.content) : o.push(i.content), o;
17924
18099
  }, []).concat(n);
17925
18100
  }, Hi = function(e, n) {
17926
18101
  n = n || {};
17927
18102
  var r;
17928
- return n.getShadowRoot ? r = O5([e], n.includeContainer, {
18103
+ return n.getShadowRoot ? r = R5([e], n.includeContainer, {
17929
18104
  filter: js.bind(null, n),
17930
18105
  flatten: !1,
17931
18106
  getShadowRoot: n.getShadowRoot,
17932
- shadowRootFilter: $5
17933
- }) : r = E5(e, n.includeContainer, js.bind(null, n)), j5(r);
17934
- }, W5 = function(e, n) {
18107
+ shadowRootFilter: W5
18108
+ }) : r = T5(e, n.includeContainer, js.bind(null, n)), H5(r);
18109
+ }, V5 = function(e, n) {
17935
18110
  if (n = n || {}, !e)
17936
18111
  throw new Error("No node provided");
17937
18112
  return tr.call(e, mi) === !1 ? !1 : js(n, e);
@@ -17943,13 +18118,13 @@ function Oh(t) {
17943
18118
  });
17944
18119
  }, t);
17945
18120
  }
17946
- const H5 = k.useInsertionEffect, V5 = H5 || ((t) => t());
18121
+ const Y5 = k.useInsertionEffect, U5 = Y5 || ((t) => t());
17947
18122
  function Nt(t) {
17948
18123
  const e = k.useRef(() => {
17949
18124
  if (process.env.NODE_ENV !== "production")
17950
18125
  throw new Error("Cannot call an event handler while rendering.");
17951
18126
  });
17952
- return V5(() => {
18127
+ return U5(() => {
17953
18128
  e.current = t;
17954
18129
  }), k.useCallback(function() {
17955
18130
  for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
@@ -17993,7 +18168,7 @@ function Ke(t, e) {
17993
18168
  while (l >= 0 && l <= s.length - 1 && a(l));
17994
18169
  return l;
17995
18170
  }
17996
- function Y5(t, e) {
18171
+ function K5(t, e) {
17997
18172
  let {
17998
18173
  event: n,
17999
18174
  orientation: r,
@@ -18059,7 +18234,7 @@ function Y5(t, e) {
18059
18234
  }
18060
18235
  return u;
18061
18236
  }
18062
- function U5(t, e, n) {
18237
+ function q5(t, e, n) {
18063
18238
  const r = [];
18064
18239
  let o = 0;
18065
18240
  return t.forEach((i, s) => {
@@ -18081,7 +18256,7 @@ function U5(t, e, n) {
18081
18256
  }
18082
18257
  }), [...r];
18083
18258
  }
18084
- function K5(t, e, n, r, o) {
18259
+ function G5(t, e, n, r, o) {
18085
18260
  if (t === -1) return -1;
18086
18261
  const i = n.indexOf(t);
18087
18262
  switch (o) {
@@ -18095,7 +18270,7 @@ function K5(t, e, n, r, o) {
18095
18270
  return n.lastIndexOf(t);
18096
18271
  }
18097
18272
  }
18098
- function q5(t, e) {
18273
+ function X5(t, e) {
18099
18274
  return e.flatMap((n, r) => t.includes(n) ? [r] : []);
18100
18275
  }
18101
18276
  let Sd = 0;
@@ -18113,11 +18288,11 @@ function Wt(t, e) {
18113
18288
  o ? i() : Sd = requestAnimationFrame(i);
18114
18289
  }
18115
18290
  var be = typeof document < "u" ? Vs : Je;
18116
- function G5(t, e) {
18291
+ function Z5(t, e) {
18117
18292
  const n = t.compareDocumentPosition(e);
18118
18293
  return n & Node.DOCUMENT_POSITION_FOLLOWING || n & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING || n & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
18119
18294
  }
18120
- function X5(t, e) {
18295
+ function J5(t, e) {
18121
18296
  if (t.size !== e.size)
18122
18297
  return !1;
18123
18298
  for (const [n, r] of t.entries())
@@ -18135,7 +18310,7 @@ const Th = /* @__PURE__ */ k.createContext({
18135
18310
  current: []
18136
18311
  }
18137
18312
  });
18138
- function Z5(t) {
18313
+ function Q5(t) {
18139
18314
  let {
18140
18315
  children: e,
18141
18316
  elementsRef: n,
@@ -18151,9 +18326,9 @@ function Z5(t) {
18151
18326
  }, []);
18152
18327
  return be(() => {
18153
18328
  const l = new Map(o);
18154
- Array.from(l.keys()).sort(G5).forEach((d, u) => {
18329
+ Array.from(l.keys()).sort(Z5).forEach((d, u) => {
18155
18330
  l.set(d, u);
18156
- }), X5(o, l) || i(l);
18331
+ }), J5(o, l) || i(l);
18157
18332
  }, [o]), /* @__PURE__ */ k.createElement(Th.Provider, {
18158
18333
  value: k.useMemo(() => ({
18159
18334
  register: s,
@@ -18164,7 +18339,7 @@ function Z5(t) {
18164
18339
  }), [s, a, o, n, r])
18165
18340
  }, e);
18166
18341
  }
18167
- function J5(t) {
18342
+ function e_(t) {
18168
18343
  let {
18169
18344
  label: e
18170
18345
  } = t === void 0 ? {} : t;
@@ -18205,9 +18380,9 @@ function Xr() {
18205
18380
  return t;
18206
18381
  }, Xr.apply(this, arguments);
18207
18382
  }
18208
- let fs = !1, Q5 = 0;
18209
- const Ed = () => "floating-ui-" + Q5++;
18210
- function e_() {
18383
+ let fs = !1, t_ = 0;
18384
+ const Ed = () => "floating-ui-" + t_++;
18385
+ function n_() {
18211
18386
  const [t, e] = k.useState(() => fs ? Ed() : void 0);
18212
18387
  return be(() => {
18213
18388
  t == null && e(Ed());
@@ -18215,8 +18390,8 @@ function e_() {
18215
18390
  fs || (fs = !0);
18216
18391
  }, []), t;
18217
18392
  }
18218
- const t_ = k.useId, Vi = t_ || e_;
18219
- function n_() {
18393
+ const r_ = k.useId, Vi = r_ || n_;
18394
+ function o_() {
18220
18395
  const t = /* @__PURE__ */ new Map();
18221
18396
  return {
18222
18397
  emit(e, n) {
@@ -18232,10 +18407,10 @@ function n_() {
18232
18407
  }
18233
18408
  };
18234
18409
  }
18235
- const r_ = /* @__PURE__ */ k.createContext(null), o_ = /* @__PURE__ */ k.createContext(null), Yi = () => {
18410
+ const i_ = /* @__PURE__ */ k.createContext(null), s_ = /* @__PURE__ */ k.createContext(null), Yi = () => {
18236
18411
  var t;
18237
- return ((t = k.useContext(r_)) == null ? void 0 : t.id) || null;
18238
- }, lo = () => k.useContext(o_);
18412
+ return ((t = k.useContext(i_)) == null ? void 0 : t.id) || null;
18413
+ }, lo = () => k.useContext(s_);
18239
18414
  function Pn(t) {
18240
18415
  return "data-floating-ui-" + t;
18241
18416
  }
@@ -18249,7 +18424,7 @@ const Od = /* @__PURE__ */ Pn("safe-polygon");
18249
18424
  function hs(t, e, n) {
18250
18425
  return n && !di(n) ? 0 : typeof t == "number" ? t : t == null ? void 0 : t[e];
18251
18426
  }
18252
- function i_(t, e) {
18427
+ function a_(t, e) {
18253
18428
  e === void 0 && (e = {});
18254
18429
  const {
18255
18430
  open: n,
@@ -18408,7 +18583,7 @@ function i_(t, e) {
18408
18583
  };
18409
18584
  }, [c, h, n, r, A]);
18410
18585
  }
18411
- function s_(t, e) {
18586
+ function l_(t, e) {
18412
18587
  var n;
18413
18588
  let r = [], o = (n = t.find((i) => i.id === e)) == null ? void 0 : n.parentId;
18414
18589
  for (; o; ) {
@@ -18432,7 +18607,7 @@ function On(t, e) {
18432
18607
  }), n = n.concat(r);
18433
18608
  return n;
18434
18609
  }
18435
- function a_(t, e) {
18610
+ function c_(t, e) {
18436
18611
  let n, r = -1;
18437
18612
  function o(i, s) {
18438
18613
  s > r && (n = i, r = s), On(t, i).forEach((l) => {
@@ -18442,14 +18617,14 @@ function a_(t, e) {
18442
18617
  return o(e, 0), t.find((i) => i.id === n);
18443
18618
  }
18444
18619
  let Bn = /* @__PURE__ */ new WeakMap(), No = /* @__PURE__ */ new WeakSet(), Mo = {}, gs = 0;
18445
- const l_ = () => typeof HTMLElement < "u" && "inert" in HTMLElement.prototype, Rh = (t) => t && (t.host || Rh(t.parentNode)), c_ = (t, e) => e.map((n) => {
18620
+ const d_ = () => typeof HTMLElement < "u" && "inert" in HTMLElement.prototype, Rh = (t) => t && (t.host || Rh(t.parentNode)), u_ = (t, e) => e.map((n) => {
18446
18621
  if (t.contains(n))
18447
18622
  return n;
18448
18623
  const r = Rh(n);
18449
18624
  return t.contains(r) ? r : null;
18450
18625
  }).filter((n) => n != null);
18451
- function d_(t, e, n, r) {
18452
- const o = "data-floating-ui-inert", i = r ? "inert" : n ? "aria-hidden" : null, s = c_(e, t), a = /* @__PURE__ */ new Set(), l = new Set(s), c = [];
18626
+ function f_(t, e, n, r) {
18627
+ const o = "data-floating-ui-inert", i = r ? "inert" : n ? "aria-hidden" : null, s = u_(e, t), a = /* @__PURE__ */ new Set(), l = new Set(s), c = [];
18453
18628
  Mo[o] || (Mo[o] = /* @__PURE__ */ new WeakMap());
18454
18629
  const d = Mo[o];
18455
18630
  s.forEach(u), f(e), a.clear();
@@ -18476,7 +18651,7 @@ function d_(t, e, n, r) {
18476
18651
  function Td(t, e, n) {
18477
18652
  e === void 0 && (e = !1), n === void 0 && (n = !1);
18478
18653
  const r = Xe(t[0]).body;
18479
- return d_(t.concat(Array.from(r.querySelectorAll("[aria-live]"))), r, e, n);
18654
+ return f_(t.concat(Array.from(r.querySelectorAll("[aria-live]"))), r, e, n);
18480
18655
  }
18481
18656
  const Zr = () => ({
18482
18657
  getShadowRoot: !0,
@@ -18503,12 +18678,12 @@ function Lr(t, e) {
18503
18678
  const n = e || t.currentTarget, r = t.relatedTarget;
18504
18679
  return !r || !Oe(n, r);
18505
18680
  }
18506
- function u_(t) {
18681
+ function h_(t) {
18507
18682
  Hi(t, Zr()).forEach((n) => {
18508
18683
  n.dataset.tabindex = n.getAttribute("tabindex") || "", n.setAttribute("tabindex", "-1");
18509
18684
  });
18510
18685
  }
18511
- function f_(t) {
18686
+ function g_(t) {
18512
18687
  t.querySelectorAll("[data-tabindex]").forEach((n) => {
18513
18688
  const r = n.dataset.tabindex;
18514
18689
  delete n.dataset.tabindex, r ? n.setAttribute("tabindex", r) : n.removeAttribute("tabindex");
@@ -18527,9 +18702,9 @@ const Ya = {
18527
18702
  top: 0,
18528
18703
  left: 0
18529
18704
  };
18530
- let h_;
18705
+ let p_;
18531
18706
  function Rd(t) {
18532
- t.key === "Tab" && (t.target, clearTimeout(h_));
18707
+ t.key === "Tab" && (t.target, clearTimeout(p_));
18533
18708
  }
18534
18709
  const vi = /* @__PURE__ */ k.forwardRef(function(e, n) {
18535
18710
  const [r, o] = k.useState();
@@ -18547,7 +18722,7 @@ const vi = /* @__PURE__ */ k.forwardRef(function(e, n) {
18547
18722
  };
18548
18723
  return /* @__PURE__ */ k.createElement("span", Xr({}, e, i));
18549
18724
  }), Ah = /* @__PURE__ */ k.createContext(null), Nd = /* @__PURE__ */ Pn("portal");
18550
- function g_(t) {
18725
+ function m_(t) {
18551
18726
  let {
18552
18727
  id: e,
18553
18728
  root: n
@@ -18573,14 +18748,14 @@ function g_(t) {
18573
18748
  d.id = i, d.setAttribute(Nd, ""), l = c || l, l.appendChild(d), a.current = d, o(d);
18574
18749
  }, [e, n, i, s]), r;
18575
18750
  }
18576
- function p_(t) {
18751
+ function b_(t) {
18577
18752
  let {
18578
18753
  children: e,
18579
18754
  id: n,
18580
18755
  root: r = null,
18581
18756
  preserveTabOrder: o = !0
18582
18757
  } = t;
18583
- const i = g_({
18758
+ const i = m_({
18584
18759
  id: n,
18585
18760
  root: r
18586
18761
  }), [s, a] = k.useState(null), l = k.useRef(null), c = k.useRef(null), d = k.useRef(null), u = k.useRef(null), f = (
@@ -18594,7 +18769,7 @@ function p_(t) {
18594
18769
  if (!i || !o || s != null && s.modal)
18595
18770
  return;
18596
18771
  function h(g) {
18597
- i && Lr(g) && (g.type === "focusin" ? f_ : u_)(i);
18772
+ i && Lr(g) && (g.type === "focusin" ? g_ : h_)(i);
18598
18773
  }
18599
18774
  return i.addEventListener("focusin", h, !0), i.addEventListener("focusout", h, !0), () => {
18600
18775
  i.removeEventListener("focusin", h, !0), i.removeEventListener("focusout", h, !0);
@@ -18638,24 +18813,24 @@ function p_(t) {
18638
18813
  }
18639
18814
  }));
18640
18815
  }
18641
- const Dh = () => k.useContext(Ah), m_ = 20;
18816
+ const Dh = () => k.useContext(Ah), y_ = 20;
18642
18817
  let xn = [];
18643
18818
  function ps(t) {
18644
18819
  xn = xn.filter((n) => n.isConnected);
18645
18820
  let e = t;
18646
18821
  if (!(!e || In(e) === "body")) {
18647
- if (!W5(e, Zr())) {
18822
+ if (!V5(e, Zr())) {
18648
18823
  const n = Hi(e, Zr())[0];
18649
18824
  if (!n) return;
18650
18825
  e = n;
18651
18826
  }
18652
- xn.push(e), xn.length > m_ && (xn = xn.slice(-20));
18827
+ xn.push(e), xn.length > y_ && (xn = xn.slice(-20));
18653
18828
  }
18654
18829
  }
18655
18830
  function Md() {
18656
18831
  return xn.slice().reverse().find((t) => t.isConnected);
18657
18832
  }
18658
- const b_ = /* @__PURE__ */ k.forwardRef(function(e, n) {
18833
+ const v_ = /* @__PURE__ */ k.forwardRef(function(e, n) {
18659
18834
  return /* @__PURE__ */ k.createElement("button", Xr({}, e, {
18660
18835
  type: "button",
18661
18836
  ref: n,
@@ -18686,7 +18861,7 @@ function Ih(t) {
18686
18861
  domReference: v,
18687
18862
  floating: y
18688
18863
  }
18689
- } = e, _ = typeof s == "number" && s < 0, x = uh(v) && _, w = l_() ? i : !0, C = It(o), O = It(s), R = It(a), T = lo(), S = Dh(), A = k.useRef(null), M = k.useRef(null), P = k.useRef(!1), E = k.useRef(!1), N = S != null, D = k.useCallback(function(z) {
18864
+ } = e, _ = typeof s == "number" && s < 0, x = uh(v) && _, w = d_() ? i : !0, C = It(o), O = It(s), R = It(a), T = lo(), S = Dh(), A = k.useRef(null), M = k.useRef(null), P = k.useRef(!1), E = k.useRef(!1), N = S != null, D = k.useCallback(function(z) {
18690
18865
  return z === void 0 && (z = y), z ? Hi(z, Zr()) : [];
18691
18866
  }, [y]), L = k.useCallback((z) => {
18692
18867
  const H = D(z);
@@ -18718,7 +18893,7 @@ function Ih(t) {
18718
18893
  const K = !(Oe(v, U) || Oe(y, U) || Oe(U, y) || Oe(S == null ? void 0 : S.portalNode, U) || U != null && U.hasAttribute(Pn("focus-guard")) || T && (On(T.nodesRef.current, h).find((q) => {
18719
18894
  var X, ce;
18720
18895
  return Oe((X = q.context) == null ? void 0 : X.elements.floating, U) || Oe((ce = q.context) == null ? void 0 : ce.elements.domReference, U);
18721
- }) || s_(T.nodesRef.current, h).find((q) => {
18896
+ }) || l_(T.nodesRef.current, h).find((q) => {
18722
18897
  var X, ce;
18723
18898
  return ((X = q.context) == null ? void 0 : X.elements.floating) === U || ((ce = q.context) == null ? void 0 : ce.elements.domReference) === U;
18724
18899
  })));
@@ -18811,7 +18986,7 @@ function Ih(t) {
18811
18986
  };
18812
18987
  }, [r, y, f, C, D, _]);
18813
18988
  function F(z) {
18814
- return r || !c || !l ? null : /* @__PURE__ */ k.createElement(b_, {
18989
+ return r || !c || !l ? null : /* @__PURE__ */ k.createElement(v_, {
18815
18990
  ref: z === "start" ? A : M,
18816
18991
  onClick: (H) => g(!1, H.nativeEvent)
18817
18992
  }, typeof c == "string" ? c : "Dismiss");
@@ -18850,7 +19025,7 @@ function Ih(t) {
18850
19025
  }
18851
19026
  }));
18852
19027
  }
18853
- const ms = /* @__PURE__ */ new Set(), y_ = /* @__PURE__ */ k.forwardRef(function(e, n) {
19028
+ const ms = /* @__PURE__ */ new Set(), x_ = /* @__PURE__ */ k.forwardRef(function(e, n) {
18854
19029
  let {
18855
19030
  lockScroll: r = !1,
18856
19031
  ...o
@@ -18941,11 +19116,11 @@ function Lh(t, e) {
18941
19116
  }
18942
19117
  } : {}, [s, o, a, c, d, i, l, n, r]);
18943
19118
  }
18944
- const v_ = {
19119
+ const w_ = {
18945
19120
  pointerdown: "onPointerDown",
18946
19121
  mousedown: "onMouseDown",
18947
19122
  click: "onClick"
18948
- }, x_ = {
19123
+ }, k_ = {
18949
19124
  pointerdown: "onPointerDownCapture",
18950
19125
  mousedown: "onMouseDownCapture",
18951
19126
  click: "onClickCapture"
@@ -18999,7 +19174,7 @@ function Fh(t, e) {
18999
19174
  }), !L)
19000
19175
  return;
19001
19176
  }
19002
- r(!1, A2(N) ? N.nativeEvent : N, "escape-key");
19177
+ r(!1, I2(N) ? N.nativeEvent : N, "escape-key");
19003
19178
  }), M = Nt((N) => {
19004
19179
  var D;
19005
19180
  const L = () => {
@@ -19021,7 +19196,7 @@ function Fh(t, e) {
19021
19196
  break;
19022
19197
  H = K;
19023
19198
  }
19024
- if (z.length && pe(F) && !D2(F) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
19199
+ if (z.length && pe(F) && !L2(F) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
19025
19200
  !Oe(F, a) && // If the target root element contains none of the markers, then the
19026
19201
  // element was injected after the floating element rendered.
19027
19202
  Array.from(z).every((K) => !Oe(H, K)))
@@ -19086,7 +19261,7 @@ function Fh(t, e) {
19086
19261
  }, [x, f]), k.useMemo(() => c ? {
19087
19262
  reference: {
19088
19263
  onKeyDown: A,
19089
- [v_[g]]: (N) => {
19264
+ [w_[g]]: (N) => {
19090
19265
  h && r(!1, N.nativeEvent, "reference-press");
19091
19266
  }
19092
19267
  },
@@ -19098,7 +19273,7 @@ function Fh(t, e) {
19098
19273
  onMouseUp() {
19099
19274
  C.current = !0;
19100
19275
  },
19101
- [x_[f]]: () => {
19276
+ [k_[f]]: () => {
19102
19277
  w.current = !0;
19103
19278
  }
19104
19279
  }
@@ -19125,14 +19300,14 @@ function zh(t) {
19125
19300
  }
19126
19301
  }
19127
19302
  }
19128
- const [l, c] = k.useState(null), d = ((e = t.elements) == null ? void 0 : e.reference) || l, u = b5(t), f = lo(), h = Yi() != null, g = Nt((R, T, S) => {
19303
+ const [l, c] = k.useState(null), d = ((e = t.elements) == null ? void 0 : e.reference) || l, u = v5(t), f = lo(), h = Yi() != null, g = Nt((R, T, S) => {
19129
19304
  R && (m.current.openEvent = T), v.emit("openchange", {
19130
19305
  open: R,
19131
19306
  event: T,
19132
19307
  reason: S,
19133
19308
  nested: h
19134
19309
  }), r == null || r(R, T, S);
19135
- }), p = k.useRef(null), m = k.useRef({}), v = k.useState(() => n_())[0], y = Vi(), _ = k.useCallback((R) => {
19310
+ }), p = k.useRef(null), m = k.useRef({}), v = k.useState(() => o_())[0], y = Vi(), _ = k.useCallback((R) => {
19136
19311
  const T = pe(R) ? {
19137
19312
  getBoundingClientRect: () => R.getBoundingClientRect(),
19138
19313
  contextElement: R
@@ -19172,7 +19347,7 @@ function zh(t) {
19172
19347
  elements: C
19173
19348
  }), [u, w, C, O]);
19174
19349
  }
19175
- function w_(t, e) {
19350
+ function __(t, e) {
19176
19351
  e === void 0 && (e = {});
19177
19352
  const {
19178
19353
  open: n,
@@ -19315,13 +19490,13 @@ function zd(t, e) {
19315
19490
  function ys(t, e, n) {
19316
19491
  return Ui(e, t === ao, n ? t === nr : t === lr) || t === "Enter" || t === " " || t === "";
19317
19492
  }
19318
- function k_(t, e, n) {
19493
+ function C_(t, e, n) {
19319
19494
  return Ui(e, n ? t === nr : t === lr, t === ao);
19320
19495
  }
19321
19496
  function Bd(t, e, n) {
19322
19497
  return Ui(e, n ? t === lr : t === nr, t === Va);
19323
19498
  }
19324
- function __(t, e) {
19499
+ function S_(t, e) {
19325
19500
  const {
19326
19501
  open: n,
19327
19502
  onOpenChange: r,
@@ -19476,8 +19651,8 @@ function __(t, e) {
19476
19651
  }, () => ({
19477
19652
  width: 1,
19478
19653
  height: 1
19479
- })), Ne = U5(Le, C, S), ut = Ne.findIndex((it) => it != null && !(Q != null && Q.includes(it))), yt = Ne.reduce((it, Jt, st) => Jt != null && !(Q != null && Q.includes(Jt)) ? st : it, -1);
19480
- if (N.current = Ne[Y5({
19654
+ })), Ne = q5(Le, C, S), ut = Ne.findIndex((it) => it != null && !(Q != null && Q.includes(it))), yt = Ne.reduce((it, Jt, st) => Jt != null && !(Q != null && Q.includes(Jt)) ? st : it, -1);
19655
+ if (N.current = Ne[K5({
19481
19656
  current: Ne.map((it) => it != null ? a.current[it] : null)
19482
19657
  }, {
19483
19658
  event: Y,
@@ -19486,10 +19661,10 @@ function __(t, e) {
19486
19661
  cols: C,
19487
19662
  // treat undefined (empty grid spaces) as disabled indices so we
19488
19663
  // don't end up in them
19489
- disabledIndices: q5([...Q || [], void 0], Ne),
19664
+ disabledIndices: X5([...Q || [], void 0], Ne),
19490
19665
  minIndex: ut,
19491
19666
  maxIndex: yt,
19492
- prevIndex: K5(
19667
+ prevIndex: G5(
19493
19668
  N.current,
19494
19669
  Le,
19495
19670
  Ne,
@@ -19539,9 +19714,9 @@ function __(t, e) {
19539
19714
  ...fe,
19540
19715
  onKeyDown(Y) {
19541
19716
  L.current = !1;
19542
- const Ee = Y.key.indexOf("Arrow") === 0, oe = k_(Y.key, w, p), _e = Bd(Y.key, w, p), Le = zd(Y.key, w), Ne = (g ? oe : Le) || Y.key === "Enter" || Y.key.trim() === "";
19717
+ const Ee = Y.key.indexOf("Arrow") === 0, oe = C_(Y.key, w, p), _e = Bd(Y.key, w, p), Le = zd(Y.key, w), Ne = (g ? oe : Le) || Y.key === "Enter" || Y.key.trim() === "";
19543
19718
  if (m && n) {
19544
- const Jt = M == null ? void 0 : M.nodesRef.current.find((co) => co.parentId == null), st = M && Jt ? a_(M.nodesRef.current, Jt.id) : null;
19719
+ const Jt = M == null ? void 0 : M.nodesRef.current.find((co) => co.parentId == null), st = M && Jt ? c_(M.nodesRef.current, Jt.id) : null;
19545
19720
  if (Ee && st && R) {
19546
19721
  const co = new KeyboardEvent("keydown", {
19547
19722
  key: Y.key,
@@ -19587,7 +19762,7 @@ function __(t, e) {
19587
19762
  };
19588
19763
  }, [i, o, q, ce, V, U, a, d, w, p, m, n, Ie, g, u, _, f, C, h, v, P, r, Be, M, R, T, S]);
19589
19764
  }
19590
- const C_ = /* @__PURE__ */ new Map([["select", "listbox"], ["combobox", "listbox"], ["label", !1]]);
19765
+ const E_ = /* @__PURE__ */ new Map([["select", "listbox"], ["combobox", "listbox"], ["label", !1]]);
19591
19766
  function $h(t, e) {
19592
19767
  var n;
19593
19768
  e === void 0 && (e = {});
@@ -19597,7 +19772,7 @@ function $h(t, e) {
19597
19772
  } = t, {
19598
19773
  enabled: i = !0,
19599
19774
  role: s = "dialog"
19600
- } = e, a = (n = C_.get(s)) != null ? n : s, l = Vi(), d = Yi() != null;
19775
+ } = e, a = (n = E_.get(s)) != null ? n : s, l = Vi(), d = Yi() != null;
19601
19776
  return k.useMemo(() => {
19602
19777
  if (!i) return {};
19603
19778
  const u = {
@@ -19668,7 +19843,7 @@ function $h(t, e) {
19668
19843
  };
19669
19844
  }, [i, s, a, r, o, l, d]);
19670
19845
  }
19671
- function S_(t, e) {
19846
+ function O_(t, e) {
19672
19847
  var n;
19673
19848
  const {
19674
19849
  open: r,
@@ -19739,10 +19914,10 @@ function $d(t, e) {
19739
19914
  }
19740
19915
  return o;
19741
19916
  }
19742
- function E_(t, e) {
19917
+ function T_(t, e) {
19743
19918
  return t[0] >= e.x && t[0] <= e.x + e.width && t[1] >= e.y && t[1] <= e.y + e.height;
19744
19919
  }
19745
- function O_(t) {
19920
+ function R_(t) {
19746
19921
  t === void 0 && (t = {});
19747
19922
  const {
19748
19923
  buffer: e = 0.5,
@@ -19776,7 +19951,7 @@ function O_(t) {
19776
19951
  const {
19777
19952
  clientX: C,
19778
19953
  clientY: O
19779
- } = x, R = [C, O], T = rn(x), S = x.type === "mouseleave", A = Oe(p.floating, T), M = Oe(p.domReference, T), P = p.domReference.getBoundingClientRect(), E = p.floating.getBoundingClientRect(), N = g.split("-")[0], D = f > E.right - E.width / 2, L = h > E.bottom - E.height / 2, F = E_(R, P), B = E.width > P.width, z = E.height > P.height, H = (B ? P : E).left, V = (B ? P : E).right, U = (z ? P : E).top, K = (z ? P : E).bottom;
19954
+ } = x, R = [C, O], T = rn(x), S = x.type === "mouseleave", A = Oe(p.floating, T), M = Oe(p.domReference, T), P = p.domReference.getBoundingClientRect(), E = p.floating.getBoundingClientRect(), N = g.split("-")[0], D = f > E.right - E.width / 2, L = h > E.bottom - E.height / 2, F = T_(R, P), B = E.width > P.width, z = E.height > P.height, H = (B ? P : E).left, V = (B ? P : E).right, U = (z ? P : E).top, K = (z ? P : E).bottom;
19780
19955
  if (A && (i = !0, !S))
19781
19956
  return;
19782
19957
  if (M && (i = !1), M && !S) {
@@ -19844,13 +20019,13 @@ function O_(t) {
19844
20019
  blockPointerEvents: n
19845
20020
  }, d;
19846
20021
  }
19847
- const T_ = ({
20022
+ const N_ = ({
19848
20023
  arrowRef: t,
19849
20024
  placement: e
19850
20025
  }) => {
19851
20026
  const n = [];
19852
- return n.push(v5(8)), n.push(e === "auto" ? k5() : w5()), n.push(x5({ padding: 8 })), t != null && t.current && n.push(_5({ element: t.current })), n;
19853
- }, R_ = ({ placement: t }) => t === "auto" ? void 0 : t, N_ = ({ placement: t }) => ({
20027
+ return n.push(w5(8)), n.push(e === "auto" ? C5() : _5()), n.push(k5({ padding: 8 })), t != null && t.current && n.push(S5({ element: t.current })), n;
20028
+ }, M_ = ({ placement: t }) => t === "auto" ? void 0 : t, P_ = ({ placement: t }) => ({
19854
20029
  top: "bottom",
19855
20030
  right: "left",
19856
20031
  bottom: "top",
@@ -19861,11 +20036,11 @@ const T_ = ({
19861
20036
  placement: n = "top",
19862
20037
  setOpen: r
19863
20038
  }) => zh({
19864
- placement: R_({ placement: n }),
20039
+ placement: M_({ placement: n }),
19865
20040
  open: t,
19866
20041
  onOpenChange: r,
19867
20042
  whileElementsMounted: wh,
19868
- middleware: T_({ placement: n, arrowRef: e })
20043
+ middleware: N_({ placement: n, arrowRef: e })
19869
20044
  }), Wh = ({
19870
20045
  context: t,
19871
20046
  trigger: e,
@@ -19873,9 +20048,9 @@ const T_ = ({
19873
20048
  interactions: r = []
19874
20049
  }) => Bh([
19875
20050
  Lh(t, { enabled: e === "click" }),
19876
- i_(t, {
20051
+ a_(t, {
19877
20052
  enabled: e === "hover",
19878
- handleClose: O_()
20053
+ handleClose: R_()
19879
20054
  }),
19880
20055
  Fh(t),
19881
20056
  $h(t, { role: n }),
@@ -19898,7 +20073,7 @@ const Ka = ({ className: t, theme: e = {}, ...n }) => {
19898
20073
  ] });
19899
20074
  }, Yh = ue(
19900
20075
  ({ children: t, className: e, icon: n, onClick: r, theme: o = {}, ...i }, s) => {
19901
- const { ref: a, index: l } = J5({ label: typeof t == "string" ? t : void 0 }), c = Oh([s, a]), { theme: d, activeIndex: u, dismissOnClick: f, getItemProps: h, handleSelect: g } = Ua(), p = u === l, m = W(d.floating.item, o), v = i;
20076
+ const { ref: a, index: l } = e_({ label: typeof t == "string" ? t : void 0 }), c = Oh([s, a]), { theme: d, activeIndex: u, dismissOnClick: f, getItemProps: h, handleSelect: g } = Ua(), p = u === l, m = W(d.floating.item, o), v = i;
19902
20077
  return /* @__PURE__ */ b("li", { role: "menuitem", className: m.container, children: /* @__PURE__ */ $(
19903
20078
  Ra,
19904
20079
  {
@@ -19920,12 +20095,12 @@ const Ka = ({ className: t, theme: e = {}, ...n }) => {
19920
20095
  }
19921
20096
  );
19922
20097
  Yh.displayName = "DropdownItem";
19923
- const M_ = {
19924
- top: $1,
20098
+ const A_ = {
20099
+ top: W1,
19925
20100
  right: Mf,
19926
20101
  bottom: Nf,
19927
- left: B1
19928
- }, P_ = ({
20102
+ left: j1
20103
+ }, D_ = ({
19929
20104
  refs: t,
19930
20105
  children: e,
19931
20106
  inline: n,
@@ -19970,12 +20145,12 @@ const M_ = {
19970
20145
  open: s,
19971
20146
  setOpen: a,
19972
20147
  placement: _
19973
- }), E = __(A, {
20148
+ }), E = S_(A, {
19974
20149
  listRef: g,
19975
20150
  activeIndex: l,
19976
20151
  selectedIndex: d,
19977
20152
  onNavigate: c
19978
- }), N = S_(A, {
20153
+ }), N = O_(A, {
19979
20154
  listRef: p,
19980
20155
  activeIndex: l,
19981
20156
  selectedIndex: d,
@@ -19987,11 +20162,11 @@ const M_ = {
19987
20162
  interactions: [E, N]
19988
20163
  }), B = xi(() => {
19989
20164
  const [z] = _.split("-");
19990
- return M_[z] ?? Nf;
20165
+ return A_[z] ?? Nf;
19991
20166
  }, [_]);
19992
20167
  return /* @__PURE__ */ $(Hh.Provider, { value: { theme: m, activeIndex: l, dismissOnClick: n, getItemProps: F, handleSelect: T }, children: [
19993
20168
  /* @__PURE__ */ $(
19994
- P_,
20169
+ D_,
19995
20170
  {
19996
20171
  ...R,
19997
20172
  refs: P,
@@ -20025,7 +20200,7 @@ const M_ = {
20025
20200
  e
20026
20201
  )
20027
20202
  }),
20028
- children: /* @__PURE__ */ b(Z5, { elementsRef: g, labelsRef: p, children: /* @__PURE__ */ b("ul", { className: m.content, tabIndex: -1, children: t }) })
20203
+ children: /* @__PURE__ */ b(Q5, { elementsRef: g, labelsRef: p, children: /* @__PURE__ */ b("ul", { className: m.content, tabIndex: -1, children: t }) })
20029
20204
  }
20030
20205
  ) })
20031
20206
  ] });
@@ -20038,7 +20213,7 @@ Object.assign(Uh, {
20038
20213
  Header: Vh,
20039
20214
  Divider: Ka
20040
20215
  });
20041
- const A_ = ue(
20216
+ const I_ = ue(
20042
20217
  ({ className: t, color: e = "gray", helperText: n, sizing: r = "md", theme: o = {}, ...i }, s) => {
20043
20218
  const a = W(G().fileInput, o);
20044
20219
  return /* @__PURE__ */ $(Ct, { children: [
@@ -20059,8 +20234,8 @@ const A_ = ue(
20059
20234
  ] });
20060
20235
  }
20061
20236
  );
20062
- A_.displayName = "FileInput";
20063
- const D_ = ue(
20237
+ I_.displayName = "FileInput";
20238
+ const L_ = ue(
20064
20239
  ({
20065
20240
  label: t,
20066
20241
  helperText: e,
@@ -20102,7 +20277,7 @@ const D_ = ue(
20102
20277
  ] });
20103
20278
  }
20104
20279
  );
20105
- D_.displayName = "FloatingLabel";
20280
+ L_.displayName = "FloatingLabel";
20106
20281
  const Kh = ({
20107
20282
  alt: t,
20108
20283
  className: e,
@@ -20330,7 +20505,7 @@ const sg = ({ children: t, className: e, theme: n = {}, ...r }) => {
20330
20505
  const s = An(), a = o || s, { theme: l, popup: c, onClose: d, setHeaderId: u } = qa(), f = W(l.header, r);
20331
20506
  return Vs(() => (u(a), () => u(void 0)), [a, u]), /* @__PURE__ */ $("div", { className: I(f.base, c && f.popup, n), ...i, children: [
20332
20507
  /* @__PURE__ */ b(t, { id: a, className: f.title, children: e }),
20333
- /* @__PURE__ */ b("button", { "aria-label": "Close", className: f.close.base, type: "button", onClick: d, children: /* @__PURE__ */ b(j1, { "aria-hidden": !0, className: f.close.icon }) })
20508
+ /* @__PURE__ */ b("button", { "aria-label": "Close", className: f.close.base, type: "button", onClick: d, children: /* @__PURE__ */ b(H1, { "aria-hidden": !0, className: f.close.icon }) })
20334
20509
  ] });
20335
20510
  }, cg = ue(
20336
20511
  ({
@@ -20351,8 +20526,8 @@ const sg = ({ children: t, className: e, theme: n = {}, ...r }) => {
20351
20526
  open: a,
20352
20527
  onOpenChange: () => r && r()
20353
20528
  }), v = Oh([m.refs.setFloating, f]), y = Lh(m), _ = Fh(m, { outsidePressEvent: "mousedown", enabled: n }), x = $h(m), { getFloatingProps: w } = Bh([y, _, x]);
20354
- return a ? /* @__PURE__ */ b(ig.Provider, { value: { theme: p, popup: o, onClose: r, setHeaderId: g }, children: /* @__PURE__ */ b(p_, { root: s, children: /* @__PURE__ */ b(
20355
- y_,
20529
+ return a ? /* @__PURE__ */ b(ig.Provider, { value: { theme: p, popup: o, onClose: r, setHeaderId: g }, children: /* @__PURE__ */ b(b_, { root: s, children: /* @__PURE__ */ b(
20530
+ x_,
20356
20531
  {
20357
20532
  lockScroll: !0,
20358
20533
  "data-testid": "modal-overlay",
@@ -20499,7 +20674,7 @@ Object.assign(pg, {
20499
20674
  Link: hg,
20500
20675
  Toggle: gg
20501
20676
  });
20502
- const I_ = (t, e) => t >= e ? [] : [...Array(e - t + 1).keys()].map((n) => n + t), Ga = ({
20677
+ const F_ = (t, e) => t >= e ? [] : [...Array(e - t + 1).keys()].map((n) => n + t), Ga = ({
20503
20678
  active: t,
20504
20679
  children: e,
20505
20680
  className: n,
@@ -20583,7 +20758,7 @@ const mg = ({
20583
20758
  ]
20584
20759
  }
20585
20760
  ) }),
20586
- n === "pagination" && I_(h, f).map((m) => /* @__PURE__ */ b("li", { "aria-current": m === e ? "page" : void 0, children: s({
20761
+ n === "pagination" && F_(h, f).map((m) => /* @__PURE__ */ b("li", { "aria-current": m === e ? "page" : void 0, children: s({
20587
20762
  className: I(u.pages.selector.base, e === m && u.pages.selector.active),
20588
20763
  active: m === e,
20589
20764
  onClick: () => o(m),
@@ -20608,14 +20783,14 @@ mg.displayName = "Pagination";
20608
20783
  Object.assign(mg, {
20609
20784
  Button: Ga
20610
20785
  });
20611
- const L_ = ue(
20786
+ const z_ = ue(
20612
20787
  ({ className: t, theme: e = {}, ...n }, r) => {
20613
20788
  const o = W(G().radio, e);
20614
20789
  return /* @__PURE__ */ b("input", { ref: r, type: "radio", className: I(o.root.base, t), ...n });
20615
20790
  }
20616
20791
  );
20617
- L_.displayName = "Radio";
20618
- const F_ = ue(
20792
+ z_.displayName = "Radio";
20793
+ const B_ = ue(
20619
20794
  ({ className: t, sizing: e = "md", theme: n = {}, ...r }, o) => {
20620
20795
  const i = W(G().rangeSlider, n);
20621
20796
  return /* @__PURE__ */ b(Ct, { children: /* @__PURE__ */ b("div", { "data-testid": "flowbite-range-slider", className: I(i.root.base, t), children: /* @__PURE__ */ b("div", { className: i.field.base, children: /* @__PURE__ */ b(
@@ -20629,7 +20804,7 @@ const F_ = ue(
20629
20804
  ) }) }) });
20630
20805
  }
20631
20806
  );
20632
- F_.displayName = "RangeSlider";
20807
+ B_.displayName = "RangeSlider";
20633
20808
  const bg = ({
20634
20809
  children: t,
20635
20810
  className: e,
@@ -20651,7 +20826,7 @@ const bg = ({
20651
20826
  /* @__PURE__ */ b("span", { className: i.progress.label, children: `${n}%` })
20652
20827
  ] });
20653
20828
  }, yg = Ye(void 0);
20654
- function z_() {
20829
+ function $_() {
20655
20830
  const t = De(yg);
20656
20831
  if (!t)
20657
20832
  throw new Error("useRatingContext should be used within the RatingContext provider!");
@@ -20660,11 +20835,11 @@ function z_() {
20660
20835
  const vg = ({
20661
20836
  className: t,
20662
20837
  filled: e = !0,
20663
- starIcon: n = F1,
20838
+ starIcon: n = B1,
20664
20839
  theme: r = {},
20665
20840
  ...o
20666
20841
  }) => {
20667
- const { theme: i, size: s = "sm" } = z_(), a = W(i.star, r);
20842
+ const { theme: i, size: s = "sm" } = $_(), a = W(i.star, r);
20668
20843
  return /* @__PURE__ */ b(
20669
20844
  n,
20670
20845
  {
@@ -20684,7 +20859,7 @@ Object.assign(xg, {
20684
20859
  Star: vg,
20685
20860
  Advanced: bg
20686
20861
  });
20687
- const B_ = ue(
20862
+ const j_ = ue(
20688
20863
  ({
20689
20864
  addon: t,
20690
20865
  children: e,
@@ -20723,8 +20898,8 @@ const B_ = ue(
20723
20898
  ] });
20724
20899
  }
20725
20900
  );
20726
- B_.displayName = "Select";
20727
- const $_ = ({
20901
+ j_.displayName = "Select";
20902
+ const W_ = ({
20728
20903
  animation: t = "duration-300",
20729
20904
  arrow: e = !0,
20730
20905
  children: n,
@@ -20750,7 +20925,7 @@ const $_ = ({
20750
20925
  update: x,
20751
20926
  x: w,
20752
20927
  y: C
20753
- } = g, O = w_(p), { getFloatingProps: R, getReferenceProps: T } = Wh({
20928
+ } = g, O = __(p), { getFloatingProps: R, getReferenceProps: T } = Wh({
20754
20929
  context: p,
20755
20930
  role: "tooltip",
20756
20931
  trigger: l,
@@ -20809,7 +20984,7 @@ const $_ = ({
20809
20984
  left: m ?? " ",
20810
20985
  right: " ",
20811
20986
  bottom: " ",
20812
- [N_({ placement: g.placement })]: a.arrow.placement
20987
+ [P_({ placement: g.placement })]: a.arrow.placement
20813
20988
  },
20814
20989
  children: " "
20815
20990
  }
@@ -20832,7 +21007,7 @@ const $_ = ({
20832
21007
  }) => {
20833
21008
  const d = W(G().tooltip, a);
20834
21009
  return /* @__PURE__ */ b(
20835
- $_,
21010
+ W_,
20836
21011
  {
20837
21012
  animation: t,
20838
21013
  arrow: e,
@@ -20856,7 +21031,7 @@ function cr() {
20856
21031
  return t;
20857
21032
  }
20858
21033
  const Za = Ye(void 0);
20859
- function j_() {
21034
+ function H_() {
20860
21035
  const t = De(Za);
20861
21036
  if (!t)
20862
21037
  throw new Error("useSidebarItemContext should be used within the SidebarItemContext provider!");
@@ -20930,7 +21105,7 @@ const _g = ({
20930
21105
  );
20931
21106
  };
20932
21107
  _g.displayName = "Sidebar.CTA";
20933
- const W_ = ({ id: t, theme: e, isCollapsed: n, tooltipChildren: r, children: o, ...i }) => /* @__PURE__ */ b("li", { ...i, children: n ? /* @__PURE__ */ b(
21108
+ const V_ = ({ id: t, theme: e, isCollapsed: n, tooltipChildren: r, children: o, ...i }) => /* @__PURE__ */ b("li", { ...i, children: n ? /* @__PURE__ */ b(
20934
21109
  Xa,
20935
21110
  {
20936
21111
  content: /* @__PURE__ */ b(Cg, { id: t, theme: e, children: r }),
@@ -20958,8 +21133,8 @@ const W_ = ({ id: t, theme: e, isCollapsed: n, tooltipChildren: r, children: o,
20958
21133
  ...l
20959
21134
  }, c) => {
20960
21135
  var p, m, v, y;
20961
- const d = An(), { theme: u, isCollapsed: f } = cr(), { isInsideCollapse: h } = j_(), g = W(u.item, a);
20962
- return /* @__PURE__ */ b(W_, { theme: g, className: g.listItem, id: d, isCollapsed: f, tooltipChildren: n, children: /* @__PURE__ */ $(
21136
+ const d = An(), { theme: u, isCollapsed: f } = cr(), { isInsideCollapse: h } = H_(), g = W(u.item, a);
21137
+ return /* @__PURE__ */ b(V_, { theme: g, className: g.listItem, id: d, isCollapsed: f, tooltipChildren: n, children: /* @__PURE__ */ $(
20963
21138
  e,
20964
21139
  {
20965
21140
  "aria-labelledby": `flowbite-sidebar-item-${d}`,
@@ -21060,7 +21235,7 @@ Object.assign(Rg, {
21060
21235
  Logo: Tg
21061
21236
  });
21062
21237
  const Ng = Ye(void 0);
21063
- function H_() {
21238
+ function Y_() {
21064
21239
  const t = De(Ng);
21065
21240
  if (!t)
21066
21241
  throw new Error("useTableBodyContext should be used within the TableBodyContext provider!");
@@ -21082,13 +21257,13 @@ const Pg = ue(
21082
21257
  Pg.displayName = "Table.Body";
21083
21258
  const Ag = ue(
21084
21259
  ({ children: t, className: e, theme: n = {}, ...r }, o) => {
21085
- const { theme: i } = H_(), s = W(i.cell, n);
21260
+ const { theme: i } = Y_(), s = W(i.cell, n);
21086
21261
  return /* @__PURE__ */ b("td", { className: I(s.base, e), ref: o, ...r, children: t });
21087
21262
  }
21088
21263
  );
21089
21264
  Ag.displayName = "Table.Cell";
21090
21265
  const Dg = Ye(void 0);
21091
- function V_() {
21266
+ function U_() {
21092
21267
  const t = De(Dg);
21093
21268
  if (!t)
21094
21269
  throw new Error("useTableHeadContext should be used within the TableHeadContext provider!");
@@ -21103,7 +21278,7 @@ const Ig = ue(
21103
21278
  Ig.displayName = "Table.Head";
21104
21279
  const Lg = ue(
21105
21280
  ({ children: t, className: e, theme: n = {}, ...r }, o) => {
21106
- const { theme: i } = V_(), s = W(i.cell, n);
21281
+ const { theme: i } = U_(), s = W(i.cell, n);
21107
21282
  return /* @__PURE__ */ b("th", { className: I(s.base, e), ref: o, ...r, children: t });
21108
21283
  }
21109
21284
  );
@@ -21224,7 +21399,7 @@ $g.displayName = "Tabs";
21224
21399
  Object.assign($g, {
21225
21400
  Item: Bg
21226
21401
  });
21227
- const Y_ = ue(
21402
+ const K_ = ue(
21228
21403
  ({ className: t, color: e = "gray", helperText: n, shadow: r, theme: o = {}, ...i }, s) => {
21229
21404
  const a = W(G().textarea, o);
21230
21405
  return /* @__PURE__ */ $(Ct, { children: [
@@ -21240,7 +21415,7 @@ const Y_ = ue(
21240
21415
  ] });
21241
21416
  }
21242
21417
  );
21243
- Y_.displayName = "Textarea";
21418
+ K_.displayName = "Textarea";
21244
21419
  const jg = Ye(void 0);
21245
21420
  function Qa() {
21246
21421
  const t = De(jg);
@@ -21360,7 +21535,7 @@ Object.assign(Zg, {
21360
21535
  Body: Wg
21361
21536
  });
21362
21537
  const Jg = Ye(void 0);
21363
- function U_() {
21538
+ function q_() {
21364
21539
  const t = De(Jg);
21365
21540
  if (!t)
21366
21541
  throw new Error("useToastContext should be used within the ToastContext provider!");
@@ -21370,11 +21545,11 @@ const Qg = ({
21370
21545
  className: t,
21371
21546
  onClick: e,
21372
21547
  theme: n = {},
21373
- xIcon: r = z1,
21548
+ xIcon: r = $1,
21374
21549
  onDismiss: o,
21375
21550
  ...i
21376
21551
  }) => {
21377
- const { theme: s, duration: a, isClosed: l, isRemoved: c, setIsClosed: d, setIsRemoved: u } = U_(), f = W(s.toggle, n);
21552
+ const { theme: s, duration: a, isClosed: l, isRemoved: c, setIsClosed: d, setIsRemoved: u } = q_(), f = W(s.toggle, n);
21378
21553
  return /* @__PURE__ */ b(
21379
21554
  "button",
21380
21555
  {
@@ -21392,7 +21567,7 @@ const Qg = ({
21392
21567
  children: /* @__PURE__ */ b(r, { "aria-hidden": !0, className: f.icon })
21393
21568
  }
21394
21569
  );
21395
- }, K_ = {
21570
+ }, G_ = {
21396
21571
  75: "duration-75",
21397
21572
  100: "duration-100",
21398
21573
  150: "duration-150",
@@ -21408,7 +21583,7 @@ const Qg = ({
21408
21583
  {
21409
21584
  "data-testid": "flowbite-toast",
21410
21585
  role: "alert",
21411
- className: I(c.root.base, K_[n], i && c.root.closed, e),
21586
+ className: I(c.root.base, G_[n], i && c.root.closed, e),
21412
21587
  ...o,
21413
21588
  children: t
21414
21589
  }
@@ -21419,7 +21594,7 @@ Qg.displayName = "Toast.Toggle";
21419
21594
  Object.assign(ep, {
21420
21595
  Toggle: Qg
21421
21596
  });
21422
- const q_ = ue(
21597
+ const X_ = ue(
21423
21598
  ({
21424
21599
  checked: t,
21425
21600
  className: e,
@@ -21481,8 +21656,8 @@ const q_ = ue(
21481
21656
  ] });
21482
21657
  }
21483
21658
  );
21484
- q_.displayName = "ToggleSwitch";
21485
- const G_ = ({
21659
+ X_.displayName = "ToggleSwitch";
21660
+ const Z_ = ({
21486
21661
  currentPage: t,
21487
21662
  totalPages: e,
21488
21663
  onPageChange: n
@@ -21492,8 +21667,8 @@ const G_ = ({
21492
21667
  {
21493
21668
  onClick: () => n(t - 1),
21494
21669
  disabled: t === 1,
21495
- className: "p-2 text-gray-500 hover:text-gray-700 disabled:opacity-50 disabled:cursor-not-allowed",
21496
- children: /* @__PURE__ */ b(Tf, { className: "w-5 h-5" })
21670
+ className: "p-2 text-gray-500 hover:text-gray-700 disabled:cursor-not-allowed disabled:opacity-50",
21671
+ children: /* @__PURE__ */ b(Tf, { className: "h-5 w-5" })
21497
21672
  }
21498
21673
  ),
21499
21674
  /* @__PURE__ */ $("span", { className: "text-sm text-gray-700", children: [
@@ -21506,11 +21681,11 @@ const G_ = ({
21506
21681
  {
21507
21682
  onClick: () => n(t + 1),
21508
21683
  disabled: t === e,
21509
- className: "p-2 text-gray-500 hover:text-gray-700 disabled:opacity-50 disabled:cursor-not-allowed",
21510
- children: /* @__PURE__ */ b(Rf, { className: "w-5 h-5" })
21684
+ className: "p-2 text-gray-500 hover:text-gray-700 disabled:cursor-not-allowed disabled:opacity-50",
21685
+ children: /* @__PURE__ */ b(Rf, { className: "h-5 w-5" })
21511
21686
  }
21512
21687
  )
21513
- ] }), dC = ({
21688
+ ] }), fC = ({
21514
21689
  columns: t,
21515
21690
  data: e,
21516
21691
  showSearch: n = !1,
@@ -21527,19 +21702,19 @@ const G_ = ({
21527
21702
  return c.slice(f, h);
21528
21703
  }, [c, a, r]), u = Math.ceil(c.length / r);
21529
21704
  return /* @__PURE__ */ $("div", { className: "w-full", children: [
21530
- /* @__PURE__ */ b("div", { className: "flex justify-between items-center mb-4", children: o && /* @__PURE__ */ b("h2", { className: "text-xl font-bold", children: o }) }),
21531
- /* @__PURE__ */ $("div", { className: "flex mb-4", children: [
21705
+ /* @__PURE__ */ b("div", { className: "mb-4 flex items-center justify-between", children: o && /* @__PURE__ */ b("h2", { className: "text-xl font-bold", children: o }) }),
21706
+ /* @__PURE__ */ $("div", { className: "mb-4 flex", children: [
21532
21707
  n && /* @__PURE__ */ b("div", { className: "w-1/2", children: /* @__PURE__ */ b(
21533
21708
  Ma,
21534
21709
  {
21535
- rightIcon: L1,
21710
+ rightIcon: z1,
21536
21711
  placeholder: "Buscar",
21537
21712
  value: i,
21538
21713
  onChange: (f) => s(f.target.value)
21539
21714
  }
21540
21715
  ) }),
21541
- u > 1 && /* @__PURE__ */ b("div", { className: "w-full flex justify-end", children: /* @__PURE__ */ b(
21542
- G_,
21716
+ u > 1 && /* @__PURE__ */ b("div", { className: "flex w-full justify-end", children: /* @__PURE__ */ b(
21717
+ Z_,
21543
21718
  {
21544
21719
  currentPage: a,
21545
21720
  totalPages: u,
@@ -21573,10 +21748,34 @@ const G_ = ({
21573
21748
  }, jd = {
21574
21749
  "m-image-container": "layoutOutside-module__m-image-container__sCvFu",
21575
21750
  "m-image": "layoutOutside-module__m-image__kZHyH"
21576
- }, Wd = wi(), uC = () => /* @__PURE__ */ $("div", { className: "mt-32", children: [
21577
- /* @__PURE__ */ b(Fr, { classIm: "mx-auto", src: `${Wd}/public/assets/images/mathilde.png`, alt: "Logo Mathilde ads", width: 400, height: 250 }),
21578
- /* @__PURE__ */ b("div", { className: jd["m-image-container"], children: /* @__PURE__ */ b(Fr, { classIm: jd["m-image"], src: `${Wd}/public/assets/images/background-mathilde.png`, alt: "Logo Mathilde ads", width: 400, height: 300 }) })
21579
- ] }), fC = ({ onOpenModal: t, checked: e, onChange: n, label: r, ...o }) => {
21751
+ }, Wd = wi(), hC = () => /* @__PURE__ */ $("div", { className: "mt-32", children: [
21752
+ /* @__PURE__ */ b(
21753
+ Fr,
21754
+ {
21755
+ classIm: "mx-auto",
21756
+ src: `${Wd}/public/assets/images/mathilde.png`,
21757
+ alt: "Logo Mathilde ads",
21758
+ width: 400,
21759
+ height: 250
21760
+ }
21761
+ ),
21762
+ /* @__PURE__ */ b("div", { className: jd["m-image-container"], children: /* @__PURE__ */ b(
21763
+ Fr,
21764
+ {
21765
+ classIm: jd["m-image"],
21766
+ src: `${Wd}/public/assets/images/background-mathilde.png`,
21767
+ alt: "Logo Mathilde ads",
21768
+ width: 400,
21769
+ height: 300
21770
+ }
21771
+ ) })
21772
+ ] }), gC = ({
21773
+ onOpenModal: t,
21774
+ checked: e,
21775
+ onChange: n,
21776
+ label: r,
21777
+ ...o
21778
+ }) => {
21580
21779
  const i = () => {
21581
21780
  e || t(), n(!1);
21582
21781
  };
@@ -21594,11 +21793,13 @@ const G_ = ({
21594
21793
  /* @__PURE__ */ b("span", { className: Vo.checkmark }),
21595
21794
  r && /* @__PURE__ */ b("span", { children: r })
21596
21795
  ] }) });
21597
- }, X_ = ({ validations: t }) => {
21796
+ }, J_ = ({
21797
+ validations: t
21798
+ }) => {
21598
21799
  const e = ({ isValid: r }) => /* @__PURE__ */ b(
21599
21800
  "svg",
21600
21801
  {
21601
- className: `w-3.5 h-3.5 me-2 ${r ? "text-green-500 dark:text-green-400" : "text-gray-500 dark:text-gray-400"} shrink-0`,
21802
+ className: `me-2 h-3.5 w-3.5 ${r ? "text-green-500 dark:text-green-400" : "text-gray-500 dark:text-gray-400"} shrink-0`,
21602
21803
  "aria-hidden": "true",
21603
21804
  xmlns: "http://www.w3.org/2000/svg",
21604
21805
  fill: "currentColor",
@@ -21606,7 +21807,7 @@ const G_ = ({
21606
21807
  children: /* @__PURE__ */ b("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
21607
21808
  }
21608
21809
  );
21609
- return /* @__PURE__ */ b("ul", { className: "max-w-md text-sm mb-3 space-y-1 text-gray-500 list-inside dark:text-gray-400", children: [
21810
+ return /* @__PURE__ */ b("ul", { className: "mb-3 max-w-md list-inside space-y-1 text-sm text-gray-500 dark:text-gray-400", children: [
21610
21811
  { key: "hasMinLength", text: "Debe ser minimo de 8 caracteres" },
21611
21812
  { key: "hasNumber", text: "Debe tener minimo un numero" },
21612
21813
  { key: "hasUpperCase", text: "Debe tener minimo una letra mayuscula" },
@@ -21616,7 +21817,7 @@ const G_ = ({
21616
21817
  /* @__PURE__ */ b(e, { isValid: t[r] }),
21617
21818
  o
21618
21819
  ] }, r)) });
21619
- }, Z_ = () => {
21820
+ }, Q_ = () => {
21620
21821
  const [t, e] = xe(""), [n, r] = xe(""), [o, i] = xe({
21621
21822
  hasMinLength: !1,
21622
21823
  hasNumber: !1,
@@ -21642,14 +21843,14 @@ const G_ = ({
21642
21843
  showError: () => !s() && t.trim() && n.trim(),
21643
21844
  validations: o
21644
21845
  };
21645
- }, hC = ({ formik: t }) => {
21846
+ }, pC = ({ formik: t }) => {
21646
21847
  const {
21647
21848
  password: e,
21648
21849
  setPassword: n,
21649
21850
  confirmPassword: r,
21650
21851
  setConfirmPassword: o,
21651
21852
  validations: i
21652
- } = Z_();
21853
+ } = Q_();
21653
21854
  return /* @__PURE__ */ $(Ct, { children: [
21654
21855
  /* @__PURE__ */ $("div", { className: "block", children: [
21655
21856
  /* @__PURE__ */ b(
@@ -21663,7 +21864,7 @@ const G_ = ({
21663
21864
  onBlur: t.handleBlur("password")
21664
21865
  }
21665
21866
  ),
21666
- t.errors.password && t.touched.password && /* @__PURE__ */ b("div", { className: "text-red-500 text-sm my-2", children: String(t.errors.password) })
21867
+ t.errors.password && t.touched.password && /* @__PURE__ */ b("div", { className: "my-2 text-sm text-red-500", children: String(t.errors.password) })
21667
21868
  ] }),
21668
21869
  /* @__PURE__ */ $("div", { className: "block", children: [
21669
21870
  /* @__PURE__ */ b(
@@ -21677,73 +21878,80 @@ const G_ = ({
21677
21878
  onBlur: t.handleBlur("confirmPassword")
21678
21879
  }
21679
21880
  ),
21680
- t.errors.confirmPassword && t.touched.confirmPassword && /* @__PURE__ */ b("div", { className: "text-red-500 text-sm my-2", children: String(t.errors.confirmPassword) })
21881
+ t.errors.confirmPassword && t.touched.confirmPassword && /* @__PURE__ */ b("div", { className: "my-2 text-sm text-red-500", children: String(t.errors.confirmPassword) })
21681
21882
  ] }),
21682
- /* @__PURE__ */ b(X_, { validations: i })
21883
+ /* @__PURE__ */ b(J_, { validations: i })
21683
21884
  ] });
21684
- }, gC = ({ items: t }) => {
21885
+ }, mC = ({ items: t }) => {
21685
21886
  const [e, n] = xe([]), r = (i) => {
21686
21887
  n(
21687
21888
  (s) => s.includes(i) ? s.filter((a) => a !== i) : [...s, i]
21688
21889
  );
21689
21890
  }, o = (i, s = 0) => /* @__PURE__ */ b("ul", { className: "list-none space-y-2", children: i.map((a) => {
21690
21891
  const l = a.subItems && a.subItems.length > 0, c = e.includes(a.id);
21691
- return /* @__PURE__ */ $("li", { className: `
21892
+ return /* @__PURE__ */ $(
21893
+ "li",
21894
+ {
21895
+ className: `
21692
21896
  ${s > 0 ? "ml-7" : ""}
21693
- `, children: [
21694
- /* @__PURE__ */ $("div", { className: "flex items-center gap-2 py-1", children: [
21695
- /* @__PURE__ */ $("div", { className: "flex items-center gap-1 min-w-[48px]", children: [
21696
- l && /* @__PURE__ */ b(
21697
- "button",
21698
- {
21699
- onClick: () => r(a.id),
21700
- className: "p-1 hover:bg-gray-100 rounded-full transition-transform duration-200",
21701
- children: c ? /* @__PURE__ */ b(_p, { className: "text-gray-500 text-sm" }) : /* @__PURE__ */ b(kp, { className: "text-gray-500 text-sm" })
21702
- }
21703
- ),
21704
- !l && /* @__PURE__ */ b("div", { className: "w-[28px]" }),
21705
- " ",
21706
- a.icon && /* @__PURE__ */ b(
21707
- a.icon,
21708
- {
21709
- className: `text-lg ${a.isActive ? "text-blue-700 dark:text-blue-500" : "text-gray-600"}`
21710
- }
21711
- )
21712
- ] }),
21713
- /* @__PURE__ */ b(
21714
- "a",
21715
- {
21716
- href: a.href,
21717
- className: `
21897
+ `,
21898
+ children: [
21899
+ /* @__PURE__ */ $("div", { className: "flex items-center gap-2 py-1", children: [
21900
+ /* @__PURE__ */ $("div", { className: "flex min-w-[48px] items-center gap-1", children: [
21901
+ l && /* @__PURE__ */ b(
21902
+ "button",
21903
+ {
21904
+ onClick: () => r(a.id),
21905
+ className: "rounded-full p-1 transition-transform duration-200 hover:bg-gray-100",
21906
+ children: c ? /* @__PURE__ */ b(_p, { className: "text-sm text-gray-500" }) : /* @__PURE__ */ b(kp, { className: "text-sm text-gray-500" })
21907
+ }
21908
+ ),
21909
+ !l && /* @__PURE__ */ b("div", { className: "w-[28px]" }),
21910
+ " ",
21911
+ a.icon && /* @__PURE__ */ b(
21912
+ a.icon,
21913
+ {
21914
+ className: `text-lg ${a.isActive ? "text-blue-700 dark:text-blue-500" : "text-gray-600"}`
21915
+ }
21916
+ )
21917
+ ] }),
21918
+ /* @__PURE__ */ b(
21919
+ "a",
21920
+ {
21921
+ href: a.href,
21922
+ className: `
21718
21923
  flex-grow transition-colors duration-200
21719
- ${a.isActive ? "text-blue-700 font-medium dark:text-blue-500" : "text-gray-700 hover:text-blue-600 dark:text-gray-300"}
21924
+ ${a.isActive ? "font-medium text-blue-700 dark:text-blue-500" : "text-gray-700 hover:text-blue-600 dark:text-gray-300"}
21720
21925
  `,
21721
- children: a.title
21722
- }
21723
- )
21724
- ] }),
21725
- l && c && o(a.subItems || [], s + 1)
21726
- ] }, a.id);
21926
+ children: a.title
21927
+ }
21928
+ )
21929
+ ] }),
21930
+ l && c && o(a.subItems || [], s + 1)
21931
+ ]
21932
+ },
21933
+ a.id
21934
+ );
21727
21935
  }) });
21728
21936
  return /* @__PURE__ */ b("nav", { id: "TableOfContents", children: o(t) });
21729
21937
  };
21730
21938
  export {
21731
- nC as ButtonFormat,
21939
+ oC as ButtonFormat,
21732
21940
  Ds as CardFormat,
21733
- oC as CardIndicator,
21734
- rC as Checkbox,
21941
+ sC as CardIndicator,
21942
+ iC as Checkbox,
21735
21943
  Fr as ImageFormat,
21736
21944
  hp as InputForm,
21737
- uC as LayoutOutside,
21945
+ hC as LayoutOutside,
21738
21946
  pr as ModalFormat,
21739
- lC as MyDoughnutChart,
21947
+ dC as MyDoughnutChart,
21740
21948
  il as PasswordInput,
21741
- X_ as PasswordValidationList,
21949
+ J_ as PasswordValidationList,
21742
21950
  Rp as ProgressBar,
21743
21951
  Np as SelectForm,
21744
- cC as SidebarMth,
21745
- dC as TableComponent,
21746
- gC as TableOfContents,
21747
- fC as TermsCheckbox,
21748
- hC as ValidationPassword
21952
+ uC as SidebarMth,
21953
+ fC as TableComponent,
21954
+ mC as TableOfContents,
21955
+ gC as TermsCheckbox,
21956
+ pC as ValidationPassword
21749
21957
  };