inertia-bootstrap-forms 1.0.68 → 1.0.70

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.
@@ -5,7 +5,7 @@ var Ns = (t) => {
5
5
  var Sc = (t, e, i) => e in t ? wc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
6
6
  var G = (t, e, i) => Sc(t, typeof e != "symbol" ? e + "" : e, i), ir = (t, e, i) => e.has(t) || Ns("Cannot " + i);
7
7
  var j = (t, e, i) => (ir(t, e, "read from private field"), i ? i.call(t) : e.get(t)), me = (t, e, i) => e.has(t) ? Ns("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), cn = (t, e, i, n) => (ir(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i), q = (t, e, i) => (ir(t, e, "access private method"), i);
8
- import { createElementBlock as M, openBlock as I, renderSlot as de, normalizeClass as he, createElementVNode as V, defineComponent as J, inject as W, resolveComponent as fe, resolveDirective as Na, createBlock as Ke, withCtx as Ot, withDirectives as vt, createVNode as Je, createTextVNode as Bn, toDisplayString as $e, computed as De, vModelText as is, vModelDynamic as ns, Fragment as Jt, createCommentVNode as pe, createStaticVNode as Ec, renderList as Ii, normalizeStyle as rs, toRef as Cc, reactive as La, withModifiers as Va, mergeProps as Ac, vModelSelect as kc, ref as Tt, onMounted as sn, markRaw as Ic, provide as Oc, onBeforeUnmount as ja, watch as Fn, h as Ra, shallowRef as Tc, unref as nr } from "vue";
8
+ import { createElementBlock as M, openBlock as I, renderSlot as de, normalizeClass as he, createElementVNode as V, defineComponent as J, inject as W, resolveComponent as fe, resolveDirective as Na, createBlock as Ke, withCtx as Tt, withDirectives as bt, createVNode as Je, createTextVNode as Bn, toDisplayString as $e, computed as De, vModelText as is, vModelDynamic as ns, Fragment as Jt, createCommentVNode as pe, createStaticVNode as Ec, ref as ut, renderList as Ii, normalizeStyle as rs, toRef as Cc, reactive as La, withModifiers as Va, mergeProps as Ac, vModelSelect as kc, onMounted as sn, markRaw as Ic, provide as Oc, onBeforeUnmount as ja, watch as Fn, h as Ra, shallowRef as Tc, unref as nr } from "vue";
9
9
  import Fc from "vue3-persian-datetime-picker";
10
10
  import Pc from "@tinymce/tinymce-vue";
11
11
  import { useForm as Mc } from "@inertiajs/vue3";
@@ -40,8 +40,8 @@ const Hc = /* @__PURE__ */ ei(jc, [["render", Rc]]), Bc = 1e3, Cr = "transitione
40
40
  return !n && !r ? 0 : (e = e.split(",")[0], i = i.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(i)) * Bc);
41
41
  }, zc = (t) => {
42
42
  t.dispatchEvent(new Event(Cr));
43
- }, It = (t) => !t || typeof t != "object" ? !1 : (typeof t.jquery < "u" && (t = t[0]), typeof t.nodeType < "u"), Pn = (t) => It(t) ? t.jquery ? t[0] : t : typeof t == "string" && t.length > 0 ? document.querySelector(Ha(t)) : null, xn = (t) => {
44
- if (!It(t) || t.getClientRects().length === 0)
43
+ }, Ot = (t) => !t || typeof t != "object" ? !1 : (typeof t.jquery < "u" && (t = t[0]), typeof t.nodeType < "u"), Pn = (t) => Ot(t) ? t.jquery ? t[0] : t : typeof t == "string" && t.length > 0 ? document.querySelector(Ha(t)) : null, xn = (t) => {
44
+ if (!Ot(t) || t.getClientRects().length === 0)
45
45
  return !1;
46
46
  const e = getComputedStyle(t).getPropertyValue("visibility") === "visible", i = t.closest("details:not([open])");
47
47
  if (!i)
@@ -68,15 +68,15 @@ const Hc = /* @__PURE__ */ ei(jc, [["render", Rc]]), Bc = 1e3, Cr = "transitione
68
68
  e.fn[i] = t.jQueryInterface, e.fn[i].Constructor = t, e.fn[i].noConflict = () => (e.fn[i] = n, t.jQueryInterface);
69
69
  }
70
70
  });
