@luizleon/sf.prefeiturasp.vuecomponents 5.0.13 → 5.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var Hs = Object.defineProperty;
2
2
  var js = (t, e, n) => e in t ? Hs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var Ne = (t, e, n) => js(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { defineComponent as Me, onBeforeUnmount as _i, openBlock as O, createElementBlock as U, unref as ie, renderSlot as fe, createElementVNode as M, computed as we, createBlock as ce, resolveDynamicComponent as yt, normalizeClass as te, withCtx as mt, normalizeStyle as Ht, Fragment as Xe, mergeProps as W, toDisplayString as Le, createCommentVNode as se, ref as oe, onMounted as Et, resolveComponent as _n, renderList as $r, useSlots as Mr, watch as cn, Teleport as Fs, withModifiers as wr, createVNode as Te, Transition as Dr, normalizeProps as Bn, guardReactiveProps as Un, readonly as Vs, getCurrentInstance as Rr, nextTick as Si, resolveDirective as Ks, withDirectives as _r, vShow as ki, getCurrentScope as zs, onScopeDispose as Ws, toValue as Ci, inject as Gs, onBeforeMount as qs, createTextVNode as Io, watchEffect as Ys } from "vue";
4
+ import { defineComponent as Me, onBeforeUnmount as _i, openBlock as O, createElementBlock as U, unref as ie, renderSlot as fe, createElementVNode as M, computed as we, createBlock as ce, resolveDynamicComponent as yt, normalizeClass as ee, withCtx as mt, normalizeStyle as Ht, Fragment as Xe, mergeProps as W, toDisplayString as Le, createCommentVNode as se, ref as oe, onMounted as Et, resolveComponent as _n, renderList as $r, useSlots as Mr, watch as cn, Teleport as Fs, withModifiers as wr, createVNode as Te, Transition as Dr, normalizeProps as Bn, guardReactiveProps as Un, readonly as Vs, getCurrentInstance as Rr, nextTick as Si, resolveDirective as Ks, withDirectives as _r, vShow as ki, getCurrentScope as zs, onScopeDispose as Ws, toValue as Ci, inject as Gs, onBeforeMount as qs, createTextVNode as Io, watchEffect as Ys } from "vue";
5
5
  import { useRouter as Xs } from "vue-router";
6
6
  class dn {
7
7
  /**
@@ -144,7 +144,7 @@ function ea(t, e) {
144
144
  ], -1)
145
145
  ]));
146
146
  }
147
- const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-loading", "tabindex"], na = ["data-color"], ra = /* @__PURE__ */ Me({
147
+ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["data-size"], na = ["disabled", "data-p-loading", "tabindex"], ra = ["data-color"], oa = /* @__PURE__ */ Me({
148
148
  __name: "Icon",
149
149
  props: {
150
150
  icon: {},
@@ -166,7 +166,7 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
166
166
  setup(t, { emit: e }) {
167
167
  const n = t, r = we(
168
168
  () => n.tooltip ? Zs : "div"
169
- ), o = we(() => new dn(n.tooltip ? "" : "display-content").AddClass("loading", n.loading).AddClass("disabled", n.disabled).Build()), i = we(() => new dn(`${n.class} sf-icon`).AddClass("select-none").AddClass("sf-icon-button", n.button).AddClass("sf-icon-small", n.size === "sm").AddClass("sf-icon-medium", n.size === "md").AddClass("sf-icon-large", n.size === "lg").AddClass("sf-icon-xlarge", n.size === "xl").AddClass("sf-icon-2xlarge", n.size === "2xl").AddClass("sf-icon-3xlarge", n.size === "3xl").AddClass("sf-ripple", n.button === !0).AddClass(
169
+ ), o = we(() => new dn(n.tooltip ? "" : "display-content").AddClass("loading", n.loading).AddClass("disabled", n.disabled).Build()), i = we(() => new dn(`${n.class} sf-icon`).AddClass("select-none").AddClass(
170
170
  `${n.color}-color`,
171
171
  !!n.color && n.color !== "inherit"
172
172
  ).Build()), a = (l) => {
@@ -174,37 +174,48 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
174
174
  }, s = e;
175
175
  return (l, c) => (O(), ce(yt(r.value), {
176
176
  text: n.tooltip,
177
- class: te(o.value),
177
+ class: ee(o.value),
178
178
  onClick: a
179
179
  }, {
180
180
  default: mt(() => [
181
- n.visible ? (O(), U("div", {
182
- key: 0,
183
- style: Ht(n.style),
184
- class: te(i.value)
181
+ M("div", {
182
+ class: ee([
183
+ "icon-wrapper",
184
+ {
185
+ "--button": !!n.button && !n.disabled && !n.loading,
186
+ "--relative": !n.loading
187
+ }
188
+ ]),
189
+ "data-size": n.size
185
190
  }, [
186
- n.loading ? (O(), ce(Ii, { key: 0 })) : (O(), U(Xe, { key: 1 }, [
187
- M("button", W({
188
- class: [
189
- "material-symbols-outlined",
190
- { "icon-filled": !!n.filled }
191
- ],
192
- disabled: n.disabled,
193
- "data-p-loading": n.loading
194
- }, n.buttonProps, {
195
- tabindex: n.button ? void 0 : -1
196
- }), Le(n.icon), 17, ta),
197
- n.dot ? (O(), U("span", {
198
- key: 0,
199
- "data-color": n.dotColor
200
- }, null, 8, na)) : se("", !0)
201
- ], 64))
202
- ], 6)) : se("", !0)
191
+ n.visible ? (O(), U("div", {
192
+ key: 0,
193
+ style: Ht(n.style),
194
+ class: ee(i.value)
195
+ }, [
196
+ n.loading ? (O(), ce(Ii, { key: 0 })) : (O(), U(Xe, { key: 1 }, [
197
+ M("button", W({
198
+ class: [
199
+ "material-symbols-outlined",
200
+ { "icon-filled": !!n.filled }
201
+ ],
202
+ disabled: n.disabled,
203
+ "data-p-loading": n.loading
204
+ }, n.buttonProps, {
205
+ tabindex: n.button ? void 0 : -1
206
+ }), Le(n.icon), 17, na),
207
+ n.dot && !n.disabled && !n.loading ? (O(), U("span", {
208
+ key: 0,
209
+ "data-color": n.dotColor
210
+ }, null, 8, ra)) : se("", !0)
211
+ ], 64))
212
+ ], 6)) : se("", !0)
213
+ ], 10, ta)
203
214
  ]),
204
215
  _: 1
205
216
  }, 8, ["text", "class"]));
206
217
  }
207
- }), ot = /* @__PURE__ */ _t(ra, [["__scopeId", "data-v-facdf37e"]]), oa = { class: "sf-tab-navigation" }, ia = ["data-active"], sa = ["href", "onClick"], km = /* @__PURE__ */ Me({
218
+ }), ot = /* @__PURE__ */ _t(oa, [["__scopeId", "data-v-c242d02a"]]), ia = { class: "sf-tab-navigation" }, sa = ["data-active"], aa = ["href", "onClick"], km = /* @__PURE__ */ Me({
208
219
  __name: "TabNavigation",
209
220
  props: {
210
221
  tabs: {}
@@ -234,9 +245,9 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
234
245
  }
235
246
  }), (l, c) => {
236
247
  const d = _n("RouterLink");
237
- return O(), U("div", oa, [
248
+ return O(), U("div", ia, [
238
249
  M("div", {
239
- class: te(["left-arrow", { active: o.value }]),
250
+ class: ee(["left-arrow", { active: o.value }]),
240
251
  onClick: c[0] || (c[0] = (m) => a(!0))
241
252
  }, c[2] || (c[2] = [
242
253
  M("svg", {
@@ -271,17 +282,17 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
271
282
  }, () => [
272
283
  M("a", {
273
284
  href: m.route,
274
- class: te({ active: w }),
285
+ class: ee({ active: w }),
275
286
  onClick: g
276
- }, Le(m.text), 11, sa)
287
+ }, Le(m.text), 11, aa)
277
288
  ])
278
- ], 8, ia)
289
+ ], 8, sa)
279
290
  ]),
280
291
  _: 2
281
292
  }, 1032, ["to"]))), 256))
282
293
  ], 512),
283
294
  M("div", {
284
- class: te(["right-arrow", { active: i.value }]),
295
+ class: ee(["right-arrow", { active: i.value }]),
285
296
  onClick: c[1] || (c[1] = (m) => a())
286
297
  }, c[3] || (c[3] = [
287
298
  M("svg", {
@@ -302,7 +313,7 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
302
313
  ]);
303
314
  };
304
315
  }
305
- }), aa = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], la = /* @__PURE__ */ Me({
316
+ }), la = ["id", "name", "disabled", "data-color", "form", "type", "data-p-loading"], ua = /* @__PURE__ */ Me({
306
317
  __name: "Button",
307
318
  props: {
308
319
  icon: {},
@@ -326,7 +337,7 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
326
337
  setup(t, { emit: e }) {
327
338
  const n = t;
328
339
  function r() {
329
- return new dn(`${n.class ?? ""} sf-button`).AddClass("select-none").AddClass("sf-button-small", n.size === "sm").AddClass("sf-button-medium", n.size === "md").AddClass("sf-button-large", n.size === "lg").AddClass("sf-button-filled", n.variant === "filled").AddClass("sf-button-text", n.variant === "text").AddClass("sf-button-outlined", n.variant === "outlined").AddClass("sf-button-with-icon", !!n.icon).AddClass("sf-ripple", !n.loading && !n.disabled).Build();
340
+ return new dn(`${n.class ?? ""} sf-button`).AddClass("select-none").AddClass("sf-button-small", n.size === "sm").AddClass("sf-button-medium", n.size === "md").AddClass("sf-button-large", n.size === "lg").AddClass("sf-button-filled", n.variant === "filled").AddClass("sf-button-text", n.variant === "text").AddClass("sf-button-outlined", n.variant === "outlined").AddClass("sf-button-with-icon", !!n.icon).Build();
330
341
  }
331
342
  const o = (a) => {
332
343
  n.disabled || n.loading || i("click", a);
@@ -335,7 +346,7 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
335
346
  key: 0,
336
347
  id: n.id,
337
348
  name: n.name,
338
- class: te(r()),
349
+ class: ee(r()),
339
350
  style: Ht(n.style),
340
351
  disabled: n.disabled,
341
352
  "data-color": n.color,
@@ -349,7 +360,7 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
349
360
  loading: !0,
350
361
  size: n.size,
351
362
  "button-props": { tabindex: -1 },
352
- class: te("icon-loading")
363
+ class: ee("icon-loading")
353
364
  }, null, 8, ["size"])) : se("", !0),
354
365
  n.icon ? (O(), ce(ot, {
355
366
  key: 1,
@@ -357,19 +368,19 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
357
368
  size: n.size,
358
369
  "button-props": { tabindex: -1 },
359
370
  filled: n.iconFilled,
360
- class: te({ transparent: n.loading })
371
+ class: ee({ transparent: n.loading })
361
372
  }, null, 8, ["icon", "size", "filled", "class"])) : se("", !0),
362
373
  M("span", {
363
- class: te({
374
+ class: ee({
364
375
  "button-label": !0,
365
376
  transparent: !n.disabled && n.loading
366
377
  })
367
378
  }, [
368
379
  fe(a.$slots, "default", {}, void 0, !0)
369
380
  ], 2)
370
- ], 14, aa)) : se("", !0);
381
+ ], 14, la)) : se("", !0);
371
382
  }
