sprintify-ui 0.6.38 → 0.6.40

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.
@@ -243,7 +243,7 @@ function u0() {
243
243
  return a(Zb.apply(null, arguments));
244
244
  };
245
245
  }
246
- function $t(n) {
246
+ function Ht(n) {
247
247
  var t = function(r) {
248
248
  return r[n] || [];
249
249
  };
@@ -309,7 +309,7 @@ function E0(n) {
309
309
  return p0.test(n);
310
310
  }
311
311
  function S0() {
312
- var n = $t("colors"), t = $t("spacing"), e = $t("blur"), r = $t("brightness"), i = $t("borderColor"), o = $t("borderRadius"), a = $t("borderSpacing"), l = $t("borderWidth"), s = $t("contrast"), d = $t("grayscale"), c = $t("hueRotate"), h = $t("invert"), f = $t("gap"), p = $t("gradientColorStops"), g = $t("gradientColorStopPositions"), m = $t("inset"), v = $t("margin"), y = $t("opacity"), b = $t("padding"), u = $t("saturate"), w = $t("scale"), x = $t("sepia"), _ = $t("skew"), k = $t("space"), E = $t("translate"), D = function() {
312
+ var n = Ht("colors"), t = Ht("spacing"), e = Ht("blur"), r = Ht("brightness"), i = Ht("borderColor"), o = Ht("borderRadius"), a = Ht("borderSpacing"), l = Ht("borderWidth"), s = Ht("contrast"), d = Ht("grayscale"), c = Ht("hueRotate"), h = Ht("invert"), f = Ht("gap"), p = Ht("gradientColorStops"), g = Ht("gradientColorStopPositions"), m = Ht("inset"), v = Ht("margin"), y = Ht("opacity"), b = Ht("padding"), u = Ht("saturate"), w = Ht("scale"), x = Ht("sepia"), _ = Ht("skew"), k = Ht("space"), E = Ht("translate"), D = function() {
313
313
  return ["auto", "contain", "none"];
314
314
  }, A = function() {
315
315
  return ["auto", "hidden", "clip", "visible", "scroll"];
@@ -2305,7 +2305,7 @@ function S0() {
2305
2305
  }
2306
2306
  };
2307
2307
  }
2308
- var Pt = /* @__PURE__ */ u0(S0);
2308
+ var It = /* @__PURE__ */ u0(S0);
2309
2309
  const _0 = ["active", "href", "aria-current", "onClick"], k0 = ["href"], A0 = {
2310
2310
  inheritAttrs: !1
2311
2311
  }, Li = /* @__PURE__ */ Se({
@@ -2317,7 +2317,7 @@ const _0 = ["active", "href", "aria-current", "onClick"], k0 = ["href"], A0 = {
2317
2317
  },
2318
2318
  emits: ["click"],
2319
2319
  setup(n, { emit: t }) {
2320
- const e = n, r = L(() => Pt(
2320
+ const e = n, r = L(() => It(
2321
2321
  "block text-left",
2322
2322
  e.class
2323
2323
  )), i = wt("closeMenu", () => {
@@ -2563,13 +2563,14 @@ const fr = {
2563
2563
  }
2564
2564
  };
2565
2565
  function Vi(n) {
2566
- const t = cd(), e = qt.props.size ?? "md";
2566
+ var i;
2567
+ const t = cd(), e = ((i = $t.props) == null ? void 0 : i.size) ?? "md";
2567
2568
  return {
2568
2569
  size: L(() => {
2569
2570
  if (t.smaller("sm").value)
2570
2571
  return "md";
2571
- let i = T(n);
2572
- return i || (i = e), Object.keys(fr).includes(i) || (i = e), i;
2572
+ let o = T(n);
2573
+ return o || (o = e), Object.keys(fr).includes(o) || (o = e), o;
2573
2574
  })
2574
2575
  };
2575
2576
  }
@@ -4832,7 +4833,7 @@ const mw = ["innerHTML"], Os = /* @__PURE__ */ Se({
4832
4833
  sm: "text-sm mb-1",
4833
4834
  md: "text-sm mb-1"
4834
4835
  }[r.value];
4835
- return Pt(o, a, t.class);
4836
+ return It(o, a, t.class);
4836
4837
  });
4837
4838
  return (o, a) => (B(), K("label", {
4838
4839
  class: de(T(i))
@@ -4903,7 +4904,7 @@ const mw = ["innerHTML"], Os = /* @__PURE__ */ Se({
4903
4904
  function i(p) {
4904
4905
  p != null && (e.value = p);
4905
4906
  }
4906
- const o = oe(""), a = L(() => Pt(o.value, t.labelClass));
4907
+ const o = oe(""), a = L(() => It(o.value, t.labelClass));
4907
4908
  function l(p) {
4908
4909
  p != null && (o.value = p);
4909
4910
  }
@@ -5319,7 +5320,7 @@ const bc = /* @__PURE__ */ new WeakMap(), _w = (n) => {
5319
5320
  const x = L(() => {
5320
5321
  const P = "inline-flex bg-white input-rounded border transition-colors duration-200", $ = m.value ? "border-red-500" : "border-slate-300", Y = r.disabled ? "cursor-not-allowed text-slate-300" : "", Z = fr[y.value];
5321
5322
  let pe = "";
5322
- return r.visibleFocus && (m.value ? pe = "focus-within:input-focus-error" : pe = "focus-within:input-focus"), Pt([
5323
+ return r.visibleFocus && (m.value ? pe = "focus-within:input-focus-error" : pe = "focus-within:input-focus"), It([
5323
5324
  P,
5324
5325
  $,
5325
5326
  Y,
@@ -5790,7 +5791,7 @@ const Jw = ["value", "name", "disabled", "required"], ex = ["value"], Su = "", _
5790
5791
  sm: "pl-2.5 pr-8",
5791
5792
  md: "pl-3 pr-10"
5792
5793
  }[s.value];
5793
- return Pt([
5794
+ return It([
5794
5795
  g,
5795
5796
  m,
5796
5797
  v,
@@ -5854,7 +5855,7 @@ const Jw = ["value", "name", "disabled", "required"], ex = ["value"], Su = "", _
5854
5855
  const e = n, { size: r } = Vi(L(() => e.size)), i = L(() => {
5855
5856
  const y = Kt(e.modelValue ?? {});
5856
5857
  return y.address_1 = y.address_1 ?? "", y.address_2 = y.address_2 ?? "", y.city = y.city ?? "", y.postal_code = y.postal_code ?? "", y.country = y.country ?? "", y.region = y.region ?? "", y;
5857
- }), o = L(() => e.restrictCountry ? i.value.country ? i.value.country : nx : i.value.country ?? null), a = L(() => e.countries && tn(e.countries) && e.countries.length ? e.countries : qt.countries), l = L(() => e.regions && tn(e.regions) && e.regions.length ? e.regions : qt.regions), s = L(() => l.value.filter(
5858
+ }), o = L(() => e.restrictCountry ? i.value.country ? i.value.country : nx : i.value.country ?? null), a = L(() => e.countries && tn(e.countries) && e.countries.length ? e.countries : $t.countries), l = L(() => e.regions && tn(e.regions) && e.regions.length ? e.regions : $t.regions), s = L(() => l.value.filter(
5858
5859
  (y) => y.country_id == i.value.country
5859
5860
  )), d = L(() => e.prefix ? e.prefix + "." : "");
5860
5861
  function c(y, b) {
@@ -6932,7 +6933,7 @@ const Ex = {
6932
6933
  const t = n;
6933
6934
  return (e, r) => (B(), K("div", {
6934
6935
  class: de(
6935
- T(Pt)(
6936
+ T(It)(
6936
6937
  "relative isolate overflow-hidden rounded bg-slate-200",
6937
6938
  t.class
6938
6939
  )
@@ -7638,7 +7639,7 @@ const qx = {
7638
7639
  }
7639
7640
  );
7640
7641
  function b() {
7641
- o.value || (o.value = !0, i.value = !0, qt.http.get(r.url, {
7642
+ o.value || (o.value = !0, i.value = !0, $t.http.get(r.url, {
7642
7643
  params: {
7643
7644
  [r.queryKey]: l.value,
7644
7645
  page: s.value
@@ -7754,7 +7755,7 @@ const qx = {
7754
7755
  }
7755
7756
  },
7756
7757
  setup(n) {
7757
- const t = n, e = L(() => Pt(
7758
+ const t = n, e = L(() => It(
7758
7759
  "inline-flex",
7759
7760
  "shrink-0",
7760
7761
  "items-center",
@@ -8004,8 +8005,8 @@ function tg(n, t) {
8004
8005
  const e = gh(n), r = gh(t);
8005
8006
  return e > r ? (e + 0.05) / (r + 0.05) : (r + 0.05) / (e + 0.05);
8006
8007
  }
8007
- var ng = {}, rg = {}, Od = { exports: {} }, Ht = String, ig = function() {
8008
- return { isColorSupported: !1, reset: Ht, bold: Ht, dim: Ht, italic: Ht, underline: Ht, inverse: Ht, hidden: Ht, strikethrough: Ht, black: Ht, red: Ht, green: Ht, yellow: Ht, blue: Ht, magenta: Ht, cyan: Ht, white: Ht, gray: Ht, bgBlack: Ht, bgRed: Ht, bgGreen: Ht, bgYellow: Ht, bgBlue: Ht, bgMagenta: Ht, bgCyan: Ht, bgWhite: Ht };
8008
+ var ng = {}, rg = {}, Od = { exports: {} }, qt = String, ig = function() {
8009
+ return { isColorSupported: !1, reset: qt, bold: qt, dim: qt, italic: qt, underline: qt, inverse: qt, hidden: qt, strikethrough: qt, black: qt, red: qt, green: qt, yellow: qt, blue: qt, magenta: qt, cyan: qt, white: qt, gray: qt, bgBlack: qt, bgRed: qt, bgGreen: qt, bgYellow: qt, bgBlue: qt, bgMagenta: qt, bgCyan: qt, bgWhite: qt };
8009
8010
  };
8010
8011
  Od.exports = ig();
8011
8012
  Od.exports.createColors = ig;
@@ -8449,7 +8450,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8449
8450
  red: {
8450
8451
  low: {
8451
8452
  backgroundColor: Xe.red[100],
8452
- textColor: Xe.red[700],
8453
+ textColor: Xe.red[800],
8453
8454
  borderColor: Xe.red[300]
8454
8455
  },
8455
8456
  high: {
@@ -8461,7 +8462,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8461
8462
  orange: {
8462
8463
  low: {
8463
8464
  backgroundColor: Xe.orange[100],
8464
- textColor: Xe.orange[700],
8465
+ textColor: Xe.orange[800],
8465
8466
  borderColor: Xe.orange[300]
8466
8467
  },
8467
8468
  high: {
@@ -8473,7 +8474,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8473
8474
  yellow: {
8474
8475
  low: {
8475
8476
  backgroundColor: Xe.yellow[100],
8476
- textColor: Xe.yellow[700],
8477
+ textColor: Xe.yellow[800],
8477
8478
  borderColor: Xe.yellow[300]
8478
8479
  },
8479
8480
  high: {
@@ -8485,7 +8486,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8485
8486
  green: {
8486
8487
  low: {
8487
8488
  backgroundColor: Xe.green[100],
8488
- textColor: Xe.green[700],
8489
+ textColor: Xe.green[800],
8489
8490
  borderColor: Xe.green[300]
8490
8491
  },
8491
8492
  high: {
@@ -8497,7 +8498,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8497
8498
  teal: {
8498
8499
  low: {
8499
8500
  backgroundColor: Xe.teal[100],
8500
- textColor: Xe.teal[700],
8501
+ textColor: Xe.teal[800],
8501
8502
  borderColor: Xe.teal[300]
8502
8503
  },
8503
8504
  high: {
@@ -8509,7 +8510,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8509
8510
  cyan: {
8510
8511
  low: {
8511
8512
  backgroundColor: Xe.cyan[100],
8512
- textColor: Xe.cyan[700],
8513
+ textColor: Xe.cyan[800],
8513
8514
  borderColor: Xe.cyan[300]
8514
8515
  },
8515
8516
  high: {
@@ -8521,7 +8522,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8521
8522
  blue: {
8522
8523
  low: {
8523
8524
  backgroundColor: Xe.blue[100],
8524
- textColor: Xe.blue[700],
8525
+ textColor: Xe.blue[800],
8525
8526
  borderColor: Xe.blue[300]
8526
8527
  },
8527
8528
  high: {
@@ -8533,7 +8534,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8533
8534
  indigo: {
8534
8535
  low: {
8535
8536
  backgroundColor: Xe.indigo[100],
8536
- textColor: Xe.indigo[700],
8537
+ textColor: Xe.indigo[800],
8537
8538
  borderColor: Xe.indigo[300]
8538
8539
  },
8539
8540
  high: {
@@ -8545,7 +8546,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8545
8546
  purple: {
8546
8547
  low: {
8547
8548
  backgroundColor: Xe.purple[100],
8548
- textColor: Xe.purple[700],
8549
+ textColor: Xe.purple[800],
8549
8550
  borderColor: Xe.purple[300]
8550
8551
  },
8551
8552
  high: {
@@ -8557,7 +8558,7 @@ const fE = /* @__PURE__ */ Co(wc), Xe = fE, og = {
8557
8558
  pink: {
8558
8559
  low: {
8559
8560
  backgroundColor: Xe.pink[100],
8560
- textColor: Xe.pink[700],
8561
+ textColor: Xe.pink[800],
8561
8562
  borderColor: Xe.pink[300]
8562
8563
  },
8563
8564
  high: {
@@ -8599,33 +8600,46 @@ function Ms(n, t = !1) {
8599
8600
  };
8600
8601
  }
8601
8602
  const Rd = /* @__PURE__ */ Se({
8603
+ inheritAttrs: !1,
8602
8604
  __name: "BaseBadge",
8603
8605
  props: {
8604
- contrast: { default: "high" },
8606
+ class: { default: void 0 },
8607
+ contrast: { default: "low" },
8605
8608
  color: { default: "gray" },
8606
- size: { default: "base" },
8609
+ size: { default: "md" },
8607
8610
  icon: { default: void 0 },
8608
8611
  wrap: { type: Boolean },
8609
8612
  bordered: { type: Boolean }
8610
8613
  },
8611
8614
  setup(n) {
8612
- const t = n, e = L(() => {
8613
- const a = Ms(t.color, t.contrast == "high"), l = {
8614
- backgroundColor: a.backgroundColor,
8615
- color: a.textColor
8615
+ const t = n, e = ["sm", "md", "lg"], r = L(() => {
8616
+ const l = Ms(t.color, t.contrast == "high"), s = {
8617
+ backgroundColor: l.backgroundColor,
8618
+ color: l.textColor
8616
8619
  };
8617
- return t.bordered && (l.borderColor = a.borderColor, l.borderWidth = "1px", l.borderStyle = "solid"), l;
8618
- }), r = L(() => t.wrap ? "" : "whitespace-nowrap"), i = L(() => t.size == "sm" ? "px-2 py-px text-[11px]" : t.size == "base" ? "px-2.5 py-0.5 text-xs" : t.size == "lg" ? "px-3 py-0.5 text-sm" : "px-2.5 py-0.5 text-xs"), o = L(() => t.size == "sm" ? "h-2.5 w-2.5 mr-1 -ml-px" : t.size == "base" ? "h-3 w-3 mr-1 -ml-0.5" : t.size == "lg" ? "h-4 w-4 mr-1 -ml-0.5" : "h-3 w-3 mr-1 -ml-0.5");
8619
- return (a, l) => (B(), K("span", {
8620
- class: de(["inline-flex items-center rounded-full font-medium leading-tight", [T(i), T(r)]]),
8621
- style: ot(T(e))
8620
+ return t.bordered && (s.borderColor = l.borderColor, s.borderWidth = "1px", s.borderStyle = "solid"), s;
8621
+ }), i = L(() => e.includes(t.size) ? t.size : "md"), o = L(() => {
8622
+ const l = "inline-flex items-center rounded leading-tight", s = {
8623
+ sm: "px-1.5 py-px text-[10px]",
8624
+ md: "px-1.5 py-0.5 text-xs",
8625
+ lg: "px-1.5 py-0.5 text-sm"
8626
+ }[i.value], d = t.wrap ? "whitespace-nowrap" : "";
8627
+ return It(l, d, s, t.class);
8628
+ }), a = L(() => ({
8629
+ sm: "h-2.5 w-2.5 mr-1",
8630
+ md: "h-3 w-3 mr-1",
8631
+ lg: "h-4 w-4 mr-1"
8632
+ })[i.value]);
8633
+ return (l, s) => (B(), K("span", {
8634
+ class: de(T(o)),
8635
+ style: ot(T(r))
8622
8636
  }, [
8623
- a.icon ? (B(), De(T(rt), {
8637
+ l.icon ? (B(), De(T(rt), {
8624
8638
  key: 0,
8625
- icon: a.icon,
8626
- class: de(["shrink-0", T(o)])
8639
+ icon: l.icon,
8640
+ class: de(["shrink-0", T(a)])
8627
8641
  }, null, 8, ["icon", "class"])) : ke("", !0),
8628
- Pe(a.$slots, "default")
8642
+ Pe(l.$slots, "default")
8629
8643
  ], 6));
8630
8644
  }
8631
8645
  }), pE = /* @__PURE__ */ Se({
@@ -8852,7 +8866,7 @@ const Rd = /* @__PURE__ */ Se({
8852
8866
  },
8853
8867
  emits: ["update:modelValue"],
8854
8868
  setup(n, { expose: t, emit: e }) {
8855
- const r = n, i = qt.http, o = oe(null), a = oe(r.currentModel);
8869
+ const r = n, i = $t.http, o = oe(null), a = oe(r.currentModel);
8856
8870
  ut(
8857
8871
  () => r.currentModel,
8858
8872
  (s, d) => {
@@ -9112,7 +9126,7 @@ const DE = {
9112
9126
  "slate-200-outline": "btn-slate-200-outline"
9113
9127
  }, o = L(() => t.icon && AE(e.default)), a = L(() => {
9114
9128
  const c = ["btn"];
9115
- return t.color && (t.color in i ? c.push(i[t.color]) : c.push("hover:opacity-80")), t.size && c.push(r[t.size]), o.value && c.push("p-0 aspect-1 justify-center"), Pt(c, t.class);
9129
+ return t.color && (t.color in i ? c.push(i[t.color]) : c.push("hover:opacity-80")), t.size && c.push(r[t.size]), o.value && c.push("p-0 aspect-1 justify-center"), It(c, t.class);
9116
9130
  }), l = L(() => {
9117
9131
  if (t.color && !(t.color in i)) {
9118
9132
  const c = Ms(t.color);
@@ -9265,14 +9279,14 @@ const DE = {
9265
9279
  xs: "gap-0.5",
9266
9280
  sm: "gap-1",
9267
9281
  md: "gap-1.5"
9268
- }[o.value]), Pt(
9282
+ }[o.value]), It(
9269
9283
  f,
9270
9284
  p,
9271
9285
  e.class
9272
9286
  );
9273
9287
  }), h = L(() => {
9274
9288
  const f = e.spacing ? "whitespace-nowrap" : "";
9275
- return Pt([
9289
+ return It([
9276
9290
  f,
9277
9291
  e.twButton
9278
9292
  ]);
@@ -9342,7 +9356,7 @@ const DE = {
9342
9356
  class: { type: [Array, String, null, Number, Boolean], default: "" }
9343
9357
  },
9344
9358
  setup(n) {
9345
- const t = n, e = L(() => t.size == "xs" ? "md:p-3 p-2" : t.size == "sm" ? "md:p-4 p-3" : t.size == "lg" ? "md:p-8 p-6" : "md:p-6 px-4 py-5"), r = L(() => Pt(
9359
+ const t = n, e = L(() => t.size == "xs" ? "md:p-3 p-2" : t.size == "sm" ? "md:p-4 p-3" : t.size == "lg" ? "md:p-8 p-6" : "md:p-6 px-4 py-5"), r = L(() => It(
9346
9360
  "border-t border-slate-300 first:border-t-0",
9347
9361
  e.value,
9348
9362
  t.class
@@ -10767,7 +10781,7 @@ class s_ {
10767
10781
  return this.func(is(t, e, r, i));
10768
10782
  }
10769
10783
  }
10770
- function Nt(n) {
10784
+ function Pt(n) {
10771
10785
  return typeof n == "object" && n ? new XS(n) : typeof n == "string" ? new l_(n) : typeof n == "function" ? new s_(n) : null;
10772
10786
  }
10773
10787
  const Yh = {
@@ -10784,7 +10798,7 @@ const Yh = {
10784
10798
  scrollTimeReset: Boolean,
10785
10799
  slotMinTime: St,
10786
10800
  slotMaxTime: St,
10787
- dayPopoverFormat: Nt,
10801
+ dayPopoverFormat: Pt,
10788
10802
  slotDuration: St,
10789
10803
  snapDuration: St,
10790
10804
  headerToolbar: _e,
@@ -10793,7 +10807,7 @@ const Yh = {
10793
10807
  titleRangeSeparator: String,
10794
10808
  forceEventDuration: Boolean,
10795
10809
  dayHeaders: Boolean,
10796
- dayHeaderFormat: Nt,
10810
+ dayHeaderFormat: Pt,
10797
10811
  dayHeaderClassNames: _e,
10798
10812
  dayHeaderContent: _e,
10799
10813
  dayHeaderDidMount: _e,
@@ -10844,7 +10858,7 @@ const Yh = {
10844
10858
  height: _e,
10845
10859
  contentHeight: _e,
10846
10860
  direction: String,
10847
- weekNumberFormat: Nt,
10861
+ weekNumberFormat: Pt,
10848
10862
  eventResizableFromStart: Boolean,
10849
10863
  displayEventTime: Boolean,
10850
10864
  displayEventEnd: Boolean,
@@ -10900,7 +10914,7 @@ const Yh = {
10900
10914
  allDayWillUnmount: _e,
10901
10915
  slotMinWidth: Number,
10902
10916
  navLinks: Boolean,
10903
- eventTimeFormat: Nt,
10917
+ eventTimeFormat: Pt,
10904
10918
  rerenderDelay: Number,
10905
10919
  moreLinkText: _e,
10906
10920
  moreLinkHint: _e,
@@ -10937,7 +10951,7 @@ const Yh = {
10937
10951
  moreLinkContent: _e,
10938
10952
  moreLinkDidMount: _e,
10939
10953
  moreLinkWillUnmount: _e,
10940
- monthStartFormat: Nt,
10954
+ monthStartFormat: Pt,
10941
10955
  // for connectors
10942
10956
  // (can't be part of plugin system b/c must be provided at runtime)
10943
10957
  handleCustomRendering: _e,
@@ -12433,7 +12447,7 @@ class Gt {
12433
12447
  i == null && (i = this._context.options.allDayMaintainDuration), this._def.allDay !== t && (r.hasEnd = i), this.mutate({ standardProps: r });
12434
12448
  }
12435
12449
  formatRange(t) {
12436
- let { dateEnv: e } = this._context, r = this._instance, i = Nt(t);
12450
+ let { dateEnv: e } = this._context, r = this._instance, i = Pt(t);
12437
12451
  return this._def.hasEnd ? e.formatRange(r.range.start, r.range.end, i, {
12438
12452
  forcedStartTzo: r.forcedStartTzo,
12439
12453
  forcedEndTzo: r.forcedEndTzo
@@ -13031,12 +13045,12 @@ class kk {
13031
13045
  // -----------------------------------------------------------------------------------------------------------------
13032
13046
  formatDate(t, e) {
13033
13047
  let { dateEnv: r } = this.getCurrentData();
13034
- return r.format(r.createMarker(t), Nt(e));
13048
+ return r.format(r.createMarker(t), Pt(e));
13035
13049
  }
13036
13050
  // `settings` is for formatter AND isEndExclusive
13037
13051
  formatRange(t, e, r) {
13038
13052
  let { dateEnv: i } = this.getCurrentData();
13039
- return i.formatRange(i.createMarker(t), i.createMarker(e), Nt(r), r);
13053
+ return i.formatRange(i.createMarker(t), i.createMarker(e), Pt(r), r);
13040
13054
  }
13041
13055
  formatIso(t, e) {
13042
13056
  let { dateEnv: r } = this.getCurrentData();
@@ -13296,7 +13310,7 @@ function zs(n, t) {
13296
13310
  ];
13297
13311
  return n.isDisabled ? e.push("fc-day-disabled") : (n.isToday && (e.push("fc-day-today"), e.push(t.getClass("today"))), n.isPast && e.push("fc-day-past"), n.isFuture && e.push("fc-day-future"), n.isOther && e.push("fc-day-other")), e;
13298
13312
  }
13299
- const Mk = Nt({ year: "numeric", month: "long", day: "numeric" }), Ik = Nt({ week: "long" });
13313
+ const Mk = Pt({ year: "numeric", month: "long", day: "numeric" }), Ik = Pt({ week: "long" });
13300
13314
  function So(n, t, e = "day", r = !0) {
13301
13315
  const { dateEnv: i, options: o, calendarApi: a } = n;
13302
13316
  let l = i.format(t, e === "week" ? Ik : Mk);
@@ -13713,7 +13727,7 @@ class Vk {
13713
13727
  }
13714
13728
  const of = {};
13715
13729
  function Wk(n, t) {
13716
- return !n || t > 10 ? Nt({ weekday: "short" }) : t > 1 ? Nt({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : Nt({ weekday: "long" });
13730
+ return !n || t > 10 ? Pt({ weekday: "short" }) : t > 1 ? Pt({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : Pt({ weekday: "long" });
13717
13731
  }
13718
13732
  const uv = "fc-col-header-cell";
13719
13733
  function cv(n) {
@@ -13728,7 +13742,7 @@ class Gk extends Tt {
13728
13742
  ] })));
13729
13743
  }
13730
13744
  }
13731
- const Yk = Nt({ weekday: "long" });
13745
+ const Yk = Pt({ weekday: "long" });
13732
13746
  class Kk extends Tt {
13733
13747
  render() {
13734
13748
  let { props: t } = this, { dateEnv: e, theme: r, viewApi: i, options: o } = this.context, a = fn(/* @__PURE__ */ new Date(2592e5), t.dow), l = {
@@ -14397,7 +14411,7 @@ const sf = (n) => te(Vr.Consumer, null, (t) => {
14397
14411
  view: t.viewApi
14398
14412
  };
14399
14413
  return te(Cn, Object.assign({}, n, { elTag: n.elTag || "div", renderProps: r, generatorName: "nowIndicatorContent", customGenerator: e.nowIndicatorContent, classNameGenerator: e.nowIndicatorClassNames, didMount: e.nowIndicatorDidMount, willUnmount: e.nowIndicatorWillUnmount }));
14400
- }), pA = Nt({ day: "numeric" });
14414
+ }), pA = Pt({ day: "numeric" });
14401
14415
  class uf extends Tt {
14402
14416
  constructor() {
14403
14417
  super(...arguments), this.refineRenderProps = Bl(mA);
@@ -15449,7 +15463,7 @@ class wC {
15449
15463
  }
15450
15464
  function xC(n, t, e) {
15451
15465
  let r;
15452
- return /^(year|month)$/.test(n.currentRangeUnit) ? r = n.currentRange : r = n.activeRange, e.formatRange(r.start, r.end, Nt(t.titleFormat || EC(n)), {
15466
+ return /^(year|month)$/.test(n.currentRangeUnit) ? r = n.currentRange : r = n.activeRange, e.formatRange(r.start, r.end, Pt(t.titleFormat || EC(n)), {
15453
15467
  isEndExclusive: n.isRangeAllDay,
15454
15468
  defaultSeparator: t.titleRangeSeparator
15455
15469
  });
@@ -16157,7 +16171,7 @@ function pp(n, t) {
16157
16171
  e[r] = null;
16158
16172
  return e;
16159
16173
  }
16160
- const Pv = Nt({
16174
+ const Pv = Pt({
16161
16175
  hour: "numeric",
16162
16176
  minute: "2-digit",
16163
16177
  omitZeroMinute: !0,
@@ -16213,7 +16227,7 @@ function ZC(n) {
16213
16227
  t.push(r.seg), r.isVisible || e.push(r.seg);
16214
16228
  return { allSegs: t, invisibleSegs: e };
16215
16229
  }
16216
- const XC = Nt({ week: "narrow" });
16230
+ const XC = Pt({ week: "narrow" });
16217
16231
  class JC extends Xn {
16218
16232
  constructor() {
16219
16233
  super(...arguments), this.rootElRef = yn(), this.state = {
@@ -17728,7 +17742,7 @@ class LT extends Ok {
17728
17742
  return t.allDay ? lk(t) ? ["timed", "allDay"] : ["allDay"] : ["timed"];
17729
17743
  }
17730
17744
  }
17731
- const zT = Nt({
17745
+ const zT = Pt({
17732
17746
  hour: "numeric",
17733
17747
  minute: "2-digit",
17734
17748
  omitZeroMinute: !0,
@@ -17745,7 +17759,7 @@ function Jv(n) {
17745
17759
  return te("td", { className: t.join(" "), "data-time": n.isoTimeStr });
17746
17760
  let { dateEnv: r, options: i, viewApi: o } = e, a = (
17747
17761
  // TODO: fully pre-parse
17748
- i.slotLabelFormat == null ? zT : Array.isArray(i.slotLabelFormat) ? Nt(i.slotLabelFormat[0]) : Nt(i.slotLabelFormat)
17762
+ i.slotLabelFormat == null ? zT : Array.isArray(i.slotLabelFormat) ? Pt(i.slotLabelFormat[0]) : Pt(i.slotLabelFormat)
17749
17763
  ), l = {
17750
17764
  level: 0,
17751
17765
  time: n.time,
@@ -17777,7 +17791,7 @@ class FT extends Tt {
17777
17791
  ));
17778
17792
  }
17779
17793
  }
17780
- const $T = Nt({ week: "short" }), HT = 5;
17794
+ const $T = Pt({ week: "short" }), HT = 5;
17781
17795
  class qT extends Xn {
17782
17796
  constructor() {
17783
17797
  super(...arguments), this.allDaySplitter = new LT(), this.headerElRef = yn(), this.rootElRef = yn(), this.scrollerElRef = yn(), this.state = {
@@ -18136,11 +18150,11 @@ function ZT(n, t, e) {
18136
18150
  let r = new sv();
18137
18151
  t != null && (r.strictOrder = t), e != null && (r.maxStackCnt = e);
18138
18152
  let i = r.addSegs(n), o = qk(i), a = XT(r);
18139
- return a = n2(a, 1), { segRects: r2(a), hiddenGroups: o };
18153
+ return a = nD(a, 1), { segRects: rD(a), hiddenGroups: o };
18140
18154
  }
18141
18155
  function XT(n) {
18142
18156
  const { entriesByLevel: t } = n, e = ff((r, i) => r + ":" + i, (r, i) => {
18143
- let o = t2(n, r, i), a = vp(o, e), l = t[r][i];
18157
+ let o = tD(n, r, i), a = vp(o, e), l = t[r][i];
18144
18158
  return [
18145
18159
  Object.assign(Object.assign({}, l), { nextLevelNodes: a[0] }),
18146
18160
  l.thickness + a[1]
@@ -18156,7 +18170,7 @@ function vp(n, t) {
18156
18170
  for (; o < i; )
18157
18171
  a.push(t(e, o)), o += 1;
18158
18172
  return a.sort(JT), [
18159
- a.map(e2),
18173
+ a.map(eD),
18160
18174
  a[0][1]
18161
18175
  // first item's pressure
18162
18176
  ];
@@ -18164,10 +18178,10 @@ function vp(n, t) {
18164
18178
  function JT(n, t) {
18165
18179
  return t[1] - n[1];
18166
18180
  }
18167
- function e2(n) {
18181
+ function eD(n) {
18168
18182
  return n[0];
18169
18183
  }
18170
- function t2(n, t, e) {
18184
+ function tD(n, t, e) {
18171
18185
  let { levelCoords: r, entriesByLevel: i } = n, o = i[t][e], a = r[t] + o.thickness, l = r.length, s = t;
18172
18186
  for (; s < l && r[s] < a; s += 1)
18173
18187
  ;
@@ -18185,7 +18199,7 @@ function t2(n, t, e) {
18185
18199
  }
18186
18200
  return null;
18187
18201
  }
18188
- function n2(n, t) {
18202
+ function nD(n, t) {
18189
18203
  const e = ff((r, i, o) => Bi(r), (r, i, o) => {
18190
18204
  let { nextLevelNodes: a, thickness: l } = r, s = l + o, d = l / s, c, h = [];
18191
18205
  if (!a.length)
@@ -18204,7 +18218,7 @@ function n2(n, t) {
18204
18218
  });
18205
18219
  return n.map((r) => e(r, 0, 0)[1]);
18206
18220
  }
18207
- function r2(n) {
18221
+ function rD(n) {
18208
18222
  let t = [];
18209
18223
  const e = ff((i, o, a) => Bi(i), (i, o, a) => {
18210
18224
  let l = Object.assign(Object.assign({}, i), {
@@ -18246,7 +18260,7 @@ function yp(n, t, e = null, r = 0) {
18246
18260
  }
18247
18261
  return i;
18248
18262
  }
18249
- function i2(n, t, e, r) {
18263
+ function iD(n, t, e, r) {
18250
18264
  let i = [], o = [];
18251
18265
  for (let d = 0; d < n.length; d += 1) {
18252
18266
  let c = t[d];
@@ -18266,7 +18280,7 @@ function i2(n, t, e, r) {
18266
18280
  s.push({ seg: d, rect: null });
18267
18281
  return { segPlacements: s, hiddenGroups: l };
18268
18282
  }
18269
- const o2 = Nt({
18283
+ const oD = Pt({
18270
18284
  hour: "numeric",
18271
18285
  minute: "2-digit",
18272
18286
  meridiem: !1
@@ -18277,10 +18291,10 @@ class ey extends Tt {
18277
18291
  "fc-timegrid-event",
18278
18292
  "fc-v-event",
18279
18293
  this.props.isShort && "fc-timegrid-event-short"
18280
- ], defaultTimeFormat: o2 }));
18294
+ ], defaultTimeFormat: oD }));
18281
18295
  }
18282
18296
  }
18283
- class a2 extends Tt {
18297
+ class aD extends Tt {
18284
18298
  constructor() {
18285
18299
  super(...arguments), this.sortEventSegs = it(Zd);
18286
18300
  }
@@ -18317,7 +18331,7 @@ class a2 extends Tt {
18317
18331
  return l.forPrint ? ty(t, l) : this.renderPositionedFgSegs(t, e, r, i, o, a);
18318
18332
  }
18319
18333
  renderPositionedFgSegs(t, e, r, i, o, a) {
18320
- let { eventMaxStack: l, eventShortHeight: s, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: p, todayRange: g, nowDate: m } = this.props, v = r || i || o, y = yp(t, h, f, c), { segPlacements: b, hiddenGroups: u } = i2(t, y, d, l);
18334
+ let { eventMaxStack: l, eventShortHeight: s, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: p, todayRange: g, nowDate: m } = this.props, v = r || i || o, y = yp(t, h, f, c), { segPlacements: b, hiddenGroups: u } = iD(t, y, d, l);
18321
18335
  return te(
18322
18336
  Lt,
18323
18337
  null,
@@ -18336,7 +18350,7 @@ class a2 extends Tt {
18336
18350
  renderHiddenGroups(t, e) {
18337
18351
  let { extraDateSpan: r, dateProfile: i, todayRange: o, nowDate: a, eventSelection: l, eventDrag: s, eventResize: d } = this.props;
18338
18352
  return te(Lt, null, t.map((c) => {
18339
- let h = $u(c.span), f = l2(c.entries, e);
18353
+ let h = $u(c.span), f = lD(c.entries, e);
18340
18354
  return te(KT, { key: Pg(kv(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: r, dateProfile: i, todayRange: o, nowDate: a, eventSelection: l, eventDrag: s, eventResize: d });
18341
18355
  }));
18342
18356
  }
@@ -18391,10 +18405,10 @@ function $u(n) {
18391
18405
  bottom: -n.end
18392
18406
  } : { top: "", bottom: "" };
18393
18407
  }
18394
- function l2(n, t) {
18408
+ function lD(n, t) {
18395
18409
  return n.map((e) => t[e.index]);
18396
18410
  }
18397
- class s2 extends Tt {
18411
+ class sD extends Tt {
18398
18412
  constructor() {
18399
18413
  super(...arguments), this.splitFgEventSegs = it(Qo), this.splitBgEventSegs = it(Qo), this.splitBusinessHourSegs = it(Qo), this.splitNowIndicatorSegs = it(Qo), this.splitDateSelectionSegs = it(Qo), this.splitEventDrag = it(gp), this.splitEventResize = it(gp), this.rootElRef = yn(), this.cellElRefs = new Mr();
18400
18414
  }
@@ -18425,7 +18439,7 @@ class s2 extends Tt {
18425
18439
  te("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && te(sf, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: t.nowDate }))
18426
18440
  )
18427
18441
  ),
18428
- t.cells.map((f, p) => te(a2, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: t.dateProfile, date: f.date, nowDate: t.nowDate, todayRange: t.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: o[p], bgEventSegs: a[p], businessHourSegs: l[p], nowIndicatorSegs: s[p], dateSelectionSegs: d[p], eventDrag: c[p], eventResize: h[p], slatCoords: t.slatCoords, eventSelection: t.eventSelection, forPrint: t.forPrint }))
18442
+ t.cells.map((f, p) => te(aD, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: t.dateProfile, date: f.date, nowDate: t.nowDate, todayRange: t.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: o[p], bgEventSegs: a[p], businessHourSegs: l[p], nowIndicatorSegs: s[p], dateSelectionSegs: d[p], eventDrag: c[p], eventResize: h[p], slatCoords: t.slatCoords, eventSelection: t.eventSelection, forPrint: t.forPrint }))
18429
18443
  )
18430
18444
  )
18431
18445
  )
@@ -18441,19 +18455,19 @@ class s2 extends Tt {
18441
18455
  let { props: t } = this;
18442
18456
  t.onColCoords && t.clientWidth !== null && t.onColCoords(new _o(
18443
18457
  this.rootElRef.current,
18444
- u2(this.cellElRefs.currentMap, t.cells),
18458
+ uD(this.cellElRefs.currentMap, t.cells),
18445
18459
  !0,
18446
18460
  // horizontal
18447
18461
  !1
18448
18462
  ));
18449
18463
  }
18450
18464
  }
18451
- function u2(n, t) {
18465
+ function uD(n, t) {
18452
18466
  return t.map((e) => n[e.key]);
18453
18467
  }
18454
- class c2 extends Xn {
18468
+ class cD extends Xn {
18455
18469
  constructor() {
18456
- super(...arguments), this.processSlotOptions = it(d2), this.state = {
18470
+ super(...arguments), this.processSlotOptions = it(dD), this.state = {
18457
18471
  slatCoords: null
18458
18472
  }, this.handleRootEl = (t) => {
18459
18473
  t ? this.context.registerInteractiveComponent(this, {
@@ -18487,7 +18501,7 @@ class c2 extends Xn {
18487
18501
  minWidth: t.tableMinWidth
18488
18502
  } },
18489
18503
  te(GT, { axis: t.axis, dateProfile: t.dateProfile, slatMetas: t.slatMetas, clientWidth: t.clientWidth, minHeight: t.expandRows ? t.clientHeight : "", tableMinWidth: t.tableMinWidth, tableColGroupNode: t.axis ? t.tableColGroupNode : null, onCoords: this.handleSlatCoords }),
18490
- te(s2, { cells: t.cells, axis: t.axis, dateProfile: t.dateProfile, businessHourSegs: t.businessHourSegs, bgEventSegs: t.bgEventSegs, fgEventSegs: t.fgEventSegs, dateSelectionSegs: t.dateSelectionSegs, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, todayRange: t.todayRange, nowDate: t.nowDate, nowIndicatorSegs: t.nowIndicatorSegs, clientWidth: t.clientWidth, tableMinWidth: t.tableMinWidth, tableColGroupNode: t.tableColGroupNode, slatCoords: e.slatCoords, onColCoords: this.handleColCoords, forPrint: t.forPrint })
18504
+ te(sD, { cells: t.cells, axis: t.axis, dateProfile: t.dateProfile, businessHourSegs: t.businessHourSegs, bgEventSegs: t.bgEventSegs, fgEventSegs: t.fgEventSegs, dateSelectionSegs: t.dateSelectionSegs, eventSelection: t.eventSelection, eventDrag: t.eventDrag, eventResize: t.eventResize, todayRange: t.todayRange, nowDate: t.nowDate, nowIndicatorSegs: t.nowIndicatorSegs, clientWidth: t.clientWidth, tableMinWidth: t.tableMinWidth, tableColGroupNode: t.tableColGroupNode, slatCoords: e.slatCoords, onColCoords: this.handleColCoords, forPrint: t.forPrint })
18491
18505
  );
18492
18506
  }
18493
18507
  componentDidMount() {
@@ -18519,11 +18533,11 @@ class c2 extends Xn {
18519
18533
  return null;
18520
18534
  }
18521
18535
  }
18522
- function d2(n, t) {
18536
+ function dD(n, t) {
18523
18537
  let e = t || n, r = Ld(n, e);
18524
18538
  return r === null && (e = n, r = 1), { snapDuration: e, snapsPerSlot: r };
18525
18539
  }
18526
- class f2 extends hv {
18540
+ class fD extends hv {
18527
18541
  sliceRange(t, e) {
18528
18542
  let r = [];
18529
18543
  for (let i = 0; i < e.length; i += 1) {
@@ -18539,16 +18553,16 @@ class f2 extends hv {
18539
18553
  return r;
18540
18554
  }
18541
18555
  }
18542
- class h2 extends Xn {
18556
+ class hD extends Xn {
18543
18557
  constructor() {
18544
- super(...arguments), this.buildDayRanges = it(p2), this.slicer = new f2(), this.timeColsRef = yn();
18558
+ super(...arguments), this.buildDayRanges = it(pD), this.slicer = new fD(), this.timeColsRef = yn();
18545
18559
  }
18546
18560
  render() {
18547
18561
  let { props: t, context: e } = this, { dateProfile: r, dayTableModel: i } = t, { nowIndicator: o, nextDayThreshold: a } = e.options, l = this.buildDayRanges(i, r, e.dateEnv);
18548
- return te(Oo, { unit: o ? "minute" : "day" }, (s, d) => te(c2, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(t, r, null, e, l), { forPrint: t.forPrint, axis: t.axis, dateProfile: r, slatMetas: t.slatMetas, slotDuration: t.slotDuration, cells: i.cells[0], tableColGroupNode: t.tableColGroupNode, tableMinWidth: t.tableMinWidth, clientWidth: t.clientWidth, clientHeight: t.clientHeight, expandRows: t.expandRows, nowDate: s, nowIndicatorSegs: o && this.slicer.sliceNowDate(s, r, a, e, l), todayRange: d, onScrollTopRequest: t.onScrollTopRequest, onSlatCoords: t.onSlatCoords })));
18562
+ return te(Oo, { unit: o ? "minute" : "day" }, (s, d) => te(cD, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(t, r, null, e, l), { forPrint: t.forPrint, axis: t.axis, dateProfile: r, slatMetas: t.slatMetas, slotDuration: t.slotDuration, cells: i.cells[0], tableColGroupNode: t.tableColGroupNode, tableMinWidth: t.tableMinWidth, clientWidth: t.clientWidth, clientHeight: t.clientHeight, expandRows: t.expandRows, nowDate: s, nowIndicatorSegs: o && this.slicer.sliceNowDate(s, r, a, e, l), todayRange: d, onScrollTopRequest: t.onScrollTopRequest, onSlatCoords: t.onSlatCoords })));
18549
18563
  }
18550
18564
  }
18551
- function p2(n, t, e) {
18565
+ function pD(n, t, e) {
18552
18566
  let r = [];
18553
18567
  for (let i of n.headerDates)
18554
18568
  r.push({
@@ -18564,8 +18578,8 @@ const bp = [
18564
18578
  { seconds: 30 },
18565
18579
  { seconds: 15 }
18566
18580
  ];
18567
- function m2(n, t, e, r, i) {
18568
- let o = /* @__PURE__ */ new Date(0), a = n, l = St(0), s = e || g2(r), d = [];
18581
+ function mD(n, t, e, r, i) {
18582
+ let o = /* @__PURE__ */ new Date(0), a = n, l = St(0), s = e || gD(r), d = [];
18569
18583
  for (; cr(a) < cr(t); ) {
18570
18584
  let c = i.add(o, a), h = Ld(l, s) !== null;
18571
18585
  d.push({
@@ -18578,36 +18592,36 @@ function m2(n, t, e, r, i) {
18578
18592
  }
18579
18593
  return d;
18580
18594
  }
18581
- function g2(n) {
18595
+ function gD(n) {
18582
18596
  let t, e, r;
18583
18597
  for (t = bp.length - 1; t >= 0; t -= 1)
18584
18598
  if (e = St(bp[t]), r = Ld(e, n), r !== null && r > 1)
18585
18599
  return e;
18586
18600
  return n;
18587
18601
  }
18588
- class v2 extends qT {
18602
+ class vD extends qT {
18589
18603
  constructor() {
18590
- super(...arguments), this.buildTimeColsModel = it(y2), this.buildSlatMetas = it(m2);
18604
+ super(...arguments), this.buildTimeColsModel = it(yD), this.buildSlatMetas = it(mD);
18591
18605
  }
18592
18606
  render() {
18593
- let { options: t, dateEnv: e, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: o } = i, a = this.buildTimeColsModel(o, r), l = this.allDaySplitter.splitProps(i), s = this.buildSlatMetas(o.slotMinTime, o.slotMaxTime, t.slotLabelInterval, t.slotDuration, e), { dayMinWidth: d } = t, c = !d, h = d, f = t.dayHeaders && te(af, { dates: a.headerDates, dateProfile: o, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), p = t.allDaySlot !== !1 && ((m) => te(Uv, Object.assign({}, l.allDay, { dateProfile: o, dayTableModel: a, nextDayThreshold: t.nextDayThreshold, tableMinWidth: m.tableMinWidth, colGroupNode: m.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: m.clientWidth, clientHeight: m.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), g = (m) => te(h2, Object.assign({}, l.timed, { dayTableModel: a, dateProfile: o, axis: c, slotDuration: t.slotDuration, slatMetas: s, forPrint: i.forPrint, tableColGroupNode: m.tableColGroupNode, tableMinWidth: m.tableMinWidth, clientWidth: m.clientWidth, clientHeight: m.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: m.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
18607
+ let { options: t, dateEnv: e, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: o } = i, a = this.buildTimeColsModel(o, r), l = this.allDaySplitter.splitProps(i), s = this.buildSlatMetas(o.slotMinTime, o.slotMaxTime, t.slotLabelInterval, t.slotDuration, e), { dayMinWidth: d } = t, c = !d, h = d, f = t.dayHeaders && te(af, { dates: a.headerDates, dateProfile: o, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), p = t.allDaySlot !== !1 && ((m) => te(Uv, Object.assign({}, l.allDay, { dateProfile: o, dayTableModel: a, nextDayThreshold: t.nextDayThreshold, tableMinWidth: m.tableMinWidth, colGroupNode: m.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: m.clientWidth, clientHeight: m.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), g = (m) => te(hD, Object.assign({}, l.timed, { dayTableModel: a, dateProfile: o, axis: c, slotDuration: t.slotDuration, slatMetas: s, forPrint: i.forPrint, tableColGroupNode: m.tableColGroupNode, tableMinWidth: m.tableMinWidth, clientWidth: m.clientWidth, clientHeight: m.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: m.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
18594
18608
  return h ? this.renderHScrollLayout(f, p, g, a.colCnt, d, s, this.state.slatCoords) : this.renderSimpleLayout(f, p, g);
18595
18609
  }
18596
18610
  }
18597
- function y2(n, t) {
18611
+ function yD(n, t) {
18598
18612
  let e = new dv(n.renderRange, t);
18599
18613
  return new fv(e, !1);
18600
18614
  }
18601
- const b2 = {
18615
+ const bD = {
18602
18616
  allDaySlot: Boolean
18603
18617
  };
18604
- var w2 = mr({
18618
+ var wD = mr({
18605
18619
  name: "@fullcalendar/timegrid",
18606
18620
  initialView: "timeGridWeek",
18607
- optionRefiners: b2,
18621
+ optionRefiners: bD,
18608
18622
  views: {
18609
18623
  timeGrid: {
18610
- component: v2,
18624
+ component: vD,
18611
18625
  usesMinMaxTime: !0,
18612
18626
  allDaySlot: !0,
18613
18627
  slotDuration: "00:30:00",
@@ -18624,7 +18638,7 @@ var w2 = mr({
18624
18638
  }
18625
18639
  }
18626
18640
  });
18627
- class x2 extends Tt {
18641
+ class xD extends Tt {
18628
18642
  constructor() {
18629
18643
  super(...arguments), this.state = {
18630
18644
  textId: Nr()
@@ -18645,7 +18659,7 @@ class x2 extends Tt {
18645
18659
  ...zs(d, t)
18646
18660
  ], elAttrs: {
18647
18661
  "data-date": Pa(a)
18648
- }, renderProps: f, generatorName: "dayHeaderContent", customGenerator: r.dayHeaderContent, defaultGenerator: E2, classNameGenerator: r.dayHeaderClassNames, didMount: r.dayHeaderDidMount, willUnmount: r.dayHeaderWillUnmount }, (p) => (
18662
+ }, renderProps: f, generatorName: "dayHeaderContent", customGenerator: r.dayHeaderContent, defaultGenerator: ED, classNameGenerator: r.dayHeaderClassNames, didMount: r.dayHeaderDidMount, willUnmount: r.dayHeaderWillUnmount }, (p) => (
18649
18663
  // TODO: force-hide top border based on :first-child
18650
18664
  te(
18651
18665
  "th",
@@ -18658,7 +18672,7 @@ class x2 extends Tt {
18658
18672
  ));
18659
18673
  }
18660
18674
  }
18661
- function E2(n) {
18675
+ function ED(n) {
18662
18676
  return te(
18663
18677
  Lt,
18664
18678
  null,
@@ -18667,21 +18681,21 @@ function E2(n) {
18667
18681
  te("a", Object.assign({ "aria-hidden": !0, className: "fc-list-day-side-text" }, n.sideNavLinkAttrs), n.sideText)
18668
18682
  );
18669
18683
  }
18670
- const S2 = Nt({
18684
+ const SD = Pt({
18671
18685
  hour: "numeric",
18672
18686
  minute: "2-digit",
18673
18687
  meridiem: "short"
18674
18688
  });
18675
- class _2 extends Tt {
18689
+ class _D extends Tt {
18676
18690
  render() {
18677
- let { props: t, context: e } = this, { options: r } = e, { seg: i, timeHeaderId: o, eventHeaderId: a, dateHeaderId: l } = t, s = r.eventTimeFormat || S2;
18691
+ let { props: t, context: e } = this, { options: r } = e, { seg: i, timeHeaderId: o, eventHeaderId: a, dateHeaderId: l } = t, s = r.eventTimeFormat || SD;
18678
18692
  return te(js, Object.assign({}, t, { elTag: "tr", elClasses: [
18679
18693
  "fc-list-event",
18680
18694
  i.eventRange.def.url && "fc-event-forced-url"
18681
- ], defaultGenerator: () => k2(i, e), seg: i, timeText: "", disableDragging: !0, disableResizing: !0 }), (d, c) => te(
18695
+ ], defaultGenerator: () => kD(i, e), seg: i, timeText: "", disableDragging: !0, disableResizing: !0 }), (d, c) => te(
18682
18696
  Lt,
18683
18697
  null,
18684
- A2(i, s, e, o, l),
18698
+ AD(i, s, e, o, l),
18685
18699
  te(
18686
18700
  "td",
18687
18701
  { "aria-hidden": !0, className: "fc-list-event-graphic" },
@@ -18693,11 +18707,11 @@ class _2 extends Tt {
18693
18707
  ));
18694
18708
  }
18695
18709
  }
18696
- function k2(n, t) {
18710
+ function kD(n, t) {
18697
18711
  let e = Xd(n, t);
18698
18712
  return te("a", Object.assign({}, e), n.eventRange.def.title);
18699
18713
  }
18700
- function A2(n, t, e, r, i) {
18714
+ function AD(n, t, e, r, i) {
18701
18715
  let { options: o } = e;
18702
18716
  if (o.displayEventTime !== !1) {
18703
18717
  let a = n.eventRange.def, l = n.eventRange.instance, s = !1, d;
@@ -18708,18 +18722,18 @@ function A2(n, t, e, r, i) {
18708
18722
  };
18709
18723
  return te(Cn, { elTag: "td", elClasses: ["fc-list-event-time"], elAttrs: {
18710
18724
  headers: `${r} ${i}`
18711
- }, renderProps: c, generatorName: "allDayContent", customGenerator: o.allDayContent, defaultGenerator: C2, classNameGenerator: o.allDayClassNames, didMount: o.allDayDidMount, willUnmount: o.allDayWillUnmount });
18725
+ }, renderProps: c, generatorName: "allDayContent", customGenerator: o.allDayContent, defaultGenerator: CD, classNameGenerator: o.allDayClassNames, didMount: o.allDayDidMount, willUnmount: o.allDayWillUnmount });
18712
18726
  }
18713
18727
  return te("td", { className: "fc-list-event-time" }, d);
18714
18728
  }
18715
18729
  return null;
18716
18730
  }
18717
- function C2(n) {
18731
+ function CD(n) {
18718
18732
  return n.text;
18719
18733
  }
18720
- class T2 extends Xn {
18734
+ class TD extends Xn {
18721
18735
  constructor() {
18722
- super(...arguments), this.computeDateVars = it(O2), this.eventStoreToSegs = it(this._eventStoreToSegs), this.state = {
18736
+ super(...arguments), this.computeDateVars = it(OD), this.eventStoreToSegs = it(this._eventStoreToSegs), this.state = {
18723
18737
  timeHeaderId: Nr(),
18724
18738
  eventHeaderId: Nr(),
18725
18739
  dateHeaderIdRoot: Nr()
@@ -18746,19 +18760,19 @@ class T2 extends Xn {
18746
18760
  text: t.noEventsText,
18747
18761
  view: e
18748
18762
  };
18749
- return te(Cn, { elTag: "div", elClasses: ["fc-list-empty"], renderProps: r, generatorName: "noEventsContent", customGenerator: t.noEventsContent, defaultGenerator: D2, classNameGenerator: t.noEventsClassNames, didMount: t.noEventsDidMount, willUnmount: t.noEventsWillUnmount }, (i) => te(i, { elTag: "div", elClasses: ["fc-list-empty-cushion"] }));
18763
+ return te(Cn, { elTag: "div", elClasses: ["fc-list-empty"], renderProps: r, generatorName: "noEventsContent", customGenerator: t.noEventsContent, defaultGenerator: DD, classNameGenerator: t.noEventsClassNames, didMount: t.noEventsDidMount, willUnmount: t.noEventsWillUnmount }, (i) => te(i, { elTag: "div", elClasses: ["fc-list-empty-cushion"] }));
18750
18764
  }
18751
18765
  renderSegList(t, e) {
18752
- let { theme: r, options: i } = this.context, { timeHeaderId: o, eventHeaderId: a, dateHeaderIdRoot: l } = this.state, s = R2(t);
18766
+ let { theme: r, options: i } = this.context, { timeHeaderId: o, eventHeaderId: a, dateHeaderIdRoot: l } = this.state, s = RD(t);
18753
18767
  return te(Oo, { unit: "day" }, (d, c) => {
18754
18768
  let h = [];
18755
18769
  for (let f = 0; f < s.length; f += 1) {
18756
18770
  let p = s[f];
18757
18771
  if (p) {
18758
18772
  let g = Pa(e[f]), m = l + "-" + g;
18759
- h.push(te(x2, { key: g, cellId: m, dayDate: e[f], todayRange: c })), p = Zd(p, i.eventOrder);
18773
+ h.push(te(xD, { key: g, cellId: m, dayDate: e[f], todayRange: c })), p = Zd(p, i.eventOrder);
18760
18774
  for (let v of p)
18761
- h.push(te(_2, Object.assign({ key: g + ":" + v.eventRange.instance.instanceId, seg: v, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, timeHeaderId: o, eventHeaderId: a, dateHeaderId: m }, Br(v, c, d))));
18775
+ h.push(te(_D, Object.assign({ key: g + ":" + v.eventRange.instance.instanceId, seg: v, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, timeHeaderId: o, eventHeaderId: a, dateHeaderId: m }, Br(v, c, d))));
18762
18776
  }
18763
18777
  }
18764
18778
  return te(
@@ -18806,10 +18820,10 @@ class T2 extends Xn {
18806
18820
  return c;
18807
18821
  }
18808
18822
  }
18809
- function D2(n) {
18823
+ function DD(n) {
18810
18824
  return n.text;
18811
18825
  }
18812
- function O2(n) {
18826
+ function OD(n) {
18813
18827
  let t = Ft(n.renderRange.start), e = n.renderRange.end, r = [], i = [];
18814
18828
  for (; t < e; )
18815
18829
  r.push(t), i.push({
@@ -18818,15 +18832,15 @@ function O2(n) {
18818
18832
  }), t = fn(t, 1);
18819
18833
  return { dayDates: r, dayRanges: i };
18820
18834
  }
18821
- function R2(n) {
18835
+ function RD(n) {
18822
18836
  let t = [], e, r;
18823
18837
  for (e = 0; e < n.length; e += 1)
18824
18838
  r = n[e], (t[r.dayIndex] || (t[r.dayIndex] = [])).push(r);
18825
18839
  return t;
18826
18840
  }
18827
- var M2 = ':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}';
18828
- Na(M2);
18829
- const I2 = {
18841
+ var MD = ':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}';
18842
+ Na(MD);
18843
+ const ID = {
18830
18844
  listDayFormat: wp,
18831
18845
  listDaySideFormat: wp,
18832
18846
  noEventsClassNames: _e,
@@ -18836,14 +18850,14 @@ const I2 = {
18836
18850
  // noEventsText is defined in base options
18837
18851
  };
18838
18852
  function wp(n) {
18839
- return n === !1 ? null : Nt(n);
18853
+ return n === !1 ? null : Pt(n);
18840
18854
  }
18841
- var N2 = mr({
18855
+ var ND = mr({
18842
18856
  name: "@fullcalendar/list",
18843
- optionRefiners: I2,
18857
+ optionRefiners: ID,
18844
18858
  views: {
18845
18859
  list: {
18846
- component: T2,
18860
+ component: TD,
18847
18861
  buttonTextKey: "list",
18848
18862
  listDayFormat: { month: "long", day: "numeric", year: "numeric" }
18849
18863
  // like "January 1, 2016"
@@ -18874,7 +18888,7 @@ var N2 = mr({
18874
18888
  }
18875
18889
  }
18876
18890
  });
18877
- class P2 extends Xn {
18891
+ class PD extends Xn {
18878
18892
  constructor() {
18879
18893
  super(...arguments), this.buildDayTableModel = it(Gv), this.slicer = new qv(), this.state = {
18880
18894
  labelId: Nr()
@@ -18928,9 +18942,9 @@ class P2 extends Xn {
18928
18942
  );
18929
18943
  }
18930
18944
  }
18931
- class B2 extends Xn {
18945
+ class BD extends Xn {
18932
18946
  constructor() {
18933
- super(...arguments), this.splitDateProfileByMonth = it(z2), this.buildMonthFormat = it($2), this.scrollElRef = yn(), this.firstMonthElRef = yn(), this.needsScrollReset = !1, this.handleSizing = (t) => {
18947
+ super(...arguments), this.splitDateProfileByMonth = it(zD), this.buildMonthFormat = it($D), this.scrollElRef = yn(), this.firstMonthElRef = yn(), this.needsScrollReset = !1, this.handleSizing = (t) => {
18934
18948
  t && this.updateSize();
18935
18949
  };
18936
18950
  }
@@ -18942,7 +18956,7 @@ class B2 extends Xn {
18942
18956
  ];
18943
18957
  return te(xo, { elRef: this.scrollElRef, elClasses: g, viewSpec: t.viewSpec }, f.map((m, v) => {
18944
18958
  const y = Ac(m.currentRange.start);
18945
- return te(P2, Object.assign({}, e, { key: y, isoDateStr: y, elRef: v === 0 ? this.firstMonthElRef : void 0, titleFormat: p, dateProfile: m, width: d, tableWidth: c, clientWidth: o, clientHeight: a }));
18959
+ return te(PD, Object.assign({}, e, { key: y, isoDateStr: y, elRef: v === 0 ? this.firstMonthElRef : void 0, titleFormat: p, dateProfile: m, width: d, tableWidth: c, clientWidth: o, clientHeight: a }));
18946
18960
  }));
18947
18961
  }
18948
18962
  componentDidMount() {
@@ -18979,13 +18993,13 @@ class B2 extends Xn {
18979
18993
  return !0;
18980
18994
  }
18981
18995
  }
18982
- const L2 = St(1, "month");
18983
- function z2(n, t, e, r, i) {
18996
+ const LD = St(1, "month");
18997
+ function zD(n, t, e, r, i) {
18984
18998
  const { start: o, end: a } = t.currentRange;
18985
18999
  let l = o;
18986
19000
  const s = [];
18987
19001
  for (; l.valueOf() < a.valueOf(); ) {
18988
- const d = e.add(l, L2), c = {
19002
+ const d = e.add(l, LD), c = {
18989
19003
  // yuck
18990
19004
  start: n.skipHiddenDays(l),
18991
19005
  end: n.skipHiddenDays(d, -1, !0)
@@ -19018,24 +19032,24 @@ function z2(n, t, e, r, i) {
19018
19032
  }
19019
19033
  return s;
19020
19034
  }
19021
- const j2 = Nt({ year: "numeric", month: "long" }), F2 = Nt({ month: "long" });
19022
- function $2(n, t) {
19023
- return n || (t[0].currentRange.start.getUTCFullYear() !== t[t.length - 1].currentRange.start.getUTCFullYear() ? j2 : F2);
19035
+ const jD = Pt({ year: "numeric", month: "long" }), FD = Pt({ month: "long" });
19036
+ function $D(n, t) {
19037
+ return n || (t[0].currentRange.start.getUTCFullYear() !== t[t.length - 1].currentRange.start.getUTCFullYear() ? jD : FD);
19024
19038
  }
19025
- const H2 = {
19026
- multiMonthTitleFormat: Nt,
19039
+ const HD = {
19040
+ multiMonthTitleFormat: Pt,
19027
19041
  multiMonthMaxColumns: Number,
19028
19042
  multiMonthMinWidth: Number
19029
19043
  };
19030
- var q2 = ".fc .fc-multimonth{border:1px solid var(--fc-border-color);display:flex;flex-wrap:wrap;overflow-x:hidden;overflow-y:auto}.fc .fc-multimonth-title{font-size:1.2em;font-weight:700;padding:1em 0;text-align:center}.fc .fc-multimonth-daygrid{background:var(--fc-page-bg-color)}.fc .fc-multimonth-daygrid-table,.fc .fc-multimonth-header-table{table-layout:fixed;width:100%}.fc .fc-multimonth-daygrid-table{border-top-style:hidden!important}.fc .fc-multimonth-singlecol .fc-multimonth{position:relative}.fc .fc-multimonth-singlecol .fc-multimonth-header{background:var(--fc-page-bg-color);position:relative;top:0;z-index:2}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid{position:relative;z-index:1}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid-table,.fc .fc-multimonth-singlecol .fc-multimonth-header-table{border-left-style:hidden;border-right-style:hidden}.fc .fc-multimonth-singlecol .fc-multimonth-month:last-child .fc-multimonth-daygrid-table{border-bottom-style:hidden}.fc .fc-multimonth-multicol{line-height:1}.fc .fc-multimonth-multicol .fc-multimonth-month{padding:0 1.2em 1.2em}.fc .fc-multimonth-multicol .fc-daygrid-more-link{border:1px solid var(--fc-event-border-color);display:block;float:none;padding:1px}.fc .fc-multimonth-compact{line-height:1}.fc .fc-multimonth-compact .fc-multimonth-daygrid-table,.fc .fc-multimonth-compact .fc-multimonth-header-table{font-size:.9em}.fc-media-screen .fc-multimonth-singlecol .fc-multimonth-header{position:sticky}.fc-media-print .fc-multimonth{overflow:visible}";
19031
- Na(q2);
19032
- var U2 = mr({
19044
+ var qD = ".fc .fc-multimonth{border:1px solid var(--fc-border-color);display:flex;flex-wrap:wrap;overflow-x:hidden;overflow-y:auto}.fc .fc-multimonth-title{font-size:1.2em;font-weight:700;padding:1em 0;text-align:center}.fc .fc-multimonth-daygrid{background:var(--fc-page-bg-color)}.fc .fc-multimonth-daygrid-table,.fc .fc-multimonth-header-table{table-layout:fixed;width:100%}.fc .fc-multimonth-daygrid-table{border-top-style:hidden!important}.fc .fc-multimonth-singlecol .fc-multimonth{position:relative}.fc .fc-multimonth-singlecol .fc-multimonth-header{background:var(--fc-page-bg-color);position:relative;top:0;z-index:2}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid{position:relative;z-index:1}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid-table,.fc .fc-multimonth-singlecol .fc-multimonth-header-table{border-left-style:hidden;border-right-style:hidden}.fc .fc-multimonth-singlecol .fc-multimonth-month:last-child .fc-multimonth-daygrid-table{border-bottom-style:hidden}.fc .fc-multimonth-multicol{line-height:1}.fc .fc-multimonth-multicol .fc-multimonth-month{padding:0 1.2em 1.2em}.fc .fc-multimonth-multicol .fc-daygrid-more-link{border:1px solid var(--fc-event-border-color);display:block;float:none;padding:1px}.fc .fc-multimonth-compact{line-height:1}.fc .fc-multimonth-compact .fc-multimonth-daygrid-table,.fc .fc-multimonth-compact .fc-multimonth-header-table{font-size:.9em}.fc-media-screen .fc-multimonth-singlecol .fc-multimonth-header{position:sticky}.fc-media-print .fc-multimonth{overflow:visible}";
19045
+ Na(qD);
19046
+ var UD = mr({
19033
19047
  name: "@fullcalendar/multimonth",
19034
19048
  initialView: "multiMonthYear",
19035
- optionRefiners: H2,
19049
+ optionRefiners: HD,
19036
19050
  views: {
19037
19051
  multiMonth: {
19038
- component: B2,
19052
+ component: BD,
19039
19053
  dateProfileGeneratorClass: Vv,
19040
19054
  multiMonthMinWidth: 350,
19041
19055
  multiMonthMaxColumns: 3
@@ -19048,7 +19062,7 @@ var U2 = mr({
19048
19062
  }
19049
19063
  }
19050
19064
  });
19051
- const V2 = /* @__PURE__ */ Se({
19065
+ const VD = /* @__PURE__ */ Se({
19052
19066
  __name: "BaseCalendar",
19053
19067
  props: {
19054
19068
  headerToolbarLeft: {
@@ -19112,10 +19126,10 @@ const V2 = /* @__PURE__ */ Se({
19112
19126
  const e = n, r = oe(null), i = L(() => e.locale ? e.locale : $i().locale), o = L(() => ({
19113
19127
  plugins: [
19114
19128
  hT,
19115
- w2,
19129
+ wD,
19116
19130
  PT,
19117
- N2,
19118
- U2
19131
+ ND,
19132
+ UD
19119
19133
  ],
19120
19134
  headerToolbar: {
19121
19135
  left: e.headerToolbarLeft,
@@ -19196,10 +19210,10 @@ const V2 = /* @__PURE__ */ Se({
19196
19210
  } : void 0
19197
19211
  ]), 1032, ["options"]));
19198
19212
  }
19199
- }), W2 = {
19213
+ }), WD = {
19200
19214
  key: 0,
19201
19215
  class: "overflow-hidden flex h-full"
19202
- }, G2 = { key: 1 }, Y2 = /* @__PURE__ */ Se({
19216
+ }, GD = { key: 1 }, YD = /* @__PURE__ */ Se({
19203
19217
  __name: "BaseColor",
19204
19218
  props: {
19205
19219
  modelValue: {
@@ -19306,20 +19320,20 @@ const V2 = /* @__PURE__ */ Se({
19306
19320
  "onUpdate:modelValue": d[0] || (d[0] = (h) => l(h))
19307
19321
  }, {
19308
19322
  option: ge((h) => [
19309
- h.selected.value ? (B(), K("div", W2, [
19323
+ h.selected.value ? (B(), K("div", WD, [
19310
19324
  xe(c, {
19311
19325
  icon: "heroicons-solid:check-circle",
19312
19326
  class: "block leading-none",
19313
19327
  width: "18",
19314
19328
  height: "18"
19315
19329
  })
19316
- ])) : (B(), K("div", G2))
19330
+ ])) : (B(), K("div", GD))
19317
19331
  ]),
19318
19332
  _: 1
19319
19333
  }, 8, ["model-value", "disabled", "size", "required", "options", "multiple", "button-type", "button-color"]);
19320
19334
  };
19321
19335
  }
19322
- }), K2 = Se({
19336
+ }), KD = Se({
19323
19337
  props: {
19324
19338
  size: {
19325
19339
  default: "7xl",
@@ -19350,14 +19364,14 @@ const V2 = /* @__PURE__ */ Se({
19350
19364
  }
19351
19365
  }
19352
19366
  });
19353
- function Q2(n, t, e, r, i, o) {
19367
+ function QD(n, t, e, r, i, o) {
19354
19368
  return B(), K("div", {
19355
19369
  class: de(["mx-auto w-full md:px-8", [n.width, { "px-4": !n.paddinglessMobile }]])
19356
19370
  }, [
19357
19371
  Pe(n.$slots, "default")
19358
19372
  ], 2);
19359
19373
  }
19360
- const ny = /* @__PURE__ */ pi(K2, [["render", Q2]]), Ro = /* @__PURE__ */ Se({
19374
+ const ny = /* @__PURE__ */ pi(KD, [["render", QD]]), Ro = /* @__PURE__ */ Se({
19361
19375
  __name: "BaseCounter",
19362
19376
  props: {
19363
19377
  count: {
@@ -20127,9 +20141,9 @@ var jc = { exports: {} };
20127
20141
  }), Ce;
20128
20142
  });
20129
20143
  })(jc, jc.exports);
20130
- var Z2 = jc.exports;
20131
- const X2 = /* @__PURE__ */ Co(Z2);
20132
- function J2(n, t) {
20144
+ var ZD = jc.exports;
20145
+ const XD = /* @__PURE__ */ Co(ZD);
20146
+ function JD(n, t) {
20133
20147
  let e = "";
20134
20148
  t = t || ze("sui.and");
20135
20149
  for (let r = 0; r < n.length; r++) {
@@ -20148,7 +20162,7 @@ function Hs(n) {
20148
20162
  ];
20149
20163
  return +(n / Math.pow(1024, t)).toFixed(2) * 1 + " " + e[t];
20150
20164
  }
20151
- function eD(n, t, e) {
20165
+ function e2(n, t, e) {
20152
20166
  const r = new Image();
20153
20167
  return r.src = n, r.crossOrigin = "anonymous", new Promise((i, o) => {
20154
20168
  r.onload = () => {
@@ -20211,17 +20225,17 @@ function eD(n, t, e) {
20211
20225
  };
20212
20226
  });
20213
20227
  }
20214
- function tD(n) {
20228
+ function t2(n) {
20215
20229
  return new Promise((t, e) => {
20216
20230
  const r = new FileReader();
20217
20231
  r.readAsDataURL(n), r.onload = () => t(r.result), r.onerror = (i) => e(i);
20218
20232
  });
20219
20233
  }
20220
- function nD(n, t = "data:application/octet-stream") {
20234
+ function n2(n, t = "data:application/octet-stream") {
20221
20235
  return n.match(/^data:.*\/.*;base64,/) || (n = `${t};base64,${n}`), n;
20222
20236
  }
20223
20237
  async function I5(n, t = "data:application/octet-stream") {
20224
- return n = nD(n, t), (await fetch(n)).blob();
20238
+ return n = n2(n, t), (await fetch(n)).blob();
20225
20239
  }
20226
20240
  class ry {
20227
20241
  constructor(t = null, e = null) {
@@ -20230,7 +20244,7 @@ class ry {
20230
20244
  this.config = t, this.presetOptions = e;
20231
20245
  }
20232
20246
  }
20233
- class rD extends ry {
20247
+ class r2 extends ry {
20234
20248
  handle() {
20235
20249
  var r, i;
20236
20250
  const t = (r = this.presetOptions) == null ? void 0 : r.size;
@@ -20254,7 +20268,7 @@ class rD extends ry {
20254
20268
  });
20255
20269
  }
20256
20270
  }
20257
- class iD extends ry {
20271
+ class i2 extends ry {
20258
20272
  handle() {
20259
20273
  var l, s, d;
20260
20274
  const t = (l = this.presetOptions) == null ? void 0 : l.size, e = (s = this.presetOptions) == null ? void 0 : s.ratio, r = yo(e) ? e : 16 / 9;
@@ -20283,13 +20297,13 @@ class iD extends ry {
20283
20297
  });
20284
20298
  }
20285
20299
  }
20286
- const oD = {
20287
- avatar: rD,
20288
- cover: iD
20289
- }, aD = { class: "flex overflow-hidden rounded-full shadow-md" }, lD = ["disabled"], sD = ["disabled"], uD = {
20300
+ const o2 = {
20301
+ avatar: r2,
20302
+ cover: i2
20303
+ }, a2 = { class: "flex overflow-hidden rounded-full shadow-md" }, l2 = ["disabled"], s2 = ["disabled"], u2 = {
20290
20304
  key: 0,
20291
20305
  class: "pointer-events-none absolute left-0 top-14 z-[1] flex w-full animate-pulse justify-center"
20292
- }, cD = { class: "flex items-center rounded-lg bg-black bg-opacity-75 px-3 py-1.5 text-center text-white" }, dD = 1e3, xp = 44, iy = /* @__PURE__ */ Se({
20306
+ }, c2 = { class: "flex items-center rounded-lg bg-black bg-opacity-75 px-3 py-1.5 text-center text-white" }, d2 = 1e3, xp = 44, iy = /* @__PURE__ */ Se({
20293
20307
  __name: "BaseCropper",
20294
20308
  props: {
20295
20309
  source: {},
@@ -20325,7 +20339,7 @@ const oD = {
20325
20339
  const m = L(() => {
20326
20340
  let S = Kt(e.config ?? {});
20327
20341
  if (e.preset) {
20328
- const C = oD[e.preset] ?? null;
20342
+ const C = o2[e.preset] ?? null;
20329
20343
  C && (S = new C(S, e.presetOptions).handle());
20330
20344
  }
20331
20345
  if (S.width = S.width ?? 300, S.height = S.height ?? 300, S.maxWidth = S.maxWidth ?? void 0, S.enableResize = S.enableResize ?? !1, S.enableZoom = S.enableZoom ?? !0, S.enableOrientation = S.enableOrientation ?? !0, S.showZoomer = S.showZoomer ?? !0, S.viewport = S.viewport ?? {
@@ -20364,7 +20378,7 @@ const oD = {
20364
20378
  var R, P;
20365
20379
  if (i.value == null)
20366
20380
  throw new Error("Croppie element not found");
20367
- s = new X2(i.value, m.value);
20381
+ s = new XD(i.value, m.value);
20368
20382
  const S = o != e.source, C = a != ((R = e.config) == null ? void 0 : R.initialResize);
20369
20383
  (S || C) && (l = await b(e.source)), o = e.source, a = ((P = e.config) == null ? void 0 : P.initialResize) ?? null, l = l ?? e.source, await s.bind({
20370
20384
  url: l,
@@ -20377,7 +20391,7 @@ const oD = {
20377
20391
  await E();
20378
20392
  try {
20379
20393
  const C = D();
20380
- return C ? await eD(
20394
+ return C ? await e2(
20381
20395
  S,
20382
20396
  C.height,
20383
20397
  C.width
@@ -20419,7 +20433,7 @@ const oD = {
20419
20433
  }
20420
20434
  function D() {
20421
20435
  var Z;
20422
- const S = ((Z = e.config) == null ? void 0 : Z.initialResize) ?? dD, C = f.value > S ? S : f.value, R = p.value > S ? S : p.value, P = C / f.value, $ = R / p.value, Y = P > $ ? P : $;
20436
+ const S = ((Z = e.config) == null ? void 0 : Z.initialResize) ?? d2, C = f.value > S ? S : f.value, R = p.value > S ? S : p.value, P = C / f.value, $ = R / p.value, Y = P > $ ? P : $;
20423
20437
  return {
20424
20438
  width: f.value * Y,
20425
20439
  height: p.value * Y
@@ -20468,7 +20482,7 @@ const oD = {
20468
20482
  bottom: (q = T(m)) != null && q.showZoomer ? xp - 13 + "px" : "6px"
20469
20483
  })
20470
20484
  }, [
20471
- j("div", aD, [
20485
+ j("div", a2, [
20472
20486
  j("button", {
20473
20487
  type: "button",
20474
20488
  disabled: S.disabled,
@@ -20479,7 +20493,7 @@ const oD = {
20479
20493
  icon: "mdi:rotate-left",
20480
20494
  class: "h-4 w-4"
20481
20495
  })
20482
- ], 8, lD),
20496
+ ], 8, l2),
20483
20497
  j("button", {
20484
20498
  type: "button",
20485
20499
  disabled: S.disabled,
@@ -20490,13 +20504,13 @@ const oD = {
20490
20504
  icon: "mdi:rotate-right",
20491
20505
  class: "h-4 w-4"
20492
20506
  })
20493
- ], 8, sD)
20507
+ ], 8, s2)
20494
20508
  ])
20495
20509
  ], 4), [
20496
20510
  [Ir, !d.value]
20497
20511
  ]),
20498
- h.value ? (B(), K("div", uD, [
20499
- j("div", cD, [
20512
+ h.value ? (B(), K("div", u2, [
20513
+ j("div", c2, [
20500
20514
  xe(T(rt), {
20501
20515
  icon: "ri:drag-move-2-fill",
20502
20516
  class: "mr-1 h-5 w-5"
@@ -20558,10 +20572,10 @@ function oy(n, t) {
20558
20572
  animationClasses: l
20559
20573
  };
20560
20574
  }
20561
- const fD = {
20575
+ const f2 = {
20562
20576
  "data-scroll-lock-scrollable": "",
20563
20577
  class: "fixed inset-0 z-modal w-full overflow-y-auto overflow-x-hidden"
20564
- }, hD = { class: "pt-safe grow" }, ay = /* @__PURE__ */ Se({
20578
+ }, h2 = { class: "pt-safe grow" }, ay = /* @__PURE__ */ Se({
20565
20579
  __name: "BaseModalCenter",
20566
20580
  props: {
20567
20581
  modelValue: {
@@ -20609,7 +20623,7 @@ const fD = {
20609
20623
  }, {
20610
20624
  default: ge(() => [
20611
20625
  jn(j("div", null, [
20612
- j("div", fD, [
20626
+ j("div", f2, [
20613
20627
  j("div", {
20614
20628
  class: de(["flex min-h-full w-full items-end justify-center overflow-hidden sm:px-6 sm:pb-6", [
20615
20629
  n.showCloseButton ? "pt-20" : "pt-6",
@@ -20619,7 +20633,7 @@ const fD = {
20619
20633
  }
20620
20634
  ]])
20621
20635
  }, [
20622
- j("div", hD, [
20636
+ j("div", h2, [
20623
20637
  xe(Rn, {
20624
20638
  appear: "",
20625
20639
  "enter-active-class": "duration-100 ease-out",
@@ -20632,7 +20646,7 @@ const fD = {
20632
20646
  default: ge(() => [
20633
20647
  n.modelValue ? (B(), K("div", {
20634
20648
  key: 0,
20635
- class: de(T(Pt)(
20649
+ class: de(T(It)(
20636
20650
  "fixed inset-0 bg-slate-200 bg-opacity-40 transition-opacity",
20637
20651
  n.twBackdrop
20638
20652
  )),
@@ -20691,10 +20705,10 @@ const fD = {
20691
20705
  ]);
20692
20706
  };
20693
20707
  }
20694
- }), pD = {
20708
+ }), p2 = {
20695
20709
  key: 0,
20696
20710
  class: "flex items-center justify-center"
20697
- }, mD = { class: "mt-5 px-4 pb-5" }, gD = { class: "flex justify-center space-x-2" }, vD = ["disabled"], ly = /* @__PURE__ */ Se({
20711
+ }, m2 = { class: "mt-5 px-4 pb-5" }, g2 = { class: "flex justify-center space-x-2" }, v2 = ["disabled"], ly = /* @__PURE__ */ Se({
20698
20712
  __name: "BaseCropperModal",
20699
20713
  props: {
20700
20714
  modelValue: { type: Boolean },
@@ -20749,7 +20763,7 @@ const fD = {
20749
20763
  "onUpdate:modelValue": m[2] || (m[2] = (v) => g.$emit("update:modelValue", v))
20750
20764
  }, {
20751
20765
  default: ge(() => [
20752
- T(i) ? (B(), K("div", pD, [
20766
+ T(i) ? (B(), K("div", p2, [
20753
20767
  T(h).source ? (B(), De(iy, Zt({
20754
20768
  key: 0,
20755
20769
  ref_key: "baseCropperRef",
@@ -20757,14 +20771,14 @@ const fD = {
20757
20771
  disabled: T(o)
20758
20772
  }, T(h)), {
20759
20773
  footer: ge(({ initializing: v }) => [
20760
- j("div", mD, [
20761
- j("div", gD, [
20774
+ j("div", m2, [
20775
+ j("div", g2, [
20762
20776
  j("button", {
20763
20777
  type: "button",
20764
20778
  class: "btn btn-lg btn-white",
20765
20779
  disabled: v,
20766
20780
  onClick: m[0] || (m[0] = (y) => p())
20767
- }, Me(T(ze)("cancel")), 9, vD),
20781
+ }, Me(T(ze)("cancel")), 9, v2),
20768
20782
  xe(T(To), {
20769
20783
  type: "button",
20770
20784
  class: "btn btn-lg btn-primary",
@@ -21644,8 +21658,8 @@ list should be an Array.`), M.length === 0)
21644
21658
  }, { buffer: 3, lYpoI2: 11 }] }, {}, [1])(1);
21645
21659
  });
21646
21660
  })(sy);
21647
- var yD = sy.exports;
21648
- const Fc = /* @__PURE__ */ Co(yD);
21661
+ var y2 = sy.exports;
21662
+ const Fc = /* @__PURE__ */ Co(y2);
21649
21663
  function bn(n, t, ...e) {
21650
21664
  if (n in t) {
21651
21665
  let i = t[n];
@@ -21682,7 +21696,7 @@ function Hu({ props: n, attrs: t, slots: e, slot: r, name: i }) {
21682
21696
  if (l === "template") {
21683
21697
  if (d = uy(d ?? []), Object.keys(s).length > 0 || Object.keys(t).length > 0) {
21684
21698
  let [h, ...f] = d ?? [];
21685
- if (!wD(h) || f.length > 0)
21699
+ if (!w2(h) || f.length > 0)
21686
21700
  throw new Error(['Passing props on "template"!', "", `The current component <${i} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(s).concat(Object.keys(t)).map((m) => m.trim()).filter((m, v, y) => y.indexOf(m) === v).sort((m, v) => m.localeCompare(v)).map((m) => ` - ${m}`).join(`
21687
21701
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((m) => ` - ${m}`).join(`
21688
21702
  `)].join(`
@@ -21721,7 +21735,7 @@ function cy(...n) {
21721
21735
  } });
21722
21736
  return t;
21723
21737
  }
21724
- function bD(n) {
21738
+ function b2(n) {
21725
21739
  let t = Object.assign({}, n);
21726
21740
  for (let e in t)
21727
21741
  t[e] === void 0 && delete t[e];
@@ -21733,22 +21747,22 @@ function hf(n, t = []) {
21733
21747
  r in e && delete e[r];
21734
21748
  return e;
21735
21749
  }
21736
- function wD(n) {
21750
+ function w2(n) {
21737
21751
  return n == null ? !1 : typeof n.type == "string" || typeof n.type == "object" || typeof n.type == "function";
21738
21752
  }
21739
- let xD = 0;
21740
- function ED() {
21741
- return ++xD;
21753
+ let x2 = 0;
21754
+ function E2() {
21755
+ return ++x2;
21742
21756
  }
21743
21757
  function hn() {
21744
- return ED();
21758
+ return E2();
21745
21759
  }
21746
21760
  var Bt = ((n) => (n.Space = " ", n.Enter = "Enter", n.Escape = "Escape", n.Backspace = "Backspace", n.Delete = "Delete", n.ArrowLeft = "ArrowLeft", n.ArrowUp = "ArrowUp", n.ArrowRight = "ArrowRight", n.ArrowDown = "ArrowDown", n.Home = "Home", n.End = "End", n.PageUp = "PageUp", n.PageDown = "PageDown", n.Tab = "Tab", n))(Bt || {});
21747
- function SD(n) {
21761
+ function S2(n) {
21748
21762
  throw new Error("Unexpected object: " + n);
21749
21763
  }
21750
21764
  var Gn = ((n) => (n[n.First = 0] = "First", n[n.Previous = 1] = "Previous", n[n.Next = 2] = "Next", n[n.Last = 3] = "Last", n[n.Specific = 4] = "Specific", n[n.Nothing = 5] = "Nothing", n))(Gn || {});
21751
- function _D(n, t) {
21765
+ function _2(n, t) {
21752
21766
  let e = t.resolveItems();
21753
21767
  if (e.length <= 0)
21754
21768
  return null;
@@ -21771,7 +21785,7 @@ function _D(n, t) {
21771
21785
  case 5:
21772
21786
  return null;
21773
21787
  default:
21774
- SD(n);
21788
+ S2(n);
21775
21789
  }
21776
21790
  })();
21777
21791
  return o === -1 ? r : o;
@@ -21782,7 +21796,7 @@ function qe(n) {
21782
21796
  }
21783
21797
  let dy = Symbol("Context");
21784
21798
  var Qt = ((n) => (n[n.Open = 1] = "Open", n[n.Closed = 2] = "Closed", n[n.Closing = 4] = "Closing", n[n.Opening = 8] = "Opening", n))(Qt || {});
21785
- function kD() {
21799
+ function k2() {
21786
21800
  return Mo() !== null;
21787
21801
  }
21788
21802
  function Mo() {
@@ -21807,8 +21821,8 @@ function mf(n, t) {
21807
21821
  e.value || qe(t) && qe(t) instanceof HTMLButtonElement && !((r = qe(t)) != null && r.hasAttribute("type")) && (e.value = "button");
21808
21822
  }), e;
21809
21823
  }
21810
- var AD = Object.defineProperty, CD = (n, t, e) => t in n ? AD(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, Sp = (n, t, e) => (CD(n, typeof t != "symbol" ? t + "" : t, e), e);
21811
- class TD {
21824
+ var A2 = Object.defineProperty, C2 = (n, t, e) => t in n ? A2(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, Sp = (n, t, e) => (C2(n, typeof t != "symbol" ? t + "" : t, e), e);
21825
+ class T2 {
21812
21826
  constructor() {
21813
21827
  Sp(this, "current", this.detect()), Sp(this, "currentId", 0);
21814
21828
  }
@@ -21831,7 +21845,7 @@ class TD {
21831
21845
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
21832
21846
  }
21833
21847
  }
21834
- let Fa = new TD();
21848
+ let Fa = new T2();
21835
21849
  function ir(n) {
21836
21850
  if (Fa.isServer)
21837
21851
  return null;
@@ -21844,7 +21858,7 @@ function ir(n) {
21844
21858
  }
21845
21859
  return document;
21846
21860
  }
21847
- function DD({ container: n, accept: t, walk: e, enabled: r }) {
21861
+ function D2({ container: n, accept: t, walk: e, enabled: r }) {
21848
21862
  un(() => {
21849
21863
  let i = n.value;
21850
21864
  if (!i || r !== void 0 && !r.value)
@@ -21858,7 +21872,7 @@ function DD({ container: n, accept: t, walk: e, enabled: r }) {
21858
21872
  });
21859
21873
  }
21860
21874
  let $c = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((n) => `${n}:not([tabindex='-1'])`).join(",");
21861
- var dn = ((n) => (n[n.First = 1] = "First", n[n.Previous = 2] = "Previous", n[n.Next = 4] = "Next", n[n.Last = 8] = "Last", n[n.WrapAround = 16] = "WrapAround", n[n.NoScroll = 32] = "NoScroll", n))(dn || {}), Ta = ((n) => (n[n.Error = 0] = "Error", n[n.Overflow = 1] = "Overflow", n[n.Success = 2] = "Success", n[n.Underflow = 3] = "Underflow", n))(Ta || {}), OD = ((n) => (n[n.Previous = -1] = "Previous", n[n.Next = 1] = "Next", n))(OD || {});
21875
+ var dn = ((n) => (n[n.First = 1] = "First", n[n.Previous = 2] = "Previous", n[n.Next = 4] = "Next", n[n.Last = 8] = "Last", n[n.WrapAround = 16] = "WrapAround", n[n.NoScroll = 32] = "NoScroll", n))(dn || {}), Ta = ((n) => (n[n.Error = 0] = "Error", n[n.Overflow = 1] = "Overflow", n[n.Success = 2] = "Success", n[n.Underflow = 3] = "Underflow", n))(Ta || {}), O2 = ((n) => (n[n.Previous = -1] = "Previous", n[n.Next = 1] = "Next", n))(O2 || {});
21862
21876
  function $a(n = document.body) {
21863
21877
  return n == null ? [] : Array.from(n.querySelectorAll($c)).sort((t, e) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (e.tabIndex || Number.MAX_SAFE_INTEGER)));
21864
21878
  }
@@ -21883,7 +21897,7 @@ function fy(n) {
21883
21897
  t && !Us(t.activeElement, 0) && oi(n);
21884
21898
  });
21885
21899
  }
21886
- var RD = ((n) => (n[n.Keyboard = 0] = "Keyboard", n[n.Mouse = 1] = "Mouse", n))(RD || {});
21900
+ var R2 = ((n) => (n[n.Keyboard = 0] = "Keyboard", n[n.Mouse = 1] = "Mouse", n))(R2 || {});
21887
21901
  typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (n) => {
21888
21902
  n.metaKey || n.altKey || n.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
21889
21903
  }, !0), document.addEventListener("click", (n) => {
@@ -21892,10 +21906,10 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
21892
21906
  function oi(n) {
21893
21907
  n == null || n.focus({ preventScroll: !0 });
21894
21908
  }
21895
- let MD = ["textarea", "input"].join(",");
21896
- function ID(n) {
21909
+ let M2 = ["textarea", "input"].join(",");
21910
+ function I2(n) {
21897
21911
  var t, e;
21898
- return (e = (t = n == null ? void 0 : n.matches) == null ? void 0 : t.call(n, MD)) != null ? e : !1;
21912
+ return (e = (t = n == null ? void 0 : n.matches) == null ? void 0 : t.call(n, M2)) != null ? e : !1;
21899
21913
  }
21900
21914
  function hy(n, t = (e) => e) {
21901
21915
  return n.slice().sort((e, r) => {
@@ -21906,7 +21920,7 @@ function hy(n, t = (e) => e) {
21906
21920
  return a & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : a & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
21907
21921
  });
21908
21922
  }
21909
- function ND(n, t) {
21923
+ function N2(n, t) {
21910
21924
  return tr($a(), t, { relativeTo: n });
21911
21925
  }
21912
21926
  function tr(n, t, { sorted: e = !0, relativeTo: r = null, skipElements: i = [] } = {}) {
@@ -21944,7 +21958,7 @@ function tr(n, t, { sorted: e = !0, relativeTo: r = null, skipElements: i = [] }
21944
21958
  }
21945
21959
  p = l[g], p == null || p.focus(c), h += s;
21946
21960
  } while (p !== a.activeElement);
21947
- return t & 6 && ID(p) && p.select(), 2;
21961
+ return t & 6 && I2(p) && p.select(), 2;
21948
21962
  }
21949
21963
  function gl(n, t, e) {
21950
21964
  Fa.isServer || un((r) => {
@@ -21993,7 +22007,7 @@ let fi = Se({ name: "Hidden", props: { as: { type: [Object, String], default: "d
21993
22007
  return Vt({ ourProps: o, theirProps: i, slot: {}, attrs: e, slots: t, name: "Hidden" });
21994
22008
  };
21995
22009
  } });
21996
- function PD(n) {
22010
+ function P2(n) {
21997
22011
  var t, e;
21998
22012
  let r = (t = n == null ? void 0 : n.form) != null ? t : n.closest("form");
21999
22013
  if (r) {
@@ -22005,7 +22019,7 @@ function PD(n) {
22005
22019
  (e = r.requestSubmit) == null || e.call(r);
22006
22020
  }
22007
22021
  }
22008
- function BD(n, t, e) {
22022
+ function B2(n, t, e) {
22009
22023
  let r = oe(e == null ? void 0 : e.value), i = L(() => n.value !== void 0);
22010
22024
  return [L(() => i.value ? n.value : r.value), function(o) {
22011
22025
  return i.value || (r.value = o), t == null ? void 0 : t(o);
@@ -22014,7 +22028,7 @@ function BD(n, t, e) {
22014
22028
  function _p(n) {
22015
22029
  return [n.screenX, n.screenY];
22016
22030
  }
22017
- function LD() {
22031
+ function L2() {
22018
22032
  let n = oe([-1, -1]);
22019
22033
  return { wasMoved(t) {
22020
22034
  let e = _p(t);
@@ -22023,7 +22037,7 @@ function LD() {
22023
22037
  n.value = _p(t);
22024
22038
  } };
22025
22039
  }
22026
- function zD() {
22040
+ function z2() {
22027
22041
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
22028
22042
  }
22029
22043
  function vf(n) {
@@ -22084,7 +22098,7 @@ function bf(n, t, e, r) {
22084
22098
  n = n ?? window, n.addEventListener(t, e, r), i(() => n.removeEventListener(t, e, r));
22085
22099
  });
22086
22100
  }
22087
- function jD(n) {
22101
+ function j2(n) {
22088
22102
  function t() {
22089
22103
  document.readyState !== "loading" && (n(), document.removeEventListener("DOMContentLoaded", t));
22090
22104
  }
@@ -22107,9 +22121,9 @@ let Zo = Object.assign(Se({ name: "FocusTrap", props: { as: { type: [Object, Str
22107
22121
  let i = oe(null);
22108
22122
  r({ el: i, $el: i });
22109
22123
  let o = L(() => ir(i)), a = oe(!1);
22110
- pt(() => a.value = !0), An(() => a.value = !1), $D({ ownerDocument: o }, L(() => a.value && !!(n.features & 16)));
22111
- let l = HD({ ownerDocument: o, container: i, initialFocus: L(() => n.initialFocus) }, L(() => a.value && !!(n.features & 2)));
22112
- qD({ ownerDocument: o, container: i, containers: n.containers, previousActiveElement: l }, L(() => a.value && !!(n.features & 8)));
22124
+ pt(() => a.value = !0), An(() => a.value = !1), $2({ ownerDocument: o }, L(() => a.value && !!(n.features & 16)));
22125
+ let l = H2({ ownerDocument: o, container: i, initialFocus: L(() => n.initialFocus) }, L(() => a.value && !!(n.features & 2)));
22126
+ q2({ ownerDocument: o, container: i, containers: n.containers, previousActiveElement: l }, L(() => a.value && !!(n.features & 8)));
22113
22127
  let s = yf();
22114
22128
  function d(p) {
22115
22129
  let g = qe(i);
@@ -22140,13 +22154,13 @@ let Zo = Object.assign(Se({ name: "FocusTrap", props: { as: { type: [Object, Str
22140
22154
  return xt(Je, [!!(m & 4) && xt(fi, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: d, features: Hr.Focusable }), Vt({ ourProps: g, theirProps: { ...t, ...b }, slot: p, attrs: t, slots: e, name: "FocusTrap" }), !!(m & 4) && xt(fi, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: d, features: Hr.Focusable })]);
22141
22155
  };
22142
22156
  } }), { features: gy }), Di = [];
22143
- jD(() => {
22157
+ j2(() => {
22144
22158
  function n(t) {
22145
22159
  t.target instanceof HTMLElement && t.target !== document.body && Di[0] !== t.target && (Di.unshift(t.target), Di = Di.filter((e) => e != null && e.isConnected), Di.splice(10));
22146
22160
  }
22147
22161
  window.addEventListener("click", n, { capture: !0 }), window.addEventListener("mousedown", n, { capture: !0 }), window.addEventListener("focus", n, { capture: !0 }), document.body.addEventListener("click", n, { capture: !0 }), document.body.addEventListener("mousedown", n, { capture: !0 }), document.body.addEventListener("focus", n, { capture: !0 });
22148
22162
  });
22149
- function FD(n) {
22163
+ function F2(n) {
22150
22164
  let t = oe(Di.slice());
22151
22165
  return ut([n], ([e], [r]) => {
22152
22166
  r === !0 && e === !1 ? vf(() => {
@@ -22157,8 +22171,8 @@ function FD(n) {
22157
22171
  return (e = t.value.find((r) => r != null && r.isConnected)) != null ? e : null;
22158
22172
  };
22159
22173
  }
22160
- function $D({ ownerDocument: n }, t) {
22161
- let e = FD(t);
22174
+ function $2({ ownerDocument: n }, t) {
22175
+ let e = F2(t);
22162
22176
  pt(() => {
22163
22177
  un(() => {
22164
22178
  var r, i;
@@ -22168,7 +22182,7 @@ function $D({ ownerDocument: n }, t) {
22168
22182
  t.value && oi(e());
22169
22183
  });
22170
22184
  }
22171
- function HD({ ownerDocument: n, container: t, initialFocus: e }, r) {
22185
+ function H2({ ownerDocument: n, container: t, initialFocus: e }, r) {
22172
22186
  let i = oe(null), o = oe(!1);
22173
22187
  return pt(() => o.value = !0), An(() => o.value = !1), pt(() => {
22174
22188
  ut([t, e, r], (a, l) => {
@@ -22194,7 +22208,7 @@ function HD({ ownerDocument: n, container: t, initialFocus: e }, r) {
22194
22208
  }, { immediate: !0, flush: "post" });
22195
22209
  }), i;
22196
22210
  }
22197
- function qD({ ownerDocument: n, container: t, containers: e, previousActiveElement: r }, i) {
22211
+ function q2({ ownerDocument: n, container: t, containers: e, previousActiveElement: r }, i) {
22198
22212
  var o;
22199
22213
  bf((o = n.value) == null ? void 0 : o.defaultView, "focus", (a) => {
22200
22214
  if (!i.value)
@@ -22238,7 +22252,7 @@ function kp(n, t = oe(!0)) {
22238
22252
  });
22239
22253
  }
22240
22254
  let yy = Symbol("ForcePortalRootContext");
22241
- function UD() {
22255
+ function U2() {
22242
22256
  return wt(yy, !1);
22243
22257
  }
22244
22258
  let Hc = Se({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(n, { slots: t, attrs: e }) {
@@ -22247,7 +22261,7 @@ let Hc = Se({ name: "ForcePortalRoot", props: { as: { type: [Object, String], de
22247
22261
  return Vt({ theirProps: i, ourProps: {}, slot: {}, slots: t, attrs: e, name: "ForcePortalRoot" });
22248
22262
  };
22249
22263
  } });
22250
- function VD(n) {
22264
+ function V2(n) {
22251
22265
  let t = ir(n);
22252
22266
  if (!t) {
22253
22267
  if (n === null)
@@ -22261,7 +22275,7 @@ function VD(n) {
22261
22275
  return r.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(r);
22262
22276
  }
22263
22277
  let by = Se({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(n, { slots: t, attrs: e }) {
22264
- let r = oe(null), i = L(() => ir(r)), o = UD(), a = wt(xy, null), l = oe(o === !0 || a == null ? VD(r.value) : a.resolveTarget());
22278
+ let r = oe(null), i = L(() => ir(r)), o = U2(), a = wt(xy, null), l = oe(o === !0 || a == null ? V2(r.value) : a.resolveTarget());
22265
22279
  un(() => {
22266
22280
  o || a != null && (l.value = a.resolveTarget());
22267
22281
  });
@@ -22297,7 +22311,7 @@ function wy() {
22297
22311
  };
22298
22312
  } })];
22299
22313
  }
22300
- let xy = Symbol("PortalGroupContext"), WD = Se({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(n, { attrs: t, slots: e }) {
22314
+ let xy = Symbol("PortalGroupContext"), W2 = Se({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(n, { attrs: t, slots: e }) {
22301
22315
  let r = od({ resolveTarget() {
22302
22316
  return n.target;
22303
22317
  } });
@@ -22307,12 +22321,12 @@ let xy = Symbol("PortalGroupContext"), WD = Se({ name: "PortalGroup", props: { a
22307
22321
  };
22308
22322
  } }), Ey = Symbol("StackContext");
22309
22323
  var Uc = ((n) => (n[n.Add = 0] = "Add", n[n.Remove = 1] = "Remove", n))(Uc || {});
22310
- function GD() {
22324
+ function G2() {
22311
22325
  return wt(Ey, () => {
22312
22326
  });
22313
22327
  }
22314
- function YD({ type: n, enabled: t, element: e, onUpdate: r }) {
22315
- let i = GD();
22328
+ function Y2({ type: n, enabled: t, element: e, onUpdate: r }) {
22329
+ let i = G2();
22316
22330
  function o(...a) {
22317
22331
  r == null || r(...a), i(...a);
22318
22332
  }
@@ -22325,7 +22339,7 @@ function YD({ type: n, enabled: t, element: e, onUpdate: r }) {
22325
22339
  }), gt(Ey, o);
22326
22340
  }
22327
22341
  let Sy = Symbol("DescriptionContext");
22328
- function KD() {
22342
+ function K2() {
22329
22343
  let n = wt(Sy, null);
22330
22344
  if (n === null)
22331
22345
  throw new Error("Missing parent");
@@ -22342,19 +22356,19 @@ function _y({ slot: n = oe({}), name: t = "Description", props: e = {} } = {}) {
22342
22356
  return gt(Sy, { register: i, slot: n, name: t, props: e }), L(() => r.value.length > 0 ? r.value.join(" ") : void 0);
22343
22357
  }
22344
22358
  Se({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${hn()}` } }, setup(n, { attrs: t, slots: e }) {
22345
- let r = KD();
22359
+ let r = K2();
22346
22360
  return pt(() => An(r.register(n.id))), () => {
22347
22361
  let { name: i = "Description", slot: o = oe({}), props: a = {} } = r, { id: l, ...s } = n, d = { ...Object.entries(a).reduce((c, [h, f]) => Object.assign(c, { [h]: T(f) }), {}), id: l };
22348
22362
  return Vt({ ourProps: d, theirProps: s, slot: o.value, attrs: t, slots: e, name: i });
22349
22363
  };
22350
22364
  } });
22351
- function QD(n) {
22365
+ function Q2(n) {
22352
22366
  let t = id(n.getSnapshot());
22353
22367
  return An(n.subscribe(() => {
22354
22368
  t.value = n.getSnapshot();
22355
22369
  })), t;
22356
22370
  }
22357
- function ZD(n, t) {
22371
+ function Z2(n, t) {
22358
22372
  let e = n(), r = /* @__PURE__ */ new Set();
22359
22373
  return { getSnapshot() {
22360
22374
  return e;
@@ -22365,7 +22379,7 @@ function ZD(n, t) {
22365
22379
  a && (e = a, r.forEach((l) => l()));
22366
22380
  } };
22367
22381
  }
22368
- function XD() {
22382
+ function X2() {
22369
22383
  let n;
22370
22384
  return { before({ doc: t }) {
22371
22385
  var e;
@@ -22376,8 +22390,8 @@ function XD() {
22376
22390
  e.style(r, "paddingRight", `${o}px`);
22377
22391
  } };
22378
22392
  }
22379
- function JD() {
22380
- if (!zD())
22393
+ function J2() {
22394
+ if (!z2())
22381
22395
  return {};
22382
22396
  let n;
22383
22397
  return { before() {
@@ -22420,7 +22434,7 @@ function tO(n) {
22420
22434
  Object.assign(t, e(t));
22421
22435
  return t;
22422
22436
  }
22423
- let Mi = ZD(() => /* @__PURE__ */ new Map(), { PUSH(n, t) {
22437
+ let Mi = Z2(() => /* @__PURE__ */ new Map(), { PUSH(n, t) {
22424
22438
  var e;
22425
22439
  let r = (e = this.get(n)) != null ? e : { doc: n, count: 0, d: Ha(), meta: /* @__PURE__ */ new Set() };
22426
22440
  return r.count++, r.meta.add(t), this.set(n, r), this;
@@ -22428,7 +22442,7 @@ let Mi = ZD(() => /* @__PURE__ */ new Map(), { PUSH(n, t) {
22428
22442
  let e = this.get(n);
22429
22443
  return e && (e.count--, e.meta.delete(t)), this;
22430
22444
  }, SCROLL_PREVENT({ doc: n, d: t, meta: e }) {
22431
- let r = { doc: n, d: t, meta: tO(e) }, i = [JD(), XD(), eO()];
22445
+ let r = { doc: n, d: t, meta: tO(e) }, i = [J2(), X2(), eO()];
22432
22446
  i.forEach(({ before: o }) => o == null ? void 0 : o(r)), i.forEach(({ after: o }) => o == null ? void 0 : o(r));
22433
22447
  }, SCROLL_ALLOW({ d: n }) {
22434
22448
  n.dispose();
@@ -22445,7 +22459,7 @@ Mi.subscribe(() => {
22445
22459
  }
22446
22460
  });
22447
22461
  function nO(n, t, e) {
22448
- let r = QD(Mi), i = L(() => {
22462
+ let r = Q2(Mi), i = L(() => {
22449
22463
  let o = n.value ? r.value.get(n.value) : void 0;
22450
22464
  return o ? o.count > 0 : !1;
22451
22465
  });
@@ -22518,7 +22532,7 @@ let vl = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", oO = Se({ name: "Dialog", inher
22518
22532
  var Z, pe, ne;
22519
22533
  return (ne = Array.from((pe = (Z = h.value) == null ? void 0 : Z.querySelectorAll("[data-headlessui-portal]")) != null ? pe : []).find((z) => z.contains(qe(u)) && z instanceof HTMLElement)) != null ? ne : null;
22520
22534
  });
22521
- kp(A, D), YD({ type: "Dialog", enabled: L(() => f.value === 0), element: c, onUpdate: (Z, pe) => {
22535
+ kp(A, D), Y2({ type: "Dialog", enabled: L(() => f.value === 0), element: c, onUpdate: (Z, pe) => {
22522
22536
  if (pe === "Dialog")
22523
22537
  return bn(Z, { [Uc.Add]: () => l.value += 1, [Uc.Remove]: () => l.value -= 1 });
22524
22538
  } });
@@ -22555,7 +22569,7 @@ let vl = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", oO = Se({ name: "Dialog", inher
22555
22569
  ne.observe(pe), Z(() => ne.disconnect());
22556
22570
  }), () => {
22557
22571
  let { id: Z, open: pe, initialFocus: ne, ...z } = n, N = { ...e, ref: c, id: Z, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": C.value, "aria-describedby": S.value }, q = { open: f.value === 0 };
22558
- return xt(Hc, { force: !0 }, () => [xt(by, () => xt(WD, { target: c.value }, () => xt(Hc, { force: !1 }, () => xt(Zo, { initialFocus: ne, containers: b, features: p.value ? bn(x.value, { parent: Zo.features.RestoreFocus, leaf: Zo.features.All & ~Zo.features.FocusLock }) : Zo.features.None }, () => xt(y, {}, () => Vt({ ourProps: N, theirProps: { ...z, ...e }, slot: q, attrs: e, slots: r, visible: f.value === 0, features: kr.RenderStrategy | kr.Static, name: "Dialog" })))))), xt(w)]);
22572
+ return xt(Hc, { force: !0 }, () => [xt(by, () => xt(W2, { target: c.value }, () => xt(Hc, { force: !1 }, () => xt(Zo, { initialFocus: ne, containers: b, features: p.value ? bn(x.value, { parent: Zo.features.RestoreFocus, leaf: Zo.features.All & ~Zo.features.FocusLock }) : Zo.features.None }, () => xt(y, {}, () => Vt({ ourProps: N, theirProps: { ...z, ...e }, slot: q, attrs: e, slots: r, visible: f.value === 0, features: kr.RenderStrategy | kr.Static, name: "Dialog" })))))), xt(w)]);
22559
22573
  };
22560
22574
  } });
22561
22575
  Se({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${hn()}` } }, setup(n, { attrs: t, slots: e }) {
@@ -22664,7 +22678,7 @@ let fO = Se({ name: "Menu", props: { as: { type: [Object, String], default: "tem
22664
22678
  let h = { menuState: r, buttonRef: i, itemsRef: o, items: a, searchQuery: l, activeItemIndex: s, activationTrigger: d, closeMenu: () => {
22665
22679
  r.value = 1, s.value = null;
22666
22680
  }, openMenu: () => r.value = 0, goToItem(f, p, g) {
22667
- let m = c(), v = _D(f === Gn.Specific ? { focus: Gn.Specific, id: p } : { focus: f }, { resolveItems: () => m.items, resolveActiveIndex: () => m.activeItemIndex, resolveId: (y) => y.id, resolveDisabled: (y) => y.dataRef.disabled });
22681
+ let m = c(), v = _2(f === Gn.Specific ? { focus: Gn.Specific, id: p } : { focus: f }, { resolveItems: () => m.items, resolveActiveIndex: () => m.activeItemIndex, resolveId: (y) => y.id, resolveDisabled: (y) => y.dataRef.disabled });
22668
22682
  l.value = "", s.value = v, d.value = g ?? 1, a.value = m.items;
22669
22683
  }, search(f) {
22670
22684
  let p = l.value !== "" ? 0 : 1;
@@ -22735,7 +22749,7 @@ let fO = Se({ name: "Menu", props: { as: { type: [Object, String], default: "tem
22735
22749
  };
22736
22750
  } }), pO = Se({ name: "MenuItems", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: () => `headlessui-menu-items-${hn()}` } }, setup(n, { attrs: t, slots: e, expose: r }) {
22737
22751
  let i = Vs("MenuItems"), o = oe(null);
22738
- r({ el: i.itemsRef, $el: i.itemsRef }), DD({ container: L(() => qe(i.itemsRef)), enabled: L(() => i.menuState.value === 0), accept(c) {
22752
+ r({ el: i.itemsRef, $el: i.itemsRef }), D2({ container: L(() => qe(i.itemsRef)), enabled: L(() => i.menuState.value === 0), accept(c) {
22739
22753
  return c.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : c.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
22740
22754
  }, walk(c) {
22741
22755
  c.setAttribute("role", "none");
@@ -22770,7 +22784,7 @@ let fO = Se({ name: "Menu", props: { as: { type: [Object, String], default: "tem
22770
22784
  });
22771
22785
  break;
22772
22786
  case Bt.Tab:
22773
- c.preventDefault(), c.stopPropagation(), i.closeMenu(), Ut(() => ND(qe(i.buttonRef), c.shiftKey ? dn.Previous : dn.Next));
22787
+ c.preventDefault(), c.stopPropagation(), i.closeMenu(), Ut(() => N2(qe(i.buttonRef), c.shiftKey ? dn.Previous : dn.Next));
22774
22788
  break;
22775
22789
  default:
22776
22790
  c.key.length === 1 && (i.search(c.key), o.value = setTimeout(() => i.clearSearch(), 350));
@@ -22812,7 +22826,7 @@ let fO = Se({ name: "Menu", props: { as: { type: [Object, String], default: "tem
22812
22826
  return i.goToItem(Gn.Nothing);
22813
22827
  i.goToItem(Gn.Specific, n.id);
22814
22828
  }
22815
- let h = LD();
22829
+ let h = L2();
22816
22830
  function f(m) {
22817
22831
  h.update(m);
22818
22832
  }
@@ -23097,7 +23111,7 @@ let wO = Se({ name: "Label", props: { as: { type: [Object, String], default: "la
23097
23111
  } } }), o = _y({ name: "SwitchDescription" });
23098
23112
  return gt(Ny, { switchRef: r, labelledby: i, describedby: o }), () => Vt({ theirProps: n, ourProps: {}, slot: {}, slots: t, attrs: e, name: "SwitchGroup" });
23099
23113
  } }), EO = Se({ name: "Switch", emits: { "update:modelValue": (n) => !0 }, props: { as: { type: [Object, String], default: "button" }, modelValue: { type: Boolean, default: void 0 }, defaultChecked: { type: Boolean, optional: !0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, value: { type: String, optional: !0 }, id: { type: String, default: () => `headlessui-switch-${hn()}` } }, inheritAttrs: !1, setup(n, { emit: t, attrs: e, slots: r, expose: i }) {
23100
- let o = wt(Ny, null), [a, l] = BD(L(() => n.modelValue), (v) => t("update:modelValue", v), L(() => n.defaultChecked));
23114
+ let o = wt(Ny, null), [a, l] = B2(L(() => n.modelValue), (v) => t("update:modelValue", v), L(() => n.defaultChecked));
23101
23115
  function s() {
23102
23116
  l(!a.value);
23103
23117
  }
@@ -23107,7 +23121,7 @@ let wO = Se({ name: "Label", props: { as: { type: [Object, String], default: "la
23107
23121
  v.preventDefault(), s();
23108
23122
  }
23109
23123
  function p(v) {
23110
- v.key === Bt.Space ? (v.preventDefault(), s()) : v.key === Bt.Enter && PD(v.currentTarget);
23124
+ v.key === Bt.Space ? (v.preventDefault(), s()) : v.key === Bt.Enter && P2(v.currentTarget);
23111
23125
  }
23112
23126
  function g(v) {
23113
23127
  v.preventDefault();
@@ -23130,7 +23144,7 @@ let wO = Se({ name: "Label", props: { as: { type: [Object, String], default: "la
23130
23144
  }, { immediate: !0 });
23131
23145
  }), () => {
23132
23146
  let { id: v, name: y, value: b, form: u, ...w } = n, x = { checked: a.value }, _ = { id: v, ref: c, role: "switch", type: h.value, tabIndex: 0, "aria-checked": a.value, "aria-labelledby": o == null ? void 0 : o.labelledby.value, "aria-describedby": o == null ? void 0 : o.describedby.value, onClick: f, onKeyup: p, onKeypress: g };
23133
- return xt(Je, [y != null && a.value != null ? xt(fi, bD({ features: Hr.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: a.value, form: u, name: y, value: b })) : null, Vt({ ourProps: _, theirProps: { ...e, ...hf(w, ["modelValue", "defaultChecked"]) }, slot: x, attrs: e, slots: r, name: "Switch" })]);
23147
+ return xt(Je, [y != null && a.value != null ? xt(fi, b2({ features: Hr.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: a.value, form: u, name: y, value: b })) : null, Vt({ ourProps: _, theirProps: { ...e, ...hf(w, ["modelValue", "defaultChecked"]) }, slot: x, attrs: e, slots: r, name: "Switch" })]);
23134
23148
  };
23135
23149
  } }), SO = wO;
23136
23150
  function _O(n) {
@@ -23219,7 +23233,7 @@ let By = kr.RenderStrategy, zl = Se({ props: { as: { type: [Object, String], def
23219
23233
  function d() {
23220
23234
  o.value &= ~Qt.Closing, t("afterLeave");
23221
23235
  }
23222
- if (!CO() && kD())
23236
+ if (!CO() && k2())
23223
23237
  return () => xt(Ly, { ...n, onBeforeEnter: a, onAfterEnter: l, onBeforeLeave: s, onAfterLeave: d }, r);
23224
23238
  let c = oe(null), h = L(() => n.unmount ? ri.Unmount : ri.Hidden);
23225
23239
  i({ el: c, $el: c });
@@ -23454,7 +23468,7 @@ const RO = { class: "grow" }, MO = {
23454
23468
  style: ot({
23455
23469
  width: `${n.width}px`
23456
23470
  }),
23457
- class: de(T(Pt)("rounded-md bg-white p-1 shadow-2xl outline-none ring-1 ring-black ring-opacity-10 focus:outline-none", n.twMenu))
23471
+ class: de(T(It)("rounded-md bg-white p-1 shadow-2xl outline-none ring-1 ring-black ring-opacity-10 focus:outline-none", n.twMenu))
23458
23472
  }, {
23459
23473
  default: ge(() => [
23460
23474
  Pe(o.$slots, "items", { items: n.items }, () => [
@@ -23824,7 +23838,7 @@ const RO = { class: "grow" }, MO = {
23824
23838
  }, {
23825
23839
  default: ge(() => [
23826
23840
  jn(j("div", {
23827
- class: de(T(Pt)(
23841
+ class: de(T(It)(
23828
23842
  "fixed inset-0 bg-slate-200 bg-opacity-40 transition-opacity",
23829
23843
  n.twBackdrop
23830
23844
  )),
@@ -24049,7 +24063,7 @@ const RO = { class: "grow" }, MO = {
24049
24063
  "fetch"
24050
24064
  ],
24051
24065
  setup(n, { expose: t, emit: e }) {
24052
- const r = n, i = qt.http, o = oe(null), a = oe(!1), l = am(), s = lm(), d = l.name, c = Vi(r.size);
24066
+ const r = n, i = $t.http, o = oe(null), a = oe(!1), l = am(), s = lm(), d = l.name, c = Vi(r.size);
24053
24067
  let h = !1;
24054
24068
  Fn(() => {
24055
24069
  h = !0;
@@ -24097,8 +24111,8 @@ const RO = { class: "grow" }, MO = {
24097
24111
  const Ce = s.resolve({
24098
24112
  name: l.name,
24099
24113
  params: l.params
24100
- }), I = qt.formatQueryString(Te), X = Ce.fullPath + "?" + I, ee = ne();
24101
- if (qt.formatQueryString(ee) != I) {
24114
+ }), I = $t.formatQueryString(Te), X = Ce.fullPath + "?" + I, ee = ne();
24115
+ if ($t.formatQueryString(ee) != I) {
24102
24116
  if (!p.value) {
24103
24117
  s.replace(X);
24104
24118
  return;
@@ -24145,7 +24159,7 @@ const RO = { class: "grow" }, MO = {
24145
24159
  }
24146
24160
  );
24147
24161
  function ne() {
24148
- return qt.parseQueryString(window.location.search.replace(/^(\?)/, ""));
24162
+ return $t.parseQueryString(window.location.search.replace(/^(\?)/, ""));
24149
24163
  }
24150
24164
  function z() {
24151
24165
  if (!r.historyMode || h || l.name != d)
@@ -24162,11 +24176,11 @@ const RO = { class: "grow" }, MO = {
24162
24176
  function F(Te = !1, Ce = !0) {
24163
24177
  if (h)
24164
24178
  return;
24165
- const I = $.value.split(/[?#]/), X = I[0], ee = I[1] ?? null, le = qt.parseQueryString(ee), U = Wl(
24179
+ const I = $.value.split(/[?#]/), X = I[0], ee = I[1] ?? null, le = $t.parseQueryString(ee), U = Wl(
24166
24180
  Kt(u.value),
24167
24181
  Kt(r.urlQuery),
24168
24182
  Kt(le)
24169
- ), ae = qt.formatQueryString(U), ve = X + "?" + ae;
24183
+ ), ae = $t.formatQueryString(U), ve = X + "?" + ae;
24170
24184
  y == ve && !Te || (Ce && (g.value = !0), y = ve, i.get(ve).then((Ie) => {
24171
24185
  se.value = Ie.data, g.value = !1, m.value = !1, p.value = !0, e("fetch", se.value);
24172
24186
  }).catch(() => {
@@ -25375,7 +25389,7 @@ const Uy = /* @__PURE__ */ pi(YR, [["render", XR]]), JR = ["disabled"], eM = /*
25375
25389
  "fetch"
25376
25390
  ],
25377
25391
  setup(n, { expose: t, emit: e }) {
25378
- const r = n, i = lm(), o = qt.http, a = _d(), l = Yi(), s = oe(null), d = Vi(r.size), c = L(() => d.size.value == "md" ? "sm" : (d.size.value == "sm", "xs")), h = oe(null);
25392
+ const r = n, i = lm(), o = $t.http, a = _d(), l = Yi(), s = oe(null), d = Vi(r.size), c = L(() => d.size.value == "md" ? "sm" : (d.size.value == "sm", "xs")), h = oe(null);
25379
25393
  function f(z) {
25380
25394
  r.showUrl && i.push(r.showUrl(z)), e("cell-click", z);
25381
25395
  }
@@ -26360,8 +26374,8 @@ function bM(n, t) {
26360
26374
  Ue.appendChild(_("flatpickr-day", new Date(V, Q, Ge), Ge, at));
26361
26375
  for (var kt = je + 1; kt <= 42 - fe && (e.config.showMonths === 1 || at % 7 !== 0); kt++, at++)
26362
26376
  Ue.appendChild(_("flatpickr-day " + yt, new Date(V, Q + 1, kt % je), kt, at));
26363
- var It = Dt("div", "dayContainer");
26364
- return It.appendChild(Ue), It;
26377
+ var Nt = Dt("div", "dayContainer");
26378
+ return Nt.appendChild(Ue), Nt;
26365
26379
  }
26366
26380
  function C() {
26367
26381
  if (e.daysContainer !== void 0) {
@@ -26637,8 +26651,8 @@ function bM(n, t) {
26637
26651
  return pn;
26638
26652
  }), kt = at.indexOf(Q);
26639
26653
  if (kt !== -1) {
26640
- var It = at[kt + (V.shiftKey ? -1 : 1)];
26641
- V.preventDefault(), (It || e._input).focus();
26654
+ var Nt = at[kt + (V.shiftKey ? -1 : 1)];
26655
+ V.preventDefault(), (Nt || e._input).focus();
26642
26656
  }
26643
26657
  } else
26644
26658
  !e.config.noCalendar && e.daysContainer && e.daysContainer.contains(Q) && V.shiftKey && (V.preventDefault(), e._input.focus());
@@ -26664,7 +26678,7 @@ function bM(n, t) {
26664
26678
  re(new Date(Ge), !0) || (st = st || Ge > je && Ge < Ue, Ge < Ae && (!Ze || Ge > Ze) ? Ze = Ge : Ge > Ae && (!yt || Ge < yt) && (yt = Ge));
26665
26679
  var at = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + Q));
26666
26680
  at.forEach(function(kt) {
26667
- var It = kt.dateObj, pn = It.getTime(), Tr = Ze > 0 && pn < Ze || yt > 0 && pn > yt;
26681
+ var Nt = kt.dateObj, pn = Nt.getTime(), Tr = Ze > 0 && pn < Ze || yt > 0 && pn > yt;
26668
26682
  if (Tr) {
26669
26683
  kt.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(gr) {
26670
26684
  kt.classList.remove(gr);
@@ -26804,8 +26818,8 @@ function bM(n, t) {
26804
26818
  return wn + jo.offsetHeight;
26805
26819
  }, 0), Ae = e.calendarContainer.offsetWidth, je = e.config.position.split(" "), Ue = je[0], st = je.length > 1 ? je[1] : null, Ze = Q.getBoundingClientRect(), yt = window.innerHeight - Ze.bottom, Ge = Ue === "above" || Ue !== "below" && yt < fe && Ze.top > fe, at = window.pageYOffset + Ze.top + (Ge ? -fe - 2 : Q.offsetHeight + 2);
26806
26820
  if (Dn(e.calendarContainer, "arrowTop", !Ge), Dn(e.calendarContainer, "arrowBottom", Ge), !e.config.inline) {
26807
- var kt = window.pageXOffset + Ze.left, It = !1, pn = !1;
26808
- st === "center" ? (kt -= (Ae - Ze.width) / 2, It = !0) : st === "right" && (kt -= Ae - Ze.width, pn = !0), Dn(e.calendarContainer, "arrowLeft", !It && !pn), Dn(e.calendarContainer, "arrowCenter", It), Dn(e.calendarContainer, "arrowRight", pn);
26821
+ var kt = window.pageXOffset + Ze.left, Nt = !1, pn = !1;
26822
+ st === "center" ? (kt -= (Ae - Ze.width) / 2, Nt = !0) : st === "right" && (kt -= Ae - Ze.width, pn = !0), Dn(e.calendarContainer, "arrowLeft", !Nt && !pn), Dn(e.calendarContainer, "arrowCenter", Nt), Dn(e.calendarContainer, "arrowRight", pn);
26809
26823
  var Tr = window.document.body.offsetWidth - (window.pageXOffset + Ze.right), gr = kt + Ae > window.document.body.offsetWidth, Io = Tr + Ae > window.document.body.offsetWidth;
26810
26824
  if (Dn(e.calendarContainer, "rightMost", gr), !e.config.static)
26811
26825
  if (e.calendarContainer.style.top = at + "px", !gr)
@@ -27364,7 +27378,7 @@ const EM = ["disabled", "placeholder"], SM = {
27364
27378
  sm: "pl-[2.1rem] pr-6",
27365
27379
  md: "pl-10 pr-7"
27366
27380
  }[a.value], C = e.modelValue ? S : "pr-0";
27367
- return Pt(
27381
+ return It(
27368
27382
  _,
27369
27383
  k,
27370
27384
  E,
@@ -27380,13 +27394,13 @@ const EM = ["disabled", "placeholder"], SM = {
27380
27394
  sm: "pl-2.5",
27381
27395
  md: "pl-3"
27382
27396
  }[a.value];
27383
- return Pt(
27397
+ return It(
27384
27398
  _,
27385
27399
  k
27386
27400
  );
27387
27401
  }), x = L(() => {
27388
27402
  const _ = "", k = i.value ? "text-red-500" : "text-slate-500", E = fr[a.value];
27389
- return Pt(
27403
+ return It(
27390
27404
  _,
27391
27405
  k,
27392
27406
  E.iconSize
@@ -29369,7 +29383,7 @@ const BM = /* @__PURE__ */ Co(PM), LM = { class: "text-xs text-slate-600" }, Yy
29369
29383
  sm: "min-h-control-sm gap-0.5 p-0.5",
29370
29384
  md: "min-h-control-md gap-1 p-1"
29371
29385
  }[l.value], G = v.value ? "input-focus border-blue-300" : "";
29372
- return Pt(F, se, ie, G, r.twContainer);
29386
+ return It(F, se, ie, G, r.twContainer);
29373
29387
  }), ne = L(() => ({
29374
29388
  xs: "h-[calc(theme(spacing.control-xs)_-_theme(spacing[0.5])_-_theme(spacing[0.5])_-_2px)]",
29375
29389
  sm: "h-[calc(theme(spacing.control-sm)_-_theme(spacing[0.5])_-_theme(spacing[0.5])_-_2px)]",
@@ -29394,14 +29408,14 @@ const BM = /* @__PURE__ */ Co(PM), LM = { class: "text-xs text-slate-600" }, Yy
29394
29408
  let ue = "bg-slate-200 border-slate-300";
29395
29409
  y.value && y.value.value == F.value && (ue = "bg-red-200 border-red-300 text-red-800");
29396
29410
  const re = r.disabled ? "cursor-not-allowed opacity-60" : "";
29397
- return Pt(se, ne.value, G, ue, re, ie);
29411
+ return It(se, ne.value, G, ue, re, ie);
29398
29412
  }, q = L(() => {
29399
29413
  const F = "flex shrink-0 appearance-none items-center justify-center border-0 bg-transparent outline-none", se = {
29400
29414
  xs: "pl-1 pr-2",
29401
29415
  sm: "pl-1 pr-2",
29402
29416
  md: "pl-1 pr-3"
29403
29417
  }[l.value], ie = r.disabled ? "cursor-not-allowed opacity-60" : "";
29404
- return Pt(F, se, ie);
29418
+ return It(F, se, ie);
29405
29419
  });
29406
29420
  return t({
29407
29421
  focus: R,
@@ -29538,7 +29552,7 @@ const BM = /* @__PURE__ */ Co(PM), LM = { class: "text-xs text-slate-600" }, Yy
29538
29552
  setup(n, { expose: t }) {
29539
29553
  const e = n, r = oe(
29540
29554
  null
29541
- ), i = qt.http, o = oe(!1), a = oe(!1), l = oe(!1), s = oe(""), d = oe(1), c = oe([]), h = oe(
29555
+ ), i = $t.http, o = oe(!1), a = oe(!1), l = oe(!1), s = oe(""), d = oe(1), c = oe([]), h = oe(
29542
29556
  null
29543
29557
  ), { items: f, lastPage: p } = Td(h), g = (u) => {
29544
29558
  d.value = 1, s.value != u && (s.value = u, o.value = !0, b());
@@ -29847,7 +29861,7 @@ const BM = /* @__PURE__ */ Co(PM), LM = { class: "text-xs text-slate-600" }, Yy
29847
29861
  sm: "p-2.5",
29848
29862
  md: "p-3"
29849
29863
  }[s.value];
29850
- return Pt(g, m, y, v, b.fontSize, u, r.class);
29864
+ return It(g, m, y, v, b.fontSize, u, r.class);
29851
29865
  });
29852
29866
  return t({
29853
29867
  focus: h,
@@ -29927,7 +29941,7 @@ const BM = /* @__PURE__ */ Co(PM), LM = { class: "text-xs text-slate-600" }, Yy
29927
29941
  (h) => null
29928
29942
  );
29929
29943
  oe(["#10b981", "#06b6d4", "#a855f7"]);
29930
- const a = L(() => e.locales ? e.locales : qt.locales), l = L(() => {
29944
+ const a = L(() => e.locales ? e.locales : $t.locales), l = L(() => {
29931
29945
  let h = {};
29932
29946
  return e.modelValue && Hb(e.modelValue) && (h = e.modelValue), Object.keys(a.value).forEach((f) => {
29933
29947
  li(e.modelValue, f) || (h[f] = e.defaultValue);
@@ -30052,7 +30066,7 @@ const JM = ["disabled"], eI = ["accept", "multiple"], _f = /* @__PURE__ */ Se({
30052
30066
  return ZM(f, e.maxSize) ? XM(f, e.acceptedExtensions) ? !0 : (r.push({
30053
30067
  color: "danger",
30054
30068
  title: ze("sui.error"),
30055
- text: ze("sui.the_file_type_is_invalid") + " " + ze("sui.file_must_be_of_type") + " " + J2(e.acceptedExtensions, ze("sui.or")) + "."
30069
+ text: ze("sui.the_file_type_is_invalid") + " " + ze("sui.file_must_be_of_type") + " " + JD(e.acceptedExtensions, ze("sui.or")) + "."
30056
30070
  }), i.value = !1, !1) : (r.push({
30057
30071
  color: "danger",
30058
30072
  title: ze("sui.error"),
@@ -30113,7 +30127,7 @@ const JM = ["disabled"], eI = ["accept", "multiple"], _f = /* @__PURE__ */ Se({
30113
30127
  source: o.value
30114
30128
  } : null);
30115
30129
  async function s(h) {
30116
- h && (a = h.name, i.value = !1, o.value = await tD(h), o.value && (i.value = !0));
30130
+ h && (a = h.name, i.value = !1, o.value = await t2(h), o.value && (i.value = !0));
30117
30131
  }
30118
30132
  async function d(h) {
30119
30133
  if (h instanceof Blob) {
@@ -30238,14 +30252,14 @@ const JM = ["disabled"], eI = ["accept", "multiple"], _f = /* @__PURE__ */ Se({
30238
30252
  default: ge(() => [
30239
30253
  T(r) ? (B(), K("div", tI, [
30240
30254
  j("div", {
30241
- class: de(T(Pt)("absolute h-full w-full bg-white", n.twBackdrop))
30255
+ class: de(T(It)("absolute h-full w-full bg-white", n.twBackdrop))
30242
30256
  }, null, 2),
30243
30257
  n.size == "sm" ? (B(), De(Xm, {
30244
30258
  key: 0,
30245
- class: de(T(Pt)("h-10 w-10 text-blue-500", n.twIcon))
30259
+ class: de(T(It)("h-10 w-10 text-blue-500", n.twIcon))
30246
30260
  }, null, 8, ["class"])) : n.size == "lg" ? (B(), De($y, {
30247
30261
  key: 1,
30248
- class: de(T(Pt)("h-10 w-10 text-blue-500", n.twIcon))
30262
+ class: de(T(It)("h-10 w-10 text-blue-500", n.twIcon))
30249
30263
  }, null, 8, ["class"])) : ke("", !0)
30250
30264
  ])) : ke("", !0)
30251
30265
  ]),
@@ -30274,7 +30288,7 @@ const JM = ["disabled"], eI = ["accept", "multiple"], _f = /* @__PURE__ */ Se({
30274
30288
  "end"
30275
30289
  ],
30276
30290
  setup(n, { emit: t }) {
30277
- const e = n, r = qt.http, i = Yi(), o = L(() => e.component == "BaseFilePickerCrop" ? Qy : _f), a = L(() => {
30291
+ const e = n, r = $t.http, i = Yi(), o = L(() => e.component == "BaseFilePickerCrop" ? Qy : _f), a = L(() => {
30278
30292
  const c = {
30279
30293
  disabled: e.disabled || e.loading || l.value,
30280
30294
  twButton: e.twButton,
@@ -30315,7 +30329,7 @@ const JM = ["disabled"], eI = ["accept", "multiple"], _f = /* @__PURE__ */ Se({
30315
30329
  async function d(c) {
30316
30330
  const h = new FormData();
30317
30331
  h.append("file", c);
30318
- const p = (await r.post(e.url ?? qt.upload_url, h)).data;
30332
+ const p = (await r.post(e.url ?? $t.upload_url, h)).data;
30319
30333
  return p.original_file = c, new Promise((g) => {
30320
30334
  const m = new FileReader();
30321
30335
  m.onload = (v) => {
@@ -30462,7 +30476,7 @@ const sI = { class: "absolute z-[1] inset-0 flex h-full w-full items-center just
30462
30476
  },
30463
30477
  emits: ["error", "success"],
30464
30478
  setup(n, { expose: t, emit: e }) {
30465
- const r = n, i = Yi(), o = oe(null), a = oe(!1), l = oe({}), s = L(() => r.axiosInstance ? r.axiosInstance : qt.http), d = L(() => o.value), c = L(() => Object.keys(l.value).length > 0), h = L(() => {
30479
+ const r = n, i = Yi(), o = oe(null), a = oe(!1), l = oe({}), s = L(() => r.axiosInstance ? r.axiosInstance : $t.http), d = L(() => o.value), c = L(() => Object.keys(l.value).length > 0), h = L(() => {
30466
30480
  if (!c.value)
30467
30481
  return null;
30468
30482
  const k = Object.keys(l.value);
@@ -30570,7 +30584,7 @@ const sI = { class: "absolute z-[1] inset-0 flex h-full w-full items-center just
30570
30584
  T(a) && n.showLoadingMask ? Pe(k.$slots, "loading", { key: 0 }, () => [
30571
30585
  j("div", sI, [
30572
30586
  j("div", {
30573
- class: de(["absolute inset-0 h-full w-full", T(Pt)("bg-white opacity-80", n.twLoadingMask)])
30587
+ class: de(["absolute inset-0 h-full w-full", T(It)("bg-white opacity-80", n.twLoadingMask)])
30574
30588
  }, null, 2),
30575
30589
  uI
30576
30590
  ])
@@ -31094,7 +31108,7 @@ const hI = ["onClick"], pI = { class: "px-2 flex items-center" }, mI = { class:
31094
31108
  },
31095
31109
  emits: ["update:modelValue"],
31096
31110
  setup(n, { expose: t, emit: e }) {
31097
- const r = n, i = qt.http, o = oe(null), a = oe(r.currentModels);
31111
+ const r = n, i = $t.http, o = oe(null), a = oe(r.currentModels);
31098
31112
  ut(
31099
31113
  () => r.currentModels,
31100
31114
  (s, d) => {
@@ -33702,7 +33716,7 @@ const Rf = /* @__PURE__ */ Se({
33702
33716
  "flex flex-col top-0 left-0 w-full",
33703
33717
  o.value
33704
33718
  ];
33705
- return r.value && g.push("overflow-y-auto"), Pt(g, t.class);
33719
+ return r.value && g.push("overflow-y-auto"), It(g, t.class);
33706
33720
  }), l = oe(null), s = Yb(l), d = L(() => e.height.value - s.top.value), c = oe(!1);
33707
33721
  function h() {
33708
33722
  c.value ? p() : f();
@@ -42131,7 +42145,7 @@ ys.exports;
42131
42145
  return ce[O] = vt && W === void 0 ? r : W, this;
42132
42146
  }
42133
42147
  st.prototype.clear = Ze, st.prototype.delete = yt, st.prototype.get = Ge, st.prototype.has = at, st.prototype.set = kt;
42134
- function It(O) {
42148
+ function Nt(O) {
42135
42149
  var W = -1, ce = O ? O.length : 0;
42136
42150
  for (this.clear(); ++W < ce; ) {
42137
42151
  var Re = O[W];
@@ -42159,7 +42173,7 @@ ys.exports;
42159
42173
  var ce = this.__data__, Re = Qi(ce, O);
42160
42174
  return Re < 0 ? ce.push([O, W]) : ce[Re][1] = W, this;
42161
42175
  }
42162
- It.prototype.clear = pn, It.prototype.delete = Tr, It.prototype.get = gr, It.prototype.has = Io, It.prototype.set = vi;
42176
+ Nt.prototype.clear = pn, Nt.prototype.delete = Tr, Nt.prototype.get = gr, Nt.prototype.has = Io, Nt.prototype.set = vi;
42163
42177
  function cn(O) {
42164
42178
  var W = -1, ce = O ? O.length : 0;
42165
42179
  for (this.clear(); ++W < ce; ) {
@@ -42170,7 +42184,7 @@ ys.exports;
42170
42184
  function No() {
42171
42185
  this.__data__ = {
42172
42186
  hash: new st(),
42173
- map: new (Ve || It)(),
42187
+ map: new (Ve || Nt)(),
42174
42188
  string: new st()
42175
42189
  };
42176
42190
  }
@@ -42188,10 +42202,10 @@ ys.exports;
42188
42202
  }
42189
42203
  cn.prototype.clear = No, cn.prototype.delete = Po, cn.prototype.get = Bo, cn.prototype.has = Lo, cn.prototype.set = zo;
42190
42204
  function wn(O) {
42191
- this.__data__ = new It(O);
42205
+ this.__data__ = new Nt(O);
42192
42206
  }
42193
42207
  function jo() {
42194
- this.__data__ = new It();
42208
+ this.__data__ = new Nt();
42195
42209
  }
42196
42210
  function Qs(O) {
42197
42211
  return this.__data__.delete(O);
@@ -42204,7 +42218,7 @@ ys.exports;
42204
42218
  }
42205
42219
  function Js(O, W) {
42206
42220
  var ce = this.__data__;
42207
- if (ce instanceof It) {
42221
+ if (ce instanceof Nt) {
42208
42222
  var Re = ce.__data__;
42209
42223
  if (!Ve || Re.length < e - 1)
42210
42224
  return Re.push([O, W]), this;
@@ -42547,7 +42561,7 @@ bs.exports;
42547
42561
  }(), Ie = ee.toString, Qe = RegExp(
42548
42562
  "^" + U.call(ae).replace(q, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
42549
42563
  ), Ye = J ? re.Buffer : void 0, $e = re.Symbol, ct = re.Uint8Array, Le = ee.propertyIsEnumerable, Ve = I.splice, Ne = $e ? $e.toStringTag : void 0, We = Object.getOwnPropertySymbols, Ke = Ye ? Ye.isBuffer : void 0, vt = Te(Object.keys, Object), Rt = Dr(re, "DataView"), V = Dr(re, "Map"), Q = Dr(re, "Promise"), fe = Dr(re, "Set"), Ae = Dr(re, "WeakMap"), je = Dr(Object, "create"), Ue = Tn(Rt), st = Tn(V), Ze = Tn(Q), yt = Tn(fe), Ge = Tn(Ae), at = $e ? $e.prototype : void 0, kt = at ? at.valueOf : void 0;
42550
- function It(O) {
42564
+ function Nt(O) {
42551
42565
  var W = -1, ce = O == null ? 0 : O.length;
42552
42566
  for (this.clear(); ++W < ce; ) {
42553
42567
  var Re = O[W];
@@ -42577,7 +42591,7 @@ bs.exports;
42577
42591
  var ce = this.__data__;
42578
42592
  return this.size += this.has(O) ? 0 : 1, ce[O] = je && W === void 0 ? r : W, this;
42579
42593
  }
42580
- It.prototype.clear = pn, It.prototype.delete = Tr, It.prototype.get = gr, It.prototype.has = Io, It.prototype.set = vi;
42594
+ Nt.prototype.clear = pn, Nt.prototype.delete = Tr, Nt.prototype.get = gr, Nt.prototype.has = Io, Nt.prototype.set = vi;
42581
42595
  function cn(O) {
42582
42596
  var W = -1, ce = O == null ? 0 : O.length;
42583
42597
  for (this.clear(); ++W < ce; ) {
@@ -42616,9 +42630,9 @@ bs.exports;
42616
42630
  }
42617
42631
  function jo() {
42618
42632
  this.size = 0, this.__data__ = {
42619
- hash: new It(),
42633
+ hash: new Nt(),
42620
42634
  map: new (V || cn)(),
42621
- string: new It()
42635
+ string: new Nt()
42622
42636
  };
42623
42637
  }
42624
42638
  function Qs(O) {
@@ -44444,7 +44458,7 @@ const NB = /* @__PURE__ */ pi(CB, [["render", IB]]), PB = /* @__PURE__ */ j("spa
44444
44458
  sm: "px-2.5 py-[0.31rem] min-h-control-sm",
44445
44459
  md: "px-3 py-[0.43rem] min-h-control-md"
44446
44460
  }[s.value];
44447
- return Pt(
44461
+ return It(
44448
44462
  b,
44449
44463
  u,
44450
44464
  x,
@@ -44721,7 +44735,7 @@ const NB = /* @__PURE__ */ pi(CB, [["render", IB]]), PB = /* @__PURE__ */ j("spa
44721
44735
  size: { default: "md" }
44722
44736
  },
44723
44737
  setup(n) {
44724
- const t = n, e = L(() => Pt(
44738
+ const t = n, e = L(() => It(
44725
44739
  "sticky top-0 z-20 w-full shadow-sm || print:hidden",
44726
44740
  t.class
44727
44741
  )), r = Tb(), i = L(() => r.systemAlerts);
@@ -45469,12 +45483,12 @@ const NB = /* @__PURE__ */ pi(CB, [["render", IB]]), PB = /* @__PURE__ */ j("spa
45469
45483
  BaseBreadcrumbs: ag,
45470
45484
  BaseButton: To,
45471
45485
  BaseButtonGroup: lg,
45472
- BaseCalendar: V2,
45486
+ BaseCalendar: VD,
45473
45487
  BaseCard: Ia,
45474
45488
  BaseCardRow: ME,
45475
45489
  BaseCharacterCounter: NE,
45476
45490
  BaseClipboard: FE,
45477
- BaseColor: Y2,
45491
+ BaseColor: YD,
45478
45492
  BaseContainer: ny,
45479
45493
  BaseCounter: Ro,
45480
45494
  BaseCropper: iy,
@@ -45553,7 +45567,7 @@ const NB = /* @__PURE__ */ pi(CB, [["render", IB]]), PB = /* @__PURE__ */ j("spa
45553
45567
  const w5 = 100, N5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45554
45568
  __proto__: null,
45555
45569
  MAGIC_NUM: w5
45556
- }, Symbol.toStringTag, { value: "Module" })), P5 = { en: Um, fr: Vm }, qt = {
45570
+ }, Symbol.toStringTag, { value: "Module" })), P5 = { en: Um, fr: Vm }, $t = {
45557
45571
  http: Fb.create(),
45558
45572
  locales: {
45559
45573
  en: "English",
@@ -45582,7 +45596,7 @@ const w5 = 100, N5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
45582
45596
  function x5(n, t) {
45583
45597
  for (const e in Yp)
45584
45598
  n.component(e, Yp[e]);
45585
- t != null && t.http && (qt.http = t.http), t != null && t.locales && (qt.locales = t.locales), t != null && t.upload_url && (qt.upload_url = t.upload_url), t != null && t.formatQueryString && (qt.formatQueryString = t.formatQueryString), t != null && t.parseQueryString && (qt.parseQueryString = t.parseQueryString), t != null && t.countries && (qt.countries = t.countries), t != null && t.regions && (qt.regions = t.regions), n.config.globalProperties.$i18n && ut(
45599
+ t != null && t.http && ($t.http = t.http), t != null && t.locales && ($t.locales = t.locales), t != null && t.upload_url && ($t.upload_url = t.upload_url), t != null && t.formatQueryString && ($t.formatQueryString = t.formatQueryString), t != null && t.parseQueryString && ($t.parseQueryString = t.parseQueryString), t != null && t.countries && ($t.countries = t.countries), t != null && t.regions && ($t.regions = t.regions), t != null && t.props && ($t.props = t.props), n.config.globalProperties.$i18n && ut(
45586
45600
  () => n.config.globalProperties.$i18n.locale,
45587
45601
  (e) => {
45588
45602
  $i().set(e);
@@ -45609,12 +45623,12 @@ export {
45609
45623
  ag as BaseBreadcrumbs,
45610
45624
  To as BaseButton,
45611
45625
  lg as BaseButtonGroup,
45612
- V2 as BaseCalendar,
45626
+ VD as BaseCalendar,
45613
45627
  Ia as BaseCard,
45614
45628
  ME as BaseCardRow,
45615
45629
  NE as BaseCharacterCounter,
45616
45630
  FE as BaseClipboard,
45617
- Y2 as BaseColor,
45631
+ YD as BaseColor,
45618
45632
  ny as BaseContainer,
45619
45633
  Ro as BaseCounter,
45620
45634
  iy as BaseCropper,
@@ -45691,19 +45705,19 @@ export {
45691
45705
  B3 as BaseUniqueCode,
45692
45706
  N5 as MyConstants,
45693
45707
  I5 as base64ToBlob,
45694
- tD as blobToBase64,
45695
- qt as config,
45708
+ t2 as blobToBase64,
45709
+ $t as config,
45696
45710
  B5 as default,
45697
45711
  kd as disableScroll,
45698
45712
  Ad as enableScroll,
45699
45713
  Hs as fileSizeFormat,
45700
45714
  P5 as messages,
45701
- eD as resizeImageFromURI,
45702
- J2 as toHumanList,
45715
+ e2 as resizeImageFromURI,
45716
+ JD as toHumanList,
45703
45717
  Zm as useClickOutside,
45704
45718
  _d as useDialogsStore,
45705
45719
  Mn as useField,
45706
45720
  Yi as useNotificationsStore,
45707
45721
  Tb as useSystemAlertStore,
45708
- nD as validateBase64
45722
+ n2 as validateBase64
45709
45723
  };