71
- }, Ct = (t, e = [], i = t) => typeof t == "function" ? t.call(...e) : i, Ua = (t, e, i = !0) => {
71
+ }, At = (t, e = [], i = t) => typeof t == "function" ? t.call(...e) : i, Ua = (t, e, i = !0) => {
72
72
  if (!i) {
73
- Ct(t);
73
+ At(t);
74
74
  return;
75
75
  }
76
76
  const n = Uc(e) + 5;
77
77
  let r = !1;
78
78
  const s = ({ target: o }) => {
79
- o === e && (r = !0, e.removeEventListener(Cr, s), Ct(t));
79
+ o === e && (r = !0, e.removeEventListener(Cr, s), At(t));
80
80
  };
81
81
  e.addEventListener(Cr, s), setTimeout(() => {
82
82
  r || zc(e);
@@ -91,7 +91,7 @@ var Ae = "top", Re = "bottom", He = "right", ke = "left", zn = "auto", Oi = [Ae,
91
91
  }, []), os = /* @__PURE__ */ [].concat(Oi, [zn]).reduce(function(t, e) {
92
92
  return t.concat([e, e + "-" + Xt, e + "-" + gi]);
93
93
  }, []), Ga = "beforeRead", Wa = "read", Ya = "afterRead", Xa = "beforeMain", Za = "main", Qa = "afterMain", Ja = "beforeWrite", el = "write", tl = "afterWrite", il = [Ga, Wa, Ya, Xa, Za, Qa, Ja, el, tl];
94
- function ut(t) {
94
+ function ct(t) {
95
95
  return t ? (t.nodeName || "").toLowerCase() : null;
96
96
  }
97
97
  function Be(t) {
@@ -121,7 +121,7 @@ function Kc(t) {
121
121
  var e = t.state;
122
122
  Object.keys(e.elements).forEach(function(i) {
123
123
  var n = e.styles[i] || {}, r = e.attributes[i] || {}, s = e.elements[i];
124
- !qe(s) || !ut(s) || (Object.assign(s.style, n), Object.keys(r).forEach(function(o) {
124
+ !qe(s) || !ct(s) || (Object.assign(s.style, n), Object.keys(r).forEach(function(o) {
125
125
  var a = r[o];
126
126
  a === !1 ? s.removeAttribute(o) : s.setAttribute(o, a === !0 ? "" : a);
127
127
  }));
@@ -145,7 +145,7 @@ function Gc(t) {
145
145
  var r = e.elements[n], s = e.attributes[n] || {}, o = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : i[n]), a = o.reduce(function(l, u) {
146
146
  return l[u] = "", l;
147
147
  }, {});
148
- !qe(r) || !ut(r) || (Object.assign(r.style, a), Object.keys(s).forEach(function(l) {
148
+ !qe(r) || !ct(r) || (Object.assign(r.style, a), Object.keys(s).forEach(function(l) {
149
149
  r.removeAttribute(l);
150
150
  }));
151
151
  });
@@ -211,11 +211,11 @@ function rl(t, e) {
211
211
  }
212
212
  return !1;
213
213
  }
214
- function gt(t) {
214
+ function _t(t) {
215
215
  return Be(t).getComputedStyle(t);
216
216
  }
217
217
  function Wc(t) {
218
- return ["table", "td", "th"].indexOf(ut(t)) >= 0;
218
+ return ["table", "td", "th"].indexOf(ct(t)) >= 0;
219
219
  }
220
220
  function Mt(t) {
221
221
  return ((Zt(t) ? t.ownerDocument : (
@@ -224,7 +224,7 @@ function Mt(t) {
224
224
  )) || window.document).documentElement;
225
225
  }
226
226
  function qn(t) {
227
- return ut(t) === "html" ? t : (
227
+ return ct(t) === "html" ? t : (
228
228
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
229
229
  // $FlowFixMe[incompatible-return]
230
230
  // $FlowFixMe[prop-missing]
@@ -237,18 +237,18 @@ function qn(t) {
237
237
  }
238
238
  function Vs(t) {
239
239
  return !qe(t) || // https://github.com/popperjs/popper-core/issues/837
240
- gt(t).position === "fixed" ? null : t.offsetParent;
240
+ _t(t).position === "fixed" ? null : t.offsetParent;
241
241
  }
242
242
  function Yc(t) {
243
243
  var e = /firefox/i.test(kr()), i = /Trident/i.test(kr());
244
244
  if (i && qe(t)) {
245
- var n = gt(t);
245
+ var n = _t(t);
246
246
  if (n.position === "fixed")
247
247
  return null;
248
248
  }
249
249
  var r = qn(t);
250
- for (as(r) && (r = r.host); qe(r) && ["html", "body"].indexOf(ut(r)) < 0; ) {
251
- var s = gt(r);
250
+ for (as(r) && (r = r.host); qe(r) && ["html", "body"].indexOf(ct(r)) < 0; ) {
251
+ var s = _t(r);
252
252
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
253
253
  return r;
254
254
  r = r.parentNode;
@@ -256,9 +256,9 @@ function Yc(t) {
256
256
  return null;
257
257
  }
258
258
  function on(t) {
259
- for (var e = Be(t), i = Vs(t); i && Wc(i) && gt(i).position === "static"; )
259
+ for (var e = Be(t), i = Vs(t); i && Wc(i) && _t(i).position === "static"; )
260
260
  i = Vs(i);
261
- return i && (ut(i) === "html" || ut(i) === "body" && gt(i).position === "static") ? e : i || Yc(t) || e;
261
+ return i && (ct(i) === "html" || ct(i) === "body" && _t(i).position === "static") ? e : i || Yc(t) || e;
262
262
  }
263
263
  function cs(t) {
264
264
  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
@@ -339,7 +339,7 @@ function js(t) {
339
339
  var m = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), w = ke, E = Ae, S = window;
340
340
  if (u) {
341
341
  var y = on(i), $ = "clientHeight", F = "clientWidth";
342
- if (y === Be(i) && (y = Mt(i), gt(y).position !== "static" && a === "absolute" && ($ = "scrollHeight", F = "scrollWidth")), y = y, r === Ae || (r === ke || r === He) && s === gi) {
342
+ if (y === Be(i) && (y = Mt(i), _t(y).position !== "static" && a === "absolute" && ($ = "scrollHeight", F = "scrollWidth")), y = y, r === Ae || (r === ke || r === He) && s === gi) {
343
343
  E = Re;
344
344
  var P = d && y === S && S.visualViewport ? S.visualViewport.height : (
345
345
  // $FlowFixMe[prop-missing]
@@ -469,7 +469,7 @@ function od(t, e) {
469
469
  }
470
470
  function ad(t) {
471
471
  var e, i = Mt(t), n = hs(t), r = (e = t.ownerDocument) == null ? void 0 : e.body, s = Gt(i.scrollWidth, i.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), o = Gt(i.scrollHeight, i.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), a = -n.scrollLeft + ps(t), l = -n.scrollTop;
472
- return gt(r || i).direction === "rtl" && (a += Gt(i.clientWidth, r ? r.clientWidth : 0) - s), {
472
+ return _t(r || i).direction === "rtl" && (a += Gt(i.clientWidth, r ? r.clientWidth : 0) - s), {
473
473
  width: s,
474
474
  height: o,
475
475
  x: a,
@@ -477,11 +477,11 @@ function ad(t) {
477
477
  };
478
478
  }
479
479
  function ms(t) {
480
- var e = gt(t), i = e.overflow, n = e.overflowX, r = e.overflowY;
480
+ var e = _t(t), i = e.overflow, n = e.overflowX, r = e.overflowY;
481
481
  return /auto|scroll|overlay|hidden/.test(i + r + n);
482
482
  }
483
483
  function ul(t) {
484
- return ["html", "body", "#document"].indexOf(ut(t)) >= 0 ? t.ownerDocument.body : qe(t) && ms(t) ? t : ul(qn(t));
484
+ return ["html", "body", "#document"].indexOf(ct(t)) >= 0 ? t.ownerDocument.body : qe(t) && ms(t) ? t : ul(qn(t));
485
485
  }
486
486
  function Gi(t, e) {
487
487
  var i;
@@ -508,9 +508,9 @@ function Hs(t, e, i) {
508
508
  return e === ss ? Ir(od(t, i)) : Zt(e) ? ld(e, i) : Ir(ad(Mt(t)));
509
509
  }
510
510
  function ud(t) {
511
- var e = Gi(qn(t)), i = ["absolute", "fixed"].indexOf(gt(t).position) >= 0, n = i && qe(t) ? on(t) : t;
511
+ var e = Gi(qn(t)), i = ["absolute", "fixed"].indexOf(_t(t).position) >= 0, n = i && qe(t) ? on(t) : t;
512
512
  return Zt(n) ? e.filter(function(r) {
513
- return Zt(r) && rl(r, n) && ut(r) !== "body";
513
+ return Zt(r) && rl(r, n) && ct(r) !== "body";
514
514
  }) : [];
515
515
  }
516
516
  function cd(t, e, i, n) {
@@ -646,10 +646,10 @@ function hd(t) {
646
646
  }
647
647
  if (F)
648
648
  for (var Oe = h ? 3 : 1, xe = function(Ce) {
649
- var ye = E.find(function(yt) {
650
- var wt = $.get(yt);
651
- if (wt)
652
- return wt.slice(0, Ce).every(function(ze) {
649
+ var ye = E.find(function(wt) {
650
+ var St = $.get(wt);
651
+ if (St)
652
+ return St.slice(0, Ce).every(function(ze) {
653
653
  return ze;
654
654
  });
655
655
  });
@@ -777,11 +777,11 @@ function bd(t) {
777
777
  var ne, Y = E === "y" ? Ae : ke, le = E === "y" ? Re : He, re = E === "y" ? "height" : "width", be = y[E], tt = be + g[Y], Ne = be - g[le], Oe = _ ? -F[re] / 2 : 0, xe = b === Xt ? $[re] : F[re], Ue = b === Xt ? -F[re] : -$[re], C = e.elements.arrow, Ce = _ && C ? us(C) : {
778
778
  width: 0,
779
779
  height: 0
780
- }, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sl(), yt = ye[Y], wt = ye[le], ze = Ki(0, $[re], Ce[re]), Pi = w ? $[re] / 2 - Oe - ze - yt - B.mainAxis : xe - ze - yt - B.mainAxis, Mi = w ? -$[re] / 2 + Oe + ze + wt + B.mainAxis : Ue + ze + wt + B.mainAxis, Dt = e.elements.arrow && on(e.elements.arrow), $i = Dt ? E === "y" ? Dt.clientTop || 0 : Dt.clientLeft || 0 : 0, it = (ne = L == null ? void 0 : L[E]) != null ? ne : 0, Ye = be + Pi - it - $i, dt = be + Mi - it, Te = Ki(_ ? Mn(tt, Ye) : tt, be, _ ? Gt(Ne, dt) : Ne);
780
+ }, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sl(), wt = ye[Y], St = ye[le], ze = Ki(0, $[re], Ce[re]), Pi = w ? $[re] / 2 - Oe - ze - wt - B.mainAxis : xe - ze - wt - B.mainAxis, Mi = w ? -$[re] / 2 + Oe + ze + St + B.mainAxis : Ue + ze + St + B.mainAxis, Dt = e.elements.arrow && on(e.elements.arrow), $i = Dt ? E === "y" ? Dt.clientTop || 0 : Dt.clientLeft || 0 : 0, it = (ne = L == null ? void 0 : L[E]) != null ? ne : 0, Ye = be + Pi - it - $i, ft = be + Mi - it, Te = Ki(_ ? Mn(tt, Ye) : tt, be, _ ? Gt(Ne, ft) : Ne);
781
781
  y[E] = Te, K[E] = Te - be;
782
782
  }
783
783
  if (a) {
784
- var ft, Di = E === "x" ? Ae : ke, Ni = E === "x" ? Re : He, se = y[S], Le = S === "y" ? "height" : "width", nt = se + g[Di], Li = se - g[Ni], Fe = [Ae, ke].indexOf(m) !== -1, an = (ft = L == null ? void 0 : L[S]) != null ? ft : 0, ln = Fe ? nt : se - $[Le] - F[Le] - an + B.altAxis, ni = Fe ? se + $[Le] + F[Le] - an - B.altAxis : Li, Vi = _ && Fe ? Xc(ln, se, ni) : Ki(_ ? ln : nt, se, _ ? ni : Li);
784
+ var ht, Di = E === "x" ? Ae : ke, Ni = E === "x" ? Re : He, se = y[S], Le = S === "y" ? "height" : "width", nt = se + g[Di], Li = se - g[Ni], Fe = [Ae, ke].indexOf(m) !== -1, an = (ht = L == null ? void 0 : L[S]) != null ? ht : 0, ln = Fe ? nt : se - $[Le] - F[Le] - an + B.altAxis, ni = Fe ? se + $[Le] + F[Le] - an - B.altAxis : Li, Vi = _ && Fe ? Xc(ln, se, ni) : Ki(_ ? ln : nt, se, _ ? ni : Li);
785
785
  y[S] = Vi, K[S] = Vi - se;
786
786
  }
787
787
  e.modifiersData[n] = K;
@@ -816,7 +816,7 @@ function Ed(t, e, i) {
816
816
  x: 0,
817
817
  y: 0
818
818
  };
819
- return (n || !n && !i) && ((ut(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
819
+ return (n || !n && !i) && ((ct(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
820
820
  ms(s)) && (a = wd(e)), qe(e) ? (l = vi(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : s && (l.x = ps(s))), {
821
821
  x: o.left + a.scrollLeft - l.x,
822
822
  y: o.top + a.scrollTop - l.y,
@@ -1029,10 +1029,10 @@ const Md = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1029
1029
  variationPlacements: Ar,
1030
1030
  viewport: ss,
1031
1031
  write: el
1032
- }, Symbol.toStringTag, { value: "Module" })), Et = /* @__PURE__ */ new Map(), sr = {
1032
+ }, Symbol.toStringTag, { value: "Module" })), Ct = /* @__PURE__ */ new Map(), sr = {
1033
1033
  set(t, e, i) {
1034
- Et.has(t) || Et.set(t, /* @__PURE__ */ new Map());
1035
- const n = Et.get(t);
1034
+ Ct.has(t) || Ct.set(t, /* @__PURE__ */ new Map());
1035
+ const n = Ct.get(t);
1036
1036
  if (!n.has(e) && n.size !== 0) {
1037
1037
  console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);
1038
1038
  return;
@@ -1040,13 +1040,13 @@ const Md = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1040
1040
  n.set(e, i);
1041
1041
  },
1042
1042
  get(t, e) {
1043
- return Et.has(t) && Et.get(t).get(e) || null;
1043
+ return Ct.has(t) && Ct.get(t).get(e) || null;
1044
1044
  },
1045
1045
  remove(t, e) {
1046
- if (!Et.has(t))
1046
+ if (!Ct.has(t))
1047
1047
  return;
1048
- const i = Et.get(t);
1049
- i.delete(e), i.size === 0 && Et.delete(t);
1048
+ const i = Ct.get(t);
1049
+ i.delete(e), i.size === 0 && Ct.delete(t);
1050
1050
  }
1051
1051
  }, $d = /[^.]*(?=\..*)\.|.*/, Dd = /\..*/, Nd = /::\d+$/, or = {};
1052
1052
  let qs = 1;
@@ -1266,17 +1266,17 @@ class vs {
1266
1266
  return e;
1267
1267
  }
1268
1268
  _mergeConfigObj(e, i) {
1269
- const n = It(i) ? Wt.getDataAttribute(i, "config") : {};
1269
+ const n = Ot(i) ? Wt.getDataAttribute(i, "config") : {};
1270
1270
  return {
1271
1271
  ...this.constructor.Default,
1272
1272
  ...typeof n == "object" ? n : {},
1273
- ...It(i) ? Wt.getDataAttributes(i) : {},
1273
+ ...Ot(i) ? Wt.getDataAttributes(i) : {},
1274
1274
  ...typeof e == "object" ? e : {}
1275
1275
  };
1276
1276
  }
1277
1277
  _typeCheckConfig(e, i = this.constructor.DefaultType) {
1278
1278
  for (const [n, r] of Object.entries(i)) {
1279
- const s = e[n], o = It(s) ? "element" : xc(s);
1279
+ const s = e[n], o = Ot(s) ? "element" : xc(s);
1280
1280
  if (!new RegExp(r).test(o))
1281
1281
  throw new TypeError(
1282
1282
  `${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${r}".`
@@ -1462,7 +1462,7 @@ let Ti = class En extends Gn {
1462
1462
  }
1463
1463
  }
1464
1464
  _getConfig(e) {
1465
- if (e = super._getConfig(e), typeof e.reference == "object" && !It(e.reference) && typeof e.reference.getBoundingClientRect != "function")
1465
+ if (e = super._getConfig(e), typeof e.reference == "object" && !Ot(e.reference) && typeof e.reference.getBoundingClientRect != "function")
1466
1466
  throw new TypeError(`${Ws.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);
1467
1467
  return e;
1468
1468
  }
@@ -1470,7 +1470,7 @@ let Ti = class En extends Gn {
1470
1470
  if (typeof Md > "u")
1471
1471
  throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");
1472
1472
  let e = this._element;
1473
- this._config.reference === "parent" ? e = this._parent : It(this._config.reference) ? e = Pn(this._config.reference) : typeof this._config.reference == "object" && (e = this._config.reference);
1473
+ this._config.reference === "parent" ? e = this._parent : Ot(this._config.reference) ? e = Pn(this._config.reference) : typeof this._config.reference == "object" && (e = this._config.reference);
1474
1474
  const i = this._getPopperConfig();
1475
1475
  this._popper = ml(e, this._menu, i);
1476
1476
  }
@@ -1520,7 +1520,7 @@ let Ti = class En extends Gn {
1520
1520
  enabled: !1
1521
1521
  }]), {
1522
1522
  ...e,
1523
- ...Ct(this._config.popperConfig, [void 0, e])
1523
+ ...At(this._config.popperConfig, [void 0, e])
1524
1524
  };
1525
1525
  }
1526
1526
  _selectMenuItem({ key: e, target: i }) {
@@ -1650,22 +1650,22 @@ class Al extends vs {
1650
1650
  // Public
1651
1651
  show(e) {
1652
1652
  if (!this._config.isVisible) {
1653
- Ct(e);
1653
+ At(e);
1654
1654
  return;
1655
1655
  }
1656
1656
  this._append();
1657
1657
  const i = this._getElement();
1658
1658
  this._config.isAnimated && Ba(i), i.classList.add(Zs), this._emulateAnimation(() => {
1659
- Ct(e);
1659
+ At(e);
1660
1660
  });
1661
1661
  }
1662
1662
  hide(e) {
1663
1663
  if (!this._config.isVisible) {
1664
- Ct(e);
1664
+ At(e);
1665
1665
  return;
1666
1666
  }
1667
1667
  this._getElement().classList.remove(Zs), this._emulateAnimation(() => {
1668
- this.dispose(), Ct(e);
1668
+ this.dispose(), At(e);
1669
1669
  });
1670
1670
  }
1671
1671
  dispose() {
@@ -1687,7 +1687,7 @@ class Al extends vs {
1687
1687
  return;
1688
1688
  const e = this._getElement();
1689
1689
  this._config.rootElement.append(e), D.on(e, Qs, () => {
1690
- Ct(this._config.clickCallback);
1690
+ At(this._config.clickCallback);
1691
1691
  }), this._isAppended = !0;
1692
1692
  }
1693
1693
  _emulateAnimation(e) {
@@ -1793,7 +1793,7 @@ class Tr {
1793
1793
  this._applyManipulationCallback(e, n);
1794
1794
  }
1795
1795
  _applyManipulationCallback(e, i) {
1796
- if (It(e)) {
1796
+ if (Ot(e)) {
1797
1797
  i(e);
1798
1798
  return;
1799
1799
  }
@@ -1948,7 +1948,7 @@ D.on(document, ih, ah, function(t) {
1948
1948
  });
1949
1949
  kl(Dn);
1950
1950
  Un(Dn);
1951
- const ch = "offcanvas", dh = "bs.offcanvas", bt = `.${dh}`, Pl = ".data-api", fh = `load${bt}${Pl}`, hh = "Escape", so = "show", oo = "showing", ao = "hiding", ph = "offcanvas-backdrop", Ml = ".offcanvas.show", mh = `show${bt}`, gh = `shown${bt}`, _h = `hide${bt}`, lo = `hidePrevented${bt}`, $l = `hidden${bt}`, vh = `resize${bt}`, bh = `click${bt}${Pl}`, yh = `keydown.dismiss${bt}`, wh = '[data-bs-toggle="offcanvas"]', Sh = {
1951
+ const ch = "offcanvas", dh = "bs.offcanvas", yt = `.${dh}`, Pl = ".data-api", fh = `load${yt}${Pl}`, hh = "Escape", so = "show", oo = "showing", ao = "hiding", ph = "offcanvas-backdrop", Ml = ".offcanvas.show", mh = `show${yt}`, gh = `shown${yt}`, _h = `hide${yt}`, lo = `hidePrevented${yt}`, $l = `hidden${yt}`, vh = `resize${yt}`, bh = `click${yt}${Pl}`, yh = `keydown.dismiss${yt}`, wh = '[data-bs-toggle="offcanvas"]', Sh = {
1952
1952
  backdrop: !0,
1953
1953
  keyboard: !0,
1954
1954
  scroll: !1
@@ -2249,8 +2249,8 @@ const ie = (t, e) => {
2249
2249
  function qh(t, e, i, n, r, s) {
2250
2250
  const o = fe("InputGroupText"), a = fe("InputGroup"), l = Na("maska");
2251
2251
  return I(), Ke(a, null, {
2252
- default: Ot(() => [
2253
- vt(V("input", {
2252
+ default: Tt(() => [
2253
+ bt(V("input", {
2254
2254
  name: t.name,
2255
2255
  value: t.form[t.name],
2256
2256
  "data-maska": "###,###,###,###,###,###,###",
@@ -2265,7 +2265,7 @@ function qh(t, e, i, n, r, s) {
2265
2265
  [l]
2266
2266
  ]),
2267
2267
  Je(o, { class: "fanum" }, {
2268
- default: Ot(() => [
2268
+ default: Tt(() => [
2269
2269
  Bn($e(t.unit), 1)
2270
2270
  ]),
2271
2271
  _: 1
@@ -2308,7 +2308,7 @@ const s0 = /* @__PURE__ */ ie(Uh, [["render", qh]]), Kh = J({
2308
2308
  }), Gh = ["name", "id", "disabled"];
2309
2309
  function Wh(t, e, i, n, r, s) {
2310
2310
  var o, a;
2311
- return vt((I(), M("input", {
2311
+ return bt((I(), M("input", {
2312
2312
  name: t.name,
2313
2313
  id: t.inputID,
2314
2314
  "onUpdate:modelValue": e[0] || (e[0] = (l) => t.modelValue = l),
@@ -2442,7 +2442,7 @@ function rp(t, e, i, n, r, s) {
2442
2442
  class: he(["btn-label", { active: t.form[t.name] === t.value || t.form[t.name] === !0 }]),
2443
2443
  for: t.form.getID(t.name) + (t.id || t.value)
2444
2444
  }, [
2445
- vt(V("input", {
2445
+ bt(V("input", {
2446
2446
  name: t.name,
2447
2447
  id: t.form.getID(t.name) + (t.id || t.value),
2448
2448
  "onUpdate:modelValue": e[0] || (e[0] = (l) => t.form[t.name] = l),
@@ -2507,7 +2507,7 @@ const a0 = /* @__PURE__ */ ie(tp, [["render", rp]]), sp = J({
2507
2507
  function up(t, e, i, n, r, s) {
2508
2508
  var o, a, l, u;
2509
2509
  return I(), M("div", op, [
2510
- vt(V("input", {
2510
+ bt(V("input", {
2511
2511
  name: t.name + (t.group ? "_" + ((o = t.group) == null ? void 0 : o.name) + "-" + ((a = t.group) == null ? void 0 : a.groupID) : ""),
2512
2512
  id: t.inputID,
2513
2513
  "onUpdate:modelValue": e[0] || (e[0] = (c) => t.modelValue = c),
@@ -2586,7 +2586,7 @@ function hp(t, e, i, n, r, s) {
2586
2586
  class: he(["form-check-toggle", { "form-check-toggle--active": (t.selectedValue || []).includes(t.value) }]),
2587
2587
  for: t.inputID
2588
2588
  }, [
2589
- vt(V("input", {
2589
+ bt(V("input", {
2590
2590
  name: t.name + (t.group ? "_" + ((o = t.group) == null ? void 0 : o.name) + "-" + ((a = t.group) == null ? void 0 : a.groupID) : ""),
2591
2591
  id: t.inputID,
2592
2592
  "onUpdate:modelValue": e[0] || (e[0] = (c) => t.modelValue = c),
@@ -2744,36 +2744,43 @@ const c0 = /* @__PURE__ */ ie(pp, [["render", _p]]), vp = J({
2744
2744
  required: !1
2745
2745
  }
2746
2746
  },
2747
- setup(t) {
2748
- let e = W("form", {
2747
+ setup(t, { expose: e, emit: i }) {
2748
+ const n = ut(null), r = ut(null), s = (u, c) => {
2749
+ r.value = c;
2750
+ };
2751
+ e({
2752
+ editor: () => r.value
2753
+ });
2754
+ let o = W("form", {
2749
2755
  errors: {},
2750
- getID(r) {
2751
- return r;
2756
+ getID(u) {
2757
+ return u;
2752
2758
  }
2753
- }), i = W("group", {});
2759
+ }), a = W("group", {});
2754
2760
  return { modelValue: De({
2755
2761
  get() {
2756
- var r;
2757
- return i.value && e.value[i.value.name] ? (r = i.value) == null ? void 0 : r.getData(t.name) : e.value[t.name];
2762
+ var u;
2763
+ return a.value && o.value[a.value.name] ? (u = a.value) == null ? void 0 : u.getData(t.name) : o.value[t.name];
2758
2764
  },
2759
- set(r) {
2760
- var s;
2761
- (s = i == null ? void 0 : i.value) != null && s.name ? i.value.setData(t.name, r) : e.value[t.name] = r;
2765
+ set(u) {
2766
+ var c;
2767
+ (c = a == null ? void 0 : a.value) != null && c.name ? a.value.setData(t.name, u) : o.value[t.name] = u;
2762
2768
  }
2763
- }), form: e, group: i };
2769
+ }), form: o, group: a, editorRef: n, handleInit: s };
2764
2770
  },
2765
- emits: ["update:modelValue"],
2771
+ emits: ["update:modelValue", "setContent"],
2766
2772
  methods: {
2767
- editor() {
2768
- return this.refs.editor.editor;
2773
+ setContentInModelValue(t, e, i, n) {
2774
+ this.modelValue = t, this.$emit("setContent", t, e, i, n), this.$emit("update:modelValue", t);
2769
2775
  }
2770
- },
2771
- expose: ["editor"]
2776
+ }
2772
2777
  });
2773
2778
  function bp(t, e, i, n, r, s) {
2774
2779
  const o = fe("Editor");
2775
2780
  return I(), Ke(o, {
2776
- ref: "editor",
2781
+ ref: "editorRef",
2782
+ onInit: t.handleInit,
2783
+ onSetContent: t.setContentInModelValue,
2777
2784
  modelValue: t.modelValue,
2778
2785
  "onUpdate:modelValue": e[0] || (e[0] = (a) => t.modelValue = a),
2779
2786
  class: "tiny-editor-input-el",
@@ -2782,7 +2789,7 @@ function bp(t, e, i, n, r, s) {
2782
2789
  placeholder: this.placeholder,
2783
2790
  ...t.options
2784
2791
  }
2785
- }, null, 8, ["modelValue", "init"]);
2792
+ }, null, 8, ["onInit", "onSetContent", "modelValue", "init"]);
2786
2793
  }
2787
2794
  const d0 = /* @__PURE__ */ ie(vp, [["render", bp]]), yp = J({
2788
2795
  props: {
@@ -3122,7 +3129,7 @@ function Bp(t, e, i, n, r, s) {
3122
3129
  key: 0,
3123
3130
  type: "danger"
3124
3131
  }, {
3125
- default: Ot(() => [
3132
+ default: Tt(() => [
3126
3133
  V("ul", Hp, [
3127
3134
  (I(!0), M(Jt, null, Ii(t.form.errors, (a) => (I(), M("li", null, $e(a), 1))), 256))
3128
3135
  ])
@@ -3230,7 +3237,7 @@ function Gp(t, e, i, n, r, s) {
3230
3237
  center: this.center,
3231
3238
  onClick: t.setMarker
3232
3239
  }, {
3233
- default: Ot(() => [
3240
+ default: Tt(() => [
3234
3241
  Je(o, {
3235
3242
  url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
3236
3243
  "layer-type": "base",
@@ -3349,7 +3356,7 @@ const v0 = /* @__PURE__ */ ie(Xp, [["render", Zp]]), Qp = J({
3349
3356
  function em(t, e, i, n, r, s) {
3350
3357
  const o = fe("InputGroupText"), a = fe("InputGroup"), l = Na("maska");
3351
3358
  return I(), Ke(a, { class: "input-group-quantity" }, {
3352
- default: Ot(() => [
3359
+ default: Tt(() => [
3353
3360
  V("button", {
3354
3361
  onClick: e[0] || (e[0] = (...u) => t.increment && t.increment(...u)),
3355
3362
  type: "button",
@@ -3368,7 +3375,7 @@ function em(t, e, i, n, r, s) {
3368
3375
  })
3369
3376
  ], -1)
3370
3377
  ])),
3371
- vt(V("input", {
3378
+ bt(V("input", {
3372
3379
  name: t.name,
3373
3380
  value: this.modelValue,
3374
3381
  "data-maska": "###,###,###,###,###,###,###",
@@ -3401,7 +3408,7 @@ function em(t, e, i, n, r, s) {
3401
3408
  ], -1)
3402
3409
  ])),
3403
3410
  Je(o, { class: "fanum" }, {
3404
- default: Ot(() => [
3411
+ default: Tt(() => [
3405
3412
  Bn($e(t.unit), 1)
3406
3413
  ]),
3407
3414
  _: 1
@@ -3504,7 +3511,7 @@ function am(t, e, i, n, r, s) {
3504
3511
  class: he(["multi-quantity-input--dropdown", { show: t.showDropdown }])
3505
3512
  }, [
3506
3513
  Je(a, { name: t.name }, {
3507
- default: Ot(() => [
3514
+ default: Tt(() => [
3508
3515
  (I(!0), M(Jt, null, Ii(t.options, (l, u) => (I(), M("div", rm, [
3509
3516
  V("div", {
3510
3517
  class: "col-auto",
@@ -3611,7 +3618,7 @@ var oe = {
3611
3618
  DOWN_KEY: 40,
3612
3619
  PAGE_UP_KEY: 33,
3613
3620
  PAGE_DOWN_KEY: 34
3614
- }, fm = ["fuseOptions", "classNames"], kt = {
3621
+ }, fm = ["fuseOptions", "classNames"], It = {
3615
3622
  Text: "text",
3616
3623
  SelectOne: "select-one",
3617
3624
  SelectMultiple: "select-multiple"
@@ -3724,7 +3731,7 @@ var oe = {
3724
3731
  return "";
3725
3732
  }, Ss = function(t, e) {
3726
3733
  return t ? jl(e) : Yn(e);
3727
- }, ht = function(t, e, i) {
3734
+ }, pt = function(t, e, i) {
3728
3735
  t.innerHTML = Ss(e, i);
3729
3736
  }, Sm = function(t, e) {
3730
3737
  var i = t.value, n = t.label, r = n === void 0 ? i : n, s = e.value, o = e.label, a = o === void 0 ? s : o;
@@ -3807,9 +3814,9 @@ var oe = {
3807
3814
  }, t.prototype.removeFocusState = function() {
3808
3815
  st(this.element, this.classNames.focusState);
3809
3816
  }, t.prototype.enable = function() {
3810
- st(this.element, this.classNames.disabledState), this.element.removeAttribute("aria-disabled"), this.type === kt.SelectOne && this.element.setAttribute("tabindex", "0"), this.isDisabled = !1;
3817
+ st(this.element, this.classNames.disabledState), this.element.removeAttribute("aria-disabled"), this.type === It.SelectOne && this.element.setAttribute("tabindex", "0"), this.isDisabled = !1;
3811
3818
  }, t.prototype.disable = function() {
3812
- x(this.element, this.classNames.disabledState), this.element.setAttribute("aria-disabled", "true"), this.type === kt.SelectOne && this.element.setAttribute("tabindex", "-1"), this.isDisabled = !0;
3819
+ x(this.element, this.classNames.disabledState), this.element.setAttribute("aria-disabled", "true"), this.type === It.SelectOne && this.element.setAttribute("tabindex", "-1"), this.isDisabled = !0;
3813
3820
  }, t.prototype.wrap = function(e) {
3814
3821
  var i = this.element, n = e.parentNode;
3815
3822
  n && (e.nextSibling ? n.insertBefore(i, e.nextSibling) : n.appendChild(i)), i.appendChild(e);
@@ -3876,7 +3883,7 @@ var oe = {
3876
3883
  }, t.prototype.removeActiveDescendant = function() {
3877
3884
  this.element.removeAttribute("aria-activedescendant");
3878
3885
  }, t.prototype._onInput = function() {
3879
- this.type !== kt.SelectOne && this.setWidth();
3886
+ this.type !== It.SelectOne && this.setWidth();
3880
3887
  }, t.prototype._onPaste = function(e) {
3881
3888
  this.preventPaste && e.preventDefault();
3882
3889
  }, t.prototype._onFocus = function() {
@@ -4215,7 +4222,7 @@ function Vm(t, e, i) {
4215
4222
  if (s) {
4216
4223
  s.selected = !1, s.removeAttribute("selected");
4217
4224
  var o = s.parentElement;
4218
- o && Bl(o) && o.type === kt.SelectOne && (o.value = "");
4225
+ o && Bl(o) && o.type === It.SelectOne && (o.value = "");
4219
4226
  }
4220
4227
  So(e.item), n = n.filter(function(c) {
4221
4228
  return c.id !== e.item.id;
@@ -4507,7 +4514,7 @@ function Um(t) {
4507
4514
  var e = xm(t, "string");
4508
4515
  return typeof e == "symbol" ? e : e + "";
4509
4516
  }
4510
- function _t(t) {
4517
+ function vt(t) {
4511
4518
  return Array.isArray ? Array.isArray(t) : zl(t) === "[object Array]";
4512
4519
  }
4513
4520
  function zm(t) {
@@ -4567,7 +4574,7 @@ class Jm {
4567
4574
  }
4568
4575
  function ql(t) {
4569
4576
  let e = null, i = null, n = null, r = 1, s = null;
4570
- if (at(t) || _t(t))
4577
+ if (at(t) || vt(t))
4571
4578
  n = t, e = ko(t), i = Pr(t);
4572
4579
  else {
4573
4580
  if (!Ao.call(t, "name"))
@@ -4586,10 +4593,10 @@ function ql(t) {
4586
4593
  };
4587
4594
  }
4588
4595
  function ko(t) {
4589
- return _t(t) ? t : t.split(".");
4596
+ return vt(t) ? t : t.split(".");
4590
4597
  }
4591
4598
  function Pr(t) {
4592
- return _t(t) ? t.join(".") : t;
4599
+ return vt(t) ? t.join(".") : t;
4593
4600
  }
4594
4601
  function eg(t, e) {
4595
4602
  let i = [], n = !1;
@@ -4604,7 +4611,7 @@ function eg(t, e) {
4604
4611
  return;
4605
4612
  if (a === o.length - 1 && (at(u) || xl(u) || Km(u)))
4606
4613
  i.push(qm(u));
4607
- else if (_t(u)) {
4614
+ else if (vt(u)) {
4608
4615
  n = !0;
4609
4616
  for (let c = 0, d = u.length; c < d; c += 1)
4610
4617
  r(u[c], o, a + 1);
@@ -4741,7 +4748,7 @@ class Es {
4741
4748
  this.keys.forEach((r, s) => {
4742
4749
  let o = r.getFn ? r.getFn(e) : this.getFn(e, r.path);
4743
4750
  if (je(o)) {
4744
- if (_t(o)) {
4751
+ if (vt(o)) {
4745
4752
  let a = [];
4746
4753
  const l = [{
4747
4754
  nestedArrIndex: -1,
@@ -4760,7 +4767,7 @@ class Es {
4760
4767
  n: this.norm.get(c)
4761
4768
  };
4762
4769
  a.push(d);
4763
- } else _t(c) && c.forEach((d, p) => {
4770
+ } else vt(c) && c.forEach((d, p) => {
4764
4771
  l.push({
4765
4772
  nestedArrIndex: p,
4766
4773
  value: d
@@ -5331,7 +5338,7 @@ const Nn = {
5331
5338
  }, Nr = {
5332
5339
  PATH: "$path",
5333
5340
  PATTERN: "$val"
5334
- }, Lr = (t) => !!(t[Nn.AND] || t[Nn.OR]), Eg = (t) => !!t[Nr.PATH], Cg = (t) => !_t(t) && Ul(t) && !Lr(t), To = (t) => ({
5341
+ }, Lr = (t) => !!(t[Nn.AND] || t[Nn.OR]), Eg = (t) => !!t[Nr.PATH], Cg = (t) => !vt(t) && Ul(t) && !Lr(t), To = (t) => ({
5335
5342
  [Nn.AND]: Object.keys(t).map((e) => ({
5336
5343
  [e]: t[e]
5337
5344
  }))
@@ -5360,7 +5367,7 @@ function Xl(t, e, {
5360
5367
  };
5361
5368
  return s.forEach((l) => {
5362
5369
  const u = r[l];
5363
- _t(u) && u.forEach((c) => {
5370
+ vt(u) && u.forEach((c) => {
5364
5371
  a.children.push(n(c));
5365
5372
  });
5366
5373
  }), a;
@@ -5571,7 +5578,7 @@ class Fi {
5571
5578
  if (!je(i))
5572
5579
  return [];
5573
5580
  let r = [];
5574
- if (_t(i))
5581
+ if (vt(i))
5575
5582
  i.forEach(({
5576
5583
  v: s,
5577
5584
  i: o,
@@ -5674,19 +5681,19 @@ var Pg = function(t) {
5674
5681
  },
5675
5682
  placeholder: function(t, e) {
5676
5683
  var i = t.allowHTML, n = t.classNames.placeholder, r = document.createElement("div");
5677
- return x(r, n), ht(r, i, e), r;
5684
+ return x(r, n), pt(r, i, e), r;
5678
5685
  },
5679
5686
  item: function(t, e, i) {
5680
5687
  var n = t.allowHTML, r = t.removeItemButtonAlignLeft, s = t.removeItemIconText, o = t.removeItemLabelText, a = t.classNames, l = a.item, u = a.button, c = a.highlightedState, d = a.itemSelectable, p = a.placeholder, _ = xt(e.value), h = document.createElement("div");
5681
5688
  if (x(h, l), e.labelClass) {
5682
5689
  var f = document.createElement("span");
5683
- ht(f, n, e.label), x(f, e.labelClass), h.appendChild(f);
5690
+ pt(f, n, e.label), x(f, e.labelClass), h.appendChild(f);
5684
5691
  } else
5685
- ht(h, n, e.label);
5692
+ pt(h, n, e.label);
5686
5693
  if (h.dataset.item = "", h.dataset.id = e.id, h.dataset.value = _, mr(h, e, !0), (e.disabled || this.containerOuter.isDisabled) && h.setAttribute("aria-disabled", "true"), this._isSelectElement && (h.setAttribute("aria-selected", "true"), h.setAttribute("role", "option")), e.placeholder && (x(h, p), h.dataset.placeholder = ""), x(h, e.highlighted ? c : d), i) {
5687
5694
  e.disabled && st(h, d), h.dataset.deletable = "";
5688
5695
  var g = document.createElement("button");
5689
- g.type = "button", x(g, u), ht(g, !0, Wi(s, e.value));
5696
+ g.type = "button", x(g, u), pt(g, !0, Wi(s, e.value));
5690
5697
  var m = Wi(o, e.value);
5691
5698
  m && g.setAttribute("aria-label", m), g.dataset.button = "", r ? h.insertAdjacentElement("afterbegin", g) : h.appendChild(g);
5692
5699
  }
@@ -5700,7 +5707,7 @@ var Pg = function(t) {
5700
5707
  var i = t.allowHTML, n = t.classNames, r = n.group, s = n.groupHeading, o = n.itemDisabled, a = e.id, l = e.label, u = e.disabled, c = xt(l), d = document.createElement("div");
5701
5708
  x(d, r), u && x(d, o), d.setAttribute("role", "group"), d.dataset.group = "", d.dataset.id = a, d.dataset.value = c, u && d.setAttribute("aria-disabled", "true");
5702
5709
  var p = document.createElement("div");
5703
- return x(p, s), ht(p, i, l || ""), d.appendChild(p), d;
5710
+ return x(p, s), pt(p, i, l || ""), d.appendChild(p), d;
5704
5711
  },
5705
5712
  choice: function(t, e, i, n) {
5706
5713
  var r = t.allowHTML, s = t.classNames, o = s.item, a = s.itemChoice, l = s.itemSelectable, u = s.selectedState, c = s.itemDisabled, d = s.description, p = s.placeholder, _ = e.label, h = xt(e.value), f = document.createElement("div");
@@ -5708,14 +5715,14 @@ var Pg = function(t) {
5708
5715
  var g = f;
5709
5716
  if (e.labelClass) {
5710
5717
  var m = document.createElement("span");
5711
- ht(m, r, _), x(m, e.labelClass), g = m, f.appendChild(m);
5718
+ pt(m, r, _), x(m, e.labelClass), g = m, f.appendChild(m);
5712
5719
  } else
5713
- ht(f, r, _);
5720
+ pt(f, r, _);
5714
5721
  if (e.labelDescription) {
5715
5722
  var b = "".concat(e.elementId, "-description");
5716
5723
  g.setAttribute("aria-describedby", b);
5717
5724
  var w = document.createElement("span");
5718
- ht(w, r, e.labelDescription), w.id = b, x(w, d), f.appendChild(w);
5725
+ pt(w, r, e.labelDescription), w.id = b, x(w, d), f.appendChild(w);
5719
5726
  }
5720
5727
  return e.selected && x(f, u), e.placeholder && x(f, p), f.setAttribute("role", e.group ? "treeitem" : "option"), f.dataset.choice = "", f.dataset.id = e.id, f.dataset.value = h, i && (f.dataset.selectText = i), e.group && (f.dataset.groupId = "".concat(e.group.id)), mr(f, e, !1), e.disabled ? (x(f, c), f.dataset.choiceDisabled = "", f.setAttribute("aria-disabled", "true")) : (x(f, l), f.dataset.choiceSelectable = ""), f;
5721
5728
  },
@@ -5731,7 +5738,7 @@ var Pg = function(t) {
5731
5738
  var n = t.classNames, r = n.item, s = n.itemChoice, o = n.addChoice, a = n.noResults, l = n.noChoices, u = n.notice;
5732
5739
  i === void 0 && (i = ge.generic);
5733
5740
  var c = document.createElement("div");
5734
- switch (ht(c, !0, e), x(c, r), x(c, s), x(c, u), i) {
5741
+ switch (pt(c, !0, e), x(c, r), x(c, s), x(c, u), i) {
5735
5742
  case ge.addChoice:
5736
5743
  x(c, o);
5737
5744
  break;
@@ -5769,9 +5776,9 @@ var Pg = function(t) {
5769
5776
  var a = typeof e == "string" ? o.querySelector(e) : e;
5770
5777
  if (!a || typeof a != "object" || !(Mm(a) || Bl(a)))
5771
5778
  throw TypeError(!a && typeof e == "string" ? "Selector ".concat(e, " failed to find an element") : "Expected one of the following types text|select-one|select-multiple");
5772
- var l = a.type, u = l === kt.Text;
5773
- (u || s.maxItemCount !== 1) && (s.singleModeForMultiSelect = !1), s.singleModeForMultiSelect && (l = kt.SelectMultiple);
5774
- var c = l === kt.SelectOne, d = l === kt.SelectMultiple, p = c || d;
5779
+ var l = a.type, u = l === It.Text;
5780
+ (u || s.maxItemCount !== 1) && (s.singleModeForMultiSelect = !1), s.singleModeForMultiSelect && (l = It.SelectMultiple);
5781
+ var c = l === It.SelectOne, d = l === It.SelectMultiple, p = c || d;
5775
5782
  if (this._elementType = l, this._isTextElement = u, this._isSelectOneElement = c, this._isSelectMultipleElement = d, this._isSelectElement = c || d, this._canAddUserChoices = u && s.addItems || p && s.addChoices, typeof s.renderSelectedChoices != "boolean" && (s.renderSelectedChoices = s.renderSelectedChoices === "always" || c), s.closeDropdownOnSelect === "auto" ? s.closeDropdownOnSelect = u || c || s.singleModeForMultiSelect : s.closeDropdownOnSelect = Ui(s.closeDropdownOnSelect), s.placeholder && (s.placeholderValue ? this._hasNonChoicePlaceholder = !0 : a.dataset.placeholder && (this._hasNonChoicePlaceholder = !0, s.placeholderValue = a.dataset.placeholder)), i.addItemFilter && typeof i.addItemFilter != "function") {
5776
5783
  var _ = i.addItemFilter instanceof RegExp ? i.addItemFilter : new RegExp(i.addItemFilter);
5777
5784
  s.addItemFilter = _.test.bind(_);
@@ -6662,7 +6669,7 @@ function Rg(t, e, i, n, r, s) {
6662
6669
  "select2-dropdown-hidden": t.hideDropdown === !0
6663
6670
  }])
6664
6671
  }, [
6665
- vt(V("select", Ac(t.$props, {
6672
+ bt(V("select", Ac(t.$props, {
6666
6673
  name: t.name,
6667
6674
  "onUpdate:modelValue": e[0] || (e[0] = (o) => t.modelValue = o),
6668
6675
  class: ["form-control-select", {
@@ -6893,7 +6900,7 @@ const C0 = /* @__PURE__ */ ie(Gg, [["render", Yg]]), Xg = J({
6893
6900
  }), Zg = ["name", "disabled"];
6894
6901
  function Qg(t, e, i, n, r, s) {
6895
6902
  var o, a;
6896
- return vt((I(), M("textarea", {
6903
+ return bt((I(), M("textarea", {
6897
6904
  name: t.name,
6898
6905
  "onUpdate:modelValue": e[0] || (e[0] = (l) => t.modelValue = l),
6899
6906
  class: he([{ "is-invalid": ((o = t.form) == null ? void 0 : o.errors[t.name]) !== void 0 }, "form-control"]),
@@ -6923,7 +6930,7 @@ const A0 = /* @__PURE__ */ ie(Xg, [["render", Qg]]), k0 = {
6923
6930
  value: {},
6924
6931
  errors: {},
6925
6932
  getID: (u) => u
6926
- }), s = W("group", null), o = Tt(null), a = Tt(null), l = De({
6933
+ }), s = W("group", null), o = ut(null), a = ut(null), l = De({
6927
6934
  get() {
6928
6935
  var u;
6929
6936
  return (u = s == null ? void 0 : s.value) != null && u.name ? s.value.getData(i.name) : r.value[i.name];
@@ -7129,7 +7136,7 @@ function Zl(t) {
7129
7136
  function Po() {
7130
7137
  return /* @__PURE__ */ Object.create(null);
7131
7138
  }
7132
- function ct(t) {
7139
+ function dt(t) {
7133
7140
  t.forEach(Zl);
7134
7141
  }
7135
7142
  function Ql(t) {
@@ -7390,7 +7397,7 @@ function O() {
7390
7397
  }
7391
7398
  function C1(t) {
7392
7399
  if (t.fragment !== null) {
7393
- t.update(), ct(t.before_update);
7400
+ t.update(), dt(t.before_update);
7394
7401
  const e = t.dirty;
7395
7402
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Rr);
7396
7403
  }
@@ -7410,7 +7417,7 @@ function k1() {
7410
7417
  };
7411
7418
  }
7412
7419
  function I1() {
7413
- Ut.r || ct(Ut.c), Ut = Ut.p;
7420
+ Ut.r || dt(Ut.c), Ut = Ut.p;
7414
7421
  }
7415
7422
  function Xi(t, e) {
7416
7423
  t && t.i && (Cn.delete(t), t.i(e));
@@ -7433,12 +7440,12 @@ function su(t, e, i) {
7433
7440
  const { fragment: n, after_update: r } = t.$$;
7434
7441
  n && n.m(e, i), Rr(() => {
7435
7442
  const s = t.$$.on_mount.map(Zl).filter(Ql);
7436
- t.$$.on_destroy ? t.$$.on_destroy.push(...s) : ct(s), t.$$.on_mount = [];
7443
+ t.$$.on_destroy ? t.$$.on_destroy.push(...s) : dt(s), t.$$.on_mount = [];
7437
7444
  }), r.forEach(Rr);
7438
7445
  }
7439
7446
  function ou(t, e) {
7440
7447
  const i = t.$$;
7441
- i.fragment !== null && (A1(i.after_update), ct(i.on_destroy), i.fragment && i.fragment.d(e), i.on_destroy = i.fragment = null, i.ctx = []);
7448
+ i.fragment !== null && (A1(i.after_update), dt(i.on_destroy), i.fragment && i.fragment.d(e), i.on_destroy = i.fragment = null, i.ctx = []);
7442
7449
  }
7443
7450
  function T1(t, e) {
7444
7451
  t.$$.dirty[0] === -1 && (li.push(t), E1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
@@ -7472,7 +7479,7 @@ function au(t, e, i, n, r, s, o = null, a = [-1]) {
7472
7479
  if (u.ctx = i ? i(t, e.props || {}, (d, p, ..._) => {
7473
7480
  const h = _.length ? _[0] : p;
7474
7481
  return u.ctx && r(u.ctx[d], u.ctx[d] = h) && (!u.skip_bound && u.bound[d] && u.bound[d](h), c && T1(t, d)), p;
7475
- }) : [], u.update(), c = !0, ct(u.before_update), u.fragment = n ? n(u.ctx) : !1, e.target) {
7482
+ }) : [], u.update(), c = !0, dt(u.before_update), u.fragment = n ? n(u.ctx) : !1, e.target) {
7476
7483
  if (e.hydrate) {
7477
7484
  const d = _1(e.target);
7478
7485
  u.fragment && u.fragment.l(d), d.forEach(U);
@@ -7806,7 +7813,7 @@ const _e = (t, e = 2) => parseFloat((+t).toFixed(e)), Lo = function(t, e, i) {
7806
7813
  return isNaN(r) || r <= 0 ? 0 : r >= 100 ? 100 : _e(r, n);
7807
7814
  }, $1 = function(t, e, i) {
7808
7815
  return (i - e) / 100 * t + e;
7809
- }, pt = function(t, e, i, n, r = 2, s = null) {
7816
+ }, mt = function(t, e, i, n, r = 2, s = null) {
7810
7817
  if (t = Lt(t) ? t : (s == null ? void 0 : s[0]) ?? e, t <= ((s == null ? void 0 : s[0]) ?? e) || t >= ((s == null ? void 0 : s[1]) ?? i))
7811
7818
  return t = Lo(t, (s == null ? void 0 : s[0]) ?? e, (s == null ? void 0 : s[1]) ?? i);
7812
7819
  let o = (t - e) % n, a = t - o;
@@ -7942,7 +7949,7 @@ function Ro(t) {
7942
7949
  ));
7943
7950
  },
7944
7951
  d(a) {
7945
- a && U(e), o && o.d(), r = !1, ct(s);
7952
+ a && U(e), o && o.d(), r = !1, dt(s);
7946
7953
  }
7947
7954
  };
7948
7955
  }
@@ -8183,7 +8190,7 @@ function zo(t) {
8183
8190
  ));
8184
8191
  },
8185
8192
  d(u) {
8186
- u && U(e), a && a.d(), s = !1, ct(o);
8193
+ u && U(e), a && a.d(), s = !1, dt(o);
8187
8194
  }
8188
8195
  };
8189
8196
  }
@@ -8422,7 +8429,7 @@ function Yo(t) {
8422
8429
  ));
8423
8430
  },
8424
8431
  d(a) {
8425
- a && U(e), o && o.d(), r = !1, ct(s);
8432
+ a && U(e), o && o.d(), r = !1, dt(s);
8426
8433
  }
8427
8434
  };
8428
8435
  }
@@ -9232,7 +9239,7 @@ function ra(t) {
9232
9239
  );
9233
9240
  },
9234
9241
  d(f) {
9235
- f && U(e), h && h.d(), p = !1, ct(_);
9242
+ f && U(e), h && h.d(), p = !1, dt(_);
9236
9243
  }
9237
9244
  };
9238
9245
  }
@@ -10038,7 +10045,7 @@ function x1(t) {
10038
10045
  Hr(h), a = !1;
10039
10046
  },
10040
10047
  d(f) {
10041
- f && U(e), nu(d, f), p && p.d(), _ && _.d(), h && h.d(), t[63](null), l = !1, ct(u);
10048
+ f && U(e), nu(d, f), p && p.d(), _ && _.d(), h && h.d(), t[63](null), l = !1, dt(u);
10042
10049
  }
10043
10050
  };
10044
10051
  }
@@ -10048,9 +10055,9 @@ function U1(t, e) {
10048
10055
  function z1(t, e, i) {
10049
10056
  let n, r, s, o, a = et, l = () => (a(), a = f1(Fe, (v) => i(42, o = v)), Fe);
10050
10057
  t.$$.on_destroy.push(() => a());
10051
- let { slider: u = void 0 } = e, { precision: c = 2 } = e, { range: d = !1 } = e, { pushy: p = !1 } = e, { draggy: _ = !1 } = e, { min: h = 0 } = e, { max: f = 100 } = e, { step: g = 1 } = e, { values: m = [_e((f + h) / 2, c)] } = e, { value: b = m[0] } = e, { vertical: w = !1 } = e, { float: E = !1 } = e, { rangeFloat: S = !1 } = e, { reversed: y = !1 } = e, { hoverable: $ = !0 } = e, { disabled: F = !1 } = e, { limits: P = null } = e, { rangeGapMin: B = 0 } = e, { rangeGapMax: L = 1 / 0 } = e, { pips: K = !1 } = e, { pipstep: ne = void 0 } = e, { all: Y = !0 } = e, { first: le = void 0 } = e, { last: re = void 0 } = e, { rest: be = void 0 } = e, { prefix: tt = "" } = e, { suffix: Ne = "" } = e, { formatter: Oe = (v, A, ee) => v } = e, { handleFormatter: xe = Oe } = e, { rangeFormatter: Ue = null } = e, { ariaLabels: C = [] } = e, { id: Ce = void 0 } = e, { class: ye = "" } = e, { style: yt = void 0 } = e, { darkmode: wt = !1 } = e, { springValues: ze = { stiffness: 0.15, damping: 0.4 } } = e, { spring: Pi = !0 } = e;
10058
+ let { slider: u = void 0 } = e, { precision: c = 2 } = e, { range: d = !1 } = e, { pushy: p = !1 } = e, { draggy: _ = !1 } = e, { min: h = 0 } = e, { max: f = 100 } = e, { step: g = 1 } = e, { values: m = [_e((f + h) / 2, c)] } = e, { value: b = m[0] } = e, { vertical: w = !1 } = e, { float: E = !1 } = e, { rangeFloat: S = !1 } = e, { reversed: y = !1 } = e, { hoverable: $ = !0 } = e, { disabled: F = !1 } = e, { limits: P = null } = e, { rangeGapMin: B = 0 } = e, { rangeGapMax: L = 1 / 0 } = e, { pips: K = !1 } = e, { pipstep: ne = void 0 } = e, { all: Y = !0 } = e, { first: le = void 0 } = e, { last: re = void 0 } = e, { rest: be = void 0 } = e, { prefix: tt = "" } = e, { suffix: Ne = "" } = e, { formatter: Oe = (v, A, ee) => v } = e, { handleFormatter: xe = Oe } = e, { rangeFormatter: Ue = null } = e, { ariaLabels: C = [] } = e, { id: Ce = void 0 } = e, { class: ye = "" } = e, { style: wt = void 0 } = e, { darkmode: St = !1 } = e, { springValues: ze = { stiffness: 0.15, damping: 0.4 } } = e, { spring: Pi = !0 } = e;
10052
10059
  const Mi = w1();
10053
- let Dt = !1, $i = 0, it = !1, Ye = !1, dt = !1, Te = !1, ft = !1, Di = [1, 1], Ni = !1, se = -1, Le = [], nt = [], Li = 0, Fe;
10060
+ let Dt = !1, $i = 0, it = !1, Ye = !1, ft = !1, Te = !1, ht = !1, Di = [1, 1], Ni = !1, se = -1, Le = [], nt = [], Li = 0, Fe;
10054
10061
  const an = () => {
10055
10062
  Ms(), m[0] !== b && i(4, m[0] = b, m);
10056
10063
  }, ln = () => {
@@ -10066,12 +10073,12 @@ function z1(t, e, i) {
10066
10073
  }, Wu = () => {
10067
10074
  m.length > 1 && !Array.isArray(C) && (i(8, C = []), console.warn("'ariaLabels' prop should be an Array"));
10068
10075
  }, er = () => {
10069
- if (i(4, m = m.map((v) => pt(v, h, f, g, c, P))), B < 0 && i(57, B = 0), L < 0 && i(58, L = 1 / 0), B > L && i(57, B = L), L < 1 / 0) {
10070
- const v = pt(m[0] + L, h, f, g, c, P);
10076
+ if (i(4, m = m.map((v) => mt(v, h, f, g, c, P))), B < 0 && i(57, B = 0), L < 0 && i(58, L = 1 / 0), B > L && i(57, B = L), L < 1 / 0) {
10077
+ const v = mt(m[0] + L, h, f, g, c, P);
10071
10078
  m[1] > v && i(4, m[1] = v, m);
10072
10079
  }
10073
10080
  if (B > 0) {
10074
- const v = pt(m[0] + B, h, f, g, c, P);
10081
+ const v = mt(m[0] + B, h, f, g, c, P);
10075
10082
  m[1] < v && i(4, m[1] = v, m);
10076
10083
  }
10077
10084
  }, un = () => {
@@ -10121,7 +10128,7 @@ function z1(t, e, i) {
10121
10128
  function tr(v) {
10122
10129
  if (!u || !Ye) return;
10123
10130
  const { pointerVal: A } = gn(u, v, w, y, h, f);
10124
- St(se, A);
10131
+ Et(se, A);
10125
10132
  }
10126
10133
  function tc(v) {
10127
10134
  if (!u || !_ || !Te || d === "min" || d === "max") return;
@@ -10131,10 +10138,10 @@ function z1(t, e, i) {
10131
10138
  function ic(v) {
10132
10139
  if (!u || !_ || !Te || d === "min" || d === "max") return;
10133
10140
  const { pointerVal: A } = gn(u, v, w, y, h, f);
10134
- i(36, se = -1), St(0, A + Di[0], !1), St(1, A + Di[1], !0);
10141
+ i(36, se = -1), Et(0, A + Di[0], !1), Et(1, A + Di[1], !0);
10135
10142
  }
10136
- function St(v, A, ee = !0) {
10137
- return A = pt(A, h, f, g, c, P), v === null && (v = se), d === !0 && (v === 0 ? A > m[1] - B ? p && A <= ((P == null ? void 0 : P[1]) ?? f) - B ? i(4, m[1] = A + B, m) : A = m[1] - B : A < m[1] - L && (p ? i(4, m[1] = A + L, m) : A = m[1] - L) : v === 1 && (A < m[0] + B ? p && A >= ((P == null ? void 0 : P[0]) ?? h) + B ? i(4, m[0] = A - B, m) : A = m[0] + B : A > m[0] + L && (p ? i(4, m[0] = A - L, m) : A = m[0] + L))), m[v] !== A && i(4, m[v] = pt(A, h, f, g, c, P), m), ee && nc(m), A;
10143
+ function Et(v, A, ee = !0) {
10144
+ return A = mt(A, h, f, g, c, P), v === null && (v = se), d === !0 && (v === 0 ? A > m[1] - B ? p && A <= ((P == null ? void 0 : P[1]) ?? f) - B ? i(4, m[1] = A + B, m) : A = m[1] - B : A < m[1] - L && (p ? i(4, m[1] = A + L, m) : A = m[1] - L) : v === 1 && (A < m[0] + B ? p && A >= ((P == null ? void 0 : P[0]) ?? h) + B ? i(4, m[0] = A - B, m) : A = m[0] + B : A > m[0] + L && (p ? i(4, m[0] = A - L, m) : A = m[0] + L))), m[v] !== A && i(4, m[v] = mt(A, h, f, g, c, P), m), ee && nc(m), A;
10138
10145
  }
10139
10146
  function nc(v) {
10140
10147
  (nt.some((ee, we) => ee !== v[we]) || nt.length !== v.length) && (_c(), nt = [...v]);
@@ -10146,7 +10153,7 @@ function z1(t, e, i) {
10146
10153
  return d === "max" ? 100 : d === "min" ? v[0] : v[1];
10147
10154
  }
10148
10155
  function oc(v) {
10149
- v.target, Ni && (i(33, it = !1), Ye = !1, i(34, dt = !1), Te = !1, i(35, ft = !1));
10156
+ v.target, Ni && (i(33, it = !1), Ye = !1, i(34, ft = !1), Te = !1, i(35, ht = !1));
10150
10157
  }
10151
10158
  function ac(v) {
10152
10159
  const A = v.target;
@@ -10168,34 +10175,34 @@ function z1(t, e, i) {
10168
10175
  case "PageUp":
10169
10176
  case "ArrowRight":
10170
10177
  case "ArrowUp":
10171
- Ri(), St(ee, m[ee] + we), A = !0;
10178
+ Ri(), Et(ee, m[ee] + we), A = !0;
10172
10179
  break;
10173
10180
  case "PageDown":
10174
10181
  case "ArrowLeft":
10175
10182
  case "ArrowDown":
10176
- Ri(), St(ee, m[ee] - we), A = !0;
10183
+ Ri(), Et(ee, m[ee] - we), A = !0;
10177
10184
  break;
10178
10185
  case "Home":
10179
- Ri(), St(ee, h), A = !0;
10186
+ Ri(), Et(ee, h), A = !0;
10180
10187
  break;
10181
10188
  case "End":
10182
- Ri(), St(ee, f), A = !0;
10189
+ Ri(), Et(ee, f), A = !0;
10183
10190
  break;
10184
10191
  }
10185
10192
  A && (v.preventDefault(), v.stopPropagation());
10186
10193
  }
10187
10194
  }
10188
10195
  function Ri() {
10189
- Le = m.map((v) => pt(v, h, f, g, c, P)), nt = [...Le];
10196
+ Le = m.map((v) => mt(v, h, f, g, c, P)), nt = [...Le];
10190
10197
  }
10191
10198
  function uc(v) {
10192
10199
  if (!F) {
10193
10200
  const A = v.target, ee = ci(v);
10194
- i(33, it = !0), A.matches(".rangeBar") && d === !0 && _ ? (Ye = !1, i(34, dt = !1), i(36, se = -1), Te = !0, i(35, ft = !0), tc(ee)) : (Ye = !0, i(34, dt = !0), i(36, se = ec(ee)), v.type === "touchstart" && !A.closest(".rsPipVal") && tr(ee)), Ri(), gc();
10201
+ i(33, it = !0), A.matches(".rangeBar") && d === !0 && _ ? (Ye = !1, i(34, ft = !1), i(36, se = -1), Te = !0, i(35, ht = !0), tc(ee)) : (Ye = !0, i(34, ft = !0), i(36, se = ec(ee)), v.type === "touchstart" && !A.closest(".rsPipVal") && tr(ee)), Ri(), gc();
10195
10202
  }
10196
10203
  }
10197
10204
  function cc(v) {
10198
- v.type === "touchend" && Ds(), i(34, dt = !1), i(35, ft = !1);
10205
+ v.type === "touchend" && Ds(), i(34, ft = !1), i(35, ht = !1);
10199
10206
  }
10200
10207
  function dc(v) {
10201
10208
  const A = v.target;
@@ -10209,10 +10216,10 @@ function z1(t, e, i) {
10209
10216
  const A = v.target;
10210
10217
  Ye && u && (A === u || u.contains(A)) && (i(33, it = !0), !Ju(A) && !A.closest(".rsPipVal") && tr(ci(v))), (Ye || Te) && Ds();
10211
10218
  }
10212
- Ye = !1, i(34, dt = !1), Te = !1, i(35, ft = !1);
10219
+ Ye = !1, i(34, ft = !1), Te = !1, i(35, ht = !1);
10213
10220
  }
10214
10221
  function pc(v) {
10215
- Ye = !1, i(34, dt = !1), Te = !1, i(35, ft = !1);
10222
+ Ye = !1, i(34, ft = !1), Te = !1, i(35, ht = !1);
10216
10223
  }
10217
10224
  function mc(v) {
10218
10225
  const A = v.target;
@@ -10232,7 +10239,7 @@ function z1(t, e, i) {
10232
10239
  activeHandle: se,
10233
10240
  startValue: v,
10234
10241
  value: m[se],
10235
- values: m.map((A) => pt(A, h, f, g, c, P))
10242
+ values: m.map((A) => mt(A, h, f, g, c, P))
10236
10243
  });
10237
10244
  }
10238
10245
  function _c() {
@@ -10243,7 +10250,7 @@ function z1(t, e, i) {
10243
10250
  startValue: v,
10244
10251
  previousValue: A,
10245
10252
  value: m[se],
10246
- values: m.map((ee) => pt(ee, h, f, g, c, P))
10253
+ values: m.map((ee) => mt(ee, h, f, g, c, P))
10247
10254
  });
10248
10255
  }
10249
10256
  function vc(v, A) {
@@ -10256,13 +10263,13 @@ function z1(t, e, i) {
10256
10263
  });
10257
10264
  }
10258
10265
  return t.$$set = (v) => {
10259
- "slider" in v && i(0, u = v.slider), "precision" in v && i(10, c = v.precision), "range" in v && i(11, d = v.range), "pushy" in v && i(59, p = v.pushy), "draggy" in v && i(12, _ = v.draggy), "min" in v && i(1, h = v.min), "max" in v && i(2, f = v.max), "step" in v && i(3, g = v.step), "values" in v && i(4, m = v.values), "value" in v && i(9, b = v.value), "vertical" in v && i(13, w = v.vertical), "float" in v && i(14, E = v.float), "rangeFloat" in v && i(15, S = v.rangeFloat), "reversed" in v && i(16, y = v.reversed), "hoverable" in v && i(17, $ = v.hoverable), "disabled" in v && i(18, F = v.disabled), "limits" in v && i(19, P = v.limits), "rangeGapMin" in v && i(57, B = v.rangeGapMin), "rangeGapMax" in v && i(58, L = v.rangeGapMax), "pips" in v && i(20, K = v.pips), "pipstep" in v && i(21, ne = v.pipstep), "all" in v && i(22, Y = v.all), "first" in v && i(31, le = v.first), "last" in v && i(23, re = v.last), "rest" in v && i(24, be = v.rest), "prefix" in v && i(25, tt = v.prefix), "suffix" in v && i(26, Ne = v.suffix), "formatter" in v && i(5, Oe = v.formatter), "handleFormatter" in v && i(6, xe = v.handleFormatter), "rangeFormatter" in v && i(7, Ue = v.rangeFormatter), "ariaLabels" in v && i(8, C = v.ariaLabels), "id" in v && i(27, Ce = v.id), "class" in v && i(28, ye = v.class), "style" in v && i(29, yt = v.style), "darkmode" in v && i(30, wt = v.darkmode), "springValues" in v && i(60, ze = v.springValues), "spring" in v && i(61, Pi = v.spring);
10266
+ "slider" in v && i(0, u = v.slider), "precision" in v && i(10, c = v.precision), "range" in v && i(11, d = v.range), "pushy" in v && i(59, p = v.pushy), "draggy" in v && i(12, _ = v.draggy), "min" in v && i(1, h = v.min), "max" in v && i(2, f = v.max), "step" in v && i(3, g = v.step), "values" in v && i(4, m = v.values), "value" in v && i(9, b = v.value), "vertical" in v && i(13, w = v.vertical), "float" in v && i(14, E = v.float), "rangeFloat" in v && i(15, S = v.rangeFloat), "reversed" in v && i(16, y = v.reversed), "hoverable" in v && i(17, $ = v.hoverable), "disabled" in v && i(18, F = v.disabled), "limits" in v && i(19, P = v.limits), "rangeGapMin" in v && i(57, B = v.rangeGapMin), "rangeGapMax" in v && i(58, L = v.rangeGapMax), "pips" in v && i(20, K = v.pips), "pipstep" in v && i(21, ne = v.pipstep), "all" in v && i(22, Y = v.all), "first" in v && i(31, le = v.first), "last" in v && i(23, re = v.last), "rest" in v && i(24, be = v.rest), "prefix" in v && i(25, tt = v.prefix), "suffix" in v && i(26, Ne = v.suffix), "formatter" in v && i(5, Oe = v.formatter), "handleFormatter" in v && i(6, xe = v.handleFormatter), "rangeFormatter" in v && i(7, Ue = v.rangeFormatter), "ariaLabels" in v && i(8, C = v.ariaLabels), "id" in v && i(27, Ce = v.id), "class" in v && i(28, ye = v.class), "style" in v && i(29, wt = v.style), "darkmode" in v && i(30, St = v.darkmode), "springValues" in v && i(60, ze = v.springValues), "spring" in v && i(61, Pi = v.spring);
10260
10267
  }, t.$$.update = () => {
10261
10268
  t.$$.dirty[0] & /*value*/
10262
10269
  512 && an(), t.$$.dirty[0] & /*range, min, max, step, precision, limits, slider, values, value*/
10263
10270
  527903 | t.$$.dirty[2] & /*valueLength*/
10264
10271
  1 && ((v, A) => {
10265
- const we = U1(v, d).map((Ve) => pt(Ve, h, f, g, c, P));
10272
+ const we = U1(v, d).map((Ve) => mt(Ve, h, f, g, c, P));
10266
10273
  (v.length !== we.length || !v.every((Ve, yc) => _e(Ve, c) === we[yc])) && (v = we), $i !== v.length ? Yu(v) : u && Xu(v), i(4, m = v), i(62, $i = v.length);
10267
10274
  })(m), t.$$.dirty[0] & /*values*/
10268
10275
  16 && ln(), t.$$.dirty[0] & /*ariaLabels*/
@@ -10309,13 +10316,13 @@ function z1(t, e, i) {
10309
10316
  Ne,
10310
10317
  Ce,
10311
10318
  ye,
10312
- yt,
10313
10319
  wt,
10320
+ St,
10314
10321
  le,
10315
10322
  Dt,
10316
10323
  it,
10317
- dt,
10318
10324
  ft,
10325
+ ht,
10319
10326
  se,
10320
10327
  Li,
10321
10328
  Fe,
@@ -10323,7 +10330,7 @@ function z1(t, e, i) {
10323
10330
  r,
10324
10331
  n,
10325
10332
  o,
10326
- St,
10333
+ Et,
10327
10334
  rc,
10328
10335
  sc,
10329
10336
  oc,
@@ -10719,7 +10726,7 @@ const q1 = J({
10719
10726
  };
10720
10727
  function G1(t, e, i, n, r, s) {
10721
10728
  return I(), M("div", K1, [
10722
- vt(V("input", {
10729
+ bt(V("input", {
10723
10730
  "onUpdate:modelValue": e[0] || (e[0] = (o) => t.modelValue = o),
10724
10731
  type: "hidden"
10725
10732
  }, null, 512), [
@@ -10729,7 +10736,7 @@ function G1(t, e, i, n, r, s) {
10729
10736
  }
10730
10737
  const O0 = /* @__PURE__ */ ie(q1, [["render", G1]]);
10731
10738
  var Zn, te, hu, Rt, ha, pu, mu, gu, As, xr, Ur, Qi = {}, _u = [], W1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Qn = Array.isArray;
10732
- function mt(t, e) {
10739
+ function gt(t, e) {
10733
10740
  for (var i in e) t[i] = e[i];
10734
10741
  return t;
10735
10742
  }
@@ -10771,7 +10778,7 @@ function pa(t) {
10771
10778
  (!t.__d && (t.__d = !0) && Rt.push(t) && !Vn.__r++ || ha != te.debounceRendering) && ((ha = te.debounceRendering) || pu)(Vn);
10772
10779
  }
10773
10780
  function Vn() {
10774
- for (var t, e, i, n, r, s, o, a = 1; Rt.length; ) Rt.length > a && Rt.sort(mu), t = Rt.shift(), a = Rt.length, t.__d && (i = void 0, n = void 0, r = (n = (e = t).__v).__e, s = [], o = [], e.__P && ((i = mt({}, n)).__v = n.__v + 1, te.vnode && te.vnode(i), Os(e.__P, i, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [r] : null, s, r ?? ki(n), !!(32 & n.__u), o), i.__v = n.__v, i.__.__k[i.__i] = i, wu(s, i, o), n.__e = n.__ = null, i.__e != r && vu(i)));
10781
+ for (var t, e, i, n, r, s, o, a = 1; Rt.length; ) Rt.length > a && Rt.sort(mu), t = Rt.shift(), a = Rt.length, t.__d && (i = void 0, n = void 0, r = (n = (e = t).__v).__e, s = [], o = [], e.__P && ((i = gt({}, n)).__v = n.__v + 1, te.vnode && te.vnode(i), Os(e.__P, i, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [r] : null, s, r ?? ki(n), !!(32 & n.__u), o), i.__v = n.__v, i.__.__k[i.__i] = i, wu(s, i, o), n.__e = n.__ = null, i.__e != r && vu(i)));
10775
10782
  Vn.__r = 0;
10776
10783
  }
10777
10784
  function bu(t, e, i, n, r, s, o, a, l, u, c) {
@@ -10841,7 +10848,7 @@ function Os(t, e, i, n, r, s, o, a, l, u) {
10841
10848
  if (e.constructor !== void 0) return null;
10842
10849
  128 & i.__u && (l = !!(32 & i.__u), s = [a = e.__e = i.__e]), (c = te.__b) && c(e);
10843
10850
  e: if (typeof L == "function") try {
10844
- if (m = e.props, b = "prototype" in L && L.prototype.render, w = (c = L.contextType) && n[c.__c], E = c ? w ? w.props.value : c.__ : n, i.__c ? g = (d = e.__c = i.__c).__ = d.__E : (b ? e.__c = d = new L(m, E) : (e.__c = d = new In(m, E), d.constructor = L, d.render = Q1), w && w.sub(d), d.state || (d.state = {}), d.__n = n, p = d.__d = !0, d.__h = [], d._sb = []), b && d.__s == null && (d.__s = d.state), b && L.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = mt({}, d.__s)), mt(d.__s, L.getDerivedStateFromProps(m, d.__s))), _ = d.props, h = d.state, d.__v = e, p) b && L.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), b && d.componentDidMount != null && d.__h.push(d.componentDidMount);
10851
+ if (m = e.props, b = "prototype" in L && L.prototype.render, w = (c = L.contextType) && n[c.__c], E = c ? w ? w.props.value : c.__ : n, i.__c ? g = (d = e.__c = i.__c).__ = d.__E : (b ? e.__c = d = new L(m, E) : (e.__c = d = new In(m, E), d.constructor = L, d.render = Q1), w && w.sub(d), d.state || (d.state = {}), d.__n = n, p = d.__d = !0, d.__h = [], d._sb = []), b && d.__s == null && (d.__s = d.state), b && L.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = gt({}, d.__s)), gt(d.__s, L.getDerivedStateFromProps(m, d.__s))), _ = d.props, h = d.state, d.__v = e, p) b && L.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), b && d.componentDidMount != null && d.__h.push(d.componentDidMount);
10845
10852
  else {
10846
10853
  if (b && L.getDerivedStateFromProps == null && m !== _ && d.componentWillReceiveProps != null && d.componentWillReceiveProps(m, E), e.__v == i.__v || !d.__e && d.shouldComponentUpdate != null && d.shouldComponentUpdate(m, d.__s, E) === !1) {
10847
10854
  for (e.__v != i.__v && (d.props = m, d.state = d.__s, d.__d = !1), e.__e = i.__e, e.__k = i.__k, e.__k.some(function(K) {
@@ -10860,7 +10867,7 @@ function Os(t, e, i, n, r, s, o, a, l, u) {
10860
10867
  } else do
10861
10868
  d.__d = !1, y && y(e), c = d.render(d.props, d.state, d.context), d.state = d.__s;
10862
10869
  while (d.__d && ++$ < 25);
10863
- d.state = d.__s, d.getChildContext != null && (n = mt(mt({}, n), d.getChildContext())), b && !p && d.getSnapshotBeforeUpdate != null && (f = d.getSnapshotBeforeUpdate(_, h)), P = c, c != null && c.type === Ai && c.key == null && (P = Su(c.props.children)), a = bu(t, Qn(P) ? P : [P], e, i, n, r, s, o, a, l, u), d.base = e.__e, e.__u &= -161, d.__h.length && o.push(d), g && (d.__E = d.__ = null);
10870
+ d.state = d.__s, d.getChildContext != null && (n = gt(gt({}, n), d.getChildContext())), b && !p && d.getSnapshotBeforeUpdate != null && (f = d.getSnapshotBeforeUpdate(_, h)), P = c, c != null && c.type === Ai && c.key == null && (P = Su(c.props.children)), a = bu(t, Qn(P) ? P : [P], e, i, n, r, s, o, a, l, u), d.base = e.__e, e.__u &= -161, d.__h.length && o.push(d), g && (d.__E = d.__ = null);
10864
10871
  } catch (K) {
10865
10872
  if (e.__v = null, l || s != null) if (K.then) {
10866
10873
  for (e.__u |= l ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
@@ -10891,7 +10898,7 @@ function wu(t, e, i) {
10891
10898
  });
10892
10899
  }
10893
10900
  function Su(t) {
10894
- return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Qn(t) ? t.map(Su) : mt({}, t);
10901
+ return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Qn(t) ? t.map(Su) : gt({}, t);
10895
10902
  }
10896
10903
  function Z1(t, e, i, n, r, s, o, a, l) {
10897
10904
  var u, c, d, p, _, h, f, g = i.props || Qi, m = e.props, b = e.type;
@@ -10961,7 +10968,7 @@ Zn = _u.slice, te = { __e: function(t, e, i, n) {
10961
10968
  throw t;
10962
10969
  } }, hu = 0, In.prototype.setState = function(t, e) {
10963
10970
  var i;
10964
- i = this.__s != null && this.__s != this.state ? this.__s : this.__s = mt({}, this.state), typeof t == "function" && (t = t(mt({}, i), this.props)), t && mt(i, t), t != null && this.__v && (e && this._sb.push(e), pa(this));
10971
+ i = this.__s != null && this.__s != this.state ? this.__s : this.__s = gt({}, this.state), typeof t == "function" && (t = t(gt({}, i), this.props)), t && gt(i, t), t != null && this.__v && (e && this._sb.push(e), pa(this));
10965
10972
  }, In.prototype.forceUpdate = function(t) {
10966
10973
  this.__v && (this.__e = !0, t && this.__h.push(t), pa(this));
10967
10974
  }, In.prototype.render = Ai, Rt = [], pu = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, mu = function(t, e) {
@@ -11342,7 +11349,7 @@ const Mu = Symbol("uppy"), p_ = J({
11342
11349
  }
11343
11350
  },
11344
11351
  setup(t, { slots: e }) {
11345
- const i = Tt("init"), n = Tt(0), r = La({
11352
+ const i = ut("init"), n = ut(0), r = La({
11346
11353
  uppy: Ic(t.uppy),
11347
11354
  status: "init",
11348
11355
  progress: 0
@@ -11381,7 +11388,7 @@ const m_ = J({
11381
11388
  name: "Dropzone",
11382
11389
  props: ["width", "height", "note", "noClick"],
11383
11390
  setup(t) {
11384
- const e = Tt(null), i = $u();
11391
+ const e = ut(null), i = $u();
11385
11392
  function n() {
11386
11393
  e.value && Cu(Is(s_, {
11387
11394
  ...t,
@@ -11400,7 +11407,7 @@ const m_ = J({
11400
11407
  name: "FilesList",
11401
11408
  props: ["editFile", "imageThumbnail"],
11402
11409
  setup(t) {
11403
- const e = Tt(null), i = $u();
11410
+ const e = ut(null), i = $u();
11404
11411
  function n() {
11405
11412
  e.value && Cu(Is(d_, {
11406
11413
  ...t,
@@ -12031,7 +12038,7 @@ const yn = {
12031
12038
  error: null,
12032
12039
  recoveredState: null
12033
12040
  };
12034
- var Xe, Ze, nn, zt, pi, mi, qt, N, Vt, Yr, xu, Uu, zu, Xr, Zr, Qr, Jr, Rn, es, Kt, qu, Ku, At, rn, zi, Gu, ts, qi;
12041
+ var Xe, Ze, nn, zt, pi, mi, qt, N, Vt, Yr, xu, Uu, zu, Xr, Zr, Qr, Jr, Rn, es, Kt, qu, Ku, kt, rn, zi, Gu, ts, qi;
12035
12042
  const Hn = class Hn {
12036
12043
  /**
12037
12044
  * Instantiate Uppy
@@ -12092,7 +12099,7 @@ const Hn = class Hn {
12092
12099
  // - We must throttle at around >500ms to avoid performance lags.
12093
12100
  // [Practical Check] Firefox, try to upload a big file for a prolonged period of time. Laptop will start to heat up.
12094
12101
  me(this, Kt, Hv(() => q(this, N, es).call(this), 500, { leading: !0, trailing: !0 }));
12095
- me(this, At, this.updateOnlineStatus.bind(this));
12102
+ me(this, kt, this.updateOnlineStatus.bind(this));
12096
12103
  // We need to store request clients by a unique ID, so we can share RequestClient instances across files
12097
12104
  // this allows us to do rate limiting and synchronous operations like refreshing provider tokens
12098
12105
  // example: refreshing tokens: if each file has their own requestclient,
@@ -12561,7 +12568,7 @@ Uppy plugins must have unique \`id\` options.`;
12561
12568
  destroy() {
12562
12569
  this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`), this.cancelAll(), j(this, nn).call(this), this.iteratePlugins((e) => {
12563
12570
  this.removePlugin(e);
12564
- }), typeof window < "u" && window.removeEventListener && (window.removeEventListener("online", j(this, At)), window.removeEventListener("offline", j(this, At)));
12571
+ }), typeof window < "u" && window.removeEventListener && (window.removeEventListener("online", j(this, kt)), window.removeEventListener("offline", j(this, kt)));
12565
12572
  }
12566
12573
  hideInfo() {
12567
12574
  const { info: e } = this.getState();
@@ -12962,8 +12969,8 @@ Ku = function() {
12962
12969
  j(this, Kt).call(this);
12963
12970
  }), this.on("dashboard:file-edit-complete", (r) => {
12964
12971
  r && q(this, N, Yr).call(this, r);
12965
- }), typeof window < "u" && window.addEventListener && (window.addEventListener("online", j(this, At)), window.addEventListener("offline", j(this, At)), setTimeout(j(this, At), 3e3));
12966
- }, At = new WeakMap(), rn = new WeakMap(), /**
12972
+ }), typeof window < "u" && window.addEventListener && (window.addEventListener("online", j(this, kt)), window.addEventListener("offline", j(this, kt)), setTimeout(j(this, kt), 3e3));
12973
+ }, kt = new WeakMap(), rn = new WeakMap(), /**
12967
12974
  * Create an upload for a bunch of files.
12968
12975
  *
12969
12976
  */
@@ -13079,7 +13086,7 @@ const Xv = {
13079
13086
  ],
13080
13087
  setup(t, { emit: e }) {
13081
13088
  var h;
13082
- const i = t, n = e, r = Tt(null), s = Tt(null), o = Tc(null), a = W("form", { value: {}, errors: {}, getID: (f) => f }), l = W("group", null), u = De({
13089
+ const i = t, n = e, r = ut(null), s = ut(null), o = Tc(null), a = W("form", { value: {}, errors: {}, getID: (f) => f }), l = W("group", null), u = De({
13083
13090
  get() {
13084
13091
  var f;
13085
13092
  return (f = l == null ? void 0 : l.value) != null && f.name ? l.value.getData(i.name) : a.value[i.name];
@@ -13130,7 +13137,7 @@ const Xv = {
13130
13137
  }), sn(() => {
13131
13138
  var g, m, b, w;
13132
13139
  let f;
13133
- i.useXHR && import("./index-DDeH7mQp.js").then((E) => {
13140
+ i.useXHR && import("./index-SfPqU1M1.js").then((E) => {
13134
13141
  f = E.default, o.value.use(f, {
13135
13142
  method: "POST",
13136
13143
  endpoint: i.url,
@@ -13179,7 +13186,7 @@ const Xv = {
13179
13186
  name: "uu" + t.name,
13180
13187
  uppy: o.value
13181
13188
  }, {
13182
- default: Ot(() => [
13189
+ default: Tt(() => [
13183
13190
  de(f.$slots, "default", { uppy: o.value }, () => [
13184
13191
  Je(nr(g_), { class: "uppy-file-lists" }),
13185
13192
  Je(nr(m_))