372
- }), Cm = /* @__PURE__ */ _t(la, [["__scopeId", "data-v-6213cac8"]]), ua = { class: "sf-drawer-title" }, ca = { class: "sf-drawer-action" }, da = /* @__PURE__ */ Me({
383
+ }), Cm = /* @__PURE__ */ _t(ua, [["__scopeId", "data-v-cc28e9ae"]]), ca = { class: "sf-drawer-title" }, da = { class: "sf-drawer-action" }, fa = /* @__PURE__ */ Me({
373
384
  __name: "Drawer",
374
385
  props: {
375
386
  visible: { type: Boolean, default: !1 },
@@ -426,7 +437,7 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
426
437
  a.value ? (O(), U("div", {
427
438
  key: 0,
428
439
  id: l,
429
- class: te(E()),
440
+ class: ee(E()),
430
441
  style: Ht({ zIndex: s.value - 1 }),
431
442
  onClick: wr(d, ["stop"])
432
443
  }, [
@@ -441,20 +452,20 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
441
452
  default: mt(() => [
442
453
  i.value ? (O(), U("div", {
443
454
  key: 0,
444
- class: te(["sf-drawer"]),
455
+ class: ee(["sf-drawer"]),
445
456
  style: Ht(n.style),
446
457
  role: "dialog"
447
458
  }, [
448
459
  fe(b.$slots, "header", Bn(Un({ Close: c })), () => [
449
460
  M("div", {
450
- class: te(["sf-drawer-header", { unstyled: n.unstyledHeader }])
461
+ class: ee(["sf-drawer-header", { unstyled: n.unstyledHeader }])
451
462
  }, [
452
463
  fe(b.$slots, "title", {}, () => [
453
- M("div", ua, Le(n.title), 1)
464
+ M("div", ca, Le(n.title), 1)
454
465
  ]),
455
466
  S[0] || (S[0] = M("div", { class: "sf-drawer-spacer" }, null, -1)),
456
- fe(b.$slots, "action", Bn(Un({ Close: c })), () => [
457
- M("div", ca, [
467
+ M("div", da, [
468
+ fe(b.$slots, "action", Bn(Un({ Close: c })), () => [
458
469
  Te(ot, {
459
470
  button: !0,
460
471
  icon: "close",
@@ -465,13 +476,13 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
465
476
  ], 2)
466
477
  ]),
467
478
  M("div", {
468
- class: te(["sf-drawer-content", { unstyled: n.unstyledContent }])
479
+ class: ee(["sf-drawer-content", { unstyled: n.unstyledContent }])
469
480
  }, [
470
481
  fe(b.$slots, "default")
471
482
  ], 2),
472
483
  ie(o).footer ? (O(), U("div", {
473
484
  key: 0,
474
- class: te(["sf-drawer-footer", { unstyled: n.unstyledFooter }])
485
+ class: ee(["sf-drawer-footer", { unstyled: n.unstyledFooter }])
475
486
  }, [
476
487
  fe(b.$slots, "footer", Bn(Un({ Close: c })))
477
488
  ], 2)) : se("", !0)
@@ -482,7 +493,7 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
482
493
  ], 6)) : se("", !0)
483
494
  ]));
484
495
  }
485
- }), fa = ["data-icon"], Im = /* @__PURE__ */ Me({
496
+ }), ma = ["data-icon"], Im = /* @__PURE__ */ Me({
486
497
  __name: "Message",
487
498
  props: {
488
499
  color: { default: "info" },
@@ -509,20 +520,20 @@ const Ii = /* @__PURE__ */ _t(Js, [["render", ea]]), ta = ["disabled", "data-p-l
509
520
  }
510
521
  }), r = we(() => new dn("sf-message").AddClass("sf-message-error", e.color === "error").AddClass("sf-message-info", e.color === "info").AddClass("sf-message-warning", e.color === "warn").AddClass("sf-message-success", e.color === "success").AddClass("sf-message-help", e.color === "help").AddClass("sf-message-primary", e.color === "primary").AddClass("sf-message-secondary", e.color === "secondary").AddClass(e.class).Build());
511
522
  return (o, i) => (O(), U("div", {
512
- class: te(r.value),
523
+ class: ee(r.value),
513
524
  "data-icon": n.value
514
525
  }, [
515
526
  fe(o.$slots, "default")
516
- ], 10, fa));
527
+ ], 10, ma));
517
528
  }
518
529
  });
519
- function ma(t, e) {
530
+ function pa(t, e) {
520
531
  return t ? t.classList ? t.classList.contains(e) : new RegExp("(^| )" + e + "( |$)", "gi").test(t.className) : !1;
521
532
  }
522
- function pa(t, e) {
533
+ function ha(t, e) {
523
534
  if (t && e) {
524
535
  const n = (r) => {
525
- ma(t, r) || (t.classList ? t.classList.add(r) : t.className += " " + r);
536
+ pa(t, r) || (t.classList ? t.classList.add(r) : t.className += " " + r);
526
537
  };
527
538
  [e].flat().filter(Boolean).forEach((r) => r.split(" ").forEach(n));
528
539
  }
@@ -535,7 +546,7 @@ function ar(t, e) {
535
546
  [e].flat().filter(Boolean).forEach((r) => r.split(" ").forEach(n));
536
547
  }
537
548
  }
538
- function ha(t, e) {
549
+ function ga(t, e) {
539
550
  return t instanceof HTMLElement ? t.offsetWidth : 0;
540
551
  }
541
552
  function Yn(t) {
@@ -567,7 +578,7 @@ function Kn(t, e = {}) {
567
578
  });
568
579
  }
569
580
  }
570
- function ga(t, e = {}, ...n) {
581
+ function ya(t, e = {}, ...n) {
571
582
  {
572
583
  const r = document.createElement(t);
573
584
  return Kn(r, e), r.append(...n), r;
@@ -592,14 +603,14 @@ function To(t) {
592
603
  }
593
604
  return 0;
594
605
  }
595
- function ya(t) {
606
+ function va(t) {
596
607
  if (t) {
597
608
  let e = t.parentNode;
598
609
  return e && e instanceof ShadowRoot && e.host && (e = e.host), e;
599
610
  }
600
611
  return null;
601
612
  }
602
- function va(t) {
613
+ function ba(t) {
603
614
  if (t) {
604
615
  let e = t.getBoundingClientRect();
605
616
  return {
@@ -612,11 +623,11 @@ function va(t) {
612
623
  left: "auto"
613
624
  };
614
625
  }
615
- function ba(t, e) {
626
+ function wa(t, e) {
616
627
  return t ? t.offsetHeight : 0;
617
628
  }
618
- function wa(t) {
619
- return !!(t !== null && typeof t < "u" && t.nodeName && ya(t));
629
+ function _a(t) {
630
+ return !!(t !== null && typeof t < "u" && t.nodeName && va(t));
620
631
  }
621
632
  function Ao(t) {
622
633
  if (t) {
@@ -625,10 +636,10 @@ function Ao(t) {
625
636
  }
626
637
  return 0;
627
638
  }
628
- function _a() {
639
+ function Sa() {
629
640
  return !!(typeof window < "u" && window.document && window.document.createElement);
630
641
  }
631
- function Sa(t, e = "", n) {
642
+ function ka(t, e = "", n) {
632
643
  Yn(t) && n !== null && n !== void 0 && t.setAttribute(e, n);
633
644
  }
634
645
  function Ti() {
@@ -722,7 +733,7 @@ function Hr(t, e = !0) {
722
733
  function Ai(t) {
723
734
  return Q(t) && !isNaN(t);
724
735
  }
725
- function ka(t = "") {
736
+ function Ca(t = "") {
726
737
  return Q(t) && t.length === 1 && !!t.match(/\S| /);
727
738
  }
728
739
  function dt(t, e) {
@@ -735,7 +746,7 @@ function dt(t, e) {
735
746
  function an(t) {
736
747
  return t && t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":");
737
748
  }
738
- function Ca(t) {
749
+ function Ia(t) {
739
750
  return $e(t, !1) ? t[0].toUpperCase() + t.slice(1) : t;
740
751
  }
741
752
  function Pi(t) {
@@ -745,21 +756,21 @@ function Eo(t) {
745
756
  return $e(t) ? t.replace(/[A-Z]/g, (e, n) => n === 0 ? e : "." + e.toLowerCase()).toLowerCase() : t;
746
757
  }
747
758
  var $n = {};
748
- function Ia(t = "pui_id_") {
759
+ function Ta(t = "pui_id_") {
749
760
  return $n.hasOwnProperty(t) || ($n[t] = 0), $n[t]++, `${t}${$n[t]}`;
750
761
  }
751
762
  function zn() {
752
763
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pv_id_";
753
- return Ia(t);
764
+ return Ta(t);
754
765
  }
755
- var Ta = Object.defineProperty, Aa = Object.defineProperties, Pa = Object.getOwnPropertyDescriptors, Wn = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, xo = (t, e, n) => e in t ? Ta(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, qt = (t, e) => {
766
+ var Aa = Object.defineProperty, Pa = Object.defineProperties, Ea = Object.getOwnPropertyDescriptors, Wn = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, xo = (t, e, n) => e in t ? Aa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, qt = (t, e) => {
756
767
  for (var n in e || (e = {}))
757
768
  Ei.call(e, n) && xo(t, n, e[n]);
758
769
  if (Wn)
759
770
  for (var n of Wn(e))
760
771
  xi.call(e, n) && xo(t, n, e[n]);
761
772
  return t;
762
- }, lr = (t, e) => Aa(t, Pa(e)), Yt = (t, e) => {
773
+ }, lr = (t, e) => Pa(t, Ea(e)), Yt = (t, e) => {
763
774
  var n = {};
764
775
  for (var r in t)
765
776
  Ei.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
@@ -767,21 +778,21 @@ var Ta = Object.defineProperty, Aa = Object.defineProperties, Pa = Object.getOwn
767
778
  for (var r of Wn(t))
768
779
  e.indexOf(r) < 0 && xi.call(t, r) && (n[r] = t[r]);
769
780
  return n;
770
- }, Ea = Ti(), ct = Ea;
781
+ }, xa = Ti(), ct = xa;
771
782
  function Lo(t, e) {
772
783
  Hr(t) ? t.push(...e || []) : bt(t) && Object.assign(t, e);
773
784
  }
774
- function xa(t) {
785
+ function La(t) {
775
786
  return bt(t) && t.hasOwnProperty("value") && t.hasOwnProperty("type") ? t.value : t;
776
787
  }
777
788
  function Oo(t, e = "") {
778
789
  return ["opacity", "z-index", "line-height", "font-weight", "flex", "flex-grow", "flex-shrink", "order"].some((r) => e.endsWith(r)) ? t : `${t}`.trim().split(" ").map((i) => Ai(i) ? `${i}px` : i).join(" ");
779
790
  }
780
- function La(t) {
791
+ function Oa(t) {
781
792
  return t.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
782
793
  }
783
794
  function kr(t = "", e = "") {
784
- return La(`${$e(t, !1) && $e(e, !1) ? `${t}-` : t}${e}`);
795
+ return Oa(`${$e(t, !1) && $e(e, !1) ? `${t}-` : t}${e}`);
785
796
  }
786
797
  function Li(t = "", e = "") {
787
798
  return `--${kr(t, e)}`;
@@ -800,28 +811,28 @@ function Oi(t, e = "", n = "", r = [], o) {
800
811
  } else if (Ai(t))
801
812
  return Oo(t, e);
802
813
  }
803
- function Oa(t, e, n) {
814
+ function $a(t, e, n) {
804
815
  $e(e, !1) && t.push(`${e}:${n};`);
805
816
  }
806
817
  function on(t, e) {
807
818
  return t ? `${t}{${e}}` : "";
808
819
  }
809
- var ur = (...t) => $a(re.getTheme(), ...t), $a = (t = {}, e, n, r = "variable") => {
820
+ var ur = (...t) => Ma(re.getTheme(), ...t), Ma = (t = {}, e, n, r = "variable") => {
810
821
  if (e) {
811
822
  const { variable: o, options: i } = re.defaults || {}, { prefix: a, transform: s } = (t == null ? void 0 : t.options) || i || {}, c = dt(e, /{([^}]*)}/g) ? e : `{${e}}`;
812
823
  return r === "value" || s === "strict" ? re.getTokenValue(e) : Oi(c, void 0, a, [o.excludedKeyRegex], n);
813
824
  }
814
825
  return "";
815
826
  };
816
- function Ma(t, e = {}) {
827
+ function Da(t, e = {}) {
817
828
  const n = re.defaults.variable, { prefix: r = n.prefix, selector: o = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, a = (c, d = "") => Object.entries(c).reduce(
818
829
  (m, [g, w]) => {
819
- const k = dt(g, i) ? kr(d) : kr(d, Pi(g)), A = xa(w);
830
+ const k = dt(g, i) ? kr(d) : kr(d, Pi(g)), A = La(w);
820
831
  if (bt(A)) {
821
832
  const { variables: E, tokens: b } = a(A, k);
822
833
  Lo(m.tokens, b), Lo(m.variables, E);
823
834
  } else
824
- m.tokens.push((r ? k.replace(`${r}-`, "") : k).replaceAll("-", ".")), Oa(m.variables, Li(k), Oi(A, k, r, [i]));
835
+ m.tokens.push((r ? k.replace(`${r}-`, "") : k).replaceAll("-", ".")), $a(m.variables, Li(k), Oi(A, k, r, [i]));
825
836
  return m;
826
837
  },
827
838
  { variables: [], tokens: [] }
@@ -875,7 +886,7 @@ var We = {
875
886
  }
876
887
  },
877
888
  _toVariables(t, e) {
878
- return Ma(t, { prefix: e == null ? void 0 : e.prefix });
889
+ return Da(t, { prefix: e == null ? void 0 : e.prefix });
879
890
  },
880
891
  getCommon({ name: t = "", theme: e = {}, params: n, set: r, defaults: o }) {
881
892
  var i, a, s, l;
@@ -1158,21 +1169,21 @@ function Mo(t) {
1158
1169
  for (var e = 1; e < arguments.length; e++) {
1159
1170
  var n = arguments[e] != null ? arguments[e] : {};
1160
1171
  e % 2 ? $o(Object(n), !0).forEach(function(r) {
1161
- Da(t, r, n[r]);
1172
+ Ra(t, r, n[r]);
1162
1173
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : $o(Object(n)).forEach(function(r) {
1163
1174
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
1164
1175
  });
1165
1176
  }
1166
1177
  return t;
1167
1178
  }
1168
- function Da(t, e, n) {
1169
- return (e = Ra(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1179
+ function Ra(t, e, n) {
1180
+ return (e = Na(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1170
1181
  }
1171
- function Ra(t) {
1172
- var e = Na(t, "string");
1182
+ function Na(t) {
1183
+ var e = Ba(t, "string");
1173
1184
  return fn(e) == "symbol" ? e : e + "";
1174
1185
  }
1175
- function Na(t, e) {
1186
+ function Ba(t, e) {
1176
1187
  if (fn(t) != "object" || !t) return t;
1177
1188
  var n = t[Symbol.toPrimitive];
1178
1189
  if (n !== void 0) {
@@ -1182,13 +1193,13 @@ function Na(t, e) {
1182
1193
  }
1183
1194
  return (e === "string" ? String : Number)(t);
1184
1195
  }
1185
- function Ba(t) {
1196
+ function Ua(t) {
1186
1197
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
1187
1198
  Rr() ? Et(t) : e ? t() : Si(t);
1188
1199
  }
1189
- var Ua = 0;
1190
- function Ha(t) {
1191
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = oe(!1), r = oe(t), o = oe(null), i = _a() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, c = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, w = g === void 0 ? "style_".concat(++Ua) : g, k = e.id, A = k === void 0 ? void 0 : k, E = e.media, b = E === void 0 ? void 0 : E, S = e.nonce, R = S === void 0 ? void 0 : S, H = e.first, Y = H === void 0 ? !1 : H, pe = e.onMounted, ae = pe === void 0 ? void 0 : pe, Re = e.onUpdated, le = Re === void 0 ? void 0 : Re, X = e.onLoad, N = X === void 0 ? void 0 : X, J = e.props, he = J === void 0 ? {} : J, ge = function() {
1200
+ var Ha = 0;
1201
+ function ja(t) {
1202
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = oe(!1), r = oe(t), o = oe(null), i = Sa() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, c = l === void 0 ? !0 : l, d = e.manual, m = d === void 0 ? !1 : d, g = e.name, w = g === void 0 ? "style_".concat(++Ha) : g, k = e.id, A = k === void 0 ? void 0 : k, E = e.media, b = E === void 0 ? void 0 : E, S = e.nonce, R = S === void 0 ? void 0 : S, H = e.first, Y = H === void 0 ? !1 : H, pe = e.onMounted, ae = pe === void 0 ? void 0 : pe, Re = e.onUpdated, le = Re === void 0 ? void 0 : Re, X = e.onLoad, N = X === void 0 ? void 0 : X, J = e.props, he = J === void 0 ? {} : J, ge = function() {
1192
1203
  }, Je = function(et) {
1193
1204
  var St = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1194
1205
  if (s) {
@@ -1198,7 +1209,7 @@ function Ha(t) {
1198
1209
  id: p,
1199
1210
  media: b,
1200
1211
  nonce: v
1201
- }), Y ? s.head.prepend(o.value) : s.head.appendChild(o.value), Sa(o.value, "data-primevue-style-id", u), Kn(o.value, Fe), o.value.onload = function(T) {
1212
+ }), Y ? s.head.prepend(o.value) : s.head.appendChild(o.value), ka(o.value, "data-primevue-style-id", u), Kn(o.value, Fe), o.value.onload = function(T) {
1202
1213
  return N == null ? void 0 : N(T, {
1203
1214
  name: u
1204
1215
  });
@@ -1209,9 +1220,9 @@ function Ha(t) {
1209
1220
  }), n.value = !0);
1210
1221
  }
1211
1222
  }, st = function() {
1212
- !s || !n.value || (ge(), wa(o.value) && s.head.removeChild(o.value), n.value = !1);
1223
+ !s || !n.value || (ge(), _a(o.value) && s.head.removeChild(o.value), n.value = !1);
1213
1224
  };
1214
- return c && !m && Ba(Je), {
1225
+ return c && !m && Ua(Je), {
1215
1226
  id: A,
1216
1227
  name: w,
1217
1228
  el: o,
@@ -1230,13 +1241,13 @@ function mn(t) {
1230
1241
  }, mn(t);
1231
1242
  }
1232
1243
  function Do(t, e) {
1233
- return Ka(t) || Va(t, e) || Fa(t, e) || ja();
1244
+ return za(t) || Ka(t, e) || Va(t, e) || Fa();
1234
1245
  }
1235
- function ja() {
1246
+ function Fa() {
1236
1247
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1237
1248
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1238
1249
  }
1239
- function Fa(t, e) {
1250
+ function Va(t, e) {
1240
1251
  if (t) {
1241
1252
  if (typeof t == "string") return Ro(t, e);
1242
1253
  var n = {}.toString.call(t).slice(8, -1);
@@ -1248,7 +1259,7 @@ function Ro(t, e) {
1248
1259
  for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
1249
1260
  return r;
1250
1261
  }
1251
- function Va(t, e) {
1262
+ function Ka(t, e) {
1252
1263
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1253
1264
  if (n != null) {
1254
1265
  var r, o, i, a, s = [], l = !0, c = !1;
@@ -1266,7 +1277,7 @@ function Va(t, e) {
1266
1277
  return s;
1267
1278
  }
1268
1279
  }
1269
- function Ka(t) {
1280
+ function za(t) {
1270
1281
  if (Array.isArray(t)) return t;
1271
1282
  }
1272
1283
  function No(t, e) {
@@ -1283,21 +1294,21 @@ function cr(t) {
1283
1294
  for (var e = 1; e < arguments.length; e++) {
1284
1295
  var n = arguments[e] != null ? arguments[e] : {};
1285
1296
  e % 2 ? No(Object(n), !0).forEach(function(r) {
1286
- za(t, r, n[r]);
1297
+ Wa(t, r, n[r]);
1287
1298
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : No(Object(n)).forEach(function(r) {
1288
1299
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
1289
1300
  });
1290
1301
  }
1291
1302
  return t;
1292
1303
  }
1293
- function za(t, e, n) {
1294
- return (e = Wa(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1304
+ function Wa(t, e, n) {
1305
+ return (e = Ga(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1295
1306
  }
1296
- function Wa(t) {
1297
- var e = Ga(t, "string");
1307
+ function Ga(t) {
1308
+ var e = qa(t, "string");
1298
1309
  return mn(e) == "symbol" ? e : e + "";
1299
1310
  }
1300
- function Ga(t, e) {
1311
+ function qa(t, e) {
1301
1312
  if (mn(t) != "object" || !t) return t;
1302
1313
  var n = t[Symbol.toPrimitive];
1303
1314
  if (n !== void 0) {
@@ -1307,7 +1318,7 @@ function Ga(t, e) {
1307
1318
  }
1308
1319
  return (e === "string" ? String : Number)(t);
1309
1320
  }
1310
- var qa = function(e) {
1321
+ var Ya = function(e) {
1311
1322
  var n = e.dt;
1312
1323
  return `
1313
1324
  * {
@@ -1429,7 +1440,7 @@ var qa = function(e) {
1429
1440
  }
1430
1441
  }
1431
1442
  `);
1432
- }, Ya = function(e) {
1443
+ }, Xa = function(e) {
1433
1444
  var n = e.dt;
1434
1445
  return `
1435
1446
  .p-hidden-accessible {
@@ -1453,19 +1464,19 @@ var qa = function(e) {
1453
1464
  padding-right: `.concat(n("scrollbar.width"), `;
1454
1465
  }
1455
1466
  `);
1456
- }, Xa = {}, Za = {}, Ae = {
1467
+ }, Za = {}, Ja = {}, Ae = {
1457
1468
  name: "base",
1458
- css: Ya,
1459
- theme: qa,
1460
- classes: Xa,
1461
- inlineStyles: Za,
1469
+ css: Xa,
1470
+ theme: Ya,
1471
+ classes: Za,
1472
+ inlineStyles: Ja,
1462
1473
  load: function(e) {
1463
1474
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
1464
1475
  return i;
1465
1476
  }, o = r(Be(e, {
1466
1477
  dt: ur
1467
1478
  }));
1468
- return o ? Ha(an(o), cr({
1479
+ return o ? ja(an(o), cr({
1469
1480
  name: this.name
1470
1481
  }, n)) : {};
1471
1482
  },
@@ -1541,14 +1552,14 @@ function pn(t) {
1541
1552
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1542
1553
  }, pn(t);
1543
1554
  }
1544
- function Ja(t) {
1545
- return Di(t) || Qa(t) || Mi(t) || $i();
1546
- }
1547
1555
  function Qa(t) {
1556
+ return Di(t) || el(t) || Mi(t) || $i();
1557
+ }
1558
+ function el(t) {
1548
1559
  if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
1549
1560
  }
1550
1561
  function Mn(t, e) {
1551
- return Di(t) || el(t, e) || Mi(t, e) || $i();
1562
+ return Di(t) || tl(t, e) || Mi(t, e) || $i();
1552
1563
  }
1553
1564
  function $i() {
1554
1565
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -1566,7 +1577,7 @@ function Uo(t, e) {
1566
1577
  for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
1567
1578
  return r;
1568
1579
  }
1569
- function el(t, e) {
1580
+ function tl(t, e) {
1570
1581
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1571
1582
  if (n != null) {
1572
1583
  var r, o, i, a, s = [], l = !0, c = !1;
@@ -1612,13 +1623,13 @@ function G(t) {
1612
1623
  return t;
1613
1624
  }
1614
1625
  function Hn(t, e, n) {
1615
- return (e = tl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1626
+ return (e = nl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
1616
1627
  }
1617
- function tl(t) {
1618
- var e = nl(t, "string");
1628
+ function nl(t) {
1629
+ var e = rl(t, "string");
1619
1630
  return pn(e) == "symbol" ? e : e + "";
1620
1631
  }
1621
- function nl(t, e) {
1632
+ function rl(t, e) {
1622
1633
  if (pn(t) != "object" || !t) return t;
1623
1634
  var n = t[Symbol.toPrimitive];
1624
1635
  if (n !== void 0) {
@@ -1932,7 +1943,7 @@ var Xn = {
1932
1943
  var n = Mn(e, 1), r = n[0];
1933
1944
  return r == null ? void 0 : r.startsWith("pt:");
1934
1945
  }).reduce(function(e, n) {
1935
- var r = Mn(n, 2), o = r[0], i = r[1], a = o.split(":"), s = Ja(a), l = s.slice(1);
1946
+ var r = Mn(n, 2), o = r[0], i = r[1], a = o.split(":"), s = Qa(a), l = s.slice(1);
1936
1947
  return l == null || l.reduce(function(c, d, m, g) {
1937
1948
  return !c[d] && (c[d] = m === g.length - 1 ? i : {}), c[d];
1938
1949
  }, e), e;
@@ -1951,7 +1962,7 @@ var Xn = {
1951
1962
  return zn("pc");
1952
1963
  }
1953
1964
  }
1954
- }, rl = `
1965
+ }, ol = `
1955
1966
  .p-icon {
1956
1967
  display: inline-block;
1957
1968
  vertical-align: baseline;
@@ -1983,9 +1994,9 @@ var Xn = {
1983
1994
  transform: rotate(359deg);
1984
1995
  }
1985
1996
  }
1986
- `, ol = Ae.extend({
1997
+ `, il = Ae.extend({
1987
1998
  name: "baseicon",
1988
- css: rl
1999
+ css: ol
1989
2000
  });
1990
2001
  function hn(t) {
1991
2002
  "@babel/helpers - typeof";
@@ -2009,21 +2020,21 @@ function Fo(t) {
2009
2020
  for (var e = 1; e < arguments.length; e++) {
2010
2021
  var n = arguments[e] != null ? arguments[e] : {};
2011
2022
  e % 2 ? jo(Object(n), !0).forEach(function(r) {
2012
- il(t, r, n[r]);
2023
+ sl(t, r, n[r]);
2013
2024
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : jo(Object(n)).forEach(function(r) {
2014
2025
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
2015
2026
  });
2016
2027
  }
2017
2028
  return t;
2018
2029
  }
2019
- function il(t, e, n) {
2020
- return (e = sl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2030
+ function sl(t, e, n) {
2031
+ return (e = al(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2021
2032
  }
2022
- function sl(t) {
2023
- var e = al(t, "string");
2033
+ function al(t) {
2034
+ var e = ll(t, "string");
2024
2035
  return hn(e) == "symbol" ? e : e + "";
2025
2036
  }
2026
- function al(t, e) {
2037
+ function ll(t, e) {
2027
2038
  if (hn(t) != "object" || !t) return t;
2028
2039
  var n = t[Symbol.toPrimitive];
2029
2040
  if (n !== void 0) {
@@ -2046,7 +2057,7 @@ var Ri = {
2046
2057
  default: !1
2047
2058
  }
2048
2059
  },
2049
- style: ol,
2060
+ style: il,
2050
2061
  provide: function() {
2051
2062
  return {
2052
2063
  $pcIcon: this,
@@ -2070,38 +2081,38 @@ var Ri = {
2070
2081
  }, jr = {
2071
2082
  name: "ChevronDownIcon",
2072
2083
  extends: Ri
2073
- }, ll = /* @__PURE__ */ M("path", {
2084
+ }, ul = /* @__PURE__ */ M("path", {
2074
2085
  d: "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",
2075
2086
  fill: "currentColor"
2076
- }, null, -1), ul = [ll];
2077
- function cl(t, e, n, r, o, i) {
2087
+ }, null, -1), cl = [ul];
2088
+ function dl(t, e, n, r, o, i) {
2078
2089
  return O(), U("svg", W({
2079
2090
  width: "14",
2080
2091
  height: "14",
2081
2092
  viewBox: "0 0 14 14",
2082
2093
  fill: "none",
2083
2094
  xmlns: "http://www.w3.org/2000/svg"
2084
- }, t.pti()), ul, 16);
2095
+ }, t.pti()), cl, 16);
2085
2096
  }
2086
- jr.render = cl;
2097
+ jr.render = dl;
2087
2098
  var Fr = {
2088
2099
  name: "ChevronRightIcon",
2089
2100
  extends: Ri
2090
- }, dl = /* @__PURE__ */ M("path", {
2101
+ }, fl = /* @__PURE__ */ M("path", {
2091
2102
  d: "M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",
2092
2103
  fill: "currentColor"
2093
- }, null, -1), fl = [dl];
2094
- function ml(t, e, n, r, o, i) {
2104
+ }, null, -1), ml = [fl];
2105
+ function pl(t, e, n, r, o, i) {
2095
2106
  return O(), U("svg", W({
2096
2107
  width: "14",
2097
2108
  height: "14",
2098
2109
  viewBox: "0 0 14 14",
2099
2110
  fill: "none",
2100
2111
  xmlns: "http://www.w3.org/2000/svg"
2101
- }, t.pti()), fl, 16);
2112
+ }, t.pti()), ml, 16);
2102
2113
  }
2103
- Fr.render = ml;
2104
- var pl = function(e) {
2114
+ Fr.render = pl;
2115
+ var hl = function(e) {
2105
2116
  var n = e.dt;
2106
2117
  return `
2107
2118
  .p-panelmenu {
@@ -2247,7 +2258,7 @@ var pl = function(e) {
2247
2258
  color: `).concat(n("panelmenu.submenu.icon.focus.color"), `;
2248
2259
  }
2249
2260
  `);
2250
- }, hl = {
2261
+ }, gl = {
2251
2262
  root: "p-panelmenu p-component",
2252
2263
  panel: "p-panelmenu-panel",
2253
2264
  header: function(e) {
@@ -2278,10 +2289,10 @@ var pl = function(e) {
2278
2289
  submenuIcon: "p-panelmenu-submenu-icon",
2279
2290
  submenu: "p-panelmenu-submenu",
2280
2291
  separator: "p-menuitem-separator"
2281
- }, gl = Ae.extend({
2292
+ }, yl = Ae.extend({
2282
2293
  name: "panelmenu",
2283
- theme: pl,
2284
- classes: hl
2294
+ theme: hl,
2295
+ classes: gl
2285
2296
  }), Vo = Ti();
2286
2297
  function gn(t) {
2287
2298
  "@babel/helpers - typeof";
@@ -2292,13 +2303,13 @@ function gn(t) {
2292
2303
  }, gn(t);
2293
2304
  }
2294
2305
  function Ko(t, e) {
2295
- return wl(t) || bl(t, e) || vl(t, e) || yl();
2306
+ return _l(t) || wl(t, e) || bl(t, e) || vl();
2296
2307
  }
2297
- function yl() {
2308
+ function vl() {
2298
2309
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2299
2310
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2300
2311
  }
2301
- function vl(t, e) {
2312
+ function bl(t, e) {
2302
2313
  if (t) {
2303
2314
  if (typeof t == "string") return zo(t, e);
2304
2315
  var n = {}.toString.call(t).slice(8, -1);
@@ -2310,7 +2321,7 @@ function zo(t, e) {
2310
2321
  for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
2311
2322
  return r;
2312
2323
  }
2313
- function bl(t, e) {
2324
+ function wl(t, e) {
2314
2325
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
2315
2326
  if (n != null) {
2316
2327
  var r, o, i, a, s = [], l = !0, c = !1;
@@ -2328,7 +2339,7 @@ function bl(t, e) {
2328
2339
  return s;
2329
2340
  }
2330
2341
  }
2331
- function wl(t) {
2342
+ function _l(t) {
2332
2343
  if (Array.isArray(t)) return t;
2333
2344
  }
2334
2345
  function Wo(t, e) {
@@ -2353,13 +2364,13 @@ function Z(t) {
2353
2364
  return t;
2354
2365
  }
2355
2366
  function Cr(t, e, n) {
2356
- return (e = _l(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2367
+ return (e = Sl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2357
2368
  }
2358
- function _l(t) {
2359
- var e = Sl(t, "string");
2369
+ function Sl(t) {
2370
+ var e = kl(t, "string");
2360
2371
  return gn(e) == "symbol" ? e : e + "";
2361
2372
  }
2362
- function Sl(t, e) {
2373
+ function kl(t, e) {
2363
2374
  if (gn(t) != "object" || !t) return t;
2364
2375
  var n = t[Symbol.toPrimitive];
2365
2376
  if (n !== void 0) {
@@ -2478,7 +2489,7 @@ var K = {
2478
2489
  gt.clearLoadedStyleNames(), ct.on("theme:change", e);
2479
2490
  },
2480
2491
  _hook: function(e, n, r, o, i, a) {
2481
- var s, l, c = "on".concat(Ca(n)), d = K._getConfig(o, i), m = r == null ? void 0 : r.$instance, g = K._usePT(m, K._getPT(o == null || (s = o.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(c)), w = K._useDefaultPT(m, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(c)), k = {
2492
+ var s, l, c = "on".concat(Ia(n)), d = K._getConfig(o, i), m = r == null ? void 0 : r.$instance, g = K._usePT(m, K._getPT(o == null || (s = o.value) === null || s === void 0 ? void 0 : s.pt, e), K._getOptionValue, "hooks.".concat(c)), w = K._useDefaultPT(m, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(c)), k = {
2482
2493
  el: r,
2483
2494
  binding: o,
2484
2495
  vnode: i,
@@ -2600,7 +2611,7 @@ var K = {
2600
2611
  }
2601
2612
  }, K._extend(r, o));
2602
2613
  }
2603
- }, kl = function(e) {
2614
+ }, Cl = function(e) {
2604
2615
  var n = e.dt;
2605
2616
  return `
2606
2617
  .p-ink {
@@ -2623,14 +2634,14 @@ var K = {
2623
2634
  }
2624
2635
  }
2625
2636
  `);
2626
- }, Cl = {
2637
+ }, Il = {
2627
2638
  root: "p-ink"
2628
- }, Il = Ae.extend({
2639
+ }, Tl = Ae.extend({
2629
2640
  name: "ripple-directive",
2630
- theme: kl,
2631
- classes: Cl
2632
- }), Tl = K.extend({
2633
- style: Il
2641
+ theme: Cl,
2642
+ classes: Il
2643
+ }), Al = K.extend({
2644
+ style: Tl
2634
2645
  });
2635
2646
  function yn(t) {
2636
2647
  "@babel/helpers - typeof";
@@ -2640,24 +2651,24 @@ function yn(t) {
2640
2651
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2641
2652
  }, yn(t);
2642
2653
  }
2643
- function Al(t) {
2644
- return Ll(t) || xl(t) || El(t) || Pl();
2654
+ function Pl(t) {
2655
+ return Ol(t) || Ll(t) || xl(t) || El();
2645
2656
  }
2646
- function Pl() {
2657
+ function El() {
2647
2658
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2648
2659
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2649
2660
  }
2650
- function El(t, e) {
2661
+ function xl(t, e) {
2651
2662
  if (t) {
2652
2663
  if (typeof t == "string") return Ir(t, e);
2653
2664
  var n = {}.toString.call(t).slice(8, -1);
2654
2665
  return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ir(t, e) : void 0;
2655
2666
  }
2656
2667
  }
2657
- function xl(t) {
2668
+ function Ll(t) {
2658
2669
  if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
2659
2670
  }
2660
- function Ll(t) {
2671
+ function Ol(t) {
2661
2672
  if (Array.isArray(t)) return Ir(t);
2662
2673
  }
2663
2674
  function Ir(t, e) {
@@ -2666,13 +2677,13 @@ function Ir(t, e) {
2666
2677
  return r;
2667
2678
  }
2668
2679
  function Go(t, e, n) {
2669
- return (e = Ol(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2680
+ return (e = $l(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
2670
2681
  }
2671
- function Ol(t) {
2672
- var e = $l(t, "string");
2682
+ function $l(t) {
2683
+ var e = Ml(t, "string");
2673
2684
  return yn(e) == "symbol" ? e : e + "";
2674
2685
  }
2675
- function $l(t, e) {
2686
+ function Ml(t, e) {
2676
2687
  if (yn(t) != "object" || !t) return t;
2677
2688
  var n = t[Symbol.toPrimitive];
2678
2689
  if (n !== void 0) {
@@ -2682,7 +2693,7 @@ function $l(t, e) {
2682
2693
  }
2683
2694
  return (e === "string" ? String : Number)(t);
2684
2695
  }
2685
- var Ml = Tl.extend("ripple", {
2696
+ var Dl = Al.extend("ripple", {
2686
2697
  watch: {
2687
2698
  "config.ripple": function(e) {
2688
2699
  e ? (this.createRipple(this.$host), this.bindEvents(this.$host), this.$host.setAttribute("data-pd-ripple", !0), this.$host.style.overflow = "hidden", this.$host.style.position = "relative") : (this.remove(this.$host), this.$host.removeAttribute("data-pd-ripple"));
@@ -2700,7 +2711,7 @@ var Ml = Tl.extend("ripple", {
2700
2711
  e.removeEventListener("mousedown", this.onMouseDown.bind(this));
2701
2712
  },
2702
2713
  createRipple: function(e) {
2703
- var n = ga("span", Go(Go({
2714
+ var n = ya("span", Go(Go({
2704
2715
  role: "presentation",
2705
2716
  "aria-hidden": !0,
2706
2717
  "data-p-ink": !0,
@@ -2718,11 +2729,11 @@ var Ml = Tl.extend("ripple", {
2718
2729
  var n = this, r = e.currentTarget, o = this.getInk(r);
2719
2730
  if (!(!o || getComputedStyle(o, null).display === "none")) {
2720
2731
  if (!this.isUnstyled() && ar(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"), !To(o) && !Ao(o)) {
2721
- var i = Math.max(ha(r), ba(r));
2732
+ var i = Math.max(ga(r), wa(r));
2722
2733
  o.style.height = i + "px", o.style.width = i + "px";
2723
2734
  }
2724
- var a = va(r), s = e.pageX - a.left + document.body.scrollTop - Ao(o) / 2, l = e.pageY - a.top + document.body.scrollLeft - To(o) / 2;
2725
- o.style.top = l + "px", o.style.left = s + "px", !this.isUnstyled() && pa(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2735
+ var a = ba(r), s = e.pageX - a.left + document.body.scrollTop - Ao(o) / 2, l = e.pageY - a.top + document.body.scrollLeft - To(o) / 2;
2736
+ o.style.top = l + "px", o.style.left = s + "px", !this.isUnstyled() && ha(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2726
2737
  o && (!n.isUnstyled() && ar(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"));
2727
2738
  }, 401);
2728
2739
  }
@@ -2731,12 +2742,12 @@ var Ml = Tl.extend("ripple", {
2731
2742
  this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && ar(e.currentTarget, "p-ink-active"), e.currentTarget.setAttribute("data-p-ink-active", "false");
2732
2743
  },
2733
2744
  getInk: function(e) {
2734
- return e && e.children ? Al(e.children).find(function(n) {
2745
+ return e && e.children ? Pl(e.children).find(function(n) {
2735
2746
  return rn(n, "data-pc-name") === "ripple";
2736
2747
  }) : void 0;
2737
2748
  }
2738
2749
  }
2739
- }), Dl = {
2750
+ }), Rl = {
2740
2751
  name: "BasePanelMenu",
2741
2752
  extends: Xn,
2742
2753
  props: {
@@ -2757,7 +2768,7 @@ var Ml = Tl.extend("ripple", {
2757
2768
  default: 0
2758
2769
  }
2759
2770
  },
2760
- style: gl,
2771
+ style: yl,
2761
2772
  provide: function() {
2762
2773
  return {
2763
2774
  $pcPanelMenu: this,
@@ -2894,13 +2905,13 @@ var Ml = Tl.extend("ripple", {
2894
2905
  ChevronDownIcon: jr
2895
2906
  },
2896
2907
  directives: {
2897
- ripple: Ml
2908
+ ripple: Dl
2898
2909
  }
2899
- }, Rl = ["tabindex"], Nl = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], Bl = ["onClick", "onMousemove"], Ul = ["href", "target"];
2900
- function Hl(t, e, n, r, o, i) {
2910
+ }, Nl = ["tabindex"], Bl = ["id", "aria-label", "aria-expanded", "aria-level", "aria-setsize", "aria-posinset", "data-p-focused", "data-p-disabled"], Ul = ["onClick", "onMousemove"], Hl = ["href", "target"];
2911
+ function jl(t, e, n, r, o, i) {
2901
2912
  var a = _n("PanelMenuSub", !0), s = Ks("ripple");
2902
2913
  return O(), U("ul", {
2903
- class: te(t.cx("submenu")),
2914
+ class: ee(t.cx("submenu")),
2904
2915
  tabindex: n.tabindex
2905
2916
  }, [(O(!0), U(Xe, null, $r(n.items, function(l, c) {
2906
2917
  return O(), U(Xe, {
@@ -2960,7 +2971,7 @@ function Hl(t, e, n, r, o, i) {
2960
2971
  }, i.getPTOptions("submenuIcon", l, c)), null, 16, ["class"]))], 64)) : se("", !0), n.templates.itemicon ? (O(), ce(yt(n.templates.itemicon), {
2961
2972
  key: 1,
2962
2973
  item: l.item,
2963
- class: te(t.cx("itemIcon"))
2974
+ class: ee(t.cx("itemIcon"))
2964
2975
  }, null, 8, ["item", "class"])) : i.getItemProp(l, "icon") ? (O(), U("span", W({
2965
2976
  key: 2,
2966
2977
  class: [t.cx("itemIcon"), i.getItemProp(l, "icon")],
@@ -2968,7 +2979,7 @@ function Hl(t, e, n, r, o, i) {
2968
2979
  }, i.getPTOptions("itemIcon", l, c)), null, 16)) : se("", !0), M("span", W({
2969
2980
  class: t.cx("itemLabel"),
2970
2981
  ref_for: !0
2971
- }, i.getPTOptions("itemLabel", l, c)), Le(i.getItemLabel(l)), 17)], 16, Ul)), [[s]])], 16, Bl), Te(Dr, W({
2982
+ }, i.getPTOptions("itemLabel", l, c)), Le(i.getItemLabel(l)), 17)], 16, Hl)), [[s]])], 16, Ul), Te(Dr, W({
2972
2983
  name: "p-toggleable-content",
2973
2984
  ref_for: !0
2974
2985
  }, t.ptm("transition")), {
@@ -2996,24 +3007,24 @@ function Hl(t, e, n, r, o, i) {
2996
3007
  }, t.ptm("submenu")), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : se("", !0)], 16), [[ki, i.isItemActive(l)]])];
2997
3008
  }),
2998
3009
  _: 2
2999
- }, 1040)], 16, Nl)) : se("", !0), i.isItemVisible(l) && i.getItemProp(l, "separator") ? (O(), U("li", W({
3010
+ }, 1040)], 16, Bl)) : se("", !0), i.isItemVisible(l) && i.getItemProp(l, "separator") ? (O(), U("li", W({
3000
3011
  key: 1,
3001
3012
  style: i.getItemProp(l, "style"),
3002
3013
  class: [t.cx("separator"), i.getItemProp(l, "class")],
3003
3014
  role: "separator",
3004
3015
  ref_for: !0
3005
3016
  }, t.ptm("separator")), null, 16)) : se("", !0)], 64);
3006
- }), 128))], 10, Rl);
3017
+ }), 128))], 10, Nl);
3007
3018
  }
3008
- Ni.render = Hl;
3009
- function jl(t, e) {
3010
- return zl(t) || Kl(t, e) || Vl(t, e) || Fl();
3019
+ Ni.render = jl;
3020
+ function Fl(t, e) {
3021
+ return Wl(t) || zl(t, e) || Kl(t, e) || Vl();
3011
3022
  }
3012
- function Fl() {
3023
+ function Vl() {
3013
3024
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3014
3025
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3015
3026
  }
3016
- function Vl(t, e) {
3027
+ function Kl(t, e) {
3017
3028
  if (t) {
3018
3029
  if (typeof t == "string") return qo(t, e);
3019
3030
  var n = {}.toString.call(t).slice(8, -1);
@@ -3025,7 +3036,7 @@ function qo(t, e) {
3025
3036
  for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
3026
3037
  return r;
3027
3038
  }
3028
- function Kl(t, e) {
3039
+ function zl(t, e) {
3029
3040
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3030
3041
  if (n != null) {
3031
3042
  var r, o, i, a, s = [], l = !0, c = !1;
@@ -3043,7 +3054,7 @@ function Kl(t, e) {
3043
3054
  return s;
3044
3055
  }
3045
3056
  }
3046
- function zl(t) {
3057
+ function Wl(t) {
3047
3058
  if (Array.isArray(t)) return t;
3048
3059
  }
3049
3060
  var Bi = {
@@ -3150,7 +3161,7 @@ var Bi = {
3150
3161
  case "ShiftRight":
3151
3162
  break;
3152
3163
  default:
3153
- !n && ka(e.key) && this.searchItems(e, e.key);
3164
+ !n && Ca(e.key) && this.searchItems(e, e.key);
3154
3165
  break;
3155
3166
  }
3156
3167
  },
@@ -3318,7 +3329,7 @@ var Bi = {
3318
3329
  autoUpdateActiveItemPath: function(e) {
3319
3330
  var n = this;
3320
3331
  this.activeItemPath = Object.entries(e || {}).reduce(function(r, o) {
3321
- var i = jl(o, 2), a = i[0], s = i[1];
3332
+ var i = Fl(o, 2), a = i[0], s = i[1];
3322
3333
  if (s) {
3323
3334
  var l = n.findProcessedItemByItemKey(a);
3324
3335
  l && r.push(l);
@@ -3372,7 +3383,7 @@ var Bi = {
3372
3383
  PanelMenuSub: Ni
3373
3384
  }
3374
3385
  };
3375
- function Wl(t, e, n, r, o, i) {
3386
+ function Gl(t, e, n, r, o, i) {
3376
3387
  var a = _n("PanelMenuSub");
3377
3388
  return O(), ce(a, W({
3378
3389
  id: n.panelId + "_list",
@@ -3394,7 +3405,7 @@ function Wl(t, e, n, r, o, i) {
3394
3405
  unstyled: t.unstyled
3395
3406
  }, t.ptm("rootList")), null, 16, ["id", "class", "aria-activedescendant", "panelId", "focusedItemId", "items", "templates", "activeItemPath", "onFocus", "onBlur", "onKeydown", "onItemToggle", "onItemMousemove", "pt", "unstyled"]);
3396
3407
  }
3397
- Bi.render = Wl;
3408
+ Bi.render = Gl;
3398
3409
  function vn(t) {
3399
3410
  "@babel/helpers - typeof";
3400
3411
  return vn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -3413,25 +3424,25 @@ function Yo(t, e) {
3413
3424
  }
3414
3425
  return n;
3415
3426
  }
3416
- function Gl(t) {
3427
+ function ql(t) {
3417
3428
  for (var e = 1; e < arguments.length; e++) {
3418
3429
  var n = arguments[e] != null ? arguments[e] : {};
3419
3430
  e % 2 ? Yo(Object(n), !0).forEach(function(r) {
3420
- ql(t, r, n[r]);
3431
+ Yl(t, r, n[r]);
3421
3432
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Yo(Object(n)).forEach(function(r) {
3422
3433
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
3423
3434
  });
3424
3435
  }
3425
3436
  return t;
3426
3437
  }
3427
- function ql(t, e, n) {
3428
- return (e = Yl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
3438
+ function Yl(t, e, n) {
3439
+ return (e = Xl(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
3429
3440
  }
3430
- function Yl(t) {
3431
- var e = Xl(t, "string");
3441
+ function Xl(t) {
3442
+ var e = Zl(t, "string");
3432
3443
  return vn(e) == "symbol" ? e : e + "";
3433
3444
  }
3434
- function Xl(t, e) {
3445
+ function Zl(t, e) {
3435
3446
  if (vn(t) != "object" || !t) return t;
3436
3447
  var n = t[Symbol.toPrimitive];
3437
3448
  if (n !== void 0) {
@@ -3443,7 +3454,7 @@ function Xl(t, e) {
3443
3454
  }
3444
3455
  var Ui = {
3445
3456
  name: "PanelMenu",
3446
- extends: Dl,
3457
+ extends: Rl,
3447
3458
  inheritAttrs: !1,
3448
3459
  emits: ["update:expandedKeys", "panel-open", "panel-close"],
3449
3460
  data: function() {
@@ -3597,7 +3608,7 @@ var Ui = {
3597
3608
  changeExpandedKeys: function(e) {
3598
3609
  var n = e.item, r = e.expanded, o = r === void 0 ? !1 : r;
3599
3610
  if (this.expandedKeys) {
3600
- var i = Gl({}, this.expandedKeys);
3611
+ var i = ql({}, this.expandedKeys);
3601
3612
  o ? i[n.key] = !0 : delete i[n.key], this.$emit("update:expandedKeys", i);
3602
3613
  }
3603
3614
  },
@@ -3620,8 +3631,8 @@ var Ui = {
3620
3631
  ChevronRightIcon: Fr,
3621
3632
  ChevronDownIcon: jr
3622
3633
  }
3623
- }, Zl = ["id"], Jl = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], Ql = ["href"], eu = ["id", "aria-labelledby"];
3624
- function tu(t, e, n, r, o, i) {
3634
+ }, Jl = ["id"], Ql = ["id", "tabindex", "aria-label", "aria-expanded", "aria-controls", "aria-disabled", "onClick", "onKeydown", "data-p-active", "data-p-disabled"], eu = ["href"], tu = ["id", "aria-labelledby"];
3635
+ function nu(t, e, n, r, o, i) {
3625
3636
  var a = _n("PanelMenuList");
3626
3637
  return O(), U("div", W({
3627
3638
  id: o.id,
@@ -3683,7 +3694,7 @@ function tu(t, e, n, r, o, i) {
3683
3694
  }) : se("", !0), t.$slots.headericon ? (O(), ce(yt(t.$slots.headericon), {
3684
3695
  key: 1,
3685
3696
  item: s,
3686
- class: te([t.cx("headerIcon"), i.getItemProp(s, "icon")])
3697
+ class: ee([t.cx("headerIcon"), i.getItemProp(s, "icon")])
3687
3698
  }, null, 8, ["item", "class"])) : i.getItemProp(s, "icon") ? (O(), U("span", W({
3688
3699
  key: 2,
3689
3700
  class: [t.cx("headerIcon"), i.getItemProp(s, "icon")],
@@ -3691,7 +3702,7 @@ function tu(t, e, n, r, o, i) {
3691
3702
  }, i.getPTOptions("headerIcon", s, l)), null, 16)) : se("", !0), M("span", W({
3692
3703
  class: t.cx("headerLabel"),
3693
3704
  ref_for: !0
3694
- }, i.getPTOptions("headerLabel", s, l)), Le(i.getItemLabel(s)), 17)], 16, Ql))], 16)], 16, Jl), Te(Dr, W({
3705
+ }, i.getPTOptions("headerLabel", s, l)), Le(i.getItemLabel(s)), 17)], 16, eu))], 16)], 16, Ql), Te(Dr, W({
3695
3706
  name: "p-toggleable-content",
3696
3707
  ref_for: !0
3697
3708
  }, t.ptm("transition")), {
@@ -3715,26 +3726,26 @@ function tu(t, e, n, r, o, i) {
3715
3726
  onHeaderFocus: i.updateFocusedHeader,
3716
3727
  pt: t.pt,
3717
3728
  unstyled: t.unstyled
3718
- }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, eu), [[ki, i.isItemActive(s)]])];
3729
+ }, null, 8, ["panelId", "items", "templates", "expandedKeys", "onItemToggle", "onHeaderFocus", "pt", "unstyled"])], 16)) : se("", !0)], 16, tu), [[ki, i.isItemActive(s)]])];
3719
3730
  }),
3720
3731
  _: 2
3721
3732
  }, 1040)], 16)) : se("", !0)], 64);
3722
- }), 128))], 16, Zl);
3733
+ }), 128))], 16, Jl);
3723
3734
  }
3724
- Ui.render = tu;
3725
- const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou = {
3735
+ Ui.render = nu;
3736
+ const ru = { class: "panel-menu-wrapper select-none" }, ou = ["data-active", "onClick"], iu = {
3726
3737
  key: 0,
3727
3738
  class: "material-symbols-outlined item-menu-icon-left"
3728
- }, iu = ["textContent"], su = ["onClick"], au = {
3739
+ }, su = ["textContent"], au = ["onClick"], lu = {
3729
3740
  key: 0,
3730
3741
  class: "material-symbols-outlined item-menu-icon-left"
3731
- }, lu = ["textContent"], uu = {
3742
+ }, uu = ["textContent"], cu = {
3732
3743
  key: 2,
3733
- class: /* @__PURE__ */ te(["item-menu sf-ripple"])
3734
- }, cu = {
3744
+ class: /* @__PURE__ */ ee(["item-menu"])
3745
+ }, du = {
3735
3746
  key: 0,
3736
3747
  class: "material-symbols-outlined item-menu-icon-left"
3737
- }, du = ["textContent"], fu = /* @__PURE__ */ Me({
3748
+ }, fu = ["textContent"], mu = /* @__PURE__ */ Me({
3738
3749
  __name: "NavMenu",
3739
3750
  props: {
3740
3751
  items: {}
@@ -3747,7 +3758,7 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3747
3758
  }, o = (i) => typeof i.label == "function" ? i.label() : i.label ?? "Item";
3748
3759
  return (i, a) => {
3749
3760
  const s = _n("router-link");
3750
- return O(), U("div", nu, [
3761
+ return O(), U("div", ru, [
3751
3762
  Te(ie(Ui), {
3752
3763
  model: e.items,
3753
3764
  unstyled: !0
@@ -3760,43 +3771,39 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3760
3771
  }, {
3761
3772
  default: mt(({ navigate: d, isActive: m }) => [
3762
3773
  M("a", {
3763
- class: te([
3774
+ class: ee([
3764
3775
  "item-menu",
3765
3776
  {
3766
- "sf-ripple": !l.disabled,
3767
3777
  disabled: l.disabled
3768
3778
  }
3769
3779
  ]),
3770
3780
  "data-active": m,
3771
3781
  onClick: wr((g) => n(l, d), ["prevent"])
3772
3782
  }, [
3773
- l.icon ? (O(), U("span", ou, Le(l.icon), 1)) : se("", !0),
3783
+ l.icon ? (O(), U("span", iu, Le(l.icon), 1)) : se("", !0),
3774
3784
  M("span", {
3775
3785
  textContent: Le(o(l))
3776
- }, null, 8, iu)
3777
- ], 10, ru)
3786
+ }, null, 8, su)
3787
+ ], 10, ou)
3778
3788
  ]),
3779
3789
  _: 2
3780
3790
  }, 1032, ["to"])) : typeof l.command == "function" ? (O(), U("span", {
3781
3791
  key: 1,
3782
- class: te([
3783
- "item-menu",
3784
- { "sf-ripple": !l.disabled, disabled: l.disabled }
3785
- ]),
3792
+ class: ee(["item-menu", { disabled: l.disabled }]),
3786
3793
  onClick: wr((d) => r(d, l), ["stop"])
3787
3794
  }, [
3788
- l.icon ? (O(), U("span", au, Le(l.icon), 1)) : se("", !0),
3795
+ l.icon ? (O(), U("span", lu, Le(l.icon), 1)) : se("", !0),
3789
3796
  M("span", {
3790
3797
  textContent: Le(o(l))
3791
- }, null, 8, lu)
3792
- ], 10, su)) : (O(), U("a", uu, [
3793
- l.icon ? (O(), U("span", cu, Le(l.icon), 1)) : se("", !0),
3798
+ }, null, 8, uu)
3799
+ ], 10, au)) : (O(), U("a", cu, [
3800
+ l.icon ? (O(), U("span", du, Le(l.icon), 1)) : se("", !0),
3794
3801
  M("span", {
3795
3802
  textContent: Le(o(l))
3796
- }, null, 8, du),
3803
+ }, null, 8, fu),
3797
3804
  a[0] || (a[0] = M("div", { class: "sep" }, null, -1)),
3798
3805
  M("span", {
3799
- class: te([
3806
+ class: ee([
3800
3807
  "material-symbols-outlined arrow",
3801
3808
  { "--expand": c }
3802
3809
  ])
@@ -3808,7 +3815,7 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3808
3815
  ]);
3809
3816
  };
3810
3817
  }
3811
- }), Tm = /* @__PURE__ */ _t(fu, [["__scopeId", "data-v-4510e33e"]]), Am = /* @__PURE__ */ Me({
3818
+ }), Tm = /* @__PURE__ */ _t(mu, [["__scopeId", "data-v-cf31441a"]]), Am = /* @__PURE__ */ Me({
3812
3819
  __name: "HelpButton",
3813
3820
  props: {
3814
3821
  title: {},
@@ -3840,7 +3847,7 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3840
3847
  onClick: r
3841
3848
  }, null, 8, ["icon", "size", "filled", "color", "tooltip"])
3842
3849
  ]),
3843
- Te(da, {
3850
+ Te(fa, {
3844
3851
  visible: n.value,
3845
3852
  "onUpdate:visible": i[0] || (i[0] = (a) => n.value = a),
3846
3853
  position: "center"
@@ -3855,7 +3862,7 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3855
3862
  }, 8, ["visible"])
3856
3863
  ], 64));
3857
3864
  }
3858
- }), mu = /* @__PURE__ */ Me({
3865
+ }), pu = /* @__PURE__ */ Me({
3859
3866
  __name: "LoadingCircle",
3860
3867
  props: {
3861
3868
  delay: {},
@@ -3869,7 +3876,7 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3869
3876
  ), n.value = !0;
3870
3877
  }), (r, o) => n.value ? (O(), U("div", {
3871
3878
  key: 0,
3872
- class: te(["loading-circle", { dense: e.dense }])
3879
+ class: ee(["loading-circle", { dense: e.dense }])
3873
3880
  }, o[0] || (o[0] = [
3874
3881
  M("div", null, [
3875
3882
  M("svg", { viewBox: "25 25 50 50" }, [
@@ -3885,7 +3892,7 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3885
3892
  ], -1)
3886
3893
  ]), 2)) : se("", !0);
3887
3894
  }
3888
- }), Pm = /* @__PURE__ */ _t(mu, [["__scopeId", "data-v-d74f2b72"]]), pu = /* @__PURE__ */ Me({
3895
+ }), Pm = /* @__PURE__ */ _t(pu, [["__scopeId", "data-v-d74f2b72"]]), hu = /* @__PURE__ */ Me({
3889
3896
  __name: "Content",
3890
3897
  props: {
3891
3898
  fluid: { type: Boolean }
@@ -3893,13 +3900,13 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou
3893
3900
  setup(t) {
3894
3901
  const e = t;
3895
3902
  return Mr(), (n, r) => (O(), U("div", {
3896
- class: te(["sf-content-wrapper", { "--fluid": e.fluid }])
3903
+ class: ee(["sf-content-wrapper", { "--fluid": e.fluid }])
3897
3904
  }, [
3898
3905
  fe(n.$slots, "default", {}, void 0, !0)
3899
3906
  ], 2));
3900
3907
  }
3901
- }), Em = /* @__PURE__ */ _t(pu, [["__scopeId", "data-v-32e5acfa"]]), Hi = Symbol();
3902
- class hu {
3908
+ }), Em = /* @__PURE__ */ _t(hu, [["__scopeId", "data-v-32e5acfa"]]), Hi = Symbol();
3909
+ class gu {
3903
3910
  get storedTheme() {
3904
3911
  return localStorage.getItem("color-scheme");
3905
3912
  }
@@ -3928,7 +3935,7 @@ class hu {
3928
3935
  localStorage.removeItem("color-scheme");
3929
3936
  }
3930
3937
  }
3931
- const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
3938
+ const Xt = new gu(), ji = "SweetAlert2:", yu = (t) => {
3932
3939
  const e = [];
3933
3940
  for (let n = 0; n < t.length; n++)
3934
3941
  e.indexOf(t[n]) === -1 && e.push(t[n]);
@@ -3937,10 +3944,10 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
3937
3944
  console.warn(`${ji} ${typeof t == "object" ? t.join(" ") : t}`);
3938
3945
  }, xt = (t) => {
3939
3946
  console.error(`${ji} ${t}`);
3940
- }, Xo = [], yu = (t) => {
3947
+ }, Xo = [], vu = (t) => {
3941
3948
  Xo.includes(t) || (Xo.push(t), De(t));
3942
- }, vu = (t, e) => {
3943
- yu(
3949
+ }, bu = (t, e) => {
3950
+ vu(
3944
3951
  `"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`
3945
3952
  );
3946
3953
  }, Zn = (t) => typeof t == "function" ? t() : t, Kr = (t) => t && typeof t.toPromise == "function", Sn = (t) => Kr(t) ? t.toPromise() : Promise.resolve(t), zr = (t) => t && Promise.resolve(t) === t, Bt = {
@@ -4031,7 +4038,7 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4031
4038
  didClose: void 0,
4032
4039
  didDestroy: void 0,
4033
4040
  scrollbarPadding: !0
4034
- }, bu = [
4041
+ }, wu = [
4035
4042
  "allowEscapeKey",
4036
4043
  "allowOutsideClick",
4037
4044
  "background",
@@ -4075,7 +4082,7 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4075
4082
  "title",
4076
4083
  "titleText",
4077
4084
  "willClose"
4078
- ], wu = {}, _u = [
4085
+ ], _u = {}, Su = [
4079
4086
  "allowOutsideClick",
4080
4087
  "allowEnterKey",
4081
4088
  "backdrop",
@@ -4085,20 +4092,20 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4085
4092
  "returnFocus",
4086
4093
  "heightAuto",
4087
4094
  "keydownListenerCapture"
4088
- ], Fi = (t) => Object.prototype.hasOwnProperty.call(Bt, t), Vi = (t) => bu.indexOf(t) !== -1, Tr = (t) => wu[t], Su = (t) => {
4095
+ ], Fi = (t) => Object.prototype.hasOwnProperty.call(Bt, t), Vi = (t) => wu.indexOf(t) !== -1, Tr = (t) => _u[t], ku = (t) => {
4089
4096
  Fi(t) || De(`Unknown parameter "${t}"`);
4090
- }, ku = (t) => {
4091
- _u.includes(t) && De(`The parameter "${t}" is incompatible with toasts`);
4092
4097
  }, Cu = (t) => {
4093
- Tr(t) && vu(t, Tr(t));
4098
+ Su.includes(t) && De(`The parameter "${t}" is incompatible with toasts`);
4094
4099
  }, Iu = (t) => {
4100
+ Tr(t) && bu(t, Tr(t));
4101
+ }, Tu = (t) => {
4095
4102
  !t.backdrop && t.allowOutsideClick && De('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');
4096
4103
  for (const e in t)
4097
- Su(e), t.toast && ku(e), Cu(e);
4098
- }, Tu = "swal2-", Ki = (t) => {
4104
+ ku(e), t.toast && Cu(e), Iu(e);
4105
+ }, Au = "swal2-", Ki = (t) => {
4099
4106
  const e = {};
4100
4107
  for (const n in t)
4101
- e[t[n]] = Tu + t[n];
4108
+ e[t[n]] = Au + t[n];
4102
4109
  return e;
4103
4110
  }, h = Ki([
4104
4111
  "container",
@@ -4173,7 +4180,7 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4173
4180
  ]), ln = Ki(["success", "warning", "info", "question", "error"]), Se = () => document.body.querySelector(`.${h.container}`), kn = (t) => {
4174
4181
  const e = Se();
4175
4182
  return e ? e.querySelector(t) : null;
4176
- }, ze = (t) => kn(`.${t}`), ee = () => ze(h.popup), Cn = () => ze(h.icon), zi = () => ze(h.title), Gn = () => ze(h["html-container"]), Wi = () => ze(h.image), Gi = () => ze(h["progress-steps"]), Jn = () => ze(h["validation-message"]), Ze = () => kn(`.${h.actions} .${h.confirm}`), wt = () => kn(`.${h.actions} .${h.deny}`), Au = () => ze(h["input-label"]), Ft = () => kn(`.${h.loader}`), Tt = () => kn(`.${h.actions} .${h.cancel}`), In = () => ze(h.actions), qi = () => ze(h.footer), Qn = () => ze(h["timer-progress-bar"]), Wr = () => ze(h.close), Pu = `
4183
+ }, ze = (t) => kn(`.${t}`), te = () => ze(h.popup), Cn = () => ze(h.icon), zi = () => ze(h.title), Gn = () => ze(h["html-container"]), Wi = () => ze(h.image), Gi = () => ze(h["progress-steps"]), Jn = () => ze(h["validation-message"]), Ze = () => kn(`.${h.actions} .${h.confirm}`), wt = () => kn(`.${h.actions} .${h.deny}`), Pu = () => ze(h["input-label"]), Ft = () => kn(`.${h.loader}`), Tt = () => kn(`.${h.actions} .${h.cancel}`), In = () => ze(h.actions), qi = () => ze(h.footer), Qn = () => ze(h["timer-progress-bar"]), Wr = () => ze(h.close), Eu = `
4177
4184
  a[href],
4178
4185
  area[href],
4179
4186
  input:not([disabled]),
@@ -4190,15 +4197,15 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4190
4197
  summary
4191
4198
  `, Gr = () => {
4192
4199
  const t = He(
4193
- ee().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')
4200
+ te().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')
4194
4201
  ).sort((n, r) => {
4195
4202
  const o = parseInt(n.getAttribute("tabindex")), i = parseInt(r.getAttribute("tabindex"));
4196
4203
  return o > i ? 1 : o < i ? -1 : 0;
4197
- }), e = He(ee().querySelectorAll(Pu)).filter(
4204
+ }), e = He(te().querySelectorAll(Eu)).filter(
4198
4205
  (n) => n.getAttribute("tabindex") !== "-1"
4199
4206
  );
4200
- return gu(t.concat(e)).filter((n) => Ue(n));
4201
- }, qr = () => ft(document.body, h.shown) && !ft(document.body, h["toast-shown"]) && !ft(document.body, h["no-backdrop"]), er = () => ee() && ft(ee(), h.toast), Eu = () => ee().hasAttribute("data-loading"), Ut = {
4207
+ return yu(t.concat(e)).filter((n) => Ue(n));
4208
+ }, qr = () => ft(document.body, h.shown) && !ft(document.body, h["toast-shown"]) && !ft(document.body, h["no-backdrop"]), er = () => te() && ft(te(), h.toast), xu = () => te().hasAttribute("data-loading"), Ut = {
4202
4209
  previousBodyPadding: null
4203
4210
  }, _e = (t, e) => {
4204
4211
  if (t.textContent = "", e) {
@@ -4217,12 +4224,12 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4217
4224
  if (!t.classList.contains(n[r]))
4218
4225
  return !1;
4219
4226
  return !0;
4220
- }, xu = (t, e) => {
4227
+ }, Lu = (t, e) => {
4221
4228
  He(t.classList).forEach((n) => {
4222
4229
  !Object.values(h).includes(n) && !Object.values(ln).includes(n) && !Object.values(e.showClass).includes(n) && t.classList.remove(n);
4223
4230
  });
4224
4231
  }, Ve = (t, e, n) => {
4225
- if (xu(t, e), e.customClass && e.customClass[n]) {
4232
+ if (Lu(t, e), e.customClass && e.customClass[n]) {
4226
4233
  if (typeof e.customClass[n] != "string" && !e.customClass[n].forEach)
4227
4234
  return De(
4228
4235
  `Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof e.customClass[n]}"`
@@ -4277,7 +4284,7 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4277
4284
  o && (o.style[n] = r);
4278
4285
  }, tr = (t, e, n) => {
4279
4286
  e ? me(t, n) : ke(t);
4280
- }, Ue = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Lu = () => !Ue(Ze()) && !Ue(wt()) && !Ue(Tt()), Jo = (t) => t.scrollHeight > t.clientHeight, Zi = (t) => {
4287
+ }, Ue = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Ou = () => !Ue(Ze()) && !Ue(wt()) && !Ue(Tt()), Jo = (t) => t.scrollHeight > t.clientHeight, Zi = (t) => {
4281
4288
  const e = window.getComputedStyle(t), n = parseFloat(e.getPropertyValue("animation-duration") || "0"), r = parseFloat(e.getPropertyValue("transition-duration") || "0");
4282
4289
  return n > 0 || r > 0;
4283
4290
  }, Xr = (t, e = !1) => {
@@ -4285,21 +4292,21 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4285
4292
  Ue(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
4286
4293
  n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
4287
4294
  }, 10));
4288
- }, Ou = () => {
4295
+ }, $u = () => {
4289
4296
  const t = Qn(), e = parseInt(window.getComputedStyle(t).width);
4290
4297
  t.style.removeProperty("transition"), t.style.width = "100%";
4291
4298
  const n = parseInt(window.getComputedStyle(t).width), r = e / n * 100;
4292
4299
  t.style.removeProperty("transition"), t.style.width = `${r}%`;
4293
- }, Ji = () => typeof window > "u" || typeof document > "u", $u = 100, j = {}, Mu = () => {
4300
+ }, Ji = () => typeof window > "u" || typeof document > "u", Mu = 100, j = {}, Du = () => {
4294
4301
  j.previousActiveElement && j.previousActiveElement.focus ? (j.previousActiveElement.focus(), j.previousActiveElement = null) : document.body && document.body.focus();
4295
- }, Du = (t) => new Promise((e) => {
4302
+ }, Ru = (t) => new Promise((e) => {
4296
4303
  if (!t)
4297
4304
  return e();
4298
4305
  const n = window.scrollX, r = window.scrollY;
4299
4306
  j.restoreFocusTimeout = setTimeout(() => {
4300
- Mu(), e();
4301
- }, $u), window.scrollTo(n, r);
4302
- }), Ru = `
4307
+ Du(), e();
4308
+ }, Mu), window.scrollTo(n, r);
4309
+ }), Nu = `
4303
4310
  <div aria-labelledby="${h.title}" aria-describedby="${h["html-container"]}" class="${h.popup}" tabindex="-1">
4304
4311
  <button type="button" class="${h.close}"></button>
4305
4312
  <ul class="${h["progress-steps"]}"></ul>
@@ -4332,7 +4339,7 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4332
4339
  <div class="${h["timer-progress-bar"]}"></div>
4333
4340
  </div>
4334
4341
  </div>
4335
- `.replace(/(^|\n)\s*/g, ""), Nu = () => {
4342
+ `.replace(/(^|\n)\s*/g, ""), Bu = () => {
4336
4343
  const t = Se();
4337
4344
  return t ? (t.remove(), it(
4338
4345
  [document.documentElement, document.body],
@@ -4340,33 +4347,33 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4340
4347
  ), !0) : !1;
4341
4348
  }, kt = () => {
4342
4349
  j.currentInstance.resetValidationMessage();
4343
- }, Bu = () => {
4344
- const t = ee(), e = vt(t, h.input), n = vt(t, h.file), r = t.querySelector(`.${h.range} input`), o = t.querySelector(`.${h.range} output`), i = vt(t, h.select), a = t.querySelector(`.${h.checkbox} input`), s = vt(t, h.textarea);
4350
+ }, Uu = () => {
4351
+ const t = te(), e = vt(t, h.input), n = vt(t, h.file), r = t.querySelector(`.${h.range} input`), o = t.querySelector(`.${h.range} output`), i = vt(t, h.select), a = t.querySelector(`.${h.checkbox} input`), s = vt(t, h.textarea);
4345
4352
  e.oninput = kt, n.onchange = kt, i.onchange = kt, a.onchange = kt, s.oninput = kt, r.oninput = () => {
4346
4353
  kt(), o.value = r.value;
4347
4354
  }, r.onchange = () => {
4348
4355
  kt(), r.nextSibling.value = r.value;
4349
4356
  };
4350
- }, Uu = (t) => typeof t == "string" ? document.querySelector(t) : t, Hu = (t) => {
4351
- const e = ee();
4357
+ }, Hu = (t) => typeof t == "string" ? document.querySelector(t) : t, ju = (t) => {
4358
+ const e = te();
4352
4359
  e.setAttribute("role", t.toast ? "alert" : "dialog"), e.setAttribute("aria-live", t.toast ? "polite" : "assertive"), t.toast || e.setAttribute("aria-modal", "true");
4353
- }, ju = (t) => {
4354
- window.getComputedStyle(t).direction === "rtl" && q(Se(), h.rtl);
4355
4360
  }, Fu = (t) => {
4356
- const e = Nu();
4361
+ window.getComputedStyle(t).direction === "rtl" && q(Se(), h.rtl);
4362
+ }, Vu = (t) => {
4363
+ const e = Bu();
4357
4364
  if (Ji()) {
4358
4365
  xt("SweetAlert2 requires document to initialize");
4359
4366
  return;
4360
4367
  }
4361
4368
  const n = document.createElement("div");
4362
- n.className = h.container, e && q(n, h["no-transition"]), _e(n, Ru);
4363
- const r = Uu(t.target);
4364
- r.appendChild(n), Hu(t), ju(r), Bu();
4369
+ n.className = h.container, e && q(n, h["no-transition"]), _e(n, Nu);
4370
+ const r = Hu(t.target);
4371
+ r.appendChild(n), ju(t), Fu(r), Uu();
4365
4372
  }, Zr = (t, e) => {
4366
- t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Vu(t, e) : t && _e(e, t);
4367
- }, Vu = (t, e) => {
4368
- t.jquery ? Ku(e, t) : _e(e, t.toString());
4373
+ t instanceof HTMLElement ? e.appendChild(t) : typeof t == "object" ? Ku(t, e) : t && _e(e, t);
4369
4374
  }, Ku = (t, e) => {
4375
+ t.jquery ? zu(e, t) : _e(e, t.toString());
4376
+ }, zu = (t, e) => {
4370
4377
  if (t.textContent = "", 0 in e)
4371
4378
  for (let n = 0; n in e; n++)
4372
4379
  t.appendChild(e[n].cloneNode(!0));
@@ -4385,20 +4392,20 @@ const Xt = new hu(), ji = "SweetAlert2:", gu = (t) => {
4385
4392
  if (Object.prototype.hasOwnProperty.call(e, n) && typeof t.style[n] < "u")
4386
4393
  return e[n];
4387
4394
  return !1;
4388
- })(), zu = () => {
4395
+ })(), Wu = () => {
4389
4396
  const t = document.createElement("div");
4390
4397
  t.className = h["scrollbar-measure"], document.body.appendChild(t);
4391
4398
  const e = t.getBoundingClientRect().width - t.clientWidth;
4392
4399
  return document.body.removeChild(t), e;
4393
- }, Wu = (t, e) => {
4400
+ }, Gu = (t, e) => {
4394
4401
  const n = In(), r = Ft();
4395
- !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ke(n) : me(n), Ve(n, e, "actions"), Gu(n, r, e), _e(r, e.loaderHtml), Ve(r, e, "loader");
4402
+ !e.showConfirmButton && !e.showDenyButton && !e.showCancelButton ? ke(n) : me(n), Ve(n, e, "actions"), qu(n, r, e), _e(r, e.loaderHtml), Ve(r, e, "loader");
4396
4403
  };
4397
- function Gu(t, e, n) {
4404
+ function qu(t, e, n) {
4398
4405
  const r = Ze(), o = wt(), i = Tt();
4399
- dr(r, "confirm", n), dr(o, "deny", n), dr(i, "cancel", n), qu(r, o, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, r), t.insertBefore(o, r)) : (t.insertBefore(i, e), t.insertBefore(o, e), t.insertBefore(r, e)));
4406
+ dr(r, "confirm", n), dr(o, "deny", n), dr(i, "cancel", n), Yu(r, o, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, r), t.insertBefore(o, r)) : (t.insertBefore(i, e), t.insertBefore(o, e), t.insertBefore(r, e)));
4400
4407
  }
4401
- function qu(t, e, n, r) {
4408
+ function Yu(t, e, n, r) {
4402
4409
  if (!r.buttonsStyling)
4403
4410
  return it([t, e, n], h.styled);
4404
4411
  q([t, e, n], h.styled), r.confirmButtonColor && (t.style.backgroundColor = r.confirmButtonColor, q(t, h["default-outline"])), r.denyButtonColor && (e.style.backgroundColor = r.denyButtonColor, q(e, h["default-outline"])), r.cancelButtonColor && (n.style.backgroundColor = r.cancelButtonColor, q(n, h["default-outline"]));
@@ -4406,33 +4413,33 @@ function qu(t, e, n, r) {
4406
4413
  function dr(t, e, n) {
4407
4414
  tr(t, n[`show${Vr(e)}Button`], "inline-block"), _e(t, n[`${e}ButtonText`]), t.setAttribute("aria-label", n[`${e}ButtonAriaLabel`]), t.className = h[e], Ve(t, n, `${e}Button`), q(t, n[`${e}ButtonClass`]);
4408
4415
  }
4409
- function Yu(t, e) {
4416
+ function Xu(t, e) {
4410
4417
  typeof e == "string" ? t.style.background = e : e || q([document.documentElement, document.body], h["no-backdrop"]);
4411
4418
  }
4412
- function Xu(t, e) {
4419
+ function Zu(t, e) {
4413
4420
  e in h ? q(t, h[e]) : (De('The "position" parameter is not valid, defaulting to "center"'), q(t, h.center));
4414
4421
  }
4415
- function Zu(t, e) {
4422
+ function Ju(t, e) {
4416
4423
  if (e && typeof e == "string") {
4417
4424
  const n = `grow-${e}`;
4418
4425
  n in h && q(t, h[n]);
4419
4426
  }
4420
4427
  }
4421
- const Ju = (t, e) => {
4428
+ const Qu = (t, e) => {
4422
4429
  const n = Se();
4423
- n && (Yu(n, e.backdrop), Xu(n, e.position), Zu(n, e.grow), Ve(n, e, "container"));
4430
+ n && (Xu(n, e.backdrop), Zu(n, e.position), Ju(n, e.grow), Ve(n, e, "container"));
4424
4431
  }, F = {
4425
4432
  awaitingPromise: /* @__PURE__ */ new WeakMap(),
4426
4433
  promise: /* @__PURE__ */ new WeakMap(),
4427
4434
  innerParams: /* @__PURE__ */ new WeakMap(),
4428
4435
  domCache: /* @__PURE__ */ new WeakMap()
4429
- }, Qu = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], ec = (t, e) => {
4430
- const n = ee(), r = F.innerParams.get(t), o = !r || e.input !== r.input;
4431
- Qu.forEach((i) => {
4436
+ }, ec = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], tc = (t, e) => {
4437
+ const n = te(), r = F.innerParams.get(t), o = !r || e.input !== r.input;
4438
+ ec.forEach((i) => {
4432
4439
  const a = h[i], s = vt(n, a);
4433
- rc(i, e.inputAttributes), s.className = a, o && ke(s);
4434
- }), e.input && (o && tc(e), oc(e));
4435
- }, tc = (t) => {
4440
+ oc(i, e.inputAttributes), s.className = a, o && ke(s);
4441
+ }), e.input && (o && nc(e), ic(e));
4442
+ }, nc = (t) => {
4436
4443
  if (!Oe[t.input])
4437
4444
  return xt(
4438
4445
  `Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${t.input}"`
@@ -4441,19 +4448,19 @@ const Ju = (t, e) => {
4441
4448
  me(n), setTimeout(() => {
4442
4449
  Yi(n);
4443
4450
  });
4444
- }, nc = (t) => {
4451
+ }, rc = (t) => {
4445
4452
  for (let e = 0; e < t.attributes.length; e++) {
4446
4453
  const n = t.attributes[e].name;
4447
4454
  ["type", "value", "style"].includes(n) || t.removeAttribute(n);
4448
4455
  }
4449
- }, rc = (t, e) => {
4450
- const n = Yr(ee(), t);
4456
+ }, oc = (t, e) => {
4457
+ const n = Yr(te(), t);
4451
4458
  if (n) {
4452
- nc(n);
4459
+ rc(n);
4453
4460
  for (const r in e)
4454
4461
  n.setAttribute(r, e[r]);
4455
4462
  }
4456
- }, oc = (t) => {
4463
+ }, ic = (t) => {
4457
4464
  const e = Qi(t.input);
4458
4465
  t.customClass && q(e, t.customClass.input);
4459
4466
  }, Jr = (t, e) => {
@@ -4466,7 +4473,7 @@ const Ju = (t, e) => {
4466
4473
  }
4467
4474
  }, Qi = (t) => {
4468
4475
  const e = h[t] ? h[t] : h.input;
4469
- return vt(ee(), e);
4476
+ return vt(te(), e);
4470
4477
  }, Oe = {};
4471
4478
  Oe.text = Oe.email = Oe.password = Oe.number = Oe.tel = Oe.url = (t, e) => (typeof e.inputValue == "string" || typeof e.inputValue == "number" ? t.value = e.inputValue : zr(e.inputValue) || De(
4472
4479
  `Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof e.inputValue}"`
@@ -4485,7 +4492,7 @@ Oe.select = (t, e) => {
4485
4492
  };
4486
4493
  Oe.radio = (t) => (t.textContent = "", t);
4487
4494
  Oe.checkbox = (t, e) => {
4488
- const n = Yr(ee(), "checkbox");
4495
+ const n = Yr(te(), "checkbox");
4489
4496
  n.value = "1", n.id = h.checkbox, n.checked = !!e.inputValue;
4490
4497
  const r = t.querySelector("span");
4491
4498
  return _e(r, e.inputPlaceholder), t;
@@ -4495,9 +4502,9 @@ Oe.textarea = (t, e) => {
4495
4502
  const n = (r) => parseInt(window.getComputedStyle(r).marginLeft) + parseInt(window.getComputedStyle(r).marginRight);
4496
4503
  return setTimeout(() => {
4497
4504
  if ("MutationObserver" in window) {
4498
- const r = parseInt(window.getComputedStyle(ee()).width), o = () => {
4505
+ const r = parseInt(window.getComputedStyle(te()).width), o = () => {
4499
4506
  const i = t.offsetWidth + n(t);
4500
- i > r ? ee().style.width = `${i}px` : ee().style.width = null;
4507
+ i > r ? te().style.width = `${i}px` : te().style.width = null;
4501
4508
  };
4502
4509
  new MutationObserver(o).observe(t, {
4503
4510
  attributes: !0,
@@ -4506,16 +4513,16 @@ Oe.textarea = (t, e) => {
4506
4513
  }
4507
4514
  }), t;
4508
4515
  };
4509
- const ic = (t, e) => {
4516
+ const sc = (t, e) => {
4510
4517
  const n = Gn();
4511
- Ve(n, e, "htmlContainer"), e.html ? (Zr(e.html, n), me(n, "block")) : e.text ? (n.textContent = e.text, me(n, "block")) : ke(n), ec(t, e);
4512
- }, sc = (t, e) => {
4518
+ Ve(n, e, "htmlContainer"), e.html ? (Zr(e.html, n), me(n, "block")) : e.text ? (n.textContent = e.text, me(n, "block")) : ke(n), tc(t, e);
4519
+ }, ac = (t, e) => {
4513
4520
  const n = qi();
4514
4521
  tr(n, e.footer), e.footer && Zr(e.footer, n), Ve(n, e, "footer");
4515
- }, ac = (t, e) => {
4522
+ }, lc = (t, e) => {
4516
4523
  const n = Wr();
4517
4524
  _e(n, e.closeButtonHtml), Ve(n, e, "closeButton"), tr(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel);
4518
- }, lc = (t, e) => {
4525
+ }, uc = (t, e) => {
4519
4526
  const n = F.innerParams.get(t), r = Cn();
4520
4527
  if (n && e.icon === n.icon) {
4521
4528
  ei(r, e), Qo(r, e);
@@ -4529,28 +4536,28 @@ const ic = (t, e) => {
4529
4536
  }, Qo = (t, e) => {
4530
4537
  for (const n in ln)
4531
4538
  e.icon !== n && it(t, ln[n]);
4532
- q(t, ln[e.icon]), fc(t, e), uc(), Ve(t, e, "icon");
4533
- }, uc = () => {
4534
- const t = ee(), e = window.getComputedStyle(t).getPropertyValue("background-color"), n = t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");
4539
+ q(t, ln[e.icon]), mc(t, e), cc(), Ve(t, e, "icon");
4540
+ }, cc = () => {
4541
+ const t = te(), e = window.getComputedStyle(t).getPropertyValue("background-color"), n = t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");
4535
4542
  for (let r = 0; r < n.length; r++)
4536
4543
  n[r].style.backgroundColor = e;
4537
- }, cc = `
4544
+ }, dc = `
4538
4545
  <div class="swal2-success-circular-line-left"></div>
4539
4546
  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>
4540
4547
  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>
4541
4548
  <div class="swal2-success-circular-line-right"></div>
4542
- `, dc = `
4549
+ `, fc = `
4543
4550
  <span class="swal2-x-mark">
4544
4551
  <span class="swal2-x-mark-line-left"></span>
4545
4552
  <span class="swal2-x-mark-line-right"></span>
4546
4553
  </span>
4547
4554
  `, ei = (t, e) => {
4548
- t.textContent = "", e.iconHtml ? _e(t, ti(e.iconHtml)) : e.icon === "success" ? _e(t, cc) : e.icon === "error" ? _e(t, dc) : _e(t, ti({
4555
+ t.textContent = "", e.iconHtml ? _e(t, ti(e.iconHtml)) : e.icon === "success" ? _e(t, dc) : e.icon === "error" ? _e(t, fc) : _e(t, ti({
4549
4556
  question: "?",
4550
4557
  warning: "!",
4551
4558
  info: "i"
4552
4559
  }[e.icon]));
4553
- }, fc = (t, e) => {
4560
+ }, mc = (t, e) => {
4554
4561
  if (e.iconColor) {
4555
4562
  t.style.color = e.iconColor, t.style.borderColor = e.iconColor;
4556
4563
  for (const n of [
@@ -4562,47 +4569,47 @@ const ic = (t, e) => {
4562
4569
  Zo(t, n, "backgroundColor", e.iconColor);
4563
4570
  Zo(t, ".swal2-success-ring", "borderColor", e.iconColor);
4564
4571
  }
4565
- }, ti = (t) => `<div class="${h["icon-content"]}">${t}</div>`, mc = (t, e) => {
4572
+ }, ti = (t) => `<div class="${h["icon-content"]}">${t}</div>`, pc = (t, e) => {
4566
4573
  const n = Wi();
4567
4574
  if (!e.imageUrl)
4568
4575
  return ke(n);
4569
4576
  me(n, ""), n.setAttribute("src", e.imageUrl), n.setAttribute("alt", e.imageAlt), un(n, "width", e.imageWidth), un(n, "height", e.imageHeight), n.className = h.image, Ve(n, e, "image");
4570
- }, pc = (t) => {
4577
+ }, hc = (t) => {
4571
4578
  const e = document.createElement("li");
4572
4579
  return q(e, h["progress-step"]), _e(e, t), e;
4573
- }, hc = (t) => {
4580
+ }, gc = (t) => {
4574
4581
  const e = document.createElement("li");
4575
4582
  return q(e, h["progress-step-line"]), t.progressStepsDistance && (e.style.width = t.progressStepsDistance), e;
4576
- }, gc = (t, e) => {
4583
+ }, yc = (t, e) => {
4577
4584
  const n = Gi();
4578
4585
  if (!e.progressSteps || e.progressSteps.length === 0)
4579
4586
  return ke(n);
4580
4587
  me(n), n.textContent = "", e.currentProgressStep >= e.progressSteps.length && De(
4581
4588
  "Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"
4582
4589
  ), e.progressSteps.forEach((r, o) => {
4583
- const i = pc(r);
4590
+ const i = hc(r);
4584
4591
  if (n.appendChild(i), o === e.currentProgressStep && q(i, h["active-progress-step"]), o !== e.progressSteps.length - 1) {
4585
- const a = hc(e);
4592
+ const a = gc(e);
4586
4593
  n.appendChild(a);
4587
4594
  }
4588
4595
  });
4589
- }, yc = (t, e) => {
4596
+ }, vc = (t, e) => {
4590
4597
  const n = zi();
4591
4598
  tr(n, e.title || e.titleText, "block"), e.title && Zr(e.title, n), e.titleText && (n.innerText = e.titleText), Ve(n, e, "title");
4592
- }, vc = (t, e) => {
4593
- const n = Se(), r = ee();
4594
- e.toast ? (un(n, "width", e.width), r.style.width = "100%", r.insertBefore(Ft(), Cn())) : un(r, "width", e.width), un(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ke(Jn()), bc(r, e);
4595
4599
  }, bc = (t, e) => {
4600
+ const n = Se(), r = te();
4601
+ e.toast ? (un(n, "width", e.width), r.style.width = "100%", r.insertBefore(Ft(), Cn())) : un(r, "width", e.width), un(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), ke(Jn()), wc(r, e);
4602
+ }, wc = (t, e) => {
4596
4603
  t.className = `${h.popup} ${Ue(t) ? e.showClass.popup : ""}`, e.toast ? (q([document.documentElement, document.body], h["toast-shown"]), q(t, h.toast)) : q(t, h.modal), Ve(t, e, "popup"), typeof e.customClass == "string" && q(t, e.customClass), e.icon && q(t, h[`icon-${e.icon}`]);
4597
4604
  }, es = (t, e) => {
4598
- vc(t, e), Ju(t, e), gc(t, e), lc(t, e), mc(t, e), yc(t, e), ac(t, e), ic(t, e), Wu(t, e), sc(t, e), typeof e.didRender == "function" && e.didRender(ee());
4605
+ bc(t, e), Qu(t, e), yc(t, e), uc(t, e), pc(t, e), vc(t, e), lc(t, e), sc(t, e), Gu(t, e), ac(t, e), typeof e.didRender == "function" && e.didRender(te());
4599
4606
  }, Vt = Object.freeze({
4600
4607
  cancel: "cancel",
4601
4608
  backdrop: "backdrop",
4602
4609
  close: "close",
4603
4610
  esc: "esc",
4604
4611
  timer: "timer"
4605
- }), wc = () => {
4612
+ }), _c = () => {
4606
4613
  He(document.body.children).forEach((e) => {
4607
4614
  e === Se() || e.contains(Se()) || (e.hasAttribute("aria-hidden") && e.setAttribute("data-previous-aria-hidden", e.getAttribute("aria-hidden")), e.setAttribute("aria-hidden", "true"));
4608
4615
  });
@@ -4610,40 +4617,40 @@ const ic = (t, e) => {
4610
4617
  He(document.body.children).forEach((e) => {
4611
4618
  e.hasAttribute("data-previous-aria-hidden") ? (e.setAttribute("aria-hidden", e.getAttribute("data-previous-aria-hidden")), e.removeAttribute("data-previous-aria-hidden")) : e.removeAttribute("aria-hidden");
4612
4619
  });
4613
- }, ns = ["swal-title", "swal-html", "swal-footer"], _c = (t) => {
4620
+ }, ns = ["swal-title", "swal-html", "swal-footer"], Sc = (t) => {
4614
4621
  const e = typeof t.template == "string" ? document.querySelector(t.template) : t.template;
4615
4622
  if (!e)
4616
4623
  return {};
4617
4624
  const n = e.content;
4618
- return Pc(n), Object.assign(
4619
- Sc(n),
4625
+ return Ec(n), Object.assign(
4620
4626
  kc(n),
4621
4627
  Cc(n),
4622
4628
  Ic(n),
4623
4629
  Tc(n),
4624
- Ac(n, ns)
4630
+ Ac(n),
4631
+ Pc(n, ns)
4625
4632
  );
4626
- }, Sc = (t) => {
4633
+ }, kc = (t) => {
4627
4634
  const e = {};
4628
4635
  return He(t.querySelectorAll("swal-param")).forEach((n) => {
4629
4636
  At(n, ["name", "value"]);
4630
4637
  const r = n.getAttribute("name"), o = n.getAttribute("value");
4631
4638
  typeof Bt[r] == "boolean" && o === "false" && (e[r] = !1), typeof Bt[r] == "object" && (e[r] = JSON.parse(o));
4632
4639
  }), e;
4633
- }, kc = (t) => {
4640
+ }, Cc = (t) => {
4634
4641
  const e = {};
4635
4642
  return He(t.querySelectorAll("swal-button")).forEach((n) => {
4636
4643
  At(n, ["type", "color", "aria-label"]);
4637
4644
  const r = n.getAttribute("type");
4638
4645
  e[`${r}ButtonText`] = n.innerHTML, e[`show${Vr(r)}Button`] = !0, n.hasAttribute("color") && (e[`${r}ButtonColor`] = n.getAttribute("color")), n.hasAttribute("aria-label") && (e[`${r}ButtonAriaLabel`] = n.getAttribute("aria-label"));
4639
4646
  }), e;
4640
- }, Cc = (t) => {
4647
+ }, Ic = (t) => {
4641
4648
  const e = {}, n = t.querySelector("swal-image");
4642
4649
  return n && (At(n, ["src", "width", "height", "alt"]), n.hasAttribute("src") && (e.imageUrl = n.getAttribute("src")), n.hasAttribute("width") && (e.imageWidth = n.getAttribute("width")), n.hasAttribute("height") && (e.imageHeight = n.getAttribute("height")), n.hasAttribute("alt") && (e.imageAlt = n.getAttribute("alt"))), e;
4643
- }, Ic = (t) => {
4650
+ }, Tc = (t) => {
4644
4651
  const e = {}, n = t.querySelector("swal-icon");
4645
4652
  return n && (At(n, ["type", "color"]), n.hasAttribute("type") && (e.icon = n.getAttribute("type")), n.hasAttribute("color") && (e.iconColor = n.getAttribute("color")), e.iconHtml = n.innerHTML), e;
4646
- }, Tc = (t) => {
4653
+ }, Ac = (t) => {
4647
4654
  const e = {}, n = t.querySelector("swal-input");
4648
4655
  n && (At(n, ["type", "label", "placeholder", "value"]), e.input = n.getAttribute("type") || "text", n.hasAttribute("label") && (e.inputLabel = n.getAttribute("label")), n.hasAttribute("placeholder") && (e.inputPlaceholder = n.getAttribute("placeholder")), n.hasAttribute("value") && (e.inputValue = n.getAttribute("value")));
4649
4656
  const r = t.querySelectorAll("swal-input-option");
@@ -4652,14 +4659,14 @@ const ic = (t, e) => {
4652
4659
  const i = o.getAttribute("value"), a = o.innerHTML;
4653
4660
  e.inputOptions[i] = a;
4654
4661
  })), e;
4655
- }, Ac = (t, e) => {
4662
+ }, Pc = (t, e) => {
4656
4663
  const n = {};
4657
4664
  for (const r in e) {
4658
4665
  const o = e[r], i = t.querySelector(o);
4659
4666
  i && (At(i, []), n[o.replace(/^swal-/, "")] = i.innerHTML.trim());
4660
4667
  }
4661
4668
  return n;
4662
- }, Pc = (t) => {
4669
+ }, Ec = (t) => {
4663
4670
  const e = ns.concat([
4664
4671
  "swal-param",
4665
4672
  "swal-button",
@@ -4683,23 +4690,23 @@ const ic = (t, e) => {
4683
4690
  email: (t, e) => /^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t) ? Promise.resolve() : Promise.resolve(e || "Invalid email address"),
4684
4691
  url: (t, e) => /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t) ? Promise.resolve() : Promise.resolve(e || "Invalid URL")
4685
4692
  };
4686
- function Ec(t) {
4693
+ function xc(t) {
4687
4694
  t.inputValidator || Object.keys(ni).forEach((e) => {
4688
4695
  t.input === e && (t.inputValidator = ni[e]);
4689
4696
  });
4690
4697
  }
4691
- function xc(t) {
4698
+ function Lc(t) {
4692
4699
  (!t.target || typeof t.target == "string" && !document.querySelector(t.target) || typeof t.target != "string" && !t.target.appendChild) && (De('Target parameter is not valid, defaulting to "body"'), t.target = "body");
4693
4700
  }
4694
- function Lc(t) {
4695
- Ec(t), t.showLoaderOnConfirm && !t.preConfirm && De(
4701
+ function Oc(t) {
4702
+ xc(t), t.showLoaderOnConfirm && !t.preConfirm && De(
4696
4703
  `showLoaderOnConfirm is set to true, but preConfirm is not defined.
4697
4704
  showLoaderOnConfirm should be used together with preConfirm, see usage example:
4698
4705
  https://sweetalert2.github.io/#ajax-request`
4699
- ), xc(t), typeof t.title == "string" && (t.title = t.title.split(`
4700
- `).join("<br />")), Fu(t);
4706
+ ), Lc(t), typeof t.title == "string" && (t.title = t.title.split(`
4707
+ `).join("<br />")), Vu(t);
4701
4708
  }
4702
- class Oc {
4709
+ class $c {
4703
4710
  constructor(e, n) {
4704
4711
  this.callback = e, this.remaining = n, this.running = !1, this.start();
4705
4712
  }
@@ -4720,98 +4727,98 @@ class Oc {
4720
4727
  return this.running;
4721
4728
  }
4722
4729
  }
4723
- const $c = () => {
4724
- Ut.previousBodyPadding === null && document.body.scrollHeight > window.innerHeight && (Ut.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Ut.previousBodyPadding + zu()}px`);
4725
- }, Mc = () => {
4726
- Ut.previousBodyPadding !== null && (document.body.style.paddingRight = `${Ut.previousBodyPadding}px`, Ut.previousBodyPadding = null);
4730
+ const Mc = () => {
4731
+ Ut.previousBodyPadding === null && document.body.scrollHeight > window.innerHeight && (Ut.previousBodyPadding = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")), document.body.style.paddingRight = `${Ut.previousBodyPadding + Wu()}px`);
4727
4732
  }, Dc = () => {
4733
+ Ut.previousBodyPadding !== null && (document.body.style.paddingRight = `${Ut.previousBodyPadding}px`, Ut.previousBodyPadding = null);
4734
+ }, Rc = () => {
4728
4735
  if (// @ts-ignore
4729
4736
  (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1) && !ft(document.body, h.iosfix)) {
4730
4737
  const e = document.body.scrollTop;
4731
- document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), Nc(), Rc();
4738
+ document.body.style.top = `${e * -1}px`, q(document.body, h.iosfix), Bc(), Nc();
4732
4739
  }
4733
- }, Rc = () => {
4734
- const t = navigator.userAgent, e = !!t.match(/iPad/i) || !!t.match(/iPhone/i), n = !!t.match(/WebKit/i);
4735
- e && n && !t.match(/CriOS/i) && ee().scrollHeight > window.innerHeight - 44 && (Se().style.paddingBottom = "44px");
4736
4740
  }, Nc = () => {
4741
+ const t = navigator.userAgent, e = !!t.match(/iPad/i) || !!t.match(/iPhone/i), n = !!t.match(/WebKit/i);
4742
+ e && n && !t.match(/CriOS/i) && te().scrollHeight > window.innerHeight - 44 && (Se().style.paddingBottom = "44px");
4743
+ }, Bc = () => {
4737
4744
  const t = Se();
4738
4745
  let e;
4739
4746
  t.ontouchstart = (n) => {
4740
- e = Bc(n);
4747
+ e = Uc(n);
4741
4748
  }, t.ontouchmove = (n) => {
4742
4749
  e && (n.preventDefault(), n.stopPropagation());
4743
4750
  };
4744
- }, Bc = (t) => {
4751
+ }, Uc = (t) => {
4745
4752
  const e = t.target, n = Se();
4746
- return Uc(t) || Hc(t) ? !1 : e === n || !Jo(n) && e.tagName !== "INPUT" && // #1603
4753
+ return Hc(t) || jc(t) ? !1 : e === n || !Jo(n) && e.tagName !== "INPUT" && // #1603
4747
4754
  e.tagName !== "TEXTAREA" && // #2266
4748
4755
  !(Jo(Gn()) && // #1944
4749
4756
  Gn().contains(e));
4750
- }, Uc = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Hc = (t) => t.touches && t.touches.length > 1, jc = () => {
4757
+ }, Hc = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", jc = (t) => t.touches && t.touches.length > 1, Fc = () => {
4751
4758
  if (ft(document.body, h.iosfix)) {
4752
4759
  const t = parseInt(document.body.style.top, 10);
4753
4760
  it(document.body, h.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
4754
4761
  }
4755
- }, rs = 10, Fc = (t) => {
4756
- const e = Se(), n = ee();
4762
+ }, rs = 10, Vc = (t) => {
4763
+ const e = Se(), n = te();
4757
4764
  typeof t.willOpen == "function" && t.willOpen(n);
4758
4765
  const o = window.getComputedStyle(document.body).overflowY;
4759
- zc(e, n, t), setTimeout(() => {
4760
- Vc(e, n);
4761
- }, rs), qr() && (Kc(e, t.scrollbarPadding, o), wc()), !er() && !j.previousActiveElement && (j.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), it(e, h["no-transition"]);
4766
+ Wc(e, n, t), setTimeout(() => {
4767
+ Kc(e, n);
4768
+ }, rs), qr() && (zc(e, t.scrollbarPadding, o), _c()), !er() && !j.previousActiveElement && (j.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), it(e, h["no-transition"]);
4762
4769
  }, os = (t) => {
4763
- const e = ee();
4770
+ const e = te();
4764
4771
  if (t.target !== e)
4765
4772
  return;
4766
4773
  const n = Se();
4767
4774
  e.removeEventListener(bn, os), n.style.overflowY = "auto";
4768
- }, Vc = (t, e) => {
4775
+ }, Kc = (t, e) => {
4769
4776
  bn && Zi(e) ? (t.style.overflowY = "hidden", e.addEventListener(bn, os)) : t.style.overflowY = "auto";
4770
- }, Kc = (t, e, n) => {
4771
- Dc(), e && n !== "hidden" && $c(), setTimeout(() => {
4777
+ }, zc = (t, e, n) => {
4778
+ Rc(), e && n !== "hidden" && Mc(), setTimeout(() => {
4772
4779
  t.scrollTop = 0;
4773
4780
  });
4774
- }, zc = (t, e, n) => {
4781
+ }, Wc = (t, e, n) => {
4775
4782
  q(t, n.showClass.backdrop), e.style.setProperty("opacity", "0", "important"), me(e, "grid"), setTimeout(() => {
4776
4783
  q(e, n.showClass.popup), e.style.removeProperty("opacity");
4777
4784
  }, rs), q([document.documentElement, document.body], h.shown), n.heightAuto && n.backdrop && !n.toast && q([document.documentElement, document.body], h["height-auto"]);
4778
4785
  }, jt = (t) => {
4779
- let e = ee();
4780
- e || new Pt(), e = ee();
4786
+ let e = te();
4787
+ e || new Pt(), e = te();
4781
4788
  const n = Ft();
4782
- er() ? ke(Cn()) : Wc(e, t), me(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4783
- }, Wc = (t, e) => {
4789
+ er() ? ke(Cn()) : Gc(e, t), me(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
4790
+ }, Gc = (t, e) => {
4784
4791
  const n = In(), r = Ft();
4785
4792
  !e && Ue(Ze()) && (e = Ze()), me(n), e && (ke(e), r.setAttribute("data-button-to-replace", e.className)), r.parentNode.insertBefore(r, e), q([t, n], h.loading);
4786
- }, Gc = (t, e) => {
4787
- e.input === "select" || e.input === "radio" ? Jc(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Kr(e.inputValue) || zr(e.inputValue)) && (jt(Ze()), Qc(t, e));
4788
4793
  }, qc = (t, e) => {
4794
+ e.input === "select" || e.input === "radio" ? Qc(t, e) : ["text", "email", "number", "tel", "textarea"].includes(e.input) && (Kr(e.inputValue) || zr(e.inputValue)) && (jt(Ze()), ed(t, e));
4795
+ }, Yc = (t, e) => {
4789
4796
  const n = t.getInput();
4790
4797
  if (!n)
4791
4798
  return null;
4792
4799
  switch (e.input) {
4793
4800
  case "checkbox":
4794
- return Yc(n);
4795
- case "radio":
4796
4801
  return Xc(n);
4797
- case "file":
4802
+ case "radio":
4798
4803
  return Zc(n);
4804
+ case "file":
4805
+ return Jc(n);
4799
4806
  default:
4800
4807
  return e.inputAutoTrim ? n.value.trim() : n.value;
4801
4808
  }
4802
- }, Yc = (t) => t.checked ? 1 : 0, Xc = (t) => t.checked ? t.value : null, Zc = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Jc = (t, e) => {
4803
- const n = ee(), r = (o) => ed[e.input](n, Ar(o), e);
4809
+ }, Xc = (t) => t.checked ? 1 : 0, Zc = (t) => t.checked ? t.value : null, Jc = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, Qc = (t, e) => {
4810
+ const n = te(), r = (o) => td[e.input](n, Ar(o), e);
4804
4811
  Kr(e.inputOptions) || zr(e.inputOptions) ? (jt(Ze()), Sn(e.inputOptions).then((o) => {
4805
4812
  t.hideLoading(), r(o);
4806
4813
  })) : typeof e.inputOptions == "object" ? r(e.inputOptions) : xt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
4807
- }, Qc = (t, e) => {
4814
+ }, ed = (t, e) => {
4808
4815
  const n = t.getInput();
4809
4816
  ke(n), Sn(e.inputValue).then((r) => {
4810
4817
  n.value = e.input === "number" ? parseFloat(r) || 0 : `${r}`, me(n), n.focus(), t.hideLoading();
4811
4818
  }).catch((r) => {
4812
4819
  xt(`Error in inputValue promise: ${r}`), n.value = "", me(n), n.focus(), t.hideLoading();
4813
4820
  });
4814
- }, ed = {
4821
+ }, td = {
4815
4822
  select: (t, e, n) => {
4816
4823
  const r = vt(t, h.select), o = (i, a, s) => {
4817
4824
  const l = document.createElement("option");
@@ -4852,42 +4859,42 @@ function oi() {
4852
4859
  if (!t)
4853
4860
  return;
4854
4861
  const e = F.domCache.get(this);
4855
- ke(e.loader), er() ? t.icon && me(Cn()) : td(e), it([e.popup, e.actions], h.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
4862
+ ke(e.loader), er() ? t.icon && me(Cn()) : nd(e), it([e.popup, e.actions], h.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
4856
4863
  }
4857
- const td = (t) => {
4864
+ const nd = (t) => {
4858
4865
  const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
4859
- e.length ? me(e[0], "inline-block") : Lu() && ke(t.actions);
4866
+ e.length ? me(e[0], "inline-block") : Ou() && ke(t.actions);
4860
4867
  };
4861
- function nd(t) {
4868
+ function rd(t) {
4862
4869
  const e = F.innerParams.get(t || this), n = F.domCache.get(t || this);
4863
4870
  return n ? Yr(n.popup, e.input) : null;
4864
4871
  }
4865
4872
  const wn = {
4866
4873
  swalPromiseResolve: /* @__PURE__ */ new WeakMap(),
4867
4874
  swalPromiseReject: /* @__PURE__ */ new WeakMap()
4868
- }, rd = () => Ue(ee()), is = () => Ze() && Ze().click(), od = () => wt() && wt().click(), id = () => Tt() && Tt().click(), ss = (t) => {
4875
+ }, od = () => Ue(te()), is = () => Ze() && Ze().click(), id = () => wt() && wt().click(), sd = () => Tt() && Tt().click(), ss = (t) => {
4869
4876
  t.keydownTarget && t.keydownHandlerAdded && (t.keydownTarget.removeEventListener("keydown", t.keydownHandler, {
4870
4877
  capture: t.keydownListenerCapture
4871
4878
  }), t.keydownHandlerAdded = !1);
4872
- }, sd = (t, e, n, r) => {
4873
- ss(e), n.toast || (e.keydownHandler = (o) => ld(t, o, r), e.keydownTarget = n.keydownListenerCapture ? window : ee(), e.keydownListenerCapture = n.keydownListenerCapture, e.keydownTarget.addEventListener("keydown", e.keydownHandler, {
4879
+ }, ad = (t, e, n, r) => {
4880
+ ss(e), n.toast || (e.keydownHandler = (o) => ud(t, o, r), e.keydownTarget = n.keydownListenerCapture ? window : te(), e.keydownListenerCapture = n.keydownListenerCapture, e.keydownTarget.addEventListener("keydown", e.keydownHandler, {
4874
4881
  capture: e.keydownListenerCapture
4875
4882
  }), e.keydownHandlerAdded = !0);
4876
4883
  }, Pr = (t, e, n) => {
4877
4884
  const r = Gr();
4878
4885
  if (r.length)
4879
4886
  return e = e + n, e === r.length ? e = 0 : e === -1 && (e = r.length - 1), r[e].focus();
4880
- ee().focus();
4881
- }, as = ["ArrowRight", "ArrowDown"], ad = ["ArrowLeft", "ArrowUp"], ld = (t, e, n) => {
4887
+ te().focus();
4888
+ }, as = ["ArrowRight", "ArrowDown"], ld = ["ArrowLeft", "ArrowUp"], ud = (t, e, n) => {
4882
4889
  const r = F.innerParams.get(t);
4883
- r && (e.isComposing || e.keyCode === 229 || (r.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? ud(t, e, r) : e.key === "Tab" ? cd(e, r) : [...as, ...ad].includes(e.key) ? dd(e.key) : e.key === "Escape" && fd(e, r, n)));
4884
- }, ud = (t, e, n) => {
4890
+ r && (e.isComposing || e.keyCode === 229 || (r.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? cd(t, e, r) : e.key === "Tab" ? dd(e, r) : [...as, ...ld].includes(e.key) ? fd(e.key) : e.key === "Escape" && md(e, r, n)));
4891
+ }, cd = (t, e, n) => {
4885
4892
  if (Zn(n.allowEnterKey) && e.target && t.getInput() && e.target.outerHTML === t.getInput().outerHTML) {
4886
4893
  if (["textarea", "file"].includes(n.input))
4887
4894
  return;
4888
4895
  is(), e.preventDefault();
4889
4896
  }
4890
- }, cd = (t, e) => {
4897
+ }, dd = (t, e) => {
4891
4898
  const n = t.target, r = Gr();
4892
4899
  let o = -1;
4893
4900
  for (let i = 0; i < r.length; i++)
@@ -4896,7 +4903,7 @@ const wn = {
4896
4903
  break;
4897
4904
  }
4898
4905
  t.shiftKey ? Pr(e, o, -1) : Pr(e, o, 1), t.stopPropagation(), t.preventDefault();
4899
- }, dd = (t) => {
4906
+ }, fd = (t) => {
4900
4907
  const e = Ze(), n = wt(), r = Tt();
4901
4908
  if (![e, n, r].includes(document.activeElement))
4902
4909
  return;
@@ -4909,28 +4916,28 @@ const wn = {
4909
4916
  break;
4910
4917
  }
4911
4918
  i instanceof HTMLButtonElement && i.focus();
4912
- }, fd = (t, e, n) => {
4919
+ }, md = (t, e, n) => {
4913
4920
  Zn(e.allowEscapeKey) && (t.preventDefault(), n(Vt.esc));
4914
4921
  };
4915
4922
  function ls(t, e, n, r) {
4916
- er() ? ii(t, r) : (Du(n).then(() => ii(t, r)), ss(j)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), qr() && (Mc(), jc(), ts()), md();
4923
+ er() ? ii(t, r) : (Ru(n).then(() => ii(t, r)), ss(j)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), qr() && (Dc(), Fc(), ts()), pd();
4917
4924
  }
4918
- function md() {
4925
+ function pd() {
4919
4926
  it(
4920
4927
  [document.documentElement, document.body],
4921
4928
  [h.shown, h["height-auto"], h["no-backdrop"], h["toast-shown"]]
4922
4929
  );
4923
4930
  }
4924
4931
  function Dn(t) {
4925
- t = yd(t);
4926
- const e = wn.swalPromiseResolve.get(this), n = hd(this);
4932
+ t = vd(t);
4933
+ const e = wn.swalPromiseResolve.get(this), n = gd(this);
4927
4934
  this.isAwaitingPromise() ? t.isDismissed || (An(this), e(t)) : n && e(t);
4928
4935
  }
4929
- function pd() {
4936
+ function hd() {
4930
4937
  return !!F.awaitingPromise.get(this);
4931
4938
  }
4932
- const hd = (t) => {
4933
- const e = ee();
4939
+ const gd = (t) => {
4940
+ const e = te();
4934
4941
  if (!e)
4935
4942
  return !1;
4936
4943
  const n = F.innerParams.get(t);
@@ -4938,15 +4945,15 @@ const hd = (t) => {
4938
4945
  return !1;
4939
4946
  it(e, n.showClass.popup), q(e, n.hideClass.popup);
4940
4947
  const r = Se();
4941
- return it(r, n.showClass.backdrop), q(r, n.hideClass.backdrop), vd(t, e, n), !0;
4948
+ return it(r, n.showClass.backdrop), q(r, n.hideClass.backdrop), bd(t, e, n), !0;
4942
4949
  };
4943
- function gd(t) {
4950
+ function yd(t) {
4944
4951
  const e = wn.swalPromiseReject.get(this);
4945
4952
  An(this), e && e(t);
4946
4953
  }
4947
4954
  const An = (t) => {
4948
4955
  t.isAwaitingPromise() && (F.awaitingPromise.delete(t), F.innerParams.get(t) || t._destroy());
4949
- }, yd = (t) => typeof t > "u" ? {
4956
+ }, vd = (t) => typeof t > "u" ? {
4950
4957
  isConfirmed: !1,
4951
4958
  isDenied: !1,
4952
4959
  isDismissed: !0
@@ -4957,10 +4964,10 @@ const An = (t) => {
4957
4964
  isDismissed: !1
4958
4965
  },
4959
4966
  t
4960
- ), vd = (t, e, n) => {
4967
+ ), bd = (t, e, n) => {
4961
4968
  const r = Se(), o = bn && Zi(e);
4962
- typeof n.willClose == "function" && n.willClose(e), o ? bd(t, e, r, n.returnFocus, n.didClose) : ls(t, r, n.returnFocus, n.didClose);
4963
- }, bd = (t, e, n, r, o) => {
4969
+ typeof n.willClose == "function" && n.willClose(e), o ? wd(t, e, r, n.returnFocus, n.didClose) : ls(t, r, n.returnFocus, n.didClose);
4970
+ }, wd = (t, e, n, r, o) => {
4964
4971
  j.swalCloseEventFinishedCallback = ls.bind(
4965
4972
  null,
4966
4973
  t,
@@ -4991,40 +4998,40 @@ function cs(t, e) {
4991
4998
  } else
4992
4999
  t.disabled = e;
4993
5000
  }
4994
- function wd() {
5001
+ function _d() {
4995
5002
  us(this, ["confirmButton", "denyButton", "cancelButton"], !1);
4996
5003
  }
4997
- function _d() {
5004
+ function Sd() {
4998
5005
  us(this, ["confirmButton", "denyButton", "cancelButton"], !0);
4999
5006
  }
5000
- function Sd() {
5007
+ function kd() {
5001
5008
  return cs(this.getInput(), !1);
5002
5009
  }
5003
- function kd() {
5010
+ function Cd() {
5004
5011
  return cs(this.getInput(), !0);
5005
5012
  }
5006
- function Cd(t) {
5013
+ function Id(t) {
5007
5014
  const e = F.domCache.get(this), n = F.innerParams.get(this);
5008
5015
  _e(e.validationMessage, t), e.validationMessage.className = h["validation-message"], n.customClass && n.customClass.validationMessage && q(e.validationMessage, n.customClass.validationMessage), me(e.validationMessage);
5009
5016
  const r = this.getInput();
5010
5017
  r && (r.setAttribute("aria-invalid", !0), r.setAttribute("aria-describedby", h["validation-message"]), Yi(r), q(r, h.inputerror));
5011
5018
  }
5012
- function Id() {
5019
+ function Td() {
5013
5020
  const t = F.domCache.get(this);
5014
5021
  t.validationMessage && ke(t.validationMessage);
5015
5022
  const e = this.getInput();
5016
5023
  e && (e.removeAttribute("aria-invalid"), e.removeAttribute("aria-describedby"), it(e, h.inputerror));
5017
5024
  }
5018
- function Td() {
5025
+ function Ad() {
5019
5026
  return F.domCache.get(this).progressSteps;
5020
5027
  }
5021
- function Ad(t) {
5022
- const e = ee(), n = F.innerParams.get(this);
5028
+ function Pd(t) {
5029
+ const e = te(), n = F.innerParams.get(this);
5023
5030
  if (!e || ft(e, n.hideClass.popup))
5024
5031
  return De(
5025
5032
  "You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup."
5026
5033
  );
5027
- const r = Pd(t), o = Object.assign({}, n, r);
5034
+ const r = Ed(t), o = Object.assign({}, n, r);
5028
5035
  es(this, o), F.innerParams.set(this, o), Object.defineProperties(this, {
5029
5036
  params: {
5030
5037
  value: Object.assign({}, this.params, t),
@@ -5033,7 +5040,7 @@ function Ad(t) {
5033
5040
  }
5034
5041
  });
5035
5042
  }
5036
- const Pd = (t) => {
5043
+ const Ed = (t) => {
5037
5044
  const e = {};
5038
5045
  return Object.keys(t).forEach((n) => {
5039
5046
  Vi(n) ? e[n] = t[n] : De(
@@ -5043,15 +5050,15 @@ If you think this parameter should be updatable, request it here: https://github
5043
5050
  );
5044
5051
  }), e;
5045
5052
  };
5046
- function Ed() {
5053
+ function xd() {
5047
5054
  const t = F.domCache.get(this), e = F.innerParams.get(this);
5048
5055
  if (!e) {
5049
5056
  ds(this);
5050
5057
  return;
5051
5058
  }
5052
- t.popup && j.swalCloseEventFinishedCallback && (j.swalCloseEventFinishedCallback(), delete j.swalCloseEventFinishedCallback), j.deferDisposalTimer && (clearTimeout(j.deferDisposalTimer), delete j.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), xd(this);
5059
+ t.popup && j.swalCloseEventFinishedCallback && (j.swalCloseEventFinishedCallback(), delete j.swalCloseEventFinishedCallback), j.deferDisposalTimer && (clearTimeout(j.deferDisposalTimer), delete j.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), Ld(this);
5053
5060
  }
5054
- const xd = (t) => {
5061
+ const Ld = (t) => {
5055
5062
  ds(t), delete t.params, delete j.keydownHandler, delete j.keydownTarget, delete j.currentInstance;
5056
5063
  }, ds = (t) => {
5057
5064
  t.isAwaitingPromise() ? (fr(F, t), F.awaitingPromise.set(t, !0)) : (fr(wn, t), fr(F, t));
@@ -5060,32 +5067,32 @@ const xd = (t) => {
5060
5067
  t[n].delete(e);
5061
5068
  }, fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5062
5069
  __proto__: null,
5063
- _destroy: Ed,
5070
+ _destroy: xd,
5064
5071
  close: Dn,
5065
5072
  closeModal: Dn,
5066
5073
  closePopup: Dn,
5067
5074
  closeToast: Dn,
5068
- disableButtons: _d,
5069
- disableInput: kd,
5075
+ disableButtons: Sd,
5076
+ disableInput: Cd,
5070
5077
  disableLoading: oi,
5071
- enableButtons: wd,
5072
- enableInput: Sd,
5073
- getInput: nd,
5074
- getProgressSteps: Td,
5078
+ enableButtons: _d,
5079
+ enableInput: kd,
5080
+ getInput: rd,
5081
+ getProgressSteps: Ad,
5075
5082
  handleAwaitingPromise: An,
5076
5083
  hideLoading: oi,
5077
- isAwaitingPromise: pd,
5078
- rejectPromise: gd,
5079
- resetValidationMessage: Id,
5080
- showValidationMessage: Cd,
5081
- update: Ad
5082
- }, Symbol.toStringTag, { value: "Module" })), Ld = (t) => {
5084
+ isAwaitingPromise: hd,
5085
+ rejectPromise: yd,
5086
+ resetValidationMessage: Td,
5087
+ showValidationMessage: Id,
5088
+ update: Pd
5089
+ }, Symbol.toStringTag, { value: "Module" })), Od = (t) => {
5083
5090
  const e = F.innerParams.get(t);
5084
5091
  t.disableButtons(), e.input ? ms(t, "confirm") : eo(t, !0);
5085
- }, Od = (t) => {
5092
+ }, $d = (t) => {
5086
5093
  const e = F.innerParams.get(t);
5087
5094
  t.disableButtons(), e.returnInputValueOnDeny ? ms(t, "deny") : Qr(t, !1);
5088
- }, $d = (t, e) => {
5095
+ }, Md = (t, e) => {
5089
5096
  t.disableButtons(), e(Vt.cancel);
5090
5097
  }, ms = (t, e) => {
5091
5098
  const n = F.innerParams.get(t);
@@ -5093,9 +5100,9 @@ const xd = (t) => {
5093
5100
  return xt(
5094
5101
  `The "input" parameter is needed to be set when using returnInputValueOn${Vr(e)}`
5095
5102
  );
5096
- const r = qc(t, n);
5097
- n.inputValidator ? Md(t, r, e) : t.getInput().checkValidity() ? e === "deny" ? Qr(t, r) : eo(t, r) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
5098
- }, Md = (t, e, n) => {
5103
+ const r = Yc(t, n);
5104
+ n.inputValidator ? Dd(t, r, e) : t.getInput().checkValidity() ? e === "deny" ? Qr(t, r) : eo(t, r) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
5105
+ }, Dd = (t, e, n) => {
5099
5106
  const r = F.innerParams.get(t);
5100
5107
  t.disableInput(), Promise.resolve().then(
5101
5108
  () => Sn(r.inputValidator(e, r.validationMessage))
@@ -5120,28 +5127,28 @@ const xd = (t) => {
5120
5127
  ).then((o) => {
5121
5128
  Ue(Jn()) || o === !1 ? (t.hideLoading(), An(t)) : si(t, typeof o > "u" ? e : o);
5122
5129
  }).catch((o) => ps(t || void 0, o))) : si(t, e);
5123
- }, Dd = (t, e, n) => {
5124
- F.innerParams.get(t).toast ? Rd(t, e, n) : (Bd(e), Ud(e), Hd(t, e, n));
5125
5130
  }, Rd = (t, e, n) => {
5131
+ F.innerParams.get(t).toast ? Nd(t, e, n) : (Ud(e), Hd(e), jd(t, e, n));
5132
+ }, Nd = (t, e, n) => {
5126
5133
  e.popup.onclick = () => {
5127
5134
  const r = F.innerParams.get(t);
5128
- r && (Nd(r) || r.timer || r.input) || n(Vt.close);
5135
+ r && (Bd(r) || r.timer || r.input) || n(Vt.close);
5129
5136
  };
5130
- }, Nd = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
5137
+ }, Bd = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
5131
5138
  let qn = !1;
5132
- const Bd = (t) => {
5139
+ const Ud = (t) => {
5133
5140
  t.popup.onmousedown = () => {
5134
5141
  t.container.onmouseup = function(e) {
5135
5142
  t.container.onmouseup = void 0, e.target === t.container && (qn = !0);
5136
5143
  };
5137
5144
  };
5138
- }, Ud = (t) => {
5145
+ }, Hd = (t) => {
5139
5146
  t.container.onmousedown = () => {
5140
5147
  t.popup.onmouseup = function(e) {
5141
5148
  t.popup.onmouseup = void 0, (e.target === t.popup || t.popup.contains(e.target)) && (qn = !0);
5142
5149
  };
5143
5150
  };
5144
- }, Hd = (t, e, n) => {
5151
+ }, jd = (t, e, n) => {
5145
5152
  e.container.onclick = (r) => {
5146
5153
  const o = F.innerParams.get(t);
5147
5154
  if (qn) {
@@ -5150,18 +5157,18 @@ const Bd = (t) => {
5150
5157
  }
5151
5158
  r.target === e.container && Zn(o.allowOutsideClick) && n(Vt.backdrop);
5152
5159
  };
5153
- }, jd = (t) => typeof t == "object" && t.jquery, ai = (t) => t instanceof Element || jd(t), Fd = (t) => {
5160
+ }, Fd = (t) => typeof t == "object" && t.jquery, ai = (t) => t instanceof Element || Fd(t), Vd = (t) => {
5154
5161
  const e = {};
5155
5162
  return typeof t[0] == "object" && !ai(t[0]) ? Object.assign(e, t[0]) : ["title", "html", "icon"].forEach((n, r) => {
5156
5163
  const o = t[r];
5157
5164
  typeof o == "string" || ai(o) ? e[n] = o : o !== void 0 && xt(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`);
5158
5165
  }), e;
5159
5166
  };
5160
- function Vd(...t) {
5167
+ function Kd(...t) {
5161
5168
  const e = this;
5162
5169
  return new e(...t);
5163
5170
  }
5164
- function Kd(t) {
5171
+ function zd(t) {
5165
5172
  class e extends this {
5166
5173
  _main(r, o) {
5167
5174
  return super._main(r, Object.assign({}, t, o));
@@ -5169,29 +5176,29 @@ function Kd(t) {
5169
5176
  }
5170
5177
  return e;
5171
5178
  }
5172
- const zd = () => j.timeout && j.timeout.getTimerLeft(), hs = () => {
5179
+ const Wd = () => j.timeout && j.timeout.getTimerLeft(), hs = () => {
5173
5180
  if (j.timeout)
5174
- return Ou(), j.timeout.stop();
5181
+ return $u(), j.timeout.stop();
5175
5182
  }, gs = () => {
5176
5183
  if (j.timeout) {
5177
5184
  const t = j.timeout.start();
5178
5185
  return Xr(t), t;
5179
5186
  }
5180
- }, Wd = () => {
5187
+ }, Gd = () => {
5181
5188
  const t = j.timeout;
5182
5189
  return t && (t.running ? hs() : gs());
5183
- }, Gd = (t) => {
5190
+ }, qd = (t) => {
5184
5191
  if (j.timeout) {
5185
5192
  const e = j.timeout.increase(t);
5186
5193
  return Xr(e, !0), e;
5187
5194
  }
5188
- }, qd = () => j.timeout && j.timeout.isRunning();
5195
+ }, Yd = () => j.timeout && j.timeout.isRunning();
5189
5196
  let li = !1;
5190
5197
  const Er = {};
5191
- function Yd(t = "data-swal-template") {
5192
- Er[t] = this, li || (document.body.addEventListener("click", Xd), li = !0);
5198
+ function Xd(t = "data-swal-template") {
5199
+ Er[t] = this, li || (document.body.addEventListener("click", Zd), li = !0);
5193
5200
  }
5194
- const Xd = (t) => {
5201
+ const Zd = (t) => {
5195
5202
  for (let e = t.target; e && e !== document; e = e.parentNode)
5196
5203
  for (const n in Er) {
5197
5204
  const r = e.getAttribute(n);
@@ -5200,15 +5207,15 @@ const Xd = (t) => {
5200
5207
  return;
5201
5208
  }
5202
5209
  }
5203
- }, Zd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5210
+ }, Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5204
5211
  __proto__: null,
5205
- argsToParams: Fd,
5206
- bindClickHandler: Yd,
5207
- clickCancel: id,
5212
+ argsToParams: Vd,
5213
+ bindClickHandler: Xd,
5214
+ clickCancel: sd,
5208
5215
  clickConfirm: is,
5209
- clickDeny: od,
5216
+ clickDeny: id,
5210
5217
  enableLoading: jt,
5211
- fire: Vd,
5218
+ fire: Kd,
5212
5219
  getActions: In,
5213
5220
  getCancelButton: Tt,
5214
5221
  getCloseButton: Wr,
@@ -5220,25 +5227,25 @@ const Xd = (t) => {
5220
5227
  getHtmlContainer: Gn,
5221
5228
  getIcon: Cn,
5222
5229
  getImage: Wi,
5223
- getInputLabel: Au,
5230
+ getInputLabel: Pu,
5224
5231
  getLoader: Ft,
5225
- getPopup: ee,
5226
- getTimerLeft: zd,
5232
+ getPopup: te,
5233
+ getTimerLeft: Wd,
5227
5234
  getTimerProgressBar: Qn,
5228
5235
  getTitle: zi,
5229
5236
  getValidationMessage: Jn,
5230
- increaseTimer: Gd,
5237
+ increaseTimer: qd,
5231
5238
  isDeprecatedParameter: Tr,
5232
- isLoading: Eu,
5233
- isTimerRunning: qd,
5239
+ isLoading: xu,
5240
+ isTimerRunning: Yd,
5234
5241
  isUpdatableParameter: Vi,
5235
5242
  isValidParameter: Fi,
5236
- isVisible: rd,
5237
- mixin: Kd,
5243
+ isVisible: od,
5244
+ mixin: zd,
5238
5245
  resumeTimer: gs,
5239
5246
  showLoading: jt,
5240
5247
  stopTimer: hs,
5241
- toggleTimer: Wd
5248
+ toggleTimer: Gd
5242
5249
  }, Symbol.toStringTag, { value: "Module" }));
5243
5250
  let xr;
5244
5251
  class Kt {
@@ -5259,11 +5266,11 @@ class Kt {
5259
5266
  F.promise.set(this, r);
5260
5267
  }
5261
5268
  _main(e, n = {}) {
5262
- Iu(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), qr() && ts()), j.currentInstance = this;
5263
- const r = Qd(e, n);
5264
- Lc(r), Object.freeze(r), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5265
- const o = ef(this);
5266
- return es(this, r), F.innerParams.set(this, r), Jd(this, o, r);
5269
+ Tu(Object.assign({}, n, e)), j.currentInstance && (j.currentInstance._destroy(), qr() && ts()), j.currentInstance = this;
5270
+ const r = ef(e, n);
5271
+ Oc(r), Object.freeze(r), j.timeout && (j.timeout.stop(), delete j.timeout), clearTimeout(j.restoreFocusTimeout);
5272
+ const o = tf(this);
5273
+ return es(this, r), F.innerParams.set(this, r), Qd(this, o, r);
5267
5274
  }
5268
5275
  // `catch` cannot be the name of a module export, so we define our thenable methods here instead
5269
5276
  then(e) {
@@ -5273,19 +5280,19 @@ class Kt {
5273
5280
  return F.promise.get(this).finally(e);
5274
5281
  }
5275
5282
  }
5276
- const Jd = (t, e, n) => new Promise((r, o) => {
5283
+ const Qd = (t, e, n) => new Promise((r, o) => {
5277
5284
  const i = (a) => {
5278
5285
  t.closePopup({ isDismissed: !0, dismiss: a });
5279
5286
  };
5280
- wn.swalPromiseResolve.set(t, r), wn.swalPromiseReject.set(t, o), e.confirmButton.onclick = () => Ld(t), e.denyButton.onclick = () => Od(t), e.cancelButton.onclick = () => $d(t, i), e.closeButton.onclick = () => i(Vt.close), Dd(t, e, i), sd(t, j, n, i), Gc(t, n), Fc(n), tf(j, n, i), nf(e, n), setTimeout(() => {
5287
+ wn.swalPromiseResolve.set(t, r), wn.swalPromiseReject.set(t, o), e.confirmButton.onclick = () => Od(t), e.denyButton.onclick = () => $d(t), e.cancelButton.onclick = () => Md(t, i), e.closeButton.onclick = () => i(Vt.close), Rd(t, e, i), ad(t, j, n, i), qc(t, n), Vc(n), nf(j, n, i), rf(e, n), setTimeout(() => {
5281
5288
  e.container.scrollTop = 0;
5282
5289
  });
5283
- }), Qd = (t, e) => {
5284
- const n = _c(t), r = Object.assign({}, Bt, e, n, t);
5290
+ }), ef = (t, e) => {
5291
+ const n = Sc(t), r = Object.assign({}, Bt, e, n, t);
5285
5292
  return r.showClass = Object.assign({}, Bt.showClass, r.showClass), r.hideClass = Object.assign({}, Bt.hideClass, r.hideClass), r;
5286
- }, ef = (t) => {
5293
+ }, tf = (t) => {
5287
5294
  const e = {
5288
- popup: ee(),
5295
+ popup: te(),
5289
5296
  container: Se(),
5290
5297
  actions: In(),
5291
5298
  confirmButton: Ze(),
@@ -5297,24 +5304,24 @@ const Jd = (t, e, n) => new Promise((r, o) => {
5297
5304
  progressSteps: Gi()
5298
5305
  };
5299
5306
  return F.domCache.set(t, e), e;
5300
- }, tf = (t, e, n) => {
5307
+ }, nf = (t, e, n) => {
5301
5308
  const r = Qn();
5302
- ke(r), e.timer && (t.timeout = new Oc(() => {
5309
+ ke(r), e.timer && (t.timeout = new $c(() => {
5303
5310
  n("timer"), delete t.timeout;
5304
5311
  }, e.timer), e.timerProgressBar && (me(r), Ve(r, e, "timerProgressBar"), setTimeout(() => {
5305
5312
  t.timeout && t.timeout.running && Xr(e.timer);
5306
5313
  })));
5307
- }, nf = (t, e) => {
5314
+ }, rf = (t, e) => {
5308
5315
  if (!e.toast) {
5309
5316
  if (!Zn(e.allowEnterKey))
5310
- return of();
5311
- rf(t, e) || Pr(e, -1, 1);
5317
+ return sf();
5318
+ of(t, e) || Pr(e, -1, 1);
5312
5319
  }
5313
- }, rf = (t, e) => e.focusDeny && Ue(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ue(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ue(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, of = () => {
5320
+ }, of = (t, e) => e.focusDeny && Ue(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ue(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ue(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, sf = () => {
5314
5321
  document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
5315
5322
  };
5316
5323
  Object.assign(Kt.prototype, fs);
5317
- Object.assign(Kt, Zd);
5324
+ Object.assign(Kt, Jd);
5318
5325
  Object.keys(fs).forEach((t) => {
5319
5326
  Kt[t] = function(...e) {
5320
5327
  if (xr)
@@ -5329,9 +5336,9 @@ Pt.default = Pt;
5329
5336
  const {
5330
5337
  entries: ys,
5331
5338
  setPrototypeOf: ui,
5332
- isFrozen: sf,
5333
- getPrototypeOf: af,
5334
- getOwnPropertyDescriptor: lf
5339
+ isFrozen: af,
5340
+ getPrototypeOf: lf,
5341
+ getOwnPropertyDescriptor: uf
5335
5342
  } = Object;
5336
5343
  let {
5337
5344
  freeze: Pe,
@@ -5353,7 +5360,7 @@ Lr || (Lr = function(e, n, r) {
5353
5360
  Or || (Or = function(e, n) {
5354
5361
  return new e(...n);
5355
5362
  });
5356
- const Rn = je(Array.prototype.forEach), ci = je(Array.prototype.pop), Zt = je(Array.prototype.push), jn = je(String.prototype.toLowerCase), mr = je(String.prototype.toString), di = je(String.prototype.match), Jt = je(String.prototype.replace), uf = je(String.prototype.indexOf), cf = je(String.prototype.trim), Ge = je(Object.prototype.hasOwnProperty), Ie = je(RegExp.prototype.test), Qt = df(TypeError);
5363
+ const Rn = je(Array.prototype.forEach), ci = je(Array.prototype.pop), Zt = je(Array.prototype.push), jn = je(String.prototype.toLowerCase), mr = je(String.prototype.toString), di = je(String.prototype.match), Jt = je(String.prototype.replace), cf = je(String.prototype.indexOf), df = je(String.prototype.trim), Ge = je(Object.prototype.hasOwnProperty), Ie = je(RegExp.prototype.test), Qt = ff(TypeError);
5357
5364
  function je(t) {
5358
5365
  return function(e) {
5359
5366
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
@@ -5361,7 +5368,7 @@ function je(t) {
5361
5368
  return Lr(t, e, r);
5362
5369
  };
5363
5370
  }
5364
- function df(t) {
5371
+ function ff(t) {
5365
5372
  return function() {
5366
5373
  for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
5367
5374
  n[r] = arguments[r];
@@ -5376,13 +5383,13 @@ function z(t, e) {
5376
5383
  let o = e[r];
5377
5384
  if (typeof o == "string") {
5378
5385
  const i = n(o);
5379
- i !== o && (sf(e) || (e[r] = i), o = i);
5386
+ i !== o && (af(e) || (e[r] = i), o = i);
5380
5387
  }
5381
5388
  t[o] = !0;
5382
5389
  }
5383
5390
  return t;
5384
5391
  }
5385
- function ff(t) {
5392
+ function mf(t) {
5386
5393
  for (let e = 0; e < t.length; e++)
5387
5394
  Ge(t, e) || (t[e] = null);
5388
5395
  return t;
@@ -5390,44 +5397,44 @@ function ff(t) {
5390
5397
  function Ct(t) {
5391
5398
  const e = vs(null);
5392
5399
  for (const [n, r] of ys(t))
5393
- Ge(t, n) && (Array.isArray(r) ? e[n] = ff(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = Ct(r) : e[n] = r);
5400
+ Ge(t, n) && (Array.isArray(r) ? e[n] = mf(r) : r && typeof r == "object" && r.constructor === Object ? e[n] = Ct(r) : e[n] = r);
5394
5401
  return e;
5395
5402
  }
5396
5403
  function en(t, e) {
5397
5404
  for (; t !== null; ) {
5398
- const r = lf(t, e);
5405
+ const r = uf(t, e);
5399
5406
  if (r) {
5400
5407
  if (r.get)
5401
5408
  return je(r.get);
5402
5409
  if (typeof r.value == "function")
5403
5410
  return je(r.value);
5404
5411
  }
5405
- t = af(t);
5412
+ t = lf(t);
5406
5413
  }
5407
5414
  function n() {
5408
5415
  return null;
5409
5416
  }
5410
5417
  return n;
5411
5418
  }
5412
- const fi = Pe(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pr = Pe(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), hr = Pe(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), mf = Pe(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), gr = Pe(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), pf = Pe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mi = Pe(["#text"]), pi = Pe(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yr = Pe(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), hi = Pe(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Nn = Pe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), hf = Ke(/\{\{[\w\W]*|[\w\W]*\}\}/gm), gf = Ke(/<%[\w\W]*|[\w\W]*%>/gm), yf = Ke(/\${[\w\W]*}/gm), vf = Ke(/^data-[\-\w.\u00B7-\uFFFF]/), bf = Ke(/^aria-[\-\w]+$/), bs = Ke(
5419
+ const fi = Pe(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), pr = Pe(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), hr = Pe(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), pf = Pe(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), gr = Pe(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), hf = Pe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mi = Pe(["#text"]), pi = Pe(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yr = Pe(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), hi = Pe(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Nn = Pe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), gf = Ke(/\{\{[\w\W]*|[\w\W]*\}\}/gm), yf = Ke(/<%[\w\W]*|[\w\W]*%>/gm), vf = Ke(/\${[\w\W]*}/gm), bf = Ke(/^data-[\-\w.\u00B7-\uFFFF]/), wf = Ke(/^aria-[\-\w]+$/), bs = Ke(
5413
5420
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
5414
5421
  // eslint-disable-line no-useless-escape
5415
- ), wf = Ke(/^(?:\w+script|data):/i), _f = Ke(
5422
+ ), _f = Ke(/^(?:\w+script|data):/i), Sf = Ke(
5416
5423
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
5417
5424
  // eslint-disable-line no-control-regex
5418
- ), ws = Ke(/^html$/i), Sf = Ke(/^[a-z][.\w]*(-[.\w]+)+$/i);
5425
+ ), ws = Ke(/^html$/i), kf = Ke(/^[a-z][.\w]*(-[.\w]+)+$/i);
5419
5426
  var gi = /* @__PURE__ */ Object.freeze({
5420
5427
  __proto__: null,
5421
- MUSTACHE_EXPR: hf,
5422
- ERB_EXPR: gf,
5423
- TMPLIT_EXPR: yf,
5424
- DATA_ATTR: vf,
5425
- ARIA_ATTR: bf,
5428
+ MUSTACHE_EXPR: gf,
5429
+ ERB_EXPR: yf,
5430
+ TMPLIT_EXPR: vf,
5431
+ DATA_ATTR: bf,
5432
+ ARIA_ATTR: wf,
5426
5433
  IS_ALLOWED_URI: bs,
5427
- IS_SCRIPT_OR_DATA: wf,
5428
- ATTR_WHITESPACE: _f,
5434
+ IS_SCRIPT_OR_DATA: _f,
5435
+ ATTR_WHITESPACE: Sf,
5429
5436
  DOCTYPE_NAME: ws,
5430
- CUSTOM_ELEMENT: Sf
5437
+ CUSTOM_ELEMENT: kf
5431
5438
  });
5432
5439
  const tn = {
5433
5440
  element: 1,
@@ -5445,9 +5452,9 @@ const tn = {
5445
5452
  documentFragment: 11,
5446
5453
  notation: 12
5447
5454
  // Deprecated
5448
- }, kf = function() {
5455
+ }, Cf = function() {
5449
5456
  return typeof window > "u" ? null : window;
5450
- }, Cf = function(e, n) {
5457
+ }, If = function(e, n) {
5451
5458
  if (typeof e != "object" || typeof e.createPolicy != "function")
5452
5459
  return null;
5453
5460
  let r = null;
@@ -5468,7 +5475,7 @@ const tn = {
5468
5475
  }
5469
5476
  };
5470
5477
  function _s() {
5471
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : kf();
5478
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Cf();
5472
5479
  const e = (D) => _s(D);
5473
5480
  if (e.version = "3.1.6", e.removed = [], !t || !t.document || t.document.nodeType !== tn.document)
5474
5481
  return e.isSupported = !1, e;
@@ -5576,10 +5583,10 @@ function _s() {
5576
5583
  throw Qt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
5577
5584
  H = f.TRUSTED_TYPES_POLICY, Y = H.createHTML("");
5578
5585
  } else
5579
- H === void 0 && (H = Cf(w, o)), H !== null && typeof Y == "string" && (Y = H.createHTML(""));
5586
+ H === void 0 && (H = If(w, o)), H !== null && typeof Y == "string" && (Y = H.createHTML(""));
5580
5587
  Pe && Pe(f), Dt = f;
5581
5588
  }
5582
- }, co = z({}, ["mi", "mo", "mn", "ms", "mtext"]), fo = z({}, ["foreignobject", "annotation-xml"]), Ns = z({}, ["title", "style", "font", "a", "script"]), mo = z({}, [...pr, ...hr, ...mf]), po = z({}, [...gr, ...pf]), Bs = function(f) {
5589
+ }, co = z({}, ["mi", "mo", "mn", "ms", "mtext"]), fo = z({}, ["foreignobject", "annotation-xml"]), Ns = z({}, ["title", "style", "font", "a", "script"]), mo = z({}, [...pr, ...hr, ...pf]), po = z({}, [...gr, ...hf]), Bs = function(f) {
5583
5590
  let I = R(f);
5584
5591
  (!I || !I.tagName) && (I = {
5585
5592
  namespaceURI: Mt,
@@ -5705,7 +5712,7 @@ function _s() {
5705
5712
  ) return !1;
5706
5713
  } else if (!rr[I]) {
5707
5714
  if (!Ie(Fe, Jt($, et, ""))) {
5708
- if (!((I === "src" || I === "xlink:href" || I === "href") && f !== "script" && uf($, "data:") === 0 && so[f])) {
5715
+ if (!((I === "src" || I === "xlink:href" || I === "href") && f !== "script" && cf($, "data:") === 0 && so[f])) {
5709
5716
  if (!(x && !Ie(Qe, Jt($, et, "")))) {
5710
5717
  if ($)
5711
5718
  return !1;
@@ -5738,7 +5745,7 @@ function _s() {
5738
5745
  namespaceURI: xe,
5739
5746
  value: nt
5740
5747
  } = be, Gt = ue(de);
5741
- let Ce = de === "value" ? nt : cf(nt);
5748
+ let Ce = de === "value" ? nt : df(nt);
5742
5749
  if ($.attrName = Gt, $.attrValue = Ce, $.keepAttr = !0, $.forceKeepAttr = void 0, ut("uponSanitizeAttribute", f, $), Ce = $.attrValue, Ee && Ie(/((--!?|])>)|<\/(style|title)/i, Ce)) {
5743
5750
  On(de, f);
5744
5751
  continue;
@@ -5870,12 +5877,12 @@ class ks {
5870
5877
  });
5871
5878
  }
5872
5879
  }
5873
- const If = () => new ks(), xm = () => new ks();
5874
- function Tf(t) {
5880
+ const Tf = () => new ks(), xm = () => new ks();
5881
+ function Af(t) {
5875
5882
  return t instanceof Uint8Array || t != null && typeof t == "object" && t.constructor.name === "Uint8Array";
5876
5883
  }
5877
5884
  function Cs(t, ...e) {
5878
- if (!Tf(t))
5885
+ if (!Af(t))
5879
5886
  throw new Error("Uint8Array expected");
5880
5887
  if (e.length > 0 && !e.includes(t.length))
5881
5888
  throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`);
@@ -5886,7 +5893,7 @@ function yi(t, e = !0) {
5886
5893
  if (e && t.finished)
5887
5894
  throw new Error("Hash#digest() has already been called");
5888
5895
  }
5889
- function Af(t, e) {
5896
+ function Pf(t, e) {
5890
5897
  Cs(t);
5891
5898
  const n = e.outputLen;
5892
5899
  if (t.length < n)
@@ -5895,32 +5902,32 @@ function Af(t, e) {
5895
5902
  /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
5896
5903
  const vr = (t) => new DataView(t.buffer, t.byteOffset, t.byteLength), rt = (t, e) => t << 32 - e | t >>> e;
5897
5904
  new Uint8Array(new Uint32Array([287454020]).buffer)[0];
5898
- function Pf(t) {
5905
+ function Ef(t) {
5899
5906
  if (typeof t != "string")
5900
5907
  throw new Error(`utf8ToBytes expected string, got ${typeof t}`);
5901
5908
  return new Uint8Array(new TextEncoder().encode(t));
5902
5909
  }
5903
5910
  function Is(t) {
5904
- return typeof t == "string" && (t = Pf(t)), Cs(t), t;
5911
+ return typeof t == "string" && (t = Ef(t)), Cs(t), t;
5905
5912
  }
5906
- class Ef {
5913
+ class xf {
5907
5914
  // Safe version that clones internal state
5908
5915
  clone() {
5909
5916
  return this._cloneInto();
5910
5917
  }
5911
5918
  }
5912
- function xf(t) {
5919
+ function Lf(t) {
5913
5920
  const e = (r) => t().update(Is(r)).digest(), n = t();
5914
5921
  return e.outputLen = n.outputLen, e.blockLen = n.blockLen, e.create = () => t(), e;
5915
5922
  }
5916
- function Lf(t, e, n, r) {
5923
+ function Of(t, e, n, r) {
5917
5924
  if (typeof t.setBigUint64 == "function")
5918
5925
  return t.setBigUint64(e, n, r);
5919
5926
  const o = BigInt(32), i = BigInt(4294967295), a = Number(n >> o & i), s = Number(n & i), l = r ? 4 : 0, c = r ? 0 : 4;
5920
5927
  t.setUint32(e + l, a, r), t.setUint32(e + c, s, r);
5921
5928
  }
5922
- const Of = (t, e, n) => t & e ^ ~t & n, $f = (t, e, n) => t & e ^ t & n ^ e & n;
5923
- class Mf extends Ef {
5929
+ const $f = (t, e, n) => t & e ^ ~t & n, Mf = (t, e, n) => t & e ^ t & n ^ e & n;
5930
+ class Df extends xf {
5924
5931
  constructor(e, n, r, o) {
5925
5932
  super(), this.blockLen = e, this.outputLen = n, this.padOffset = r, this.isLE = o, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(e), this.view = vr(this.buffer);
5926
5933
  }
@@ -5942,13 +5949,13 @@ class Mf extends Ef {
5942
5949
  return this.length += e.length, this.roundClean(), this;
5943
5950
  }
5944
5951
  digestInto(e) {
5945
- yi(this), Af(e, this), this.finished = !0;
5952
+ yi(this), Pf(e, this), this.finished = !0;
5946
5953
  const { buffer: n, view: r, blockLen: o, isLE: i } = this;
5947
5954
  let { pos: a } = this;
5948
5955
  n[a++] = 128, this.buffer.subarray(a).fill(0), this.padOffset > o - a && (this.process(r, 0), a = 0);
5949
5956
  for (let m = a; m < o; m++)
5950
5957
  n[m] = 0;
5951
- Lf(r, o - 8, BigInt(this.length * 8), i), this.process(r, 0);
5958
+ Of(r, o - 8, BigInt(this.length * 8), i), this.process(r, 0);
5952
5959
  const s = vr(e), l = this.outputLen;
5953
5960
  if (l % 4)
5954
5961
  throw new Error("_sha2: outputLen should be aligned to 32bit");
@@ -5970,7 +5977,7 @@ class Mf extends Ef {
5970
5977
  return e.length = o, e.pos = s, e.finished = i, e.destroyed = a, o % n && e.buffer.set(r), e;
5971
5978
  }
5972
5979
  }
5973
- const Df = /* @__PURE__ */ new Uint32Array([
5980
+ const Rf = /* @__PURE__ */ new Uint32Array([
5974
5981
  1116352408,
5975
5982
  1899447441,
5976
5983
  3049323471,
@@ -6045,7 +6052,7 @@ const Df = /* @__PURE__ */ new Uint32Array([
6045
6052
  528734635,
6046
6053
  1541459225
6047
6054
  ]), ht = /* @__PURE__ */ new Uint32Array(64);
6048
- class Rf extends Mf {
6055
+ class Nf extends Df {
6049
6056
  constructor() {
6050
6057
  super(64, 32, 8, !1), this.A = pt[0] | 0, this.B = pt[1] | 0, this.C = pt[2] | 0, this.D = pt[3] | 0, this.E = pt[4] | 0, this.F = pt[5] | 0, this.G = pt[6] | 0, this.H = pt[7] | 0;
6051
6058
  }
@@ -6066,7 +6073,7 @@ class Rf extends Mf {
6066
6073
  }
6067
6074
  let { A: r, B: o, C: i, D: a, E: s, F: l, G: c, H: d } = this;
6068
6075
  for (let m = 0; m < 64; m++) {
6069
- const g = rt(s, 6) ^ rt(s, 11) ^ rt(s, 25), w = d + g + Of(s, l, c) + Df[m] + ht[m] | 0, A = (rt(r, 2) ^ rt(r, 13) ^ rt(r, 22)) + $f(r, o, i) | 0;
6076
+ const g = rt(s, 6) ^ rt(s, 11) ^ rt(s, 25), w = d + g + $f(s, l, c) + Rf[m] + ht[m] | 0, A = (rt(r, 2) ^ rt(r, 13) ^ rt(r, 22)) + Mf(r, o, i) | 0;
6070
6077
  d = c, c = l, l = s, s = a + w | 0, a = i, i = o, o = r, r = w + A | 0;
6071
6078
  }
6072
6079
  r = r + this.A | 0, o = o + this.B | 0, i = i + this.C | 0, a = a + this.D | 0, s = s + this.E | 0, l = l + this.F | 0, c = c + this.G | 0, d = d + this.H | 0, this.set(r, o, i, a, s, l, c, d);
@@ -6078,17 +6085,17 @@ class Rf extends Mf {
6078
6085
  this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
6079
6086
  }
6080
6087
  }
6081
- const Nf = /* @__PURE__ */ xf(() => new Rf());
6088
+ const Bf = /* @__PURE__ */ Lf(() => new Nf());
6082
6089
  class sn extends Error {
6083
6090
  }
6084
6091
  sn.prototype.name = "InvalidTokenError";
6085
- function Bf(t) {
6092
+ function Uf(t) {
6086
6093
  return decodeURIComponent(atob(t).replace(/(.)/g, (e, n) => {
6087
6094
  let r = n.charCodeAt(0).toString(16).toUpperCase();
6088
6095
  return r.length < 2 && (r = "0" + r), "%" + r;
6089
6096
  }));
6090
6097
  }
6091
- function Uf(t) {
6098
+ function Hf(t) {
6092
6099
  let e = t.replace(/-/g, "+").replace(/_/g, "/");
6093
6100
  switch (e.length % 4) {
6094
6101
  case 0:
@@ -6103,7 +6110,7 @@ function Uf(t) {
6103
6110
  throw new Error("base64 string is not of the correct length");
6104
6111
  }
6105
6112
  try {
6106
- return Bf(e);
6113
+ return Uf(e);
6107
6114
  } catch {
6108
6115
  return atob(e);
6109
6116
  }
@@ -6117,7 +6124,7 @@ function br(t, e) {
6117
6124
  throw new sn(`Invalid token specified: missing part #${n + 1}`);
6118
6125
  let o;
6119
6126
  try {
6120
- o = Uf(r);
6127
+ o = Hf(r);
6121
6128
  } catch (i) {
6122
6129
  throw new sn(`Invalid token specified: invalid base64 for part #${n + 1} (${i.message})`);
6123
6130
  }
@@ -6305,8 +6312,8 @@ function Ts(t) {
6305
6312
  throw new TypeError(
6306
6313
  `Invalid value for 'pkceMethod', expected 'S256' but got '${u}'.`
6307
6314
  );
6308
- const v = Nf(p);
6309
- return Hf(v).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6315
+ const v = Bf(p);
6316
+ return jf(v).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
6310
6317
  }
6311
6318
  function A(u) {
6312
6319
  var p = {
@@ -7077,11 +7084,11 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
7077
7084
  };
7078
7085
  }
7079
7086
  }
7080
- function Hf(t) {
7087
+ function jf(t) {
7081
7088
  const e = String.fromCodePoint(...t);
7082
7089
  return btoa(e);
7083
7090
  }
7084
- class jf {
7091
+ class Ff {
7085
7092
  constructor(e) {
7086
7093
  Ne(this, "oidc");
7087
7094
  Ne(this, "isAuthenticated", !1);
@@ -7111,43 +7118,43 @@ class jf {
7111
7118
  }
7112
7119
  let As;
7113
7120
  function Lm(t) {
7114
- As = new jf(t);
7121
+ As = new Ff(t);
7115
7122
  }
7116
7123
  const vi = () => As;
7117
- function Ff(t) {
7124
+ function Vf(t) {
7118
7125
  return zs() ? (Ws(t), !0) : !1;
7119
7126
  }
7120
- const Vf = typeof window < "u" && typeof document < "u";
7127
+ const Kf = typeof window < "u" && typeof document < "u";
7121
7128
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7122
- function Kf(t) {
7129
+ function zf(t) {
7123
7130
  return Rr();
7124
7131
  }
7125
- function zf(t) {
7132
+ function Wf(t) {
7126
7133
  return Array.isArray(t) ? t : [t];
7127
7134
  }
7128
- function Wf(t, e = !0, n) {
7129
- Kf() ? Et(t, n) : e ? t() : Si(t);
7135
+ function Gf(t, e = !0, n) {
7136
+ zf() ? Et(t, n) : e ? t() : Si(t);
7130
7137
  }
7131
- const Ps = Vf ? window : void 0;
7138
+ const Ps = Kf ? window : void 0;
7132
7139
  function Nt(t) {
7133
7140
  var e;
7134
7141
  const n = Ci(t);
7135
7142
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
7136
7143
  }
7137
- function Gf() {
7144
+ function qf() {
7138
7145
  const t = oe(!1), e = Rr();
7139
7146
  return e && Et(() => {
7140
7147
  t.value = !0;
7141
7148
  }, e), t;
7142
7149
  }
7143
- function qf(t) {
7144
- const e = Gf();
7150
+ function Yf(t) {
7151
+ const e = qf();
7145
7152
  return we(() => (e.value, !!t()));
7146
7153
  }
7147
- function Yf(t, e, n = {}) {
7154
+ function Xf(t, e, n = {}) {
7148
7155
  const { window: r = Ps, ...o } = n;
7149
7156
  let i;
7150
- const a = qf(() => r && "ResizeObserver" in r), s = () => {
7157
+ const a = Yf(() => r && "ResizeObserver" in r), s = () => {
7151
7158
  i && (i.disconnect(), i = void 0);
7152
7159
  }, l = we(() => {
7153
7160
  const m = Ci(t);
@@ -7165,16 +7172,16 @@ function Yf(t, e, n = {}) {
7165
7172
  ), d = () => {
7166
7173
  s(), c();
7167
7174
  };
7168
- return Ff(d), {
7175
+ return Vf(d), {
7169
7176
  isSupported: a,
7170
7177
  stop: d
7171
7178
  };
7172
7179
  }
7173
- function Xf(t, e = { width: 0, height: 0 }, n = {}) {
7180
+ function Zf(t, e = { width: 0, height: 0 }, n = {}) {
7174
7181
  const { window: r = Ps, box: o = "content-box" } = n, i = we(() => {
7175
7182
  var m, g;
7176
7183
  return (g = (m = Nt(t)) == null ? void 0 : m.namespaceURI) == null ? void 0 : g.includes("svg");
7177
- }), a = oe(e.width), s = oe(e.height), { stop: l } = Yf(
7184
+ }), a = oe(e.width), s = oe(e.height), { stop: l } = Xf(
7178
7185
  t,
7179
7186
  ([m]) => {
7180
7187
  const g = o === "border-box" ? m.borderBoxSize : o === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
@@ -7185,14 +7192,14 @@ function Xf(t, e = { width: 0, height: 0 }, n = {}) {
7185
7192
  a.value = k.width, s.value = k.height;
7186
7193
  }
7187
7194
  } else if (g) {
7188
- const w = zf(g);
7195
+ const w = Wf(g);
7189
7196
  a.value = w.reduce((k, { inlineSize: A }) => k + A, 0), s.value = w.reduce((k, { blockSize: A }) => k + A, 0);
7190
7197
  } else
7191
7198
  a.value = m.contentRect.width, s.value = m.contentRect.height;
7192
7199
  },
7193
7200
  n
7194
7201
  );
7195
- Wf(() => {
7202
+ Gf(() => {
7196
7203
  const m = Nt(t);
7197
7204
  m && (a.value = "offsetWidth" in m ? m.offsetWidth : e.width, s.value = "offsetHeight" in m ? m.offsetHeight : e.height);
7198
7205
  });
@@ -7211,15 +7218,15 @@ function Xf(t, e = { width: 0, height: 0 }, n = {}) {
7211
7218
  stop: d
7212
7219
  };
7213
7220
  }
7214
- var Zf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7215
- function Jf(t) {
7221
+ var Jf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7222
+ function Qf(t) {
7216
7223
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
7217
7224
  }
7218
7225
  var Es = { exports: {} };
7219
7226
  (function(t) {
7220
7227
  (function(e, n) {
7221
7228
  t.exports ? t.exports = n() : e.log = n();
7222
- })(Zf, function() {
7229
+ })(Jf, function() {
7223
7230
  var e = function() {
7224
7231
  }, n = "undefined", r = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), o = [
7225
7232
  "trace",
@@ -7361,8 +7368,8 @@ var Es = { exports: {} };
7361
7368
  }, a.default = a, a;
7362
7369
  });
7363
7370
  })(Es);
7364
- var Qf = Es.exports;
7365
- const Fn = /* @__PURE__ */ Jf(Qf), Om = {
7371
+ var em = Es.exports;
7372
+ const Fn = /* @__PURE__ */ Qf(em), Om = {
7366
7373
  install(t, e) {
7367
7374
  const n = e ?? {};
7368
7375
  Fn.setDefaultLevel(
@@ -7373,7 +7380,7 @@ const Fn = /* @__PURE__ */ Jf(Qf), Om = {
7373
7380
  "--nav-menu-width",
7374
7381
  `${r}px`
7375
7382
  );
7376
- const o = oe(!0), i = oe(0), a = oe(!1), s = oe(!1), l = oe(""), c = oe(null), { width: d } = Xf(c);
7383
+ const o = oe(!0), i = oe(0), a = oe(!1), s = oe(!1), l = oe(""), c = oe(null), { width: d } = Zf(c);
7377
7384
  t.provide(Hi, {
7378
7385
  navMenuWidth: r,
7379
7386
  isMenuOpened: o,
@@ -7394,7 +7401,7 @@ const Fn = /* @__PURE__ */ Jf(Qf), Om = {
7394
7401
  EnableLightMode: () => Xt.EnableLightMode(),
7395
7402
  ClearStoredTheme: () => Xt.ClearStoredTheme(),
7396
7403
  LogoutAsync: async () => {
7397
- const g = If(), { oidc: w } = vi();
7404
+ const g = Tf(), { oidc: w } = vi();
7398
7405
  await g.ConfirmAsync(
7399
7406
  "Deseja realmente sair da sua conta?"
7400
7407
  ) && (s.value = !0, await new Promise((A) => setTimeout(A, 1e3)), w.logout({ redirectUri: window.location.origin }));
@@ -7431,7 +7438,7 @@ class xs extends Error {
7431
7438
  this.errors = r;
7432
7439
  }
7433
7440
  }
7434
- class em {
7441
+ class tm {
7435
7442
  constructor(e = null) {
7436
7443
  Ne(this, "errors", []);
7437
7444
  Ne(this, "_value", null);
@@ -7515,7 +7522,7 @@ class Ls {
7515
7522
  });
7516
7523
  }
7517
7524
  }
7518
- const tm = () => new Ls(), Mm = () => new Ls();
7525
+ const nm = () => new Ls(), Mm = () => new Ls();
7519
7526
  window.addEventListener("error", function(t) {
7520
7527
  return to(t.error) || console.error(t.error), t.preventDefault(), !1;
7521
7528
  });
@@ -7526,11 +7533,11 @@ const Dm = (t) => {
7526
7533
  t.config.errorHandler = (e, n, r) => {
7527
7534
  to(e) || console.error("Vue Global Error Handler: ", { err: e, vm: n, info: r });
7528
7535
  };
7529
- }, to = (t) => t instanceof xs || t instanceof em ? (tm().AlertErrorAsync(t.errors), !0) : !1;
7530
- function nm() {
7536
+ }, to = (t) => t instanceof xs || t instanceof tm ? (nm().AlertErrorAsync(t.errors), !0) : !1;
7537
+ function rm() {
7531
7538
  return Gs(Hi);
7532
7539
  }
7533
- const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-increment", om = "tamanho-fonte", im = /* @__PURE__ */ Me({
7540
+ const no = () => rm(), om = { class: "font-percentage" }, bi = "--font-size-increment", im = "tamanho-fonte", sm = /* @__PURE__ */ Me({
7534
7541
  __name: "FontSize",
7535
7542
  setup(t) {
7536
7543
  const e = oe(!1), n = oe(0), r = () => {
@@ -7554,7 +7561,7 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7554
7561
  s(1);
7555
7562
  }, m = oe(1);
7556
7563
  return qs(() => {
7557
- localStorage.removeItem(om);
7564
+ localStorage.removeItem(im);
7558
7565
  }), Et(() => {
7559
7566
  m.value = a();
7560
7567
  }), (g, w) => (O(), U(Xe, null, [
@@ -7567,14 +7574,14 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7567
7574
  }),
7568
7575
  e.value ? (O(), U(Xe, { key: 0 }, [
7569
7576
  M("div", {
7570
- class: te(["border", "fadein", "font-size-wrapper"]),
7577
+ class: ee(["border", "fadein", "font-size-wrapper"]),
7571
7578
  style: Ht({ zIndex: n.value + 1 })
7572
7579
  }, [
7573
7580
  M("div", {
7574
7581
  class: "icon",
7575
7582
  onClick: c
7576
7583
  }),
7577
- M("span", rm, Le(m.value.toLocaleString("pt-br", {
7584
+ M("span", om, Le(m.value.toLocaleString("pt-br", {
7578
7585
  style: "percent",
7579
7586
  maximumFractionDigits: 0
7580
7587
  })), 1),
@@ -7595,7 +7602,7 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7595
7602
  ], 64)) : se("", !0)
7596
7603
  ], 64));
7597
7604
  }
7598
- }), sm = /* @__PURE__ */ _t(im, [["__scopeId", "data-v-af78ca17"]]), am = /* @__PURE__ */ Me({
7605
+ }), am = /* @__PURE__ */ _t(sm, [["__scopeId", "data-v-d17f4a5f"]]), lm = /* @__PURE__ */ Me({
7599
7606
  __name: "ScrollToTop",
7600
7607
  setup(t) {
7601
7608
  const { scrollY: e } = no(), n = we(() => e.value > 800);
@@ -7603,11 +7610,11 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7603
7610
  document.documentElement.scrollTo(0, 0);
7604
7611
  }
7605
7612
  return (o, i) => (O(), U("button", {
7606
- class: te(["sf-scrollToTop", { "sf-scrollToTop-visible": n.value }]),
7613
+ class: ee(["sf-scrollToTop", { "sf-scrollToTop-visible": n.value }]),
7607
7614
  onClick: r
7608
7615
  }, null, 2));
7609
7616
  }
7610
- }), lm = { class: "nav-menu-header" }, um = { class: "nav-menu-inner-close" }, cm = { class: "main-content" }, dm = { class: "menu-button" }, fm = { class: "page-title" }, mm = { class: "action" }, pm = { id: "content" }, hm = {
7617
+ }), um = { class: "nav-menu-header" }, cm = { class: "nav-menu-inner-close" }, dm = { class: "main-content" }, fm = { class: "page-title" }, mm = { class: "action" }, pm = { id: "content" }, hm = {
7611
7618
  key: 0,
7612
7619
  id: "logging-out"
7613
7620
  }, gm = { class: "info-fazenda" }, ym = { class: "font-bold" }, vm = { class: "info-endereco text-muted" }, bm = /* @__PURE__ */ Me({
@@ -7640,7 +7647,7 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7640
7647
  }), (E, b) => (O(), U("main", {
7641
7648
  ref_key: "mainRef",
7642
7649
  ref: w,
7643
- class: te({
7650
+ class: ee({
7644
7651
  disabled: ie(g),
7645
7652
  "nav-menu-visible": ie(r)
7646
7653
  })
@@ -7649,11 +7656,11 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7649
7656
  id: "nav-menu",
7650
7657
  ref_key: "navMenuRef",
7651
7658
  ref: k,
7652
- class: te({ "nav-menu-hidden": !ie(r) })
7659
+ class: ee({ "nav-menu-hidden": !ie(r) })
7653
7660
  }, [
7654
- M("div", lm, [
7661
+ M("div", um, [
7655
7662
  b[0] || (b[0] = M("span", null, "Menu", -1)),
7656
- M("div", um, [
7663
+ M("div", cm, [
7657
7664
  Te(ot, {
7658
7665
  button: !0,
7659
7666
  icon: "close",
@@ -7663,19 +7670,17 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7663
7670
  ]),
7664
7671
  fe(E.$slots, "nav-menu", {}, void 0, !0)
7665
7672
  ], 2),
7666
- M("div", cm, [
7673
+ M("div", dm, [
7667
7674
  M("div", {
7668
7675
  id: "top-bar",
7669
- class: te({ "shadow-bottom": ie(i) > 72 })
7676
+ class: ee({ "shadow-bottom": ie(i) > 72 })
7670
7677
  }, [
7671
- M("div", dm, [
7672
- Te(ot, {
7673
- button: !0,
7674
- icon: ie(r) ? "menu_open" : "menu",
7675
- tooltip: "Menu",
7676
- onClick: ie(a)
7677
- }, null, 8, ["icon", "onClick"])
7678
- ]),
7678
+ Te(ot, {
7679
+ button: !0,
7680
+ icon: ie(r) ? "menu_open" : "menu",
7681
+ tooltip: "Menu",
7682
+ onClick: ie(a)
7683
+ }, null, 8, ["icon", "onClick"]),
7679
7684
  M("div", fm, Le(ie(g) ? "Saindo..." : ie(o)), 1),
7680
7685
  b[1] || (b[1] = M("span", { class: "sep" }, null, -1)),
7681
7686
  M("div", mm, [
@@ -7686,7 +7691,7 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7686
7691
  tooltip: ie(s) ? "Modo claro" : "Modo escuro",
7687
7692
  onClick: ie(l)
7688
7693
  }, null, 8, ["icon", "tooltip", "onClick"]),
7689
- Te(sm),
7694
+ Te(am),
7690
7695
  e.auth ? (O(), U(Xe, { key: 0 }, [
7691
7696
  e.auth.isAuthenticated ? (O(), ce(ot, {
7692
7697
  key: 0,
@@ -7727,10 +7732,10 @@ const no = () => nm(), rm = { class: "font-percentage" }, bi = "--font-size-incr
7727
7732
  ])
7728
7733
  ])
7729
7734
  ]),
7730
- Te(am)
7735
+ Te(lm)
7731
7736
  ], 2));
7732
7737
  }
7733
- }), Rm = /* @__PURE__ */ _t(bm, [["__scopeId", "data-v-c6f926b4"]]), Nm = /* @__PURE__ */ Me({
7738
+ }), Rm = /* @__PURE__ */ _t(bm, [["__scopeId", "data-v-35786704"]]), Nm = /* @__PURE__ */ Me({
7734
7739
  __name: "PageTitle",
7735
7740
  props: {
7736
7741
  title: {}
@@ -8118,13 +8123,13 @@ function Hm() {
8118
8123
  }
8119
8124
  export {
8120
8125
  xs as AppError,
8121
- em as AppResult,
8126
+ tm as AppResult,
8122
8127
  Lm as ConfigAuth,
8123
8128
  Um as EnsureUniqueRouteNames,
8124
8129
  Hm as RemovePreloader,
8125
8130
  Cm as SfButton,
8126
8131
  Em as SfContent,
8127
- da as SfDrawer,
8132
+ fa as SfDrawer,
8128
8133
  Am as SfHelpButton,
8129
8134
  ot as SfIcon,
8130
8135
  Pm as SfLoadingCircle,
@@ -8134,11 +8139,11 @@ export {
8134
8139
  Nm as SfPageTitle,
8135
8140
  km as SfTabNavigation,
8136
8141
  Zs as SfTooltip,
8137
- tm as UseAlert,
8142
+ nm as UseAlert,
8138
8143
  Mm as UseAlertService,
8139
8144
  no as UseAppInject,
8140
8145
  vi as UseAuth,
8141
- If as UseConfirm,
8146
+ Tf as UseConfirm,
8142
8147
  xm as UseConfirmService,
8143
8148
  Vn as Utilities,
8144
8149
  $m as _logger,