sprof 0.0.63 → 0.0.64

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 Zo = Object.defineProperty;
2
2
  var Jo = (t, e, i) => e in t ? Zo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var u = (t, e, i) => Jo(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { defineComponent as $, ref as T, onBeforeMount as at, openBlock as m, createElementBlock as S, Fragment as j, renderSlot as F, unref as g, createElementVNode as f, normalizeStyle as R, createCommentVNode as ee, resolveComponent as E, createVNode as A, withCtx as W, withModifiers as Re, withDirectives as qe, vModelText as Tn, computed as me, mergeProps as Dt, createTextVNode as Ai, toDisplayString as ye, mergeModels as Ee, useModel as ft, vModelCheckbox as Xo, vModelDynamic as Yo, isRef as je, withKeys as Qo, watch as Qe, createBlock as q, vModelRadio as Ko, normalizeClass as se, vShow as Fn, vModelSelect as ea, useCssVars as Ys, onMounted as Kt, renderList as Ie, resolveDirective as Qs, createStaticVNode as Ks, resolveDynamicComponent as _t, nextTick as ta, onUpdated as ia, onBeforeUnmount as On, onUnmounted as er, Transition as tr, reactive as rt, getCurrentInstance as na, inject as sa, onDeactivated as ra, onActivated as oa } from "vue";
4
+ import { defineComponent as $, ref as T, onBeforeMount as at, openBlock as m, createElementBlock as S, Fragment as j, renderSlot as F, unref as g, createElementVNode as f, normalizeStyle as R, createCommentVNode as ee, resolveComponent as E, createVNode as A, withCtx as W, withModifiers as Re, withDirectives as qe, vModelText as Fn, computed as me, mergeProps as Dt, createTextVNode as Ai, toDisplayString as ye, mergeModels as Ee, useModel as ft, vModelCheckbox as Xo, vModelDynamic as Yo, isRef as Ge, withKeys as Qo, watch as Ke, createBlock as q, vModelRadio as Ko, normalizeClass as se, vShow as On, vModelSelect as ea, useCssVars as Ys, onMounted as Kt, renderList as Ie, resolveDirective as Qs, createStaticVNode as Ks, resolveDynamicComponent as _t, nextTick as ta, onUpdated as ia, onBeforeUnmount as zn, onUnmounted as er, Transition as tr, reactive as rt, getCurrentInstance as na, inject as sa, onDeactivated as ra, onActivated as oa } from "vue";
5
5
  const aa = {
6
6
  key: 0,
7
7
  class: "mainblock"
@@ -299,7 +299,7 @@ const va = { class: "item" }, ya = { class: "move" }, wa = { class: "item-tools"
299
299
  class: "item-description-form",
300
300
  placeholder: "..."
301
301
  }, null, 8, Ca), [
302
- [Tn, h.description]
302
+ [Fn, h.description]
303
303
  ])
304
304
  ])
305
305
  ])
@@ -311,7 +311,7 @@ const va = { class: "item" }, ya = { class: "move" }, wa = { class: "item-tools"
311
311
  };
312
312
  }
313
313
  }), Ma = /* @__PURE__ */ P(xa, [["__scopeId", "data-v-25ea092d"]]);
