sprof 0.0.242 → 0.0.244

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.
package/dist/sprof.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Xl = Object.defineProperty;
2
2
  var Yl = (t, e, i) => e in t ? Xl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var a = (t, e, i) => Yl(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { reactive as ze, ref as T, openBlock as m, createElementBlock as w, createElementVNode as f, getCurrentInstance as Jl, inject as Ql, onUnmounted as Dr, onDeactivated as Kl, onActivated as eu, onBeforeMount as ut, defineComponent as $, computed as ue, mergeProps as kt, unref as p, withModifiers as De, renderSlot as P, createTextVNode as Ui, toDisplayString as ke, Fragment as V, normalizeClass as se, normalizeStyle as I, mergeModels as Ee, useModel as pt, withDirectives as Je, vModelCheckbox as tu, createVNode as R, createCommentVNode as J, vModelDynamic as iu, resolveComponent as B, isRef as _e, withKeys as nu, vModelText as Lr, watch as Ze, createBlock as U, vModelRadio as su, vShow as ns, vModelSelect as ru, useCssVars as Br, onMounted as Xt, renderList as Oe, withCtx as X, resolveDirective as Hr, nextTick as ou, Transition as qr, onBeforeUnmount as ss, createStaticVNode as Nr, onUpdated as au, useTemplateRef as lu, resolveDynamicComponent as li } from "vue";
4
+ import { reactive as ze, ref as T, openBlock as m, createElementBlock as w, createElementVNode as f, getCurrentInstance as Jl, inject as Ql, onUnmounted as Dr, onDeactivated as Kl, onActivated as eu, onBeforeMount as ut, defineComponent as $, computed as ue, mergeProps as kt, unref as p, withModifiers as De, renderSlot as P, createTextVNode as Ui, toDisplayString as ke, Fragment as V, normalizeClass as se, normalizeStyle as I, mergeModels as Ee, useModel as vt, withDirectives as Je, vModelCheckbox as tu, createVNode as R, createCommentVNode as J, vModelDynamic as iu, resolveComponent as B, isRef as _e, withKeys as nu, vModelText as Lr, watch as Ze, createBlock as U, vModelRadio as su, vShow as ss, vModelSelect as ru, useCssVars as Br, onMounted as Xt, renderList as Oe, withCtx as X, resolveDirective as Hr, nextTick as ou, Transition as qr, onBeforeUnmount as rs, createStaticVNode as Nr, onUpdated as au, useTemplateRef as lu, resolveDynamicComponent as li } from "vue";
5
5
  var Ae = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Ae || {}), xe = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(xe || {});
