sprof 0.2.11 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  var Ru = Object.defineProperty;
2
2
  var Pu = (t, e, i) => e in t ? Ru(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var a = (t, e, i) => Pu(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { Notify as gr, Dialog as vr, QIcon as Me, QTabs as Au, QTab as Eu, QSpace as wn, QBtnToggle as Eo, QCard as In, QCardSection as li, QCardActions as Oo, QBadge as Ou, QBtn as tn, QCheckbox as Du, QChip as zu, QInput as vs, QPopupProxy as Fu, QDate as Lu, date as Do, QDialog as Bu, QItemLabel as Hu, QTooltip as zo, QMenu as _u, QList as ga, QItem as va, QScrollArea as qu, QItemSection as Uu, QSelect as Nu, QRadio as Vu, QTd as ju, QToggle as Wu, QSeparator as Gu, QUploader as Yu, QUploaderAddTrigger as Xu, QImg as Zu, ClosePopup as Qu, Quasar as Ju } from "quasar";
5
- import { reactive as Rt, ref as L, openBlock as g, createElementBlock as w, createElementVNode as v, onBeforeMount as Ht, defineComponent as _, computed as X, watch as ot, onBeforeUnmount as ys, resolveComponent as ne, createVNode as b, unref as p, toDisplayString as Y, Fragment as Z, withCtx as R, renderList as be, createBlock as N, createCommentVNode as K, createTextVNode as Pe, normalizeStyle as O, normalizeClass as pe, withModifiers as Je, renderSlot as A, withKeys as ls, useAttrs as _t, mergeProps as ft, useModel as qt, mergeModels as Ne, createSlots as ws, resolveDirective as Dn, isRef as mt, withDirectives as di, normalizeProps as Js, guardReactiveProps as Ks, useCssVars as Br, onMounted as zn, nextTick as ya, createStaticVNode as wa, onUpdated as Ku, mergeDefaults as ed, useTemplateRef as td, onUnmounted as id, resolveDynamicComponent as Tn, vShow as ba } from "vue";
4
+ import { Notify as gr, Dialog as vr, QIcon as Me, QTabs as Au, QTab as Eu, QSpace as wn, QBtnToggle as Eo, QCard as In, QCardSection as ui, QCardActions as Oo, QBadge as Ou, QBtn as tn, QCheckbox as Du, QChip as zu, QInput as vs, QPopupProxy as Fu, QDate as Lu, date as Do, QDialog as Bu, QItemLabel as Hu, QTooltip as zo, QMenu as _u, QList as ga, QItem as va, QScrollArea as qu, QItemSection as Uu, QSelect as Nu, QRadio as Vu, QTd as ju, QToggle as Wu, QSeparator as Gu, QUploader as Yu, QUploaderAddTrigger as Xu, QImg as Zu, ClosePopup as Qu, Quasar as Ju } from "quasar";
5
+ import { reactive as Rt, ref as L, openBlock as g, createElementBlock as w, createElementVNode as v, onBeforeMount as Ht, defineComponent as _, computed as X, watch as ot, onBeforeUnmount as ys, resolveComponent as ne, createVNode as b, unref as p, toDisplayString as Y, Fragment as Z, withCtx as R, renderList as be, createBlock as N, createCommentVNode as K, createTextVNode as Pe, normalizeStyle as O, normalizeClass as pe, withModifiers as Je, renderSlot as A, withKeys as ls, useAttrs as _t, mergeProps as ft, useModel as qt, mergeModels as Ne, createSlots as ws, resolveDirective as Dn, isRef as mt, withDirectives as ci, normalizeProps as Js, guardReactiveProps as Ks, useCssVars as Br, onMounted as zn, nextTick as ya, createStaticVNode as wa, onUpdated as Ku, mergeDefaults as ed, useTemplateRef as td, onUnmounted as id, resolveDynamicComponent as Tn, vShow as ba } from "vue";
6
6
  import yr from "vuedraggable";
7
7
  import { onBeforeRouteLeave as nd } from "vue-router";
8
8
  var ct = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(ct || {}), Ee = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(Ee || {});
@@ -669,16 +669,16 @@ var Ho;
669
669
  } : function(k, T) {
670
670
  return k[T];
671
671
  }
672
- }, h = Object.getPrototypeOf(Function), f = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : ji(), C = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : js(), $ = typeof WeakMap == "function" ? WeakMap : Ws(), P = s ? Symbol.for("@reflect-metadata:registry") : void 0, E = Yn(), M = Ns(E);
672
+ }, h = Object.getPrototypeOf(Function), f = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : ji(), x = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : js(), $ = typeof WeakMap == "function" ? WeakMap : Ws(), P = s ? Symbol.for("@reflect-metadata:registry") : void 0, E = Yn(), M = Ns(E);
673
673
  function z(k, T, D, U) {
674
674
  if (re(D)) {
675
- if (!ri(k))
675
+ if (!oi(k))
676
676
  throw new TypeError();
677
677
  if (!ki(T))
678
678
  throw new TypeError();
679
679
  return Le(k, T);
680
680
  } else {
681
- if (!ri(k))
681
+ if (!oi(k))
682
682
  throw new TypeError();
683
683
  if (!Oe(T))
684
684
  throw new TypeError();
@@ -726,7 +726,7 @@ var Ho;
726
726
  function Te(k, T, D) {
727
727
  if (!Oe(T))
728
728
  throw new TypeError();
729
- return re(D) || (D = vt(D)), fi(k, T, D);
729
+ return re(D) || (D = vt(D)), ri(k, T, D);
730
730
  }
731
731
  e("getOwnMetadata", Te);
732
732
  function At(k, T) {
@@ -797,12 +797,12 @@ var Ho;
797
797
  function Yt(k, T, D) {
798
798
  var U = Gt(k, T, D);
799
799
  if (U)
800
- return fi(k, T, D);
800
+ return ri(k, T, D);
801
801
  var le = Nt(T);
802
802
  if (!Ke(le))
803
803
  return Yt(k, le, D);
804
804
  }
805
- function fi(k, T, D) {
805
+ function ri(k, T, D) {
806
806
  var U = Ii(
807
807
  T,
808
808
  D,
@@ -830,7 +830,7 @@ var Ho;
830
830
  return D;
831
831
  if (D.length <= 0)
832
832
  return le;
833
- for (var _e = new C(), qe = [], ge = 0, G = D; ge < G.length; ge++) {
833
+ for (var _e = new x(), qe = [], ge = 0, G = D; ge < G.length; ge++) {
834
834
  var J = G[ge], ee = _e.has(J);
835
835
  ee || (_e.add(J), qe.push(J));
836
836
  }
@@ -933,7 +933,7 @@ var Ho;
933
933
  var T = we(k);
934
934
  return Xt(T) ? T : Vi(T);
935
935
  }
936
- function ri(k) {
936
+ function oi(k) {
937
937
  return Array.isArray ? Array.isArray(k) : k instanceof Object ? k instanceof Array : Object.prototype.toString.call(k) === "[object Array]";
938
938
  }
939
939
  function je(k) {
@@ -1019,7 +1019,7 @@ var Ho;
1019
1019
  case D === ie:
1020
1020
  break;
1021
1021
  default:
1022
- U === void 0 && (U = new C()), U.add(ie);
1022
+ U === void 0 && (U = new x()), U.add(ie);
1023
1023
  break;
1024
1024
  }
1025
1025
  }
@@ -1178,7 +1178,7 @@ var Ho;
1178
1178
  var T = k.defineMetadata, D = k.hasOwnMetadata, U = k.getOwnMetadata, le = k.getOwnMetadataKeys, _e = k.deleteMetadata, qe = new $(), ge = {
1179
1179
  isProviderFor: function(G, J) {
1180
1180
  var ee = qe.get(G);
1181
- return !re(ee) && ee.has(J) ? !0 : le(G, J).length ? (re(ee) && (ee = new C(), qe.set(G, ee)), ee.add(J), !0) : !1;
1181
+ return !re(ee) && ee.has(J) ? !0 : le(G, J).length ? (re(ee) && (ee = new x(), qe.set(G, ee)), ee.add(J), !0) : !1;
1182
1182
  },
1183
1183
  OrdinaryDefineOwnMetadata: T,
1184
1184
  OrdinaryHasOwnMetadata: D,
@@ -1822,9 +1822,9 @@ class qr {
1822
1822
  Q.BuildClass(this, e);
1823
1823
  }
1824
1824
  }
1825
- var ai;
1826
- let kd = (ai = class {
1827
- }, a(ai, "Phone", zi), a(ai, "FileInfo", wt), a(ai, "Website", qr), a(ai, "Email", Di), a(ai, "Human", $a), a(ai, "PostAddress", ds), a(ai, "UserAccount", Cs), ai);
1825
+ var li;
1826
+ let kd = (li = class {
1827
+ }, a(li, "Phone", zi), a(li, "FileInfo", wt), a(li, "Website", qr), a(li, "Email", Di), a(li, "Human", $a), a(li, "PostAddress", ds), a(li, "UserAccount", Cs), li);
1828
1828
  var Be = /* @__PURE__ */ ((t) => (t.Eq = "=", t.Ne = "!=", t.Gt = ">", t.Lt = "<", t.Btw = "between", t.In = "in", t.Like = "like", t.Null = "is null", t.NotNull = "is not null", t))(Be || {});
1829
1829
  class xs {
1830
1830
  constructor(e) {
@@ -1918,7 +1918,7 @@ let Ia = class Ma {
1918
1918
  return L(this);
1919
1919
  }
1920
1920
  };
1921
- class ci {
1921
+ class hi {
1922
1922
  static Shuffle(e) {
1923
1923
  for (let i = e.length - 1; i > 0; i--) {
1924
1924
  const n = Math.floor(Math.random() * (i + 1));
@@ -1996,12 +1996,12 @@ const Ta = class bn {
1996
1996
  return !1;
1997
1997
  if (this.type === Ze.Join) {
1998
1998
  const i = e.model === this.model && e.operator === this.operator && this.joinTableModel === e.joinTableModel;
1999
- return e.operator === Be.In ? i && ci.Eq(this.set, e.set) : i;
1999
+ return e.operator === Be.In ? i && hi.Eq(this.set, e.set) : i;
2000
2000
  }
2001
2001
  return e.model === this.model && e.col === this.col && e.operator === this.operator;
2002
2002
  }
2003
2003
  valueEq(e) {
2004
- return !this || !e || !this.eq(e) ? !1 : this.type === Ze.Boolean ? this.boolean === (e == null ? void 0 : e.boolean) : this.type === Ze.String ? this.value1 === (e == null ? void 0 : e.value1) : this.type === Ze.Join && this.set.length ? ci.Eq(this.set, e.set) : !1;
2004
+ return !this || !e || !this.eq(e) ? !1 : this.type === Ze.Boolean ? this.boolean === (e == null ? void 0 : e.boolean) : this.type === Ze.String ? this.value1 === (e == null ? void 0 : e.value1) : this.type === Ze.Join && this.set.length ? hi.Eq(this.set, e.set) : !1;
2005
2005
  }
2006
2006
  toUrlQuery() {
2007
2007
  const e = this.type ? `"type":"${this.type}"` : "", i = this.model ? `"model":"${this.model}"` : "", n = this.col ? `"col":"${this.col}"` : "", s = this.operator ? `"operator":"${this.operator}"` : "", r = this.value1 ? `"value1":"${this.value1}"` : "", o = this.type === Ze.Boolean ? `"boolean":${this.boolean}` : "", u = this.type === Ze.Date && this.date1 ? `"date1":"${this.date1.toISOString()}"` : "", l = this.type === Ze.Date && this.date2 ? `"date2":"${this.date2.toISOString()}"` : "", d = this.type === Ze.Number ? `"number":${this.number}` : "", c = this.type === Ze.Set || this.operator === Be.In ? `"set":${JSON.stringify(this.set)}` : "", h = this.type === Ze.Join ? `"joinTableModel":"${this.joinTableModel}"` : "";
@@ -2229,7 +2229,7 @@ const dn = (St = class {
2229
2229
  return this.f.find((i) => e.id === i.id);
2230
2230
  }
2231
2231
  getFirstSortModel() {
2232
- return ci.GetLast(this.s);
2232
+ return hi.GetLast(this.s);
2233
2233
  }
2234
2234
  setSortModel(e) {
2235
2235
  e && (this.s[0] = e);
@@ -2272,10 +2272,10 @@ Ln([
2272
2272
  Ln([
2273
2273
  Q.GetClassConstructor($s)
2274
2274
  ], dn.prototype, "t");
2275
- let hi = dn;
2275
+ let fi = dn;
2276
2276
  var Yi;
2277
2277
  let Rd = (Yi = class {
2278
- }, a(Yi, "SortModel", ks), a(Yi, "FilterModel", Nr), a(Yi, "FilterModelV2", Ia), a(Yi, "FTSP", hi), Yi);
2278
+ }, a(Yi, "SortModel", ks), a(Yi, "FilterModel", Nr), a(Yi, "FilterModelV2", Ia), a(Yi, "FTSP", fi), Yi);
2279
2279
  function Ra(t, e) {
2280
2280
  return function() {
2281
2281
  return t.apply(e, arguments);
@@ -2981,7 +2981,7 @@ function Ms(t, e, i) {
2981
2981
  j.ERR_FORM_DATA_DEPTH_EXCEEDED
2982
2982
  );
2983
2983
  }
2984
- function C(M, z) {
2984
+ function x(M, z) {
2985
2985
  if (l === 1 / 0)
2986
2986
  return JSON.stringify(M);
2987
2987
  const I = [];
@@ -2999,7 +2999,7 @@ function Ms(t, e, i) {
2999
2999
  return e.append(rr(I, z, r), h(M)), !1;
3000
3000
  if (M && !I && typeof M == "object") {
3001
3001
  if (S.endsWith(z, "{}"))
3002
- z = n ? z : z.slice(0, -2), M = C(M, 1);
3002
+ z = n ? z : z.slice(0, -2), M = x(M, 1);
3003
3003
  else if (S.isArray(M) && zc(M) || (S.isFileList(M) || S.endsWith(z, "[]")) && (q = S.toArray(M)))
3004
3004
  return z = qa(z), q.forEach(function(de, he) {
3005
3005
  !(S.isUndefined(de) || de === null) && e.append(
@@ -3337,8 +3337,8 @@ function Qc(t, e) {
3337
3337
  f += i[h++], h = h % t;
3338
3338
  if (s = (s + 1) % t, s === r && (r = (r + 1) % t), d - o < e)
3339
3339
  return;
3340
- const C = c && d - c;
3341
- return C ? Math.round(f * 1e3 / C) : void 0;
3340
+ const x = c && d - c;
3341
+ return x ? Math.round(f * 1e3 / x) : void 0;
3342
3342
  };
3343
3343
  }
3344
3344
  function Jc(t, e) {
@@ -3467,14 +3467,14 @@ function Li(t, e) {
3467
3467
  writable: !0,
3468
3468
  configurable: !0
3469
3469
  });
3470
- function n(c, h, f, C) {
3471
- return S.isPlainObject(c) && S.isPlainObject(h) ? S.merge.call({ caseless: C }, c, h) : S.isPlainObject(h) ? S.merge({}, h) : S.isArray(h) ? h.slice() : h;
3470
+ function n(c, h, f, x) {
3471
+ return S.isPlainObject(c) && S.isPlainObject(h) ? S.merge.call({ caseless: x }, c, h) : S.isPlainObject(h) ? S.merge({}, h) : S.isArray(h) ? h.slice() : h;
3472
3472
  }
3473
- function s(c, h, f, C) {
3473
+ function s(c, h, f, x) {
3474
3474
  if (S.isUndefined(h)) {
3475
3475
  if (!S.isUndefined(c))
3476
- return n(void 0, c, f, C);
3477
- } else return n(c, h, f, C);
3476
+ return n(void 0, c, f, x);
3477
+ } else return n(c, h, f, x);
3478
3478
  }
3479
3479
  function r(c, h) {
3480
3480
  if (!S.isUndefined(h))
@@ -3538,7 +3538,7 @@ function Li(t, e) {
3538
3538
  };
3539
3539
  return S.forEach(Object.keys({ ...t, ...e }), function(h) {
3540
3540
  if (h === "__proto__" || h === "constructor" || h === "prototype") return;
3541
- const f = S.hasOwnProp(d, h) ? d[h] : s, C = S.hasOwnProp(t, h) ? t[h] : void 0, $ = S.hasOwnProp(e, h) ? e[h] : void 0, P = f(C, $, h);
3541
+ const f = S.hasOwnProp(d, h) ? d[h] : s, x = S.hasOwnProp(t, h) ? t[h] : void 0, $ = S.hasOwnProp(e, h) ? e[h] : void 0, P = f(x, $, h);
3542
3542
  S.isUndefined(P) && f !== l || (i[h] = P);
3543
3543
  }), S.hasOwnProp(e, "validateStatus") && S.isUndefined(e.validateStatus) && u("validateStatusUndefinedResolves") === !1 && (S.hasOwnProp(t, "validateStatus") ? i.validateStatus = n(void 0, t.validateStatus) : delete i.validateStatus), i;
3544
3544
  }
@@ -3567,19 +3567,19 @@ function Xa(t) {
3567
3567
  i("params"),
3568
3568
  i("paramsSerializer")
3569
3569
  ), l) {
3570
- const f = S.getSafeProp(l, "username") || "", C = S.getSafeProp(l, "password") || "";
3570
+ const f = S.getSafeProp(l, "username") || "", x = S.getSafeProp(l, "password") || "";
3571
3571
  try {
3572
3572
  u.set(
3573
3573
  "Authorization",
3574
- "Basic " + btoa(f + ":" + (C ? uh(C) : ""))
3574
+ "Basic " + btoa(f + ":" + (x ? uh(x) : ""))
3575
3575
  );
3576
3576
  } catch ($) {
3577
3577
  throw j.from($, j.ERR_BAD_OPTION_VALUE, t);
3578
3578
  }
3579
3579
  }
3580
3580
  if (S.isFormData(n) && (it.hasStandardBrowserEnv || it.hasStandardBrowserWebWorkerEnv || S.isReactNative(n) ? u.setContentType(void 0) : S.isFunction(n.getHeaders) && lh(u, n.getHeaders(), i("formDataHeaderPolicy"))), it.hasStandardBrowserEnv && (S.isFunction(s) && (s = s(e)), s === !0 || s == null && Kc(e.url))) {
3581
- const C = r && o && eh.read(o);
3582
- C && u.set(r, C);
3581
+ const x = r && o && eh.read(o);
3582
+ x && u.set(r, x);
3583
3583
  }
3584
3584
  return e;
3585
3585
  }
@@ -3588,9 +3588,9 @@ const dh = typeof XMLHttpRequest < "u", ch = dh && function(t) {
3588
3588
  const s = Xa(t);
3589
3589
  let r = s.data;
3590
3590
  const o = ht.from(s.headers).normalize();
3591
- let { responseType: u, onUploadProgress: l, onDownloadProgress: d } = s, c, h, f, C, $;
3591
+ let { responseType: u, onUploadProgress: l, onDownloadProgress: d } = s, c, h, f, x, $;
3592
3592
  function P() {
3593
- C && C(), $ && $(), s.cancelToken && s.cancelToken.unsubscribe(c), s.signal && s.signal.removeEventListener("abort", c);
3593
+ x && x(), $ && $(), s.cancelToken && s.cancelToken.unsubscribe(c), s.signal && s.signal.removeEventListener("abort", c);
3594
3594
  }
3595
3595
  let E = new XMLHttpRequest();
3596
3596
  E.open(s.method.toUpperCase(), s.url, !0), E.timeout = s.timeout;
@@ -3637,7 +3637,7 @@ const dh = typeof XMLHttpRequest < "u", ch = dh && function(t) {
3637
3637
  ), P(), E = null;
3638
3638
  }, r === void 0 && o.setContentType(null), "setRequestHeader" in E && S.forEach(Ba(o), function(q, W) {
3639
3639
  E.setRequestHeader(W, q);
3640
- }), S.isUndefined(s.withCredentials) || (E.withCredentials = !!s.withCredentials), u && u !== "json" && (E.responseType = s.responseType), d && ([f, $] = fs(d, !0), E.addEventListener("progress", f)), l && E.upload && ([h, C] = fs(l), E.upload.addEventListener("progress", h), E.upload.addEventListener("loadend", C)), (s.cancelToken || s.signal) && (c = (I) => {
3640
+ }), S.isUndefined(s.withCredentials) || (E.withCredentials = !!s.withCredentials), u && u !== "json" && (E.responseType = s.responseType), d && ([f, $] = fs(d, !0), E.addEventListener("progress", f)), l && E.upload && ([h, x] = fs(l), E.upload.addEventListener("progress", h), E.upload.addEventListener("loadend", x)), (s.cancelToken || s.signal) && (c = (I) => {
3641
3641
  E && (n(!I || I.type ? new qn(null, t, E) : I), E.abort(), P(), E = null);
3642
3642
  }, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
3643
3643
  const z = Zc(s.url);
@@ -3747,15 +3747,15 @@ function vh(t) {
3747
3747
  if (/;base64/i.test(i)) {
3748
3748
  let o = n.length;
3749
3749
  const u = n.length;
3750
- for (let C = 0; C < u; C++)
3751
- if (n.charCodeAt(C) === 37 && C + 2 < u) {
3752
- const $ = n.charCodeAt(C + 1), P = n.charCodeAt(C + 2);
3753
- ms($) && ms(P) && (o -= 2, C += 2);
3750
+ for (let x = 0; x < u; x++)
3751
+ if (n.charCodeAt(x) === 37 && x + 2 < u) {
3752
+ const $ = n.charCodeAt(x + 1), P = n.charCodeAt(x + 2);
3753
+ ms($) && ms(P) && (o -= 2, x += 2);
3754
3754
  }
3755
3755
  let l = 0, d = u - 1;
3756
- const c = (C) => C >= 2 && n.charCodeAt(C - 2) === 37 && // '%'
3757
- n.charCodeAt(C - 1) === 51 && // '3'
3758
- (n.charCodeAt(C) === 68 || n.charCodeAt(C) === 100);
3756
+ const c = (x) => x >= 2 && n.charCodeAt(x - 2) === 37 && // '%'
3757
+ n.charCodeAt(x - 1) === 51 && // '3'
3758
+ (n.charCodeAt(x) === 68 || n.charCodeAt(x) === 100);
3759
3759
  d >= 0 && (n.charCodeAt(d) === 61 ? (l++, d--) : c(d) && (l++, d -= 3)), l === 1 && d >= 0 && (n.charCodeAt(d) === 61 || c(d)) && l++;
3760
3760
  const f = Math.floor(o / 4) * 3 - (l || 0);
3761
3761
  return f > 0 ? f : 0;
@@ -3823,8 +3823,8 @@ const Xr = "1.18.1", Qo = 64 * 1024, { isFunction: Zn } = S, yh = (t) => encodeU
3823
3823
  }
3824
3824
  }), I = z.headers.has("Content-Type");
3825
3825
  return z.body != null && z.body.cancel(), M && !I;
3826
- }), C = d && c && Ko(() => S.isReadableStream(new o("").body)), $ = {
3827
- stream: C && ((M) => M.body)
3826
+ }), x = d && c && Ko(() => S.isReadableStream(new o("").body)), $ = {
3827
+ stream: x && ((M) => M.body)
3828
3828
  };
3829
3829
  u && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((M) => {
3830
3830
  !$[M] && ($[M] = (z, I) => {
@@ -3873,7 +3873,7 @@ const Xr = "1.18.1", Qo = 64 * 1024, { isFunction: Zn } = S, yh = (t) => encodeU
3873
3873
  maxContentLength: gt,
3874
3874
  maxBodyLength: Gt
3875
3875
  } = Xa(M);
3876
- const Yt = S.isNumber(gt) && gt > -1, fi = S.isNumber(Gt) && Gt > -1, Et = (we) => S.hasOwnProp(M, we) ? M[we] : void 0;
3876
+ const Yt = S.isNumber(gt) && gt > -1, ri = S.isNumber(Gt) && Gt > -1, Et = (we) => S.hasOwnProp(M, we) ? M[we] : void 0;
3877
3877
  let Ut = s || fetch;
3878
3878
  pt = pt ? (pt + "").toLowerCase() : "text";
3879
3879
  let bt = hh(
@@ -3921,16 +3921,16 @@ const Xr = "1.18.1", Qo = 64 * 1024, { isFunction: Zn } = S, yh = (t) => encodeU
3921
3921
  M,
3922
3922
  ze
3923
3923
  );
3924
- if (fi && I !== "get" && I !== "head") {
3924
+ if (ri && I !== "get" && I !== "head") {
3925
3925
  const fe = await P(q);
3926
3926
  if (typeof fe == "number" && isFinite(fe) && (Ke = fe, fe > Gt))
3927
3927
  throw Oe();
3928
3928
  }
3929
- const lt = fi && (S.isReadableStream(q) || S.isStream(q)), Vi = (fe, We, kt) => Zo(
3929
+ const lt = ri && (S.isReadableStream(q) || S.isStream(q)), Vi = (fe, We, kt) => Zo(
3930
3930
  fe,
3931
3931
  Qo,
3932
3932
  ($t) => {
3933
- if (fi && $t > Gt)
3933
+ if (ri && $t > Gt)
3934
3934
  throw Xt = Oe();
3935
3935
  We && We($t);
3936
3936
  },
@@ -3967,7 +3967,7 @@ const Xr = "1.18.1", Qo = 64 * 1024, { isFunction: Zn } = S, yh = (t) => encodeU
3967
3967
  fe && /^multipart\/form-data/i.test(fe) && !/boundary=/i.test(fe) && Xe.delete("content-type");
3968
3968
  }
3969
3969
  Xe.set("User-Agent", "axios/" + Xr, !1);
3970
- const ri = {
3970
+ const oi = {
3971
3971
  ...xi,
3972
3972
  signal: bt,
3973
3973
  method: I.toUpperCase(),
@@ -3976,8 +3976,8 @@ const Xr = "1.18.1", Qo = 64 * 1024, { isFunction: Zn } = S, yh = (t) => encodeU
3976
3976
  duplex: "half",
3977
3977
  credentials: vt ? Le : void 0
3978
3978
  };
3979
- ze = l && new r(z, ri);
3980
- let je = await (l ? Ut(ze, xi) : Ut(z, ri));
3979
+ ze = l && new r(z, oi);
3980
+ let je = await (l ? Ut(ze, xi) : Ut(z, oi));
3981
3981
  const ki = ht.from(je.headers);
3982
3982
  if (Yt) {
3983
3983
  const fe = S.toFiniteNumber(ki.getContentLength());
@@ -3989,8 +3989,8 @@ const Xr = "1.18.1", Qo = 64 * 1024, { isFunction: Zn } = S, yh = (t) => encodeU
3989
3989
  ze
3990
3990
  );
3991
3991
  }
3992
- const Fe = C && (pt === "stream" || pt === "response");
3993
- if (C && je.body && (Te || Yt || Fe && re)) {
3992
+ const Fe = x && (pt === "stream" || pt === "response");
3993
+ if (x && je.body && (Te || Yt || Fe && re)) {
3994
3994
  const fe = {};
3995
3995
  ["status", "statusText", "headers"].forEach((Zt) => {
3996
3996
  fe[Zt] = je[Zt];
@@ -4022,7 +4022,7 @@ const Xr = "1.18.1", Qo = 64 * 1024, { isFunction: Zn } = S, yh = (t) => encodeU
4022
4022
  je,
4023
4023
  M
4024
4024
  );
4025
- if (Yt && !C && !Fe) {
4025
+ if (Yt && !x && !Fe) {
4026
4026
  let fe;
4027
4027
  if (yt != null && (typeof yt.byteLength == "number" ? fe = yt.byteLength : typeof yt.size == "number" ? fe = yt.size : typeof yt == "string" && (fe = typeof n == "function" ? new n().encode(yt).byteLength : yt.length)), typeof fe == "number" && fe > gt)
4028
4028
  throw new j(
@@ -4328,18 +4328,18 @@ let Ei = class {
4328
4328
  return c;
4329
4329
  }
4330
4330
  f = u.length;
4331
- let C = i;
4331
+ let x = i;
4332
4332
  for (; h < f; ) {
4333
4333
  const $ = u[h++], P = u[h++];
4334
4334
  try {
4335
- C = $(C);
4335
+ x = $(x);
4336
4336
  } catch (E) {
4337
4337
  P.call(this, E);
4338
4338
  break;
4339
4339
  }
4340
4340
  }
4341
4341
  try {
4342
- c = ta.call(this, C);
4342
+ c = ta.call(this, x);
4343
4343
  } catch ($) {
4344
4344
  return Promise.reject($);
4345
4345
  }
@@ -4964,7 +4964,7 @@ class Ie {
4964
4964
  async FTSP(e) {
4965
4965
  var i;
4966
4966
  try {
4967
- const s = ((e == null ? void 0 : e.ftsp) ?? hi.Get()).clearForHTTP(), r = {
4967
+ const s = ((e == null ? void 0 : e.ftsp) ?? fi.Get()).clearForHTTP(), r = {
4968
4968
  payload: { ftsp: s },
4969
4969
  query: this.getUrl("ftsp")
4970
4970
  }, o = await He.Post(r);
@@ -5106,7 +5106,7 @@ function Eh(t, e) {
5106
5106
  const Oh = ["#31af5e", "#ff4d3b", "#006BB5", "#f3911c"];
5107
5107
  class Dh {
5108
5108
  static GetRandColor(e) {
5109
- return ci.GetRandEL(e ?? Oh);
5109
+ return hi.GetRandEL(e ?? Oh);
5110
5110
  }
5111
5111
  }
5112
5112
  function il(t, e) {
@@ -5149,7 +5149,7 @@ let zh = class {
5149
5149
  return this.timelinePxHeight * this.timelines.length;
5150
5150
  }
5151
5151
  getHoursArr() {
5152
- return ci.GenerateNumsRange(this.startHour, this.endHour);
5152
+ return hi.GenerateNumsRange(this.startHour, this.endHour);
5153
5153
  }
5154
5154
  };
5155
5155
  const Ir = (t) => t === 8 || t === 46, Fh = (t) => t > 46 && t < 58, Lh = (t) => t > 34 && t < 41, Bh = (t) => t + ".", Hh = (t, e, i) => {
@@ -5499,7 +5499,7 @@ class Qh {
5499
5499
  return this.timelinePxHeight * this.timelines.length;
5500
5500
  }
5501
5501
  getHoursArr() {
5502
- return ci.GenerateNumsRange(this.startHour, this.endHour);
5502
+ return hi.GenerateNumsRange(this.startHour, this.endHour);
5503
5503
  }
5504
5504
  timeIsFree(e, i, n, s) {
5505
5505
  return s.filter((r) => r.id !== n).every(
@@ -5613,7 +5613,7 @@ class of {
5613
5613
  }
5614
5614
  var ve;
5615
5615
  let af = (ve = class {
5616
- }, a(ve, "Arrays", ci), a(ve, "Axios", Cn), a(ve, "BaseStore", Ie), // static Phone = Phone;
5616
+ }, a(ve, "Arrays", hi), a(ve, "Axios", Cn), a(ve, "BaseStore", Ie), // static Phone = Phone;
5617
5617
  a(ve, "Cache", Rs), a(ve, "Classes", Q), a(ve, "CarouselSwipe", Eh), a(ve, "Color", Dh), a(ve, "CreateSortModels", il), a(ve, "Cursor", zh), a(ve, "DateMask", qh), a(ve, "Dates", Kt), a(ve, "Dragger", Vh), a(ve, "Extension", nl), a(ve, "Favourite", jh), // static FTSP = FTSP;
5618
5618
  a(ve, "Hooks", Yh), a(ve, "HttpClient", He), a(ve, "Id", nt), a(ve, "MakeCarousel", sl), a(ve, "Period", wr), a(ve, "PhoneService", Mr), a(ve, "Rating", Xh), a(ve, "Router", ni), a(ve, "RouterGuard", Zh), a(ve, "Scheduler", Qh), a(ve, "Scroll", Kh), // static Sizes = Sizes;
5619
5619
  a(ve, "Sorter", ef), a(ve, "Static", _r), // static Statuses = Statuses;
@@ -6460,7 +6460,7 @@ class io {
6460
6460
  const Cm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6461
6461
  __proto__: null,
6462
6462
  Extract: io
6463
- }, Symbol.toStringTag, { value: "Module" })), xm = () => import("./ExtractsList-BEH5IYVY.js"), km = [
6463
+ }, Symbol.toStringTag, { value: "Module" })), xm = () => import("./ExtractsList-DVHUnWqh.js"), km = [
6464
6464
  {
6465
6465
  path: "/admin/extracts",
6466
6466
  name: "ExtractsList",
@@ -7796,7 +7796,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7796
7796
  const e = t, i = X(() => ({ ...Yl, ...e.labels })), n = X(() => ({
7797
7797
  ...Xl,
7798
7798
  ...e.factories
7799
- })), s = (m) => e.slotListOf ? e.slotListOf(m) : (m == null ? void 0 : m.slots) || [], r = (m) => e.nestedSlotListOf ? e.nestedSlotListOf(m) : (m == null ? void 0 : m.slots) || [], o = (m) => (m == null ? void 0 : m.name) || i.value.hall, u = (m) => e.sessionName ? e.sessionName(m) : (m == null ? void 0 : m.name) || `${i.value.session} ${(m == null ? void 0 : m.startTime) || ""}–${(m == null ? void 0 : m.endTime) || ""}`.trim(), l = (m) => e.slotName ? e.slotName(m) : (m == null ? void 0 : m.name) || i.value.slot, d = (m) => e.slotSubtitle ? e.slotSubtitle(m) : "", c = L("grid"), h = L((Ao = (Po = e.days) == null ? void 0 : Po[0]) == null ? void 0 : Ao.id), f = L(!1), C = L(""), $ = L(!1), P = L(null), E = L(null), M = L(void 0), z = L(null), I = L(null), q = L(!1), W = L(0), de = L(null), he = [
7799
+ })), s = (m) => e.slotListOf ? e.slotListOf(m) : (m == null ? void 0 : m.slots) || [], r = (m) => e.nestedSlotListOf ? e.nestedSlotListOf(m) : (m == null ? void 0 : m.slots) || [], o = (m) => (m == null ? void 0 : m.name) || i.value.hall, u = (m) => e.sessionName ? e.sessionName(m) : (m == null ? void 0 : m.name) || `${i.value.session} ${(m == null ? void 0 : m.startTime) || ""}–${(m == null ? void 0 : m.endTime) || ""}`.trim(), l = (m) => e.slotName ? e.slotName(m) : (m == null ? void 0 : m.name) || i.value.slot, d = (m) => e.slotSubtitle ? e.slotSubtitle(m) : "", c = L("grid"), h = L((Ao = (Po = e.days) == null ? void 0 : Po[0]) == null ? void 0 : Ao.id), f = L(!1), x = L(""), $ = L(!1), P = L(null), E = L(null), M = L(void 0), z = L(null), I = L(null), q = L(!1), W = L(0), de = L(null), he = [
7800
7800
  { label: "40", value: 40 },
7801
7801
  { label: "60", value: 60 },
7802
7802
  { label: "90", value: 90 },
@@ -7828,20 +7828,20 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7828
7828
  }, Gt = async (m, y) => {
7829
7829
  y && (m.date = new Date(y), await e.persist.updateDay(m), await e.persist.refresh());
7830
7830
  }, Yt = async (m) => {
7831
- var x;
7831
+ var C;
7832
7832
  if (!m)
7833
7833
  return;
7834
7834
  for (const F of Et(m))
7835
7835
  await we(F);
7836
7836
  await e.persist.removeDay(m);
7837
7837
  const y = (e.days || []).indexOf(m);
7838
- y >= 0 && e.days.splice(y, 1), await e.persist.refresh(), h.value = (x = Xe.value[0]) == null ? void 0 : x.id;
7839
- }, fi = async () => {
7838
+ y >= 0 && e.days.splice(y, 1), await e.persist.refresh(), h.value = (C = Xe.value[0]) == null ? void 0 : C.id;
7839
+ }, ri = async () => {
7840
7840
  var te, ue;
7841
- const m = Xe.value, y = m[m.length - 1], x = y ? new Date(new Date(y.date).getTime() + 864e5) : /* @__PURE__ */ new Date();
7841
+ const m = Xe.value, y = m[m.length - 1], C = y ? new Date(new Date(y.date).getTime() + 864e5) : /* @__PURE__ */ new Date();
7842
7842
  let F;
7843
7843
  try {
7844
- F = n.value.createDay(x);
7844
+ F = n.value.createDay(C);
7845
7845
  } catch {
7846
7846
  e.persist.notify("warning", i.value.saveEventFirst);
7847
7847
  return;
@@ -7856,26 +7856,26 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7856
7856
  return;
7857
7857
  }
7858
7858
  h.value = F.id, e.persist.notify("positive", `${i.value.dayAdded}: ${xi(F)}`);
7859
- }, Et = (m) => ((m == null ? void 0 : m.schedules) || []).slice().sort((y, x) => {
7860
- const F = Ut(y), te = Ut(x);
7859
+ }, Et = (m) => ((m == null ? void 0 : m.schedules) || []).slice().sort((y, C) => {
7860
+ const F = Ut(y), te = Ut(C);
7861
7861
  return F.localeCompare(te, "ru");
7862
7862
  }), Ut = (m) => {
7863
7863
  if (e.hallName)
7864
7864
  return e.hallName(m);
7865
- const y = m.place || (e.places || []).find((x) => x.id === m.placeId);
7865
+ const y = m.place || (e.places || []).find((C) => C.id === m.placeId);
7866
7866
  return (y == null ? void 0 : y.name) || i.value.hall;
7867
7867
  }, bt = () => {
7868
7868
  f.value = !0;
7869
7869
  }, ze = X(() => {
7870
- const m = Le.value, y = new Set(((m == null ? void 0 : m.schedules) || []).map((x) => x.placeId));
7871
- return (e.places || []).filter((x) => !y.has(x.id));
7870
+ const m = Le.value, y = new Set(((m == null ? void 0 : m.schedules) || []).map((C) => C.placeId));
7871
+ return (e.places || []).filter((C) => !y.has(C.id));
7872
7872
  }), re = async (m, y) => {
7873
7873
  if (e.persist.bindPlaceToDay) {
7874
7874
  await e.persist.bindPlaceToDay(m, y, n.value.createSchedule);
7875
7875
  return;
7876
7876
  }
7877
- const x = n.value.createSchedule(m.id, y.id);
7878
- await e.persist.createSchedule(x);
7877
+ const C = n.value.createSchedule(m.id, y.id);
7878
+ await e.persist.createSchedule(C);
7879
7879
  }, Ke = async (m) => {
7880
7880
  f.value = !1;
7881
7881
  const y = Le.value;
@@ -7883,20 +7883,20 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7883
7883
  e.persist.notify("warning", i.value.selectDayFirst);
7884
7884
  return;
7885
7885
  }
7886
- if (Et(y).some((x) => x.placeId === m.id)) {
7886
+ if (Et(y).some((C) => C.placeId === m.id)) {
7887
7887
  e.persist.notify("warning", i.value.alreadyAdded);
7888
7888
  return;
7889
7889
  }
7890
7890
  try {
7891
7891
  await re(m, y);
7892
- } catch (x) {
7893
- console.warn("addPlaceToDay failed:", x), e.persist.notify("negative", i.value.createFailed), await e.persist.refresh();
7892
+ } catch (C) {
7893
+ console.warn("addPlaceToDay failed:", C), e.persist.notify("negative", i.value.createFailed), await e.persist.refresh();
7894
7894
  return;
7895
7895
  }
7896
7896
  await e.persist.refresh(), h.value = y.id;
7897
7897
  }, Xt = async () => {
7898
- var x, F, te;
7899
- const m = (x = C.value) == null ? void 0 : x.trim();
7898
+ var C, F, te;
7899
+ const m = (C = x.value) == null ? void 0 : C.trim();
7900
7900
  if (!m) {
7901
7901
  e.persist.notify("warning", i.value.enterName);
7902
7902
  return;
@@ -7911,35 +7911,35 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7911
7911
  console.warn("createPlace failed:", ue), e.persist.notify("negative", i.value.hallCreateFailed);
7912
7912
  return;
7913
7913
  }
7914
- C.value = "", await Ke(y), e.persist.notify("positive", i.value.hallCreated.replace("{name}", m));
7914
+ x.value = "", await Ke(y), e.persist.notify("positive", i.value.hallCreated.replace("{name}", m));
7915
7915
  }, Oe = async (m) => {
7916
7916
  await we(m);
7917
7917
  const y = at(m);
7918
- y && (y.schedules = (y.schedules || []).filter((x) => x.id !== m.id)), await e.persist.refresh();
7918
+ y && (y.schedules = (y.schedules || []).filter((C) => C.id !== m.id)), await e.persist.refresh();
7919
7919
  }, we = async (m) => {
7920
7920
  for (const y of m.sessions || []) {
7921
- for (const x of r(y))
7922
- await e.persist.removeSlot(x);
7921
+ for (const C of r(y))
7922
+ await e.persist.removeSlot(C);
7923
7923
  await e.persist.removeSession(y);
7924
7924
  }
7925
7925
  for (const y of s(m))
7926
7926
  await e.persist.removeSlot(y);
7927
7927
  await e.persist.removeSchedule(m);
7928
7928
  }, at = (m) => (e.days || []).find(
7929
- (y) => (y.schedules || []).some((x) => x.id === m.id)
7930
- ), lt = (m) => [...r(m)].sort(Ar), Vi = (m) => (m.sessions || []).some((y) => r(y).length > 0), vt = /* @__PURE__ */ new WeakMap(), ri = (m) => {
7931
- const y = vt.get(m), x = s(m);
7932
- if (y && y.src === x)
7929
+ (y) => (y.schedules || []).some((C) => C.id === m.id)
7930
+ ), lt = (m) => [...r(m)].sort(Ar), Vi = (m) => (m.sessions || []).some((y) => r(y).length > 0), vt = /* @__PURE__ */ new WeakMap(), oi = (m) => {
7931
+ const y = vt.get(m), C = s(m);
7932
+ if (y && y.src === C)
7933
7933
  return y.list;
7934
- const F = new Set((m.sessions || []).map((ue) => ue.id)), te = x.filter((ue) => !ue.sessionId || !F.has(ue.sessionId));
7935
- return vt.set(m, { src: x, list: te }), te;
7934
+ const F = new Set((m.sessions || []).map((ue) => ue.id)), te = C.filter((ue) => !ue.sessionId || !F.has(ue.sessionId));
7935
+ return vt.set(m, { src: C, list: te }), te;
7936
7936
  }, je = (m) => [
7937
7937
  ...(m.sessions || []).map((y) => ({ kind: "session", item: y })),
7938
- ...ri(m).map((y) => ({ kind: "slot", item: y }))
7938
+ ...oi(m).map((y) => ({ kind: "slot", item: y }))
7939
7939
  ], ki = (m) => (m.sessions || []).map((y) => ({ kind: "session", item: y })), Fe = X(() => {
7940
- var y, x;
7940
+ var y, C;
7941
7941
  const m = (((y = Le.value) == null ? void 0 : y.schedules) || []).flatMap((F) => je(F));
7942
- for (const F of ((x = Le.value) == null ? void 0 : x.schedules) || [])
7942
+ for (const F of ((C = Le.value) == null ? void 0 : C.schedules) || [])
7943
7943
  for (const te of F.sessions || [])
7944
7944
  m.push(...lt(te).map((ue) => ({ kind: "slot", item: ue })));
7945
7945
  return ql(m);
@@ -7956,13 +7956,13 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7956
7956
  }), We = (m) => Ul(m, Fe.value), kt = X(() => {
7957
7957
  if (!z.value || !E.value)
7958
7958
  return {};
7959
- const m = Fe.value, y = (z.value.minutes - m.start) / m.total * 100, x = Math.max(E.value.duration / m.total * 100, 2.5);
7960
- return { top: y + "%", height: x + "%" };
7959
+ const m = Fe.value, y = (z.value.minutes - m.start) / m.total * 100, C = Math.max(E.value.duration / m.total * 100, 2.5);
7960
+ return { top: y + "%", height: C + "%" };
7961
7961
  }), $t = X(() => !z.value || !E.value ? "" : Tt(z.value.minutes + E.value.duration)), $i = X(() => {
7962
7962
  if (!z.value)
7963
7963
  return {};
7964
- const m = Fe.value, y = (z.value.minutes - m.start) / m.total * 100, x = Math.max(Ti / m.total * 100, 1.5);
7965
- return { top: y + "%", height: x + "%" };
7964
+ const m = Fe.value, y = (z.value.minutes - m.start) / m.total * 100, C = Math.max(Ti / m.total * 100, 1.5);
7965
+ return { top: y + "%", height: C + "%" };
7966
7966
  }), Nt = X(() => {
7967
7967
  var te, ue, ke, Ue, Ge;
7968
7968
  if (!z.value || !E.value || !E.value.id)
@@ -7970,38 +7970,38 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7970
7970
  const m = gn(z.value.scheduleId);
7971
7971
  if (!m)
7972
7972
  return 0;
7973
- const y = { startTime: z.value.time, endTime: $t.value }, x = (te = z.value.session) == null ? void 0 : te.id;
7973
+ const y = { startTime: z.value.time, endTime: $t.value }, C = (te = z.value.session) == null ? void 0 : te.id;
7974
7974
  let F = 0;
7975
7975
  for (const B of je(m))
7976
- B.item.id !== ((ue = E.value) == null ? void 0 : ue.id) && (((ke = E.value) == null ? void 0 : ke.kind) === "slot" && B.kind === "session" && B.item.id === x || kn(y, B.item) && F++);
7976
+ B.item.id !== ((ue = E.value) == null ? void 0 : ue.id) && (((ke = E.value) == null ? void 0 : ke.kind) === "slot" && B.kind === "session" && B.item.id === C || kn(y, B.item) && F++);
7977
7977
  if (((Ue = E.value) == null ? void 0 : Ue.kind) === "slot" && z.value.session)
7978
7978
  for (const B of lt(z.value.session))
7979
7979
  B.id !== ((Ge = E.value) == null ? void 0 : Ge.id) && kn(y, B) && F++;
7980
7980
  return F;
7981
7981
  }), Zt = X(() => Nt.value > 0), Yn = (m, y) => Vl(je(m), y, kn), Ns = (m, y) => jl(lt(m), y, kn), Vs = (m, y) => Nl(m, y), Ii = (m) => {
7982
- const y = Fe.value, x = $e(m.item.startTime), F = $e(m.item.endTime);
7983
- return !isFinite(x) || !isFinite(F) ? 48 : (F - x) / y.total * At.value;
7982
+ const y = Fe.value, C = $e(m.item.startTime), F = $e(m.item.endTime);
7983
+ return !isFinite(C) || !isFinite(F) ? 48 : (F - C) / y.total * At.value;
7984
7984
  }, ji = (m) => Gl(Ii(m)), js = (m) => {
7985
7985
  const y = e.slotName ? e.slotName(m.item) : m.item.name || (m.kind === "session" ? i.value.session : i.value.slot);
7986
7986
  if (m.kind === "slot" && ji(m) !== "h-full") {
7987
- const x = d(m.item);
7988
- if (x)
7989
- return `${y} — ${x}`;
7987
+ const C = d(m.item);
7988
+ if (C)
7989
+ return `${y} — ${C}`;
7990
7990
  }
7991
7991
  return y;
7992
7992
  }, Ws = (m, y) => {
7993
- const x = l(m);
7993
+ const C = l(m);
7994
7994
  if (y !== "h-full") {
7995
7995
  const F = d(m);
7996
7996
  if (F)
7997
- return `${x} — ${F}`;
7997
+ return `${C} — ${F}`;
7998
7998
  }
7999
- return x;
7999
+ return C;
8000
8000
  }, pn = (m) => {
8001
8001
  const y = `${m.item.startTime || "?"}–${m.item.endTime || "?"}`;
8002
8002
  if (m.kind === "slot") {
8003
- const x = d(m.item);
8004
- return [l(m.item), y, x ? `${i.value.participants}: ${x}` : ""].filter(Boolean).join(`
8003
+ const C = d(m.item);
8004
+ return [l(m.item), y, C ? `${i.value.participants}: ${C}` : ""].filter(Boolean).join(`
8005
8005
  `);
8006
8006
  }
8007
8007
  return [u(m.item), y].filter(Boolean).join(`
@@ -8015,14 +8015,14 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8015
8015
  ].filter(Boolean).join(`
8016
8016
  `);
8017
8017
  }, T = (m, y) => {
8018
- var x;
8018
+ var C;
8019
8019
  return {
8020
8020
  conflict: Ns(m.item, y),
8021
- dragging: ((x = Ot.value) == null ? void 0 : x.perfom.id) === y.id,
8021
+ dragging: ((C = Ot.value) == null ? void 0 : C.perfom.id) === y.id,
8022
8022
  [ji(m)]: !0
8023
8023
  };
8024
8024
  }, D = L(null), U = (m, y) => {
8025
- const x = m.getBoundingClientRect(), F = Math.min(Math.max((y - x.top) / x.height, 0), 1);
8025
+ const C = m.getBoundingClientRect(), F = Math.min(Math.max((y - C.top) / C.height, 0), 1);
8026
8026
  return Fe.value.start + $n(F * Fe.value.total, Ti);
8027
8027
  }, le = (m, y) => {
8028
8028
  y.target.closest(".block-actions, .block-resize") || y.button !== 0 || q.value || (D.value = { gi: m, startX: y.clientX, startY: y.clientY, moved: !1 }, window.addEventListener("pointermove", _e), window.addEventListener("pointerup", G), window.addEventListener("pointercancel", me), window.addEventListener("keydown", Re));
@@ -8033,19 +8033,19 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8033
8033
  if (Math.hypot(m.clientX - y.startX, m.clientY - y.startY) < ra)
8034
8034
  return;
8035
8035
  y.moved = !0;
8036
- const x = xn(y.gi.item.startTime, y.gi.item.endTime);
8036
+ const C = xn(y.gi.item.startTime, y.gi.item.endTime);
8037
8037
  E.value = {
8038
8038
  kind: y.gi.kind,
8039
8039
  id: y.gi.item.id,
8040
8040
  name: y.gi.item.name || (y.gi.kind === "session" ? i.value.session : i.value.slot),
8041
- duration: isFinite(x) && x > 0 ? x : 30
8041
+ duration: isFinite(C) && C > 0 ? C : 30
8042
8042
  }, document.body.style.userSelect = "none", document.body.style.cursor = "grabbing";
8043
8043
  }
8044
8044
  qe(m.clientX, m.clientY), ge(m.clientX, m.clientY);
8045
8045
  }
8046
8046
  }, qe = (m, y) => {
8047
8047
  var Ue, Ge;
8048
- const x = document.elementFromPoint(m, y), F = x == null ? void 0 : x.closest(".hall-col"), te = F == null ? void 0 : F.getAttribute("data-schedule-id");
8048
+ const C = document.elementFromPoint(m, y), F = C == null ? void 0 : C.closest(".hall-col"), te = F == null ? void 0 : F.getAttribute("data-schedule-id");
8049
8049
  if (!F || !te) {
8050
8050
  M.value = void 0, z.value = null;
8051
8051
  return;
@@ -8071,11 +8071,11 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8071
8071
  } : {}
8072
8072
  }, I.value = { x: m, y };
8073
8073
  }, ge = (m, y) => {
8074
- const x = de.value;
8075
- if (!x)
8074
+ const C = de.value;
8075
+ if (!C)
8076
8076
  return;
8077
- const F = x.getBoundingClientRect();
8078
- y < F.top + 48 ? x.scrollTop -= 14 : y > F.bottom - 48 && (x.scrollTop += 14), m < F.left + 48 ? x.scrollLeft -= 14 : m > F.right - 48 && (x.scrollLeft += 14);
8077
+ const F = C.getBoundingClientRect();
8078
+ y < F.top + 48 ? C.scrollTop -= 14 : y > F.bottom - 48 && (C.scrollTop += 14), m < F.left + 48 ? C.scrollLeft -= 14 : m > F.right - 48 && (C.scrollLeft += 14);
8079
8079
  }, G = (m) => {
8080
8080
  J(m);
8081
8081
  }, J = async (m) => {
@@ -8083,7 +8083,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8083
8083
  if (ee(), D.value = null, !y || !y.moved)
8084
8084
  return;
8085
8085
  W.value = Date.now();
8086
- const x = document.elementFromPoint(m.clientX, m.clientY), F = x == null ? void 0 : x.closest(".hall-col"), te = F == null ? void 0 : F.getAttribute("data-schedule-id"), ue = te ? gn(te) : void 0;
8086
+ const C = document.elementFromPoint(m.clientX, m.clientY), F = C == null ? void 0 : C.closest(".hall-col"), te = F == null ? void 0 : F.getAttribute("data-schedule-id"), ue = te ? gn(te) : void 0;
8087
8087
  if (F && ue) {
8088
8088
  const ke = U(F, m.clientY);
8089
8089
  await Co(ue, ke);
@@ -8105,13 +8105,13 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8105
8105
  if (!m)
8106
8106
  return null;
8107
8107
  for (const y of e.days || [])
8108
- for (const x of y.schedules || []) {
8109
- const F = (x.sessions || []).find((ue) => ue.id === m);
8108
+ for (const C of y.schedules || []) {
8109
+ const F = (C.sessions || []).find((ue) => ue.id === m);
8110
8110
  if (F)
8111
- return { kind: "session", item: F, schedule: x };
8112
- const te = s(x).find((ue) => ue.id === m);
8111
+ return { kind: "session", item: F, schedule: C };
8112
+ const te = s(C).find((ue) => ue.id === m);
8113
8113
  if (te)
8114
- return { kind: "slot", item: te, schedule: x };
8114
+ return { kind: "slot", item: te, schedule: C };
8115
8115
  }
8116
8116
  return null;
8117
8117
  }, It = () => {
@@ -8119,31 +8119,31 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8119
8119
  return De((m = E.value) == null ? void 0 : m.id);
8120
8120
  }, Xn = (m, y) => {
8121
8121
  y.preventDefault(), y.stopPropagation();
8122
- const x = m.item, F = $e(x.startTime), te = $e(x.endTime);
8122
+ const C = m.item, F = $e(C.startTime), te = $e(C.endTime);
8123
8123
  if (!isFinite(F) || !isFinite(te))
8124
8124
  return;
8125
8125
  const ue = y.clientY;
8126
8126
  q.value = !0;
8127
8127
  const ke = (B) => {
8128
8128
  const oe = (B.clientY - ue) / Te.value * 60, ce = $n(te + oe, Ti);
8129
- x.endTime = Tt(Math.max(ce, F + Ti));
8129
+ C.endTime = Tt(Math.max(ce, F + Ti));
8130
8130
  }, Ue = async () => {
8131
8131
  window.removeEventListener("pointermove", ke), window.removeEventListener("pointerup", Ge), q.value = !1, W.value = Date.now();
8132
- const B = De(x.id);
8133
- B && (await Vt(x, B.kind), await e.persist.refresh());
8132
+ const B = De(C.id);
8133
+ B && (await Vt(C, B.kind), await e.persist.refresh());
8134
8134
  }, Ge = () => {
8135
8135
  Ue();
8136
8136
  };
8137
8137
  window.addEventListener("pointermove", ke), window.addEventListener("pointerup", Ge);
8138
- }, Ot = L(null), Gs = (m, y, x) => {
8139
- if (x.target.closest(".nested-edit, .nested-resize") || x.button !== 0 || q.value)
8138
+ }, Ot = L(null), Gs = (m, y, C) => {
8139
+ if (C.target.closest(".nested-edit, .nested-resize") || C.button !== 0 || q.value)
8140
8140
  return;
8141
- const F = x.target.closest(".session-perfoms"), te = $e(m.startTime), ue = $e(m.endTime), ke = xn(y.startTime, y.endTime);
8141
+ const F = C.target.closest(".session-perfoms"), te = $e(m.startTime), ue = $e(m.endTime), ke = xn(y.startTime, y.endTime);
8142
8142
  !F || !isFinite(te) || !isFinite(ue) || ue <= te || (Ot.value = {
8143
8143
  perfom: y,
8144
8144
  session: m,
8145
- startX: x.clientX,
8146
- startY: x.clientY,
8145
+ startX: C.clientX,
8146
+ startY: C.clientY,
8147
8147
  moved: !1,
8148
8148
  savedStart: y.startTime,
8149
8149
  savedEnd: y.endTime,
@@ -8161,7 +8161,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8161
8161
  return;
8162
8162
  y.moved = !0, document.body.style.userSelect = "none", document.body.style.cursor = "grabbing";
8163
8163
  }
8164
- const x = y.container.getBoundingClientRect(), F = Math.min(Math.max((m.clientY - x.top) / x.height, 0), 1);
8164
+ const C = y.container.getBoundingClientRect(), F = Math.min(Math.max((m.clientY - C.top) / C.height, 0), 1);
8165
8165
  let te = y.sessionStart + $n(F * y.sessionDur, Ti);
8166
8166
  const ue = y.sessionStart + y.sessionDur - y.durMin;
8167
8167
  te = Math.min(Math.max(te, y.sessionStart), Math.max(ue, y.sessionStart)), y.perfom.startTime = Tt(te), y.perfom.endTime = Tt(te + y.durMin), I.value = { x: m.clientX, y: m.clientY };
@@ -8173,7 +8173,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8173
8173
  if (Xs(), Ot.value = null, I.value = null, document.body.style.userSelect = "", document.body.style.cursor = "", !y || !y.moved)
8174
8174
  return;
8175
8175
  W.value = Date.now();
8176
- const x = document.elementFromPoint(m.clientX, m.clientY), F = x == null ? void 0 : x.closest(".hall-col"), te = F == null ? void 0 : F.getAttribute("data-schedule-id"), ue = te ? gn(te) : void 0;
8176
+ const C = document.elementFromPoint(m.clientX, m.clientY), F = C == null ? void 0 : C.closest(".hall-col"), te = F == null ? void 0 : F.getAttribute("data-schedule-id"), ue = te ? gn(te) : void 0;
8177
8177
  if (F && ue) {
8178
8178
  E.value = {
8179
8179
  kind: "slot",
@@ -8193,9 +8193,9 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8193
8193
  window.removeEventListener("pointermove", wo), window.removeEventListener("pointerup", bo), window.removeEventListener("pointercancel", Ys), window.removeEventListener("keydown", So);
8194
8194
  }, So = (m) => {
8195
8195
  m.key === "Escape" && Ys();
8196
- }, Su = (m, y, x) => {
8197
- x.preventDefault(), x.stopPropagation();
8198
- const F = $e(m.startTime), te = $e(m.endTime), ue = $e(y.startTime), ke = x.target.closest(".nested-perfom"), Ue = ke == null ? void 0 : ke.closest(".session-perfoms");
8196
+ }, Su = (m, y, C) => {
8197
+ C.preventDefault(), C.stopPropagation();
8198
+ const F = $e(m.startTime), te = $e(m.endTime), ue = $e(y.startTime), ke = C.target.closest(".nested-perfom"), Ue = ke == null ? void 0 : ke.closest(".session-perfoms");
8199
8199
  if (!ke || !Ue || !isFinite(F) || !isFinite(te) || te <= F || !isFinite(ue))
8200
8200
  return;
8201
8201
  const Ge = Ue.getBoundingClientRect(), B = te - F;
@@ -8215,61 +8215,61 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8215
8215
  }, Co = async (m, y) => {
8216
8216
  var oe;
8217
8217
  M.value = void 0, z.value = null, I.value = null;
8218
- const x = It();
8219
- if (!x)
8218
+ const C = It();
8219
+ if (!C)
8220
8220
  return;
8221
- const F = Tt(y), te = xn(x.item.startTime, x.item.endTime), ue = Ri(F, te > 0 ? te : 30);
8222
- if (((oe = x.schedule) == null ? void 0 : oe.id) === m.id && x.item.startTime === F && x.item.endTime === ue)
8221
+ const F = Tt(y), te = xn(C.item.startTime, C.item.endTime), ue = Ri(F, te > 0 ? te : 30);
8222
+ if (((oe = C.schedule) == null ? void 0 : oe.id) === m.id && C.item.startTime === F && C.item.endTime === ue)
8223
8223
  return;
8224
- const ke = x.item.startTime;
8225
- if (x.item.startTime = F, x.item.endTime = ue, x.kind === "slot") {
8224
+ const ke = C.item.startTime;
8225
+ if (C.item.startTime = F, C.item.endTime = ue, C.kind === "slot") {
8226
8226
  const ce = Zs(m.sessions, $e(F), $e(ue), $e);
8227
- ce ? x.item.sessionId = ce.id : delete x.item.sessionId;
8227
+ ce ? C.item.sessionId = ce.id : delete C.item.sessionId;
8228
8228
  }
8229
- if (x.kind === "session") {
8229
+ if (C.kind === "session") {
8230
8230
  const ce = $e(F) - $e(ke);
8231
- for (const se of lt(x.item))
8231
+ for (const se of lt(C.item))
8232
8232
  se.startTime && (se.startTime = Ri(se.startTime, ce), se.endTime && (se.endTime = Ri(se.endTime, ce)), se.scheduleId = m.id, await Vt(se, "slot"));
8233
8233
  }
8234
- const Ue = x.schedule, Ge = x.kind === "session" ? m.sessions : s(m), B = x.item;
8234
+ const Ue = C.schedule, Ge = C.kind === "session" ? m.sessions : s(m), B = C.item;
8235
8235
  if (Ue && Ue.id !== m.id) {
8236
8236
  B.scheduleId = m.id;
8237
- const ce = x.kind === "session" ? Ue.sessions : s(Ue);
8237
+ const ce = C.kind === "session" ? Ue.sessions : s(Ue);
8238
8238
  H.H.Classes.RemoveFromClassById(B.id, ce, []), Ge.push(B);
8239
8239
  }
8240
- await Vt(B, x.kind), await e.persist.refresh();
8240
+ await Vt(B, C.kind), await e.persist.refresh();
8241
8241
  }, Cu = async (m, y) => {
8242
8242
  if (y.target.closest(".timeline-block"))
8243
8243
  return;
8244
- const x = U(y.currentTarget, y.clientY), F = n.value.createSlot(m);
8245
- F.startTime = Tt(x), F.endTime = Tt(x + 30);
8246
- const te = Zs(m.sessions, x, x + 30, $e);
8244
+ const C = U(y.currentTarget, y.clientY), F = n.value.createSlot(m);
8245
+ F.startTime = Tt(C), F.endTime = Tt(C + 30);
8246
+ const te = Zs(m.sessions, C, C + 30, $e);
8247
8247
  te != null && te.id && (F.sessionId = te.id), await e.persist.createSlot(F), await e.persist.refresh();
8248
8248
  const ue = De(F.id);
8249
8249
  ue && vn(ue);
8250
- }, xo = async (m, y, x) => {
8250
+ }, xo = async (m, y, C) => {
8251
8251
  if (m.added) {
8252
- if (m.added.element.scheduleId = y.id, x === "slot" && m.added.element.sessionId && ((y.sessions || []).some(
8252
+ if (m.added.element.scheduleId = y.id, C === "slot" && m.added.element.sessionId && ((y.sessions || []).some(
8253
8253
  (te) => te.id === m.added.element.sessionId
8254
- ) || delete m.added.element.sessionId), await Vt(m.added.element, x), x === "session")
8254
+ ) || delete m.added.element.sessionId), await Vt(m.added.element, C), C === "session")
8255
8255
  for (const F of r(m.added.element))
8256
8256
  F.scheduleId = y.id, await e.persist.updateSlot(F);
8257
8257
  await e.persist.refresh();
8258
8258
  }
8259
8259
  }, gn = (m) => {
8260
8260
  for (const y of e.days || []) {
8261
- const x = (y.schedules || []).find((F) => F.id === m);
8262
- if (x)
8263
- return x;
8261
+ const C = (y.schedules || []).find((F) => F.id === m);
8262
+ if (C)
8263
+ return C;
8264
8264
  }
8265
- }, Zs = (m, y, x, F) => Wl(m, y, x, F), ko = (m) => ((m == null ? void 0 : m.sessions) || []).map((y) => ({
8265
+ }, Zs = (m, y, C, F) => Wl(m, y, C, F), ko = (m) => ((m == null ? void 0 : m.sessions) || []).map((y) => ({
8266
8266
  id: y.id,
8267
8267
  label: u(y)
8268
8268
  })), $o = (m) => {
8269
8269
  for (const y of e.days || [])
8270
- for (const x of y.schedules || [])
8271
- if (s(x).some((F) => F.id === m.id) || m.sessionId && (x.sessions || []).some((F) => F.id === m.sessionId))
8272
- return x;
8270
+ for (const C of y.schedules || [])
8271
+ if (s(C).some((F) => F.id === m.id) || m.sessionId && (C.sessions || []).some((F) => F.id === m.sessionId))
8272
+ return C;
8273
8273
  }, Io = X(() => {
8274
8274
  const m = P.value;
8275
8275
  if (m)
@@ -8278,8 +8278,8 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8278
8278
  const m = P.value;
8279
8279
  return !m || m.kind !== "slot" ? [] : ko(Io.value);
8280
8280
  }), ku = (m, y) => {
8281
- for (const x of e.days || [])
8282
- for (const F of x.schedules || [])
8281
+ for (const C of e.days || [])
8282
+ for (const F of C.schedules || [])
8283
8283
  if ((F.sessions || []).some((te) => te.id === m.id))
8284
8284
  return F;
8285
8285
  }, Mo = async (m, y) => {
@@ -8288,24 +8288,24 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8288
8288
  const y = n.value.createSession(m);
8289
8289
  await e.persist.createSession(y), await e.persist.refresh();
8290
8290
  }, Ro = async (m) => {
8291
- const y = n.value.createSlot(m), x = [...s(m)].sort(Ar).slice(-1)[0];
8292
- y.startTime = Xi(x == null ? void 0 : x.endTime) || "9:00", y.endTime = Ri(y.startTime, 30), await e.persist.createSlot(y), await e.persist.refresh();
8291
+ const y = n.value.createSlot(m), C = [...s(m)].sort(Ar).slice(-1)[0];
8292
+ y.startTime = Xi(C == null ? void 0 : C.endTime) || "9:00", y.endTime = Ri(y.startTime, 30), await e.persist.createSlot(y), await e.persist.refresh();
8293
8293
  }, Qs = async (m, y) => {
8294
8294
  if (y === "slot")
8295
8295
  await e.persist.removeSlot(m);
8296
8296
  else {
8297
- for (const x of r(m))
8298
- delete x.sessionId, await e.persist.updateSlot(x);
8297
+ for (const C of r(m))
8298
+ delete C.sessionId, await e.persist.updateSlot(C);
8299
8299
  await e.persist.removeSession(m);
8300
8300
  }
8301
8301
  await e.persist.refresh();
8302
8302
  }, Vt = async (m, y) => {
8303
- const x = Xi(m.startTime), F = Xi(m.endTime);
8304
- if (!x) {
8303
+ const C = Xi(m.startTime), F = Xi(m.endTime);
8304
+ if (!C) {
8305
8305
  e.persist.notify("warning", i.value.correctStartTime);
8306
8306
  return;
8307
8307
  }
8308
- m.startTime = x, m.endTime = F || Ri(x, 30), y === "slot" ? await e.persist.updateSlot(m) : await e.persist.updateSession(m);
8308
+ m.startTime = C, m.endTime = F || Ri(C, 30), y === "slot" ? await e.persist.updateSlot(m) : await e.persist.updateSession(m);
8309
8309
  }, vn = (m) => {
8310
8310
  q.value || Date.now() - W.value < 400 || (P.value = { kind: m.kind, item: m.item }, $.value = !0);
8311
8311
  }, $u = async () => {
@@ -8317,7 +8317,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8317
8317
  };
8318
8318
  return e.persist.loadOptions && e.persist.loadOptions(), (m, y) => {
8319
8319
  var Ue, Ge;
8320
- const x = ne("PInput"), F = ne("PButton"), te = ne("PTooltip"), ue = ne("PSelect"), ke = ne("PDialog");
8320
+ const C = ne("PButton"), F = ne("PInput"), te = ne("PTooltip"), ue = ne("PSelect"), ke = ne("PDialog");
8321
8321
  return g(), w("div", qp, [
8322
8322
  (Ue = t.days) != null && Ue.length ? (g(), w(Z, { key: 1 }, [
8323
8323
  v("div", Np, [
@@ -8338,7 +8338,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8338
8338
  _: 1
8339
8339
  }, 8, ["modelValue"]),
8340
8340
  b(p(wn)),
8341
- Le.value ? (g(), N(x, {
8341
+ Le.value ? (g(), N(F, {
8342
8342
  key: 0,
8343
8343
  "model-value": gt(Le.value.date),
8344
8344
  label: i.value.date,
@@ -8348,7 +8348,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8348
8348
  class: "date-input",
8349
8349
  "onUpdate:modelValue": y[1] || (y[1] = (B) => Gt(Le.value, B))
8350
8350
  }, null, 8, ["model-value", "label"])) : K("", !0),
8351
- b(F, {
8351
+ b(C, {
8352
8352
  size: "sm",
8353
8353
  color: "negative",
8354
8354
  outline: "",
@@ -8357,15 +8357,15 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8357
8357
  disable: !Le.value,
8358
8358
  onClick: y[2] || (y[2] = (B) => Yt(Le.value))
8359
8359
  }, null, 8, ["label", "disable"]),
8360
- b(F, {
8360
+ b(C, {
8361
8361
  size: "sm",
8362
8362
  color: "primary",
8363
8363
  outline: "",
8364
8364
  icon: "event",
8365
8365
  label: i.value.addDay,
8366
- onClick: fi
8366
+ onClick: ri
8367
8367
  }, null, 8, ["label"]),
8368
- b(F, {
8368
+ b(C, {
8369
8369
  size: "sm",
8370
8370
  color: "primary",
8371
8371
  outline: "",
@@ -8427,7 +8427,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8427
8427
  size: "15px"
8428
8428
  }),
8429
8429
  v("span", Xp, Y(Ut(B)), 1),
8430
- b(F, {
8430
+ b(C, {
8431
8431
  size: "sm",
8432
8432
  flat: "",
8433
8433
  dense: "",
@@ -8445,7 +8445,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8445
8445
  ]),
8446
8446
  _: 1
8447
8447
  }, 8, ["onClick"]),
8448
- b(F, {
8448
+ b(C, {
8449
8449
  size: "sm",
8450
8450
  flat: "",
8451
8451
  dense: "",
@@ -8463,7 +8463,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8463
8463
  ]),
8464
8464
  _: 1
8465
8465
  }, 8, ["onClick"]),
8466
- b(F, {
8466
+ b(C, {
8467
8467
  size: "sm",
8468
8468
  flat: "",
8469
8469
  dense: "",
@@ -8632,7 +8632,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8632
8632
  ], 4)
8633
8633
  ], 512)) : (g(), w("div", Wp, [
8634
8634
  Pe(Y(i.value.noHalls) + " ", 1),
8635
- b(F, {
8635
+ b(C, {
8636
8636
  flat: "",
8637
8637
  color: "primary",
8638
8638
  size: "sm",
@@ -8684,7 +8684,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8684
8684
  class: "hall-card q-mb-md"
8685
8685
  }, {
8686
8686
  default: R(() => [
8687
- b(p(li), { class: "hall-card-head" }, {
8687
+ b(p(ui), { class: "hall-card-head" }, {
8688
8688
  default: R(() => [
8689
8689
  v("div", wg, [
8690
8690
  b(p(Me), {
@@ -8694,7 +8694,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8694
8694
  }),
8695
8695
  v("span", bg, Y(Ut(B)), 1),
8696
8696
  b(p(wn)),
8697
- b(F, {
8697
+ b(C, {
8698
8698
  size: "sm",
8699
8699
  flat: "",
8700
8700
  dense: "",
@@ -8703,7 +8703,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8703
8703
  label: i.value.session,
8704
8704
  onClick: (oe) => To(B)
8705
8705
  }, null, 8, ["label", "onClick"]),
8706
- b(F, {
8706
+ b(C, {
8707
8707
  size: "sm",
8708
8708
  flat: "",
8709
8709
  dense: "",
@@ -8712,7 +8712,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8712
8712
  label: i.value.slot,
8713
8713
  onClick: (oe) => Ro(B)
8714
8714
  }, null, 8, ["label", "onClick"]),
8715
- b(F, {
8715
+ b(C, {
8716
8716
  size: "sm",
8717
8717
  flat: "",
8718
8718
  dense: "",
@@ -8734,7 +8734,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8734
8734
  ]),
8735
8735
  _: 2
8736
8736
  }, 1024),
8737
- b(p(li), { class: "q-pt-none" }, {
8737
+ b(p(ui), { class: "q-pt-none" }, {
8738
8738
  default: R(() => {
8739
8739
  var oe;
8740
8740
  return [
@@ -8760,7 +8760,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8760
8760
  name: "drag_indicator",
8761
8761
  class: "drag-handle"
8762
8762
  }),
8763
- b(x, {
8763
+ b(F, {
8764
8764
  "model-value": ce.name,
8765
8765
  label: i.value.name,
8766
8766
  dense: "",
@@ -8769,7 +8769,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8769
8769
  "onUpdate:modelValue": (se) => ce.name = se,
8770
8770
  onBlur: (se) => Vt(ce, "session")
8771
8771
  }, null, 8, ["model-value", "label", "onUpdate:modelValue", "onBlur"]),
8772
- b(x, {
8772
+ b(F, {
8773
8773
  "model-value": ce.startTime,
8774
8774
  label: i.value.startTime,
8775
8775
  type: "time",
@@ -8779,7 +8779,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8779
8779
  "onUpdate:modelValue": (se) => ce.startTime = se,
8780
8780
  onBlur: (se) => Vt(ce, "session")
8781
8781
  }, null, 8, ["model-value", "label", "onUpdate:modelValue", "onBlur"]),
8782
- b(x, {
8782
+ b(F, {
8783
8783
  "model-value": ce.endTime,
8784
8784
  label: i.value.endTime,
8785
8785
  type: "time",
@@ -8793,7 +8793,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8793
8793
  element: ce,
8794
8794
  schedule: B
8795
8795
  }, void 0, !0),
8796
- b(F, {
8796
+ b(C, {
8797
8797
  size: "sm",
8798
8798
  flat: "",
8799
8799
  dense: "",
@@ -8815,7 +8815,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8815
8815
  v("div", $g, Y(l(se)), 1),
8816
8816
  v("div", Ig, Y(se.startTime) + "–" + Y(se.endTime), 1),
8817
8817
  b(p(wn)),
8818
- b(F, {
8818
+ b(C, {
8819
8819
  size: "sm",
8820
8820
  flat: "",
8821
8821
  dense: "",
@@ -8838,7 +8838,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8838
8838
  Pe(" " + Y(i.value.slotsTitle), 1)
8839
8839
  ]),
8840
8840
  b(p(yr), {
8841
- list: ri(B),
8841
+ list: oi(B),
8842
8842
  "item-key": "id",
8843
8843
  group: "slots",
8844
8844
  handle: ".drag-handle",
@@ -8851,7 +8851,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8851
8851
  name: "drag_indicator",
8852
8852
  class: "drag-handle"
8853
8853
  }),
8854
- b(x, {
8854
+ b(F, {
8855
8855
  "model-value": ce.name,
8856
8856
  label: i.value.name,
8857
8857
  dense: "",
@@ -8860,7 +8860,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8860
8860
  "onUpdate:modelValue": (se) => ce.name = se,
8861
8861
  onBlur: (se) => Vt(ce, "slot")
8862
8862
  }, null, 8, ["model-value", "label", "onUpdate:modelValue", "onBlur"]),
8863
- b(x, {
8863
+ b(F, {
8864
8864
  "model-value": ce.startTime,
8865
8865
  label: i.value.startTime,
8866
8866
  type: "time",
@@ -8870,7 +8870,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8870
8870
  "onUpdate:modelValue": (se) => ce.startTime = se,
8871
8871
  onBlur: (se) => Vt(ce, "slot")
8872
8872
  }, null, 8, ["model-value", "label", "onUpdate:modelValue", "onBlur"]),
8873
- b(x, {
8873
+ b(F, {
8874
8874
  "model-value": ce.endTime,
8875
8875
  label: i.value.endTime,
8876
8876
  type: "time",
@@ -8896,7 +8896,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8896
8896
  element: ce,
8897
8897
  schedule: B
8898
8898
  }, void 0, !0),
8899
- b(F, {
8899
+ b(C, {
8900
8900
  size: "sm",
8901
8901
  flat: "",
8902
8902
  dense: "",
@@ -8908,7 +8908,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8908
8908
  ]),
8909
8909
  _: 2
8910
8910
  }, 1032, ["list", "onChange"]),
8911
- !ri(B).length && !Vi(B) ? (g(), w("div", Pg, Y(i.value.noSlotsInDay), 1)) : K("", !0)
8911
+ !oi(B).length && !Vi(B) ? (g(), w("div", Pg, Y(i.value.noSlotsInDay), 1)) : K("", !0)
8912
8912
  ])
8913
8913
  ];
8914
8914
  }),
@@ -8925,7 +8925,15 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8925
8925
  size: "48px",
8926
8926
  class: "q-mb-sm"
8927
8927
  }),
8928
- v("div", null, Y(i.value.noDays), 1)
8928
+ v("div", null, Y(i.value.noDays), 1),
8929
+ b(C, {
8930
+ color: "primary",
8931
+ outline: "",
8932
+ label: i.value.addDay,
8933
+ icon: "event",
8934
+ class: "q-mt-sm",
8935
+ onClick: ri
8936
+ }, null, 8, ["label"])
8929
8937
  ])),
8930
8938
  b(ke, {
8931
8939
  modelValue: f.value,
@@ -8934,25 +8942,25 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8934
8942
  default: R(() => [
8935
8943
  b(p(In), { style: { width: "700px", "max-width": "80vw" } }, {
8936
8944
  default: R(() => [
8937
- b(p(li), null, {
8945
+ b(p(ui), null, {
8938
8946
  default: R(() => [
8939
8947
  v("div", Eg, Y(i.value.addHall), 1)
8940
8948
  ]),
8941
8949
  _: 1
8942
8950
  }),
8943
- b(p(li), null, {
8951
+ b(p(ui), null, {
8944
8952
  default: R(() => [
8945
8953
  v("div", Og, [
8946
- b(x, {
8947
- modelValue: C.value,
8948
- "onUpdate:modelValue": y[5] || (y[5] = (B) => C.value = B),
8954
+ b(F, {
8955
+ modelValue: x.value,
8956
+ "onUpdate:modelValue": y[5] || (y[5] = (B) => x.value = B),
8949
8957
  label: i.value.newHallPlaceholder,
8950
8958
  dense: "",
8951
8959
  outlined: "",
8952
8960
  class: "col",
8953
8961
  onKeyup: ls(Xt, ["enter"])
8954
8962
  }, null, 8, ["modelValue", "label"]),
8955
- b(F, {
8963
+ b(C, {
8956
8964
  color: "primary",
8957
8965
  label: i.value.create,
8958
8966
  icon: "add",
@@ -8975,7 +8983,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8975
8983
  color: "primary"
8976
8984
  }),
8977
8985
  v("span", zg, Y(o(B)), 1),
8978
- b(F, {
8986
+ b(C, {
8979
8987
  size: "sm",
8980
8988
  color: "primary",
8981
8989
  outline: "",
@@ -8991,7 +8999,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8991
8999
  }),
8992
9000
  b(p(Oo), { align: "right" }, {
8993
9001
  default: R(() => [
8994
- b(F, {
9002
+ b(C, {
8995
9003
  label: i.value.close,
8996
9004
  color: "primary",
8997
9005
  onClick: y[6] || (y[6] = (B) => f.value = !1)
@@ -9012,7 +9020,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9012
9020
  default: R(() => [
9013
9021
  b(p(In), { style: { width: "640px", "max-width": "90vw" } }, {
9014
9022
  default: R(() => [
9015
- b(p(li), null, {
9023
+ b(p(ui), null, {
9016
9024
  default: R(() => {
9017
9025
  var B;
9018
9026
  return [
@@ -9021,12 +9029,12 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9021
9029
  }),
9022
9030
  _: 1
9023
9031
  }),
9024
- P.value ? (g(), N(p(li), {
9032
+ P.value ? (g(), N(p(ui), {
9025
9033
  key: 0,
9026
9034
  class: "q-pt-none"
9027
9035
  }, {
9028
9036
  default: R(() => [
9029
- b(x, {
9037
+ b(F, {
9030
9038
  modelValue: P.value.item.name,
9031
9039
  "onUpdate:modelValue": y[8] || (y[8] = (B) => P.value.item.name = B),
9032
9040
  label: i.value.name,
@@ -9036,7 +9044,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9036
9044
  }, null, 8, ["modelValue", "label"]),
9037
9045
  v("div", Lg, [
9038
9046
  v("div", Bg, [
9039
- b(x, {
9047
+ b(F, {
9040
9048
  modelValue: P.value.item.startTime,
9041
9049
  "onUpdate:modelValue": y[9] || (y[9] = (B) => P.value.item.startTime = B),
9042
9050
  label: i.value.startTime,
@@ -9046,7 +9054,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9046
9054
  }, null, 8, ["modelValue", "label"])
9047
9055
  ]),
9048
9056
  v("div", Hg, [
9049
- b(x, {
9057
+ b(F, {
9050
9058
  modelValue: P.value.item.endTime,
9051
9059
  "onUpdate:modelValue": y[10] || (y[10] = (B) => P.value.item.endTime = B),
9052
9060
  label: i.value.endTime,
@@ -9074,7 +9082,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9074
9082
  item: P.value.item,
9075
9083
  schedule: Io.value
9076
9084
  }, void 0, !0),
9077
- P.value.kind === "slot" ? (g(), N(x, {
9085
+ P.value.kind === "slot" ? (g(), N(F, {
9078
9086
  key: 1,
9079
9087
  modelValue: P.value.item.description,
9080
9088
  "onUpdate:modelValue": y[12] || (y[12] = (B) => P.value.item.description = B),
@@ -9089,7 +9097,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9089
9097
  })) : K("", !0),
9090
9098
  b(p(Oo), { align: "right" }, {
9091
9099
  default: R(() => [
9092
- P.value ? (g(), N(F, {
9100
+ P.value ? (g(), N(C, {
9093
9101
  key: 0,
9094
9102
  flat: "",
9095
9103
  color: "negative",
@@ -9097,13 +9105,13 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9097
9105
  onClick: Iu
9098
9106
  }, null, 8, ["label"])) : K("", !0),
9099
9107
  b(p(wn)),
9100
- b(F, {
9108
+ b(C, {
9101
9109
  flat: "",
9102
9110
  label: i.value.cancel,
9103
9111
  color: "primary",
9104
9112
  onClick: y[13] || (y[13] = (B) => $.value = !1)
9105
9113
  }, null, 8, ["label"]),
9106
- b(F, {
9114
+ b(C, {
9107
9115
  label: i.value.save,
9108
9116
  color: "primary",
9109
9117
  onClick: $u
@@ -9120,7 +9128,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9120
9128
  ]);
9121
9129
  };
9122
9130
  }
9123
- }), qg = /* @__PURE__ */ V(_g, [["__scopeId", "data-v-ad5bdb03"]]), Ug = { class: "schedule-timeline" }, Ng = {
9131
+ }), qg = /* @__PURE__ */ V(_g, [["__scopeId", "data-v-cfbff9e3"]]), Ug = { class: "schedule-timeline" }, Ng = {
9124
9132
  key: 0,
9125
9133
  class: "timeline-container"
9126
9134
  }, Vg = { class: "day-header" }, jg = { class: "day-title" }, Wg = { class: "timeline" }, Gg = {
@@ -9178,10 +9186,10 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9178
9186
  }, u = (I) => i.slotName ? i.slotName(I) : (I == null ? void 0 : I.name) || "", l = (I) => i.sessionName ? i.sessionName(I) : (I == null ? void 0 : I.name) || "", d = (I) => i.slotParticipants ? i.slotParticipants(I) : (I == null ? void 0 : I.participants) || [], c = (I) => i.sessionParticipants ? i.sessionParticipants(I) : (I == null ? void 0 : I.participants) || [], h = (I) => {
9179
9187
  var q, W;
9180
9188
  return i.participantName ? i.participantName(I) : (I == null ? void 0 : I.name) || (I == null ? void 0 : I.fullName) || ((W = (q = I == null ? void 0 : I.human) == null ? void 0 : q.getFullName) == null ? void 0 : W.call(q)) || "";
9181
- }, f = (I) => i.participantBio ? i.participantBio(I) : (I == null ? void 0 : I.bio) || (I == null ? void 0 : I.regalias) || "", C = (I) => i.slotListOf ? i.slotListOf(I) : (I == null ? void 0 : I.slots) || [], $ = (I) => i.nestedSlotListOf ? i.nestedSlotListOf(I) : (I == null ? void 0 : I.slots) || [], P = (I) => I.schedules.filter(
9189
+ }, f = (I) => i.participantBio ? i.participantBio(I) : (I == null ? void 0 : I.bio) || (I == null ? void 0 : I.regalias) || "", x = (I) => i.slotListOf ? i.slotListOf(I) : (I == null ? void 0 : I.slots) || [], $ = (I) => i.nestedSlotListOf ? i.nestedSlotListOf(I) : (I == null ? void 0 : I.slots) || [], P = (I) => I.schedules.filter(
9182
9190
  (q) => {
9183
9191
  var W;
9184
- return C(q).length > 0 || (((W = q.sessions) == null ? void 0 : W.length) || 0) > 0;
9192
+ return x(q).length > 0 || (((W = q.sessions) == null ? void 0 : W.length) || 0) > 0;
9185
9193
  }
9186
9194
  ), E = (I) => {
9187
9195
  const q = [], W = new Set((I.sessions || []).map((he) => he.id));
@@ -9191,7 +9199,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9191
9199
  q.push({ kind: "slot", item: Te, nested: !0, index: 0 });
9192
9200
  }
9193
9201
  let de = 0;
9194
- for (const he of C(I).filter(
9202
+ for (const he of x(I).filter(
9195
9203
  (Te) => !Te.sessionId || !W.has(Te.sessionId)
9196
9204
  ))
9197
9205
  q.push({ kind: "slot", item: he, nested: !1, index: de++ });
@@ -9204,7 +9212,7 @@ const _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9204
9212
  return (W = q.schedules) == null ? void 0 : W.some(
9205
9213
  (de) => {
9206
9214
  var he;
9207
- return C(de).length > 0 || (((he = de.sessions) == null ? void 0 : he.length) || 0) > 0;
9215
+ return x(de).length > 0 || (((he = de.sessions) == null ? void 0 : he.length) || 0) > 0;
9208
9216
  }
9209
9217
  );
9210
9218
  }
@@ -9492,7 +9500,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
9492
9500
  [pi.M]: "md",
9493
9501
  [pi.L]: "lg",
9494
9502
  [pi.XL]: "xl"
9495
- }, f = X(() => i.size !== void 0 ? i.size : ["xs", "sm", "md", "lg", "xl"].includes(e.size) ? e.size : h[e.size] ?? "md"), C = X(
9503
+ }, f = X(() => i.size !== void 0 ? i.size : ["xs", "sm", "md", "lg", "xl"].includes(e.size) ? e.size : h[e.size] ?? "md"), x = X(
9496
9504
  () => i.flat !== void 0 ? i.flat : ["text", "pag", "text_ano"].includes(e.skin)
9497
9505
  ), $ = X(
9498
9506
  () => i.outline !== void 0 ? i.outline : e.skin === "invert"
@@ -9503,7 +9511,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
9503
9511
  style: p(l),
9504
9512
  color: p(c),
9505
9513
  size: p(f),
9506
- flat: p(C),
9514
+ flat: p(x),
9507
9515
  outline: p($),
9508
9516
  unelevated: p(P),
9509
9517
  disable: p(E),
@@ -9642,7 +9650,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
9642
9650
  e({ focus: h });
9643
9651
  const f = () => {
9644
9652
  n("input", s.value);
9645
- }, C = X(() => {
9653
+ }, x = X(() => {
9646
9654
  const $ = {};
9647
9655
  return l.margin && ($.margin = l.margin), l.padding && ($.padding = l.padding), l.width && ($.width = l.width), l.borderColor && ($["--p-border-color"] = l.borderColor), $;
9648
9656
  });
@@ -9658,7 +9666,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
9658
9666
  disable: p(d),
9659
9667
  rules: t.rules,
9660
9668
  "input-style": { color: t.color || void 0 },
9661
- style: p(C),
9669
+ style: p(x),
9662
9670
  class: "p-input",
9663
9671
  outlined: "",
9664
9672
  dense: "",
@@ -9838,7 +9846,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
9838
9846
  }, {
9839
9847
  default: R(() => [
9840
9848
  v("div", Vv, [
9841
- di(b(Pt, {
9849
+ ci(b(Pt, {
9842
9850
  label: "Готово",
9843
9851
  color: "primary",
9844
9852
  flat: ""
@@ -10311,7 +10319,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
10311
10319
  return W.includes(".") ? W.split(".")[1].length : 0;
10312
10320
  }, l = u(), d = qt(t, "modelValue"), h = ((W) => Math.min(Math.max(W, o.min), o.max))(d.value);
10313
10321
  h !== d.value && (d.value = h);
10314
- const f = L(h.toFixed(u())), C = X(() => {
10322
+ const f = L(h.toFixed(u())), x = X(() => {
10315
10323
  const W = {};
10316
10324
  return o.margin && (W.margin = o.margin), o.padding && (W.padding = o.padding), W;
10317
10325
  }), $ = (W) => {
@@ -10330,7 +10338,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
10330
10338
  type: "number",
10331
10339
  disable: t.disabled,
10332
10340
  "input-style": { color: t.disabled ? "#828587" : t.color, textAlign: "center" },
10333
- style: p(C),
10341
+ style: p(x),
10334
10342
  outlined: "",
10335
10343
  dense: "",
10336
10344
  "hide-bottom-space": "",
@@ -10571,7 +10579,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
10571
10579
  default: R(() => [
10572
10580
  b(p(ga), { dense: "" }, {
10573
10581
  default: R(() => [
10574
- (g(!0), w(Z, null, be(p(r), (h) => di((g(), N(p(va), {
10582
+ (g(!0), w(Z, null, be(p(r), (h) => ci((g(), N(p(va), {
10575
10583
  key: h.value,
10576
10584
  clickable: "",
10577
10585
  class: "tag-item",
@@ -10624,8 +10632,8 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
10624
10632
  setup(t, { emit: e }) {
10625
10633
  const i = qt(t, "modelValue"), n = e, s = _t(), r = X(() => typeof s.id == "string" ? s.id : void 0), o = X(() => {
10626
10634
  const f = {};
10627
- for (const C of Object.keys(s))
10628
- C !== "id" && C !== "disable" && (f[C] = s[C]);
10635
+ for (const x of Object.keys(s))
10636
+ x !== "id" && x !== "disable" && (f[x] = s[x]);
10629
10637
  return f;
10630
10638
  }), u = t, l = X(() => s.disable ?? u.disabled), d = (f) => {
10631
10639
  n("change", f);
@@ -10635,9 +10643,9 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
10635
10643
  const f = {};
10636
10644
  return u.margin && (f.margin = u.margin), u.padding && (f.padding = u.padding), u.width && (f.width = u.width), u.inPadding && (f.padding = u.inPadding), f;
10637
10645
  });
10638
- return (f, C) => (g(), N(p(Nu), ft({
10646
+ return (f, x) => (g(), N(p(Nu), ft({
10639
10647
  modelValue: i.value,
10640
- "onUpdate:modelValue": C[0] || (C[0] = ($) => i.value = $)
10648
+ "onUpdate:modelValue": x[0] || (x[0] = ($) => i.value = $)
10641
10649
  }, p(o), {
10642
10650
  for: p(r),
10643
10651
  options: t.options,
@@ -10785,7 +10793,7 @@ const Lv = new Fv(), Bv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
10785
10793
  const e = t, i = ((u = e.storeOpts) == null ? void 0 : u.Options) ?? [], n = L(i);
10786
10794
  async function s(l, d, c, h) {
10787
10795
  var P, E;
10788
- const C = "set" + (((P = d[0]) == null ? void 0 : P.toUpperCase()) + d.slice(1)), $ = l[C];
10796
+ const x = "set" + (((P = d[0]) == null ? void 0 : P.toUpperCase()) + d.slice(1)), $ = l[x];
10789
10797
  typeof $ == "function" ? $(c) : (l[d] = c, l[d + "Id"] = c == null ? void 0 : c.id), await ((E = h == null ? void 0 : h.Update) == null ? void 0 : E.call(h, l));
10790
10798
  }
10791
10799
  const r = (l, d) => {
@@ -11509,22 +11517,22 @@ const O1 = {
11509
11517
  },
11510
11518
  emits: ["openModalWindow"],
11511
11519
  setup(t) {
11512
- Br((C) => ({
11520
+ Br((x) => ({
11513
11521
  v582c9d05: i
11514
11522
  }));
11515
11523
  const e = t, i = `${e.animationTime}ms`, n = L(e.startActiveGroupIndex), s = L(Qt.None), r = L(sl(e.events, e.quantity)), o = X(() => r.value[n.value]);
11516
11524
  zn(() => {
11517
11525
  });
11518
- const u = () => n.value = n.value + 1 < r.value.length ? n.value + 1 : 0, l = () => n.value = n.value - 1 < 0 ? r.value.length - 1 : n.value - 1, d = (C) => {
11519
- s.value = C, setTimeout(() => s.value = Qt.None, e.animationTime);
11520
- }, c = (C) => {
11521
- C != n.value && (d(C < n.value ? Qt.Prev : Qt.Next), setTimeout(() => n.value = C, e.animationTime / 2));
11526
+ const u = () => n.value = n.value + 1 < r.value.length ? n.value + 1 : 0, l = () => n.value = n.value - 1 < 0 ? r.value.length - 1 : n.value - 1, d = (x) => {
11527
+ s.value = x, setTimeout(() => s.value = Qt.None, e.animationTime);
11528
+ }, c = (x) => {
11529
+ x != n.value && (d(x < n.value ? Qt.Prev : Qt.Next), setTimeout(() => n.value = x, e.animationTime / 2));
11522
11530
  }, h = () => {
11523
11531
  d(Qt.Next), setTimeout(u, e.animationTime / 2);
11524
11532
  }, f = () => {
11525
11533
  d(Qt.Prev), setTimeout(l, e.animationTime / 2);
11526
11534
  };
11527
- return (C, $) => (g(), w("div", {
11535
+ return (x, $) => (g(), w("div", {
11528
11536
  class: "field",
11529
11537
  style: O({ height: t.height, maxHeight: t.maxHeight })
11530
11538
  }, [
@@ -11550,7 +11558,7 @@ const O1 = {
11550
11558
  style: O({ height: `calc(${t.height} - 110px)`, maxHeight: `calc(${t.maxHeight} - 110px)` }),
11551
11559
  src: P.fileInfo.getImageUrl(),
11552
11560
  alt: P.fileInfo.originalName,
11553
- onClick: $[1] || ($[1] = (M) => C.showImageInFullScreen())
11561
+ onClick: $[1] || ($[1] = (M) => x.showImageInFullScreen())
11554
11562
  }, null, 12, G1)
11555
11563
  ])
11556
11564
  ])
@@ -11602,7 +11610,7 @@ const O1 = {
11602
11610
  };
11603
11611
  return (d, c) => {
11604
11612
  const h = Dn("click-outside");
11605
- return di((g(), w("div", {
11613
+ return ci((g(), w("div", {
11606
11614
  class: "context-window",
11607
11615
  style: O({
11608
11616
  left: p(o),
@@ -11753,7 +11761,7 @@ const r0 = /* @__PURE__ */ V(i0, [["render", s0], ["__scopeId", "data-v-d28c6f33
11753
11761
  emits: ["load"],
11754
11762
  setup(t, { emit: e }) {
11755
11763
  const i = e, n = L(void 0), s = async (o) => {
11756
- hi.Get().replaceF(o, n.value), n.value = o, hi.Get().p.drop();
11764
+ fi.Get().replaceF(o, n.value), n.value = o, fi.Get().p.drop();
11757
11765
  }, r = async (o) => {
11758
11766
  await s(o), i("load");
11759
11767
  };
@@ -11784,8 +11792,8 @@ const r0 = /* @__PURE__ */ V(i0, [["render", s0], ["__scopeId", "data-v-d28c6f33
11784
11792
  margin: "0px"
11785
11793
  }, {
11786
11794
  default: R(() => [
11787
- (g(!0), w(Z, null, be(t.models, (f, C) => (g(), N(d, {
11788
- key: C,
11795
+ (g(!0), w(Z, null, be(t.models, (f, x) => (g(), N(d, {
11796
+ key: x,
11789
11797
  color: "blue",
11790
11798
  height: "auto",
11791
11799
  text: f.label,
@@ -11818,7 +11826,7 @@ const r0 = /* @__PURE__ */ V(i0, [["render", s0], ["__scopeId", "data-v-d28c6f33
11818
11826
  },
11819
11827
  emits: ["load"],
11820
11828
  setup(t, { emit: e }) {
11821
- const i = e, n = hi.Get(), s = L(void 0), r = async (u) => {
11829
+ const i = e, n = fi.Get(), s = L(void 0), r = async (u) => {
11822
11830
  n.replaceF(u, s.value), s.value = u;
11823
11831
  }, o = async (u) => {
11824
11832
  u ? await r(s.value) : await r(void 0), i("load");
@@ -12009,7 +12017,7 @@ const r0 = /* @__PURE__ */ V(i0, [["render", s0], ["__scopeId", "data-v-d28c6f33
12009
12017
  maxWidth: i.maxWidth,
12010
12018
  minWidth: i.minWidth,
12011
12019
  margin: i.baseBoxMargin
12012
- } : void 0), f = X(() => o.value && i.withOpenWindow), C = X(() => ({
12020
+ } : void 0), f = X(() => o.value && i.withOpenWindow), x = X(() => ({
12013
12021
  background: i.background ? i.background : void 0,
12014
12022
  zIndex: f.value ? "2" : "0",
12015
12023
  padding: f.value ? "0" : i.padding,
@@ -12052,7 +12060,7 @@ const r0 = /* @__PURE__ */ V(i0, [["render", s0], ["__scopeId", "data-v-d28c6f33
12052
12060
  }, [
12053
12061
  v("div", {
12054
12062
  class: pe(["body", p(s)]),
12055
- style: O(p(C)),
12063
+ style: O(p(x)),
12056
12064
  onMouseenter: W[0] || (W[0] = (pt) => t.withHover ? r.value = !0 : r.value = !1),
12057
12065
  onMouseleave: W[1] || (W[1] = (pt) => r.value = !1)
12058
12066
  }, [
@@ -12063,7 +12071,7 @@ const r0 = /* @__PURE__ */ V(i0, [["render", s0], ["__scopeId", "data-v-d28c6f33
12063
12071
  }, [
12064
12072
  A(q.$slots, "default", {}, void 0, !0)
12065
12073
  ], 6)),
12066
- p(o) ? di((g(), w("div", {
12074
+ p(o) ? ci((g(), w("div", {
12067
12075
  key: 1,
12068
12076
  id: "info-item-opened-content",
12069
12077
  class: "open-window",
@@ -12387,18 +12395,18 @@ const H0 = /* @__PURE__ */ V(L0, [["render", B0], ["__scopeId", "data-v-0f1f2f84
12387
12395
  if (h !== s.value.curPage && (h < 1 && (h = 1), h > s.value.pagesCount() && (h = s.value.pagesCount()), !e.showConfirm))
12388
12396
  return await l(h);
12389
12397
  }, l = async (h, f) => {
12390
- s.value.setCurPage(h), hi.Get().p.offset = (h - 1) * s.value.limit, await e.store.FTSP(), c();
12398
+ s.value.setCurPage(h), fi.Get().p.offset = (h - 1) * s.value.limit, await e.store.FTSP(), c();
12391
12399
  }, d = X(() => {
12392
12400
  const h = s.value.pagesCount();
12393
- return h < 8 ? ci.GenerateNumsRange(2, h - 1).filter((f) => f < h && f > 1) : ci.GenerateNumsRange(s.value.curPage - 2, s.value.curPage + 3).filter((f) => f < h && f > 1);
12401
+ return h < 8 ? hi.GenerateNumsRange(2, h - 1).filter((f) => f < h && f > 1) : hi.GenerateNumsRange(s.value.curPage - 2, s.value.curPage + 3).filter((f) => f < h && f > 1);
12394
12402
  }), c = () => {
12395
12403
  const h = document.querySelector(".el-table__body-wrapper"), f = document.querySelector("#list");
12396
12404
  h ? h.scrollTo({ top: 0 }) : f && f.scrollTo({ top: 0 });
12397
12405
  };
12398
12406
  return ys(() => {
12399
- hi.Get().p.drop();
12407
+ fi.Get().p.drop();
12400
12408
  }), (h, f) => {
12401
- const C = ne("ArrowLeft"), $ = ne("PButton"), P = ne("DoubleArrowLeft"), E = ne("EllipsisSvg"), M = ne("DoubleArrowRight"), z = ne("ArrowRight");
12409
+ const x = ne("ArrowLeft"), $ = ne("PButton"), P = ne("DoubleArrowLeft"), E = ne("EllipsisSvg"), M = ne("DoubleArrowRight"), z = ne("ArrowRight");
12402
12410
  return g(), w("div", _0, [
12403
12411
  v("div", {
12404
12412
  class: "pag-container",
@@ -12413,7 +12421,7 @@ const H0 = /* @__PURE__ */ V(L0, [["render", B0], ["__scopeId", "data-v-0f1f2f84
12413
12421
  onClick: f[0] || (f[0] = (I) => u(p(s).curPage - 1))
12414
12422
  }, {
12415
12423
  default: R(() => [
12416
- b(C)
12424
+ b(x)
12417
12425
  ]),
12418
12426
  _: 1
12419
12427
  }, 8, ["type"]),
@@ -12904,7 +12912,7 @@ const H0 = /* @__PURE__ */ V(L0, [["render", B0], ["__scopeId", "data-v-0f1f2f84
12904
12912
  n.value = Oi.GetDefault();
12905
12913
  });
12906
12914
  const s = async (o) => {
12907
- o || (n.value = Oi.GetDefault()), hi.Get().setSortModel(n.value), hi.Get().p.drop(), i("load");
12915
+ o || (n.value = Oi.GetDefault()), fi.Get().setSortModel(n.value), fi.Get().p.drop(), i("load");
12908
12916
  }, r = async (o) => {
12909
12917
  await s(o);
12910
12918
  };
@@ -12952,31 +12960,31 @@ const H0 = /* @__PURE__ */ V(L0, [["render", B0], ["__scopeId", "data-v-0f1f2f84
12952
12960
  background: "inherit",
12953
12961
  border: "1px solid #c4c4c4"
12954
12962
  }, s = () => i.firstModel.valueEq(d.value) ? void 0 : n, r = () => d.value ? n : void 0, o = () => i.secondModel.valueEq(d.value) ? void 0 : n, u = (h) => {
12955
- var C;
12956
- return { color: (C = d.value) != null && C.valueEq(h) ? "#006bb4" : "#B0A4C0" };
12963
+ var x;
12964
+ return { color: (x = d.value) != null && x.valueEq(h) ? "#006bb4" : "#B0A4C0" };
12957
12965
  }, l = e, d = L(void 0), c = async (h) => {
12958
12966
  var f;
12959
12967
  (f = d.value) != null && f.valueEq(h) || (d.value = h, l("load"));
12960
12968
  };
12961
12969
  return (h, f) => {
12962
- const C = ne("PString");
12970
+ const x = ne("PString");
12963
12971
  return g(), w("div", yy, [
12964
12972
  v("div", wy, [
12965
- b(C, {
12973
+ b(x, {
12966
12974
  string: t.firstModel.label,
12967
12975
  "font-size": "12px",
12968
12976
  padding: "0",
12969
12977
  style: O(u(t.firstModel)),
12970
12978
  onClick: f[0] || (f[0] = ($) => c(t.firstModel))
12971
12979
  }, null, 8, ["string", "style"]),
12972
- b(C, {
12980
+ b(x, {
12973
12981
  string: "Все",
12974
12982
  "font-size": "12px",
12975
12983
  padding: "0",
12976
12984
  style: O(u()),
12977
12985
  onClick: f[1] || (f[1] = ($) => c())
12978
12986
  }, null, 8, ["style"]),
12979
- b(C, {
12987
+ b(x, {
12980
12988
  string: t.secondModel.label,
12981
12989
  "font-size": "12px",
12982
12990
  padding: "0",
@@ -14120,7 +14128,7 @@ const vw = /* @__PURE__ */ V(fw, [["render", gw], ["__scopeId", "data-v-c2e31ebb
14120
14128
  style: O({ height: r.value })
14121
14129
  }, null, 12, Pw)
14122
14130
  ], 4)) : K("", !0),
14123
- b(p(li), {
14131
+ b(p(ui), {
14124
14132
  class: "card-content",
14125
14133
  style: O({ maxHeight: t.maxHeight })
14126
14134
  }, {
@@ -14433,7 +14441,7 @@ const vw = /* @__PURE__ */ V(fw, [["render", gw], ["__scopeId", "data-v-c2e31ebb
14433
14441
  h && "focus" in h && h.focus();
14434
14442
  };
14435
14443
  return (h, f) => {
14436
- const C = Dn("close-popup");
14444
+ const x = Dn("close-popup");
14437
14445
  return g(), N(co, {
14438
14446
  modelValue: p(r),
14439
14447
  "onUpdate:modelValue": [
@@ -14454,26 +14462,26 @@ const vw = /* @__PURE__ */ V(fw, [["render", gw], ["__scopeId", "data-v-c2e31ebb
14454
14462
  }, [
14455
14463
  v("div", nb, [
14456
14464
  v("div", sb, Y(n.title), 1),
14457
- di(b(Pt, {
14465
+ ci(b(Pt, {
14458
14466
  icon: "close",
14459
14467
  flat: "",
14460
14468
  dense: "",
14461
14469
  round: "",
14462
14470
  size: "sm"
14463
14471
  }, null, 512), [
14464
- [C]
14472
+ [x]
14465
14473
  ])
14466
14474
  ]),
14467
14475
  v("div", rb, [
14468
14476
  A(h.$slots, "default", {}, void 0, !0)
14469
14477
  ]),
14470
14478
  n.showConfirm ? (g(), w("div", ob, [
14471
- di(b(Pt, {
14479
+ ci(b(Pt, {
14472
14480
  flat: "",
14473
14481
  label: n.cancelLabel,
14474
14482
  size: "sm"
14475
14483
  }, null, 8, ["label"]), [
14476
- [C]
14484
+ [x]
14477
14485
  ]),
14478
14486
  b(Pt, {
14479
14487
  flat: "",
@@ -14710,7 +14718,7 @@ const cb = { class: "btn-group" }, hb = /* @__PURE__ */ _({
14710
14718
  o.value.trim(), i.withName.setName && i.withName.setName(o.value), s.value = !s.value, n("submit");
14711
14719
  };
14712
14720
  return (c, h) => {
14713
- const f = ne("PString"), C = ne("PInput"), $ = ne("InfoItem"), P = ne("PButton"), E = ne("el-form");
14721
+ const f = ne("PString"), x = ne("PInput"), $ = ne("InfoItem"), P = ne("PButton"), E = ne("el-form");
14714
14722
  return g(), N(E, {
14715
14723
  ref_key: "form",
14716
14724
  ref: r,
@@ -14742,7 +14750,7 @@ const cb = { class: "btn-group" }, hb = /* @__PURE__ */ _({
14742
14750
  }, {
14743
14751
  default: R(() => [
14744
14752
  v("div", mb, [
14745
- b(C, {
14753
+ b(x, {
14746
14754
  modelValue: o.value,
14747
14755
  "onUpdate:modelValue": h[0] || (h[0] = (M) => o.value = M),
14748
14756
  style: { width: "100%" },
@@ -14849,14 +14857,14 @@ const cb = { class: "btn-group" }, hb = /* @__PURE__ */ _({
14849
14857
  gridTemplateColumns: `repeat(auto-fit, minmax(${t.minMenuItemWidth}, 1fr))`
14850
14858
  })
14851
14859
  }, [
14852
- (g(!0), w(Z, null, be(t.menus.items, (f, C) => (g(), w("div", { key: C }, [
14860
+ (g(!0), w(Z, null, be(t.menus.items, (f, x) => (g(), w("div", { key: x }, [
14853
14861
  v("div", {
14854
- class: pe({ "selected-tab": C === t.menus.idx, tab: C !== t.menus.idx }),
14862
+ class: pe({ "selected-tab": x === t.menus.idx, tab: x !== t.menus.idx }),
14855
14863
  style: O({
14856
14864
  minHeight: t.tabHeight,
14857
14865
  maxHeight: t.tabHeight
14858
14866
  }),
14859
- onClick: ($) => d(C)
14867
+ onClick: ($) => d(x)
14860
14868
  }, Y(f.name), 15, vb)
14861
14869
  ]))), 128))
14862
14870
  ], 4),
@@ -14927,7 +14935,7 @@ const cb = { class: "btn-group" }, hb = /* @__PURE__ */ _({
14927
14935
  return !!i.formats.includes(c.toLowerCase());
14928
14936
  };
14929
14937
  return (d, c) => {
14930
- const h = ne("PString"), f = ne("PFlex"), C = ne("PButton");
14938
+ const h = ne("PString"), f = ne("PFlex"), x = ne("PButton");
14931
14939
  return g(), w(Z, null, [
14932
14940
  v("input", {
14933
14941
  id: p(s),
@@ -14978,7 +14986,7 @@ const cb = { class: "btn-group" }, hb = /* @__PURE__ */ _({
14978
14986
  }, [
14979
14987
  v("div", null, Y(t.fileInfo.originalName), 1)
14980
14988
  ], 8, xb),
14981
- b(C, {
14989
+ b(x, {
14982
14990
  skin: "text",
14983
14991
  type: "del",
14984
14992
  onClick: u
@@ -15000,7 +15008,7 @@ const cb = { class: "btn-group" }, hb = /* @__PURE__ */ _({
15000
15008
  })
15001
15009
  ])),
15002
15010
  v("div", $b, [
15003
- b(C, {
15011
+ b(x, {
15004
15012
  id: p(r),
15005
15013
  skin: "text",
15006
15014
  type: "success",
@@ -15411,7 +15419,7 @@ function ha(t) {
15411
15419
  function fa(t, e) {
15412
15420
  return Math.pow(t.width - e.width, 2) + Math.pow(t.height - e.height, 2);
15413
15421
  }
15414
- function ui(t) {
15422
+ function di(t) {
15415
15423
  var e = t.width, i = t.height, n = t.sizeRestrictions, s = { minimum: t.aspectRatio && t.aspectRatio.minimum || 0, maximum: t.aspectRatio && t.aspectRatio.maximum || 1 / 0 }, r = { width: Math.max(n.minWidth, Math.min(n.maxWidth, e)), height: Math.max(n.minHeight, Math.min(n.maxHeight, i)) };
15416
15424
  function o(d, c) {
15417
15425
  return c === void 0 && (c = !1), d.reduce(function(h, f) {
@@ -15435,8 +15443,8 @@ function Bb(t) {
15435
15443
  }, d = ae({}, e);
15436
15444
  return (Array.isArray(i) ? i : [i]).forEach(function(c) {
15437
15445
  var h = {};
15438
- Qe((h = typeof c == "function" ? c({ coordinates: d, imageSize: n, visibleArea: u }) : c).width) && Qe(h.height) || (d = function(f, C) {
15439
- var $ = ae(ae(ae({}, f), ui({ width: C.width, height: C.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
15446
+ Qe((h = typeof c == "function" ? c({ coordinates: d, imageSize: n, visibleArea: u }) : c).width) && Qe(h.height) || (d = function(f, x) {
15447
+ var $ = ae(ae(ae({}, f), di({ width: x.width, height: x.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
15440
15448
  return l($, { left: f.left, top: f.top });
15441
15449
  }(d, ae(ae({}, d), h))), Qe(h.left) && Qe(h.top) || (d = l(d, ae(ae({}, d), h)));
15442
15450
  }), d;
@@ -15447,9 +15455,9 @@ function Hb(t) {
15447
15455
  t.aspectRatio;
15448
15456
  var r = t.stencilSize, o = t.sizeRestrictions, u = t.positionRestrictions;
15449
15457
  t.stencilReference;
15450
- var l, d, c, h = ae({}, n), f = ae({}, s), C = ae({}, r);
15451
- l = xe(C), d = xe(h), c === void 0 && (c = 1e-3), (l === 0 || d === 0 ? Math.abs(d - l) < c : Math.abs(d / l) < 1 + c && Math.abs(d / l) > 1 - c) || (h = ae(ae({}, h), ui({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: xe(C), maximum: xe(C) } })));
15452
- var $ = qs(f = Bt(f, h.width * i.width / (f.width * C.width)), e({ visibleArea: f, type: "resize" }));
15458
+ var l, d, c, h = ae({}, n), f = ae({}, s), x = ae({}, r);
15459
+ l = xe(x), d = xe(h), c === void 0 && (c = 1e-3), (l === 0 || d === 0 ? Math.abs(d - l) < c : Math.abs(d / l) < 1 + c && Math.abs(d / l) > 1 - c) || (h = ae(ae({}, h), di({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: xe(x), maximum: xe(x) } })));
15460
+ var $ = qs(f = Bt(f, h.width * i.width / (f.width * x.width)), e({ visibleArea: f, type: "resize" }));
15453
15461
  return $ !== 1 && (f = Bt(f, $), h = Bt(h, $)), f = rt(f = xt(f, an(st(h), st(f))), e({ visibleArea: f, type: "move" })), { coordinates: h = rt(h, Us(si(f), u)), visibleArea: f };
15454
15462
  }
15455
15463
  function _b(t) {
@@ -15480,11 +15488,11 @@ function Ub(t) {
15480
15488
  }
15481
15489
  function Nb(t) {
15482
15490
  var e = t.imageSize, i = t.visibleArea, n = t.aspectRatio, s = t.sizeRestrictions, r = i || e, o = Math.min(n.maximum || 1 / 0, Math.max(n.minimum || 0, xe(r))), u = r.width < r.height ? { width: 0.8 * r.width, height: 0.8 * r.width / o } : { height: 0.8 * r.height, width: 0.8 * r.height * o };
15483
- return ui(ae(ae({}, u), { aspectRatio: n, sizeRestrictions: s }));
15491
+ return di(ae(ae({}, u), { aspectRatio: n, sizeRestrictions: s }));
15484
15492
  }
15485
15493
  function Vb(t) {
15486
15494
  var e, i, n = t.imageSize, s = t.visibleArea, r = t.boundaries, o = t.aspectRatio, u = t.sizeRestrictions, l = t.stencilSize, d = s || n;
15487
- return xe(d) > xe(r) ? i = (e = l.height * d.height / r.height) * xe(l) : e = (i = l.width * d.width / r.width) / xe(l), ui({ width: i, height: e, aspectRatio: o, sizeRestrictions: u });
15495
+ return xe(d) > xe(r) ? i = (e = l.height * d.height / r.height) * xe(l) : e = (i = l.width * d.width / r.width) / xe(l), di({ width: i, height: e, aspectRatio: o, sizeRestrictions: u });
15488
15496
  }
15489
15497
  function jb(t) {
15490
15498
  var e = t.getAreaRestrictions, i = t.coordinates, n = t.imageSize, s = xe(t.boundaries);
@@ -15499,22 +15507,22 @@ function es(t, e) {
15499
15507
  return cu(t, si(e));
15500
15508
  }
15501
15509
  function Wb(t) {
15502
- var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.sizeRestrictions, r = t.getAreaRestrictions, o = t.positionRestrictions, u = t.adjustStencil, l = e.scale, d = e.move, c = ae({}, n), h = ae({}, i), f = 1, C = 1, $ = l.factor && Math.abs(l.factor - 1) > 1e-3;
15510
+ var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.sizeRestrictions, r = t.getAreaRestrictions, o = t.positionRestrictions, u = t.adjustStencil, l = e.scale, d = e.move, c = ae({}, n), h = ae({}, i), f = 1, x = 1, $ = l.factor && Math.abs(l.factor - 1) > 1e-3;
15503
15511
  c = xt(c, { left: d.left || 0, top: d.top || 0 });
15504
15512
  var P = { stencil: { minimum: Math.max(s.minWidth ? s.minWidth / h.width : 0, s.minHeight ? s.minHeight / h.height : 0), maximum: Math.min(s.maxWidth ? s.maxWidth / h.width : 1 / 0, s.maxHeight ? s.maxHeight / h.height : 1 / 0, ln(h, o)) }, area: { maximum: ln(c, r({ visibleArea: c, type: "resize" })) } };
15505
- l.factor && $ && (l.factor < 1 ? (C = Math.max(l.factor, P.stencil.minimum)) > 1 && (C = 1) : l.factor > 1 && (C = Math.min(l.factor, Math.min(P.area.maximum, P.stencil.maximum))) < 1 && (C = 1)), C && (c = Bt(c, C, l.center));
15513
+ l.factor && $ && (l.factor < 1 ? (x = Math.max(l.factor, P.stencil.minimum)) > 1 && (x = 1) : l.factor > 1 && (x = Math.min(l.factor, Math.min(P.area.maximum, P.stencil.maximum))) < 1 && (x = 1)), x && (c = Bt(c, x, l.center));
15506
15514
  var E = i.left - n.left, M = n.width + n.left - (i.width + i.left), z = i.top - n.top, I = n.height + n.top - (i.height + i.top);
15507
- return c = rt(c = xt(c, un(c, { left: o.left !== void 0 ? o.left - E * C : void 0, top: o.top !== void 0 ? o.top - z * C : void 0, bottom: o.bottom !== void 0 ? o.bottom + I * C : void 0, right: o.right !== void 0 ? o.right + M * C : void 0 })), r({ visibleArea: c, type: "move" })), h.width = h.width * C, h.height = h.height * C, h.left = c.left + E * C, h.top = c.top + z * C, h = rt(h, Us(si(c), o)), l.factor && $ && u && (l.factor > 1 ? f = Math.min(P.area.maximum, l.factor) / C : l.factor < 1 && (f = Math.max(h.height / c.height, h.width / c.width, l.factor / C)), f !== 1 && (c = xt(c = rt(c = Bt(c, f, l.factor > 1 ? l.center : st(h)), r({ visibleArea: c, type: "move" })), _s(un(h, si(c)))))), { coordinates: h, visibleArea: c };
15515
+ return c = rt(c = xt(c, un(c, { left: o.left !== void 0 ? o.left - E * x : void 0, top: o.top !== void 0 ? o.top - z * x : void 0, bottom: o.bottom !== void 0 ? o.bottom + I * x : void 0, right: o.right !== void 0 ? o.right + M * x : void 0 })), r({ visibleArea: c, type: "move" })), h.width = h.width * x, h.height = h.height * x, h.left = c.left + E * x, h.top = c.top + z * x, h = rt(h, Us(si(c), o)), l.factor && $ && u && (l.factor > 1 ? f = Math.min(P.area.maximum, l.factor) / x : l.factor < 1 && (f = Math.max(h.height / c.height, h.width / c.width, l.factor / x)), f !== 1 && (c = xt(c = rt(c = Bt(c, f, l.factor > 1 ? l.center : st(h)), r({ visibleArea: c, type: "move" })), _s(un(h, si(c)))))), { coordinates: h, visibleArea: c };
15508
15516
  }
15509
15517
  function Gb(t) {
15510
15518
  var e = t.aspectRatio, i = t.getAreaRestrictions, n = t.coordinates, s = t.visibleArea, r = t.sizeRestrictions, o = t.positionRestrictions, u = t.imageSize, l = t.previousImageSize, d = t.angle, c = ae({}, n), h = ae({}, s), f = yi(st(ae({ left: 0, top: 0 }, l)), d);
15511
- return (c = ae(ae({}, ui({ sizeRestrictions: r, aspectRatio: e, width: c.width, height: c.height })), yi(st(c), d))).left -= f.left - u.width / 2 + c.width / 2, c.top -= f.top - u.height / 2 + c.height / 2, h = Bt(h, qs(h, i({ visibleArea: h, type: "resize" }))), { coordinates: c = rt(c, o), visibleArea: h = rt(h = xt(h, an(st(c), st(n))), i({ visibleArea: h, type: "move" })) };
15519
+ return (c = ae(ae({}, di({ sizeRestrictions: r, aspectRatio: e, width: c.width, height: c.height })), yi(st(c), d))).left -= f.left - u.width / 2 + c.width / 2, c.top -= f.top - u.height / 2 + c.height / 2, h = Bt(h, qs(h, i({ visibleArea: h, type: "resize" }))), { coordinates: c = rt(c, o), visibleArea: h = rt(h = xt(h, an(st(c), st(n))), i({ visibleArea: h, type: "move" })) };
15512
15520
  }
15513
15521
  function Yb(t) {
15514
15522
  var e = t.flip, i = t.previousFlip, n = t.rotate, s = t.getAreaRestrictions, r = t.coordinates, o = t.visibleArea, u = t.imageSize, l = ae({}, r), d = ae({}, o), c = i.horizontal !== e.horizontal, h = i.vertical !== e.vertical;
15515
15523
  if (c || h) {
15516
- var f = yi({ left: u.width / 2, top: u.height / 2 }, -n), C = yi(st(l), -n), $ = yi({ left: c ? f.left - (C.left - f.left) : C.left, top: h ? f.top - (C.top - f.top) : C.top }, n);
15517
- l = xt(l, an($, st(l))), C = yi(st(d), -n), d = rt(d = xt(d, an($ = yi({ left: c ? f.left - (C.left - f.left) : C.left, top: h ? f.top - (C.top - f.top) : C.top }, n), st(d))), s({ visibleArea: d, type: "move" }));
15524
+ var f = yi({ left: u.width / 2, top: u.height / 2 }, -n), x = yi(st(l), -n), $ = yi({ left: c ? f.left - (x.left - f.left) : x.left, top: h ? f.top - (x.top - f.top) : x.top }, n);
15525
+ l = xt(l, an($, st(l))), x = yi(st(d), -n), d = rt(d = xt(d, an($ = yi({ left: c ? f.left - (x.left - f.left) : x.left, top: h ? f.top - (x.top - f.top) : x.top }, n), st(d))), s({ visibleArea: d, type: "move" }));
15518
15526
  }
15519
15527
  return { coordinates: l, visibleArea: d };
15520
15528
  }
@@ -15528,11 +15536,11 @@ function ma(t) {
15528
15536
  var E = h[P];
15529
15537
  E && l[P] && (f[P] = Math.max(0, 1 - E / l[P]));
15530
15538
  }), o) {
15531
- var C = Math.min.apply(null, ti.map(function(P) {
15539
+ var x = Math.min.apply(null, ti.map(function(P) {
15532
15540
  return f[P];
15533
15541
  }));
15534
- C !== 1 / 0 && ti.forEach(function(P) {
15535
- l[P] *= C;
15542
+ x !== 1 / 0 && ti.forEach(function(P) {
15543
+ l[P] *= x;
15536
15544
  });
15537
15545
  } else ti.forEach(function(P) {
15538
15546
  f[P] !== 1 / 0 && (l[P] *= f[P]);
@@ -15721,7 +15729,7 @@ function i2(t) {
15721
15729
  try {
15722
15730
  if (t) if (/^data:/i.test(t)) e(function(l) {
15723
15731
  l = l.replace(/^data:([^;]+);base64,/gim, "");
15724
- for (var d = atob(l), c = d.length, h = new ArrayBuffer(c), f = new Uint8Array(h), C = 0; C < c; C++) f[C] = d.charCodeAt(C);
15732
+ for (var d = atob(l), c = d.length, h = new ArrayBuffer(c), f = new Uint8Array(h), x = 0; x < c; x++) f[x] = d.charCodeAt(x);
15725
15733
  return h;
15726
15734
  }(t));
15727
15735
  else if (/^blob:/i.test(t)) {
@@ -15762,9 +15770,9 @@ function n2(t) {
15762
15770
  }
15763
15771
  l++;
15764
15772
  }
15765
- if (r && (n = r + 10, function(C, $, P) {
15773
+ if (r && (n = r + 10, function(x, $, P) {
15766
15774
  var E, M = "";
15767
- for (E = $, P += $; E < P; E++) M += String.fromCharCode(C.getUint8(E));
15775
+ for (E = $, P += $; E < P; E++) M += String.fromCharCode(x.getUint8(E));
15768
15776
  return M;
15769
15777
  }(i, r + 4, 4) === "Exif")) {
15770
15778
  var d = i.getUint16(n);
@@ -15913,7 +15921,7 @@ var is = Wt("vue-preview"), gu = { props: { coordinates: { type: Object }, trans
15913
15921
  t && t.complete && this.refreshImage(), this.refresh();
15914
15922
  } } };
15915
15923
  gu.render = function(t, e, i, n, s, r) {
15916
- return g(), N("div", { ref: "root", class: r.classes.root, style: r.style }, [b("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [di(b("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[ba, i.image && i.image.src]])], 6)], 6);
15924
+ return g(), N("div", { ref: "root", class: r.classes.root, style: r.style }, [b("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [ci(b("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[ba, i.image && i.image.src]])], 6)], 6);
15917
15925
  };
15918
15926
  var vu = { components: { Preview: gu }, inheritAttrs: !1 };
15919
15927
  vu.render = function(t, e, i, n, s, r) {
@@ -15958,7 +15966,7 @@ yu.render = function(t, e, i, n, s, r) {
15958
15966
  }), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
15959
15967
  }), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
15960
15968
  };
15961
- var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper", components: { BackgroundWrapper: Lr }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
15969
+ var s2 = ["transitions"], ai = Wt("vue-advanced-cropper"), wu = { name: "Cropper", components: { BackgroundWrapper: Lr }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
15962
15970
  return yu;
15963
15971
  } }, backgroundWrapperComponent: { type: [Object, String], default: function() {
15964
15972
  return Lr;
@@ -15975,14 +15983,14 @@ var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper
15975
15983
  });
15976
15984
  var c = ei(o, l = ma({ coordinates: o, directions: l, sizeRestrictions: r, positionRestrictions: s })).width, h = ei(o, l).height, f = u.preserveRatio ? xe(o) : cr(c / h, n);
15977
15985
  if (f) {
15978
- var C = u.respectDirection;
15979
- if (C || (C = o.width >= o.height || f === 1 ? "width" : "height"), C === "width") {
15986
+ var x = u.respectDirection;
15987
+ if (x || (x = o.width >= o.height || f === 1 ? "width" : "height"), x === "width") {
15980
15988
  var $ = c / f - o.height;
15981
15989
  if (d.top && d.bottom) {
15982
15990
  var P = l.top, E = l.bottom;
15983
15991
  l.bottom = ts($, E, P), l.top = ts($, P, E);
15984
15992
  } else d.bottom ? l.bottom = $ : d.top ? l.top = $ : d.right ? l.right = 0 : d.left && (l.left = 0);
15985
- } else if (C === "height") {
15993
+ } else if (x === "height") {
15986
15994
  var M = o.width - h * f;
15987
15995
  if (d.left && d.right) {
15988
15996
  var z = l.left, I = l.right;
@@ -15998,7 +16006,7 @@ var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper
15998
16006
  var e = t.stretcher, i = t.imageSize, n = xe(i);
15999
16007
  e.style.width = i.width + "px", e.style.height = e.clientWidth / n + "px", e.style.width = e.clientWidth + "px";
16000
16008
  } }, fitCoordinates: { type: Function, default: function(t) {
16001
- var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = ae(ae({}, i), ui({ width: i.width, height: i.height, aspectRatio: n, sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minHeight: Math.min(e.height, s.minHeight), minWidth: Math.min(e.width, s.minWidth) } }));
16009
+ var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = ae(ae({}, i), di({ width: i.width, height: i.height, aspectRatio: n, sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minHeight: Math.min(e.height, s.minHeight), minWidth: Math.min(e.width, s.minWidth) } }));
16002
16010
  return o = rt(o = xt(o, an(st(i), st(o))), Us(si(e), r));
16003
16011
  } }, fitVisibleArea: { type: Function, default: function(t) {
16004
16012
  var e = t.visibleArea, i = t.boundaries, n = t.getAreaRestrictions, s = t.coordinates, r = ae({}, e);
@@ -16053,7 +16061,7 @@ var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper
16053
16061
  }, positionRestrictions: function() {
16054
16062
  return this.positionRestrictionsAlgorithm({ imageSize: this.imageSize, imageRestriction: this.imageRestriction });
16055
16063
  }, classes: function() {
16056
- return { cropper: oi(), image: Ye(oi("image"), this.imageClass), stencil: oi("stencil"), boundaries: Ye(oi("boundaries"), this.boundariesClass), stretcher: Ye(oi("stretcher")), background: Ye(oi("background"), this.backgroundClass), foreground: Ye(oi("foreground"), this.foregroundClass), imageWrapper: Ye(oi("image-wrapper")), cropperWrapper: Ye(oi("cropper-wrapper")) };
16064
+ return { cropper: ai(), image: Ye(ai("image"), this.imageClass), stencil: ai("stencil"), boundaries: Ye(ai("boundaries"), this.boundariesClass), stretcher: Ye(ai("stretcher")), background: Ye(ai("background"), this.backgroundClass), foreground: Ye(ai("foreground"), this.foregroundClass), imageWrapper: Ye(ai("image-wrapper")), cropperWrapper: Ye(ai("cropper-wrapper")) };
16057
16065
  }, stencilCoordinates: function() {
16058
16066
  if (this.initialized) {
16059
16067
  var t = this.coordinates, e = t.width, i = t.height, n = t.left, s = t.top;
@@ -16164,16 +16172,16 @@ var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper
16164
16172
  }, getCanvas: function() {
16165
16173
  if (this.$refs.canvas) {
16166
16174
  var t = this.$refs.canvas, e = this.$refs.image, i = this.imageTransforms.rotate !== 0 || this.imageTransforms.flip.horizontal || this.imageTransforms.flip.vertical ? function(u, l, d) {
16167
- var c = d.rotate, h = d.flip, f = { width: l.naturalWidth, height: l.naturalHeight }, C = du(f, c), $ = u.getContext("2d");
16168
- u.height = C.height, u.width = C.width, $.save();
16175
+ var c = d.rotate, h = d.flip, f = { width: l.naturalWidth, height: l.naturalHeight }, x = du(f, c), $ = u.getContext("2d");
16176
+ u.height = x.height, u.width = x.width, $.save();
16169
16177
  var P = yi(st(ae({ left: 0, top: 0 }, f)), c);
16170
- return $.translate(-(P.left - C.width / 2), -(P.top - C.height / 2)), $.rotate(c * Math.PI / 180), $.translate(h.horizontal ? f.width : 0, h.vertical ? f.height : 0), $.scale(h.horizontal ? -1 : 1, h.vertical ? -1 : 1), $.drawImage(l, 0, 0, f.width, f.height), $.restore(), u;
16178
+ return $.translate(-(P.left - x.width / 2), -(P.top - x.height / 2)), $.rotate(c * Math.PI / 180), $.translate(h.horizontal ? f.width : 0, h.vertical ? f.height : 0), $.scale(h.horizontal ? -1 : 1, h.vertical ? -1 : 1), $.drawImage(l, 0, 0, f.width, f.height), $.restore(), u;
16171
16179
  }(this.$refs.sourceCanvas, e, this.imageTransforms) : e, n = Ce({ minWidth: 0, minHeight: 0, maxWidth: 1 / 0, maxHeight: 1 / 0, maxArea: this.maxCanvasSize, imageSmoothingEnabled: !0, imageSmoothingQuality: "high", fillColor: "transparent" }, this.canvas), s = function(u) {
16172
16180
  return u.find(function(l) {
16173
16181
  return d = l, !Number.isNaN(parseFloat(d)) && isFinite(d);
16174
16182
  var d;
16175
16183
  });
16176
- }, r = ui({ sizeRestrictions: { minWidth: s([n.width, n.minWidth]) || 0, minHeight: s([n.height, n.minHeight]) || 0, maxWidth: s([n.width, n.maxWidth]) || 1 / 0, maxHeight: s([n.height, n.maxHeight]) || 1 / 0 }, width: this.coordinates.width, height: this.coordinates.height, aspectRatio: { minimum: this.coordinates.width / this.coordinates.height, maximum: this.coordinates.width / this.coordinates.height } });
16184
+ }, r = di({ sizeRestrictions: { minWidth: s([n.width, n.minWidth]) || 0, minHeight: s([n.height, n.minHeight]) || 0, maxWidth: s([n.width, n.maxWidth]) || 1 / 0, maxHeight: s([n.height, n.maxHeight]) || 1 / 0 }, width: this.coordinates.width, height: this.coordinates.height, aspectRatio: { minimum: this.coordinates.width / this.coordinates.height, maximum: this.coordinates.width / this.coordinates.height } });
16177
16185
  if (n.maxArea && r.width * r.height > n.maxArea) {
16178
16186
  var o = Math.sqrt(n.maxArea / (r.width * r.height));
16179
16187
  r = { width: Math.round(o * r.width), height: Math.round(o * r.height) };
@@ -16182,8 +16190,8 @@ var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper
16182
16190
  u.width = c ? c.width : d.width, u.height = c ? c.height : d.height;
16183
16191
  var f = u.getContext("2d");
16184
16192
  f.clearRect(0, 0, u.width, u.height), h && (h.imageSmoothingEnabled && (f.imageSmoothingEnabled = h.imageSmoothingEnabled), h.imageSmoothingQuality && (f.imageSmoothingQuality = h.imageSmoothingQuality), h.fillColor && (f.fillStyle = h.fillColor, f.fillRect(0, 0, u.width, u.height), f.save()));
16185
- var C = d.left < 0 ? -d.left : 0, $ = d.top < 0 ? -d.top : 0;
16186
- f.drawImage(l, d.left + C, d.top + $, d.width, d.height, C * (u.width / d.width), $ * (u.height / d.height), u.width, u.height);
16193
+ var x = d.left < 0 ? -d.left : 0, $ = d.top < 0 ? -d.top : 0;
16194
+ f.drawImage(l, d.left + x, d.top + $, d.width, d.height, x * (u.width / d.width), $ * (u.height / d.height), u.width, u.height);
16187
16195
  }(t, i, this.coordinates, r, n), t;
16188
16196
  }
16189
16197
  }, update: function() {
@@ -16361,7 +16369,7 @@ var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper
16361
16369
  }
16362
16370
  return { minimum: e, maximum: i };
16363
16371
  }, getStencilSize: function() {
16364
- if (this.stencilSize) return t = { currentStencilSize: { width: this.stencilCoordinates.width, height: this.stencilCoordinates.height }, stencilSize: this.stencilSize, boundaries: this.boundaries, coefficient: this.coefficient, coordinates: this.coordinates, aspectRatio: this.getAspectRatio(!0) }, e = t.boundaries, i = t.stencilSize, n = t.aspectRatio, cr(xe(s = Gi(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = ui({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: n.minimum, maximum: n.maximum } })), (s.width > e.width || s.height > e.height) && (s = ui({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: xe(s), maximum: xe(s) } })), s;
16372
+ if (this.stencilSize) return t = { currentStencilSize: { width: this.stencilCoordinates.width, height: this.stencilCoordinates.height }, stencilSize: this.stencilSize, boundaries: this.boundaries, coefficient: this.coefficient, coordinates: this.coordinates, aspectRatio: this.getAspectRatio(!0) }, e = t.boundaries, i = t.stencilSize, n = t.aspectRatio, cr(xe(s = Gi(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = di({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: n.minimum, maximum: n.maximum } })), (s.width > e.width || s.height > e.height) && (s = di({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: xe(s), maximum: xe(s) } })), s;
16365
16373
  var t, e, i, n, s;
16366
16374
  }, getPublicProperties: function() {
16367
16375
  return { coefficient: this.coefficient, visibleArea: this.visibleArea, coordinates: this.coordinates, boundaries: this.boundaries, sizeRestrictions: this.sizeRestrictions, positionRestrictions: this.positionRestrictions, aspectRatio: this.getAspectRatio(), imageRestriction: this.imageRestriction };
@@ -16387,7 +16395,7 @@ var s2 = ["transitions"], oi = Wt("vue-advanced-cropper"), wu = { name: "Cropper
16387
16395
  wu.render = function(t, e, i, n, s, r) {
16388
16396
  return g(), N("div", { ref: "cropper", class: r.classes.cropper }, [b("div", { ref: "stretcher", class: r.classes.stretcher }, null, 2), b("div", { class: r.classes.boundaries, style: r.boundariesStyle }, [(g(), N(Tn(i.backgroundWrapperComponent), { class: r.classes.cropperWrapper, "wheel-resize": r.settings.resizeImage.wheel, "touch-resize": r.settings.resizeImage.touch, "touch-move": r.settings.moveImage.touch, "mouse-move": r.settings.moveImage.mouse, onMove: r.onManipulateImage, onResize: r.onManipulateImage }, { default: R(function() {
16389
16397
  return [b("div", { class: r.classes.background, style: r.boundariesStyle }, null, 6), b("div", { class: r.classes.imageWrapper }, [b("img", { ref: "image", crossorigin: s.imageAttributes.crossOrigin, src: s.imageAttributes.src, class: r.classes.image, style: r.imageStyle, onMousedown: e[1] || (e[1] = Je(function() {
16390
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), b("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), di((g(), N(Tn(i.stencilComponent), ft({ ref: "stencil", image: r.image, coordinates: s.coordinates, "stencil-coordinates": r.stencilCoordinates, transitions: r.transitionsOptions }, i.stencilProps, { onResize: r.onResize, onResizeEnd: r.onResizeEnd, onMove: r.onMove, onMoveEnd: r.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[ba, s.imageLoaded]]), i.canvas ? (g(), N("canvas", r2, null, 512)) : K("", !0), i.canvas ? (g(), N("canvas", o2, null, 512)) : K("", !0)];
16398
+ }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), b("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), ci((g(), N(Tn(i.stencilComponent), ft({ ref: "stencil", image: r.image, coordinates: s.coordinates, "stencil-coordinates": r.stencilCoordinates, transitions: r.transitionsOptions }, i.stencilProps, { onResize: r.onResize, onResizeEnd: r.onResizeEnd, onMove: r.onMove, onMoveEnd: r.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[ba, s.imageLoaded]]), i.canvas ? (g(), N("canvas", r2, null, 512)) : K("", !0), i.canvas ? (g(), N("canvas", o2, null, 512)) : K("", !0)];
16391
16399
  }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
16392
16400
  };
16393
16401
  const a2 = {
@@ -16538,7 +16546,7 @@ const l2 = { class: "cropper-wrapper" }, u2 = { class: "row justify-end q-mt-md"
16538
16546
  })), f = X(() => ({
16539
16547
  width: `${n.height * d.value}px`,
16540
16548
  height: `${n.height}px`
16541
- })), C = () => {
16549
+ })), x = () => {
16542
16550
  r.value = void 0, d.value = 1, s("update:ratio", 1), s("removeFile");
16543
16551
  }, $ = (M) => {
16544
16552
  M.blob.src = M.src, n.fileInfo.setFile && n.fileInfo.setFile(M.blob), n.fileInfo.fileSystemPath && (r.value = n.fileInfo), u.value = !1, s("crop");
@@ -16598,7 +16606,7 @@ const l2 = { class: "cropper-wrapper" }, u2 = { class: "row justify-end q-mt-md"
16598
16606
  "text-color": "negative",
16599
16607
  icon: "delete",
16600
16608
  size: "md",
16601
- onClick: C
16609
+ onClick: x
16602
16610
  }, {
16603
16611
  default: R(() => [
16604
16612
  b(En, null, {
@@ -16625,7 +16633,7 @@ const l2 = { class: "cropper-wrapper" }, u2 = { class: "row justify-end q-mt-md"
16625
16633
  "max-file-size": t.maxFileSize,
16626
16634
  "hide-upload-btn": "",
16627
16635
  onAdded: E,
16628
- onRemoved: C
16636
+ onRemoved: x
16629
16637
  }, {
16630
16638
  header: R(() => [
16631
16639
  v("div", f2, [
@@ -16653,10 +16661,10 @@ const l2 = { class: "cropper-wrapper" }, u2 = { class: "row justify-end q-mt-md"
16653
16661
  default: R(() => [
16654
16662
  b(p(In), { class: "full-height" }, {
16655
16663
  default: R(() => [
16656
- b(p(li), { class: "row items-center q-pb-none" }, {
16664
+ b(p(ui), { class: "row items-center q-pb-none" }, {
16657
16665
  default: R(() => [
16658
16666
  b(p(wn)),
16659
- di(b(Pt, {
16667
+ ci(b(Pt, {
16660
16668
  icon: "close",
16661
16669
  flat: "",
16662
16670
  round: "",
@@ -16667,7 +16675,7 @@ const l2 = { class: "cropper-wrapper" }, u2 = { class: "row justify-end q-mt-md"
16667
16675
  ]),
16668
16676
  _: 1
16669
16677
  }),
16670
- b(p(li), { class: "cropper-section" }, {
16678
+ b(p(ui), { class: "cropper-section" }, {
16671
16679
  default: R(() => [
16672
16680
  b(c2, {
16673
16681
  ratio: p(d),