314
- var zn = /* @__PURE__ */ ((t) => (t.XS = "xs", t.S = "s", t.M = "m", t.L = "l", t.XL = "xl", t))(zn || {}), ke = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(ke || {});
314
+ var Ln = /* @__PURE__ */ ((t) => (t.XS = "xs", t.S = "s", t.M = "m", t.L = "l", t.XL = "xl", t))(Ln || {}), ke = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(ke || {});
315
315
  const ka = "p-button", Ia = /* @__PURE__ */ $({
316
316
  inheritAttrs: !1,
317
317
  __name: "PButton",
@@ -322,7 +322,7 @@ const ka = "p-button", Ia = /* @__PURE__ */ $({
322
322
  width: { type: String, default: "", required: !1 },
323
323
  height: { type: String, default: "", required: !1 },
324
324
  skin: { type: String, default: "base", required: !1 },
325
- size: { type: String, default: zn.M, required: !1 },
325
+ size: { type: String, default: Ln.M, required: !1 },
326
326
  type: { type: String, default: ke.Primary, required: !1 },
327
327
  fontSize: { type: String, default: "", required: !1 }
328
328
  // disabled: { type: Boolean, default: false, required: false },
@@ -663,7 +663,7 @@ let _a = class {
663
663
  };
664
664
  }
665
665
  };
666
- const Xi = /* @__PURE__ */ new WeakMap(), Za = (t, e) => {
666
+ const Yi = /* @__PURE__ */ new WeakMap(), Za = (t, e) => {
667
667
  if (t.arg == null || t.instance == null) return;
668
668
  const i = "setup" in t.instance.$.type;
669
669
  t.arg in t.instance ? t.instance[t.arg] = e : i && console.warn("Maska: please expose `%s` using defineExpose", t.arg);
@@ -679,7 +679,7 @@ const Xi = /* @__PURE__ */ new WeakMap(), Za = (t, e) => {
679
679
  };
680
680
  s.onMaska = s.onMaska == null ? r : Array.isArray(s.onMaska) ? [...s.onMaska, r] : [s.onMaska, r];
681
681
  }
682
- Xi.has(n) ? (i = Xi.get(n)) == null || i.update(s) : Xi.set(n, new _a(n, s));
682
+ Yi.has(n) ? (i = Yi.get(n)) == null || i.update(s) : Yi.set(n, new _a(n, s));
683
683
  }, Ja = ["for"], Xa = { class: "left-field" }, Ya = ["disabled"], Qa = { class: "right-field" }, Ka = /* @__PURE__ */ $({
684
684
  __name: "PInput",
685
685
  props: /* @__PURE__ */ Ee({
@@ -733,7 +733,7 @@ const Xi = /* @__PURE__ */ new WeakMap(), Za = (t, e) => {
733
733
  ], 4));
734
734
  }
735
735
  }), el = /* @__PURE__ */ P(Ka, [["__scopeId", "data-v-4e2bdb1a"]]), tl = ["ВС", "ПН", "ВТ", "СР", "ЧТ", "ПТ", "СБ"], il = "ru-RU";
736
- class it {
736
+ class nt {
737
737
  constructor() {
738
738
  u(this, "locale", "ru-RU");
739
739
  }
@@ -758,11 +758,11 @@ class it {
758
758
  return this.GetPeriod(n, s, e || { month: "2-digit", day: "numeric", year: void 0 });
759
759
  }
760
760
  static GetDurationInDay(e, i) {
761
- const n = /* @__PURE__ */ new Date(), s = /* @__PURE__ */ new Date(), r = it.SplitHourTime(e), o = it.SplitHourTime(i);
761
+ const n = /* @__PURE__ */ new Date(), s = /* @__PURE__ */ new Date(), r = nt.SplitHourTime(e), o = nt.SplitHourTime(i);
762
762
  return n.setHours(r[0], r[1], 0, 0), s.setHours(o[0], o[1], 0, 0), (s.getTime() - n.getTime()) / 1e3 / 60;
763
763
  }
764
764
  static HourTimeinMunutes(e) {
765
- const i = it.SplitHourTime(e);
765
+ const i = nt.SplitHourTime(e);
766
766
  return i[0] * 60 + i[1];
767
767
  }
768
768
  static SplitHourTime(e) {
@@ -770,7 +770,7 @@ class it {
770
770
  return [Number(i[0]), Number(i[1])];
771
771
  }
772
772
  static AddMinutesToHM(e, i) {
773
- const n = /* @__PURE__ */ new Date(), s = it.SplitHourTime(e);
773
+ const n = /* @__PURE__ */ new Date(), s = nt.SplitHourTime(e);
774
774
  n.setHours(s[0], s[1], 0, 0);
775
775
  const r = new Date(n.getTime() + i * 6e4), o = r.getHours(), l = r.getMinutes();
776
776
  return `${o}:${l}`;
@@ -792,7 +792,7 @@ class it {
792
792
  const n = [new Date(e)];
793
793
  let s = e;
794
794
  for (; s <= i; )
795
- s = it.AddDays(s, 1), n.push(s);
795
+ s = nt.AddDays(s, 1), n.push(s);
796
796
  return n;
797
797
  }
798
798
  static AddDays(e, i) {
@@ -819,10 +819,10 @@ const nl = /* @__PURE__ */ $({
819
819
  }),
820
820
  emits: /* @__PURE__ */ Ee(["update:modelValue", "change", "beforeChange"], ["update:modelValue"]),
821
821
  setup(t, { emit: e }) {
822
- const i = e, n = ft(t, "modelValue"), s = it.Format(n.value), r = T(s), o = (a) => {
822
+ const i = e, n = ft(t, "modelValue"), s = nt.Format(n.value), r = T(s), o = (a) => {
823
823
  if (!l(a))
824
824
  return;
825
- const c = it.FromRuStr(a);
825
+ const c = nt.FromRuStr(a);
826
826
  n.value = c, i("beforeChange", c), i("change", c);
827
827
  }, l = (a) => a.length != 10 ? (r.value = s, M.UI.Notify.Error("Неверный формат даты"), !1) : Number(r.value.slice(0, 2)) > 31 ? (r.value = s, M.UI.Notify.Error("Неверный день месяца"), !1) : Number(r.value.slice(3, 5)) > 12 ? (r.value = s, M.UI.Notify.Error("Неверный месяц"), !1) : Number(r.value.slice(6, 10)) > 2100 ? (r.value = s, M.UI.Notify.Error("Неверный год"), !1) : !0;
828
828
  return (a, c) => {
@@ -836,7 +836,7 @@ const nl = /* @__PURE__ */ $({
836
836
  }, [
837
837
  A(d, {
838
838
  modelValue: g(r),
839
- "onUpdate:modelValue": c[0] || (c[0] = (h) => je(r) ? r.value = h : null),
839
+ "onUpdate:modelValue": c[0] || (c[0] = (h) => Ge(r) ? r.value = h : null),
840
840
  mask: "##.##.####",
841
841
  placeholder: t.placeholder,
842
842
  margin: t.margin,
@@ -877,14 +877,14 @@ const nl = /* @__PURE__ */ $({
877
877
  ], -1)
878
878
  ])),
879
879
  qe(f("input", {
880
- "onUpdate:modelValue": c[0] || (c[0] = (d) => je(s) ? s.value = d : null),
880
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => Ge(s) ? s.value = d : null),
881
881
  class: "input-field",
882
882
  type: "number",
883
883
  min: "0",
884
884
  step: "0.1",
885
885
  onInput: l
886
886
  }, null, 544), [
887
- [Tn, g(s)]
887
+ [Fn, g(s)]
888
888
  ]),
889
889
  f("button", {
890
890
  class: "number-plus",
@@ -933,7 +933,7 @@ const nl = /* @__PURE__ */ $({
933
933
  emits: ["open"],
934
934
  setup(t, { emit: e }) {
935
935
  const i = t, n = e, s = T(i.open);
936
- Qe(
936
+ Ke(
937
937
  () => i.open,
938
938
  () => {
939
939
  s.value = !s.value;
@@ -1125,7 +1125,7 @@ const nl = /* @__PURE__ */ $({
1125
1125
  emits: ["open"],
1126
1126
  setup(t, { emit: e }) {
1127
1127
  const i = t, n = e, s = T(i.open);
1128
- Qe(
1128
+ Ke(
1129
1129
  () => i.open,
1130
1130
  () => {
1131
1131
  s.value = !s.value;
@@ -1222,7 +1222,7 @@ const nl = /* @__PURE__ */ $({
1222
1222
  ], -1))
1223
1223
  ], 64));
1224
1224
  }
1225
- }), Ln = /* @__PURE__ */ P(Sl, [["__scopeId", "data-v-cbcad2a0"]]), Cl = ["for"], xl = { class: "field" }, Ml = { class: "left-field" }, kl = { class: "arrow" }, Il = {
1225
+ }), Dn = /* @__PURE__ */ P(Sl, [["__scopeId", "data-v-cbcad2a0"]]), Cl = ["for"], xl = { class: "field" }, Ml = { class: "left-field" }, kl = { class: "arrow" }, Il = {
1226
1226
  selected: "",
1227
1227
  hidden: ""
1228
1228
  }, Rl = { class: "right-field" }, Al = /* @__PURE__ */ $({
@@ -1276,9 +1276,9 @@ const nl = /* @__PURE__ */ $({
1276
1276
  class: "clear",
1277
1277
  onClick: l
1278
1278
  }, [
1279
- A(Ln, { margin: "0" })
1279
+ A(Dn, { margin: "0" })
1280
1280
  ], 512)), [
1281
- [Fn, g(r)]
1281
+ [On, g(r)]
1282
1282
  ]) : ee("", !0),
1283
1283
  f("div", kl, [
1284
1284
  A(d, { margin: "2px 2px 0 0" })
@@ -1406,7 +1406,7 @@ const nl = /* @__PURE__ */ $({
1406
1406
  onBlur: n[1] || (n[1] = (s) => i.$emit("blur", e.value)),
1407
1407
  onInput: n[2] || (n[2] = (s) => i.$emit("input", e.value))
1408
1408
  }), null, 16), [
1409
- [Tn, e.value],
1409
+ [Fn, e.value],
1410
1410
  [g(nr), t.mask]
1411
1411
  ]),
1412
1412
  f("div", Hl, [
@@ -1438,7 +1438,7 @@ const nl = /* @__PURE__ */ $({
1438
1438
  emits: ["open"],
1439
1439
  setup(t, { emit: e }) {
1440
1440
  const i = t, n = e, s = T(i.open);
1441
- Qe(
1441
+ Ke(
1442
1442
  () => i.open,
1443
1443
  () => {
1444
1444
  s.value = !s.value;
@@ -1571,7 +1571,7 @@ function rr(t, e) {
1571
1571
  i[n] = t.slice(n * e, n * e + e);
1572
1572
  return i;
1573
1573
  }
1574
- var tt = /* @__PURE__ */ ((t) => (t.None = "None", t.Next = "Next", t.Prev = "Prev", t))(tt || {});
1574
+ var it = /* @__PURE__ */ ((t) => (t.None = "None", t.Next = "Next", t.Prev = "Prev", t))(it || {});
1575
1575
  const _l = { class: "container" }, Zl = { class: "slide-box" }, Jl = { class: "link-number" }, Xl = ["id", "onClick"], Yl = /* @__PURE__ */ $({
1576
1576
  __name: "CarouselImages",
1577
1577
  props: {
@@ -1606,17 +1606,17 @@ const _l = { class: "container" }, Zl = { class: "slide-box" }, Jl = { class: "l
1606
1606
  Ys((y) => ({
1607
1607
  a8527066: i
1608
1608
  }));
1609
- const e = t, i = `${e.animationTime}ms`, n = T(e.startActiveGroupIndex), s = T(tt.None), r = T(rr(e.events, e.quantity)), o = me(() => r.value[n.value]);
1609
+ const e = t, i = `${e.animationTime}ms`, n = T(e.startActiveGroupIndex), s = T(it.None), r = T(rr(e.events, e.quantity)), o = me(() => r.value[n.value]);
1610
1610
  Kt(() => {
1611
1611
  });
1612
1612
  const l = () => n.value = n.value + 1 < r.value.length ? n.value + 1 : 0, a = () => n.value = n.value - 1 < 0 ? r.value.length - 1 : n.value - 1, c = (y) => {
1613
- s.value = y, setTimeout(() => s.value = tt.None, e.animationTime);
1613
+ s.value = y, setTimeout(() => s.value = it.None, e.animationTime);
1614
1614
  }, d = (y) => {
1615
- y != n.value && (c(y < n.value ? tt.Prev : tt.Next), setTimeout(() => n.value = y, e.animationTime / 2));
1615
+ y != n.value && (c(y < n.value ? it.Prev : it.Next), setTimeout(() => n.value = y, e.animationTime / 2));
1616
1616
  }, h = () => {
1617
- c(tt.Next), setTimeout(l, e.animationTime / 2);
1617
+ c(it.Next), setTimeout(l, e.animationTime / 2);
1618
1618
  }, p = () => {
1619
- c(tt.Prev), setTimeout(a, e.animationTime / 2);
1619
+ c(it.Prev), setTimeout(a, e.animationTime / 2);
1620
1620
  };
1621
1621
  return (y, v) => (m(), S("div", {
1622
1622
  class: "field",
@@ -1633,8 +1633,8 @@ const _l = { class: "container" }, Zl = { class: "slide-box" }, Jl = { class: "l
1633
1633
  (m(!0), S(j, null, Ie(g(o), (k, b) => (m(), S("div", {
1634
1634
  key: b,
1635
1635
  class: se({
1636
- animationnext: g(s) === g(tt).Next,
1637
- animationprev: g(s) === g(tt).Prev
1636
+ animationnext: g(s) === g(it).Next,
1637
+ animationprev: g(s) === g(it).Prev
1638
1638
  })
1639
1639
  }, v[3] || (v[3] = [
1640
1640
  f("div", { class: "image" }, [
@@ -1716,7 +1716,7 @@ const _l = { class: "container" }, Zl = { class: "slide-box" }, Jl = { class: "l
1716
1716
  emits: ["update:start", "update:end", "setStart", "setEnd"],
1717
1717
  setup(t, { emit: e }) {
1718
1718
  const i = t, n = e;
1719
- Qe(
1719
+ Ke(
1720
1720
  () => [i.start, i.end],
1721
1721
  () => {
1722
1722
  i.start || (s.value = void 0), i.end || (r.value = void 0);
@@ -1740,13 +1740,13 @@ const _l = { class: "container" }, Zl = { class: "slide-box" }, Jl = { class: "l
1740
1740
  return m(), S("div", eu, [
1741
1741
  A(d, {
1742
1742
  "model-value": g(s),
1743
- "onUpdate:modelValue": c[0] || (c[0] = (h) => je(s) ? s.value = h : null),
1743
+ "onUpdate:modelValue": c[0] || (c[0] = (h) => Ge(s) ? s.value = h : null),
1744
1744
  onChange: o
1745
1745
  }, null, 8, ["model-value"]),
1746
1746
  c[2] || (c[2] = Ai(" - ")),
1747
1747
  A(d, {
1748
1748
  "model-value": g(r),
1749
- "onUpdate:modelValue": c[1] || (c[1] = (h) => je(r) ? r.value = h : null),
1749
+ "onUpdate:modelValue": c[1] || (c[1] = (h) => Ge(r) ? r.value = h : null),
1750
1750
  onChange: l
1751
1751
  }, null, 8, ["model-value"])
1752
1752
  ]);
@@ -1874,11 +1874,11 @@ var Cs;
1874
1874
  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", l = typeof Object.create == "function", a = { __proto__: [] } instanceof Array, c = !l && !a, d = {
1875
1875
  // create an object in dictionary mode (a.k.a. "slow" mode in v8)
1876
1876
  create: l ? function() {
1877
- return Ji(/* @__PURE__ */ Object.create(null));
1877
+ return Xi(/* @__PURE__ */ Object.create(null));
1878
1878
  } : a ? function() {
1879
- return Ji({ __proto__: null });
1879
+ return Xi({ __proto__: null });
1880
1880
  } : function() {
1881
- return Ji({});
1881
+ return Xi({});
1882
1882
  },
1883
1883
  has: c ? function(w, C) {
1884
1884
  return n.call(w, C);
@@ -1905,7 +1905,7 @@ var Cs;
1905
1905
  throw new TypeError();
1906
1906
  if (!de(O) && !V(O) && !Mt(O))
1907
1907
  throw new TypeError();
1908
- return Mt(O) && (O = void 0), I = Ze(I), Fo(w, C, I, O);
1908
+ return Mt(O) && (O = void 0), I = Je(I), Fo(w, C, I, O);
1909
1909
  }
1910
1910
  }
1911
1911
  e("decorate", J);
@@ -1923,51 +1923,51 @@ var Cs;
1923
1923
  function _(w, C, I, O) {
1924
1924
  if (!de(I))
1925
1925
  throw new TypeError();
1926
- return V(O) || (O = Ze(O)), ss(w, C, I, O);
1926
+ return V(O) || (O = Je(O)), ss(w, C, I, O);
1927
1927
  }
1928
1928
  e("defineMetadata", _);
1929
1929
  function G(w, C, I) {
1930
1930
  if (!de(C))
1931
1931
  throw new TypeError();
1932
- return V(I) || (I = Ze(I)), ts(w, C, I);
1932
+ return V(I) || (I = Je(I)), ts(w, C, I);
1933
1933
  }
1934
1934
  e("hasMetadata", G);
1935
1935
  function Te(w, C, I) {
1936
1936
  if (!de(C))
1937
1937
  throw new TypeError();
1938
- return V(I) || (I = Ze(I)), Vi(w, C, I);
1938
+ return V(I) || (I = Je(I)), _i(w, C, I);
1939
1939
  }
1940
1940
  e("hasOwnMetadata", Te);
1941
1941
  function Le(w, C, I) {
1942
1942
  if (!de(C))
1943
1943
  throw new TypeError();
1944
- return V(I) || (I = Ze(I)), is(w, C, I);
1944
+ return V(I) || (I = Je(I)), is(w, C, I);
1945
1945
  }
1946
1946
  e("getMetadata", Le);
1947
1947
  function lt(w, C, I) {
1948
1948
  if (!de(C))
1949
1949
  throw new TypeError();
1950
- return V(I) || (I = Ze(I)), ns(w, C, I);
1950
+ return V(I) || (I = Je(I)), ns(w, C, I);
1951
1951
  }
1952
1952
  e("getOwnMetadata", lt);
1953
1953
  function xt(w, C) {
1954
1954
  if (!de(w))
1955
1955
  throw new TypeError();
1956
- return V(C) || (C = Ze(C)), rs(w, C);
1956
+ return V(C) || (C = Je(C)), rs(w, C);
1957
1957
  }
1958
1958
  e("getMetadataKeys", xt);
1959
1959
  function oi(w, C) {
1960
1960
  if (!de(w))
1961
1961
  throw new TypeError();
1962
- return V(C) || (C = Ze(C)), os(w, C);
1962
+ return V(C) || (C = Je(C)), os(w, C);
1963
1963
  }
1964
1964
  e("getOwnMetadataKeys", oi);
1965
1965
  function Eo(w, C, I) {
1966
1966
  if (!de(C))
1967
1967
  throw new TypeError();
1968
- if (V(I) || (I = Ze(I)), !de(C))
1968
+ if (V(I) || (I = Je(I)), !de(C))
1969
1969
  throw new TypeError();
1970
- V(I) || (I = Ze(I));
1970
+ V(I) || (I = Je(I));
1971
1971
  var O = Nt(
1972
1972
  C,
1973
1973
  I,
@@ -2000,13 +2000,13 @@ var Cs;
2000
2000
  return O;
2001
2001
  }
2002
2002
  function ts(w, C, I) {
2003
- var O = Vi(w, C, I);
2003
+ var O = _i(w, C, I);
2004
2004
  if (O)
2005
2005
  return !0;
2006
- var U = Zi(C);
2006
+ var U = Ji(C);
2007
2007
  return Mt(U) ? !1 : ts(w, U, I);
2008
2008
  }
2009
- function Vi(w, C, I) {
2009
+ function _i(w, C, I) {
2010
2010
  var O = Nt(
2011
2011
  C,
2012
2012
  I,
@@ -2016,10 +2016,10 @@ var Cs;
2016
2016
  return V(O) ? !1 : ls(O.OrdinaryHasOwnMetadata(w, C, I));
2017
2017
  }
2018
2018
  function is(w, C, I) {
2019
- var O = Vi(w, C, I);
2019
+ var O = _i(w, C, I);
2020
2020
  if (O)
2021
2021
  return ns(w, C, I);
2022
- var U = Zi(C);
2022
+ var U = Ji(C);
2023
2023
  if (!Mt(U))
2024
2024
  return is(w, U, I);
2025
2025
  }
@@ -2043,7 +2043,7 @@ var Cs;
2043
2043
  U.OrdinaryDefineOwnMetadata(w, C, I, O);
2044
2044
  }
2045
2045
  function rs(w, C) {
2046
- var I = os(w, C), O = Zi(w);
2046
+ var I = os(w, C), O = Ji(w);
2047
2047
  if (O === null)
2048
2048
  return I;
2049
2049
  var U = rs(O, C);
@@ -2150,7 +2150,7 @@ var Cs;
2150
2150
  function Do(w) {
2151
2151
  return "" + w;
2152
2152
  }
2153
- function Ze(w) {
2153
+ function Je(w) {
2154
2154
  var C = zo(w);
2155
2155
  return Oo(C) ? C : Do(C);
2156
2156
  }
@@ -2173,7 +2173,7 @@ var Cs;
2173
2173
  return !1;
2174
2174
  }
2175
2175
  }
2176
- function _i(w, C) {
2176
+ function Zi(w, C) {
2177
2177
  return w === C || w !== w && C !== C;
2178
2178
  }
2179
2179
  function ds(w, C) {
@@ -2204,7 +2204,7 @@ var Cs;
2204
2204
  var C = w.return;
2205
2205
  C && C.call(w);
2206
2206
  }
2207
- function Zi(w) {
2207
+ function Ji(w) {
2208
2208
  var C = Object.getPrototypeOf(w);
2209
2209
  if (typeof w != "function" || w === h || C !== h)
2210
2210
  return C;
@@ -2484,7 +2484,7 @@ var Cs;
2484
2484
  if (D >= 0) {
2485
2485
  for (var H = this._keys.length, B = D + 1; B < H; B++)
2486
2486
  this._keys[B - 1] = this._keys[B], this._values[B - 1] = this._values[B];
2487
- return this._keys.length--, this._values.length--, _i(L, this._cacheKey) && (this._cacheKey = w, this._cacheIndex = -2), !0;
2487
+ return this._keys.length--, this._values.length--, Zi(L, this._cacheKey) && (this._cacheKey = w, this._cacheIndex = -2), !0;
2488
2488
  }
2489
2489
  return !1;
2490
2490
  }, Q.prototype.clear = function() {
@@ -2500,10 +2500,10 @@ var Cs;
2500
2500
  }, Q.prototype[o] = function() {
2501
2501
  return this.entries();
2502
2502
  }, Q.prototype._find = function(L, D) {
2503
- if (!_i(this._cacheKey, L)) {
2503
+ if (!Zi(this._cacheKey, L)) {
2504
2504
  this._cacheIndex = -1;
2505
2505
  for (var H = 0; H < this._keys.length; H++)
2506
- if (_i(this._keys[H], L)) {
2506
+ if (Zi(this._keys[H], L)) {
2507
2507
  this._cacheIndex = H;
2508
2508
  break;
2509
2509
  }
@@ -2637,12 +2637,12 @@ var Cs;
2637
2637
  return D;
2638
2638
  }
2639
2639
  }
2640
- function Ji(w) {
2640
+ function Xi(w) {
2641
2641
  return w.__ = void 0, delete w.__, w;
2642
2642
  }
2643
2643
  });
2644
2644
  })(Cs || (Cs = {}));
2645
- class We {
2645
+ class je {
2646
2646
  static UUID() {
2647
2647
  return ot();
2648
2648
  }
@@ -2700,7 +2700,7 @@ const $t = class $t {
2700
2700
  }
2701
2701
  static InitClassInstance(e, i) {
2702
2702
  const n = e.constructor(i);
2703
- return $t.BuildClass(n), n.id = We.UUID(), n;
2703
+ return $t.BuildClass(n), n.id = je.UUID(), n;
2704
2704
  }
2705
2705
  static ExistsWithId(e, i) {
2706
2706
  return e.some((n) => n.id === i);
@@ -2951,7 +2951,7 @@ const vu = /* @__PURE__ */ $({
2951
2951
  const a = E("PCheckBox");
2952
2952
  return m(), q(a, {
2953
2953
  modelValue: g(n),
2954
- "onUpdate:modelValue": l[0] || (l[0] = (c) => je(n) ? n.value = c : null),
2954
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => Ge(n) ? n.value = c : null),
2955
2955
  label: t.model.label,
2956
2956
  size: "mini",
2957
2957
  onChange: r
@@ -3048,7 +3048,7 @@ const vu = /* @__PURE__ */ $({
3048
3048
  const c = E("PSelect");
3049
3049
  return m(), q(c, {
3050
3050
  modelValue: g(s),
3051
- "onUpdate:modelValue": a[0] || (a[0] = (d) => je(s) ? s.value = d : null),
3051
+ "onUpdate:modelValue": a[0] || (a[0] = (d) => Ge(s) ? s.value = d : null),
3052
3052
  clearable: g(s),
3053
3053
  placeholder: t.defaultLabel,
3054
3054
  onChange: o
@@ -3795,22 +3795,22 @@ function sc(t, e) {
3795
3795
  }
3796
3796
  function vt(t) {
3797
3797
  return function(e) {
3798
- if (Array.isArray(e)) return Yi(e);
3798
+ if (Array.isArray(e)) return Qi(e);
3799
3799
  }(t) || function(e) {
3800
3800
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
3801
3801
  }(t) || function(e, i) {
3802
3802
  if (e) {
3803
- if (typeof e == "string") return Yi(e, i);
3803
+ if (typeof e == "string") return Qi(e, i);
3804
3804
  var n = Object.prototype.toString.call(e).slice(8, -1);
3805
3805
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
3806
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Yi(e, i);
3806
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Qi(e, i);
3807
3807
  }
3808
3808
  }(t) || function() {
3809
3809
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
3810
3810
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3811
3811
  }();
3812
3812
  }
3813
- function Yi(t, e) {
3813
+ function Qi(t, e) {
3814
3814
  (e == null || e > t.length) && (e = t.length);
3815
3815
  for (var i = 0, n = new Array(e); i < e; i++) n[i] = t[i];
3816
3816
  return n;
@@ -3846,7 +3846,7 @@ var Ms, rc, ci, fe = (Ms = function(t) {
3846
3846
  return function() {
3847
3847
  throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs");
3848
3848
  }(e == null && ci.path);
3849
- } }, ci.exports), ci.exports), Ge = function(t) {
3849
+ } }, ci.exports), ci.exports), Ve = function(t) {
3850
3850
  return function(e, i) {
3851
3851
  if (!e) return t;
3852
3852
  var n;
@@ -3858,7 +3858,7 @@ var Ms, rc, ci, fe = (Ms = function(t) {
3858
3858
  }, "") : "");
3859
3859
  };
3860
3860
  };
3861
- function cn(t, e, i) {
3861
+ function dn(t, e, i) {
3862
3862
  var n, s, r, o, l;
3863
3863
  function a() {
3864
3864
  var d = Date.now() - o;
@@ -3876,8 +3876,8 @@ function cn(t, e, i) {
3876
3876
  n && (l = t.apply(r, s), r = s = null, clearTimeout(n), n = null);
3877
3877
  }, c;
3878
3878
  }
3879
- cn.debounce = cn;
3880
- var dn = cn, N = function() {
3879
+ dn.debounce = dn;
3880
+ var hn = dn, N = function() {
3881
3881
  return N = Object.assign || function(t) {
3882
3882
  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]);
3883
3883
  return t;
@@ -3918,10 +3918,10 @@ function ge(t) {
3918
3918
  function pi(t) {
3919
3919
  return typeof t == "object" && t !== null;
3920
3920
  }
3921
- function hn(t, e, i) {
3921
+ function fn(t, e, i) {
3922
3922
  var n = {};
3923
3923
  return pi(t) ? (Object.keys(e).forEach(function(s) {
3924
- ge(t[s]) ? n[s] = e[s] : pi(e[s]) ? pi(t[s]) ? n[s] = hn(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];
3924
+ ge(t[s]) ? n[s] = e[s] : pi(e[s]) ? pi(t[s]) ? n[s] = fn(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];
3925
3925
  }), n) : t ? e : i;
3926
3926
  }
3927
3927
  function di(t) {
@@ -3943,7 +3943,7 @@ var Gt = function(t, e) {
3943
3943
  t === void 0 && (t = {}), e === void 0 && (e = {}), this.type = "manipulateImage", this.move = t, this.scale = e;
3944
3944
  }, oc = function(t, e) {
3945
3945
  e === void 0 && (e = {}), this.type = "resize", this.directions = t, this.params = e;
3946
- }, Dn = function(t) {
3946
+ }, Hn = function(t) {
3947
3947
  this.type = "move", this.directions = t;
3948
3948
  }, ac = function() {
3949
3949
  function t(e, i, n, s, r) {
@@ -3957,7 +3957,7 @@ var Gt = function(t, e) {
3957
3957
  }
3958
3958
  return { left: 0, top: 0 };
3959
3959
  }, t;
3960
- }(), Hn = { name: "DraggableElement", props: { classname: { type: String } }, beforeMount: function() {
3960
+ }(), Bn = { name: "DraggableElement", props: { classname: { type: String } }, beforeMount: function() {
3961
3961
  window.addEventListener("mouseup", this.onMouseUp, { passive: !1 }), window.addEventListener("mousemove", this.onMouseMove, { passive: !1 }), window.addEventListener("touchmove", this.onTouchMove, { passive: !1 }), window.addEventListener("touchend", this.onTouchEnd, { passive: !1 });
3962
3962
  }, beforeUnmount: function() {
3963
3963
  window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
@@ -4000,7 +4000,7 @@ var Gt = function(t, e) {
4000
4000
  }, processEnd: function() {
4001
4001
  this.touches.length && this.$emit("drag-end"), this.hovered && (this.$emit("leave"), this.hovered = !1), this.touches = [];
4002
4002
  } }, emits: ["drag", "drag-end", "leave", "enter"] };
4003
- Hn.render = function(t, e, i, n, s, r) {
4003
+ Bn.render = function(t, e, i, n, s, r) {
4004
4004
  return m(), q("div", { ref: "draggable", class: i.classname, onTouchstart: e[1] || (e[1] = function() {
4005
4005
  return r.onTouchStart && r.onTouchStart.apply(r, arguments);
4006
4006
  }), onMousedown: e[2] || (e[2] = function() {
@@ -4011,13 +4011,13 @@ Hn.render = function(t, e, i, n, s, r) {
4011
4011
  return r.onMouseLeave && r.onMouseLeave.apply(r, arguments);
4012
4012
  }) }, [F(t.$slots, "default")], 34);
4013
4013
  };
4014
- var Qi = Ge("vue-handler-wrapper"), hr = { name: "HandlerWrapper", components: { DraggableElement: Hn }, props: { horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: !1 } }, computed: { classes: function() {
4014
+ var Ki = Ve("vue-handler-wrapper"), hr = { name: "HandlerWrapper", components: { DraggableElement: Bn }, props: { horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: !1 } }, computed: { classes: function() {
4015
4015
  var t;
4016
4016
  if (this.horizontalPosition || this.verticalPosition) {
4017
4017
  var e, i = lr(this.horizontalPosition, this.verticalPosition);
4018
- t = Qi((He(e = {}, i.classname, !0), He(e, "disabled", this.disabled), e));
4019
- } else t = Qi({ disabled: this.disabled });
4020
- return { root: t, draggable: Qi("draggable") };
4018
+ t = Ki((He(e = {}, i.classname, !0), He(e, "disabled", this.disabled), e));
4019
+ } else t = Ki({ disabled: this.disabled });
4020
+ return { root: t, draggable: Ki("draggable") };
4021
4021
  } }, emits: ["leave", "enter", "drag", "drag-end"] };
4022
4022
  hr.render = function(t, e, i, n, s, r) {
4023
4023
  var o = E("DraggableElement");
@@ -4033,7 +4033,7 @@ hr.render = function(t, e, i, n, s, r) {
4033
4033
  return [F(t.$slots, "default")];
4034
4034
  }), _: 3 }, 8, ["class"])], 2);
4035
4035
  };
4036
- var lc = Ge("vue-line-wrapper"), fr = { name: "LineWrapper", components: { DraggableElement: Hn }, props: { position: { type: String, required: !0 }, disabled: { type: Boolean, default: !1 } }, computed: { classname: function() {
4036
+ var lc = Ve("vue-line-wrapper"), fr = { name: "LineWrapper", components: { DraggableElement: Bn }, props: { position: { type: String, required: !0 }, disabled: { type: Boolean, default: !1 } }, computed: { classname: function() {
4037
4037
  var t;
4038
4038
  return lc((He(t = {}, this.position, !0), He(t, "disabled", this.disabled), t));
4039
4039
  } }, emits: ["leave", "enter", "drag", "drag-end"] };
@@ -4051,13 +4051,13 @@ fr.render = function(t, e, i, n, s, r) {
4051
4051
  return [F(t.$slots, "default")];
4052
4052
  }), _: 3 }, 8, ["class"]);
4053
4053
  };
4054
- var Xe = ["left", "right", "top", "bottom"], uc = ["left", "right"], cc = ["top", "bottom"], dc = ["left", "top"], hc = ["fill-area", "fit-area", "stencil", "none"], Rs = { left: 0, top: 0, width: 0, height: 0 };
4054
+ var Ye = ["left", "right", "top", "bottom"], uc = ["left", "right"], cc = ["top", "bottom"], dc = ["left", "top"], hc = ["fill-area", "fit-area", "stencil", "none"], Rs = { left: 0, top: 0, width: 0, height: 0 };
4055
4055
  function As(t, e, i) {
4056
4056
  return !(i = i || ["width", "height", "left", "top"]).some(function(n) {
4057
4057
  return t[n] !== e[n];
4058
4058
  });
4059
4059
  }
4060
- function Ke(t) {
4060
+ function et(t) {
4061
4061
  return { left: t.left, top: t.top, right: t.left + t.width, bottom: t.top + t.height };
4062
4062
  }
4063
4063
  function Et(t, e) {
@@ -4068,12 +4068,12 @@ function Se(t) {
4068
4068
  }
4069
4069
  function Zt(t, e) {
4070
4070
  var i = { left: 0, top: 0, right: 0, bottom: 0 };
4071
- return Xe.forEach(function(n) {
4072
- var s = e[n], r = Ke(t)[n];
4071
+ return Ye.forEach(function(n) {
4072
+ var s = e[n], r = et(t)[n];
4073
4073
  i[n] = s !== void 0 && r !== void 0 ? n === "left" || n === "top" ? Math.max(0, s - r) : Math.max(0, r - s) : 0;
4074
4074
  }), i;
4075
4075
  }
4076
- function Je(t, e) {
4076
+ function Xe(t, e) {
4077
4077
  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 };
4078
4078
  }
4079
4079
  function $i(t) {
@@ -4102,7 +4102,7 @@ function Ft(t, e) {
4102
4102
  var i = { left: 0, top: 0 }, n = Zt(t, e);
4103
4103
  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;
4104
4104
  }
4105
- function Ki(t, e) {
4105
+ function en(t, e) {
4106
4106
  var i;
4107
4107
  return e.minimum && t < e.minimum ? i = e.minimum : e.maximum && t > e.maximum && (i = e.maximum), i;
4108
4108
  }
@@ -4127,7 +4127,7 @@ function Ce(t, e, i) {
4127
4127
  var n = Ft(t, e);
4128
4128
  return Ae(t, i ? $i(n) : n);
4129
4129
  }
4130
- function fn(t) {
4130
+ function mn(t) {
4131
4131
  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 };
4132
4132
  }
4133
4133
  function fc(t, e) {
@@ -4136,7 +4136,7 @@ function fc(t, e) {
4136
4136
  function gr(t, e, i) {
4137
4137
  i === void 0 && (i = !0);
4138
4138
  var n = {};
4139
- return Xe.forEach(function(s) {
4139
+ return Ye.forEach(function(s) {
4140
4140
  var r = t[s], o = e[s];
4141
4141
  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);
4142
4142
  }), n;
@@ -4151,7 +4151,7 @@ function $s(t) {
4151
4151
  function Ps(t, e) {
4152
4152
  return Math.pow(t.width - e.width, 2) + Math.pow(t.height - e.height, 2);
4153
4153
  }
4154
- function nt(t) {
4154
+ function st(t) {
4155
4155
  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)) };
4156
4156
  function o(c, d) {
4157
4157
  return d === void 0 && (d = !1), c.reduce(function(h, p) {
@@ -4165,18 +4165,18 @@ function nt(t) {
4165
4165
  var a = o(l) || o(l, !0);
4166
4166
  return a && { width: a.width, height: a.height };
4167
4167
  }
4168
- function mn(t) {
4168
+ function pn(t) {
4169
4169
  var e = t.event, i = t.coordinates, n = t.positionRestrictions, s = n === void 0 ? {} : n, r = Ae(i, e.directions);
4170
4170
  return Ae(r, Ft(r, s));
4171
4171
  }
4172
4172
  function mc(t) {
4173
4173
  var e = t.coordinates, i = t.transform, n = t.imageSize, s = t.sizeRestrictions, r = t.positionRestrictions, o = t.aspectRatio, l = t.visibleArea, a = function(d, h) {
4174
- return mn({ coordinates: d, positionRestrictions: r, event: new Dn({ left: h.left - d.left, top: h.top - d.top }) });
4174
+ return pn({ coordinates: d, positionRestrictions: r, event: new Hn({ left: h.left - d.left, top: h.top - d.top }) });
4175
4175
  }, c = N({}, e);
4176
4176
  return (Array.isArray(i) ? i : [i]).forEach(function(d) {
4177
4177
  var h = {};
4178
4178
  ge((h = typeof d == "function" ? d({ coordinates: c, imageSize: n, visibleArea: l }) : d).width) && ge(h.height) || (c = function(p, y) {
4179
- var v = N(N(N({}, p), nt({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
4179
+ var v = N(N(N({}, p), st({ width: y.width, height: y.height, sizeRestrictions: s, aspectRatio: o })), { left: 0, top: 0 });
4180
4180
  return a(v, { left: p.left, top: p.top });
4181
4181
  }(c, N(N({}, c), h))), ge(h.left) && ge(h.top) || (c = a(c, N(N({}, c), h)));
4182
4182
  }), c;
@@ -4188,9 +4188,9 @@ function pc(t) {
4188
4188
  var r = t.stencilSize, o = t.sizeRestrictions, l = t.positionRestrictions;
4189
4189
  t.stencilReference;
4190
4190
  var a, c, d, h = N({}, n), p = N({}, s), y = N({}, r);
4191
- a = ne(y), c = ne(h), d === void 0 && (d = 1e-3), (a === 0 || c === 0 ? Math.abs(c - a) < d : Math.abs(c / a) < 1 + d && Math.abs(c / a) > 1 - d) || (h = N(N({}, h), nt({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: ne(y), maximum: ne(y) } })));
4191
+ a = ne(y), c = ne(h), d === void 0 && (d = 1e-3), (a === 0 || c === 0 ? Math.abs(c - a) < d : Math.abs(c / a) < 1 + d && Math.abs(c / a) > 1 - d) || (h = N(N({}, h), st({ sizeRestrictions: o, width: h.width, height: h.height, aspectRatio: { minimum: ne(y), maximum: ne(y) } })));
4192
4192
  var v = Pi(p = Be(p, h.width * i.width / (p.width * y.width)), e({ visibleArea: p, type: "resize" }));
4193
- return v !== 1 && (p = Be(p, v), h = Be(h, v)), p = Ce(p = Ae(p, Et(Se(h), Se(p))), e({ visibleArea: p, type: "move" })), { coordinates: h = Ce(h, Ei(Ke(p), l)), visibleArea: p };
4193
+ return v !== 1 && (p = Be(p, v), h = Be(h, v)), p = Ce(p = Ae(p, Et(Se(h), Se(p))), e({ visibleArea: p, type: "move" })), { coordinates: h = Ce(h, Ei(et(p), l)), visibleArea: p };
4194
4194
  }
4195
4195
  function gc(t) {
4196
4196
  var e = t.event, i = t.getAreaRestrictions, n = t.boundaries, s = t.coordinates, r = t.visibleArea;
@@ -4202,7 +4202,7 @@ function gc(t) {
4202
4202
  var c = { width: 0, height: 0 };
4203
4203
  a.width, n.width, ne(n) > ne(l) ? (c.height = 0.8 * n.height, c.width = c.height * ne(l)) : (c.width = 0.8 * n.width, c.height = c.width * ne(l));
4204
4204
  var d = Pi(a = Be(a, l.width * n.width / (a.width * c.width)), i({ visibleArea: a, type: "resize" }));
4205
- a = Be(a, d), d !== 1 && (c.height /= d, c.width /= d), a = Ce(a = Ae(a, Et(Se(l), Se(a))), i({ visibleArea: a, type: "move" })), l = Ce(l, Ei(Ke(a), o));
4205
+ a = Be(a, d), d !== 1 && (c.height /= d, c.width /= d), a = Ce(a = Ae(a, Et(Se(l), Se(a))), i({ visibleArea: a, type: "move" })), l = Ce(l, Ei(et(a), o));
4206
4206
  }
4207
4207
  return { coordinates: l, visibleArea: a };
4208
4208
  }
@@ -4210,7 +4210,7 @@ function vc(t) {
4210
4210
  var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.getAreaRestrictions, r = N({}, n), o = N({}, i);
4211
4211
  if (e.type === "setCoordinates") {
4212
4212
  var l = Math.max(0, o.width - r.width), a = Math.max(0, o.height - r.height);
4213
- l > a ? r = Be(r, Math.min(o.width / r.width, Tt(r, s({ visibleArea: r, type: "resize" })))) : a > l && (r = Be(r, Math.min(o.height / r.height, Tt(r, s({ visibleArea: r, type: "resize" }))))), r = Ce(r = Ae(r, $i(Ft(o, Ke(r)))), s({ visibleArea: r, type: "move" }));
4213
+ l > a ? r = Be(r, Math.min(o.width / r.width, Tt(r, s({ visibleArea: r, type: "resize" })))) : a > l && (r = Be(r, Math.min(o.height / r.height, Tt(r, s({ visibleArea: r, type: "resize" }))))), r = Ce(r = Ae(r, $i(Ft(o, et(r)))), s({ visibleArea: r, type: "move" }));
4214
4214
  }
4215
4215
  return { visibleArea: r, coordinates: o };
4216
4216
  }
@@ -4220,23 +4220,23 @@ function yc(t) {
4220
4220
  }
4221
4221
  function wc(t) {
4222
4222
  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, ne(r))), l = 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 };
4223
- return nt(N(N({}, l), { aspectRatio: n, sizeRestrictions: s }));
4223
+ return st(N(N({}, l), { aspectRatio: n, sizeRestrictions: s }));
4224
4224
  }
4225
4225
  function bc(t) {
4226
4226
  var e, i, n = t.imageSize, s = t.visibleArea, r = t.boundaries, o = t.aspectRatio, l = t.sizeRestrictions, a = t.stencilSize, c = s || n;
4227
- return ne(c) > ne(r) ? i = (e = a.height * c.height / r.height) * ne(a) : e = (i = a.width * c.width / r.width) / ne(a), nt({ width: i, height: e, aspectRatio: o, sizeRestrictions: l });
4227
+ return ne(c) > ne(r) ? i = (e = a.height * c.height / r.height) * ne(a) : e = (i = a.width * c.width / r.width) / ne(a), st({ width: i, height: e, aspectRatio: o, sizeRestrictions: l });
4228
4228
  }
4229
4229
  function Sc(t) {
4230
4230
  var e = t.getAreaRestrictions, i = t.coordinates, n = t.imageSize, s = ne(t.boundaries);
4231
4231
  if (i) {
4232
- var r = { height: Math.max(i.height, n.height), width: Math.max(i.width, n.width) }, o = mr({ width: ne(r) > s ? r.width : r.height * s, height: ne(r) > s ? r.width / s : r.height }, fn(e())), l = { left: i.left + i.width / 2 - o.width / 2, top: i.top + i.height / 2 - o.height / 2, width: o.width, height: o.height }, a = Zt(i, Ke(N({ left: 0, top: 0 }, n))), c = {};
4232
+ var r = { height: Math.max(i.height, n.height), width: Math.max(i.width, n.width) }, o = mr({ width: ne(r) > s ? r.width : r.height * s, height: ne(r) > s ? r.width / s : r.height }, mn(e())), l = { left: i.left + i.width / 2 - o.width / 2, top: i.top + i.height / 2 - o.height / 2, width: o.width, height: o.height }, a = Zt(i, et(N({ left: 0, top: 0 }, n))), c = {};
4233
4233
  return !a.left && !a.right && l.width <= n.width && (c.left = 0, c.right = n.width), !a.top && !a.bottom && l.height <= n.height && (c.top = 0, c.bottom = n.height), Ce(l, c);
4234
4234
  }
4235
4235
  var d = ne(n);
4236
4236
  return o = { height: d > s ? n.height : n.width / s, width: d > s ? n.height * s : n.width }, { left: n.width / 2 - o.width / 2, top: n.height / 2 - o.height / 2, width: o.width, height: o.height };
4237
4237
  }
4238
4238
  function hi(t, e) {
4239
- return gr(t, Ke(e));
4239
+ return gr(t, et(e));
4240
4240
  }
4241
4241
  function Cc(t) {
4242
4242
  var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.sizeRestrictions, r = t.getAreaRestrictions, o = t.positionRestrictions, l = t.adjustStencil, a = e.scale, c = e.move, d = N({}, n), h = N({}, i), p = 1, y = 1, v = a.factor && Math.abs(a.factor - 1) > 1e-3;
@@ -4244,11 +4244,11 @@ function Cc(t) {
4244
4244
  var k = { 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, Tt(h, o)) }, area: { maximum: Tt(d, r({ visibleArea: d, type: "resize" })) } };
4245
4245
  a.factor && v && (a.factor < 1 ? (y = Math.max(a.factor, k.stencil.minimum)) > 1 && (y = 1) : a.factor > 1 && (y = Math.min(a.factor, Math.min(k.area.maximum, k.stencil.maximum))) < 1 && (y = 1)), y && (d = Be(d, y, a.center));
4246
4246
  var b = i.left - n.left, z = n.width + n.left - (i.width + i.left), J = i.top - n.top, Y = n.height + n.top - (i.height + i.top);
4247
- return d = Ce(d = Ae(d, Ft(d, { left: o.left !== void 0 ? o.left - b * y : void 0, top: o.top !== void 0 ? o.top - J * y : void 0, bottom: o.bottom !== void 0 ? o.bottom + Y * y : void 0, right: o.right !== void 0 ? o.right + z * y : void 0 })), r({ visibleArea: d, type: "move" })), h.width = h.width * y, h.height = h.height * y, h.left = d.left + b * y, h.top = d.top + J * y, h = Ce(h, Ei(Ke(d), o)), a.factor && v && l && (a.factor > 1 ? p = Math.min(k.area.maximum, a.factor) / y : a.factor < 1 && (p = Math.max(h.height / d.height, h.width / d.width, a.factor / y)), p !== 1 && (d = Ae(d = Ce(d = Be(d, p, a.factor > 1 ? a.center : Se(h)), r({ visibleArea: d, type: "move" })), $i(Ft(h, Ke(d)))))), { coordinates: h, visibleArea: d };
4247
+ return d = Ce(d = Ae(d, Ft(d, { left: o.left !== void 0 ? o.left - b * y : void 0, top: o.top !== void 0 ? o.top - J * y : void 0, bottom: o.bottom !== void 0 ? o.bottom + Y * y : void 0, right: o.right !== void 0 ? o.right + z * y : void 0 })), r({ visibleArea: d, type: "move" })), h.width = h.width * y, h.height = h.height * y, h.left = d.left + b * y, h.top = d.top + J * y, h = Ce(h, Ei(et(d), o)), a.factor && v && l && (a.factor > 1 ? p = Math.min(k.area.maximum, a.factor) / y : a.factor < 1 && (p = Math.max(h.height / d.height, h.width / d.width, a.factor / y)), p !== 1 && (d = Ae(d = Ce(d = Be(d, p, a.factor > 1 ? a.center : Se(h)), r({ visibleArea: d, type: "move" })), $i(Ft(h, et(d)))))), { coordinates: h, visibleArea: d };
4248
4248
  }
4249
4249
  function xc(t) {
4250
4250
  var e = t.aspectRatio, i = t.getAreaRestrictions, n = t.coordinates, s = t.visibleArea, r = t.sizeRestrictions, o = t.positionRestrictions, l = t.imageSize, a = t.previousImageSize, c = t.angle, d = N({}, n), h = N({}, s), p = dt(Se(N({ left: 0, top: 0 }, a)), c);
4251
- return (d = N(N({}, nt({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), dt(Se(d), c))).left -= p.left - l.width / 2 + d.width / 2, d.top -= p.top - l.height / 2 + d.height / 2, h = Be(h, Pi(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = Ce(d, o), visibleArea: h = Ce(h = Ae(h, Et(Se(d), Se(n))), i({ visibleArea: h, type: "move" })) };
4251
+ return (d = N(N({}, st({ sizeRestrictions: r, aspectRatio: e, width: d.width, height: d.height })), dt(Se(d), c))).left -= p.left - l.width / 2 + d.width / 2, d.top -= p.top - l.height / 2 + d.height / 2, h = Be(h, Pi(h, i({ visibleArea: h, type: "resize" }))), { coordinates: d = Ce(d, o), visibleArea: h = Ce(h = Ae(h, Et(Se(d), Se(n))), i({ visibleArea: h, type: "move" })) };
4252
4252
  }
4253
4253
  function Mc(t) {
4254
4254
  var e = t.flip, i = t.previousFlip, n = t.rotate, s = t.getAreaRestrictions, r = t.coordinates, o = t.visibleArea, l = t.imageSize, a = N({}, r), c = N({}, o), d = i.horizontal !== e.horizontal, h = i.vertical !== e.vertical;
@@ -4259,27 +4259,27 @@ function Mc(t) {
4259
4259
  return { coordinates: a, visibleArea: c };
4260
4260
  }
4261
4261
  function Es(t) {
4262
- var e = t.directions, i = t.coordinates, n = t.positionRestrictions, s = n === void 0 ? {} : n, r = t.sizeRestrictions, o = t.preserveRatio, l = t.compensate, a = N({}, e), c = Je(i, a).width, d = Je(i, a).height;
4262
+ var e = t.directions, i = t.coordinates, n = t.positionRestrictions, s = n === void 0 ? {} : n, r = t.sizeRestrictions, o = t.preserveRatio, l = t.compensate, a = N({}, e), c = Xe(i, a).width, d = Xe(i, a).height;
4263
4263
  c < 0 && (a.left < 0 && a.right < 0 ? (a.left = -(i.width - r.minWidth) / (a.left / a.right), a.right = -(i.width - r.minWidth) / (a.right / a.left)) : a.left < 0 ? a.left = -(i.width - r.minWidth) : a.right < 0 && (a.right = -(i.width - r.minWidth))), d < 0 && (a.top < 0 && a.bottom < 0 ? (a.top = -(i.height - r.minHeight) / (a.top / a.bottom), a.bottom = -(i.height - r.minHeight) / (a.bottom / a.top)) : a.top < 0 ? a.top = -(i.height - r.minHeight) : a.bottom < 0 && (a.bottom = -(i.height - r.minHeight)));
4264
- var h = Zt(Je(i, a), s);
4265
- l && (h.left && h.left > 0 && h.right === 0 ? (a.right += h.left, a.left -= h.left) : h.right && h.right > 0 && h.left === 0 && (a.left += h.right, a.right -= h.right), h.top && h.top > 0 && h.bottom === 0 ? (a.bottom += h.top, a.top -= h.top) : h.bottom && h.bottom > 0 && h.top === 0 && (a.top += h.bottom, a.bottom -= h.bottom), h = Zt(Je(i, a), s));
4264
+ var h = Zt(Xe(i, a), s);
4265
+ l && (h.left && h.left > 0 && h.right === 0 ? (a.right += h.left, a.left -= h.left) : h.right && h.right > 0 && h.left === 0 && (a.left += h.right, a.right -= h.right), h.top && h.top > 0 && h.bottom === 0 ? (a.bottom += h.top, a.top -= h.top) : h.bottom && h.bottom > 0 && h.top === 0 && (a.top += h.bottom, a.bottom -= h.bottom), h = Zt(Xe(i, a), s));
4266
4266
  var p = { width: 1 / 0, height: 1 / 0, left: 1 / 0, right: 1 / 0, top: 1 / 0, bottom: 1 / 0 };
4267
- if (Xe.forEach(function(k) {
4267
+ if (Ye.forEach(function(k) {
4268
4268
  var b = h[k];
4269
4269
  b && a[k] && (p[k] = Math.max(0, 1 - b / a[k]));
4270
4270
  }), o) {
4271
- var y = Math.min.apply(null, Xe.map(function(k) {
4271
+ var y = Math.min.apply(null, Ye.map(function(k) {
4272
4272
  return p[k];
4273
4273
  }));
4274
- y !== 1 / 0 && Xe.forEach(function(k) {
4274
+ y !== 1 / 0 && Ye.forEach(function(k) {
4275
4275
  a[k] *= y;
4276
4276
  });
4277
- } else Xe.forEach(function(k) {
4277
+ } else Ye.forEach(function(k) {
4278
4278
  p[k] !== 1 / 0 && (a[k] *= p[k]);
4279
4279
  });
4280
- if (c = Je(i, a).width, d = Je(i, a).height, a.right + a.left && (c > r.maxWidth ? p.width = (r.maxWidth - i.width) / (a.right + a.left) : c < r.minWidth && (p.width = (r.minWidth - i.width) / (a.right + a.left))), a.bottom + a.top && (d > r.maxHeight ? p.height = (r.maxHeight - i.height) / (a.bottom + a.top) : d < r.minHeight && (p.height = (r.minHeight - i.height) / (a.bottom + a.top))), o) {
4280
+ if (c = Xe(i, a).width, d = Xe(i, a).height, a.right + a.left && (c > r.maxWidth ? p.width = (r.maxWidth - i.width) / (a.right + a.left) : c < r.minWidth && (p.width = (r.minWidth - i.width) / (a.right + a.left))), a.bottom + a.top && (d > r.maxHeight ? p.height = (r.maxHeight - i.height) / (a.bottom + a.top) : d < r.minHeight && (p.height = (r.minHeight - i.height) / (a.bottom + a.top))), o) {
4281
4281
  var v = Math.min(p.width, p.height);
4282
- v !== 1 / 0 && Xe.forEach(function(k) {
4282
+ v !== 1 / 0 && Ye.forEach(function(k) {
4283
4283
  a[k] *= v;
4284
4284
  });
4285
4285
  } else p.width !== 1 / 0 && uc.forEach(function(k) {
@@ -4292,7 +4292,7 @@ function Es(t) {
4292
4292
  function fi(t, e, i) {
4293
4293
  return e == 0 && i == 0 ? t / 2 : e == 0 ? 0 : i == 0 ? t : t * Math.abs(e / (e + i));
4294
4294
  }
4295
- var kc = Ge("vue-simple-handler"), Ic = Ge("vue-simple-handler-wrapper"), Bn = { name: "SimpleHandler", components: { HandlerWrapper: hr }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
4295
+ var kc = Ve("vue-simple-handler"), Ic = Ve("vue-simple-handler-wrapper"), qn = { name: "SimpleHandler", components: { HandlerWrapper: hr }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
4296
4296
  return { hover: !1 };
4297
4297
  }, computed: { classes: function() {
4298
4298
  var t, e = (He(t = {}, this.horizontalPosition, !!this.horizontalPosition), He(t, this.verticalPosition, !!this.verticalPosition), He(t, "".concat(this.horizontalPosition, "-").concat(this.verticalPosition), !!(this.verticalPosition && this.horizontalPosition)), He(t, "hover", this.hover), t);
@@ -4306,13 +4306,13 @@ var kc = Ge("vue-simple-handler"), Ic = Ge("vue-simple-handler-wrapper"), Bn = {
4306
4306
  }, onDragEnd: function() {
4307
4307
  this.$emit("drag-end");
4308
4308
  } }, emits: ["drag", "drag-end"] };
4309
- Bn.render = function(t, e, i, n, s, r) {
4309
+ qn.render = function(t, e, i, n, s, r) {
4310
4310
  var o = E("HandlerWrapper");
4311
4311
  return m(), q(o, { class: r.classes.wrapper, "vertical-position": i.verticalPosition, "horizontal-position": i.horizontalPosition, disabled: i.disabled, onDrag: r.onDrag, onDragEnd: r.onDragEnd, onEnter: r.onEnter, onLeave: r.onLeave }, { default: W(function() {
4312
4312
  return [A("div", { class: r.classes.default }, null, 2)];
4313
4313
  }), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
4314
4314
  };
4315
- var Rc = Ge("vue-simple-line"), Ac = Ge("vue-simple-line-wrapper"), qn = { name: "SimpleLine", components: { LineWrapper: fr }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, position: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
4315
+ var Rc = Ve("vue-simple-line"), Ac = Ve("vue-simple-line-wrapper"), Nn = { name: "SimpleLine", components: { LineWrapper: fr }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, position: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
4316
4316
  return { hover: !1 };
4317
4317
  }, computed: { classes: function() {
4318
4318
  return { root: fe(Rc(He({}, this.position, !0)), this.defaultClass, this.hover && this.hoverClass), wrapper: fe(Ac(He({}, this.position, !0)), this.wrapperClass) };
@@ -4325,16 +4325,16 @@ var Rc = Ge("vue-simple-line"), Ac = Ge("vue-simple-line-wrapper"), qn = { name:
4325
4325
  }, onDragEnd: function() {
4326
4326
  this.$emit("drag-end");
4327
4327
  } }, emits: ["drag", "drag-end"] };
4328
- qn.render = function(t, e, i, n, s, r) {
4328
+ Nn.render = function(t, e, i, n, s, r) {
4329
4329
  var o = E("LineWrapper");
4330
4330
  return m(), q(o, { class: r.classes.wrapper, position: i.position, disabled: i.disabled, onDrag: r.onDrag, onDragEnd: r.onDragEnd, onEnter: r.onEnter, onLeave: r.onLeave }, { default: W(function() {
4331
4331
  return [A("div", { class: r.classes.root }, null, 2)];
4332
4332
  }), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
4333
4333
  };
4334
- var en = Ge("vue-bounding-box"), $c = ["east", "west", null], Pc = ["south", "north", null], vr = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
4334
+ var tn = Ve("vue-bounding-box"), $c = ["east", "west", null], Pc = ["south", "north", null], vr = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
4335
4335
  return { eastNorth: !0, north: !0, westNorth: !0, west: !0, westSouth: !0, south: !0, eastSouth: !0, east: !0 };
4336
4336
  } }, handlersComponent: { type: [Object, String], default: function() {
4337
- return Bn;
4337
+ return qn;
4338
4338
  } }, handlersClasses: { type: Object, default: function() {
4339
4339
  return {};
4340
4340
  } }, handlersWrappersClasses: { type: Object, default: function() {
@@ -4342,7 +4342,7 @@ var en = Ge("vue-bounding-box"), $c = ["east", "west", null], Pc = ["south", "no
4342
4342
  } }, lines: { type: Object, default: function() {
4343
4343
  return { west: !0, north: !0, east: !0, south: !0 };
4344
4344
  } }, linesComponent: { type: [Object, String], default: function() {
4345
- return qn;
4345
+ return Nn;
4346
4346
  } }, linesClasses: { type: Object, default: function() {
4347
4347
  return {};
4348
4348
  } }, linesWrappersClasses: { type: Object, default: function() {
@@ -4362,7 +4362,7 @@ var en = Ge("vue-bounding-box"), $c = ["east", "west", null], Pc = ["south", "no
4362
4362
  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;
4363
4363
  }, classes: function() {
4364
4364
  var t = this.handlersClasses, e = this.handlersWrappersClasses, i = this.linesClasses, n = this.linesWrappersClasses;
4365
- return { root: en(), handlers: t, handlersWrappers: e, lines: i, linesWrappers: n };
4365
+ return { root: tn(), handlers: t, handlersWrappers: e, lines: i, linesWrappers: n };
4366
4366
  }, lineNodes: function() {
4367
4367
  var t = this, e = [];
4368
4368
  return this.points.forEach(function(i) {
@@ -4375,8 +4375,8 @@ var en = Ge("vue-bounding-box"), $c = ["east", "west", null], Pc = ["south", "no
4375
4375
  var r = { name: s.name, component: t.handlersComponent, class: fe(t.classes.handlers.default, t.classes.handlers[s.name]), wrapperClass: fe(t.classes.handlersWrappers.default, t.classes.handlersWrappers[s.name]), hoverClass: t.classes.handlers.hover, verticalDirection: s.verticalDirection, horizontalDirection: s.horizontalDirection, disabled: !t.resizable };
4376
4376
  if (i && n) {
4377
4377
  var o = s.horizontalDirection, l = s.verticalDirection, a = o === "east" ? i : o === "west" ? 0 : i / 2, c = l === "south" ? n : l === "north" ? 0 : n / 2;
4378
- r.wrapperClass = en("handler"), r.wrapperStyle = { transform: "translate(".concat(a, "px, ").concat(c, "px)") }, t.transitions && t.transitions.enabled && (r.wrapperStyle.transition = "".concat(t.transitions.time, "ms ").concat(t.transitions.timingFunction));
4379
- } else r.wrapperClass = en("handler", He({}, s.classname, !0));
4378
+ r.wrapperClass = tn("handler"), r.wrapperStyle = { transform: "translate(".concat(a, "px, ").concat(c, "px)") }, t.transitions && t.transitions.enabled && (r.wrapperStyle.transition = "".concat(t.transitions.time, "ms ").concat(t.transitions.timingFunction));
4379
+ } else r.wrapperClass = tn("handler", He({}, s.classname, !0));
4380
4380
  e.push(r);
4381
4381
  }
4382
4382
  }), e;
@@ -4407,7 +4407,7 @@ vr.render = function(t, e, i, n, s, r) {
4407
4407
  }) }, null, 8, ["default-class", "hover-class", "wrapper-class", "horizontal-position", "vertical-position", "disabled", "onDrag"]))], 6);
4408
4408
  }), 128))], 6);
4409
4409
  };
4410
- var Ec = Ge("vue-draggable-area"), yr = { name: "DraggableArea", props: { movable: { type: Boolean, default: !0 }, activationDistance: { type: Number, default: 20 } }, computed: { classnames: function() {
4410
+ var Ec = Ve("vue-draggable-area"), yr = { name: "DraggableArea", props: { movable: { type: Boolean, default: !0 }, activationDistance: { type: Number, default: 20 } }, computed: { classnames: function() {
4411
4411
  return { default: Ec() };
4412
4412
  } }, beforeMount: function() {
4413
4413
  window.addEventListener("mouseup", this.onMouseUp, { passive: !1 }), window.addEventListener("mousemove", this.onMouseMove, { passive: !1 }), window.addEventListener("touchmove", this.onTouchMove, { passive: !1 }), window.addEventListener("touchend", this.onTouchEnd, { passive: !1 });
@@ -4440,7 +4440,7 @@ var Ec = Ge("vue-draggable-area"), yr = { name: "DraggableArea", props: { movabl
4440
4440
  var i = vt(e);
4441
4441
  if (this.touches.length) {
4442
4442
  var n = this.$refs.container.getBoundingClientRect(), s = n.left, r = n.top;
4443
- this.touches.length === 1 && i.length === 1 && this.$emit("move", new Dn({ left: i[0].clientX - (s + this.anchor.x), top: i[0].clientY - (r + this.anchor.y) }));
4443
+ this.touches.length === 1 && i.length === 1 && this.$emit("move", new Hn({ left: i[0].clientX - (s + this.anchor.x), top: i[0].clientY - (r + this.anchor.y) }));
4444
4444
  }
4445
4445
  }, processEnd: function() {
4446
4446
  this.touches.length && this.$emit("move-end"), this.touches = [];
@@ -4452,7 +4452,7 @@ yr.render = function(t, e, i, n, s, r) {
4452
4452
  return r.onMouseDown && r.onMouseDown.apply(r, arguments);
4453
4453
  }) }, [F(t.$slots, "default")], 544);
4454
4454
  };
4455
- function tn(t) {
4455
+ function nn(t) {
4456
4456
  var e, i;
4457
4457
  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 } };
4458
4458
  }
@@ -4538,7 +4538,7 @@ var br = { props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { typ
4538
4538
  }, beforeUnmount: function() {
4539
4539
  window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
4540
4540
  }, created: function() {
4541
- this.transforming = !1, this.debouncedProcessEnd = dn(this.processEnd), this.touches = [];
4541
+ this.transforming = !1, this.debouncedProcessEnd = hn(this.processEnd), this.touches = [];
4542
4542
  }, methods: { processMove: function(t, e) {
4543
4543
  if (this.touches.length) {
4544
4544
  if (this.touches.length === 1 && e.length === 1) this.$emit("move", new Gt({ left: this.touches[0].clientX - e[0].clientX, top: this.touches[0].clientY - e[0].clientY }));
@@ -4598,8 +4598,8 @@ br.render = function(t, e, i, n, s, r) {
4598
4598
  return r.onWheel && r.onWheel.apply(r, arguments);
4599
4599
  }) }, [F(t.$slots, "default")], 544);
4600
4600
  };
4601
- var pn = { components: { TransformableImage: br }, 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"] };
4602
- pn.render = function(t, e, i, n, s, r) {
4601
+ var gn = { components: { TransformableImage: br }, 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"] };
4602
+ gn.render = function(t, e, i, n, s, r) {
4603
4603
  var o = E("transformable-image");
4604
4604
  return m(), q(o, { "touch-move": i.touchMove, "touch-resize": i.touchResize, "mouse-move": i.mouseMove, "wheel-resize": i.wheelResize, onMove: e[1] || (e[1] = function(l) {
4605
4605
  return t.$emit("move", l);
@@ -4609,7 +4609,7 @@ pn.render = function(t, e, i, n, s, r) {
4609
4609
  return [F(t.$slots, "default")];
4610
4610
  }), _: 3 }, 8, ["touch-move", "touch-resize", "mouse-move", "wheel-resize"]);
4611
4611
  };
4612
- var mi = Ge("vue-preview"), Sr = { props: { coordinates: { type: Object }, transitions: { type: Object }, image: { type: Object, default: function() {
4612
+ var mi = Ve("vue-preview"), Sr = { props: { coordinates: { type: Object }, transitions: { type: Object }, image: { type: Object, default: function() {
4613
4613
  return {};
4614
4614
  } }, imageClass: { type: String }, width: { type: Number }, height: { type: Number }, fill: { type: Boolean } }, data: function() {
4615
4615
  return { calculatedImageSize: { width: 0, height: 0 }, calculatedSize: { width: 0, height: 0 } };
@@ -4653,17 +4653,17 @@ var mi = Ge("vue-preview"), Sr = { props: { coordinates: { type: Object }, trans
4653
4653
  t && t.complete && this.refreshImage(), this.refresh();
4654
4654
  } } };
4655
4655
  Sr.render = function(t, e, i, n, s, r) {
4656
- return m(), q("div", { ref: "root", class: r.classes.root, style: r.style }, [A("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [qe(A("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[Fn, i.image && i.image.src]])], 6)], 6);
4656
+ return m(), q("div", { ref: "root", class: r.classes.root, style: r.style }, [A("div", { ref: "wrapper", class: r.classes.wrapper, style: r.wrapperStyle }, [qe(A("img", { ref: "image", src: i.image && i.image.src, class: r.classes.image, style: r.imageStyle }, null, 14, ["src"]), [[On, i.image && i.image.src]])], 6)], 6);
4657
4657
  };
4658
4658
  var Cr = { components: { Preview: Sr }, inheritAttrs: !1 };
4659
4659
  Cr.render = function(t, e, i, n, s, r) {
4660
4660
  var o = E("preview");
4661
4661
  return m(), q(o, Dt(t.$attrs, { fill: !0 }), null, 16);
4662
4662
  };
4663
- var nn = Ge("vue-rectangle-stencil"), xr = { name: "RectangleStencil", components: { StencilPreview: Cr, BoundingBox: vr, DraggableArea: yr }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
4664
- return Bn;
4665
- } }, lines: { type: Object }, linesComponent: { type: [Object, String], default: function() {
4663
+ var sn = Ve("vue-rectangle-stencil"), xr = { name: "RectangleStencil", components: { StencilPreview: Cr, BoundingBox: vr, DraggableArea: yr }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
4666
4664
  return qn;
4665
+ } }, lines: { type: Object }, linesComponent: { type: [Object, String], default: function() {
4666
+ return Nn;
4667
4667
  } }, aspectRatio: { type: [Number, String] }, minAspectRatio: { type: [Number, String] }, maxAspectRatio: { type: [Number, String] }, movable: { type: Boolean, default: !0 }, resizable: { type: Boolean, default: !0 }, transitions: { type: Object }, movingClass: { type: String }, resizingClass: { type: String }, previewClass: { type: String }, boundingBoxClass: { type: String }, linesClasses: { type: Object, default: function() {
4668
4668
  return {};
4669
4669
  } }, linesWrappersClasses: { type: Object, default: function() {
@@ -4675,7 +4675,7 @@ var nn = Ge("vue-rectangle-stencil"), xr = { name: "RectangleStencil", component
4675
4675
  } } }, data: function() {
4676
4676
  return { moving: !1, resizing: !1 };
4677
4677
  }, computed: { classes: function() {
4678
- return { stencil: fe(nn({ movable: this.movable, moving: this.moving, resizing: this.resizing }), this.moving && this.movingClass, this.resizing && this.resizingClass), preview: fe(nn("preview"), this.previewClass), boundingBox: fe(nn("bounding-box"), this.boundingBoxClass) };
4678
+ return { stencil: fe(sn({ movable: this.movable, moving: this.moving, resizing: this.resizing }), this.moving && this.movingClass, this.resizing && this.resizingClass), preview: fe(sn("preview"), this.previewClass), boundingBox: fe(sn("bounding-box"), this.boundingBoxClass) };
4679
4679
  }, style: function() {
4680
4680
  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)") };
4681
4681
  return this.transitions && this.transitions.enabled && (r.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction)), r;
@@ -4698,10 +4698,10 @@ xr.render = function(t, e, i, n, s, r) {
4698
4698
  }), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
4699
4699
  }), _: 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);
4700
4700
  };
4701
- var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper", components: { BackgroundWrapper: pn }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
4701
+ var Oc = ["transitions"], tt = Ve("vue-advanced-cropper"), Mr = { name: "Cropper", components: { BackgroundWrapper: gn }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
4702
4702
  return xr;
4703
4703
  } }, backgroundWrapperComponent: { type: [Object, String], default: function() {
4704
- return pn;
4704
+ return gn;
4705
4705
  } }, stencilProps: { type: Object, default: function() {
4706
4706
  return {};
4707
4707
  } }, 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) {
@@ -4710,10 +4710,10 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4710
4710
  return !(typeof t == "string" && t !== "fill" && t !== "fit");
4711
4711
  } }, priority: { type: String, default: "coordinates" }, stencilSize: { type: [Object, Function] }, resizeImage: { type: [Boolean, Object], default: !0 }, moveImage: { type: [Boolean, Object], default: !0 }, autoZoomAlgorithm: { type: Function }, resizeAlgorithm: { type: Function, default: function(t) {
4712
4712
  var e = t.event, i = t.coordinates, n = t.aspectRatio, s = t.positionRestrictions, r = t.sizeRestrictions, o = N(N({}, i), { right: i.left + i.width, bottom: i.top + i.height }), l = e.params || {}, a = N({}, e.directions), c = l.allowedDirections || { left: !0, right: !0, bottom: !0, top: !0 };
4713
- r.widthFrozen && (a.left = 0, a.right = 0), r.heightFrozen && (a.top = 0, a.bottom = 0), Xe.forEach(function(_) {
4713
+ r.widthFrozen && (a.left = 0, a.right = 0), r.heightFrozen && (a.top = 0, a.bottom = 0), Ye.forEach(function(_) {
4714
4714
  c[_] || (a[_] = 0);
4715
4715
  });
4716
- var d = Je(o, a = Es({ coordinates: o, directions: a, sizeRestrictions: r, positionRestrictions: s })).width, h = Je(o, a).height, p = l.preserveRatio ? ne(o) : Ki(d / h, n);
4716
+ var d = Xe(o, a = Es({ coordinates: o, directions: a, sizeRestrictions: r, positionRestrictions: s })).width, h = Xe(o, a).height, p = l.preserveRatio ? ne(o) : en(d / h, n);
4717
4717
  if (p) {
4718
4718
  var y = l.respectDirection;
4719
4719
  if (y || (y = o.width >= o.height || p === 1 ? "width" : "height"), y === "width") {
@@ -4731,19 +4731,19 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4731
4731
  }
4732
4732
  a = Es({ directions: a, coordinates: o, sizeRestrictions: r, positionRestrictions: s, preserveRatio: !0, compensate: l.compensate });
4733
4733
  }
4734
- return d = Je(o, a).width, h = Je(o, a).height, (p = l.preserveRatio ? ne(o) : Ki(d / h, n)) && Math.abs(p - d / h) > 1e-3 && Xe.forEach(function(_) {
4734
+ return d = Xe(o, a).width, h = Xe(o, a).height, (p = l.preserveRatio ? ne(o) : en(d / h, n)) && Math.abs(p - d / h) > 1e-3 && Ye.forEach(function(_) {
4735
4735
  c[_] || (a[_] = 0);
4736
- }), mn({ event: new Dn({ left: -a.left, top: -a.top }), coordinates: { width: i.width + a.right + a.left, height: i.height + a.top + a.bottom, left: i.left, top: i.top }, positionRestrictions: s });
4737
- } }, moveAlgorithm: { type: Function, default: mn }, initStretcher: { type: Function, default: function(t) {
4736
+ }), pn({ event: new Hn({ left: -a.left, top: -a.top }), coordinates: { width: i.width + a.right + a.left, height: i.height + a.top + a.bottom, left: i.left, top: i.top }, positionRestrictions: s });
4737
+ } }, moveAlgorithm: { type: Function, default: pn }, initStretcher: { type: Function, default: function(t) {
4738
4738
  var e = t.stretcher, i = t.imageSize, n = ne(i);
4739
4739
  e.style.width = i.width + "px", e.style.height = e.clientWidth / n + "px", e.style.width = e.clientWidth + "px";
4740
4740
  } }, fitCoordinates: { type: Function, default: function(t) {
4741
- var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = N(N({}, i), nt({ 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) } }));
4742
- return o = Ce(o = Ae(o, Et(Se(i), Se(o))), Ei(Ke(e), r));
4741
+ var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, r = t.positionRestrictions, o = N(N({}, i), st({ 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) } }));
4742
+ return o = Ce(o = Ae(o, Et(Se(i), Se(o))), Ei(et(e), r));
4743
4743
  } }, fitVisibleArea: { type: Function, default: function(t) {
4744
4744
  var e = t.visibleArea, i = t.boundaries, n = t.getAreaRestrictions, s = t.coordinates, r = N({}, e);
4745
4745
  r.height = r.width / ne(i), r.top += (e.height - r.height) / 2, (s.height - r.height > 0 || s.width - r.width > 0) && (r = Be(r, Math.max(s.height / r.height, s.width / r.width)));
4746
- var o = $i(Ft(s, Ke(r = Be(r, Pi(r, n({ visibleArea: r, type: "resize" }))))));
4746
+ var o = $i(Ft(s, et(r = Be(r, Pi(r, n({ visibleArea: r, type: "resize" }))))));
4747
4747
  return r.width < s.width && (o.left = 0), r.height < s.height && (o.top = 0), r = Ce(r = Ae(r, o), n({ visibleArea: r, type: "move" }));
4748
4748
  } }, areaRestrictionsAlgorithm: { type: Function, default: function(t) {
4749
4749
  var e = t.visibleArea, i = t.boundaries, n = t.imageSize, s = t.imageRestriction, r = t.type, o = {};
@@ -4767,8 +4767,8 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4767
4767
  }, initialized: function() {
4768
4768
  return !!(this.visibleArea && this.imageLoaded);
4769
4769
  }, settings: function() {
4770
- var t = hn(this.resizeImage, { touch: !0, wheel: { ratio: 0.1 }, adjustStencil: !0 }, { touch: !1, wheel: !1, adjustStencil: !1 });
4771
- return { moveImage: hn(this.moveImage, { touch: !0, mouse: !0 }, { touch: !1, mouse: !1 }), resizeImage: t };
4770
+ var t = fn(this.resizeImage, { touch: !0, wheel: { ratio: 0.1 }, adjustStencil: !0 }, { touch: !1, wheel: !1, adjustStencil: !1 });
4771
+ return { moveImage: fn(this.moveImage, { touch: !0, mouse: !0 }, { touch: !1, mouse: !1 }), resizeImage: t };
4772
4772
  }, coefficient: function() {
4773
4773
  return this.visibleArea ? this.visibleArea.width / this.boundaries.width : 0;
4774
4774
  }, areaRestrictions: function() {
@@ -4781,10 +4781,10 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4781
4781
  if (t = function(n) {
4782
4782
  var s = n.areaRestrictions, r = n.sizeRestrictions, o = n.boundaries, l = n.positionRestrictions, a = N(N({}, 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 });
4783
4783
  l.left !== void 0 && l.right !== void 0 && (a.maxWidth = Math.min(a.maxWidth, l.right - l.left)), l.bottom !== void 0 && l.top !== void 0 && (a.maxHeight = Math.min(a.maxHeight, l.bottom - l.top));
4784
- var c = fn(s), d = mr(o, c);
4784
+ var c = mn(s), d = mr(o, c);
4785
4785
  return c.width < 1 / 0 && (!a.maxWidth || a.maxWidth > d.width) && (a.maxWidth = Math.min(a.maxWidth, d.width)), c.height < 1 / 0 && (!a.maxHeight || a.maxHeight > d.height) && (a.maxHeight = Math.min(a.maxHeight, d.height)), a.minWidth > a.maxWidth && (a.minWidth = a.maxWidth, a.widthFrozen = !0), a.minHeight > a.maxHeight && (a.minHeight = a.maxHeight, a.heightFrozen = !0), a;
4786
4786
  }({ 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) {
4787
- var e = this.getStencilSize(), i = fn(this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }));
4787
+ var e = this.getStencilSize(), i = mn(this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }));
4788
4788
  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);
4789
4789
  }
4790
4790
  return t;
@@ -4793,7 +4793,7 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4793
4793
  }, positionRestrictions: function() {
4794
4794
  return this.positionRestrictionsAlgorithm({ imageSize: this.imageSize, imageRestriction: this.imageRestriction });
4795
4795
  }, classes: function() {
4796
- return { cropper: et(), image: fe(et("image"), this.imageClass), stencil: et("stencil"), boundaries: fe(et("boundaries"), this.boundariesClass), stretcher: fe(et("stretcher")), background: fe(et("background"), this.backgroundClass), foreground: fe(et("foreground"), this.foregroundClass), imageWrapper: fe(et("image-wrapper")), cropperWrapper: fe(et("cropper-wrapper")) };
4796
+ return { cropper: tt(), image: fe(tt("image"), this.imageClass), stencil: tt("stencil"), boundaries: fe(tt("boundaries"), this.boundariesClass), stretcher: fe(tt("stretcher")), background: fe(tt("background"), this.backgroundClass), foreground: fe(tt("foreground"), this.foregroundClass), imageWrapper: fe(tt("image-wrapper")), cropperWrapper: fe(tt("cropper-wrapper")) };
4797
4797
  }, stencilCoordinates: function() {
4798
4798
  if (this.initialized) {
4799
4799
  var t = this.coordinates, e = t.width, i = t.height, n = t.left, s = t.top;
@@ -4828,7 +4828,7 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4828
4828
  return t[i] !== e[i];
4829
4829
  }) && this.$nextTick(this.onPropsChange);
4830
4830
  } }, created: function() {
4831
- this.debouncedUpdate = dn(this.update, this.debounce), this.debouncedDisableTransitions = dn(this.disableTransitions, this.transitionsOptions.time), this.awaiting = !1;
4831
+ this.debouncedUpdate = hn(this.update, this.debounce), this.debouncedDisableTransitions = hn(this.disableTransitions, this.transitionsOptions.time), this.awaiting = !1;
4832
4832
  }, mounted: function() {
4833
4833
  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);
4834
4834
  }, unmounted: function() {
@@ -4889,7 +4889,7 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4889
4889
  if (i.type === "manipulateImage") return N(N({}, i), { move: { left: i.move && i.move.left ? s * i.move.left : 0, top: i.move && i.move.top ? s * i.move.top : 0 }, scale: { factor: i.scale && i.scale.factor ? i.scale.factor : 1, center: i.scale && i.scale.center ? { left: i.scale.center.left * s + n.left, top: i.scale.center.top * s + n.top } : null } });
4890
4890
  if (i.type === "resize") {
4891
4891
  var r = N(N({}, i), { directions: N({}, i.directions) });
4892
- return Xe.forEach(function(l) {
4892
+ return Ye.forEach(function(l) {
4893
4893
  r.directions[l] *= s;
4894
4894
  }), r;
4895
4895
  }
@@ -4913,7 +4913,7 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
4913
4913
  return c = a, !Number.isNaN(parseFloat(c)) && isFinite(c);
4914
4914
  var c;
4915
4915
  });
4916
- }, r = nt({ 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 } });
4916
+ }, r = st({ 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 } });
4917
4917
  if (n.maxArea && r.width * r.height > n.maxArea) {
4918
4918
  var o = Math.sqrt(n.maxArea / (r.width * r.height));
4919
4919
  r = { width: Math.round(o * r.width), height: Math.round(o * r.height) };
@@ -5030,8 +5030,8 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
5030
5030
  o.push(String.fromCharCode.apply(null, Array.from ? Array.from(a) : a.slice())), l = l.subarray(8192);
5031
5031
  }
5032
5032
  return "data:image/jpeg;base64," + btoa(o.join(""));
5033
- }(n) : this.imageAttributes.src = i, kt(this.defaultTransforms) ? this.appliedImageTransforms = tn(this.defaultTransforms()) : pi(this.defaultTransforms) ? this.appliedImageTransforms = tn(this.defaultTransforms) : this.appliedImageTransforms = function(r) {
5034
- var o = tn({});
5033
+ }(n) : this.imageAttributes.src = i, kt(this.defaultTransforms) ? this.appliedImageTransforms = nn(this.defaultTransforms()) : pi(this.defaultTransforms) ? this.appliedImageTransforms = nn(this.defaultTransforms) : this.appliedImageTransforms = function(r) {
5034
+ var o = nn({});
5035
5035
  if (r) switch (r) {
5036
5036
  case 2:
5037
5037
  o.flip.horizontal = !0;
@@ -5101,7 +5101,7 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
5101
5101
  }
5102
5102
  return { minimum: e, maximum: i };
5103
5103
  }, getStencilSize: function() {
5104
- 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, Ki(ne(s = kt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = nt({ 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 = nt({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: ne(s), maximum: ne(s) } })), s;
5104
+ 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, en(ne(s = kt(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = st({ 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 = st({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: ne(s), maximum: ne(s) } })), s;
5105
5105
  var t, e, i, n, s;
5106
5106
  }, getPublicProperties: function() {
5107
5107
  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 };
@@ -5127,7 +5127,7 @@ var Oc = ["transitions"], et = Ge("vue-advanced-cropper"), Mr = { name: "Cropper
5127
5127
  Mr.render = function(t, e, i, n, s, r) {
5128
5128
  return m(), q("div", { ref: "cropper", class: r.classes.cropper }, [A("div", { ref: "stretcher", class: r.classes.stretcher }, null, 2), A("div", { class: r.classes.boundaries, style: r.boundariesStyle }, [(m(), q(_t(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: W(function() {
5129
5129
  return [A("div", { class: r.classes.background, style: r.boundariesStyle }, null, 6), A("div", { class: r.classes.imageWrapper }, [A("img", { ref: "image", crossorigin: s.imageAttributes.crossOrigin, src: s.imageAttributes.src, class: r.classes.image, style: r.imageStyle, onMousedown: e[1] || (e[1] = Re(function() {
5130
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), A("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), qe((m(), q(_t(i.stencilComponent), Dt({ 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"])), [[Fn, s.imageLoaded]]), i.canvas ? (m(), q("canvas", zc, null, 512)) : ee("", !0), i.canvas ? (m(), q("canvas", Lc, null, 512)) : ee("", !0)];
5130
+ }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), A("div", { class: r.classes.foreground, style: r.boundariesStyle }, null, 6), qe((m(), q(_t(i.stencilComponent), Dt({ 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"])), [[On, s.imageLoaded]]), i.canvas ? (m(), q("canvas", zc, null, 512)) : ee("", !0), i.canvas ? (m(), q("canvas", Lc, null, 512)) : ee("", !0)];
5131
5131
  }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
5132
5132
  };
5133
5133
  const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc = { class: "line-block" }, qc = { class: "dialog-footer" }, Nc = /* @__PURE__ */ $({
@@ -5184,7 +5184,7 @@ const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc =
5184
5184
  default: W(() => [
5185
5185
  A(k, {
5186
5186
  modelValue: g(r),
5187
- "onUpdate:modelValue": v[0] || (v[0] = (_) => je(r) ? r.value = _ : null),
5187
+ "onUpdate:modelValue": v[0] || (v[0] = (_) => Ge(r) ? r.value = _ : null),
5188
5188
  label: "Пропорции изображения",
5189
5189
  onChange: o
5190
5190
  }, {
@@ -5283,7 +5283,7 @@ const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc =
5283
5283
  emits: ["click", "keyup-enter", "after-close"],
5284
5284
  setup(t, { emit: e }) {
5285
5285
  const i = t, n = e, s = i.customClass !== "" ? i.customClass : "inside-class", r = T(!1), o = T(!1), l = T(!1), a = T(i.close);
5286
- Qe(
5286
+ Ke(
5287
5287
  () => i.close,
5288
5288
  () => {
5289
5289
  o.value = !1;
@@ -5292,7 +5292,7 @@ const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc =
5292
5292
  const c = (_) => {
5293
5293
  _.stopPropagation(), _.key === "Escape" && (i.showSaveDialog ? l.value = !0 : o.value = !1);
5294
5294
  };
5295
- Qe(o, async () => {
5295
+ Ke(o, async () => {
5296
5296
  var _, G;
5297
5297
  await ta(), o.value ? ((G = (_ = document.getElementById("info-item-opened-content")) == null ? void 0 : _.querySelector("input")) == null || G.focus(), document.body.addEventListener("keydown", c)) : document.body.removeEventListener("keydown", c, !1), o.value === !1 && n("after-close");
5298
5298
  });
@@ -5413,7 +5413,7 @@ const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc =
5413
5413
  ], 64);
5414
5414
  };
5415
5415
  }
5416
- }), gn = /* @__PURE__ */ P(Gc, [["__scopeId", "data-v-e8e8f1a1"]]), Vc = /* @__PURE__ */ $({
5416
+ }), vn = /* @__PURE__ */ P(Gc, [["__scopeId", "data-v-e8e8f1a1"]]), Vc = /* @__PURE__ */ $({
5417
5417
  __name: "InfoItemSelectButtons",
5418
5418
  props: {
5419
5419
  selected: {
@@ -5529,7 +5529,7 @@ const Dc = { class: "background-container" }, Hc = { class: "tools-line" }, Bc =
5529
5529
  const e = T(t.initActiveIdx), i = (n) => {
5530
5530
  e.value = n;
5531
5531
  };
5532
- return Qe(
5532
+ return Ke(
5533
5533
  () => t.initActiveIdx,
5534
5534
  () => {
5535
5535
  i(t.initActiveIdx);
@@ -5908,7 +5908,7 @@ const ud = /* @__PURE__ */ P(rd, [["render", ld], ["__scopeId", "data-v-0ea9a95f
5908
5908
  s("submit");
5909
5909
  });
5910
5910
  };
5911
- return On(() => {
5911
+ return zn(() => {
5912
5912
  i.Reset();
5913
5913
  }), (l, a) => {
5914
5914
  const c = E("PInput"), d = E("PButton");
@@ -5993,7 +5993,7 @@ const ud = /* @__PURE__ */ P(rd, [["render", ld], ["__scopeId", "data-v-0ea9a95f
5993
5993
  };
5994
5994
  Kt(() => {
5995
5995
  document.body.addEventListener("keydown", s);
5996
- }), On(() => {
5996
+ }), zn(() => {
5997
5997
  document.body.removeEventListener("keydown", s);
5998
5998
  });
5999
5999
  const r = () => {
@@ -6111,7 +6111,7 @@ const ud = /* @__PURE__ */ P(rd, [["render", ld], ["__scopeId", "data-v-0ea9a95f
6111
6111
  ], 4));
6112
6112
  }
6113
6113
  }), Fd = /* @__PURE__ */ P(Td, [["__scopeId", "data-v-9654b2e3"]]);
6114
- class Nn {
6114
+ class Un {
6115
6115
  static Setup(e) {
6116
6116
  this.staticUrl = e;
6117
6117
  }
@@ -6119,8 +6119,8 @@ class Nn {
6119
6119
  return this.staticUrl;
6120
6120
  }
6121
6121
  }
6122
- u(Nn, "staticUrl", "");
6123
- class Ve {
6122
+ u(Un, "staticUrl", "");
6123
+ class _e {
6124
6124
  constructor(e) {
6125
6125
  u(this, "name", "");
6126
6126
  u(this, "url", "");
@@ -6134,18 +6134,18 @@ class Ve {
6134
6134
  Z.BuildClass(this, e);
6135
6135
  }
6136
6136
  getFileUrl() {
6137
- const e = this.url ? this.url : `${Nn.StaticUrl}/${this.fileSystemPath}`;
6137
+ const e = this.url ? this.url : `${Un.StaticUrl}/${this.fileSystemPath}`;
6138
6138
  return new URL(e, import.meta.url);
6139
6139
  }
6140
6140
  getFileListObject() {
6141
6141
  return { name: this.originalName, url: this.url };
6142
6142
  }
6143
6143
  static CreatePreviewFile(e, i) {
6144
- const n = new Ve();
6145
- return n.id = i ?? We.UUID(), n.originalName = e.name, n.file = e.blob, n.fileSystemPath = We.UUID(), n;
6144
+ const n = new _e();
6145
+ return n.id = i ?? je.UUID(), n.originalName = e.name, n.file = e.blob, n.fileSystemPath = je.UUID(), n;
6146
6146
  }
6147
6147
  uploadNewFile(e) {
6148
- this.id || (this.id = We.UUID()), this.originalName = e.name, this.file = e.blob, this.fileSystemPath = We.UUID();
6148
+ this.id || (this.id = je.UUID()), this.originalName = e.name, this.file = e.blob, this.fileSystemPath = je.UUID();
6149
6149
  }
6150
6150
  setFile(e) {
6151
6151
  this.file = e, this.url = e.src;
@@ -6182,7 +6182,7 @@ const Od = ["id"], zd = ["for"], Ld = { class: "left-field" }, Dd = ["href", "do
6182
6182
  fileInfo: {
6183
6183
  type: Object,
6184
6184
  required: !1,
6185
- default: new Ve()
6185
+ default: new _e()
6186
6186
  },
6187
6187
  formats: {
6188
6188
  type: Array,
@@ -6283,7 +6283,7 @@ const Od = ["id"], zd = ["for"], Ld = { class: "left-field" }, Dd = ["href", "do
6283
6283
  onClick: l
6284
6284
  }, {
6285
6285
  default: W(() => [
6286
- A(Ln, {
6286
+ A(Dn, {
6287
6287
  size: "20px",
6288
6288
  margin: "0 5px"
6289
6289
  })
@@ -6374,7 +6374,7 @@ const Ir = /* @__PURE__ */ P(jd, [["render", Vd]]), _d = { class: "container" },
6374
6374
  return m(), S("div", _d, [
6375
6375
  A(p, {
6376
6376
  modelValue: g(s),
6377
- "onUpdate:modelValue": d[0] || (d[0] = (y) => je(s) ? s.value = y : null),
6377
+ "onUpdate:modelValue": d[0] || (d[0] = (y) => Ge(s) ? s.value = y : null),
6378
6378
  placeholder: "Найти",
6379
6379
  onInput: o
6380
6380
  }, {
@@ -6556,7 +6556,7 @@ const oh = /* @__PURE__ */ P(sh, [["render", rh], ["__scopeId", "data-v-0f1f2f84
6556
6556
  const y = document.querySelector(".el-table__body-wrapper"), v = document.querySelector("#list");
6557
6557
  y ? y.scrollTo({ top: 0 }) : v && v.scrollTo({ top: 0 });
6558
6558
  };
6559
- return On(() => {
6559
+ return zn(() => {
6560
6560
  M.H.FTSP.Get().p.drop();
6561
6561
  }), (y, v) => {
6562
6562
  const k = E("ArrowLeft"), b = E("PButton"), z = E("DoubleArrowLeft"), J = E("EllipsisSvg"), Y = E("DoubleArrowRight"), _ = E("ArrowRight");
@@ -6686,7 +6686,7 @@ const oh = /* @__PURE__ */ P(sh, [["render", rh], ["__scopeId", "data-v-0f1f2f84
6686
6686
  emits: ["select", "load", "input"],
6687
6687
  setup(t, { emit: e }) {
6688
6688
  const i = t, n = e, s = T(i.modelValue), r = T(), o = M.S.Search.SearchModel();
6689
- Qe(
6689
+ Ke(
6690
6690
  () => i.focus,
6691
6691
  () => {
6692
6692
  i.focus && setTimeout(() => {
@@ -6711,7 +6711,7 @@ const oh = /* @__PURE__ */ P(sh, [["render", rh], ["__scopeId", "data-v-0f1f2f84
6711
6711
  ref_key: "searchForm",
6712
6712
  ref: r,
6713
6713
  modelValue: g(s),
6714
- "onUpdate:modelValue": h[0] || (h[0] = (y) => je(s) ? s.value = y : null),
6714
+ "onUpdate:modelValue": h[0] || (h[0] = (y) => Ge(s) ? s.value = y : null),
6715
6715
  "value-key": "label",
6716
6716
  style: { width: "100%", "margin-right": "10px" },
6717
6717
  placeholder: t.placeholder,
@@ -6802,7 +6802,7 @@ const oh = /* @__PURE__ */ P(sh, [["render", rh], ["__scopeId", "data-v-0f1f2f84
6802
6802
  emits: ["toggle"],
6803
6803
  setup(t, { emit: e }) {
6804
6804
  const i = t, n = e, s = T(!1);
6805
- Qe(
6805
+ Ke(
6806
6806
  () => i.toggle,
6807
6807
  () => {
6808
6808
  s.value = !s.value;
@@ -7023,7 +7023,7 @@ const Th = ["label", "value"], Fh = /* @__PURE__ */ $({
7023
7023
  style: { width: "100%" }
7024
7024
  }, {
7025
7025
  default: W(() => [
7026
- A(gn, {
7026
+ A(vn, {
7027
7027
  title: "Название",
7028
7028
  "show-save-dialog": l.value,
7029
7029
  icon: "edit-title",
@@ -7034,7 +7034,7 @@ const Th = ["label", "value"], Fh = /* @__PURE__ */ $({
7034
7034
  onAfterClose: a
7035
7035
  }, {
7036
7036
  "open-inside-content": W(() => [
7037
- A(gn, {
7037
+ A(vn, {
7038
7038
  title: "",
7039
7039
  icon: "edit-title",
7040
7040
  "with-open-window": !1,
@@ -7097,9 +7097,9 @@ const Th = ["label", "value"], Fh = /* @__PURE__ */ $({
7097
7097
  };
7098
7098
  }
7099
7099
  }), Dh = /* @__PURE__ */ P(Lh, [["__scopeId", "data-v-cc488c49"]]);
7100
- var st = /* @__PURE__ */ ((t) => (t.Asc = "asc", t.Desc = "desc", t))(st || {});
7100
+ var Ue = /* @__PURE__ */ ((t) => (t.Asc = "asc", t.Desc = "desc", t))(Ue || {});
7101
7101
  function Rr(t, e) {
7102
- const i = [], n = e || st.Asc, s = n === st.Asc ? st.Desc : st.Asc;
7102
+ const i = [], n = e || Ue.Asc, s = n === Ue.Asc ? Ue.Desc : Ue.Asc;
7103
7103
  return Object.values(t).forEach((r) => {
7104
7104
  i.push(r(n)), i.push(r(s));
7105
7105
  }), i.length > 0 && !i.some((r) => r.default) && (i[0].default = !0), e && i.forEach((r) => {
@@ -7128,7 +7128,7 @@ class Hh {
7128
7128
  this.list = [], this.defaultSortModel = void 0;
7129
7129
  }
7130
7130
  }
7131
- const Ye = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7131
+ const Qe = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7132
7132
  __name: "SortList",
7133
7133
  props: {
7134
7134
  maxWidth: {
@@ -7140,10 +7140,10 @@ const Ye = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7140
7140
  setup(t, { emit: e }) {
7141
7141
  const i = T(!1), n = e, s = T();
7142
7142
  at(() => {
7143
- i.value = !0, s.value = Ye.GetDefault(), M.H.FTSP.Get().setSortModel(s.value);
7143
+ i.value = !0, s.value = Qe.GetDefault(), M.H.FTSP.Get().setSortModel(s.value);
7144
7144
  });
7145
7145
  const r = async (l) => {
7146
- s.value = l ?? Ye.GetDefault(), M.H.FTSP.Get().setSortModel(s.value), M.H.FTSP.Get().p.drop(), n("load");
7146
+ s.value = l ?? Qe.GetDefault(), M.H.FTSP.Get().setSortModel(s.value), M.H.FTSP.Get().p.drop(), n("load");
7147
7147
  }, o = async (l) => {
7148
7148
  M.H.FTSP.Get().p.drop(), await r(l);
7149
7149
  };
@@ -7153,7 +7153,7 @@ const Ye = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7153
7153
  return g(i) ? (m(), q(c, {
7154
7154
  key: 0,
7155
7155
  modelValue: g(s),
7156
- "onUpdate:modelValue": a[0] || (a[0] = (h) => je(s) ? s.value = h : null),
7156
+ "onUpdate:modelValue": a[0] || (a[0] = (h) => Ge(s) ? s.value = h : null),
7157
7157
  "popper-append-to-body": !1,
7158
7158
  clearable: !((d = g(s)) != null && d.default),
7159
7159
  "value-key": "label",
@@ -7161,7 +7161,7 @@ const Ye = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7161
7161
  onClear: a[1] || (a[1] = (h) => o())
7162
7162
  }, {
7163
7163
  default: W(() => [
7164
- (m(!0), S(j, null, Ie(g(Ye).Get(), (h, p) => (m(), S("option", {
7164
+ (m(!0), S(j, null, Ie(g(Qe).Get(), (h, p) => (m(), S("option", {
7165
7165
  key: p,
7166
7166
  label: h.label,
7167
7167
  value: h
@@ -7183,10 +7183,10 @@ const Ye = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7183
7183
  setup(t, { emit: e }) {
7184
7184
  const i = e, n = T();
7185
7185
  at(() => {
7186
- n.value = Ye.GetDefault();
7186
+ n.value = Qe.GetDefault();
7187
7187
  });
7188
7188
  const s = async (o) => {
7189
- o || (n.value = Ye.GetDefault()), M.H.FTSP.Get().setSortModel(n.value), M.H.FTSP.Get().p.drop(), i("load");
7189
+ o || (n.value = Qe.GetDefault()), M.H.FTSP.Get().setSortModel(n.value), M.H.FTSP.Get().p.drop(), i("load");
7190
7190
  }, r = async (o) => {
7191
7191
  await s(o);
7192
7192
  };
@@ -7195,14 +7195,14 @@ const Ye = new Hh(), Bh = ["label", "value"], qh = /* @__PURE__ */ $({
7195
7195
  const a = E("PSelect");
7196
7196
  return m(), q(a, {
7197
7197
  modelValue: g(n),
7198
- "onUpdate:modelValue": l[0] || (l[0] = (d) => je(n) ? n.value = d : null),
7198
+ "onUpdate:modelValue": l[0] || (l[0] = (d) => Ge(n) ? n.value = d : null),
7199
7199
  "popper-append-to-body": !1,
7200
7200
  clearable: !((c = g(n)) != null && c.default),
7201
7201
  "value-key": "label",
7202
7202
  onChange: r
7203
7203
  }, {
7204
7204
  default: W(() => [
7205
- (m(!0), S(j, null, Ie(g(Ye).Get(), (d, h) => (m(), S("option", {
7205
+ (m(!0), S(j, null, Ie(g(Qe).Get(), (d, h) => (m(), S("option", {
7206
7206
  key: h,
7207
7207
  label: d.label,
7208
7208
  value: d
@@ -7377,7 +7377,7 @@ const Kh = /* @__PURE__ */ P(Xh, [["render", Qh], ["__scopeId", "data-v-5023d414
7377
7377
  emits: ["toggle"],
7378
7378
  setup(t, { emit: e }) {
7379
7379
  const i = t, n = e, s = T(!0);
7380
- Qe(
7380
+ Ke(
7381
7381
  () => i.toggle,
7382
7382
  () => {
7383
7383
  s.value = !s.value;
@@ -7447,7 +7447,7 @@ const af = {
7447
7447
  default: !0
7448
7448
  },
7449
7449
  fileInfo: {
7450
- type: Ve,
7450
+ type: _e,
7451
7451
  required: !0
7452
7452
  },
7453
7453
  height: {
@@ -7619,7 +7619,7 @@ class Ar extends mt {
7619
7619
  return this.status;
7620
7620
  }
7621
7621
  }
7622
- let vn = class extends Ar {
7622
+ let yn = class extends Ar {
7623
7623
  constructor() {
7624
7624
  super(...arguments);
7625
7625
  u(this, "id", "auth-button-login");
@@ -7628,7 +7628,7 @@ let vn = class extends Ar {
7628
7628
  u(this, "disabled", !1);
7629
7629
  }
7630
7630
  };
7631
- class yn extends Ar {
7631
+ class wn extends Ar {
7632
7632
  constructor() {
7633
7633
  super(...arguments);
7634
7634
  u(this, "id", "auth-button-register");
@@ -7712,7 +7712,7 @@ const Er = {
7712
7712
  methods: [Ht.Email],
7713
7713
  title: "Вход в систему",
7714
7714
  action: "login",
7715
- buttons: [new vn(), new yn()],
7715
+ buttons: [new yn(), new wn()],
7716
7716
  fields: [new gi(), new vi()],
7717
7717
  errorMessage: "Неверно указан email или пароль",
7718
7718
  successMessage: "Вы успешно вошли в систему"
@@ -7721,7 +7721,7 @@ const Er = {
7721
7721
  methods: [],
7722
7722
  title: "Регистрация",
7723
7723
  action: "register",
7724
- buttons: [new yn(), new vn()],
7724
+ buttons: [new wn(), new yn()],
7725
7725
  fields: [new gi(), new vi(), new Pr()],
7726
7726
  errorMessage: "Неверно указан email или пароль",
7727
7727
  successMessage: "Вы успешно зарегистрировались в системе, войдите под своим паролем"
@@ -7886,7 +7886,7 @@ class Fr extends Tr {
7886
7886
  return n += "</ul>", n;
7887
7887
  }
7888
7888
  }
7889
- class wn {
7889
+ class bn {
7890
7890
  static Get(e, i, n = "-") {
7891
7891
  return !e || !i ? "" : `${e}${n}${i}`;
7892
7892
  }
@@ -7897,7 +7897,7 @@ class wn {
7897
7897
  return e === n || i === s || e > n && e < s || i > n && i < s || i > s && e < n;
7898
7898
  }
7899
7899
  }
7900
- const Or = 1e3, zr = 60 * Or, sn = 60 * zr;
7900
+ const Or = 1e3, zr = 60 * Or, rn = 60 * zr;
7901
7901
  var Jt = /* @__PURE__ */ ((t) => (t.FiveMinutes = "5", t.HourQuarter = "15", t.HourHalf = "30", t.Hour = "60", t))(Jt || {});
7902
7902
  const Ci = {
7903
7903
  5: ["00", "05", "10", "15", "20", "25", "30", "35", "40", "45", "50", "55"],
@@ -7913,13 +7913,13 @@ class K {
7913
7913
  return zr * e;
7914
7914
  }
7915
7915
  static H(e) {
7916
- return sn * e;
7916
+ return rn * e;
7917
7917
  }
7918
7918
  static D(e) {
7919
- return sn * e;
7919
+ return rn * e;
7920
7920
  }
7921
7921
  static W(e) {
7922
- return sn * e;
7922
+ return rn * e;
7923
7923
  }
7924
7924
  static NormalizeTime(e) {
7925
7925
  return String(e).padStart(2, "0");
@@ -7954,7 +7954,7 @@ class K {
7954
7954
  return K.Gt(i, e) ? K.HMtoM(i) - K.HMtoM(e) : K.HMtoM(e) - K.HMtoM(i);
7955
7955
  }
7956
7956
  static GetPeriod(e, i) {
7957
- return wn.Get(e, i);
7957
+ return bn.Get(e, i);
7958
7958
  }
7959
7959
  static Gt(e, i) {
7960
7960
  return K.HMtoM(e) > K.HMtoM(i);
@@ -7969,7 +7969,7 @@ class K {
7969
7969
  return K.HMtoM(e) >= K.HMtoM(n) && K.HMtoM(i) <= K.HMtoM(s);
7970
7970
  }
7971
7971
  static PeriodsIntersects(e, i, n, s) {
7972
- return wn.Intersects(K.HMtoM(e), K.HMtoM(i), K.HMtoM(n), K.HMtoM(s));
7972
+ return bn.Intersects(K.HMtoM(e), K.HMtoM(i), K.HMtoM(n), K.HMtoM(s));
7973
7973
  }
7974
7974
  }
7975
7975
  class Xt {
@@ -8004,7 +8004,7 @@ class Sf extends Fr {
8004
8004
  }
8005
8005
  }
8006
8006
  const Vt = new Sf();
8007
- class Ue {
8007
+ class We {
8008
8008
  static Get(e) {
8009
8009
  const i = localStorage.getItem(e);
8010
8010
  if (i)
@@ -8025,19 +8025,19 @@ class Cf {
8025
8025
  this.setAccessToken(e.accessToken), this.setRefreshToken(e.refreshToken);
8026
8026
  }
8027
8027
  getAccessToken() {
8028
- return Ue.Get(De.AccessToken);
8028
+ return We.Get(De.AccessToken);
8029
8029
  }
8030
8030
  getRefreshToken() {
8031
- return Ue.Get(De.RefreshToken);
8031
+ return We.Get(De.RefreshToken);
8032
8032
  }
8033
8033
  setAccessToken(e) {
8034
- Ue.Set(De.AccessToken, e);
8034
+ We.Set(De.AccessToken, e);
8035
8035
  }
8036
8036
  setRefreshToken(e) {
8037
- Ue.Set(De.RefreshToken, e);
8037
+ We.Set(De.RefreshToken, e);
8038
8038
  }
8039
8039
  reset() {
8040
- Ue.Remove(De.AccessToken), Ue.Remove(De.RefreshToken);
8040
+ We.Remove(De.AccessToken), We.Remove(De.RefreshToken);
8041
8041
  }
8042
8042
  actualize() {
8043
8043
  this.setAccessToken(this.getAccessToken()), this.setRefreshToken(this.getAccessToken());
@@ -8056,16 +8056,16 @@ class xf {
8056
8056
  }
8057
8057
  get() {
8058
8058
  if (this.userConstructor)
8059
- return this.user = new this.userConstructor(Ue.Get(De.User)), this.user;
8059
+ return this.user = new this.userConstructor(We.Get(De.User)), this.user;
8060
8060
  }
8061
8061
  set(e) {
8062
- this.userConstructor && (this.user = new this.userConstructor(e), Ue.Set(De.User, this.user));
8062
+ this.userConstructor && (this.user = new this.userConstructor(e), We.Set(De.User, this.user));
8063
8063
  }
8064
8064
  reset() {
8065
- this.user = void 0, Ue.Remove(De.User);
8065
+ this.user = void 0, We.Remove(De.User);
8066
8066
  }
8067
8067
  actualize() {
8068
- const e = Ue.Get(De.User);
8068
+ const e = We.Get(De.User);
8069
8069
  e && this.set(e);
8070
8070
  }
8071
8071
  }
@@ -8146,7 +8146,7 @@ class yt {
8146
8146
  }
8147
8147
  static Create() {
8148
8148
  const e = new yt();
8149
- return e.id = We.UUID(), e;
8149
+ return e.id = je.UUID(), e;
8150
8150
  }
8151
8151
  }
8152
8152
  class Dr {
@@ -8189,21 +8189,60 @@ class Dr {
8189
8189
  this.surname = e.surname, this.name = e.name, this.patronymic = e.patronymic;
8190
8190
  }
8191
8191
  }
8192
+ class Oi {
8193
+ constructor(e) {
8194
+ u(this, "model", "");
8195
+ u(this, "col", "");
8196
+ u(this, "order");
8197
+ u(this, "label", "");
8198
+ u(this, "default", !1);
8199
+ u(this, "selected", !1);
8200
+ Z.BuildClass(this, e);
8201
+ }
8202
+ static Create(e, i, n = Ue.Asc, s, r) {
8203
+ const o = new Oi();
8204
+ return o.model = e.GetClassName(), o.col = i ?? "", o.order = n ?? Ue.Asc, o.label = s ?? "", o.default = r ?? !1, o;
8205
+ }
8206
+ isAsc() {
8207
+ return this.order === Ue.Asc;
8208
+ }
8209
+ isDesc() {
8210
+ return this.order === Ue.Desc;
8211
+ }
8212
+ eq(e) {
8213
+ return e.model === this.model && e.col === this.col && e.order === this.order;
8214
+ }
8215
+ toUrlQuery() {
8216
+ const e = this.model ? `"model":"${this.model}"` : "", i = this.col ? `"col":"${this.col}"` : "", n = this.order ? `"order":"${this.order}"` : "";
8217
+ return [e, i, n].toString();
8218
+ }
8219
+ async fromUrlQuery() {
8220
+ const e = window.location.search, i = e.substring(e.indexOf("s=") + 2, e.indexOf("|")), n = new URLSearchParams(decodeURIComponent(i));
8221
+ this.model = n.get("model") ?? "", this.col = n.get("col") ?? "", this.label = n.get("label") ?? "", this.default = !!n.get("default"), this.order = n.get("order") ?? "";
8222
+ }
8223
+ asc() {
8224
+ this.order = Ue.Asc;
8225
+ }
8226
+ desc() {
8227
+ this.order = Ue.Desc;
8228
+ }
8229
+ }
8192
8230
  const Rf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8193
8231
  __proto__: null,
8194
8232
  Auth: Lr,
8195
- AuthButtonLogin: vn,
8196
- AuthButtonRegister: yn,
8233
+ AuthButtonLogin: yn,
8234
+ AuthButtonRegister: wn,
8197
8235
  AuthFormSettings: Er,
8198
8236
  AuthFormStatuses: Oe,
8199
8237
  AuthMethods: Ht,
8200
8238
  Email: yt,
8201
8239
  EmailField: gi,
8202
- FileInfo: Ve,
8240
+ FileInfo: _e,
8203
8241
  Human: Dr,
8204
8242
  LoginField: If,
8205
8243
  PasswordField: vi,
8206
- PasswordRepeatField: Pr
8244
+ PasswordRepeatField: Pr,
8245
+ SortModel: Oi
8207
8246
  }, Symbol.toStringTag, { value: "Module" }));
8208
8247
  class Af {
8209
8248
  constructor() {
@@ -8264,50 +8303,18 @@ class xi {
8264
8303
  this.offset = 0, this.limit = 25, Z.BuildClass(this);
8265
8304
  }
8266
8305
  }
8267
- class Oi {
8306
+ class zi {
8268
8307
  constructor() {
8269
8308
  u(this, "model", "");
8270
8309
  u(this, "cols", []);
8271
8310
  u(this, "models", []);
8272
8311
  }
8273
8312
  static Create(e, i) {
8274
- const n = new Oi();
8313
+ const n = new zi();
8275
8314
  return n.model = e.GetClassName(), n.cols = i, n;
8276
8315
  }
8277
8316
  }
8278
- class Un {
8279
- constructor(e) {
8280
- u(this, "model", "");
8281
- u(this, "col", "");
8282
- u(this, "order");
8283
- u(this, "label", "");
8284
- u(this, "default", !1);
8285
- u(this, "selected", !1);
8286
- Z.BuildClass(this, e);
8287
- }
8288
- static Create(e, i, n = st.Asc, s, r) {
8289
- const o = new Un();
8290
- return o.model = e.GetClassName(), o.col = i ?? "", o.order = n ?? st.Asc, o.label = s ?? "", o.default = r ?? !1, o;
8291
- }
8292
- isAsc() {
8293
- return this.order === st.Asc;
8294
- }
8295
- isDesc() {
8296
- return this.order === st.Desc;
8297
- }
8298
- eq(e) {
8299
- return e.model === this.model && e.col === this.col && e.order === this.order;
8300
- }
8301
- toUrlQuery() {
8302
- const e = this.model ? `"model":"${this.model}"` : "", i = this.col ? `"col":"${this.col}"` : "", n = this.order ? `"order":"${this.order}"` : "";
8303
- return [e, i, n].toString();
8304
- }
8305
- async fromUrlQuery() {
8306
- const e = window.location.search, i = e.substring(e.indexOf("s=") + 2, e.indexOf("|")), n = new URLSearchParams(decodeURIComponent(i));
8307
- this.model = n.get("model") ?? "", this.col = n.get("col") ?? "", this.label = n.get("label") ?? "", this.default = !!n.get("default"), this.order = n.get("order") ?? "";
8308
- }
8309
- }
8310
- var $f = Object.defineProperty, zi = (t, e, i, n) => {
8317
+ var $f = Object.defineProperty, Li = (t, e, i, n) => {
8311
8318
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
8312
8319
  (o = t[r]) && (s = o(e, i, s) || s);
8313
8320
  return s && $f(e, i, s), s;
@@ -8318,7 +8325,7 @@ const ei = (Fe = class {
8318
8325
  u(this, "f", []);
8319
8326
  u(this, "s", []);
8320
8327
  u(this, "p", new xi());
8321
- u(this, "t", new Oi());
8328
+ u(this, "t", new zi());
8322
8329
  Z.BuildClass(this, e);
8323
8330
  }
8324
8331
  static Get() {
@@ -8367,17 +8374,17 @@ const ei = (Fe = class {
8367
8374
  this.f = [];
8368
8375
  }
8369
8376
  }, u(Fe, "instance"), Fe);
8370
- zi([
8377
+ Li([
8371
8378
  Z.GetClassConstructor(ar)
8372
8379
  ], ei.prototype, "f");
8373
- zi([
8374
- Z.GetClassConstructor(Un)
8380
+ Li([
8381
+ Z.GetClassConstructor(Oi)
8375
8382
  ], ei.prototype, "s");
8376
- zi([
8383
+ Li([
8377
8384
  Z.GetClassConstructor(xi)
8378
8385
  ], ei.prototype, "p");
8379
- zi([
8380
- Z.GetClassConstructor(Oi)
8386
+ Li([
8387
+ Z.GetClassConstructor(zi)
8381
8388
  ], ei.prototype, "t");
8382
8389
  let Hr = ei;
8383
8390
  function Br(t, e) {
@@ -8385,28 +8392,28 @@ function Br(t, e) {
8385
8392
  return t.apply(e, arguments);
8386
8393
  };
8387
8394
  }
8388
- const { toString: Pf } = Object.prototype, { getPrototypeOf: Wn } = Object, Li = /* @__PURE__ */ ((t) => (e) => {
8395
+ const { toString: Pf } = Object.prototype, { getPrototypeOf: Wn } = Object, Di = /* @__PURE__ */ ((t) => (e) => {
8389
8396
  const i = Pf.call(e);
8390
8397
  return t[i] || (t[i] = i.slice(8, -1).toLowerCase());
8391
- })(/* @__PURE__ */ Object.create(null)), _e = (t) => (t = t.toLowerCase(), (e) => Li(e) === t), Di = (t) => (e) => typeof e === t, { isArray: Bt } = Array, Yt = Di("undefined");
8398
+ })(/* @__PURE__ */ Object.create(null)), Ze = (t) => (t = t.toLowerCase(), (e) => Di(e) === t), Hi = (t) => (e) => typeof e === t, { isArray: Bt } = Array, Yt = Hi("undefined");
8392
8399
  function Ef(t) {
8393
8400
  return t !== null && !Yt(t) && t.constructor !== null && !Yt(t.constructor) && ze(t.constructor.isBuffer) && t.constructor.isBuffer(t);
8394
8401
  }
8395
- const qr = _e("ArrayBuffer");
8402
+ const qr = Ze("ArrayBuffer");
8396
8403
  function Tf(t) {
8397
8404
  let e;
8398
8405
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && qr(t.buffer), e;
8399
8406
  }
8400
- const Ff = Di("string"), ze = Di("function"), Nr = Di("number"), Hi = (t) => t !== null && typeof t == "object", Of = (t) => t === !0 || t === !1, yi = (t) => {
8401
- if (Li(t) !== "object")
8407
+ const Ff = Hi("string"), ze = Hi("function"), Nr = Hi("number"), Bi = (t) => t !== null && typeof t == "object", Of = (t) => t === !0 || t === !1, yi = (t) => {
8408
+ if (Di(t) !== "object")
8402
8409
  return !1;
8403
8410
  const e = Wn(t);
8404
8411
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
8405
- }, zf = _e("Date"), Lf = _e("File"), Df = _e("Blob"), Hf = _e("FileList"), Bf = (t) => Hi(t) && ze(t.pipe), qf = (t) => {
8412
+ }, zf = Ze("Date"), Lf = Ze("File"), Df = Ze("Blob"), Hf = Ze("FileList"), Bf = (t) => Bi(t) && ze(t.pipe), qf = (t) => {
8406
8413
  let e;
8407
- return t && (typeof FormData == "function" && t instanceof FormData || ze(t.append) && ((e = Li(t)) === "formdata" || // detect form-data instance
8414
+ return t && (typeof FormData == "function" && t instanceof FormData || ze(t.append) && ((e = Di(t)) === "formdata" || // detect form-data instance
8408
8415
  e === "object" && ze(t.toString) && t.toString() === "[object FormData]"));
8409
- }, Nf = _e("URLSearchParams"), [Uf, Wf, jf, Gf] = ["ReadableStream", "Request", "Response", "Headers"].map(_e), Vf = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
8416
+ }, Nf = Ze("URLSearchParams"), [Uf, Wf, jf, Gf] = ["ReadableStream", "Request", "Response", "Headers"].map(Ze), Vf = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
8410
8417
  function ti(t, e, { allOwnKeys: i = !1 } = {}) {
8411
8418
  if (t === null || typeof t > "u")
8412
8419
  return;
@@ -8431,10 +8438,10 @@ function Ur(t, e) {
8431
8438
  return null;
8432
8439
  }
8433
8440
  const pt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Wr = (t) => !Yt(t) && t !== pt;
8434
- function bn() {
8441
+ function Sn() {
8435
8442
  const { caseless: t } = Wr(this) && this || {}, e = {}, i = (n, s) => {
8436
8443
  const r = t && Ur(e, s) || s;
8437
- yi(e[r]) && yi(n) ? e[r] = bn(e[r], n) : yi(n) ? e[r] = bn({}, n) : Bt(n) ? e[r] = n.slice() : e[r] = n;
8444
+ yi(e[r]) && yi(n) ? e[r] = Sn(e[r], n) : yi(n) ? e[r] = Sn({}, n) : Bt(n) ? e[r] = n.slice() : e[r] = n;
8438
8445
  };
8439
8446
  for (let n = 0, s = arguments.length; n < s; n++)
8440
8447
  arguments[n] && ti(arguments[n], i);
@@ -8482,12 +8489,12 @@ const _f = (t, e, i, { allOwnKeys: n } = {}) => (ti(e, (s, r) => {
8482
8489
  for (; (i = t.exec(e)) !== null; )
8483
8490
  n.push(i);
8484
8491
  return n;
8485
- }, im = _e("HTMLFormElement"), nm = (t) => t.toLowerCase().replace(
8492
+ }, im = Ze("HTMLFormElement"), nm = (t) => t.toLowerCase().replace(
8486
8493
  /[-_\s]([a-z\d])(\w*)/g,
8487
8494
  function(i, n, s) {
8488
8495
  return n.toUpperCase() + s;
8489
8496
  }
8490
- ), Fs = (({ hasOwnProperty: t }) => (e, i) => t.call(e, i))(Object.prototype), sm = _e("RegExp"), jr = (t, e) => {
8497
+ ), Fs = (({ hasOwnProperty: t }) => (e, i) => t.call(e, i))(Object.prototype), sm = Ze("RegExp"), jr = (t, e) => {
8491
8498
  const i = Object.getOwnPropertyDescriptors(t), n = {};
8492
8499
  ti(i, (s, r) => {
8493
8500
  let o;
@@ -8516,10 +8523,10 @@ const _f = (t, e, i, { allOwnKeys: n } = {}) => (ti(e, (s, r) => {
8516
8523
  };
8517
8524
  return Bt(t) ? n(t) : n(String(t).split(e)), i;
8518
8525
  }, am = () => {
8519
- }, lm = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, rn = "abcdefghijklmnopqrstuvwxyz", Os = "0123456789", Gr = {
8526
+ }, lm = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, on = "abcdefghijklmnopqrstuvwxyz", Os = "0123456789", Gr = {
8520
8527
  DIGIT: Os,
8521
- ALPHA: rn,
8522
- ALPHA_DIGIT: rn + rn.toUpperCase() + Os
8528
+ ALPHA: on,
8529
+ ALPHA_DIGIT: on + on.toUpperCase() + Os
8523
8530
  }, um = (t = 16, e = Gr.ALPHA_DIGIT) => {
8524
8531
  let i = "";
8525
8532
  const { length: n } = e;
@@ -8532,7 +8539,7 @@ function cm(t) {
8532
8539
  }
8533
8540
  const dm = (t) => {
8534
8541
  const e = new Array(10), i = (n, s) => {
8535
- if (Hi(n)) {
8542
+ if (Bi(n)) {
8536
8543
  if (e.indexOf(n) >= 0)
8537
8544
  return;
8538
8545
  if (!("toJSON" in n)) {
@@ -8547,7 +8554,7 @@ const dm = (t) => {
8547
8554
  return n;
8548
8555
  };
8549
8556
  return i(t, 0);
8550
- }, hm = _e("AsyncFunction"), fm = (t) => t && (Hi(t) || ze(t)) && ze(t.then) && ze(t.catch), Vr = ((t, e) => t ? setImmediate : e ? ((i, n) => (pt.addEventListener("message", ({ source: s, data: r }) => {
8557
+ }, hm = Ze("AsyncFunction"), fm = (t) => t && (Bi(t) || ze(t)) && ze(t.then) && ze(t.catch), Vr = ((t, e) => t ? setImmediate : e ? ((i, n) => (pt.addEventListener("message", ({ source: s, data: r }) => {
8551
8558
  s === pt && r === i && n.length && n.shift()();
8552
8559
  }, !1), (s) => {
8553
8560
  n.push(s), pt.postMessage(i, "*");
@@ -8563,7 +8570,7 @@ const dm = (t) => {
8563
8570
  isString: Ff,
8564
8571
  isNumber: Nr,
8565
8572
  isBoolean: Of,
8566
- isObject: Hi,
8573
+ isObject: Bi,
8567
8574
  isPlainObject: yi,
8568
8575
  isReadableStream: Uf,
8569
8576
  isRequest: Wf,
@@ -8580,14 +8587,14 @@ const dm = (t) => {
8580
8587
  isTypedArray: Kf,
8581
8588
  isFileList: Hf,
8582
8589
  forEach: ti,
8583
- merge: bn,
8590
+ merge: Sn,
8584
8591
  extend: _f,
8585
8592
  trim: Vf,
8586
8593
  stripBOM: Zf,
8587
8594
  inherits: Jf,
8588
8595
  toFlatObject: Xf,
8589
- kindOf: Li,
8590
- kindOfTest: _e,
8596
+ kindOf: Di,
8597
+ kindOfTest: Ze,
8591
8598
  endsWith: Yf,
8592
8599
  toArray: Qf,
8593
8600
  forEachEntry: em,
@@ -8665,7 +8672,7 @@ X.from = (t, e, i, n, s, r) => {
8665
8672
  }, (l) => l !== "isAxiosError"), X.call(o, t.message, e, i, n, s), o.cause = t, o.name = t.name, r && Object.assign(o, r), o;
8666
8673
  };
8667
8674
  const pm = null;
8668
- function Sn(t) {
8675
+ function Cn(t) {
8669
8676
  return x.isPlainObject(t) || x.isArray(t);
8670
8677
  }
8671
8678
  function Jr(t) {
@@ -8677,12 +8684,12 @@ function zs(t, e, i) {
8677
8684
  }).join(i ? "." : "") : e;
8678
8685
  }
8679
8686
  function gm(t) {
8680
- return x.isArray(t) && !t.some(Sn);
8687
+ return x.isArray(t) && !t.some(Cn);
8681
8688
  }
8682
8689
  const vm = x.toFlatObject(x, {}, null, function(e) {
8683
8690
  return /^is[A-Z]/.test(e);
8684
8691
  });
8685
- function Bi(t, e, i) {
8692
+ function qi(t, e, i) {
8686
8693
  if (!x.isObject(t))
8687
8694
  throw new TypeError("target must be an object");
8688
8695
  e = e || new FormData(), i = x.toFlatObject(i, {
@@ -8717,12 +8724,12 @@ function Bi(t, e, i) {
8717
8724
  );
8718
8725
  }), !1;
8719
8726
  }
8720
- return Sn(v) ? !0 : (e.append(zs(b, k, r), c(v)), !1);
8727
+ return Cn(v) ? !0 : (e.append(zs(b, k, r), c(v)), !1);
8721
8728
  }
8722
8729
  const h = [], p = Object.assign(vm, {
8723
8730
  defaultVisitor: d,
8724
8731
  convertValue: c,
8725
- isVisitable: Sn
8732
+ isVisitable: Cn
8726
8733
  });
8727
8734
  function y(v, k) {
8728
8735
  if (!x.isUndefined(v)) {
@@ -8758,7 +8765,7 @@ function Ls(t) {
8758
8765
  });
8759
8766
  }
8760
8767
  function jn(t, e) {
8761
- this._pairs = [], t && Bi(t, this, e);
8768
+ this._pairs = [], t && qi(t, this, e);
8762
8769
  }
8763
8770
  const Xr = jn.prototype;
8764
8771
  Xr.append = function(e, i) {
@@ -8852,20 +8859,20 @@ const Qr = {
8852
8859
  Blob: Sm
8853
8860
  },
8854
8861
  protocols: ["http", "https", "file", "blob", "url", "data"]
8855
- }, Gn = typeof window < "u" && typeof document < "u", Cn = typeof navigator == "object" && navigator || void 0, xm = Gn && (!Cn || ["ReactNative", "NativeScript", "NS"].indexOf(Cn.product) < 0), Mm = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
8862
+ }, Gn = typeof window < "u" && typeof document < "u", xn = typeof navigator == "object" && navigator || void 0, xm = Gn && (!xn || ["ReactNative", "NativeScript", "NS"].indexOf(xn.product) < 0), Mm = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
8856
8863
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", km = Gn && window.location.href || "http://localhost", Im = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8857
8864
  __proto__: null,
8858
8865
  hasBrowserEnv: Gn,
8859
8866
  hasStandardBrowserEnv: xm,
8860
8867
  hasStandardBrowserWebWorkerEnv: Mm,
8861
- navigator: Cn,
8868
+ navigator: xn,
8862
8869
  origin: km
8863
8870
  }, Symbol.toStringTag, { value: "Module" })), $e = {
8864
8871
  ...Im,
8865
8872
  ...Cm
8866
8873
  };
8867
8874
  function Rm(t, e) {
8868
- return Bi(t, new $e.classes.URLSearchParams(), Object.assign({
8875
+ return qi(t, new $e.classes.URLSearchParams(), Object.assign({
8869
8876
  visitor: function(i, n, s, r) {
8870
8877
  return $e.isNode && x.isBuffer(i) ? (this.append(n, i.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
8871
8878
  }
@@ -8927,7 +8934,7 @@ const ii = {
8927
8934
  return Rm(e, this.formSerializer).toString();
8928
8935
  if ((l = x.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
8929
8936
  const a = this.env && this.env.FormData;
8930
- return Bi(
8937
+ return qi(
8931
8938
  l ? { "files[]": e } : e,
8932
8939
  a && new a(),
8933
8940
  this.formSerializer
@@ -9017,7 +9024,7 @@ function Fm(t) {
9017
9024
  return e;
9018
9025
  }
9019
9026
  const Om = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
9020
- function on(t, e, i, n, s) {
9027
+ function an(t, e, i, n, s) {
9021
9028
  if (x.isFunction(n))
9022
9029
  return n.call(this, e, i);
9023
9030
  if (s && (e = i), !!x.isString(e)) {
@@ -9086,7 +9093,7 @@ class Pe {
9086
9093
  has(e, i) {
9087
9094
  if (e = Ut(e), e) {
9088
9095
  const n = x.findKey(this, e);
9089
- return !!(n && this[n] !== void 0 && (!i || on(this, this[n], n, i)));
9096
+ return !!(n && this[n] !== void 0 && (!i || an(this, this[n], n, i)));
9090
9097
  }
9091
9098
  return !1;
9092
9099
  }
@@ -9096,7 +9103,7 @@ class Pe {
9096
9103
  function r(o) {
9097
9104
  if (o = Ut(o), o) {
9098
9105
  const l = x.findKey(n, o);
9099
- l && (!i || on(n, n[l], l, i)) && (delete n[l], s = !0);
9106
+ l && (!i || an(n, n[l], l, i)) && (delete n[l], s = !0);
9100
9107
  }
9101
9108
  }
9102
9109
  return x.isArray(e) ? e.forEach(r) : r(e), s;
@@ -9106,7 +9113,7 @@ class Pe {
9106
9113
  let n = i.length, s = !1;
9107
9114
  for (; n--; ) {
9108
9115
  const r = i[n];
9109
- (!e || on(this, this[r], r, e, !0)) && (delete this[r], s = !0);
9116
+ (!e || an(this, this[r], r, e, !0)) && (delete this[r], s = !0);
9110
9117
  }
9111
9118
  return s;
9112
9119
  }
@@ -9170,7 +9177,7 @@ x.reduceDescriptors(Pe.prototype, ({ value: t }, e) => {
9170
9177
  };
9171
9178
  });
9172
9179
  x.freezeMethods(Pe);
9173
- function an(t, e) {
9180
+ function ln(t, e) {
9174
9181
  const i = this || ii, n = e || i, s = Pe.from(n.headers);
9175
9182
  let r = n.data;
9176
9183
  return x.forEach(t, function(l) {
@@ -9544,7 +9551,7 @@ const no = (t) => {
9544
9551
  }, {
9545
9552
  highWaterMark: 2
9546
9553
  });
9547
- }, qi = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", so = qi && typeof ReadableStream == "function", Xm = qi && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), ro = (t, ...e) => {
9554
+ }, Ni = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", so = Ni && typeof ReadableStream == "function", Xm = Ni && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), ro = (t, ...e) => {
9548
9555
  try {
9549
9556
  return !!t(...e);
9550
9557
  } catch {
@@ -9560,10 +9567,10 @@ const no = (t) => {
9560
9567
  }
9561
9568
  }).headers.has("Content-Type");
9562
9569
  return t && !e;
9563
- }), Ws = 64 * 1024, xn = so && ro(() => x.isReadableStream(new Response("").body)), ki = {
9564
- stream: xn && ((t) => t.body)
9570
+ }), Ws = 64 * 1024, Mn = so && ro(() => x.isReadableStream(new Response("").body)), ki = {
9571
+ stream: Mn && ((t) => t.body)
9565
9572
  };
9566
- qi && ((t) => {
9573
+ Ni && ((t) => {
9567
9574
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
9568
9575
  !ki[e] && (ki[e] = x.isFunction(t[e]) ? (i) => i[e]() : (i, n) => {
9569
9576
  throw new X(`Response type '${e}' is not supported`, X.ERR_NOT_SUPPORT, n);
@@ -9587,7 +9594,7 @@ const Qm = async (t) => {
9587
9594
  }, Km = async (t, e) => {
9588
9595
  const i = x.toFiniteNumber(t.getContentLength());
9589
9596
  return i ?? Qm(e);
9590
- }, ep = qi && (async (t) => {
9597
+ }, ep = Ni && (async (t) => {
9591
9598
  let {
9592
9599
  url: e,
9593
9600
  method: i,
@@ -9635,8 +9642,8 @@ const Qm = async (t) => {
9635
9642
  credentials: z ? h : void 0
9636
9643
  });
9637
9644
  let J = await fetch(v);
9638
- const Y = xn && (c === "stream" || c === "response");
9639
- if (xn && (l || Y && k)) {
9645
+ const Y = Mn && (c === "stream" || c === "response");
9646
+ if (Mn && (l || Y && k)) {
9640
9647
  const G = {};
9641
9648
  ["status", "statusText", "headers"].forEach((xt) => {
9642
9649
  G[xt] = J[xt];
@@ -9672,12 +9679,12 @@ const Qm = async (t) => {
9672
9679
  }
9673
9680
  ) : X.from(z, z && z.code, t, v);
9674
9681
  }
9675
- }), Mn = {
9682
+ }), kn = {
9676
9683
  http: pm,
9677
9684
  xhr: Gm,
9678
9685
  fetch: ep
9679
9686
  };
9680
- x.forEach(Mn, (t, e) => {
9687
+ x.forEach(kn, (t, e) => {
9681
9688
  if (t) {
9682
9689
  try {
9683
9690
  Object.defineProperty(t, "name", { value: e });
@@ -9695,7 +9702,7 @@ const js = (t) => `- ${t}`, tp = (t) => x.isFunction(t) || t === null || t === !
9695
9702
  for (let r = 0; r < e; r++) {
9696
9703
  i = t[r];
9697
9704
  let o;
9698
- if (n = i, !tp(i) && (n = Mn[(o = String(i)).toLowerCase()], n === void 0))
9705
+ if (n = i, !tp(i) && (n = kn[(o = String(i)).toLowerCase()], n === void 0))
9699
9706
  throw new X(`Unknown adapter '${o}'`);
9700
9707
  if (n)
9701
9708
  break;
@@ -9715,24 +9722,24 @@ const js = (t) => `- ${t}`, tp = (t) => x.isFunction(t) || t === null || t === !
9715
9722
  }
9716
9723
  return n;
9717
9724
  },
9718
- adapters: Mn
9725
+ adapters: kn
9719
9726
  };
9720
- function ln(t) {
9727
+ function un(t) {
9721
9728
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
9722
9729
  throw new qt(null, t);
9723
9730
  }
9724
9731
  function Gs(t) {
9725
- return ln(t), t.headers = Pe.from(t.headers), t.data = an.call(
9732
+ return un(t), t.headers = Pe.from(t.headers), t.data = ln.call(
9726
9733
  t,
9727
9734
  t.transformRequest
9728
9735
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), oo.getAdapter(t.adapter || ii.adapter)(t).then(function(n) {
9729
- return ln(t), n.data = an.call(
9736
+ return un(t), n.data = ln.call(
9730
9737
  t,
9731
9738
  t.transformResponse,
9732
9739
  n
9733
9740
  ), n.headers = Pe.from(n.headers), n;
9734
9741
  }, function(n) {
9735
- return eo(n) || (ln(t), n && n.response && (n.response.data = an.call(
9742
+ return eo(n) || (un(t), n && n.response && (n.response.data = ln.call(
9736
9743
  t,
9737
9744
  t.transformResponse,
9738
9745
  n.response
@@ -9781,10 +9788,10 @@ function ip(t, e, i) {
9781
9788
  throw new X("Unknown option " + r, X.ERR_BAD_OPTION);
9782
9789
  }
9783
9790
  }
9784
- const kn = {
9791
+ const In = {
9785
9792
  assertOptions: ip,
9786
9793
  validators: Vn
9787
- }, ut = kn.validators;
9794
+ }, ut = In.validators;
9788
9795
  class gt {
9789
9796
  constructor(e) {
9790
9797
  this.defaults = e, this.interceptors = {
@@ -9820,13 +9827,13 @@ class gt {
9820
9827
  _request(e, i) {
9821
9828
  typeof e == "string" ? (i = i || {}, i.url = e) : i = e || {}, i = wt(this.defaults, i);
9822
9829
  const { transitional: n, paramsSerializer: s, headers: r } = i;
9823
- n !== void 0 && kn.assertOptions(n, {
9830
+ n !== void 0 && In.assertOptions(n, {
9824
9831
  silentJSONParsing: ut.transitional(ut.boolean),
9825
9832
  forcedJSONParsing: ut.transitional(ut.boolean),
9826
9833
  clarifyTimeoutError: ut.transitional(ut.boolean)
9827
9834
  }, !1), s != null && (x.isFunction(s) ? i.paramsSerializer = {
9828
9835
  serialize: s
9829
- } : kn.assertOptions(s, {
9836
+ } : In.assertOptions(s, {
9830
9837
  encode: ut.function,
9831
9838
  serialize: ut.function
9832
9839
  }, !0)), i.method = (i.method || this.defaults.method || "get").toLowerCase();
@@ -9987,7 +9994,7 @@ function np(t) {
9987
9994
  function sp(t) {
9988
9995
  return x.isObject(t) && t.isAxiosError === !0;
9989
9996
  }
9990
- const In = {
9997
+ const Rn = {
9991
9998
  Continue: 100,
9992
9999
  SwitchingProtocols: 101,
9993
10000
  Processing: 102,
@@ -10052,8 +10059,8 @@ const In = {
10052
10059
  NotExtended: 510,
10053
10060
  NetworkAuthenticationRequired: 511
10054
10061
  };
10055
- Object.entries(In).forEach(([t, e]) => {
10056
- In[e] = t;
10062
+ Object.entries(Rn).forEach(([t, e]) => {
10063
+ Rn[e] = t;
10057
10064
  });
10058
10065
  function lo(t) {
10059
10066
  const e = new gt(t), i = Br(gt.prototype.request, e);
@@ -10067,7 +10074,7 @@ ce.CanceledError = qt;
10067
10074
  ce.CancelToken = _n;
10068
10075
  ce.isCancel = eo;
10069
10076
  ce.VERSION = ao;
10070
- ce.toFormData = Bi;
10077
+ ce.toFormData = qi;
10071
10078
  ce.AxiosError = X;
10072
10079
  ce.Cancel = ce.CanceledError;
10073
10080
  ce.all = function(e) {
@@ -10079,7 +10086,7 @@ ce.mergeConfig = wt;
10079
10086
  ce.AxiosHeaders = Pe;
10080
10087
  ce.formToJSON = (t) => Kr(x.isHTMLForm(t) ? new FormData(t) : t);
10081
10088
  ce.getAdapter = oo.getAdapter;
10082
- ce.HttpStatusCode = In;
10089
+ ce.HttpStatusCode = Rn;
10083
10090
  ce.default = ce;
10084
10091
  var Wt = /* @__PURE__ */ ((t) => (t.GET = "get", t.POST = "post", t.PUT = "put", t.DELETE = "delete", t))(Wt || {});
10085
10092
  const Qt = /* @__PURE__ */ (() => {
@@ -10197,7 +10204,7 @@ class jt {
10197
10204
  });
10198
10205
  }
10199
10206
  }
10200
- class Ni {
10207
+ class Ui {
10201
10208
  constructor(e) {
10202
10209
  u(this, "name", "");
10203
10210
  Z.BuildClass(this, e);
@@ -10214,10 +10221,10 @@ class Ni {
10214
10221
  }
10215
10222
  static async TryGet(e, i, n) {
10216
10223
  let s;
10217
- return s = Ni.Get(e, n), s || (s = await i()), s;
10224
+ return s = Ui.Get(e, n), s || (s = await i()), s;
10218
10225
  }
10219
10226
  }
10220
- var Rn = /* @__PURE__ */ ((t) => (t.ContentType = "Content-Type", t.Token = "token", t))(Rn || {}), uo = /* @__PURE__ */ ((t) => (t.ApplicationJson = "application/json", t.MultipartFormData = "multipart/form-data", t))(uo || {});
10227
+ var An = /* @__PURE__ */ ((t) => (t.ContentType = "Content-Type", t.Token = "token", t))(An || {}), uo = /* @__PURE__ */ ((t) => (t.ApplicationJson = "application/json", t.MultipartFormData = "multipart/form-data", t))(uo || {});
10221
10228
  const re = class re {
10222
10229
  static Setup(e, i, n) {
10223
10230
  this.baseUrl = e, this.apiVersion = i, this.apiHost = n;
@@ -10237,8 +10244,8 @@ const re = class re {
10237
10244
  return o || "file";
10238
10245
  }
10239
10246
  static getHeaders(e) {
10240
- const i = Ue.Get(De.AccessToken);
10241
- return e || (e = re.headers), i && (e[Rn.Token] = i), e ?? re.headers;
10247
+ const i = We.Get(De.AccessToken);
10248
+ return e || (e = re.headers), i && (e[An.Token] = i), e ?? re.headers;
10242
10249
  }
10243
10250
  static returnResponse(e, i) {
10244
10251
  if (i)
@@ -10301,7 +10308,7 @@ const re = class re {
10301
10308
  }
10302
10309
  };
10303
10310
  u(re, "baseUrl", ""), u(re, "apiVersion", ""), u(re, "apiHost", ""), u(re, "headers", {
10304
- [Rn.ContentType]: uo.ApplicationJson
10311
+ [An.ContentType]: uo.ApplicationJson
10305
10312
  });
10306
10313
  let be = re;
10307
10314
  const rp = [
@@ -10412,7 +10419,7 @@ class ae {
10412
10419
  async GetAll(e) {
10413
10420
  let i;
10414
10421
  const n = be.Get;
10415
- e && e.withCache ? i = await Ni.TryGet(this.getUrl(), n) : i = await n({ query: this.getUrl() }), Array.isArray(i) ? this.SetAll(i) : this.SetAllWithCount(i);
10422
+ e && e.withCache ? i = await Ui.TryGet(this.getUrl(), n) : i = await n({ query: this.getUrl() }), Array.isArray(i) ? this.SetAll(i) : this.SetAllWithCount(i);
10416
10423
  }
10417
10424
  async Get(e) {
10418
10425
  e || (e = Ot.Id()), this.Set(await be.Get({ query: this.getUrl(e) }));
@@ -10603,7 +10610,7 @@ function co() {
10603
10610
  const cp = (() => {
10604
10611
  const t = (r, o) => at(async () => {
10605
10612
  var l;
10606
- M.H.FTSP.Get().reset(), Ye.Set(o == null ? void 0 : o.sortsLib), M.H.FTSP.Get().setSortModel(Ye.GetDefault()), Ye.Set(o == null ? void 0 : o.sortsLib), M.H.FTSP.Get().setSortModel(Ye.GetDefault()), M.Paginator.storeModule = (l = o == null ? void 0 : o.pagination) == null ? void 0 : l.storeModule, await r();
10613
+ M.H.FTSP.Get().reset(), Qe.Set(o == null ? void 0 : o.sortsLib), M.H.FTSP.Get().setSortModel(Qe.GetDefault()), Qe.Set(o == null ? void 0 : o.sortsLib), M.H.FTSP.Get().setSortModel(Qe.GetDefault()), M.Paginator.storeModule = (l = o == null ? void 0 : o.pagination) == null ? void 0 : l.storeModule, await r();
10607
10614
  }), { saveButtonClick: e, showConfirmModal: i } = co(), n = (r) => up((o, l, a) => {
10608
10615
  i((r || s)(), a);
10609
10616
  }), s = (r) => async () => {
@@ -10661,8 +10668,8 @@ let fp = class {
10661
10668
  return ht.GenerateNumsRange(this.startHour, this.endHour);
10662
10669
  }
10663
10670
  };
10664
- const An = (t) => t === 8 || t === 46, mp = (t) => t > 46 && t < 58, pp = (t) => t > 34 && t < 41, gp = (t) => t + ".", vp = (t, e, i) => {
10665
- An(e) || pp(e) || (!mp(e) || i > 9) && t.preventDefault();
10671
+ const $n = (t) => t === 8 || t === 46, mp = (t) => t > 46 && t < 58, pp = (t) => t > 34 && t < 41, gp = (t) => t + ".", vp = (t, e, i) => {
10672
+ $n(e) || pp(e) || (!mp(e) || i > 9) && t.preventDefault();
10666
10673
  };
10667
10674
  function yp(t, e) {
10668
10675
  if (e > 8) {
@@ -10679,9 +10686,9 @@ function wp(t) {
10679
10686
  const e = t.keyCode;
10680
10687
  let i = t.srcElement.value;
10681
10688
  const n = i.length;
10682
- vp(t, e, n), !An(e) && (n === 2 || n === 5) && (i = gp(i));
10689
+ vp(t, e, n), !$n(e) && (n === 2 || n === 5) && (i = gp(i));
10683
10690
  const s = t.srcElement.value + String.fromCharCode(t.which);
10684
- if (An(e)) {
10691
+ if ($n(e)) {
10685
10692
  t.srcElement.value = i;
10686
10693
  return;
10687
10694
  }
@@ -10783,7 +10790,7 @@ const Cp = /* @__PURE__ */ (() => {
10783
10790
  u(Ri, "validatePhone", (e, i, n) => {
10784
10791
  Ri.getPhoneRegExp().test(i) || !i ? n() : n(new Error("Пожалуйста, введите корректный номер телефона"));
10785
10792
  });
10786
- let $n = Ri;
10793
+ let Pn = Ri;
10787
10794
  class xp {
10788
10795
  static Count(e) {
10789
10796
  const i = e.filter((r) => r.rating !== 0);
@@ -10932,32 +10939,32 @@ const Fp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10932
10939
  Arrays: ht,
10933
10940
  Axios: jt,
10934
10941
  BaseStore: ae,
10935
- Cache: Ni,
10942
+ Cache: Ui,
10936
10943
  CarouselSwipe: op,
10937
10944
  Classes: Z,
10938
10945
  Color: hp,
10939
10946
  CreateSortModels: Rr,
10940
10947
  Cursor: fp,
10941
10948
  DateMask: wp,
10942
- Dates: it,
10949
+ Dates: nt,
10943
10950
  Dragger: bp,
10944
10951
  Extension: Sp,
10945
10952
  FTSP: Hr,
10946
10953
  Favourite: Cp,
10947
10954
  Hooks: cp,
10948
10955
  HttpClient: be,
10949
- Id: We,
10956
+ Id: je,
10950
10957
  MakeCarousel: rr,
10951
- Period: wn,
10952
- PhoneService: $n,
10958
+ Period: bn,
10959
+ PhoneService: Pn,
10953
10960
  Rating: xp,
10954
10961
  Router: Ot,
10955
10962
  RouterGuard: Mp,
10956
10963
  Scheduler: kp,
10957
10964
  Scroll: Rp,
10958
- Sizes: zn,
10965
+ Sizes: Ln,
10959
10966
  Sorter: Ap,
10960
- Static: Nn,
10967
+ Static: Un,
10961
10968
  Statuses: ke,
10962
10969
  Strings: ve,
10963
10970
  Time: K,
@@ -11150,10 +11157,10 @@ class zt {
11150
11157
  }
11151
11158
  static Create() {
11152
11159
  const e = new zt();
11153
- return e.id = We.UUID(), e;
11160
+ return e.id = je.UUID(), e;
11154
11161
  }
11155
11162
  }
11156
- class Pn {
11163
+ class En {
11157
11164
  constructor(e) {
11158
11165
  u(this, "id");
11159
11166
  u(this, "address");
@@ -11169,7 +11176,7 @@ class ho {
11169
11176
  Z.BuildClass(this, e);
11170
11177
  }
11171
11178
  }
11172
- var Jp = Object.defineProperty, Ui = (t, e, i, n) => {
11179
+ var Jp = Object.defineProperty, Wi = (t, e, i, n) => {
11173
11180
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
11174
11181
  (o = t[r]) && (s = o(e, i, s) || s);
11175
11182
  return s && Jp(e, i, s), s;
@@ -11182,7 +11189,7 @@ const ni = class fo {
11182
11189
  u(this, "latitude", "");
11183
11190
  u(this, "longitude", "");
11184
11191
  u(this, "emails", []);
11185
- u(this, "postAddresses", [new Pn()]);
11192
+ u(this, "postAddresses", [new En()]);
11186
11193
  u(this, "phones", []);
11187
11194
  u(this, "websites", []);
11188
11195
  Z.BuildClass(this, e);
@@ -11197,7 +11204,7 @@ const ni = class fo {
11197
11204
  }
11198
11205
  static Create() {
11199
11206
  const e = new fo();
11200
- return e.id = We.UUID(), e;
11207
+ return e.id = je.UUID(), e;
11201
11208
  }
11202
11209
  removeEmail(e) {
11203
11210
  Z.RemoveFromClassById(e, this.emails);
@@ -11206,7 +11213,7 @@ const ni = class fo {
11206
11213
  Z.RemoveFromClassById(e, this.phones);
11207
11214
  }
11208
11215
  addPostAddress() {
11209
- this.postAddresses.push(new Pn());
11216
+ this.postAddresses.push(new En());
11210
11217
  }
11211
11218
  addWebsite() {
11212
11219
  this.websites.push(new ho());
@@ -11230,16 +11237,16 @@ const ni = class fo {
11230
11237
  this.longitude = e;
11231
11238
  }
11232
11239
  };
11233
- Ui([
11240
+ Wi([
11234
11241
  Z.GetClassConstructor(yt)
11235
11242
  ], ni.prototype, "emails");
11236
- Ui([
11237
- Z.GetClassConstructor(Pn)
11243
+ Wi([
11244
+ Z.GetClassConstructor(En)
11238
11245
  ], ni.prototype, "postAddresses");
11239
- Ui([
11246
+ Wi([
11240
11247
  Z.GetClassConstructor(zt)
11241
11248
  ], ni.prototype, "phones");
11242
- Ui([
11249
+ Wi([
11243
11250
  Z.GetClassConstructor(ho)
11244
11251
  ], ni.prototype, "websites");
11245
11252
  let Xp = ni, Yp = class extends ae {
@@ -11271,7 +11278,7 @@ let tg = class extends ae {
11271
11278
  const ig = new tg();
11272
11279
  let ng = class extends ae {
11273
11280
  constructor() {
11274
- super(Ve, "file-infos");
11281
+ super(_e, "file-infos");
11275
11282
  }
11276
11283
  };
11277
11284
  const sg = new ng();
@@ -11284,7 +11291,7 @@ class Jn {
11284
11291
  }
11285
11292
  static Create(e) {
11286
11293
  const i = new Jn();
11287
- return i.id = We.UUID(), i.ftsp = JSON.stringify(e), i;
11294
+ return i.id = je.UUID(), i.ftsp = JSON.stringify(e), i;
11288
11295
  }
11289
11296
  }
11290
11297
  let rg = class extends ae {
@@ -11384,7 +11391,7 @@ go([
11384
11391
  go([
11385
11392
  Z.GetClassConstructor(gg)
11386
11393
  ], At.prototype, "searchGroupMetaColumns");
11387
- class un {
11394
+ class cn {
11388
11395
  constructor(e) {
11389
11396
  u(this, "query", "");
11390
11397
  u(this, "key", "");
@@ -11418,7 +11425,7 @@ class un {
11418
11425
  let yg = class {
11419
11426
  constructor() {
11420
11427
  u(this, "isSearchDrawerOpen", T(!1));
11421
- u(this, "searchModel", rt(new un()));
11428
+ u(this, "searchModel", rt(new cn()));
11422
11429
  u(this, "searchGroups", rt([]));
11423
11430
  u(this, "count", 0);
11424
11431
  }
@@ -11439,10 +11446,10 @@ let yg = class {
11439
11446
  this.SetSearchModel(i);
11440
11447
  }
11441
11448
  ToggleDrawer(e) {
11442
- this.isSearchDrawerOpen.value = e, this.searchModel = new un();
11449
+ this.isSearchDrawerOpen.value = e, this.searchModel = new cn();
11443
11450
  }
11444
11451
  SetSearchModel(e) {
11445
- e && (this.searchModel = new un(e));
11452
+ e && (this.searchModel = new cn(e));
11446
11453
  }
11447
11454
  SetSearchGroups() {
11448
11455
  }
@@ -11470,7 +11477,7 @@ class Xn {
11470
11477
  }
11471
11478
  static Create() {
11472
11479
  const e = new Xn();
11473
- return e.id = We.UUID(), e;
11480
+ return e.id = je.UUID(), e;
11474
11481
  }
11475
11482
  }
11476
11483
  let bg = class extends ae {
@@ -11556,7 +11563,7 @@ class wo {
11556
11563
  u(this, "id");
11557
11564
  u(this, "num", "");
11558
11565
  u(this, "fileInfoId");
11559
- u(this, "fileInfo", new Ve());
11566
+ u(this, "fileInfo", new _e());
11560
11567
  M.H.Classes.BuildClass(this, e);
11561
11568
  }
11562
11569
  }
@@ -11565,7 +11572,7 @@ class si {
11565
11572
  u(this, "id");
11566
11573
  u(this, "passportId");
11567
11574
  u(this, "fileInfoId");
11568
- u(this, "fileInfo", new Ve());
11575
+ u(this, "fileInfo", new _e());
11569
11576
  u(this, "order", 0);
11570
11577
  M.H.Classes.BuildClass(this, e);
11571
11578
  }
@@ -11601,7 +11608,7 @@ class bo {
11601
11608
  u(this, "id");
11602
11609
  u(this, "num", "");
11603
11610
  u(this, "fileInfoId");
11604
- u(this, "fileInfo", new Ve());
11611
+ u(this, "fileInfo", new _e());
11605
11612
  M.H.Classes.BuildClass(this, e);
11606
11613
  }
11607
11614
  }
@@ -11819,14 +11826,14 @@ ri([
11819
11826
  ri([
11820
11827
  M.H.Classes.GetClassConstructor(St)
11821
11828
  ], St.prototype, "children");
11822
- let Wi = St;
11829
+ let ji = St;
11823
11830
  class Kn {
11824
11831
  constructor(e) {
11825
11832
  u(this, "id");
11826
11833
  u(this, "answerId");
11827
11834
  u(this, "comment", "");
11828
11835
  u(this, "fileInfoId");
11829
- u(this, "fileInfo", new Ve());
11836
+ u(this, "fileInfo", new _e());
11830
11837
  M.H.Classes.BuildClass(this, e);
11831
11838
  }
11832
11839
  }
@@ -11851,14 +11858,14 @@ var Bg = Object.defineProperty, Co = (t, e, i, n) => {
11851
11858
  (o = t[r]) && (s = o(e, i, s) || s);
11852
11859
  return s && Bg(e, i, s), s;
11853
11860
  };
11854
- const es = class En {
11861
+ const es = class Tn {
11855
11862
  constructor(e) {
11856
11863
  u(this, "id");
11857
11864
  u(this, "valueString");
11858
11865
  u(this, "valueOther");
11859
11866
  u(this, "valueNumber");
11860
11867
  u(this, "valueDate");
11861
- u(this, "fileInfo", new Ve());
11868
+ u(this, "fileInfo", new _e());
11862
11869
  u(this, "fileInfoId");
11863
11870
  u(this, "order", 0);
11864
11871
  u(this, "selectedAnswerVariants", []);
@@ -11876,7 +11883,7 @@ const es = class En {
11876
11883
  this.filled = e;
11877
11884
  }
11878
11885
  static Create(e, i) {
11879
- const n = new En();
11886
+ const n = new Tn();
11880
11887
  return n.id = ot(), n.fieldId = e.id, n.formFillId = i, n.order = e.order, n.valueNumber = 0, n.valueString = "", n.valueDate = /* @__PURE__ */ new Date(), n;
11881
11888
  }
11882
11889
  setString(e) {
@@ -11895,7 +11902,7 @@ const es = class En {
11895
11902
  this.answerVariantId = e, this.filled = !!this.answerVariantId;
11896
11903
  }
11897
11904
  static CreateMany(e, i) {
11898
- return e.map((n) => En.Create(n, i));
11905
+ return e.map((n) => Tn.Create(n, i));
11899
11906
  }
11900
11907
  addFile() {
11901
11908
  const e = new Kn();
@@ -11975,7 +11982,7 @@ const xo = class Mo {
11975
11982
  return i.id = M.H.Id.UUID(), i.formId = e, i;
11976
11983
  }
11977
11984
  addField() {
11978
- const e = Wi.Create(this.id);
11985
+ const e = ji.Create(this.id);
11979
11986
  return this.fields.push(e), this.sortFields(), e;
11980
11987
  }
11981
11988
  sortFields() {
@@ -12006,9 +12013,9 @@ const xo = class Mo {
12006
12013
  // }
12007
12014
  };
12008
12015
  Ug([
12009
- M.H.Classes.GetClassConstructor(Wi)
12016
+ M.H.Classes.GetClassConstructor(ji)
12010
12017
  ], xo.prototype, "fields");
12011
- let ji = xo;
12018
+ let Gi = xo;
12012
12019
  var Wg = Object.defineProperty, jg = (t, e, i, n) => {
12013
12020
  for (var s = void 0, r = t.length - 1, o; r >= 0; r--)
12014
12021
  (o = t[r]) && (s = o(e, i, s) || s);
@@ -12041,7 +12048,7 @@ const ko = class Io {
12041
12048
  this.isEdit = e ?? !this.isEdit;
12042
12049
  }
12043
12050
  addFormSection() {
12044
- const e = ji.Create(this.id);
12051
+ const e = Gi.Create(this.id);
12045
12052
  return this.formSections.push(e), M.H.Sorter.Sort(this.formSections), e;
12046
12053
  }
12047
12054
  getFields() {
@@ -12050,7 +12057,7 @@ const ko = class Io {
12050
12057
  }
12051
12058
  };
12052
12059
  jg([
12053
- M.H.Classes.GetClassConstructor(ji)
12060
+ M.H.Classes.GetClassConstructor(Gi)
12054
12061
  ], ko.prototype, "formSections");
12055
12062
  let Ro = ko;
12056
12063
  var Gg = Object.defineProperty, Vg = (t, e, i, n) => {
@@ -12138,7 +12145,7 @@ let Po = Ao;
12138
12145
  const _g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12139
12146
  __proto__: null,
12140
12147
  AnswerVariant: bt,
12141
- Field: Wi,
12148
+ Field: ji,
12142
12149
  FieldExample: So,
12143
12150
  FieldFill: Pt,
12144
12151
  FieldFillFile: Kn,
@@ -12147,7 +12154,7 @@ const _g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12147
12154
  FieldVariant: Lt,
12148
12155
  Form: Ro,
12149
12156
  FormFill: Po,
12150
- FormSection: ji,
12157
+ FormSection: Gi,
12151
12158
  SelectedAnswerVariant: Ct
12152
12159
  }, Symbol.toStringTag, { value: "Module" }));
12153
12160
  let Zg = class extends ae {
@@ -12164,7 +12171,7 @@ let Xg = class extends ae {
12164
12171
  const Yg = new Xg();
12165
12172
  let Qg = class extends ae {
12166
12173
  constructor() {
12167
- super(Wi, "fields");
12174
+ super(ji, "fields");
12168
12175
  }
12169
12176
  };
12170
12177
  const Kg = new Qg();
@@ -12176,7 +12183,7 @@ let e1 = class extends ae {
12176
12183
  const t1 = new e1();
12177
12184
  let i1 = class extends ae {
12178
12185
  constructor() {
12179
- super(ji, "form-sections");
12186
+ super(Gi, "form-sections");
12180
12187
  }
12181
12188
  };
12182
12189
  const n1 = new i1();
@@ -12205,7 +12212,7 @@ const a1 = new o1(), l1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
12205
12212
  C: _g,
12206
12213
  S: l1
12207
12214
  }, Symbol.toStringTag, { value: "Module" }));
12208
- class Gi {
12215
+ class Vi {
12209
12216
  constructor(e) {
12210
12217
  u(this, "id");
12211
12218
  u(this, "name", "");
@@ -12213,17 +12220,17 @@ class Gi {
12213
12220
  M.H.Classes.BuildClass(this, e);
12214
12221
  }
12215
12222
  static Create(e, i) {
12216
- const n = new Gi();
12223
+ const n = new Vi();
12217
12224
  return n.id = M.H.Id.UUID(), n.name = e, n.label = i, n;
12218
12225
  }
12219
12226
  }
12220
12227
  const c1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12221
12228
  __proto__: null,
12222
- ColorTheme: Gi
12229
+ ColorTheme: Vi
12223
12230
  }, Symbol.toStringTag, { value: "Module" }));
12224
12231
  class d1 extends ae {
12225
12232
  constructor() {
12226
- super(Gi, "color-themes");
12233
+ super(Vi, "color-themes");
12227
12234
  }
12228
12235
  }
12229
12236
  const h1 = new d1(), f1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -12240,7 +12247,7 @@ const h1 = new d1(), f1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.d
12240
12247
  Settings: m1
12241
12248
  }, Symbol.toStringTag, { value: "Module" })), G1 = {
12242
12249
  install: function(t) {
12243
- t.component("PButton", Ra), t.component("PCheckBox", Pa), t.component("PDatePicker", Da), t.component("PFlex", Ba), t.component("PInput", el), t.component("PInputDate", nl), t.component("PInputNumber", ol), t.component("PLeftSlider", ll), t.component("PList", cl), t.component("PListItem", hl), t.component("PRadio", gl), t.component("PRightSlider", bl), t.component("PSelect", $l), t.component("PSticky", El), t.component("PString", zl), t.component("PTextarea", ql), t.component("PTopSlider", jl), t.component("IconDownload", $u), t.component("IconFilter", Eu), t.component("ArrowLeft", Ju), t.component("ArrowRight", Yu), t.component("DoubleArrowLeft", Ku), t.component("DoubleArrowRight", tc), t.component("EllipsisSvg", nc), t.component("IconArrowLeft", Fu), t.component("IconCheckDefault", zu), t.component("IconClose", Ln), t.component("IconEdit", Du), t.component("IconEmail", Bu), t.component("IconMove", Nu), t.component("IconPhone", Wu), t.component("IconSearch", Gu), t.component("IconSelectArrow", _u), t.component("CollapseContainer", sd), t.component("CollapseItem", ud), t.component("VerticalCollapseContainer", fd), t.component("PAdd", gd), t.component("PContainer", yd), t.component("PContainerStickyHead", Sd), t.component("PDel", kd), t.component("PTabs", Fd), t.component("UploaderFile", Nd), t.component("AuthForm", Ad), t.component("PModal", Pd), t.component("AuthPage", kr), t.component("PageNotFound", Ir), t.component("AdaptiveContainer", ha), t.component("AdaptiveContainerHorizontal", ga), t.component("AdminGallery", Ma), t.component("AuthModal", Gl), t.component("CarouselImages", Ql), t.component("ContextWindow", Kl), t.component("DateInputRangeV2", ou), t.component("DateInputRange", iu), t.component("DropList", cu), t.component("FilterCheckbox", yu), t.component("FiltersButtonsSelect", bu), t.component("FilterSelect", xu), t.component("FTSPPanel", ku), t.component("GeneralItem", Ru), t.component("GridContainer", sr), t.component("ImageCropper", Uc), t.component("InfoItem", gn), t.component("InfoItemSelectButtons", _c), t.component("LeftRightContainer", Yc), t.component("MessageBody", td), t.component("PAutocomplete", Qd), t.component("PDialog", th), t.component("PhoneForm", nh), t.component("PLoader", oh), t.component("PNotification", lh), t.component("PPagination", mh), t.component("RemoteSearch", gh), t.component("ResearcheContainer", bh), t.component("RightSliderContainer", Ih), t.component("RightTabsContainer", Eh), t.component("SelectValueType", Oh), t.component("SingleNameToggleForm", Dh), t.component("SortList", Nh), t.component("SortSelect", jh), t.component("Switch3Pos", Jh), t.component("ThemeWrapper", Kh), t.component("ToggleInfoItem", tf), t.component("TopSliderContainer", of), t.component("UploaderImage", pf);
12250
+ t.component("PButton", Ra), t.component("PCheckBox", Pa), t.component("PDatePicker", Da), t.component("PFlex", Ba), t.component("PInput", el), t.component("PInputDate", nl), t.component("PInputNumber", ol), t.component("PLeftSlider", ll), t.component("PList", cl), t.component("PListItem", hl), t.component("PRadio", gl), t.component("PRightSlider", bl), t.component("PSelect", $l), t.component("PSticky", El), t.component("PString", zl), t.component("PTextarea", ql), t.component("PTopSlider", jl), t.component("IconDownload", $u), t.component("IconFilter", Eu), t.component("ArrowLeft", Ju), t.component("ArrowRight", Yu), t.component("DoubleArrowLeft", Ku), t.component("DoubleArrowRight", tc), t.component("EllipsisSvg", nc), t.component("IconArrowLeft", Fu), t.component("IconCheckDefault", zu), t.component("IconClose", Dn), t.component("IconEdit", Du), t.component("IconEmail", Bu), t.component("IconMove", Nu), t.component("IconPhone", Wu), t.component("IconSearch", Gu), t.component("IconSelectArrow", _u), t.component("CollapseContainer", sd), t.component("CollapseItem", ud), t.component("VerticalCollapseContainer", fd), t.component("PAdd", gd), t.component("PContainer", yd), t.component("PContainerStickyHead", Sd), t.component("PDel", kd), t.component("PTabs", Fd), t.component("UploaderFile", Nd), t.component("AuthForm", Ad), t.component("PModal", Pd), t.component("AuthPage", kr), t.component("PageNotFound", Ir), t.component("AdaptiveContainer", ha), t.component("AdaptiveContainerHorizontal", ga), t.component("AdminGallery", Ma), t.component("AuthModal", Gl), t.component("CarouselImages", Ql), t.component("ContextWindow", Kl), t.component("DateInputRangeV2", ou), t.component("DateInputRange", iu), t.component("DropList", cu), t.component("FilterCheckbox", yu), t.component("FiltersButtonsSelect", bu), t.component("FilterSelect", xu), t.component("FTSPPanel", ku), t.component("GeneralItem", Ru), t.component("GridContainer", sr), t.component("ImageCropper", Uc), t.component("InfoItem", vn), t.component("InfoItemSelectButtons", _c), t.component("LeftRightContainer", Yc), t.component("MessageBody", td), t.component("PAutocomplete", Qd), t.component("PDialog", th), t.component("PhoneForm", nh), t.component("PLoader", oh), t.component("PNotification", lh), t.component("PPagination", mh), t.component("RemoteSearch", gh), t.component("ResearcheContainer", bh), t.component("RightSliderContainer", Ih), t.component("RightTabsContainer", Eh), t.component("SelectValueType", Oh), t.component("SingleNameToggleForm", Dh), t.component("SortList", Nh), t.component("SortSelect", jh), t.component("Switch3Pos", Jh), t.component("ThemeWrapper", Kh), t.component("ToggleInfoItem", tf), t.component("TopSliderContainer", of), t.component("UploaderImage", pf);
12244
12251
  }
12245
12252
  }, V1 = ["PF", "PFM"];
12246
12253
  export {
@@ -12270,7 +12277,7 @@ export {
12270
12277
  sr as GridContainer,
12271
12278
  Fu as IconArrowLeft,
12272
12279
  zu as IconCheckDefault,
12273
- Ln as IconClose,
12280
+ Dn as IconClose,
12274
12281
  $u as IconDownload,
12275
12282
  Du as IconEdit,
12276
12283
  Bu as IconEmail,
@@ -12280,7 +12287,7 @@ export {
12280
12287
  Gu as IconSearch,
12281
12288
  _u as IconSelectArrow,
12282
12289
  Uc as ImageCropper,
12283
- gn as InfoItem,
12290
+ vn as InfoItem,
12284
12291
  _c as InfoItemSelectButtons,
12285
12292
  Yc as LeftRightContainer,
12286
12293
  td as MessageBody,