6
6
  class Rt {
7
7
  constructor(e, i, n, s) {
@@ -66,7 +66,7 @@ class tr extends ji {
66
66
  a(this, "chunk", Ae.Register);
67
67
  }
68
68
  }
69
- class Cn extends ji {
69
+ class xn extends ji {
70
70
  constructor() {
71
71
  super(...arguments);
72
72
  a(this, "id", "auth-button-restore");
@@ -123,7 +123,7 @@ class du extends Wi {
123
123
  a(this, "method", mi.Email);
124
124
  }
125
125
  }
126
- const xn = new du();
126
+ const Mn = new du();
127
127
  class hu {
128
128
  constructor() {
129
129
  a(this, "errors", []);
@@ -143,7 +143,7 @@ class fu extends Wi {
143
143
  a(this, "id", Mt.Password);
144
144
  }
145
145
  }
146
- const Mn = new fu();
146
+ const In = new fu();
147
147
  class mu extends Wi {
148
148
  constructor() {
149
149
  super(...arguments);
@@ -157,8 +157,8 @@ const gu = new mu(), pu = {
157
157
  methods: [mi.Email],
158
158
  title: "Вход в систему",
159
159
  action: "login",
160
- buttons: [new er(), new tr(), new Cn()],
161
- fields: [xn, Mn],
160
+ buttons: [new er(), new tr(), new xn()],
161
+ fields: [Mn, In],
162
162
  errorMessage: "Неверно указан email или пароль",
163
163
  successMessage: "Вы успешно вошли в систему"
164
164
  },
@@ -166,8 +166,8 @@ const gu = new mu(), pu = {
166
166
  methods: [],
167
167
  title: "Регистрация",
168
168
  action: "register",
169
- buttons: [new tr(), new er(), new Cn()],
170
- fields: [xn, Mn, gu],
169
+ buttons: [new tr(), new er(), new xn()],
170
+ fields: [Mn, In, gu],
171
171
  errorMessage: "Неверно указан email или пароль",
172
172
  successMessage: "Вы успешно зарегистрировались в системе, войдите под своим паролем"
173
173
  },
@@ -177,8 +177,8 @@ const gu = new mu(), pu = {
177
177
  action: "restorePassword",
178
178
  successMessage: "Ссылка для восстановления пароля отправлена на Вашу почту",
179
179
  errorMessage: "Неверно указан email",
180
- buttons: [new Cn()],
181
- fields: [xn]
180
+ buttons: [new xn()],
181
+ fields: [Mn]
182
182
  },
183
183
  [Ae.Refresh]: {
184
184
  methods: [],
@@ -187,7 +187,7 @@ const gu = new mu(), pu = {
187
187
  successMessage: "Воспользуйтесь новым паролем для входа",
188
188
  errorMessage: "Неверно указан email",
189
189
  buttons: [new uu()],
190
- fields: [Mn]
190
+ fields: [In]
191
191
  }
192
192
  };
193
193
  class vu {
@@ -346,7 +346,7 @@ class Gr extends Wr {
346
346
  return n += "</ul>", n;
347
347
  }
348
348
  }
349
- class Bn {
349
+ class Hn {
350
350
  static Get(e, i, n = "-") {
351
351
  return !e || !i ? "" : `${e}${n}${i}`;
352
352
  }
@@ -357,7 +357,7 @@ class Bn {
357
357
  return e === n || i === s || e > n && e < s || i > n && i < s || i > s && e < n;
358
358
  }
359
359
  }
360
- const Vr = 1e3, _r = 60 * Vr, In = 60 * _r;
360
+ const Vr = 1e3, _r = 60 * Vr, kn = 60 * _r;
361
361
  var ui = /* @__PURE__ */ ((t) => (t.FiveMinutes = "5", t.HourQuarter = "15", t.HourHalf = "30", t.Hour = "60", t))(ui || {});
362
362
  const Fi = {
363
363
  5: ["00", "05", "10", "15", "20", "25", "30", "35", "40", "45", "50", "55"],
@@ -373,13 +373,13 @@ class te {
373
373
  return _r * e;
374
374
  }
375
375
  static H(e) {
376
- return In * e;
376
+ return kn * e;
377
377
  }
378
378
  static D(e) {
379
- return In * e;
379
+ return kn * e;
380
380
  }
381
381
  static W(e) {
382
- return In * e;
382
+ return kn * e;
383
383
  }
384
384
  static NormalizeTime(e) {
385
385
  return String(e).padStart(2, "0");
@@ -414,7 +414,7 @@ class te {
414
414
  return te.Gt(i, e) ? te.HMtoM(i) - te.HMtoM(e) : te.HMtoM(e) - te.HMtoM(i);
415
415
  }
416
416
  static GetPeriod(e, i) {
417
- return Bn.Get(e, i);
417
+ return Hn.Get(e, i);
418
418
  }
419
419
  static Gt(e, i) {
420
420
  return te.HMtoM(e) > te.HMtoM(i);
@@ -429,7 +429,7 @@ class te {
429
429
  return te.HMtoM(e) >= te.HMtoM(n) && te.HMtoM(i) <= te.HMtoM(s);
430
430
  }
431
431
  static PeriodsIntersects(e, i, n, s) {
432
- return Bn.Intersects(te.HMtoM(e), te.HMtoM(i), te.HMtoM(n), te.HMtoM(s));
432
+ return Hn.Intersects(te.HMtoM(e), te.HMtoM(i), te.HMtoM(n), te.HMtoM(s));
433
433
  }
434
434
  }
435
435
  class ci {
@@ -596,8 +596,8 @@ const jt = class jt {
596
596
  }
597
597
  };
598
598
  a(jt, "instance");
599
- let Hn = jt;
600
- const Ce = new Hn();
599
+ let qn = jt;
600
+ const Ce = new qn();
601
601
  var ir = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
602
602
  /*! *****************************************************************************
603
603
  Copyright (C) Microsoft. All rights reserved.
@@ -642,11 +642,11 @@ var nr;
642
642
  var n = Object.prototype.hasOwnProperty, s = typeof Symbol == "function", r = s && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", o = s && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", u = typeof Object.create == "function", l = { __proto__: [] } instanceof Array, c = !u && !l, d = {
643
643
  // create an object in dictionary mode (a.k.a. "slow" mode in v8)
644
644
  create: u ? function() {
645
- return Sn(/* @__PURE__ */ Object.create(null));
645
+ return Cn(/* @__PURE__ */ Object.create(null));
646
646
  } : l ? function() {
647
- return Sn({ __proto__: null });
647
+ return Cn({ __proto__: null });
648
648
  } : function() {
649
- return Sn({});
649
+ return Cn({});
650
650
  },
651
651
  has: c ? function(v, b) {
652
652
  return n.call(v, b);
@@ -703,7 +703,7 @@ var nr;
703
703
  function Ue(v, b, k) {
704
704
  if (!me(b))
705
705
  throw new TypeError();
706
- return _(k) || (k = et(k)), yn(v, b, k);
706
+ return _(k) || (k = et(k)), wn(v, b, k);
707
707
  }
708
708
  e("hasOwnMetadata", Ue);
709
709
  function je(v, b, k) {
@@ -712,12 +712,12 @@ var nr;
712
712
  return _(k) || (k = et(k)), Hs(v, b, k);
713
713
  }
714
714
  e("getMetadata", je);
715
- function vt(v, b, k) {
715
+ function yt(v, b, k) {
716
716
  if (!me(b))
717
717
  throw new TypeError();
718
718
  return _(k) || (k = et(k)), qs(v, b, k);
719
719
  }
720
- e("getOwnMetadata", vt);
720
+ e("getOwnMetadata", yt);
721
721
  function Bt(v, b) {
722
722
  if (!me(v))
723
723
  throw new TypeError();
@@ -768,13 +768,13 @@ var nr;
768
768
  return E;
769
769
  }
770
770
  function Bs(v, b, k) {
771
- var E = yn(v, b, k);
771
+ var E = wn(v, b, k);
772
772
  if (E)
773
773
  return !0;
774
- var G = bn(b);
774
+ var G = Sn(b);
775
775
  return Ht(G) ? !1 : Bs(v, G, k);
776
776
  }
777
- function yn(v, b, k) {
777
+ function wn(v, b, k) {
778
778
  var E = ei(
779
779
  b,
780
780
  k,
@@ -784,10 +784,10 @@ var nr;
784
784
  return _(E) ? !1 : Gs(E.OrdinaryHasOwnMetadata(v, b, k));
785
785
  }
786
786
  function Hs(v, b, k) {
787
- var E = yn(v, b, k);
787
+ var E = wn(v, b, k);
788
788
  if (E)
789
789
  return qs(v, b, k);
790
- var G = bn(b);
790
+ var G = Sn(b);
791
791
  if (!Ht(G))
792
792
  return Hs(v, G, k);
793
793
  }
@@ -811,7 +811,7 @@ var nr;
811
811
  G.OrdinaryDefineOwnMetadata(v, b, k, E);
812
812
  }
813
813
  function Us(v, b) {
814
- var k = js(v, b), E = bn(v);
814
+ var k = js(v, b), E = Sn(v);
815
815
  if (E === null)
816
816
  return k;
817
817
  var G = Us(E, b);
@@ -941,7 +941,7 @@ var nr;
941
941
  return !1;
942
942
  }
943
943
  }
944
- function wn(v, b) {
944
+ function bn(v, b) {
945
945
  return v === b || v !== v && b !== b;
946
946
  }
947
947
  function Zs(v, b) {
@@ -972,7 +972,7 @@ var nr;
972
972
  var b = v.return;
973
973
  b && b.call(v);
974
974
  }
975
- function bn(v) {
975
+ function Sn(v) {
976
976
  var b = Object.getPrototypeOf(v);
977
977
  if (typeof v != "function" || v === h || b !== h)
978
978
  return b;
@@ -1252,7 +1252,7 @@ var nr;
1252
1252
  if (O >= 0) {
1253
1253
  for (var L = this._keys.length, q = O + 1; q < L; q++)
1254
1254
  this._keys[q - 1] = this._keys[q], this._values[q - 1] = this._values[q];
1255
- return this._keys.length--, this._values.length--, wn(z, this._cacheKey) && (this._cacheKey = v, this._cacheIndex = -2), !0;
1255
+ return this._keys.length--, this._values.length--, bn(z, this._cacheKey) && (this._cacheKey = v, this._cacheIndex = -2), !0;
1256
1256
  }
1257
1257
  return !1;
1258
1258
  }, K.prototype.clear = function() {
@@ -1268,10 +1268,10 @@ var nr;
1268
1268
  }, K.prototype[o] = function() {
1269
1269
  return this.entries();
1270
1270
  }, K.prototype._find = function(z, O) {
1271
- if (!wn(this._cacheKey, z)) {
1271
+ if (!bn(this._cacheKey, z)) {
1272
1272
  this._cacheIndex = -1;
1273
1273
  for (var L = 0; L < this._keys.length; L++)
1274
- if (wn(this._keys[L], z)) {
1274
+ if (bn(this._keys[L], z)) {
1275
1275
  this._cacheIndex = L;
1276
1276
  break;
1277
1277
  }
@@ -1405,7 +1405,7 @@ var nr;
1405
1405
  return O;
1406
1406
  }
1407
1407
  }
1408
- function Sn(v) {
1408
+ function Cn(v) {
1409
1409
  return v.__ = void 0, delete v.__, v;
1410
1410
  }
1411
1411
  });
@@ -1633,7 +1633,7 @@ class Et {
1633
1633
  return e.id = ve.UUID(), e;
1634
1634
  }
1635
1635
  }
1636
- class rs {
1636
+ class os {
1637
1637
  static Setup(e) {
1638
1638
  this.staticUrl = e;
1639
1639
  }
@@ -1641,7 +1641,7 @@ class rs {
1641
1641
  return this.staticUrl;
1642
1642
  }
1643
1643
  }
1644
- a(rs, "staticUrl", "");
1644
+ a(os, "staticUrl", "");
1645
1645
  class Te {
1646
1646
  constructor(e) {
1647
1647
  a(this, "name", "");
@@ -1661,7 +1661,7 @@ class Te {
1661
1661
  F.BuildClass(this, e);
1662
1662
  }
1663
1663
  getFileUrl() {
1664
- const e = this.url ? this.url : `${rs.StaticUrl}/${this.fileSystemPath}`;
1664
+ const e = this.url ? this.url : `${os.StaticUrl}/${this.fileSystemPath}`;
1665
1665
  return new URL(e, import.meta.url);
1666
1666
  }
1667
1667
  getFileListObject() {
@@ -1755,7 +1755,7 @@ class Di {
1755
1755
  F.BuildClass(this, e);
1756
1756
  }
1757
1757
  }
1758
- class os {
1758
+ class as {
1759
1759
  constructor(e) {
1760
1760
  a(this, "id");
1761
1761
  a(this, "address");
@@ -1763,10 +1763,23 @@ class os {
1763
1763
  F.BuildClass(this, e);
1764
1764
  }
1765
1765
  }
1766
- var yt;
1767
- let $u = (yt = class {
1768
- }, a(yt, "Phone", Tt), a(yt, "FileInfo", Te), a(yt, "PostAddress", Di), a(yt, "Website", os), a(yt, "Email", Et), a(yt, "Human", Zr), yt);
1769
- class mt {
1766
+ class Gi {
1767
+ constructor(e) {
1768
+ a(this, "id");
1769
+ a(this, "login", "");
1770
+ a(this, "email", "");
1771
+ a(this, "password", "");
1772
+ F.BuildClass(this, e);
1773
+ }
1774
+ static Create() {
1775
+ const e = new Gi();
1776
+ return e.id = ve.UUID(), e;
1777
+ }
1778
+ }
1779
+ var dt;
1780
+ let $u = (dt = class {
1781
+ }, a(dt, "Phone", Tt), a(dt, "FileInfo", Te), a(dt, "Website", as), a(dt, "Email", Et), a(dt, "Human", Zr), a(dt, "PostAddress", Di), a(dt, "UserAccount", Gi), dt);
1782
+ class gt {
1770
1783
  static Shuffle(e) {
1771
1784
  for (let i = e.length - 1; i > 0; i--) {
1772
1785
  const n = Math.floor(Math.random() * (i + 1));
@@ -1844,12 +1857,12 @@ const Xr = class ni {
1844
1857
  return !1;
1845
1858
  if (this.type === we.Join) {
1846
1859
  const i = e.model === this.model && e.operator === this.operator && this.joinTableModel === e.joinTableModel;
1847
- return e.operator === Re.In ? i && mt.Eq(this.set, e.set) : i;
1860
+ return e.operator === Re.In ? i && gt.Eq(this.set, e.set) : i;
1848
1861
  }
1849
1862
  return e.model === this.model && e.col === this.col && e.operator === this.operator;
1850
1863
  }
1851
1864
  valueEq(e) {
1852
- return !this || !e || !this.eq(e) ? !1 : this.type === we.Boolean ? this.boolean === (e == null ? void 0 : e.boolean) : this.type === we.String ? this.value1 === (e == null ? void 0 : e.value1) : this.type === we.Join && this.set.length ? mt.Eq(this.set, e.set) : !1;
1865
+ return !this || !e || !this.eq(e) ? !1 : this.type === we.Boolean ? this.boolean === (e == null ? void 0 : e.boolean) : this.type === we.String ? this.value1 === (e == null ? void 0 : e.value1) : this.type === we.Join && this.set.length ? gt.Eq(this.set, e.set) : !1;
1853
1866
  }
1854
1867
  toUrlQuery() {
1855
1868
  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 === we.Boolean ? `"boolean":${this.boolean}` : "", u = this.type === we.Date && this.date1 ? `"date1":"${this.date1.toISOString()}"` : "", l = this.type === we.Date && this.date2 ? `"date2":"${this.date2.toISOString()}"` : "", c = this.type === we.Number ? `"number":${this.number}` : "", d = this.type === we.Set || this.operator === Re.In ? `"set":${JSON.stringify(this.set)}` : "", h = this.type === we.Join ? `"joinTableModel":"${this.joinTableModel}"` : "";
@@ -1930,7 +1943,7 @@ const Xr = class ni {
1930
1943
  Pu([
1931
1944
  F.GetClassConstructor(String)
1932
1945
  ], Xr.prototype, "set");
1933
- let as = Xr;
1946
+ let ls = Xr;
1934
1947
  class Eu {
1935
1948
  constructor() {
1936
1949
  a(this, "operation", Re.Lt);
@@ -1991,7 +2004,7 @@ class Li {
1991
2004
  }
1992
2005
  }
1993
2006
  var We = /* @__PURE__ */ ((t) => (t.Asc = "asc", t.Desc = "desc", t))(We || {});
1994
- class Gi {
2007
+ class Vi {
1995
2008
  constructor(e) {
1996
2009
  a(this, "model", "");
1997
2010
  a(this, "col", "");
@@ -2002,7 +2015,7 @@ class Gi {
2002
2015
  F.BuildClass(this, e);
2003
2016
  }
2004
2017
  static Create(e, i, n = We.Asc, s, r) {
2005
- const o = new Gi();
2018
+ const o = new Vi();
2006
2019
  return o.model = e.GetClassName(), o.col = i ?? "", o.order = n ?? We.Asc, o.label = s ?? "", o.default = r ?? !1, o;
2007
2020
  }
2008
2021
  isAsc() {
@@ -2029,18 +2042,18 @@ class Gi {
2029
2042
  this.order = We.Desc;
2030
2043
  }
2031
2044
  }
2032
- class Vi {
2045
+ class _i {
2033
2046
  constructor() {
2034
2047
  a(this, "model", "");
2035
2048
  a(this, "cols", []);
2036
2049
  a(this, "models", []);
2037
2050
  }
2038
2051
  static Create(e, i) {
2039
- const n = new Vi();
2052
+ const n = new _i();
2040
2053
  return n.model = e.GetClassName(), n.cols = i, n;
2041
2054
  }
2042
2055
  }
2043
- var Tu = Object.defineProperty, _i = (t, e, i, n) => {
2056
+ var Tu = Object.defineProperty, Zi = (t, e, i, n) => {
2044
2057
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
2045
2058
  (o = t[r]) && (s = o(e, i, s) || s);
2046
2059
  return s && Tu(e, i, s), s;
@@ -2051,7 +2064,7 @@ const gi = (qe = class {
2051
2064
  a(this, "f", []);
2052
2065
  a(this, "s", []);
2053
2066
  a(this, "p", new Li());
2054
- a(this, "t", new Vi());
2067
+ a(this, "t", new _i());
2055
2068
  F.BuildClass(this, e);
2056
2069
  }
2057
2070
  static Get() {
@@ -2075,7 +2088,7 @@ const gi = (qe = class {
2075
2088
  return this.f.find((i) => e.id === i.id);
2076
2089
  }
2077
2090
  getFirstSortModel() {
2078
- return mt.GetLast(this.s);
2091
+ return gt.GetLast(this.s);
2079
2092
  }
2080
2093
  setSortModel(e) {
2081
2094
  e && (this.s[0] = e);
@@ -2100,31 +2113,31 @@ const gi = (qe = class {
2100
2113
  this.f = [];
2101
2114
  }
2102
2115
  }, a(qe, "instance"), qe);
2103
- _i([
2104
- F.GetClassConstructor(as)
2116
+ Zi([
2117
+ F.GetClassConstructor(ls)
2105
2118
  ], gi.prototype, "f");
2106
- _i([
2107
- F.GetClassConstructor(Gi)
2119
+ Zi([
2120
+ F.GetClassConstructor(Vi)
2108
2121
  ], gi.prototype, "s");
2109
- _i([
2122
+ Zi([
2110
2123
  F.GetClassConstructor(Li)
2111
2124
  ], gi.prototype, "p");
2112
- _i([
2113
- F.GetClassConstructor(Vi)
2125
+ Zi([
2126
+ F.GetClassConstructor(_i)
2114
2127
  ], gi.prototype, "t");
2115
- let gt = gi;
2128
+ let pt = gi;
2116
2129
  var ii;
2117
2130
  let zu = (ii = class {
2118
- }, a(ii, "SortModel", Gi), a(ii, "FilterModel", as), a(ii, "FTSP", ze(gt)), ii);
2131
+ }, a(ii, "SortModel", Vi), a(ii, "FilterModel", ls), a(ii, "FTSP", ze(pt)), ii);
2119
2132
  function Yr(t, e) {
2120
2133
  return function() {
2121
2134
  return t.apply(e, arguments);
2122
2135
  };
2123
2136
  }
2124
- const { toString: Ou } = Object.prototype, { getPrototypeOf: ls } = Object, Zi = /* @__PURE__ */ ((t) => (e) => {
2137
+ const { toString: Ou } = Object.prototype, { getPrototypeOf: us } = Object, Xi = /* @__PURE__ */ ((t) => (e) => {
2125
2138
  const i = Ou.call(e);
2126
2139
  return t[i] || (t[i] = i.slice(8, -1).toLowerCase());
2127
- })(/* @__PURE__ */ Object.create(null)), Qe = (t) => (t = t.toLowerCase(), (e) => Zi(e) === t), Xi = (t) => (e) => typeof e === t, { isArray: Yt } = Array, di = Xi("undefined");
2140
+ })(/* @__PURE__ */ Object.create(null)), Qe = (t) => (t = t.toLowerCase(), (e) => Xi(e) === t), Yi = (t) => (e) => typeof e === t, { isArray: Yt } = Array, di = Yi("undefined");
2128
2141
  function Fu(t) {
2129
2142
  return t !== null && !di(t) && t.constructor !== null && !di(t.constructor) && Ne(t.constructor.isBuffer) && t.constructor.isBuffer(t);
2130
2143
  }
@@ -2133,14 +2146,14 @@ function Du(t) {
2133
2146
  let e;
2134
2147
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Jr(t.buffer), e;
2135
2148
  }
2136
- const Lu = Xi("string"), Ne = Xi("function"), Qr = Xi("number"), Yi = (t) => t !== null && typeof t == "object", Bu = (t) => t === !0 || t === !1, Pi = (t) => {
2137
- if (Zi(t) !== "object")
2149
+ const Lu = Yi("string"), Ne = Yi("function"), Qr = Yi("number"), Ji = (t) => t !== null && typeof t == "object", Bu = (t) => t === !0 || t === !1, Pi = (t) => {
2150
+ if (Xi(t) !== "object")
2138
2151
  return !1;
2139
- const e = ls(t);
2152
+ const e = us(t);
2140
2153
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
2141
- }, Hu = Qe("Date"), qu = Qe("File"), Nu = Qe("Blob"), Uu = Qe("FileList"), ju = (t) => Yi(t) && Ne(t.pipe), Wu = (t) => {
2154
+ }, Hu = Qe("Date"), qu = Qe("File"), Nu = Qe("Blob"), Uu = Qe("FileList"), ju = (t) => Ji(t) && Ne(t.pipe), Wu = (t) => {
2142
2155
  let e;
2143
- return t && (typeof FormData == "function" && t instanceof FormData || Ne(t.append) && ((e = Zi(t)) === "formdata" || // detect form-data instance
2156
+ return t && (typeof FormData == "function" && t instanceof FormData || Ne(t.append) && ((e = Xi(t)) === "formdata" || // detect form-data instance
2144
2157
  e === "object" && Ne(t.toString) && t.toString() === "[object FormData]"));
2145
2158
  }, Gu = Qe("URLSearchParams"), [Vu, _u, Zu, Xu] = ["ReadableStream", "Request", "Response", "Headers"].map(Qe), Yu = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
2146
2159
  function pi(t, e, { allOwnKeys: i = !1 } = {}) {
@@ -2167,10 +2180,10 @@ function Kr(t, e) {
2167
2180
  return null;
2168
2181
  }
2169
2182
  const $t = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, eo = (t) => !di(t) && t !== $t;
2170
- function qn() {
2183
+ function Nn() {
2171
2184
  const { caseless: t } = eo(this) && this || {}, e = {}, i = (n, s) => {
2172
2185
  const r = t && Kr(e, s) || s;
2173
- Pi(e[r]) && Pi(n) ? e[r] = qn(e[r], n) : Pi(n) ? e[r] = qn({}, n) : Yt(n) ? e[r] = n.slice() : e[r] = n;
2186
+ Pi(e[r]) && Pi(n) ? e[r] = Nn(e[r], n) : Pi(n) ? e[r] = Nn({}, n) : Yt(n) ? e[r] = n.slice() : e[r] = n;
2174
2187
  };
2175
2188
  for (let n = 0, s = arguments.length; n < s; n++)
2176
2189
  arguments[n] && pi(arguments[n], i);
@@ -2189,7 +2202,7 @@ const Ju = (t, e, i, { allOwnKeys: n } = {}) => (pi(e, (s, r) => {
2189
2202
  do {
2190
2203
  for (s = Object.getOwnPropertyNames(t), r = s.length; r-- > 0; )
2191
2204
  o = s[r], (!n || n(o, t, e)) && !u[o] && (e[o] = t[o], u[o] = !0);
2192
- t = i !== !1 && ls(t);
2205
+ t = i !== !1 && us(t);
2193
2206
  } while (t && (!i || i(t, e)) && t !== Object.prototype);
2194
2207
  return e;
2195
2208
  }, tc = (t, e, i) => {
@@ -2205,7 +2218,7 @@ const Ju = (t, e, i, { allOwnKeys: n } = {}) => (pi(e, (s, r) => {
2205
2218
  for (; e-- > 0; )
2206
2219
  i[e] = t[e];
2207
2220
  return i;
2208
- }, nc = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && ls(Uint8Array)), sc = (t, e) => {
2221
+ }, nc = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && us(Uint8Array)), sc = (t, e) => {
2209
2222
  const n = (t && t[Symbol.iterator]).call(t);
2210
2223
  let s;
2211
2224
  for (; (s = n.next()) && !s.done; ) {
@@ -2252,10 +2265,10 @@ const Ju = (t, e, i, { allOwnKeys: n } = {}) => (pi(e, (s, r) => {
2252
2265
  };
2253
2266
  return Yt(t) ? n(t) : n(String(t).split(e)), i;
2254
2267
  }, dc = () => {
2255
- }, hc = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, kn = "abcdefghijklmnopqrstuvwxyz", or = "0123456789", io = {
2268
+ }, hc = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Rn = "abcdefghijklmnopqrstuvwxyz", or = "0123456789", io = {
2256
2269
  DIGIT: or,
2257
- ALPHA: kn,
2258
- ALPHA_DIGIT: kn + kn.toUpperCase() + or
2270
+ ALPHA: Rn,
2271
+ ALPHA_DIGIT: Rn + Rn.toUpperCase() + or
2259
2272
  }, fc = (t = 16, e = io.ALPHA_DIGIT) => {
2260
2273
  let i = "";
2261
2274
  const { length: n } = e;
@@ -2268,7 +2281,7 @@ function mc(t) {
2268
2281
  }
2269
2282
  const gc = (t) => {
2270
2283
  const e = new Array(10), i = (n, s) => {
2271
- if (Yi(n)) {
2284
+ if (Ji(n)) {
2272
2285
  if (e.indexOf(n) >= 0)
2273
2286
  return;
2274
2287
  if (!("toJSON" in n)) {
@@ -2283,7 +2296,7 @@ const gc = (t) => {
2283
2296
  return n;
2284
2297
  };
2285
2298
  return i(t, 0);
2286
- }, pc = Qe("AsyncFunction"), vc = (t) => t && (Yi(t) || Ne(t)) && Ne(t.then) && Ne(t.catch), no = ((t, e) => t ? setImmediate : e ? ((i, n) => ($t.addEventListener("message", ({ source: s, data: r }) => {
2299
+ }, pc = Qe("AsyncFunction"), vc = (t) => t && (Ji(t) || Ne(t)) && Ne(t.then) && Ne(t.catch), no = ((t, e) => t ? setImmediate : e ? ((i, n) => ($t.addEventListener("message", ({ source: s, data: r }) => {
2287
2300
  s === $t && r === i && n.length && n.shift()();
2288
2301
  }, !1), (s) => {
2289
2302
  n.push(s), $t.postMessage(i, "*");
@@ -2299,7 +2312,7 @@ const gc = (t) => {
2299
2312
  isString: Lu,
2300
2313
  isNumber: Qr,
2301
2314
  isBoolean: Bu,
2302
- isObject: Yi,
2315
+ isObject: Ji,
2303
2316
  isPlainObject: Pi,
2304
2317
  isReadableStream: Vu,
2305
2318
  isRequest: _u,
@@ -2316,13 +2329,13 @@ const gc = (t) => {
2316
2329
  isTypedArray: nc,
2317
2330
  isFileList: Uu,
2318
2331
  forEach: pi,
2319
- merge: qn,
2332
+ merge: Nn,
2320
2333
  extend: Ju,
2321
2334
  trim: Yu,
2322
2335
  stripBOM: Qu,
2323
2336
  inherits: Ku,
2324
2337
  toFlatObject: ec,
2325
- kindOf: Zi,
2338
+ kindOf: Xi,
2326
2339
  kindOfTest: Qe,
2327
2340
  endsWith: tc,
2328
2341
  toArray: ic,
@@ -2401,7 +2414,7 @@ Z.from = (t, e, i, n, s, r) => {
2401
2414
  }, (u) => u !== "isAxiosError"), Z.call(o, t.message, e, i, n, s), o.cause = t, o.name = t.name, r && Object.assign(o, r), o;
2402
2415
  };
2403
2416
  const wc = null;
2404
- function Nn(t) {
2417
+ function Un(t) {
2405
2418
  return S.isPlainObject(t) || S.isArray(t);
2406
2419
  }
2407
2420
  function oo(t) {
@@ -2413,12 +2426,12 @@ function ar(t, e, i) {
2413
2426
  }).join(i ? "." : "") : e;
2414
2427
  }
2415
2428
  function bc(t) {
2416
- return S.isArray(t) && !t.some(Nn);
2429
+ return S.isArray(t) && !t.some(Un);
2417
2430
  }
2418
2431
  const Sc = S.toFlatObject(S, {}, null, function(e) {
2419
2432
  return /^is[A-Z]/.test(e);
2420
2433
  });
2421
- function Ji(t, e, i) {
2434
+ function Qi(t, e, i) {
2422
2435
  if (!S.isObject(t))
2423
2436
  throw new TypeError("target must be an object");
2424
2437
  e = e || new FormData(), i = S.toFlatObject(i, {
@@ -2453,12 +2466,12 @@ function Ji(t, e, i) {
2453
2466
  );
2454
2467
  }), !1;
2455
2468
  }
2456
- return Nn(x) ? !0 : (e.append(ar(M, C, r), c(x)), !1);
2469
+ return Un(x) ? !0 : (e.append(ar(M, C, r), c(x)), !1);
2457
2470
  }
2458
2471
  const h = [], g = Object.assign(Sc, {
2459
2472
  defaultVisitor: d,
2460
2473
  convertValue: c,
2461
- isVisitable: Nn
2474
+ isVisitable: Un
2462
2475
  });
2463
2476
  function y(x, C) {
2464
2477
  if (!S.isUndefined(x)) {
@@ -2493,10 +2506,10 @@ function lr(t) {
2493
2506
  return e[n];
2494
2507
  });
2495
2508
  }
2496
- function us(t, e) {
2497
- this._pairs = [], t && Ji(t, this, e);
2509
+ function cs(t, e) {
2510
+ this._pairs = [], t && Qi(t, this, e);
2498
2511
  }
2499
- const ao = us.prototype;
2512
+ const ao = cs.prototype;
2500
2513
  ao.append = function(e, i) {
2501
2514
  this._pairs.push([e, i]);
2502
2515
  };
@@ -2520,7 +2533,7 @@ function lo(t, e, i) {
2520
2533
  });
2521
2534
  const s = i && i.serialize;
2522
2535
  let r;
2523
- if (s ? r = s(e, i) : r = S.isURLSearchParams(e) ? e.toString() : new us(e, i).toString(n), r) {
2536
+ if (s ? r = s(e, i) : r = S.isURLSearchParams(e) ? e.toString() : new cs(e, i).toString(n), r) {
2524
2537
  const o = t.indexOf("#");
2525
2538
  o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + r;
2526
2539
  }
@@ -2584,7 +2597,7 @@ const uo = {
2584
2597
  silentJSONParsing: !0,
2585
2598
  forcedJSONParsing: !0,
2586
2599
  clarifyTimeoutError: !1
2587
- }, xc = typeof URLSearchParams < "u" ? URLSearchParams : us, Mc = typeof FormData < "u" ? FormData : null, Ic = typeof Blob < "u" ? Blob : null, kc = {
2600
+ }, xc = typeof URLSearchParams < "u" ? URLSearchParams : cs, Mc = typeof FormData < "u" ? FormData : null, Ic = typeof Blob < "u" ? Blob : null, kc = {
2588
2601
  isBrowser: !0,
2589
2602
  classes: {
2590
2603
  URLSearchParams: xc,
@@ -2592,20 +2605,20 @@ const uo = {
2592
2605
  Blob: Ic
2593
2606
  },
2594
2607
  protocols: ["http", "https", "file", "blob", "url", "data"]
2595
- }, cs = typeof window < "u" && typeof document < "u", Un = typeof navigator == "object" && navigator || void 0, Rc = cs && (!Un || ["ReactNative", "NativeScript", "NS"].indexOf(Un.product) < 0), $c = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2596
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ac = cs && window.location.href || "http://localhost", Pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2608
+ }, ds = typeof window < "u" && typeof document < "u", jn = typeof navigator == "object" && navigator || void 0, Rc = ds && (!jn || ["ReactNative", "NativeScript", "NS"].indexOf(jn.product) < 0), $c = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2609
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ac = ds && window.location.href || "http://localhost", Pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2597
2610
  __proto__: null,
2598
- hasBrowserEnv: cs,
2611
+ hasBrowserEnv: ds,
2599
2612
  hasStandardBrowserEnv: Rc,
2600
2613
  hasStandardBrowserWebWorkerEnv: $c,
2601
- navigator: Un,
2614
+ navigator: jn,
2602
2615
  origin: Ac
2603
2616
  }, Symbol.toStringTag, { value: "Module" })), Pe = {
2604
2617
  ...Pc,
2605
2618
  ...kc
2606
2619
  };
2607
2620
  function Ec(t, e) {
2608
- return Ji(t, new Pe.classes.URLSearchParams(), Object.assign({
2621
+ return Qi(t, new Pe.classes.URLSearchParams(), Object.assign({
2609
2622
  visitor: function(i, n, s, r) {
2610
2623
  return Pe.isNode && S.isBuffer(i) ? (this.append(n, i.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
2611
2624
  }
@@ -2667,7 +2680,7 @@ const vi = {
2667
2680
  return Ec(e, this.formSerializer).toString();
2668
2681
  if ((u = S.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
2669
2682
  const l = this.env && this.env.FormData;
2670
- return Ji(
2683
+ return Qi(
2671
2684
  u ? { "files[]": e } : e,
2672
2685
  l && new l(),
2673
2686
  this.formSerializer
@@ -2757,7 +2770,7 @@ function Lc(t) {
2757
2770
  return e;
2758
2771
  }
2759
2772
  const Bc = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
2760
- function Rn(t, e, i, n, s) {
2773
+ function $n(t, e, i, n, s) {
2761
2774
  if (S.isFunction(n))
2762
2775
  return n.call(this, e, i);
2763
2776
  if (s && (e = i), !!S.isString(e)) {
@@ -2826,7 +2839,7 @@ class Le {
2826
2839
  has(e, i) {
2827
2840
  if (e = ti(e), e) {
2828
2841
  const n = S.findKey(this, e);
2829
- return !!(n && this[n] !== void 0 && (!i || Rn(this, this[n], n, i)));
2842
+ return !!(n && this[n] !== void 0 && (!i || $n(this, this[n], n, i)));
2830
2843
  }
2831
2844
  return !1;
2832
2845
  }
@@ -2836,7 +2849,7 @@ class Le {
2836
2849
  function r(o) {
2837
2850
  if (o = ti(o), o) {
2838
2851
  const u = S.findKey(n, o);
2839
- u && (!i || Rn(n, n[u], u, i)) && (delete n[u], s = !0);
2852
+ u && (!i || $n(n, n[u], u, i)) && (delete n[u], s = !0);
2840
2853
  }
2841
2854
  }
2842
2855
  return S.isArray(e) ? e.forEach(r) : r(e), s;
@@ -2846,7 +2859,7 @@ class Le {
2846
2859
  let n = i.length, s = !1;
2847
2860
  for (; n--; ) {
2848
2861
  const r = i[n];
2849
- (!e || Rn(this, this[r], r, e, !0)) && (delete this[r], s = !0);
2862
+ (!e || $n(this, this[r], r, e, !0)) && (delete this[r], s = !0);
2850
2863
  }
2851
2864
  return s;
2852
2865
  }
@@ -2910,7 +2923,7 @@ S.reduceDescriptors(Le.prototype, ({ value: t }, e) => {
2910
2923
  };
2911
2924
  });
2912
2925
  S.freezeMethods(Le);
2913
- function $n(t, e) {
2926
+ function An(t, e) {
2914
2927
  const i = this || vi, n = e || i, s = Le.from(n.headers);
2915
2928
  let r = n.data;
2916
2929
  return S.forEach(t, function(u) {
@@ -3256,7 +3269,7 @@ const go = (t) => {
3256
3269
  }, {
3257
3270
  highWaterMark: 2
3258
3271
  });
3259
- }, Qi = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", po = Qi && typeof ReadableStream == "function", ed = Qi && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), vo = (t, ...e) => {
3272
+ }, Ki = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", po = Ki && typeof ReadableStream == "function", ed = Ki && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), vo = (t, ...e) => {
3260
3273
  try {
3261
3274
  return !!t(...e);
3262
3275
  } catch {
@@ -3272,10 +3285,10 @@ const go = (t) => {
3272
3285
  }
3273
3286
  }).headers.has("Content-Type");
3274
3287
  return t && !e;
3275
- }), gr = 64 * 1024, jn = po && vo(() => S.isReadableStream(new Response("").body)), Hi = {
3276
- stream: jn && ((t) => t.body)
3288
+ }), gr = 64 * 1024, Wn = po && vo(() => S.isReadableStream(new Response("").body)), Hi = {
3289
+ stream: Wn && ((t) => t.body)
3277
3290
  };
3278
- Qi && ((t) => {
3291
+ Ki && ((t) => {
3279
3292
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
3280
3293
  !Hi[e] && (Hi[e] = S.isFunction(t[e]) ? (i) => i[e]() : (i, n) => {
3281
3294
  throw new Z(`Response type '${e}' is not supported`, Z.ERR_NOT_SUPPORT, n);
@@ -3299,7 +3312,7 @@ const id = async (t) => {
3299
3312
  }, nd = async (t, e) => {
3300
3313
  const i = S.toFiniteNumber(t.getContentLength());
3301
3314
  return i ?? id(e);
3302
- }, sd = Qi && (async (t) => {
3315
+ }, sd = Ki && (async (t) => {
3303
3316
  let {
3304
3317
  url: e,
3305
3318
  method: i,
@@ -3328,11 +3341,11 @@ const id = async (t) => {
3328
3341
  duplex: "half"
3329
3342
  }), Ue;
3330
3343
  if (S.isFormData(n) && (Ue = Q.headers.get("content-type")) && d.setContentType(Ue), Q.body) {
3331
- const [je, vt] = dr(
3344
+ const [je, yt] = dr(
3332
3345
  M,
3333
3346
  Bi(hr(l))
3334
3347
  );
3335
- n = mr(Q.body, gr, je, vt);
3348
+ n = mr(Q.body, gr, je, yt);
3336
3349
  }
3337
3350
  }
3338
3351
  S.isString(h) || (h = h ? "include" : "omit");
@@ -3347,19 +3360,19 @@ const id = async (t) => {
3347
3360
  credentials: D ? h : void 0
3348
3361
  });
3349
3362
  let Y = await fetch(x);
3350
- const W = jn && (c === "stream" || c === "response");
3351
- if (jn && (u || W && C)) {
3363
+ const W = Wn && (c === "stream" || c === "response");
3364
+ if (Wn && (u || W && C)) {
3352
3365
  const Q = {};
3353
3366
  ["status", "statusText", "headers"].forEach((Bt) => {
3354
3367
  Q[Bt] = Y[Bt];
3355
3368
  });
3356
- const Ue = S.toFiniteNumber(Y.headers.get("content-length")), [je, vt] = u && dr(
3369
+ const Ue = S.toFiniteNumber(Y.headers.get("content-length")), [je, yt] = u && dr(
3357
3370
  Ue,
3358
3371
  Bi(hr(u), !0)
3359
3372
  ) || [];
3360
3373
  Y = new Response(
3361
3374
  mr(Y.body, gr, je, () => {
3362
- vt && vt(), C && C();
3375
+ yt && yt(), C && C();
3363
3376
  }),
3364
3377
  Q
3365
3378
  );
@@ -3384,12 +3397,12 @@ const id = async (t) => {
3384
3397
  }
3385
3398
  ) : Z.from(D, D && D.code, t, x);
3386
3399
  }
3387
- }), Wn = {
3400
+ }), Gn = {
3388
3401
  http: wc,
3389
3402
  xhr: Xc,
3390
3403
  fetch: sd
3391
3404
  };
3392
- S.forEach(Wn, (t, e) => {
3405
+ S.forEach(Gn, (t, e) => {
3393
3406
  if (t) {
3394
3407
  try {
3395
3408
  Object.defineProperty(t, "name", { value: e });
@@ -3407,7 +3420,7 @@ const pr = (t) => `- ${t}`, rd = (t) => S.isFunction(t) || t === null || t === !
3407
3420
  for (let r = 0; r < e; r++) {
3408
3421
  i = t[r];
3409
3422
  let o;
3410
- if (n = i, !rd(i) && (n = Wn[(o = String(i)).toLowerCase()], n === void 0))
3423
+ if (n = i, !rd(i) && (n = Gn[(o = String(i)).toLowerCase()], n === void 0))
3411
3424
  throw new Z(`Unknown adapter '${o}'`);
3412
3425
  if (n)
3413
3426
  break;
@@ -3427,38 +3440,38 @@ const pr = (t) => `- ${t}`, rd = (t) => S.isFunction(t) || t === null || t === !
3427
3440
  }
3428
3441
  return n;
3429
3442
  },
3430
- adapters: Wn
3443
+ adapters: Gn
3431
3444
  };
3432
- function An(t) {
3445
+ function Pn(t) {
3433
3446
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
3434
3447
  throw new Jt(null, t);
3435
3448
  }
3436
3449
  function vr(t) {
3437
- return An(t), t.headers = Le.from(t.headers), t.data = $n.call(
3450
+ return Pn(t), t.headers = Le.from(t.headers), t.data = An.call(
3438
3451
  t,
3439
3452
  t.transformRequest
3440
3453
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), yo.getAdapter(t.adapter || vi.adapter)(t).then(function(n) {
3441
- return An(t), n.data = $n.call(
3454
+ return Pn(t), n.data = An.call(
3442
3455
  t,
3443
3456
  t.transformResponse,
3444
3457
  n
3445
3458
  ), n.headers = Le.from(n.headers), n;
3446
3459
  }, function(n) {
3447
- return ho(n) || (An(t), n && n.response && (n.response.data = $n.call(
3460
+ return ho(n) || (Pn(t), n && n.response && (n.response.data = An.call(
3448
3461
  t,
3449
3462
  t.transformResponse,
3450
3463
  n.response
3451
3464
  ), n.response.headers = Le.from(n.response.headers))), Promise.reject(n);
3452
3465
  });
3453
3466
  }
3454
- const wo = "1.7.9", Ki = {};
3467
+ const wo = "1.7.9", en = {};
3455
3468
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
3456
- Ki[t] = function(n) {
3469
+ en[t] = function(n) {
3457
3470
  return typeof n === t || "a" + (e < 1 ? "n " : " ") + t;
3458
3471
  };
3459
3472
  });
3460
3473
  const yr = {};
3461
- Ki.transitional = function(e, i, n) {
3474
+ en.transitional = function(e, i, n) {
3462
3475
  function s(r, o) {
3463
3476
  return "[Axios v" + wo + "] Transitional option '" + r + "'" + o + (n ? ". " + n : "");
3464
3477
  }
@@ -3476,7 +3489,7 @@ Ki.transitional = function(e, i, n) {
3476
3489
  )), e ? e(r, o, u) : !0;
3477
3490
  };
3478
3491
  };
3479
- Ki.spelling = function(e) {
3492
+ en.spelling = function(e) {
3480
3493
  return (i, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
3481
3494
  };
3482
3495
  function od(t, e, i) {
@@ -3498,7 +3511,7 @@ function od(t, e, i) {
3498
3511
  }
3499
3512
  const Ti = {
3500
3513
  assertOptions: od,
3501
- validators: Ki
3514
+ validators: en
3502
3515
  }, tt = Ti.validators;
3503
3516
  class At {
3504
3517
  constructor(e) {
@@ -3624,7 +3637,7 @@ S.forEach(["post", "put", "patch"], function(e) {
3624
3637
  }
3625
3638
  At.prototype[e] = i(), At.prototype[e + "Form"] = i(!0);
3626
3639
  });
3627
- class ds {
3640
+ class hs {
3628
3641
  constructor(e) {
3629
3642
  if (typeof e != "function")
3630
3643
  throw new TypeError("executor must be a function.");
@@ -3690,7 +3703,7 @@ class ds {
3690
3703
  static source() {
3691
3704
  let e;
3692
3705
  return {
3693
- token: new ds(function(s) {
3706
+ token: new hs(function(s) {
3694
3707
  e = s;
3695
3708
  }),
3696
3709
  cancel: e
@@ -3705,7 +3718,7 @@ function ad(t) {
3705
3718
  function ld(t) {
3706
3719
  return S.isObject(t) && t.isAxiosError === !0;
3707
3720
  }
3708
- const Gn = {
3721
+ const Vn = {
3709
3722
  Continue: 100,
3710
3723
  SwitchingProtocols: 101,
3711
3724
  Processing: 102,
@@ -3770,8 +3783,8 @@ const Gn = {
3770
3783
  NotExtended: 510,
3771
3784
  NetworkAuthenticationRequired: 511
3772
3785
  };
3773
- Object.entries(Gn).forEach(([t, e]) => {
3774
- Gn[e] = t;
3786
+ Object.entries(Vn).forEach(([t, e]) => {
3787
+ Vn[e] = t;
3775
3788
  });
3776
3789
  function bo(t) {
3777
3790
  const e = new At(t), i = Yr(At.prototype.request, e);
@@ -3782,10 +3795,10 @@ function bo(t) {
3782
3795
  const fe = bo(vi);
3783
3796
  fe.Axios = At;
3784
3797
  fe.CanceledError = Jt;
3785
- fe.CancelToken = ds;
3798
+ fe.CancelToken = hs;
3786
3799
  fe.isCancel = ho;
3787
3800
  fe.VERSION = wo;
3788
- fe.toFormData = Ji;
3801
+ fe.toFormData = Qi;
3789
3802
  fe.AxiosError = Z;
3790
3803
  fe.Cancel = fe.CanceledError;
3791
3804
  fe.all = function(e) {
@@ -3797,7 +3810,7 @@ fe.mergeConfig = zt;
3797
3810
  fe.AxiosHeaders = Le;
3798
3811
  fe.formToJSON = (t) => co(S.isHTMLForm(t) ? new FormData(t) : t);
3799
3812
  fe.getAdapter = yo.getAdapter;
3800
- fe.HttpStatusCode = Gn;
3813
+ fe.HttpStatusCode = Vn;
3801
3814
  fe.default = fe;
3802
3815
  var si = /* @__PURE__ */ ((t) => (t.GET = "get", t.POST = "post", t.PUT = "put", t.DELETE = "delete", t))(si || {});
3803
3816
  const hi = /* @__PURE__ */ (() => {
@@ -3843,7 +3856,7 @@ const hi = /* @__PURE__ */ (() => {
3843
3856
  updateHuman: u
3844
3857
  };
3845
3858
  })();
3846
- class hs {
3859
+ class fs {
3847
3860
  constructor(e) {
3848
3861
  a(this, "code", 400);
3849
3862
  a(this, "err", "");
@@ -3869,7 +3882,7 @@ class hs {
3869
3882
  Fe.Error("Ошибка на сервере, попробуйте позже");
3870
3883
  }
3871
3884
  if (e.response.status >= 400 && e.response.status < 500) {
3872
- const s = new hs(e.response.data).getErr();
3885
+ const s = new fs(e.response.data).getErr();
3873
3886
  s && Fe.Error(s);
3874
3887
  }
3875
3888
  return Promise.reject(e);
@@ -3879,7 +3892,7 @@ class hs {
3879
3892
  const Nt = fe.create();
3880
3893
  Nt.interceptors.response.use(
3881
3894
  (t) => t,
3882
- async (t) => await hs.Handle(t, Nt)
3895
+ async (t) => await fs.Handle(t, Nt)
3883
3896
  );
3884
3897
  class ri {
3885
3898
  static async Get(e, i, n) {
@@ -3915,7 +3928,7 @@ class ri {
3915
3928
  });
3916
3929
  }
3917
3930
  }
3918
- class en {
3931
+ class tn {
3919
3932
  constructor(e) {
3920
3933
  a(this, "name", "");
3921
3934
  F.BuildClass(this, e);
@@ -3932,10 +3945,10 @@ class en {
3932
3945
  }
3933
3946
  static async TryGet(e, i, n) {
3934
3947
  let s;
3935
- return s = en.Get(e, n), s || (s = await i()), s;
3948
+ return s = tn.Get(e, n), s || (s = await i()), s;
3936
3949
  }
3937
3950
  }
3938
- var Vn = /* @__PURE__ */ ((t) => (t.ContentType = "Content-Type", t.Token = "token", t))(Vn || {}), So = /* @__PURE__ */ ((t) => (t.ApplicationJson = "application/json", t.MultipartFormData = "multipart/form-data", t))(So || {});
3951
+ var _n = /* @__PURE__ */ ((t) => (t.ContentType = "Content-Type", t.Token = "token", t))(_n || {}), So = /* @__PURE__ */ ((t) => (t.ApplicationJson = "application/json", t.MultipartFormData = "multipart/form-data", t))(So || {});
3939
3952
  const ae = class ae {
3940
3953
  static Setup(e, i, n) {
3941
3954
  this.baseUrl = e, this.apiVersion = i, this.apiHost = n;
@@ -3956,7 +3969,7 @@ const ae = class ae {
3956
3969
  }
3957
3970
  static getHeaders(e) {
3958
3971
  const i = nt.Get(Ye.AccessToken);
3959
- return e || (e = ae.headers), i && (e[Vn.Token] = i), e ?? ae.headers;
3972
+ return e || (e = ae.headers), i && (e[_n.Token] = i), e ?? ae.headers;
3960
3973
  }
3961
3974
  static returnResponse(e, i) {
3962
3975
  if (i)
@@ -4019,7 +4032,7 @@ const ae = class ae {
4019
4032
  }
4020
4033
  };
4021
4034
  a(ae, "baseUrl", ""), a(ae, "apiVersion", ""), a(ae, "apiHost", ""), a(ae, "headers", {
4022
- [Vn.ContentType]: So.ApplicationJson
4035
+ [_n.ContentType]: So.ApplicationJson
4023
4036
  });
4024
4037
  let he = ae;
4025
4038
  const A = (t, e) => {
@@ -4033,11 +4046,11 @@ function dd(t, e) {
4033
4046
  f("h1", null, "Страница не найдена", -1)
4034
4047
  ]));
4035
4048
  }
4036
- const fs = /* @__PURE__ */ A(ud, [["render", dd]]), hd = [
4049
+ const ms = /* @__PURE__ */ A(ud, [["render", dd]]), hd = [
4037
4050
  {
4038
4051
  path: "/:pathMatch(.*)*",
4039
4052
  name: "NotFound",
4040
- component: fs
4053
+ component: ms
4041
4054
  }
4042
4055
  ], it = class it {
4043
4056
  static Set(e) {
@@ -4136,7 +4149,7 @@ class ce {
4136
4149
  async GetAll(e) {
4137
4150
  let i;
4138
4151
  const n = he.Get;
4139
- e && e.withCache ? i = await en.TryGet(this.getUrl(), n) : i = await n({ query: this.getUrl() }), Array.isArray(i) ? this.SetAll(i) : this.SetAllWithCount(i);
4152
+ e && e.withCache ? i = await tn.TryGet(this.getUrl(), n) : i = await n({ query: this.getUrl() }), Array.isArray(i) ? this.SetAll(i) : this.SetAllWithCount(i);
4140
4153
  }
4141
4154
  async Get(e) {
4142
4155
  e || (e = at.Id()), this.Set(await he.Get({ query: this.getUrl(e) }));
@@ -4146,7 +4159,7 @@ class ce {
4146
4159
  }
4147
4160
  async FTSP(e) {
4148
4161
  var o;
4149
- const n = ((e == null ? void 0 : e.ftsp) ?? gt.Get()).clearForHTTP(), s = {
4162
+ const n = ((e == null ? void 0 : e.ftsp) ?? pt.Get()).clearForHTTP(), s = {
4150
4163
  payload: { ftsp: n },
4151
4164
  query: this.getUrl("ftsp")
4152
4165
  }, r = await he.Post(s);
@@ -4266,7 +4279,7 @@ function fd(t, e) {
4266
4279
  const md = ["#31af5e", "#ff4d3b", "#006BB5", "#f3911c"];
4267
4280
  class gd {
4268
4281
  static GetRandColor(e) {
4269
- return mt.GetRandEL(e ?? md);
4282
+ return gt.GetRandEL(e ?? md);
4270
4283
  }
4271
4284
  }
4272
4285
  function Co(t, e) {
@@ -4309,11 +4322,11 @@ let pd = class {
4309
4322
  return this.timelinePxHeight * this.timelines.length;
4310
4323
  }
4311
4324
  getHoursArr() {
4312
- return mt.GenerateNumsRange(this.startHour, this.endHour);
4325
+ return gt.GenerateNumsRange(this.startHour, this.endHour);
4313
4326
  }
4314
4327
  };
4315
- const _n = (t) => t === 8 || t === 46, vd = (t) => t > 46 && t < 58, yd = (t) => t > 34 && t < 41, wd = (t) => t + ".", bd = (t, e, i) => {
4316
- _n(e) || yd(e) || (!vd(e) || i > 9) && t.preventDefault();
4328
+ const Zn = (t) => t === 8 || t === 46, vd = (t) => t > 46 && t < 58, yd = (t) => t > 34 && t < 41, wd = (t) => t + ".", bd = (t, e, i) => {
4329
+ Zn(e) || yd(e) || (!vd(e) || i > 9) && t.preventDefault();
4317
4330
  };
4318
4331
  function Sd(t, e) {
4319
4332
  if (e > 8) {
@@ -4330,9 +4343,9 @@ function Cd(t) {
4330
4343
  const e = t.keyCode;
4331
4344
  let i = t.srcElement.value;
4332
4345
  const n = i.length;
4333
- bd(t, e, n), !_n(e) && (n === 2 || n === 5) && (i = wd(i));
4346
+ bd(t, e, n), !Zn(e) && (n === 2 || n === 5) && (i = wd(i));
4334
4347
  const s = t.srcElement.value + String.fromCharCode(t.which);
4335
- if (_n(e)) {
4348
+ if (Zn(e)) {
4336
4349
  t.srcElement.value = i;
4337
4350
  return;
4338
4351
  }
@@ -4593,7 +4606,7 @@ function Mo(t, e) {
4593
4606
  i[n] = t.slice(n * e, n * e + e);
4594
4607
  return i;
4595
4608
  }
4596
- class ms {
4609
+ class gs {
4597
4610
  constructor() {
4598
4611
  a(this, "items", []);
4599
4612
  a(this, "idx", 0);
@@ -4609,7 +4622,7 @@ class ms {
4609
4622
  i > -1 && this.Select(i);
4610
4623
  }
4611
4624
  static Create(e, i) {
4612
- const n = new ms();
4625
+ const n = new gs();
4613
4626
  return n.key = e, n.items = i, n.items.length && n.preSelect(), n;
4614
4627
  }
4615
4628
  Select(e) {
@@ -4668,7 +4681,7 @@ const Ni = class Ni {
4668
4681
  a(Ni, "validatePhone", (e, i, n) => {
4669
4682
  Ni.getPhoneRegExp().test(i) || !i ? n() : n(new Error("Пожалуйста, введите корректный номер телефона"));
4670
4683
  });
4671
- let Zn = Ni;
4684
+ let Xn = Ni;
4672
4685
  class zd {
4673
4686
  static Count(e) {
4674
4687
  const i = e.filter((r) => r.rating !== 0);
@@ -4711,7 +4724,7 @@ class Fd {
4711
4724
  return this.timelinePxHeight * this.timelines.length;
4712
4725
  }
4713
4726
  getHoursArr() {
4714
- return mt.GenerateNumsRange(this.startHour, this.endHour);
4727
+ return gt.GenerateNumsRange(this.startHour, this.endHour);
4715
4728
  }
4716
4729
  timeIsFree(e, i, n, s) {
4717
4730
  return s.filter((r) => r.id !== n).every(
@@ -4814,11 +4827,11 @@ class Ud {
4814
4827
  }
4815
4828
  var ee;
4816
4829
  let jd = (ee = class {
4817
- }, a(ee, "Arrays", mt), a(ee, "Axios", ri), a(ee, "BaseStore", ce), // static Phone = Phone;
4818
- a(ee, "Cache", en), a(ee, "Classes", F), a(ee, "CarouselSwipe", fd), a(ee, "Color", gd), a(ee, "CreateSortModels", Co), a(ee, "Cursor", pd), a(ee, "DateMask", Cd), a(ee, "Dates", st), a(ee, "Dragger", Id), a(ee, "Extension", xo), a(ee, "Favourite", kd), // static FTSP = FTSP;
4819
- a(ee, "Hooks", Td), a(ee, "HttpClient", he), a(ee, "Id", ve), a(ee, "MakeCarousel", Mo), a(ee, "Period", Bn), a(ee, "PhoneService", Zn), a(ee, "Rating", zd), a(ee, "Router", at), a(ee, "RouterGuard", Od), a(ee, "Scheduler", Fd), a(ee, "Scroll", Ld), // static Sizes = Sizes;
4820
- a(ee, "Sorter", Bd), a(ee, "Static", rs), // static Statuses = Statuses;
4821
- a(ee, "Strings", ne), a(ee, "Time", te), a(ee, "Timer", ci), a(ee, "Token", hi), a(ee, "Menus", ms), // static useConfirmLeavePage = useConfirmLeavePage();
4830
+ }, a(ee, "Arrays", gt), a(ee, "Axios", ri), a(ee, "BaseStore", ce), // static Phone = Phone;
4831
+ a(ee, "Cache", tn), a(ee, "Classes", F), a(ee, "CarouselSwipe", fd), a(ee, "Color", gd), a(ee, "CreateSortModels", Co), a(ee, "Cursor", pd), a(ee, "DateMask", Cd), a(ee, "Dates", st), a(ee, "Dragger", Id), a(ee, "Extension", xo), a(ee, "Favourite", kd), // static FTSP = FTSP;
4832
+ a(ee, "Hooks", Td), a(ee, "HttpClient", he), a(ee, "Id", ve), a(ee, "MakeCarousel", Mo), a(ee, "Period", Hn), a(ee, "PhoneService", Xn), a(ee, "Rating", zd), a(ee, "Router", at), a(ee, "RouterGuard", Od), a(ee, "Scheduler", Fd), a(ee, "Scroll", Ld), // static Sizes = Sizes;
4833
+ a(ee, "Sorter", Bd), a(ee, "Static", os), // static Statuses = Statuses;
4834
+ a(ee, "Strings", ne), a(ee, "Time", te), a(ee, "Timer", ci), a(ee, "Token", hi), a(ee, "Menus", gs), // static useConfirmLeavePage = useConfirmLeavePage();
4822
4835
  a(ee, "validate", Hd), a(ee, "WaitElement", qd), a(ee, "WebSocketClient", Ud), ee);
4823
4836
  class Wd {
4824
4837
  constructor() {
@@ -4885,7 +4898,7 @@ let Gd = class {
4885
4898
  }
4886
4899
  };
4887
4900
  const Vd = new Gd();
4888
- var _d = Object.defineProperty, tn = (t, e, i, n) => {
4901
+ var _d = Object.defineProperty, nn = (t, e, i, n) => {
4889
4902
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
4890
4903
  (o = t[r]) && (s = o(e, i, s) || s);
4891
4904
  return s && _d(e, i, s), s;
@@ -4925,7 +4938,7 @@ const yi = class ko {
4925
4938
  this.postAddresses.push(new Di());
4926
4939
  }
4927
4940
  addWebsite() {
4928
- this.websites.push(new os());
4941
+ this.websites.push(new as());
4929
4942
  }
4930
4943
  pushFirst() {
4931
4944
  this.emails.length || this.emails.push(new Et()), this.phones.length || this.phones.push(new Tt());
@@ -4946,17 +4959,17 @@ const yi = class ko {
4946
4959
  this.longitude = e;
4947
4960
  }
4948
4961
  };
4949
- tn([
4962
+ nn([
4950
4963
  F.GetClassConstructor(Et)
4951
4964
  ], yi.prototype, "emails");
4952
- tn([
4965
+ nn([
4953
4966
  F.GetClassConstructor(Di)
4954
4967
  ], yi.prototype, "postAddresses");
4955
- tn([
4968
+ nn([
4956
4969
  F.GetClassConstructor(Tt)
4957
4970
  ], yi.prototype, "phones");
4958
- tn([
4959
- F.GetClassConstructor(os)
4971
+ nn([
4972
+ F.GetClassConstructor(as)
4960
4973
  ], yi.prototype, "websites");
4961
4974
  let Ro = yi, Zd = class extends ce {
4962
4975
  constructor() {
@@ -4970,7 +4983,7 @@ let Yd = class extends ce {
4970
4983
  }
4971
4984
  };
4972
4985
  const Jd = new Yd();
4973
- class gs {
4986
+ class ps {
4974
4987
  constructor(e) {
4975
4988
  a(this, "id");
4976
4989
  a(this, "ftsp");
@@ -4978,13 +4991,13 @@ class gs {
4978
4991
  F.BuildClass(this, e);
4979
4992
  }
4980
4993
  static Create(e) {
4981
- const i = new gs();
4994
+ const i = new ps();
4982
4995
  return i.id = ve.UUID(), i.ftsp = JSON.stringify(e), i;
4983
4996
  }
4984
4997
  }
4985
4998
  let Qd = class extends ce {
4986
4999
  constructor() {
4987
- super(gs, "ftsp-presets");
5000
+ super(ps, "ftsp-presets");
4988
5001
  }
4989
5002
  };
4990
5003
  const Kd = new Qd();
@@ -5079,7 +5092,7 @@ Po([
5079
5092
  Po([
5080
5093
  F.GetClassConstructor(uh)
5081
5094
  ], Ut.prototype, "searchGroupMetaColumns");
5082
- class Pn {
5095
+ class En {
5083
5096
  constructor(e) {
5084
5097
  a(this, "query", "");
5085
5098
  a(this, "key", "");
@@ -5113,7 +5126,7 @@ class Pn {
5113
5126
  let dh = class {
5114
5127
  constructor() {
5115
5128
  a(this, "isSearchDrawerOpen", T(!1));
5116
- a(this, "searchModel", ze(new Pn()));
5129
+ a(this, "searchModel", ze(new En()));
5117
5130
  a(this, "searchGroups", ze([]));
5118
5131
  a(this, "count", 0);
5119
5132
  }
@@ -5134,10 +5147,10 @@ let dh = class {
5134
5147
  return this.SetSearchModel(i), i;
5135
5148
  }
5136
5149
  ToggleDrawer(e) {
5137
- this.isSearchDrawerOpen.value = e, this.searchModel = new Pn();
5150
+ this.isSearchDrawerOpen.value = e, this.searchModel = new En();
5138
5151
  }
5139
5152
  SetSearchModel(e) {
5140
- e && (this.searchModel = new Pn(e));
5153
+ e && (this.searchModel = new En(e));
5141
5154
  }
5142
5155
  SetSearchGroups() {
5143
5156
  }
@@ -5154,23 +5167,10 @@ let dh = class {
5154
5167
  return this.count;
5155
5168
  }
5156
5169
  };
5157
- const Xn = new dh();
5158
- class ps {
5159
- constructor(e) {
5160
- a(this, "id");
5161
- a(this, "login", "");
5162
- a(this, "email", "");
5163
- a(this, "password", "");
5164
- F.BuildClass(this, e);
5165
- }
5166
- static Create() {
5167
- const e = new ps();
5168
- return e.id = ve.UUID(), e;
5169
- }
5170
- }
5170
+ const Yn = new dh();
5171
5171
  let hh = class extends ce {
5172
5172
  constructor() {
5173
- super(ps, "users-accounts");
5173
+ super(Gi, "users-accounts");
5174
5174
  }
5175
5175
  };
5176
5176
  const fh = new hh();
@@ -5231,7 +5231,7 @@ let mh = class extends ce {
5231
5231
  const gh = new mh();
5232
5232
  var He;
5233
5233
  let zo = (He = class {
5234
- }, a(He, "Auth", Vd), a(He, "Contacts", Xd), a(He, "Emails", Jd), a(He, "FileInfos", new ce(Te, "file-infos")), a(He, "FTSPPresets", Kd), a(He, "Humans", th), a(He, "Phones", nh), a(He, "Schemas", lh), a(He, "UserAccounts", fh), a(He, "ValueTypes", gh), a(He, "Search", Xn), He);
5234
+ }, a(He, "Auth", Vd), a(He, "Contacts", Xd), a(He, "Emails", Jd), a(He, "FileInfos", new ce(Te, "file-infos")), a(He, "FTSPPresets", Kd), a(He, "Humans", th), a(He, "Phones", nh), a(He, "Schemas", lh), a(He, "UserAccounts", fh), a(He, "ValueTypes", gh), a(He, "Search", Yn), He);
5235
5235
  var vs = /* @__PURE__ */ ((t) => (t.XS = "xs", t.S = "s", t.M = "m", t.L = "l", t.XL = "xl", t))(vs || {}), wt;
5236
5236
  let ph = (wt = class {
5237
5237
  }, a(wt, "Orders", We), a(wt, "Sizes", vs), a(wt, "Statuses", xe), a(wt, "DataTypes", we), a(wt, "ValueTypes", $e), a(wt, "Operators", Re), wt);
@@ -5332,7 +5332,7 @@ class xh extends Gr {
5332
5332
  this.resolve = void 0, this.reject = void 0, super.hide();
5333
5333
  }
5334
5334
  }
5335
- const dt = new xh();
5335
+ const ht = new xh();
5336
5336
  class Mh extends Wr {
5337
5337
  Show() {
5338
5338
  super.show();
@@ -5344,7 +5344,7 @@ class Mh extends Wr {
5344
5344
  const Ih = new Mh();
5345
5345
  class bt {
5346
5346
  }
5347
- a(bt, "Admin", Ch), a(bt, "Dialog", dt), a(bt, "Loading", Ih), a(bt, "Notify", ze(Fe)), a(bt, "Btn", Rt), a(bt, "Input", Ur);
5347
+ a(bt, "Admin", Ch), a(bt, "Dialog", ht), a(bt, "Loading", Ih), a(bt, "Notify", ze(Fe)), a(bt, "Btn", Rt), a(bt, "Input", Ur);
5348
5348
  class N {
5349
5349
  }
5350
5350
  a(N, "Auth", ze(Ce)), a(N, "UI", ze(bt)), a(N, "Paginator", ze(Io)), /**
@@ -5631,7 +5631,7 @@ bi([
5631
5631
  bi([
5632
5632
  N.H.Classes.GetClassConstructor(Ft)
5633
5633
  ], Ft.prototype, "children");
5634
- let nn = Ft;
5634
+ let sn = Ft;
5635
5635
  class bs {
5636
5636
  constructor(e) {
5637
5637
  a(this, "id");
@@ -5663,7 +5663,7 @@ var qh = Object.defineProperty, Lo = (t, e, i, n) => {
5663
5663
  (o = t[r]) && (s = o(e, i, s) || s);
5664
5664
  return s && qh(e, i, s), s;
5665
5665
  };
5666
- const Ss = class Yn {
5666
+ const Ss = class Jn {
5667
5667
  constructor(e) {
5668
5668
  a(this, "id");
5669
5669
  a(this, "valueString");
@@ -5688,7 +5688,7 @@ const Ss = class Yn {
5688
5688
  this.filled = e;
5689
5689
  }
5690
5690
  static Create(e, i) {
5691
- const n = new Yn();
5691
+ const n = new Jn();
5692
5692
  return n.id = It(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
5693
5693
  }
5694
5694
  setString(e) {
@@ -5707,7 +5707,7 @@ const Ss = class Yn {
5707
5707
  this.answerVariantId = e, this.filled = !!this.answerVariantId;
5708
5708
  }
5709
5709
  static CreateMany(e, i) {
5710
- return e.map((n) => Yn.Create(n, i));
5710
+ return e.map((n) => Jn.Create(n, i));
5711
5711
  }
5712
5712
  addFile() {
5713
5713
  const e = new bs();
@@ -5787,7 +5787,7 @@ const Bo = class Ho {
5787
5787
  return i.id = N.H.Id.UUID(), i.formId = e, i;
5788
5788
  }
5789
5789
  addField() {
5790
- const e = nn.Create(this.id);
5790
+ const e = sn.Create(this.id);
5791
5791
  return this.fields.push(e), this.sortFields(), e;
5792
5792
  }
5793
5793
  sortFields() {
@@ -5818,9 +5818,9 @@ const Bo = class Ho {
5818
5818
  // }
5819
5819
  };
5820
5820
  jh([
5821
- N.H.Classes.GetClassConstructor(nn)
5821
+ N.H.Classes.GetClassConstructor(sn)
5822
5822
  ], Bo.prototype, "fields");
5823
- let sn = Bo;
5823
+ let rn = Bo;
5824
5824
  var Wh = Object.defineProperty, Gh = (t, e, i, n) => {
5825
5825
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
5826
5826
  (o = t[r]) && (s = o(e, i, s) || s);
@@ -5853,7 +5853,7 @@ const qo = class No {
5853
5853
  this.isEdit = e ?? !this.isEdit;
5854
5854
  }
5855
5855
  addFormSection() {
5856
- const e = sn.Create(this.id);
5856
+ const e = rn.Create(this.id);
5857
5857
  return this.formSections.push(e), N.H.Sorter.Sort(this.formSections), e;
5858
5858
  }
5859
5859
  getFields() {
@@ -5862,7 +5862,7 @@ const qo = class No {
5862
5862
  }
5863
5863
  };
5864
5864
  Gh([
5865
- N.H.Classes.GetClassConstructor(sn)
5865
+ N.H.Classes.GetClassConstructor(rn)
5866
5866
  ], qo.prototype, "formSections");
5867
5867
  let Uo = qo;
5868
5868
  var Vh = Object.defineProperty, _h = (t, e, i, n) => {
@@ -5950,7 +5950,7 @@ let Go = jo;
5950
5950
  const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5951
5951
  __proto__: null,
5952
5952
  AnswerVariant: Ot,
5953
- Field: nn,
5953
+ Field: sn,
5954
5954
  FieldExample: Do,
5955
5955
  FieldFill: Wt,
5956
5956
  FieldFillFile: bs,
@@ -5959,7 +5959,7 @@ const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5959
5959
  FieldVariant: Gt,
5960
5960
  Form: Uo,
5961
5961
  FormFill: Go,
5962
- FormSection: sn,
5962
+ FormSection: rn,
5963
5963
  SelectedAnswerVariant: Dt
5964
5964
  }, Symbol.toStringTag, { value: "Module" }));
5965
5965
  let Xh = class extends ce {
@@ -5976,7 +5976,7 @@ let Jh = class extends ce {
5976
5976
  const Qh = new Jh();
5977
5977
  let Kh = class extends ce {
5978
5978
  constructor() {
5979
- super(nn, "fields");
5979
+ super(sn, "fields");
5980
5980
  }
5981
5981
  };
5982
5982
  const ef = new Kh();
@@ -5988,7 +5988,7 @@ let tf = class extends ce {
5988
5988
  const nf = new tf();
5989
5989
  let sf = class extends ce {
5990
5990
  constructor() {
5991
- super(sn, "form-sections");
5991
+ super(rn, "form-sections");
5992
5992
  }
5993
5993
  };
5994
5994
  const rf = new sf();
@@ -6017,7 +6017,7 @@ const uf = new lf(), cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
6017
6017
  C: Zh,
6018
6018
  S: cf
6019
6019
  }, Symbol.toStringTag, { value: "Module" }));
6020
- class rn {
6020
+ class on {
6021
6021
  constructor(e) {
6022
6022
  a(this, "id");
6023
6023
  a(this, "name", "");
@@ -6076,7 +6076,7 @@ class Cs {
6076
6076
  this.icon.id || (this.icon.id = ve.UUID()), this.icon.originalName = e.name, this.icon.file = e.raw;
6077
6077
  }
6078
6078
  addSubMenu() {
6079
- this.subMenus.push(new rn());
6079
+ this.subMenus.push(new on());
6080
6080
  }
6081
6081
  removeSubMenu(e) {
6082
6082
  const i = this.subMenus[e].id;
@@ -6097,12 +6097,12 @@ class Cs {
6097
6097
  }
6098
6098
  }
6099
6099
  ff([
6100
- F.GetClassConstructor(rn)
6100
+ F.GetClassConstructor(on)
6101
6101
  ], Cs.prototype, "subMenus");
6102
6102
  const mf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6103
6103
  __proto__: null,
6104
6104
  Menu: Cs,
6105
- SubMenu: rn
6105
+ SubMenu: on
6106
6106
  }, Symbol.toStringTag, { value: "Module" }));
6107
6107
  let gf = class extends N.H.BaseStore {
6108
6108
  constructor() {
@@ -6112,7 +6112,7 @@ let gf = class extends N.H.BaseStore {
6112
6112
  const pf = new gf();
6113
6113
  let vf = class extends N.H.BaseStore {
6114
6114
  constructor() {
6115
- super(rn, "sub-menus");
6115
+ super(on, "sub-menus");
6116
6116
  }
6117
6117
  };
6118
6118
  const yf = new vf(), wf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6124,7 +6124,7 @@ const yf = new vf(), wf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
6124
6124
  C: mf,
6125
6125
  S: wf
6126
6126
  }, Symbol.toStringTag, { value: "Module" }));
6127
- class on {
6127
+ class an {
6128
6128
  constructor(e) {
6129
6129
  a(this, "id", "");
6130
6130
  a(this, "name", "");
@@ -6135,7 +6135,7 @@ class on {
6135
6135
  F.BuildClass(this, e);
6136
6136
  }
6137
6137
  static Create(e, i, n, s, r) {
6138
- const o = new on();
6138
+ const o = new an();
6139
6139
  return o.id = e, o.name = i, o.component = n, o.order = s, o.active = !!r, o;
6140
6140
  }
6141
6141
  }
@@ -6163,7 +6163,7 @@ var Cf = Object.defineProperty, xf = (t, e, i, n) => {
6163
6163
  (o = t[r]) && (s = o(e, i, s) || s);
6164
6164
  return s && Cf(e, i, s), s;
6165
6165
  };
6166
- class an {
6166
+ class ln {
6167
6167
  constructor(e) {
6168
6168
  a(this, "id");
6169
6169
  a(this, "pageId");
@@ -6175,8 +6175,8 @@ class an {
6175
6175
  }
6176
6176
  xf([
6177
6177
  F.GetClassConstructor(Te)
6178
- ], an.prototype, "fileInfo");
6179
- class ln {
6178
+ ], ln.prototype, "fileInfo");
6179
+ class un {
6180
6180
  constructor(e) {
6181
6181
  a(this, "id");
6182
6182
  a(this, "name", "");
@@ -6222,7 +6222,7 @@ class Qt {
6222
6222
  F.BuildClass(this, e), this.documents = this.pageSectionDocuments, this.text = this.description.replace("<p>undefined</p>", "");
6223
6223
  }
6224
6224
  addDocument() {
6225
- const e = new ln();
6225
+ const e = new un();
6226
6226
  e.order = this.pageSectionDocuments.length - 1, this.pageSectionDocuments.push(e);
6227
6227
  }
6228
6228
  getFileInfos() {
@@ -6250,7 +6250,7 @@ class Qt {
6250
6250
  }
6251
6251
  }
6252
6252
  If([
6253
- F.GetClassConstructor(ln)
6253
+ F.GetClassConstructor(un)
6254
6254
  ], Qt.prototype, "pageSectionDocuments");
6255
6255
  var kf = Object.defineProperty, Rf = (t, e, i, n) => {
6256
6256
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
@@ -6297,7 +6297,7 @@ class xt {
6297
6297
  Rf([
6298
6298
  F.GetClassConstructor(Qt)
6299
6299
  ], xt.prototype, "pageSections");
6300
- var $f = Object.defineProperty, un = (t, e, i, n) => {
6300
+ var $f = Object.defineProperty, cn = (t, e, i, n) => {
6301
6301
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
6302
6302
  (o = t[r]) && (s = o(e, i, s) || s);
6303
6303
  return s && $f(e, i, s), s;
@@ -6391,31 +6391,31 @@ class Kt {
6391
6391
  return "page";
6392
6392
  }
6393
6393
  }
6394
- un([
6395
- F.GetClassConstructor(an)
6394
+ cn([
6395
+ F.GetClassConstructor(ln)
6396
6396
  ], Kt.prototype, "pageImages");
6397
- un([
6397
+ cn([
6398
6398
  F.GetClassConstructor(xt)
6399
6399
  ], Kt.prototype, "pageSideMenus");
6400
- un([
6400
+ cn([
6401
6401
  F.GetClassConstructor(Qt)
6402
6402
  ], Kt.prototype, "pageSections");
6403
- un([
6403
+ cn([
6404
6404
  F.GetClassConstructor(xs)
6405
6405
  ], Kt.prototype, "pageDocuments");
6406
6406
  const Af = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6407
6407
  __proto__: null,
6408
- CustomSection: on,
6408
+ CustomSection: an,
6409
6409
  Page: Kt,
6410
6410
  PageDocument: xs,
6411
- PageImage: an,
6411
+ PageImage: ln,
6412
6412
  PageSection: Qt,
6413
- PageSectionDocument: ln,
6413
+ PageSectionDocument: un,
6414
6414
  PageSideMenu: xt
6415
6415
  }, Symbol.toStringTag, { value: "Module" }));
6416
6416
  let Pf = class extends N.H.BaseStore {
6417
6417
  constructor() {
6418
- super(on, "custom-sections");
6418
+ super(an, "custom-sections");
6419
6419
  }
6420
6420
  };
6421
6421
  const Ef = new Pf();
@@ -6427,13 +6427,13 @@ let Tf = class extends N.H.BaseStore {
6427
6427
  const zf = new Tf();
6428
6428
  let Of = class extends N.H.BaseStore {
6429
6429
  constructor() {
6430
- super(an, "page-images");
6430
+ super(ln, "page-images");
6431
6431
  }
6432
6432
  };
6433
6433
  const Ff = new Of();
6434
6434
  let Df = class extends N.H.BaseStore {
6435
6435
  constructor() {
6436
- super(ln, "page-section-documents");
6436
+ super(un, "page-section-documents");
6437
6437
  }
6438
6438
  };
6439
6439
  const Lf = new Df();
@@ -6468,7 +6468,7 @@ const jf = new Uf(), Wf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
6468
6468
  C: Af,
6469
6469
  S: Wf
6470
6470
  }, Symbol.toStringTag, { value: "Module" }));
6471
- class cn {
6471
+ class dn {
6472
6472
  constructor(e) {
6473
6473
  a(this, "id");
6474
6474
  a(this, "name", "");
@@ -6476,17 +6476,17 @@ class cn {
6476
6476
  N.H.Classes.BuildClass(this, e);
6477
6477
  }
6478
6478
  static Create(e, i) {
6479
- const n = new cn();
6479
+ const n = new dn();
6480
6480
  return n.id = N.H.Id.UUID(), n.name = e, n.label = i, n;
6481
6481
  }
6482
6482
  }
6483
6483
  const Vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6484
6484
  __proto__: null,
6485
- ColorTheme: cn
6485
+ ColorTheme: dn
6486
6486
  }, Symbol.toStringTag, { value: "Module" }));
6487
6487
  let _f = class extends ce {
6488
6488
  constructor() {
6489
- super(cn, "color-themes");
6489
+ super(dn, "color-themes");
6490
6490
  }
6491
6491
  };
6492
6492
  const Zf = new _f(), Xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6551,7 +6551,7 @@ const Jf = "p-button", Qf = /* @__PURE__ */ $({
6551
6551
  Ui(" " + ke(t.text), 1)
6552
6552
  ], 16));
6553
6553
  }
6554
- }), dn = /* @__PURE__ */ A(Qf, [["__scopeId", "data-v-814c9b41"]]), Kf = /* @__PURE__ */ $({
6554
+ }), hn = /* @__PURE__ */ A(Qf, [["__scopeId", "data-v-814c9b41"]]), Kf = /* @__PURE__ */ $({
6555
6555
  __name: "IconCheckDefault",
6556
6556
  props: {
6557
6557
  size: { type: String, default: "22px" },
@@ -6605,7 +6605,7 @@ const Jf = "p-button", Qf = /* @__PURE__ */ $({
6605
6605
  }),
6606
6606
  emits: /* @__PURE__ */ Ee(["change"], ["update:modelValue"]),
6607
6607
  setup(t, { emit: e }) {
6608
- const i = pt(t, "modelValue"), n = e, s = () => {
6608
+ const i = vt(t, "modelValue"), n = e, s = () => {
6609
6609
  n("change", i.value);
6610
6610
  };
6611
6611
  return (r, o) => (m(), w("div", {
@@ -6660,7 +6660,7 @@ const Jf = "p-button", Qf = /* @__PURE__ */ $({
6660
6660
  }),
6661
6661
  emits: /* @__PURE__ */ Ee(["blur", "input"], ["update:modelValue"]),
6662
6662
  setup(t, { emit: e }) {
6663
- const i = e, n = pt(t, "modelValue"), s = (o) => {
6663
+ const i = e, n = vt(t, "modelValue"), s = (o) => {
6664
6664
  const l = o.target.valueAsDate;
6665
6665
  l ? (n.value = l, i("input", r(n.value))) : (n.value = null, i("input", null));
6666
6666
  }, r = (o) => o ? new Date(o.getTime() - o.getTimezoneOffset() * 60 * 1e3).toISOString().split("T")[0] : "";
@@ -6900,7 +6900,7 @@ let pm = class {
6900
6900
  };
6901
6901
  }
6902
6902
  };
6903
- const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
6903
+ const Tn = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
6904
6904
  if (t.arg == null || t.instance == null) return;
6905
6905
  const i = "setup" in t.instance.$.type;
6906
6906
  t.arg in t.instance ? t.instance[t.arg] = e : i && console.warn("Maska: please expose `%s` using defineExpose", t.arg);
@@ -6916,7 +6916,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
6916
6916
  };
6917
6917
  s.onMaska = s.onMaska == null ? r : Array.isArray(s.onMaska) ? [...s.onMaska, r] : [s.onMaska, r];
6918
6918
  }
6919
- En.has(n) ? (i = En.get(n)) == null || i.update(s) : En.set(n, new pm(n, s));
6919
+ Tn.has(n) ? (i = Tn.get(n)) == null || i.update(s) : Tn.set(n, new pm(n, s));
6920
6920
  }, ym = ["for"], wm = { class: "left-field" }, bm = ["disabled"], Sm = { class: "right-field" }, Cm = /* @__PURE__ */ $({
6921
6921
  __name: "PInput",
6922
6922
  props: /* @__PURE__ */ Ee({
@@ -6933,7 +6933,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
6933
6933
  }),
6934
6934
  emits: /* @__PURE__ */ Ee(["blur", "input", "focus"], ["update:modelValue"]),
6935
6935
  setup(t, { emit: e }) {
6936
- const i = e, n = pt(t, "modelValue"), s = (r) => {
6936
+ const i = e, n = vt(t, "modelValue"), s = (r) => {
6937
6937
  r.inputType === "insertText" && (console.log(r.inputType), i("input", n.value));
6938
6938
  };
6939
6939
  return (r, o) => (m(), w("div", {
@@ -6973,7 +6973,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
6973
6973
  ], 4)
6974
6974
  ], 4));
6975
6975
  }
6976
- }), hn = /* @__PURE__ */ A(Cm, [["__scopeId", "data-v-b4bcb814"]]), Qo = /* @__PURE__ */ $({
6976
+ }), fn = /* @__PURE__ */ A(Cm, [["__scopeId", "data-v-b4bcb814"]]), Qo = /* @__PURE__ */ $({
6977
6977
  __name: "PInputDate",
6978
6978
  props: /* @__PURE__ */ Ee({
6979
6979
  placeholder: {
@@ -6989,7 +6989,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
6989
6989
  }),
6990
6990
  emits: /* @__PURE__ */ Ee(["update:modelValue", "change", "beforeChange"], ["update:modelValue"]),
6991
6991
  setup(t, { emit: e }) {
6992
- const i = e, n = pt(t, "modelValue"), s = st.Format(n.value), r = T(s), o = (l) => {
6992
+ const i = e, n = vt(t, "modelValue"), s = st.Format(n.value), r = T(s), o = (l) => {
6993
6993
  if (!u(l))
6994
6994
  return;
6995
6995
  const c = st.FromRuStr(l);
@@ -7038,7 +7038,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
7038
7038
  const i = e, n = t, s = () => {
7039
7039
  const C = n.step.toString();
7040
7040
  return C.includes(".") ? C.split(".")[1].length : 0;
7041
- }, r = s(), o = pt(t, "modelValue"), u = T(o.value.toFixed(s())), l = (C) => {
7041
+ }, r = s(), o = vt(t, "modelValue"), u = T(o.value.toFixed(s())), l = (C) => {
7042
7042
  const M = Math.pow(10, r);
7043
7043
  return Math.round(C * M) / M;
7044
7044
  }, c = (C, ...M) => {
@@ -7265,7 +7265,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
7265
7265
  }),
7266
7266
  emits: /* @__PURE__ */ Ee(["change"], ["update:modelValue"]),
7267
7267
  setup(t, { emit: e }) {
7268
- const i = pt(t, "modelValue"), n = e, s = t, r = ve.GUID(), o = ue(() => i.value === s.value), u = () => {
7268
+ const i = vt(t, "modelValue"), n = e, s = t, r = ve.GUID(), o = ue(() => i.value === s.value), u = () => {
7269
7269
  n("change", s.value);
7270
7270
  };
7271
7271
  return (l, c) => (m(), w("div", {
@@ -7454,7 +7454,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
7454
7454
  ], -1))
7455
7455
  ], 64));
7456
7456
  }
7457
- }), fn = /* @__PURE__ */ A(Om, [["__scopeId", "data-v-cbcad2a0"]]), Fm = /* @__PURE__ */ $({
7457
+ }), mn = /* @__PURE__ */ A(Om, [["__scopeId", "data-v-cbcad2a0"]]), Fm = /* @__PURE__ */ $({
7458
7458
  __name: "IconSelectArrow",
7459
7459
  props: {
7460
7460
  size: { type: String, default: "20px" },
@@ -7520,7 +7520,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
7520
7520
  }),
7521
7521
  emits: /* @__PURE__ */ Ee(["change", "clear"], ["update:modelValue"]),
7522
7522
  setup(t, { emit: e }) {
7523
- const i = pt(t, "modelValue"), n = T(!0), s = e, r = T(!1), o = () => {
7523
+ const i = vt(t, "modelValue"), n = T(!0), s = e, r = T(!1), o = () => {
7524
7524
  n.value = !1, s("change", i.value);
7525
7525
  }, u = () => {
7526
7526
  i.value = void 0, s("clear", void 0), s("change", void 0), n.value = !0;
@@ -7548,9 +7548,9 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
7548
7548
  class: "clear",
7549
7549
  onClick: u
7550
7550
  }, [
7551
- R(fn, { margin: "0" })
7551
+ R(mn, { margin: "0" })
7552
7552
  ], 512)), [
7553
- [ns, p(r)]
7553
+ [ss, p(r)]
7554
7554
  ]) : J("", !0),
7555
7555
  f("div", Hm, [
7556
7556
  R(Is, { margin: "2px 2px 0 0" })
@@ -7677,7 +7677,7 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
7677
7677
  }),
7678
7678
  emits: /* @__PURE__ */ Ee(["blur", "input", "focus"], ["update:modelValue"]),
7679
7679
  setup(t) {
7680
- const e = pt(t, "modelValue"), i = t, n = ue(() => ({
7680
+ const e = vt(t, "modelValue"), i = t, n = ue(() => ({
7681
7681
  color: i.color,
7682
7682
  resize: i.resize
7683
7683
  }));
@@ -7786,15 +7786,15 @@ const En = /* @__PURE__ */ new WeakMap(), vm = (t, e) => {
7786
7786
  }
7787
7787
  }), la = /* @__PURE__ */ A(Km, [["__scopeId", "data-v-863b4aff"]]);
7788
7788
  function ua(t) {
7789
- t.component("PButton", dn), t.component("PCheckBox", _o), t.component("PDatePicker", Zo), t.component("PFlex", Xo), t.component("PInput", hn), t.component("PInputDate", Qo), t.component("PInputNumber", Ko), t.component("PLeftSlider", ea), t.component("PList", ta), t.component("PListItem", ia), t.component("PRadio", na), t.component("PRightSlider", sa), t.component("PSelect", ks), t.component("PSticky", ra), t.component("PString", Rs), t.component("PTextarea", aa), t.component("PTopSlider", la), t.component("PTable", oa);
7789
+ t.component("PButton", hn), t.component("PCheckBox", _o), t.component("PDatePicker", Zo), t.component("PFlex", Xo), t.component("PInput", fn), t.component("PInputDate", Qo), t.component("PInputNumber", Ko), t.component("PLeftSlider", ea), t.component("PList", ta), t.component("PListItem", ia), t.component("PRadio", na), t.component("PRightSlider", sa), t.component("PSelect", ks), t.component("PSticky", ra), t.component("PString", Rs), t.component("PTextarea", aa), t.component("PTopSlider", la), t.component("PTable", oa);
7790
7790
  }
7791
7791
  const ov = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7792
7792
  __proto__: null,
7793
- PButton: dn,
7793
+ PButton: hn,
7794
7794
  PCheckBox: _o,
7795
7795
  PDatePicker: Zo,
7796
7796
  PFlex: Xo,
7797
- PInput: hn,
7797
+ PInput: fn,
7798
7798
  PInputDate: Qo,
7799
7799
  PInputNumber: Ko,
7800
7800
  PLeftSlider: ea,
@@ -8050,7 +8050,7 @@ const ov = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8050
8050
  ], 2));
8051
8051
  }
8052
8052
  }), $s = /* @__PURE__ */ A(ag, [["__scopeId", "data-v-a3c4743c"]]);
8053
- var ht = /* @__PURE__ */ ((t) => (t.None = "None", t.Next = "Next", t.Prev = "Prev", t))(ht || {});
8053
+ var ft = /* @__PURE__ */ ((t) => (t.None = "None", t.Next = "Next", t.Prev = "Prev", t))(ft || {});
8054
8054
  const lg = { class: "container" }, ug = { class: "slide-box" }, cg = { class: "image" }, dg = { class: "image-box" }, hg = ["id", "src", "alt"], fg = { class: "link-number" }, mg = ["id", "onClick"], gg = /* @__PURE__ */ $({
8055
8055
  __name: "CarouselImages",
8056
8056
  props: {
@@ -8085,17 +8085,17 @@ const lg = { class: "container" }, ug = { class: "slide-box" }, cg = { class: "i
8085
8085
  Br((y) => ({
8086
8086
  "582c9d05": i
8087
8087
  }));
8088
- const e = t, i = `${e.animationTime}ms`, n = T(e.startActiveGroupIndex), s = T(ht.None), r = T(Mo(e.events, e.quantity)), o = ue(() => r.value[n.value]);
8088
+ const e = t, i = `${e.animationTime}ms`, n = T(e.startActiveGroupIndex), s = T(ft.None), r = T(Mo(e.events, e.quantity)), o = ue(() => r.value[n.value]);
8089
8089
  Xt(() => {
8090
8090
  });
8091
8091
  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, c = (y) => {
8092
- s.value = y, setTimeout(() => s.value = ht.None, e.animationTime);
8092
+ s.value = y, setTimeout(() => s.value = ft.None, e.animationTime);
8093
8093
  }, d = (y) => {
8094
- y != n.value && (c(y < n.value ? ht.Prev : ht.Next), setTimeout(() => n.value = y, e.animationTime / 2));
8094
+ y != n.value && (c(y < n.value ? ft.Prev : ft.Next), setTimeout(() => n.value = y, e.animationTime / 2));
8095
8095
  }, h = () => {
8096
- c(ht.Next), setTimeout(u, e.animationTime / 2);
8096
+ c(ft.Next), setTimeout(u, e.animationTime / 2);
8097
8097
  }, g = () => {
8098
- c(ht.Prev), setTimeout(l, e.animationTime / 2);
8098
+ c(ft.Prev), setTimeout(l, e.animationTime / 2);
8099
8099
  };
8100
8100
  return (y, x) => (m(), w("div", {
8101
8101
  class: "field",
@@ -8112,8 +8112,8 @@ const lg = { class: "container" }, ug = { class: "slide-box" }, cg = { class: "i
8112
8112
  (m(!0), w(V, null, Oe(p(o), (C, M) => (m(), w("div", {
8113
8113
  key: M,
8114
8114
  class: se({
8115
- animationnext: p(s) === p(ht).Next,
8116
- animationprev: p(s) === p(ht).Prev
8115
+ animationnext: p(s) === p(ft).Next,
8116
+ animationprev: p(s) === p(ft).Prev
8117
8117
  })
8118
8118
  }, [
8119
8119
  f("div", cg, [
@@ -8290,7 +8290,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8290
8290
  props: {
8291
8291
  model: {
8292
8292
  type: Object,
8293
- default: () => new as(),
8293
+ default: () => new ls(),
8294
8294
  required: !0
8295
8295
  }
8296
8296
  },
@@ -8326,7 +8326,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8326
8326
  emits: ["load"],
8327
8327
  setup(t, { emit: e }) {
8328
8328
  const i = e, n = T(void 0), s = async (o) => {
8329
- gt.Get().replaceF(o, n.value), n.value = o, gt.Get().p.drop();
8329
+ pt.Get().replaceF(o, n.value), n.value = o, pt.Get().p.drop();
8330
8330
  }, r = async (o) => {
8331
8331
  await s(o), i("load");
8332
8332
  };
@@ -8391,7 +8391,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8391
8391
  },
8392
8392
  emits: ["load"],
8393
8393
  setup(t, { emit: e }) {
8394
- const i = e, n = gt.Get(), s = T(void 0), r = async (u) => {
8394
+ const i = e, n = pt.Get(), s = T(void 0), r = async (u) => {
8395
8395
  n.replaceF(u, s.value), s.value = u;
8396
8396
  }, o = async (u) => {
8397
8397
  u ? await r(s.value) : await r(void 0), i("load");
@@ -8615,7 +8615,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8615
8615
  o.value = !1, u.value = !1;
8616
8616
  };
8617
8617
  return (H, Q) => {
8618
- const Ue = B("PString"), je = B("PButton"), vt = B("PModal"), Bt = Hr("click-outside");
8618
+ const Ue = B("PString"), je = B("PButton"), yt = B("PModal"), Bt = Hr("click-outside");
8619
8619
  return m(), w(V, null, [
8620
8620
  p(o) ? (m(), w("div", Pg)) : J("", !0),
8621
8621
  f("div", {
@@ -8669,7 +8669,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8669
8669
  ], 4)
8670
8670
  ], 38)
8671
8671
  ], 4),
8672
- R(vt, {
8672
+ R(yt, {
8673
8673
  show: p(u),
8674
8674
  title: "У вас остались несохраненные изменения, вы уверены что хотите закрыть окно?"
8675
8675
  }, {
@@ -8887,7 +8887,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8887
8887
  class: "container",
8888
8888
  style: I({ width: t.width })
8889
8889
  }, [
8890
- R(hn, {
8890
+ R(fn, {
8891
8891
  modelValue: p(s),
8892
8892
  "onUpdate:modelValue": d[0] || (d[0] = (h) => _e(s) ? s.value = h : null),
8893
8893
  placeholder: "Найти",
@@ -8916,7 +8916,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8916
8916
  __name: "PDialog",
8917
8917
  setup(t) {
8918
8918
  const e = ue(() => {
8919
- switch (dt.GetType()) {
8919
+ switch (ht.GetType()) {
8920
8920
  case "info":
8921
8921
  return "message primary";
8922
8922
  case "success":
@@ -8933,26 +8933,26 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8933
8933
  const s = B("MessageBody"), r = B("PButton");
8934
8934
  return m(), U(qr, { name: "fade" }, {
8935
8935
  default: X(() => [
8936
- p(dt).IsVisible() ? (m(), w("div", {
8936
+ p(ht).IsVisible() ? (m(), w("div", {
8937
8937
  key: 0,
8938
8938
  class: se(p(e))
8939
8939
  }, [
8940
8940
  R(s, {
8941
- title: p(dt).GetTitle(),
8942
- text: p(dt).GetText()
8941
+ title: p(ht).GetTitle(),
8942
+ text: p(ht).GetText()
8943
8943
  }, null, 8, ["title", "text"]),
8944
8944
  f("div", Wg, [
8945
8945
  R(r, {
8946
8946
  type: "primary",
8947
- text: p(dt).GetConfirmButtonText(),
8947
+ text: p(ht).GetConfirmButtonText(),
8948
8948
  margin: "10px 0 0 0",
8949
- onClick: n[0] || (n[0] = (o) => p(dt).Submit())
8949
+ onClick: n[0] || (n[0] = (o) => p(ht).Submit())
8950
8950
  }, null, 8, ["text"]),
8951
8951
  R(r, {
8952
8952
  type: "warning",
8953
- text: p(dt).GetCancelButtonText(),
8953
+ text: p(ht).GetCancelButtonText(),
8954
8954
  margin: "10px 0 0 0",
8955
- onClick: n[1] || (n[1] = (o) => p(dt).Cancel())
8955
+ onClick: n[1] || (n[1] = (o) => p(ht).Cancel())
8956
8956
  }, null, 8, ["text"])
8957
8957
  ])
8958
8958
  ], 2)) : J("", !0)
@@ -8969,7 +8969,7 @@ const ga = /* @__PURE__ */ A(yg, [["render", bg], ["__scopeId", "data-v-d28c6f33
8969
8969
  },
8970
8970
  emits: ["update:modelValue"],
8971
8971
  setup(t) {
8972
- const e = pt(t, "modelValue"), i = async () => {
8972
+ const e = vt(t, "modelValue"), i = async () => {
8973
8973
  };
8974
8974
  return (n, s) => {
8975
8975
  const r = B("PInput");
@@ -9023,16 +9023,16 @@ const Ra = /* @__PURE__ */ A(_g, [["render", Zg], ["__scopeId", "data-v-0f1f2f84
9023
9023
  if (g !== r.value.curPage && (g < 1 && (g = 1), g > r.value.pagesCount() && (g = r.value.pagesCount()), !i.showConfirm))
9024
9024
  return await c(g);
9025
9025
  }, c = async (g, y) => {
9026
- r.value.setCurPage(g), gt.Get().p.offset = (g - 1) * r.value.limit, await i.store.FTSP(), h();
9026
+ r.value.setCurPage(g), pt.Get().p.offset = (g - 1) * r.value.limit, await i.store.FTSP(), h();
9027
9027
  }, d = ue(() => {
9028
9028
  const g = r.value.pagesCount();
9029
- return g < 8 ? mt.GenerateNumsRange(2, g - 1).filter((y) => y < g && y > 1) : mt.GenerateNumsRange(r.value.curPage - 2, r.value.curPage + 3).filter((y) => y < g && y > 1);
9029
+ return g < 8 ? gt.GenerateNumsRange(2, g - 1).filter((y) => y < g && y > 1) : gt.GenerateNumsRange(r.value.curPage - 2, r.value.curPage + 3).filter((y) => y < g && y > 1);
9030
9030
  }), h = () => {
9031
9031
  const g = document.querySelector(".el-table__body-wrapper"), y = document.querySelector("#list");
9032
9032
  g ? g.scrollTo({ top: 0 }) : y && y.scrollTo({ top: 0 });
9033
9033
  };
9034
- return ss(() => {
9035
- gt.Get().p.drop();
9034
+ return rs(() => {
9035
+ pt.Get().p.drop();
9036
9036
  }), (g, y) => {
9037
9037
  const x = B("ArrowLeft"), C = B("PButton"), M = B("DoubleArrowLeft"), D = B("EllipsisSvg"), Y = B("DoubleArrowRight"), W = B("ArrowRight");
9038
9038
  return m(), w("div", Xg, [
@@ -9173,7 +9173,7 @@ const Ra = /* @__PURE__ */ A(_g, [["render", Zg], ["__scopeId", "data-v-0f1f2f84
9173
9173
  emits: ["select", "load", "input"],
9174
9174
  setup(t, { emit: e }) {
9175
9175
  const i = t, n = e, s = T(i.modelValue), r = T();
9176
- let o = Xn.SearchModel();
9176
+ let o = Yn.SearchModel();
9177
9177
  Ze(
9178
9178
  () => i.focus,
9179
9179
  () => {
@@ -9185,7 +9185,7 @@ const Ra = /* @__PURE__ */ A(_g, [["render", Zg], ["__scopeId", "data-v-0f1f2f84
9185
9185
  const u = async (d) => {
9186
9186
  if (d.length < 2)
9187
9187
  return;
9188
- r.value.activated = !0, o = Xn.SearchModel(), o.searchObjects = [], o.query = d, o.key = i.keyValue;
9188
+ r.value.activated = !0, o = Yn.SearchModel(), o.searchObjects = [], o.query = d, o.key = i.keyValue;
9189
9189
  const h = o.searchGroups.find((g) => g.key === i.keyValue);
9190
9190
  return h && (o.searchGroup = h), await zo.Search.Search(o), o.searchObjects;
9191
9191
  }, l = async (d) => {
@@ -9540,7 +9540,7 @@ const Ra = /* @__PURE__ */ A(_g, [["render", Zg], ["__scopeId", "data-v-0f1f2f84
9540
9540
  n.value = Pt.GetDefault();
9541
9541
  });
9542
9542
  const s = async (o) => {
9543
- o || (n.value = Pt.GetDefault()), gt.Get().setSortModel(n.value), gt.Get().p.drop(), i("load");
9543
+ o || (n.value = Pt.GetDefault()), pt.Get().setSortModel(n.value), pt.Get().p.drop(), i("load");
9544
9544
  }, r = async (o) => {
9545
9545
  await s(o);
9546
9546
  };
@@ -9778,7 +9778,7 @@ const La = /* @__PURE__ */ A(x1, [["render", I1], ["__scopeId", "data-v-5023d414
9778
9778
  }
9779
9779
  }), Ha = /* @__PURE__ */ A(A1, [["__scopeId", "data-v-683131f5"]]);
9780
9780
  function qa(t) {
9781
- t.component("PageNotFound", fs), t.component("AdaptiveContainer", ca), t.component("AdaptiveContainerHorizontal", da), t.component("CarouselImages", ha), t.component("ContextWindow", fa), t.component("DateInputRangeV2", ga), t.component("DateInputRange", ma), t.component("DropList", pa), t.component("FilterCheckbox", va), t.component("FiltersButtonsSelect", ya), t.component("FilterSelect", wa), t.component("FTSPPanel", ba), t.component("GeneralItem", Sa), t.component("GridContainer", $s), t.component("InfoItem", Ca), t.component("InfoItemSelectButtons", xa), t.component("LeftRightContainer", Ma), t.component("MessageBody", As), t.component("PAutocomplete", Es), t.component("PDialog", Ia), t.component("PhoneForm", ka), t.component("PLoader", Ra), t.component("PPagination", $a), t.component("RemoteSearch", Aa), t.component("ResearcheContainer", Pa), t.component("RightSliderContainer", Ea), t.component("RightTabsContainer", Ta), t.component("SelectValueType", za), t.component("SortList", Oa), t.component("SortSelect", Fa), t.component("Switch3Pos", Da), t.component("ThemeWrapper", La), t.component("ToggleInfoItem", Ba), t.component("TopSliderContainer", Ha);
9781
+ t.component("PageNotFound", ms), t.component("AdaptiveContainer", ca), t.component("AdaptiveContainerHorizontal", da), t.component("CarouselImages", ha), t.component("ContextWindow", fa), t.component("DateInputRangeV2", ga), t.component("DateInputRange", ma), t.component("DropList", pa), t.component("FilterCheckbox", va), t.component("FiltersButtonsSelect", ya), t.component("FilterSelect", wa), t.component("FTSPPanel", ba), t.component("GeneralItem", Sa), t.component("GridContainer", $s), t.component("InfoItem", Ca), t.component("InfoItemSelectButtons", xa), t.component("LeftRightContainer", Ma), t.component("MessageBody", As), t.component("PAutocomplete", Es), t.component("PDialog", Ia), t.component("PhoneForm", ka), t.component("PLoader", Ra), t.component("PPagination", $a), t.component("RemoteSearch", Aa), t.component("ResearcheContainer", Pa), t.component("RightSliderContainer", Ea), t.component("RightTabsContainer", Ta), t.component("SelectValueType", za), t.component("SortList", Oa), t.component("SortSelect", Fa), t.component("Switch3Pos", Da), t.component("ThemeWrapper", La), t.component("ToggleInfoItem", Ba), t.component("TopSliderContainer", Ha);
9782
9782
  }
9783
9783
  const av = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9784
9784
  __proto__: null,
@@ -9803,7 +9803,7 @@ const av = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9803
9803
  PDialog: Ia,
9804
9804
  PLoader: Ra,
9805
9805
  PPagination: $a,
9806
- PageNotFound: fs,
9806
+ PageNotFound: ms,
9807
9807
  PhoneForm: ka,
9808
9808
  RemoteSearch: Aa,
9809
9809
  ResearcheContainer: Pa,
@@ -10279,7 +10279,7 @@ const av = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10279
10279
  }
10280
10280
  }), Qa = /* @__PURE__ */ A(N1, [["__scopeId", "data-v-1798f31d"]]);
10281
10281
  function Ka(t) {
10282
- t.component("IconDownload", Na), t.component("IconFilter", Ua), t.component("ArrowLeft", Za), t.component("ArrowRight", Xa), t.component("DoubleArrowLeft", Ya), t.component("DoubleArrowRight", Ja), t.component("EllipsisSvg", Qa), t.component("IconArrowLeft", ja), t.component("IconCheckDefault", Ms), t.component("IconClose", fn), t.component("IconEdit", Wa), t.component("IconEmail", Ga), t.component("IconMove", Va), t.component("IconPhone", _a), t.component("IconSearch", Ps), t.component("IconSelectArrow", Is);
10282
+ t.component("IconDownload", Na), t.component("IconFilter", Ua), t.component("ArrowLeft", Za), t.component("ArrowRight", Xa), t.component("DoubleArrowLeft", Ya), t.component("DoubleArrowRight", Ja), t.component("EllipsisSvg", Qa), t.component("IconArrowLeft", ja), t.component("IconCheckDefault", Ms), t.component("IconClose", mn), t.component("IconEdit", Wa), t.component("IconEmail", Ga), t.component("IconMove", Va), t.component("IconPhone", _a), t.component("IconSearch", Ps), t.component("IconSelectArrow", Is);
10283
10283
  }
10284
10284
  const lv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10285
10285
  __proto__: null,
@@ -10290,7 +10290,7 @@ const lv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10290
10290
  EllipsisSvg: Qa,
10291
10291
  IconArrowLeft: ja,
10292
10292
  IconCheckDefault: Ms,
10293
- IconClose: fn,
10293
+ IconClose: mn,
10294
10294
  IconDownload: Na,
10295
10295
  IconEdit: Wa,
10296
10296
  IconEmail: Ga,
@@ -10697,7 +10697,7 @@ const tl = /* @__PURE__ */ A(W1, [["render", _1], ["__scopeId", "data-v-c2e31ebb
10697
10697
  };
10698
10698
  Xt(() => {
10699
10699
  document.body.addEventListener("keydown", s);
10700
- }), ss(() => {
10700
+ }), rs(() => {
10701
10701
  document.body.removeEventListener("keydown", s);
10702
10702
  });
10703
10703
  const r = () => {
@@ -10735,7 +10735,7 @@ const tl = /* @__PURE__ */ A(W1, [["render", _1], ["__scopeId", "data-v-c2e31ebb
10735
10735
  ], 64);
10736
10736
  };
10737
10737
  }
10738
- }), mn = /* @__PURE__ */ A(rp, [["__scopeId", "data-v-ece06e7d"]]), op = /* @__PURE__ */ $({
10738
+ }), gn = /* @__PURE__ */ A(rp, [["__scopeId", "data-v-ece06e7d"]]), op = /* @__PURE__ */ $({
10739
10739
  __name: "PNotify",
10740
10740
  setup(t) {
10741
10741
  const e = ue(() => {
@@ -10769,7 +10769,7 @@ const tl = /* @__PURE__ */ A(W1, [["render", _1], ["__scopeId", "data-v-c2e31ebb
10769
10769
  }
10770
10770
  }), al = /* @__PURE__ */ A(op, [["__scopeId", "data-v-3714a37b"]]);
10771
10771
  function ll(t) {
10772
- t.component("CollapseContainer", el), t.component("CollapseItem", tl), t.component("VerticalCollapseContainer", il), t.component("PAdd", nl), t.component("PModal", mn), t.component("PContainer", sl), t.component("PContainerStickyHead", rl), t.component("PDel", ol), t.component("PNotify", al);
10772
+ t.component("CollapseContainer", el), t.component("CollapseItem", tl), t.component("VerticalCollapseContainer", il), t.component("PAdd", nl), t.component("PModal", gn), t.component("PContainer", sl), t.component("PContainerStickyHead", rl), t.component("PDel", ol), t.component("PNotify", al);
10773
10773
  }
10774
10774
  const uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10775
10775
  __proto__: null,
@@ -10779,7 +10779,7 @@ const uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10779
10779
  PContainer: sl,
10780
10780
  PContainerStickyHead: rl,
10781
10781
  PDel: ol,
10782
- PModal: mn,
10782
+ PModal: gn,
10783
10783
  PNotify: al,
10784
10784
  VerticalCollapseContainer: il,
10785
10785
  default: ll
@@ -10824,7 +10824,7 @@ const uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10824
10824
  };
10825
10825
  return Xt(async () => {
10826
10826
  await o();
10827
- }), ss(() => {
10827
+ }), rs(() => {
10828
10828
  Ce.Form.Reset();
10829
10829
  }), (u, l) => (m(), w("div", {
10830
10830
  class: "auth-card",
@@ -10834,7 +10834,7 @@ const uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10834
10834
  string: p(Ce).Form.GetTitle(),
10835
10835
  "font-size": "18px"
10836
10836
  }, null, 8, ["string"]),
10837
- (m(!0), w(V, null, Oe(p(Ce).Form.GetFields(), (c) => (m(), U(hn, {
10837
+ (m(!0), w(V, null, Oe(p(Ce).Form.GetFields(), (c) => (m(), U(fn, {
10838
10838
  id: c.id,
10839
10839
  key: c.id,
10840
10840
  ref_for: !0,
@@ -10847,7 +10847,7 @@ const uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10847
10847
  margin: "10px 0 0 0"
10848
10848
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "type", "placeholder"]))), 128)),
10849
10849
  f("div", ap, [
10850
- (m(!0), w(V, null, Oe(p(n), (c, d) => (m(), U(dn, {
10850
+ (m(!0), w(V, null, Oe(p(n), (c, d) => (m(), U(hn, {
10851
10851
  id: c.id,
10852
10852
  key: c.GetChunk(),
10853
10853
  disabled: p(Ce).Form.IsBlock,
@@ -10882,7 +10882,7 @@ const uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10882
10882
  const e = () => {
10883
10883
  Ce.Form.Reset(), Ce.Modal.Close();
10884
10884
  };
10885
- return (i, n) => (m(), U(mn, {
10885
+ return (i, n) => (m(), U(gn, {
10886
10886
  show: p(Ce).Modal.Visible,
10887
10887
  closable: p(Ce).Modal.Closable,
10888
10888
  width: t.width,
@@ -11188,7 +11188,7 @@ const uv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11188
11188
  onClick: u
11189
11189
  }, {
11190
11190
  default: X(() => [
11191
- R(fn, {
11191
+ R(mn, {
11192
11192
  size: "20px",
11193
11193
  margin: "0 5px"
11194
11194
  })
@@ -11259,22 +11259,22 @@ function bp(t, e) {
11259
11259
  }
11260
11260
  function Lt(t) {
11261
11261
  return function(e) {
11262
- if (Array.isArray(e)) return Tn(e);
11262
+ if (Array.isArray(e)) return zn(e);
11263
11263
  }(t) || function(e) {
11264
11264
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
11265
11265
  }(t) || function(e, i) {
11266
11266
  if (e) {
11267
- if (typeof e == "string") return Tn(e, i);
11267
+ if (typeof e == "string") return zn(e, i);
11268
11268
  var n = Object.prototype.toString.call(e).slice(8, -1);
11269
11269
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
11270
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Tn(e, i);
11270
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return zn(e, i);
11271
11271
  }
11272
11272
  }(t) || function() {
11273
11273
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
11274
11274
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
11275
11275
  }();
11276
11276
  }
11277
- function Tn(t, e) {
11277
+ function zn(t, e) {
11278
11278
  (e == null || e > t.length) && (e = t.length);
11279
11279
  for (var i = 0, n = new Array(e); i < e; i++) n[i] = t[i];
11280
11280
  return n;
@@ -11322,7 +11322,7 @@ var Rr, Sp, Ii, pe = (Rr = function(t) {
11322
11322
  }, "") : "");
11323
11323
  };
11324
11324
  };
11325
- function Jn(t, e, i) {
11325
+ function Qn(t, e, i) {
11326
11326
  var n, s, r, o, u;
11327
11327
  function l() {
11328
11328
  var d = Date.now() - o;
@@ -11340,8 +11340,8 @@ function Jn(t, e, i) {
11340
11340
  n && (u = t.apply(r, s), r = s = null, clearTimeout(n), n = null);
11341
11341
  }, c;
11342
11342
  }
11343
- Jn.debounce = Jn;
11344
- var Qn = Jn, j = function() {
11343
+ Qn.debounce = Qn;
11344
+ var Kn = Qn, j = function() {
11345
11345
  return j = Object.assign || function(t) {
11346
11346
  for (var e, i = 1, n = arguments.length; i < n; i++) for (var s in e = arguments[i]) Object.prototype.hasOwnProperty.call(e, s) && (t[s] = e[s]);
11347
11347
  return t;
@@ -11382,10 +11382,10 @@ function be(t) {
11382
11382
  function Oi(t) {
11383
11383
  return typeof t == "object" && t !== null;
11384
11384
  }
11385
- function Kn(t, e, i) {
11385
+ function es(t, e, i) {
11386
11386
  var n = {};
11387
11387
  return Oi(t) ? (Object.keys(e).forEach(function(s) {
11388
- be(t[s]) ? n[s] = e[s] : Oi(e[s]) ? Oi(t[s]) ? n[s] = Kn(t[s], e[s], i[s]) : n[s] = t[s] ? e[s] : i[s] : e[s] === !0 || e[s] === !1 ? n[s] = !!t[s] : n[s] = t[s];
11388
+ be(t[s]) ? n[s] = e[s] : Oi(e[s]) ? Oi(t[s]) ? n[s] = es(t[s], e[s], i[s]) : n[s] = t[s] ? e[s] : i[s] : e[s] === !0 || e[s] === !1 ? n[s] = !!t[s] : n[s] = t[s];
11389
11389
  }), n) : t ? e : i;
11390
11390
  }
11391
11391
  function ki(t) {
@@ -11475,13 +11475,13 @@ Os.render = function(t, e, i, n, s, r) {
11475
11475
  return r.onMouseLeave && r.onMouseLeave.apply(r, arguments);
11476
11476
  }) }, [P(t.$slots, "default")], 34);
11477
11477
  };
11478
- var zn = Ke("vue-handler-wrapper"), vl = { name: "HandlerWrapper", components: { DraggableElement: Os }, props: { horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: !1 } }, computed: { classes: function() {
11478
+ var On = Ke("vue-handler-wrapper"), vl = { name: "HandlerWrapper", components: { DraggableElement: Os }, props: { horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: !1 } }, computed: { classes: function() {
11479
11479
  var t;
11480
11480
  if (this.horizontalPosition || this.verticalPosition) {
11481
11481
  var e, i = fl(this.horizontalPosition, this.verticalPosition);
11482
- t = zn((Ge(e = {}, i.classname, !0), Ge(e, "disabled", this.disabled), e));
11483
- } else t = zn({ disabled: this.disabled });
11484
- return { root: t, draggable: zn("draggable") };
11482
+ t = On((Ge(e = {}, i.classname, !0), Ge(e, "disabled", this.disabled), e));
11483
+ } else t = On({ disabled: this.disabled });
11484
+ return { root: t, draggable: On("draggable") };
11485
11485
  } }, emits: ["leave", "enter", "drag", "drag-end"] };
11486
11486
  vl.render = function(t, e, i, n, s, r) {
11487
11487
  var o = B("DraggableElement");
@@ -11540,7 +11540,7 @@ function fi(t, e) {
11540
11540
  function rt(t, e) {
11541
11541
  return { left: t.left - e.left, top: t.top - e.top, width: t.width + e.left + e.right, height: t.height + e.top + e.bottom };
11542
11542
  }
11543
- function gn(t) {
11543
+ function pn(t) {
11544
11544
  return { left: -t.left, top: -t.top };
11545
11545
  }
11546
11546
  function Be(t, e) {
@@ -11566,7 +11566,7 @@ function Zt(t, e) {
11566
11566
  var i = { left: 0, top: 0 }, n = fi(t, e);
11567
11567
  return n.left && n.left > 0 ? i.left = n.left : n.right && n.right > 0 && (i.left = -n.right), n.top && n.top > 0 ? i.top = n.top : n.bottom && n.bottom > 0 && (i.top = -n.bottom), i;
11568
11568
  }
11569
- function On(t, e) {
11569
+ function Fn(t, e) {
11570
11570
  var i;
11571
11571
  return e.minimum && t < e.minimum ? i = e.minimum : e.maximum && t > e.maximum && (i = e.maximum), i;
11572
11572
  }
@@ -11582,16 +11582,16 @@ function Ct(t, e) {
11582
11582
  var i = e * Math.PI / 180;
11583
11583
  return { left: t.left * Math.cos(i) - t.top * Math.sin(i), top: t.left * Math.sin(i) + t.top * Math.cos(i) };
11584
11584
  }
11585
- function pn(t, e) {
11585
+ function vn(t, e) {
11586
11586
  var i = fi(Ie(t, e), e);
11587
11587
  return i.left + i.right + i.top + i.bottom ? i.left + i.right > i.top + i.bottom ? Math.min((t.width + i.left + i.right) / t.width, _t(t, e)) : Math.min((t.height + i.top + i.bottom) / t.height, _t(t, e)) : 1;
11588
11588
  }
11589
11589
  function Ie(t, e, i) {
11590
11590
  i === void 0 && (i = !1);
11591
11591
  var n = Zt(t, e);
11592
- return Be(t, i ? gn(n) : n);
11592
+ return Be(t, i ? pn(n) : n);
11593
11593
  }
11594
- function es(t) {
11594
+ function ts(t) {
11595
11595
  return { width: t.right !== void 0 && t.left !== void 0 ? t.right - t.left : 1 / 0, height: t.bottom !== void 0 && t.top !== void 0 ? t.bottom - t.top : 1 / 0 };
11596
11596
  }
11597
11597
  function Ap(t, e) {
@@ -11605,7 +11605,7 @@ function Sl(t, e, i) {
11605
11605
  r !== void 0 && o !== void 0 ? n[s] = s === "left" || s === "top" ? i ? Math.max(r, o) : Math.min(r, o) : i ? Math.min(r, o) : Math.max(r, o) : o !== void 0 ? n[s] = o : r !== void 0 && (n[s] = r);
11606
11606
  }), n;
11607
11607
  }
11608
- function vn(t, e) {
11608
+ function yn(t, e) {
11609
11609
  return Sl(t, e, !0);
11610
11610
  }
11611
11611
  function Tr(t) {
@@ -11615,7 +11615,7 @@ function Tr(t) {
11615
11615
  function zr(t, e) {
11616
11616
  return Math.pow(t.width - e.width, 2) + Math.pow(t.height - e.height, 2);
11617
11617
  }
11618
- function ft(t) {
11618
+ function mt(t) {
11619
11619
  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)) };
11620
11620
  function o(c, d) {
11621
11621
  return d === void 0 && (d = !1), c.reduce(function(h, g) {
@@ -11629,18 +11629,18 @@ function ft(t) {
11629
11629
  var l = o(u) || o(u, !0);
11630
11630
  return l && { width: l.width, height: l.height };
11631
11631
  }
11632
- function ts(t) {
11632
+ function is(t) {
11633
11633
  var e = t.event, i = t.coordinates, n = t.positionRestrictions, s = n === void 0 ? {} : n, r = Be(i, e.directions);
11634
11634
  return Be(r, Zt(r, s));
11635
11635
  }
11636
11636
  function Pp(t) {
11637
11637
  var e = t.coordinates, i = t.transform, n = t.imageSize, s = t.sizeRestrictions, r = t.positionRestrictions, o = t.aspectRatio, u = t.visibleArea, l = function(d, h) {
11638
- return ts({ coordinates: d, positionRestrictions: r, event: new zs({ left: h.left - d.left, top: h.top - d.top }) });
11638
+ return is({ coordinates: d, positionRestrictions: r, event: new zs({ left: h.left - d.left, top: h.top - d.top }) });
11639
11639
  }, c = j({}, e);
11640
11640
  return (Array.isArray(i) ? i : [i]).forEach(function(d) {
11641
11641
  var h = {};
11642
11642
  be((h = typeof d == "function" ? d({ coordinates: c, imageSize: n, visibleArea: u }) : d).width) && be(h.height) || (c = function(g, y) {
11643
- var x = j(j(j({}, g), ft({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
11643
+ var x = j(j(j({}, g), mt({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
11644
11644
  return l(x, { left: g.left, top: g.top });
11645
11645
  }(c, j(j({}, c), h))), be(h.left) && be(h.top) || (c = l(c, j(j({}, c), h)));
11646
11646
  }), c;
@@ -11652,9 +11652,9 @@ function Ep(t) {
11652
11652
  var r = t.stencilSize, o = t.sizeRestrictions, u = t.positionRestrictions;
11653
11653
  t.stencilReference;
11654
11654
  var l, c, d, h = j({}, n), g = j({}, s), y = j({}, r);
11655
- l = oe(y), c = oe(h), d === void 0 && (d = 1e-3), (l === 0 || c === 0 ? Math.abs(c - l) < d : Math.abs(c / l) < 1 + d && Math.abs(c / l) > 1 - d) || (h = j(j({}, h), ft({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: oe(y), maximum: oe(y) } })));
11656
- var x = pn(g = Ve(g, h.width * i.width / (g.width * y.width)), e({ visibleArea: g, type: "resize" }));
11657
- return x !== 1 && (g = Ve(g, x), h = Ve(h, x)), g = Ie(g = Be(g, Vt(Me(h), Me(g))), e({ visibleArea: g, type: "move" })), { coordinates: h = Ie(h, vn(lt(g), u)), visibleArea: g };
11655
+ l = oe(y), c = oe(h), d === void 0 && (d = 1e-3), (l === 0 || c === 0 ? Math.abs(c - l) < d : Math.abs(c / l) < 1 + d && Math.abs(c / l) > 1 - d) || (h = j(j({}, h), mt({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: oe(y), maximum: oe(y) } })));
11656
+ var x = vn(g = Ve(g, h.width * i.width / (g.width * y.width)), e({ visibleArea: g, type: "resize" }));
11657
+ return x !== 1 && (g = Ve(g, x), h = Ve(h, x)), g = Ie(g = Be(g, Vt(Me(h), Me(g))), e({ visibleArea: g, type: "move" })), { coordinates: h = Ie(h, yn(lt(g), u)), visibleArea: g };
11658
11658
  }
11659
11659
  function Tp(t) {
11660
11660
  var e = t.event, i = t.getAreaRestrictions, n = t.boundaries, s = t.coordinates, r = t.visibleArea;
@@ -11665,8 +11665,8 @@ function Tp(t) {
11665
11665
  if (s && r && e.type !== "manipulateImage") {
11666
11666
  var c = { width: 0, height: 0 };
11667
11667
  l.width, n.width, oe(n) > oe(u) ? (c.height = 0.8 * n.height, c.width = c.height * oe(u)) : (c.width = 0.8 * n.width, c.height = c.width * oe(u));
11668
- var d = pn(l = Ve(l, u.width * n.width / (l.width * c.width)), i({ visibleArea: l, type: "resize" }));
11669
- l = Ve(l, d), d !== 1 && (c.height /= d, c.width /= d), l = Ie(l = Be(l, Vt(Me(u), Me(l))), i({ visibleArea: l, type: "move" })), u = Ie(u, vn(lt(l), o));
11668
+ var d = vn(l = Ve(l, u.width * n.width / (l.width * c.width)), i({ visibleArea: l, type: "resize" }));
11669
+ l = Ve(l, d), d !== 1 && (c.height /= d, c.width /= d), l = Ie(l = Be(l, Vt(Me(u), Me(l))), i({ visibleArea: l, type: "move" })), u = Ie(u, yn(lt(l), o));
11670
11670
  }
11671
11671
  return { coordinates: u, visibleArea: l };
11672
11672
  }
@@ -11674,7 +11674,7 @@ function zp(t) {
11674
11674
  var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.getAreaRestrictions, r = j({}, n), o = j({}, i);
11675
11675
  if (e.type === "setCoordinates") {
11676
11676
  var u = Math.max(0, o.width - r.width), l = Math.max(0, o.height - r.height);
11677
- u > l ? r = Ve(r, Math.min(o.width / r.width, _t(r, s({ visibleArea: r, type: "resize" })))) : l > u && (r = Ve(r, Math.min(o.height / r.height, _t(r, s({ visibleArea: r, type: "resize" }))))), r = Ie(r = Be(r, gn(Zt(o, lt(r)))), s({ visibleArea: r, type: "move" }));
11677
+ u > l ? r = Ve(r, Math.min(o.width / r.width, _t(r, s({ visibleArea: r, type: "resize" })))) : l > u && (r = Ve(r, Math.min(o.height / r.height, _t(r, s({ visibleArea: r, type: "resize" }))))), r = Ie(r = Be(r, pn(Zt(o, lt(r)))), s({ visibleArea: r, type: "move" }));
11678
11678
  }
11679
11679
  return { visibleArea: r, coordinates: o };
11680
11680
  }
@@ -11684,16 +11684,16 @@ function Op(t) {
11684
11684
  }
11685
11685
  function Fp(t) {
11686
11686
  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, oe(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 };
11687
- return ft(j(j({}, u), { aspectRatio: n, sizeRestrictions: s }));
11687
+ return mt(j(j({}, u), { aspectRatio: n, sizeRestrictions: s }));
11688
11688
  }
11689
11689
  function Dp(t) {
11690
11690
  var e, i, n = t.imageSize, s = t.visibleArea, r = t.boundaries, o = t.aspectRatio, u = t.sizeRestrictions, l = t.stencilSize, c = s || n;
11691
- return oe(c) > oe(r) ? i = (e = l.height * c.height / r.height) * oe(l) : e = (i = l.width * c.width / r.width) / oe(l), ft({ width: i, height: e, aspectRatio: o, sizeRestrictions: u });
11691
+ return oe(c) > oe(r) ? i = (e = l.height * c.height / r.height) * oe(l) : e = (i = l.width * c.width / r.width) / oe(l), mt({ width: i, height: e, aspectRatio: o, sizeRestrictions: u });
11692
11692
  }
11693
11693
  function Lp(t) {
11694
11694
  var e = t.getAreaRestrictions, i = t.coordinates, n = t.imageSize, s = oe(t.boundaries);
11695
11695
  if (i) {
11696
- var r = { height: Math.max(i.height, n.height), width: Math.max(i.width, n.width) }, o = wl({ width: oe(r) > s ? r.width : r.height * s, height: oe(r) > s ? r.width / s : r.height }, es(e())), u = { left: i.left + i.width / 2 - o.width / 2, top: i.top + i.height / 2 - o.height / 2, width: o.width, height: o.height }, l = fi(i, lt(j({ left: 0, top: 0 }, n))), c = {};
11696
+ var r = { height: Math.max(i.height, n.height), width: Math.max(i.width, n.width) }, o = wl({ width: oe(r) > s ? r.width : r.height * s, height: oe(r) > s ? r.width / s : r.height }, ts(e())), u = { left: i.left + i.width / 2 - o.width / 2, top: i.top + i.height / 2 - o.height / 2, width: o.width, height: o.height }, l = fi(i, lt(j({ left: 0, top: 0 }, n))), c = {};
11697
11697
  return !l.left && !l.right && u.width <= n.width && (c.left = 0, c.right = n.width), !l.top && !l.bottom && u.height <= n.height && (c.top = 0, c.bottom = n.height), Ie(u, c);
11698
11698
  }
11699
11699
  var d = oe(n);
@@ -11708,11 +11708,11 @@ function Bp(t) {
11708
11708
  var C = { 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, _t(h, o)) }, area: { maximum: _t(d, r({ visibleArea: d, type: "resize" })) } };
11709
11709
  l.factor && x && (l.factor < 1 ? (y = Math.max(l.factor, C.stencil.minimum)) > 1 && (y = 1) : l.factor > 1 && (y = Math.min(l.factor, Math.min(C.area.maximum, C.stencil.maximum))) < 1 && (y = 1)), y && (d = Ve(d, y, l.center));
11710
11710
  var M = i.left - n.left, D = n.width + n.left - (i.width + i.left), Y = i.top - n.top, W = n.height + n.top - (i.height + i.top);
11711
- return d = Ie(d = Be(d, Zt(d, { left: o.left !== void 0 ? o.left - M * y : void 0, top: o.top !== void 0 ? o.top - Y * y : void 0, bottom: o.bottom !== void 0 ? o.bottom + W * y : void 0, right: o.right !== void 0 ? o.right + D * y : void 0 })), r({ visibleArea: d, type: "move" })), h.width = h.width * y, h.height = h.height * y, h.left = d.left + M * y, h.top = d.top + Y * y, h = Ie(h, vn(lt(d), o)), l.factor && x && u && (l.factor > 1 ? g = Math.min(C.area.maximum, l.factor) / y : l.factor < 1 && (g = Math.max(h.height / d.height, h.width / d.width, l.factor / y)), g !== 1 && (d = Be(d = Ie(d = Ve(d, g, l.factor > 1 ? l.center : Me(h)), r({ visibleArea: d, type: "move" })), gn(Zt(h, lt(d)))))), { coordinates: h, visibleArea: d };
11711
+ return d = Ie(d = Be(d, Zt(d, { left: o.left !== void 0 ? o.left - M * y : void 0, top: o.top !== void 0 ? o.top - Y * y : void 0, bottom: o.bottom !== void 0 ? o.bottom + W * y : void 0, right: o.right !== void 0 ? o.right + D * y : void 0 })), r({ visibleArea: d, type: "move" })), h.width = h.width * y, h.height = h.height * y, h.left = d.left + M * y, h.top = d.top + Y * y, h = Ie(h, yn(lt(d), o)), l.factor && x && u && (l.factor > 1 ? g = Math.min(C.area.maximum, l.factor) / y : l.factor < 1 && (g = Math.max(h.height / d.height, h.width / d.width, l.factor / y)), g !== 1 && (d = Be(d = Ie(d = Ve(d, g, l.factor > 1 ? l.center : Me(h)), r({ visibleArea: d, type: "move" })), pn(Zt(h, lt(d)))))), { coordinates: h, visibleArea: d };
11712
11712
  }
11713
11713
  function Hp(t) {
11714
11714
  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, c = t.angle, d = j({}, n), h = j({}, s), g = Ct(Me(j({ left: 0, top: 0 }, l)), c);
11715
- return (d = j(j({}, ft({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), Ct(Me(d), c))).left -= g.left - u.width / 2 + d.width / 2, d.top -= g.top - u.height / 2 + d.height / 2, h = Ve(h, pn(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = Ie(d, o), visibleArea: h = Ie(h = Be(h, Vt(Me(d), Me(n))), i({ visibleArea: h, type: "move" })) };
11715
+ return (d = j(j({}, mt({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), Ct(Me(d), c))).left -= g.left - u.width / 2 + d.width / 2, d.top -= g.top - u.height / 2 + d.height / 2, h = Ve(h, vn(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = Ie(d, o), visibleArea: h = Ie(h = Be(h, Vt(Me(d), Me(n))), i({ visibleArea: h, type: "move" })) };
11716
11716
  }
11717
11717
  function qp(t) {
11718
11718
  var e = t.flip, i = t.previousFlip, n = t.rotate, s = t.getAreaRestrictions, r = t.coordinates, o = t.visibleArea, u = t.imageSize, l = j({}, r), c = j({}, o), d = i.horizontal !== e.horizontal, h = i.vertical !== e.vertical;
@@ -11795,7 +11795,7 @@ Ds.render = function(t, e, i, n, s, r) {
11795
11795
  return [R("div", { class: r.classes.root }, null, 2)];
11796
11796
  }), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
11797
11797
  };
11798
- var Fn = Ke("vue-bounding-box"), Gp = ["east", "west", null], Vp = ["south", "north", null], Cl = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
11798
+ var Dn = Ke("vue-bounding-box"), Gp = ["east", "west", null], Vp = ["south", "north", null], Cl = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
11799
11799
  return { eastNorth: !0, north: !0, westNorth: !0, west: !0, westSouth: !0, south: !0, eastSouth: !0, east: !0 };
11800
11800
  } }, handlersComponent: { type: [Object, String], default: function() {
11801
11801
  return Fs;
@@ -11826,7 +11826,7 @@ var Fn = Ke("vue-bounding-box"), Gp = ["east", "west", null], Vp = ["south", "no
11826
11826
  return this.width && this.height && (t.width = "".concat(this.width, "px"), t.height = "".concat(this.height, "px"), this.transitions && this.transitions.enabled && (t.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction))), t;
11827
11827
  }, classes: function() {
11828
11828
  var t = this.handlersClasses, e = this.handlersWrappersClasses, i = this.linesClasses, n = this.linesWrappersClasses;
11829
- return { root: Fn(), handlers: t, handlersWrappers: e, lines: i, linesWrappers: n };
11829
+ return { root: Dn(), handlers: t, handlersWrappers: e, lines: i, linesWrappers: n };
11830
11830
  }, lineNodes: function() {
11831
11831
  var t = this, e = [];
11832
11832
  return this.points.forEach(function(i) {
@@ -11839,8 +11839,8 @@ var Fn = Ke("vue-bounding-box"), Gp = ["east", "west", null], Vp = ["south", "no
11839
11839
  var r = { name: s.name, component: t.handlersComponent, class: pe(t.classes.handlers.default, t.classes.handlers[s.name]), wrapperClass: pe(t.classes.handlersWrappers.default, t.classes.handlersWrappers[s.name]), hoverClass: t.classes.handlers.hover, verticalDirection: s.verticalDirection, horizontalDirection: s.horizontalDirection, disabled: !t.resizable };
11840
11840
  if (i && n) {
11841
11841
  var o = s.horizontalDirection, u = s.verticalDirection, l = o === "east" ? i : o === "west" ? 0 : i / 2, c = u === "south" ? n : u === "north" ? 0 : n / 2;
11842
- r.wrapperClass = Fn("handler"), r.wrapperStyle = { transform: "translate(".concat(l, "px, ").concat(c, "px)") }, t.transitions && t.transitions.enabled && (r.wrapperStyle.transition = "".concat(t.transitions.time, "ms ").concat(t.transitions.timingFunction));
11843
- } else r.wrapperClass = Fn("handler", Ge({}, s.classname, !0));
11842
+ r.wrapperClass = Dn("handler"), r.wrapperStyle = { transform: "translate(".concat(l, "px, ").concat(c, "px)") }, t.transitions && t.transitions.enabled && (r.wrapperStyle.transition = "".concat(t.transitions.time, "ms ").concat(t.transitions.timingFunction));
11843
+ } else r.wrapperClass = Dn("handler", Ge({}, s.classname, !0));
11844
11844
  e.push(r);
11845
11845
  }
11846
11846
  }), e;
@@ -11916,7 +11916,7 @@ xl.render = function(t, e, i, n, s, r) {
11916
11916
  return r.onMouseDown && r.onMouseDown.apply(r, arguments);
11917
11917
  }) }, [P(t.$slots, "default")], 544);
11918
11918
  };
11919
- function Dn(t) {
11919
+ function Ln(t) {
11920
11920
  var e, i;
11921
11921
  return { rotate: t.rotate || 0, flip: { horizontal: ((e = t == null ? void 0 : t.flip) === null || e === void 0 ? void 0 : e.horizontal) || !1, vertical: ((i = t == null ? void 0 : t.flip) === null || i === void 0 ? void 0 : i.vertical) || !1 } };
11922
11922
  }
@@ -12002,7 +12002,7 @@ var Il = { props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { typ
12002
12002
  }, beforeUnmount: function() {
12003
12003
  window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
12004
12004
  }, created: function() {
12005
- this.transforming = !1, this.debouncedProcessEnd = Qn(this.processEnd), this.touches = [];
12005
+ this.transforming = !1, this.debouncedProcessEnd = Kn(this.processEnd), this.touches = [];
12006
12006
  }, methods: { processMove: function(t, e) {
12007
12007
  if (this.touches.length) {
12008
12008
  if (this.touches.length === 1 && e.length === 1) this.$emit("move", new ai({ left: this.touches[0].clientX - e[0].clientX, top: this.touches[0].clientY - e[0].clientY }));
@@ -12062,8 +12062,8 @@ Il.render = function(t, e, i, n, s, r) {
12062
12062
  return r.onWheel && r.onWheel.apply(r, arguments);
12063
12063
  }) }, [P(t.$slots, "default")], 544);
12064
12064
  };
12065
- var is = { components: { TransformableImage: Il }, props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { type: Boolean, required: !0 }, touchResize: { type: Boolean, required: !0 }, wheelResize: { type: [Boolean, Object], required: !0 } }, emits: ["resize", "move"] };
12066
- is.render = function(t, e, i, n, s, r) {
12065
+ var ns = { components: { TransformableImage: Il }, props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { type: Boolean, required: !0 }, touchResize: { type: Boolean, required: !0 }, wheelResize: { type: [Boolean, Object], required: !0 } }, emits: ["resize", "move"] };
12066
+ ns.render = function(t, e, i, n, s, r) {
12067
12067
  var o = B("transformable-image");
12068
12068
  return m(), U(o, { "touch-move": i.touchMove, "touch-resize": i.touchResize, "mouse-move": i.mouseMove, "wheel-resize": i.wheelResize, onMove: e[1] || (e[1] = function(u) {
12069
12069
  return t.$emit("move", u);
@@ -12117,14 +12117,14 @@ var Ai = Ke("vue-preview"), kl = { props: { coordinates: { type: Object }, trans
12117
12117
  t && t.complete && this.refreshImage(), this.refresh();
12118
12118
  } } };
12119
12119
  kl.render = function(t, e, i, n, s, r) {
12120
- return m(), U("div", { ref: "root", class: r.classes.root, style: r.style }, [R("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [Je(R("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[ns, i.image && i.image.src]])], 6)], 6);
12120
+ return m(), U("div", { ref: "root", class: r.classes.root, style: r.style }, [R("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [Je(R("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[ss, i.image && i.image.src]])], 6)], 6);
12121
12121
  };
12122
12122
  var Rl = { components: { Preview: kl }, inheritAttrs: !1 };
12123
12123
  Rl.render = function(t, e, i, n, s, r) {
12124
12124
  var o = B("preview");
12125
12125
  return m(), U(o, kt(t.$attrs, { fill: !0 }), null, 16);
12126
12126
  };
12127
- var Ln = Ke("vue-rectangle-stencil"), $l = { name: "RectangleStencil", components: { StencilPreview: Rl, BoundingBox: Cl, DraggableArea: xl }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
12127
+ var Bn = Ke("vue-rectangle-stencil"), $l = { name: "RectangleStencil", components: { StencilPreview: Rl, BoundingBox: Cl, DraggableArea: xl }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
12128
12128
  return Fs;
12129
12129
  } }, lines: { type: Object }, linesComponent: { type: [Object, String], default: function() {
12130
12130
  return Ds;
@@ -12139,7 +12139,7 @@ var Ln = Ke("vue-rectangle-stencil"), $l = { name: "RectangleStencil", component
12139
12139
  } } }, data: function() {
12140
12140
  return { moving: !1, resizing: !1 };
12141
12141
  }, computed: { classes: function() {
12142
- return { stencil: pe(Ln({ movable: this.movable, moving: this.moving, resizing: this.resizing }), this.moving && this.movingClass, this.resizing && this.resizingClass), preview: pe(Ln("preview"), this.previewClass), boundingBox: pe(Ln("bounding-box"), this.boundingBoxClass) };
12142
+ return { stencil: pe(Bn({ movable: this.movable, moving: this.moving, resizing: this.resizing }), this.moving && this.movingClass, this.resizing && this.resizingClass), preview: pe(Bn("preview"), this.previewClass), boundingBox: pe(Bn("bounding-box"), this.boundingBoxClass) };
12143
12143
  }, style: function() {
12144
12144
  var t = this.stencilCoordinates, e = t.height, i = t.width, n = t.left, s = t.top, r = { width: "".concat(i, "px"), height: "".concat(e, "px"), transform: "translate(".concat(n, "px, ").concat(s, "px)") };
12145
12145
  return this.transitions && this.transitions.enabled && (r.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction)), r;
@@ -12162,10 +12162,10 @@ $l.render = function(t, e, i, n, s, r) {
12162
12162
  }), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
12163
12163
  }), _: 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);
12164
12164
  };
12165
- var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper", components: { BackgroundWrapper: is }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
12165
+ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper", components: { BackgroundWrapper: ns }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
12166
12166
  return $l;
12167
12167
  } }, backgroundWrapperComponent: { type: [Object, String], default: function() {
12168
- return is;
12168
+ return ns;
12169
12169
  } }, stencilProps: { type: Object, default: function() {
12170
12170
  return {};
12171
12171
  } }, autoZoom: { type: Boolean, default: !1 }, imageClass: { type: String }, boundariesClass: { type: String }, backgroundClass: { type: String }, foregroundClass: { type: String }, minWidth: { type: [Number, String] }, minHeight: { type: [Number, String] }, maxWidth: { type: [Number, String] }, maxHeight: { type: [Number, String] }, debounce: { type: [Boolean, Number], default: 500 }, transitions: { type: Boolean, default: !0 }, checkOrientation: { type: Boolean, default: !0 }, canvas: { type: [Object, Boolean], default: !0 }, crossOrigin: { type: [Boolean, String], default: void 0 }, transitionTime: { type: Number, default: 300 }, imageRestriction: { type: String, default: "fit-area", validator: function(t) {
@@ -12177,7 +12177,7 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12177
12177
  r.widthFrozen && (l.left = 0, l.right = 0), r.heightFrozen && (l.top = 0, l.bottom = 0), ot.forEach(function(H) {
12178
12178
  c[H] || (l[H] = 0);
12179
12179
  });
12180
- var d = rt(o, l = Or({ coordinates: o, directions: l, sizeRestrictions: r, positionRestrictions: s })).width, h = rt(o, l).height, g = u.preserveRatio ? oe(o) : On(d / h, n);
12180
+ var d = rt(o, l = Or({ coordinates: o, directions: l, sizeRestrictions: r, positionRestrictions: s })).width, h = rt(o, l).height, g = u.preserveRatio ? oe(o) : Fn(d / h, n);
12181
12181
  if (g) {
12182
12182
  var y = u.respectDirection;
12183
12183
  if (y || (y = o.width >= o.height || g === 1 ? "width" : "height"), y === "width") {
@@ -12195,19 +12195,19 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12195
12195
  }
12196
12196
  l = Or({ directions: l, coordinates: o, sizeRestrictions: r, positionRestrictions: s, preserveRatio: !0, compensate: u.compensate });
12197
12197
  }
12198
- return d = rt(o, l).width, h = rt(o, l).height, (g = u.preserveRatio ? oe(o) : On(d / h, n)) && Math.abs(g - d / h) > 1e-3 && ot.forEach(function(H) {
12198
+ return d = rt(o, l).width, h = rt(o, l).height, (g = u.preserveRatio ? oe(o) : Fn(d / h, n)) && Math.abs(g - d / h) > 1e-3 && ot.forEach(function(H) {
12199
12199
  c[H] || (l[H] = 0);
12200
- }), ts({ event: new zs({ left: -l.left, top: -l.top }), coordinates: { width: i.width + l.right + l.left, height: i.height + l.top + l.bottom, left: i.left, top: i.top }, positionRestrictions: s });
12201
- } }, moveAlgorithm: { type: Function, default: ts }, initStretcher: { type: Function, default: function(t) {
12200
+ }), is({ event: new zs({ left: -l.left, top: -l.top }), coordinates: { width: i.width + l.right + l.left, height: i.height + l.top + l.bottom, left: i.left, top: i.top }, positionRestrictions: s });
12201
+ } }, moveAlgorithm: { type: Function, default: is }, initStretcher: { type: Function, default: function(t) {
12202
12202
  var e = t.stretcher, i = t.imageSize, n = oe(i);
12203
12203
  e.style.width = i.width + "px", e.style.height = e.clientWidth / n + "px", e.style.width = e.clientWidth + "px";
12204
12204
  } }, fitCoordinates: { type: Function, default: function(t) {
12205
- var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = j(j({}, i), ft({ 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) } }));
12206
- return o = Ie(o = Be(o, Vt(Me(i), Me(o))), vn(lt(e), r));
12205
+ var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = j(j({}, i), mt({ 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) } }));
12206
+ return o = Ie(o = Be(o, Vt(Me(i), Me(o))), yn(lt(e), r));
12207
12207
  } }, fitVisibleArea: { type: Function, default: function(t) {
12208
12208
  var e = t.visibleArea, i = t.boundaries, n = t.getAreaRestrictions, s = t.coordinates, r = j({}, e);
12209
12209
  r.height = r.width / oe(i), r.top += (e.height - r.height) / 2, (s.height - r.height > 0 || s.width - r.width > 0) && (r = Ve(r, Math.max(s.height / r.height, s.width / r.width)));
12210
- var o = gn(Zt(s, lt(r = Ve(r, pn(r, n({ visibleArea: r, type: "resize" }))))));
12210
+ var o = pn(Zt(s, lt(r = Ve(r, vn(r, n({ visibleArea: r, type: "resize" }))))));
12211
12211
  return r.width < s.width && (o.left = 0), r.height < s.height && (o.top = 0), r = Ie(r = Be(r, o), n({ visibleArea: r, type: "move" }));
12212
12212
  } }, areaRestrictionsAlgorithm: { type: Function, default: function(t) {
12213
12213
  var e = t.visibleArea, i = t.boundaries, n = t.imageSize, s = t.imageRestriction, r = t.type, o = {};
@@ -12231,8 +12231,8 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12231
12231
  }, initialized: function() {
12232
12232
  return !!(this.visibleArea && this.imageLoaded);
12233
12233
  }, settings: function() {
12234
- var t = Kn(this.resizeImage, { touch: !0, wheel: { ratio: 0.1 }, adjustStencil: !0 }, { touch: !1, wheel: !1, adjustStencil: !1 });
12235
- return { moveImage: Kn(this.moveImage, { touch: !0, mouse: !0 }, { touch: !1, mouse: !1 }), resizeImage: t };
12234
+ var t = es(this.resizeImage, { touch: !0, wheel: { ratio: 0.1 }, adjustStencil: !0 }, { touch: !1, wheel: !1, adjustStencil: !1 });
12235
+ return { moveImage: es(this.moveImage, { touch: !0, mouse: !0 }, { touch: !1, mouse: !1 }), resizeImage: t };
12236
12236
  }, coefficient: function() {
12237
12237
  return this.visibleArea ? this.visibleArea.width / this.boundaries.width : 0;
12238
12238
  }, areaRestrictions: function() {
@@ -12245,10 +12245,10 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12245
12245
  if (t = function(n) {
12246
12246
  var s = n.areaRestrictions, r = n.sizeRestrictions, o = n.boundaries, u = n.positionRestrictions, l = j(j({}, r), { minWidth: r.minWidth !== void 0 ? r.minWidth : 0, minHeight: r.minHeight !== void 0 ? r.minHeight : 0, maxWidth: r.maxWidth !== void 0 ? r.maxWidth : 1 / 0, maxHeight: r.maxHeight !== void 0 ? r.maxHeight : 1 / 0 });
12247
12247
  u.left !== void 0 && u.right !== void 0 && (l.maxWidth = Math.min(l.maxWidth, u.right - u.left)), u.bottom !== void 0 && u.top !== void 0 && (l.maxHeight = Math.min(l.maxHeight, u.bottom - u.top));
12248
- var c = es(s), d = wl(o, c);
12248
+ var c = ts(s), d = wl(o, c);
12249
12249
  return c.width < 1 / 0 && (!l.maxWidth || l.maxWidth > d.width) && (l.maxWidth = Math.min(l.maxWidth, d.width)), c.height < 1 / 0 && (!l.maxHeight || l.maxHeight > d.height) && (l.maxHeight = Math.min(l.maxHeight, d.height)), l.minWidth > l.maxWidth && (l.minWidth = l.maxWidth, l.widthFrozen = !0), l.minHeight > l.maxHeight && (l.minHeight = l.maxHeight, l.heightFrozen = !0), l;
12250
12250
  }({ sizeRestrictions: t, areaRestrictions: this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }), imageSize: this.imageSize, boundaries: this.boundaries, positionRestrictions: this.positionRestrictions, imageRestriction: this.imageRestriction, visibleArea: this.visibleArea, stencilSize: this.getStencilSize() }), this.visibleArea && this.stencilSize) {
12251
- var e = this.getStencilSize(), i = es(this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }));
12251
+ var e = this.getStencilSize(), i = ts(this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }));
12252
12252
  t.maxWidth = Math.min(t.maxWidth, i.width * e.width / this.boundaries.width), t.maxHeight = Math.min(t.maxHeight, i.height * e.height / this.boundaries.height), t.maxWidth < t.minWidth && (t.minWidth = t.maxWidth), t.maxHeight < t.minHeight && (t.minHeight = t.maxHeight);
12253
12253
  }
12254
12254
  return t;
@@ -12292,7 +12292,7 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12292
12292
  return t[i] !== e[i];
12293
12293
  }) && this.$nextTick(this.onPropsChange);
12294
12294
  } }, created: function() {
12295
- this.debouncedUpdate = Qn(this.update, this.debounce), this.debouncedDisableTransitions = Qn(this.disableTransitions, this.transitionsOptions.time), this.awaiting = !1;
12295
+ this.debouncedUpdate = Kn(this.update, this.debounce), this.debouncedDisableTransitions = Kn(this.disableTransitions, this.transitionsOptions.time), this.awaiting = !1;
12296
12296
  }, mounted: function() {
12297
12297
  this.$refs.image.addEventListener("load", this.onSuccessLoadImage), this.$refs.image.addEventListener("error", this.onFailLoadImage), this.onChangeImage(), window.addEventListener("resize", this.refresh), window.addEventListener("orientationchange", this.refresh);
12298
12298
  }, unmounted: function() {
@@ -12377,7 +12377,7 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12377
12377
  return c = l, !Number.isNaN(parseFloat(c)) && isFinite(c);
12378
12378
  var c;
12379
12379
  });
12380
- }, r = ft({ 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 } });
12380
+ }, r = mt({ 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 } });
12381
12381
  if (n.maxArea && r.width * r.height > n.maxArea) {
12382
12382
  var o = Math.sqrt(n.maxArea / (r.width * r.height));
12383
12383
  r = { width: Math.round(o * r.width), height: Math.round(o * r.height) };
@@ -12494,8 +12494,8 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12494
12494
  o.push(String.fromCharCode.apply(null, Array.from ? Array.from(l) : l.slice())), u = u.subarray(8192);
12495
12495
  }
12496
12496
  return "data:image/jpeg;base64," + btoa(o.join(""));
12497
- }(n) : this.imageAttributes.src = i, qt(this.defaultTransforms) ? this.appliedImageTransforms = Dn(this.defaultTransforms()) : Oi(this.defaultTransforms) ? this.appliedImageTransforms = Dn(this.defaultTransforms) : this.appliedImageTransforms = function(r) {
12498
- var o = Dn({});
12497
+ }(n) : this.imageAttributes.src = i, qt(this.defaultTransforms) ? this.appliedImageTransforms = Ln(this.defaultTransforms()) : Oi(this.defaultTransforms) ? this.appliedImageTransforms = Ln(this.defaultTransforms) : this.appliedImageTransforms = function(r) {
12498
+ var o = Ln({});
12499
12499
  if (r) switch (r) {
12500
12500
  case 2:
12501
12501
  o.flip.horizontal = !0;
@@ -12565,7 +12565,7 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12565
12565
  }
12566
12566
  return { minimum: e, maximum: i };
12567
12567
  }, getStencilSize: function() {
12568
- 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, On(oe(s = qt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = ft({ 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 = ft({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: oe(s), maximum: oe(s) } })), s;
12568
+ 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, Fn(oe(s = qt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = mt({ 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 = mt({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: oe(s), maximum: oe(s) } })), s;
12569
12569
  var t, e, i, n, s;
12570
12570
  }, getPublicProperties: function() {
12571
12571
  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 };
@@ -12591,7 +12591,7 @@ var Yp = ["transitions"], ct = Ke("vue-advanced-cropper"), Al = { name: "Cropper
12591
12591
  Al.render = function(t, e, i, n, s, r) {
12592
12592
  return m(), U("div", { ref: "cropper", class: r.classes.cropper }, [R("div", { ref: "stretcher", class: r.classes.stretcher }, null, 2), R("div", { class: r.classes.boundaries, style: r.boundariesStyle }, [(m(), U(li(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: X(function() {
12593
12593
  return [R("div", { class: r.classes.background, style: r.boundariesStyle }, null, 6), R("div", { class: r.classes.imageWrapper }, [R("img", { ref: "image", crossorigin: s.imageAttributes.crossOrigin, src: s.imageAttributes.src, class: r.classes.image, style: r.imageStyle, onMousedown: e[1] || (e[1] = De(function() {
12594
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), R("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), Je((m(), U(li(i.stencilComponent), kt({ 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"])), [[ns, s.imageLoaded]]), i.canvas ? (m(), U("canvas", Jp, null, 512)) : J("", !0), i.canvas ? (m(), U("canvas", Qp, null, 512)) : J("", !0)];
12594
+ }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), R("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), Je((m(), U(li(i.stencilComponent), kt({ 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"])), [[ss, s.imageLoaded]]), i.canvas ? (m(), U("canvas", Jp, null, 512)) : J("", !0), i.canvas ? (m(), U("canvas", Qp, null, 512)) : J("", !0)];
12595
12595
  }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
12596
12596
  };
12597
12597
  const Kp = {
@@ -12729,7 +12729,7 @@ const e0 = { class: "background-container" }, t0 = { class: "dialog-footer" }, i
12729
12729
  onChange: d[1] || (d[1] = (h) => p(r).setCoordinates(h.coordinates))
12730
12730
  }, null, 8, ["src", "stencil-props"]),
12731
12731
  f("div", t0, [
12732
- R(dn, {
12732
+ R(hn, {
12733
12733
  skin: "text",
12734
12734
  type: "primary",
12735
12735
  text: "Сохранить",
@@ -12971,7 +12971,7 @@ const e0 = { class: "background-container" }, t0 = { class: "dialog-footer" }, i
12971
12971
  type: "file",
12972
12972
  onChange: Y
12973
12973
  }, null, 40, m0),
12974
- R(mn, {
12974
+ R(gn, {
12975
12975
  show: p(c),
12976
12976
  title: "Настройка изображения",
12977
12977
  "max-height": "90vh",
@@ -13013,16 +13013,16 @@ export {
13013
13013
  er as AuthButtonLogin,
13014
13014
  uu as AuthButtonRefresh,
13015
13015
  tr as AuthButtonRegister,
13016
- Cn as AuthButtonRestore,
13016
+ xn as AuthButtonRestore,
13017
13017
  Ae as AuthChunks,
13018
13018
  Mt as AuthFieldsIds,
13019
13019
  pu as AuthFormSettings,
13020
13020
  mi as AuthMethods,
13021
- xn as EmailField,
13021
+ Mn as EmailField,
13022
13022
  nv as LoginField,
13023
13023
  N as PF,
13024
13024
  iv as PFM,
13025
- Mn as PasswordField,
13025
+ In as PasswordField,
13026
13026
  gu as PasswordRepeatField,
13027
13027
  ov as atoms,
13028
13028
  av as components,