@opengis/admin 0.1.68 → 0.1.69

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { resolveComponent as zt, openBlock as Ee, createBlock as gn, shallowRef as CE, unref as nc, shallowReactive as EE, inject as _c, nextTick as gS, defineComponent as ro, reactive as AE, computed as Ks, h as kc, provide as Ay, ref as Rs, watch as T_, getCurrentInstance as M_, watchEffect as yS, createElementBlock as Re, createElementVNode as Y, withCtx as on, normalizeClass as ca, toDisplayString as It, renderSlot as _S, withDirectives as sm, vModelText as vS, createCommentVNode as Ls, Fragment as yn, renderList as Cr, normalizeStyle as pa, vModelCheckbox as PE, vShow as IE, createVNode as ii, createTextVNode as Ys, createStaticVNode as C_, onMounted as E_, withModifiers as wb, onBeforeUnmount as A_, markRaw as DE, customRef as OE, resolveDynamicComponent as zE } from "vue";
1
+ import { resolveComponent as Rt, openBlock as Ee, createBlock as gn, shallowRef as CE, unref as nc, shallowReactive as EE, inject as _c, nextTick as gS, defineComponent as ro, reactive as AE, computed as Ks, h as kc, provide as Ay, ref as Rs, watch as T_, getCurrentInstance as M_, watchEffect as yS, createElementBlock as Re, createElementVNode as Y, withCtx as on, normalizeClass as ca, toDisplayString as It, renderSlot as _S, withDirectives as sm, vModelText as vS, createCommentVNode as Ls, Fragment as yn, renderList as Cr, normalizeStyle as pa, vModelCheckbox as PE, vShow as IE, createVNode as ii, createTextVNode as Ys, createStaticVNode as C_, onMounted as E_, withModifiers as wb, onBeforeUnmount as A_, markRaw as DE, customRef as OE, resolveDynamicComponent as zE } from "vue";
2
2
  function xS(t, e) {
3
3
  return function() {
4
4
  return t.apply(e, arguments);
@@ -1680,37 +1680,37 @@ function US(t) {
1680
1680
  return US(vc(t, r));
1681
1681
  }, i;
1682
1682
  }
1683
- const Bt = US(up);
1684
- Bt.Axios = cc;
1685
- Bt.CanceledError = sh;
1686
- Bt.CancelToken = z_;
1687
- Bt.isCancel = RS;
1688
- Bt.VERSION = jS;
1689
- Bt.toFormData = Nm;
1690
- Bt.AxiosError = Gt;
1691
- Bt.Cancel = Bt.CanceledError;
1692
- Bt.all = function(e) {
1683
+ const zt = US(up);
1684
+ zt.Axios = cc;
1685
+ zt.CanceledError = sh;
1686
+ zt.CancelToken = z_;
1687
+ zt.isCancel = RS;
1688
+ zt.VERSION = jS;
1689
+ zt.toFormData = Nm;
1690
+ zt.AxiosError = Gt;
1691
+ zt.Cancel = zt.CanceledError;
1692
+ zt.all = function(e) {
1693
1693
  return Promise.all(e);
1694
1694
  };
1695
- Bt.spread = lP;
1696
- Bt.isAxiosError = cP;
1697
- Bt.mergeConfig = vc;
1698
- Bt.AxiosHeaders = Gr;
1699
- Bt.formToJSON = (t) => zS(Pe.isHTMLForm(t) ? new FormData(t) : t);
1700
- Bt.getAdapter = VS.getAdapter;
1701
- Bt.HttpStatusCode = O0;
1702
- Bt.default = Bt;
1703
- const Lt = (t, e) => {
1695
+ zt.spread = lP;
1696
+ zt.isAxiosError = cP;
1697
+ zt.mergeConfig = vc;
1698
+ zt.AxiosHeaders = Gr;
1699
+ zt.formToJSON = (t) => zS(Pe.isHTMLForm(t) ? new FormData(t) : t);
1700
+ zt.getAdapter = VS.getAdapter;
1701
+ zt.HttpStatusCode = O0;
1702
+ zt.default = zt;
1703
+ const Ft = (t, e) => {
1704
1704
  const i = t.__vccOpts || t;
1705
1705
  for (const [n, r] of e)
1706
1706
  i[n] = r;
1707
1707
  return i;
1708
1708
  }, uP = {};
1709
1709
  function hP(t, e, i, n, r, l) {
1710
- const u = zt("router-view");
1710
+ const u = Rt("router-view");
1711
1711
  return Ee(), gn(u);
1712
1712
  }
1713
- const dP = /* @__PURE__ */ Lt(uP, [["render", hP]]);
1713
+ const dP = /* @__PURE__ */ Ft(uP, [["render", hP]]);
1714
1714
  function pP() {
1715
1715
  return HS().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1716
1716
  }
@@ -3590,17 +3590,17 @@ function KH(t) {
3590
3590
  }
3591
3591
  const $I = [
3592
3592
  // { name: 'profile', path: '/profile', component: () => import('../components/profile/vs-profile.vue') },
3593
- { name: "edit", path: "/edit", component: () => import("./edit-page-DkD5JFQv.js") },
3594
- { name: "add", path: "/add", component: () => import("./add-page-Bv-BNhYQ.js") },
3593
+ { name: "edit", path: "/edit", component: () => import("./edit-page-DqEf35J2.js") },
3594
+ { name: "add", path: "/add", component: () => import("./add-page-w-DxgCiS.js") },
3595
3595
  {
3596
3596
  name: "card-view",
3597
3597
  path: "/card",
3598
- component: () => import("./card-view-MpG-dhK0.js"),
3598
+ component: () => import("./card-view-eMucbOjz.js"),
3599
3599
  children: [{
3600
3600
  name: "table",
3601
3601
  path: ":table",
3602
- component: () => import("./card-view-MpG-dhK0.js"),
3603
- children: [{ name: "card", path: ":id", component: () => import("./card-page-DtXydAxe.js") }]
3602
+ component: () => import("./card-view-eMucbOjz.js"),
3603
+ children: [{ name: "card", path: ":id", component: () => import("./card-page-Pw97vvNR.js") }]
3604
3604
  }]
3605
3605
  }
3606
3606
  ], VI = {}, jI = { class: "bg-gray-200 w-full px-16 md:px-0 h-screen flex items-center justify-center" }, UI = { class: "bg-white border border-gray-200 flex flex-col items-center justify-center px-4 md:px-8 lg:px-24 py-8 rounded-lg shadow-2xl" };
@@ -3632,7 +3632,7 @@ function HI(t, e, i, n, r, l) {
3632
3632
  ])
3633
3633
  ]);
3634
3634
  }
3635
- const qI = /* @__PURE__ */ Lt(VI, [["render", HI]]), WI = (t) => {
3635
+ const qI = /* @__PURE__ */ Ft(VI, [["render", HI]]), WI = (t) => {
3636
3636
  const e = $I.map((n) => ({
3637
3637
  ...n
3638
3638
  }));
@@ -3648,14 +3648,14 @@ const qI = /* @__PURE__ */ Lt(VI, [["render", HI]]), WI = (t) => {
3648
3648
  {
3649
3649
  path: "/",
3650
3650
  name: "home",
3651
- component: () => import("./admin-view-DykzQo5I.js"),
3651
+ component: () => import("./admin-view-DrOVwYHu.js"),
3652
3652
  children: [
3653
3653
  ...e,
3654
3654
  ...t,
3655
3655
  // { path: '/', redirect: '/home' },
3656
3656
  {
3657
3657
  path: "/:catchAll(.*)",
3658
- component: () => import("./admin-interface-j3f16Iy8.js")
3658
+ component: () => import("./admin-interface-DA_PeVj7.js")
3659
3659
  }
3660
3660
  ]
3661
3661
  }
@@ -3672,6 +3672,7 @@ const qI = /* @__PURE__ */ Lt(VI, [["render", HI]]), WI = (t) => {
3672
3672
  data: { type: Object },
3673
3673
  table: { type: String },
3674
3674
  name: String,
3675
+ data: Object,
3675
3676
  edit: { type: null, default: () => !1 },
3676
3677
  column: Object
3677
3678
  },
@@ -3679,8 +3680,11 @@ const qI = /* @__PURE__ */ Lt(VI, [["render", HI]]), WI = (t) => {
3679
3680
  async changeData(t) {
3680
3681
  var e;
3681
3682
  try {
3682
- await Bt.put(`/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`, {
3683
- ...this.data,
3683
+ const { data: i } = await zt.get(
3684
+ `/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`
3685
+ );
3686
+ await zt.put(`/api/table/${i == null ? void 0 : i.token}`, {
3687
+ ...i,
3684
3688
  [this.name]: t
3685
3689
  }), await this.$emit("update-table");
3686
3690
  } catch (i) {
@@ -3694,7 +3698,7 @@ const qI = /* @__PURE__ */ Lt(VI, [["render", HI]]), WI = (t) => {
3694
3698
  };
3695
3699
  function YI(t, e, i, n, r, l) {
3696
3700
  var a, g;
3697
- const u = zt("VsInlineEdit");
3701
+ const u = Rt("VsInlineEdit");
3698
3702
  return i.edit ? (Ee(), gn(u, {
3699
3703
  key: 0,
3700
3704
  "model-value": i.value,
@@ -3712,7 +3716,7 @@ function YI(t, e, i, n, r, l) {
3712
3716
  _: 1
3713
3717
  }, 8, ["model-value", "onUpdateValue", "title"])) : (Ee(), Re("div", ZI, It(i.value), 1));
3714
3718
  }
3715
- const t1 = /* @__PURE__ */ Lt(GI, [["render", YI]]), XI = {}, KI = {
3719
+ const t1 = /* @__PURE__ */ Ft(GI, [["render", YI]]), XI = {}, KI = {
3716
3720
  xmlns: "http://www.w3.org/2000/svg",
3717
3721
  width: "24",
3718
3722
  height: "24",
@@ -3728,7 +3732,7 @@ function JI(t, e, i, n, r, l) {
3728
3732
  Y("path", { d: "M20 6 9 17l-5-5" }, null, -1)
3729
3733
  ]));
3730
3734
  }
3731
- const QI = /* @__PURE__ */ Lt(XI, [["render", JI]]), eD = { class: "w-[170px]" }, tD = {
3735
+ const QI = /* @__PURE__ */ Ft(XI, [["render", JI]]), eD = { class: "w-[170px]" }, tD = {
3732
3736
  key: 0,
3733
3737
  class: "p-1 border-b border-gray-200 dark:border-neutral-800"
3734
3738
  }, iD = { class: "grid gap-y-0.5 p-1 max-h-[220px] overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" }, nD = ["value", "onChange"], rD = { class: "text-sm text-gray-800 ms-2" }, sD = {
@@ -3753,7 +3757,7 @@ const QI = /* @__PURE__ */ Lt(XI, [["render", JI]]), eD = { class: "w-[170px]" }
3753
3757
  r.value === _ ? r.value = "" : r.value = _, i("update:value", r), u.value.togglePopover();
3754
3758
  };
3755
3759
  return (_, S) => {
3756
- const k = zt("VsPopover");
3760
+ const k = Rt("VsPopover");
3757
3761
  return Ee(), gn(k, {
3758
3762
  ref_key: "popover",
3759
3763
  ref: u
@@ -3836,7 +3840,7 @@ const QI = /* @__PURE__ */ Lt(XI, [["render", JI]]), eD = { class: "w-[170px]" }
3836
3840
  async getOptions() {
3837
3841
  var t;
3838
3842
  try {
3839
- const { data: e } = await Bt.get(`/api/suggest/${(t = this.column) == null ? void 0 : t.data}`);
3843
+ const { data: e } = await zt.get(`/api/suggest/${(t = this.column) == null ? void 0 : t.data}`);
3840
3844
  this.optionsList = e;
3841
3845
  } catch {
3842
3846
  }
@@ -3856,14 +3860,17 @@ const QI = /* @__PURE__ */ Lt(XI, [["render", JI]]), eD = { class: "w-[170px]" }
3856
3860
  throw new Error("Invalid color format");
3857
3861
  },
3858
3862
  async changeData(t) {
3859
- var e;
3863
+ var e, i;
3860
3864
  try {
3861
- await Bt.put(`/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`, {
3862
- ...this.data,
3865
+ const n = await zt.get(
3866
+ `/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`
3867
+ );
3868
+ await zt.put(`/api/table/${(i = n == null ? void 0 : n.data) == null ? void 0 : i.token}`, {
3869
+ ...n == null ? void 0 : n.data,
3863
3870
  [this.name]: t
3864
3871
  }), await this.$emit("update-table");
3865
- } catch (i) {
3866
- console.log(i);
3872
+ } catch (n) {
3873
+ console.log(n);
3867
3874
  }
3868
3875
  }
3869
3876
  }
@@ -3873,7 +3880,7 @@ const QI = /* @__PURE__ */ Lt(XI, [["render", JI]]), eD = { class: "w-[170px]" }
3873
3880
  }, cD = { key: 1 };
3874
3881
  function uD(t, e, i, n, r, l) {
3875
3882
  var a, g, _;
3876
- const u = zt("AdminBadgeEdit");
3883
+ const u = Rt("AdminBadgeEdit");
3877
3884
  return i.edit ? (Ee(), gn(u, {
3878
3885
  key: 0,
3879
3886
  options: r.optionsList,
@@ -3910,7 +3917,7 @@ function uD(t, e, i, n, r, l) {
3910
3917
  }, It((_ = l.getData) == null ? void 0 : _.text), 5)) : (Ee(), Re("div", cD, "-"))
3911
3918
  ]));
3912
3919
  }
3913
- const hD = /* @__PURE__ */ Lt(oD, [["render", uD]]), dD = {}, pD = {
3920
+ const hD = /* @__PURE__ */ Ft(oD, [["render", uD]]), dD = {}, pD = {
3914
3921
  xmlns: "http://www.w3.org/2000/svg",
3915
3922
  viewBox: "0 0 24 24",
3916
3923
  fill: "none",
@@ -3930,12 +3937,12 @@ function fD(t, e, i, n, r, l) {
3930
3937
  Y("path", { d: "M5 12l5 5l10 -10" }, null, -1)
3931
3938
  ]));
3932
3939
  }
3933
- const uk = /* @__PURE__ */ Lt(dD, [["render", fD]]), mD = {
3940
+ const uk = /* @__PURE__ */ Ft(dD, [["render", fD]]), mD = {
3934
3941
  components: { IconCheck: uk },
3935
3942
  props: { value: Boolean }
3936
3943
  }, gD = { class: "px-[20px]" }, yD = { key: 1 };
3937
3944
  function _D(t, e, i, n, r, l) {
3938
- const u = zt("IconCheck");
3945
+ const u = Rt("IconCheck");
3939
3946
  return Ee(), Re("div", gD, [
3940
3947
  i.value ? (Ee(), gn(u, {
3941
3948
  key: 0,
@@ -3945,7 +3952,7 @@ function _D(t, e, i, n, r, l) {
3945
3952
  })) : (Ee(), Re("div", yD))
3946
3953
  ]);
3947
3954
  }
3948
- const i1 = /* @__PURE__ */ Lt(mD, [["render", _D]]), vD = {
3955
+ const i1 = /* @__PURE__ */ Ft(mD, [["render", _D]]), vD = {
3949
3956
  components: { AdminBadgeEdit: ck },
3950
3957
  props: {
3951
3958
  data: Object,
@@ -3976,20 +3983,23 @@ const i1 = /* @__PURE__ */ Lt(mD, [["render", _D]]), vD = {
3976
3983
  async getOptions() {
3977
3984
  var t;
3978
3985
  try {
3979
- const { data: e } = await Bt.get(`/api/suggest/${(t = this.column) == null ? void 0 : t.data}`);
3986
+ const { data: e } = await zt.get(`/api/suggest/${(t = this.column) == null ? void 0 : t.data}`);
3980
3987
  this.optionsList = e;
3981
3988
  } catch {
3982
3989
  }
3983
3990
  },
3984
3991
  async changeData(t) {
3985
- var e;
3992
+ var e, i;
3986
3993
  try {
3987
- await Bt.put(`/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`, {
3988
- ...this.data,
3994
+ const n = await zt.get(
3995
+ `/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`
3996
+ );
3997
+ await zt.put(`/api/table/${(i = n == null ? void 0 : n.data) == null ? void 0 : i.token}`, {
3998
+ ...n.data,
3989
3999
  [this.name]: t
3990
4000
  }), await this.$emit("update-table");
3991
- } catch (i) {
3992
- console.log(i);
4001
+ } catch (n) {
4002
+ console.log(n);
3993
4003
  }
3994
4004
  }
3995
4005
  }
@@ -4001,7 +4011,7 @@ const i1 = /* @__PURE__ */ Lt(mD, [["render", _D]]), vD = {
4001
4011
  class: "cursor-pointer"
4002
4012
  }, SD = { key: 0 }, kD = { key: 1 }, TD = { key: 1 };
4003
4013
  function MD(t, e, i, n, r, l) {
4004
- const u = zt("AdminBadgeEdit");
4014
+ const u = Rt("AdminBadgeEdit");
4005
4015
  return Ee(), Re("div", xD, [
4006
4016
  i.edit ? (Ee(), gn(u, {
4007
4017
  key: 0,
@@ -4028,7 +4038,7 @@ function MD(t, e, i, n, r, l) {
4028
4038
  ], 64))
4029
4039
  ]);
4030
4040
  }
4031
- const CD = /* @__PURE__ */ Lt(vD, [["render", MD]]), ED = {
4041
+ const CD = /* @__PURE__ */ Ft(vD, [["render", MD]]), ED = {
4032
4042
  props: {
4033
4043
  value: {
4034
4044
  type: [String, Number],
@@ -4053,7 +4063,7 @@ function DD(t, e, i, n, r, l) {
4053
4063
  l.getData ? (Ee(), Re("div", PD, It(l.getData), 1)) : (Ee(), Re("div", ID, "-"))
4054
4064
  ]);
4055
4065
  }
4056
- const OD = /* @__PURE__ */ Lt(ED, [["render", DD]]);
4066
+ const OD = /* @__PURE__ */ Ft(ED, [["render", DD]]);
4057
4067
  //! moment.js
4058
4068
  //! version : 2.30.1
4059
4069
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -6656,14 +6666,17 @@ const zL = {
6656
6666
  },
6657
6667
  methods: {
6658
6668
  async changeData(t) {
6659
- var e;
6669
+ var e, i;
6660
6670
  try {
6661
- await Bt.put(`/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`, {
6662
- ...this.data,
6671
+ const n = await zt.get(
6672
+ `/api/table/${this.table}/${(e = this.data) == null ? void 0 : e.id}`
6673
+ );
6674
+ await zt.put(`/api/table/${(i = n == null ? void 0 : n.data) == null ? void 0 : i.token}`, {
6675
+ ...n == null ? void 0 : n.data,
6663
6676
  [this.name]: t
6664
6677
  }), await this.$emit("update-table");
6665
- } catch (i) {
6666
- console.log(i);
6678
+ } catch (n) {
6679
+ console.log(n);
6667
6680
  }
6668
6681
  }
6669
6682
  }
@@ -6673,7 +6686,7 @@ const zL = {
6673
6686
  };
6674
6687
  function FL(t, e, i, n, r, l) {
6675
6688
  var a;
6676
- const u = zt("VsInlineEdit");
6689
+ const u = Rt("VsInlineEdit");
6677
6690
  return i.edit ? (Ee(), gn(u, {
6678
6691
  key: 0,
6679
6692
  "model-value": ((a = i.data) == null ? void 0 : a[i.name]) || null,
@@ -6686,7 +6699,7 @@ function FL(t, e, i, n, r, l) {
6686
6699
  _: 1
6687
6700
  }, 8, ["model-value", "onUpdateValue"])) : (Ee(), Re("div", LL, It(l.dateValue), 1));
6688
6701
  }
6689
- const BL = /* @__PURE__ */ Lt(zL, [["render", FL]]), NL = ro({
6702
+ const BL = /* @__PURE__ */ Ft(zL, [["render", FL]]), NL = ro({
6690
6703
  name: "VsNumberValue",
6691
6704
  props: {
6692
6705
  data: {
@@ -6709,7 +6722,7 @@ const BL = /* @__PURE__ */ Lt(zL, [["render", FL]]), NL = ro({
6709
6722
  function VL(t, e, i, n, r, l) {
6710
6723
  return Ee(), Re("span", $L, It(t.formattedValue), 1);
6711
6724
  }
6712
- const jL = /* @__PURE__ */ Lt(NL, [["render", VL]]), UL = {
6725
+ const jL = /* @__PURE__ */ Ft(NL, [["render", VL]]), UL = {
6713
6726
  // formats
6714
6727
  "table-format-text": t1,
6715
6728
  "table-format-select": CD,
@@ -7305,7 +7318,7 @@ var n2 = { exports: {} };
7305
7318
  return c.kind === "array" && o.kind === "array" ? c.itemType.kind === o.itemType.kind && typeof c.N == "number" : c.kind === o.kind;
7306
7319
  }
7307
7320
  const ue = 0.96422, Ce = 0.82521, Le = 4 / 29, ke = 6 / 29, Ue = 3 * ke * ke, xt = ke * ke * ke, St = Math.PI / 180, li = 180 / Math.PI;
7308
- function Ft(c) {
7321
+ function Bt(c) {
7309
7322
  return (c %= 360) < 0 && (c += 360), c;
7310
7323
  }
7311
7324
  function ci([c, o, h, p]) {
@@ -7387,7 +7400,7 @@ var n2 = { exports: {} };
7387
7400
  const nt = (Be + oe / 30) % 12, kt = ve * Math.min(pe, 1 - pe);
7388
7401
  return pe - kt * Math.max(-1, Math.min(nt - 3, 9 - nt, 1));
7389
7402
  }
7390
- return oe = Ft(oe), ve /= 100, pe /= 100, [Te(0), Te(8), Te(4), ye];
7403
+ return oe = Bt(oe), ve /= 100, pe /= 100, [Te(0), Te(8), Te(4), ye];
7391
7404
  }(ie);
7392
7405
  }
7393
7406
  }
@@ -7401,7 +7414,7 @@ var n2 = { exports: {} };
7401
7414
  get hcl() {
7402
7415
  return this.overwriteGetter("hcl", function(o) {
7403
7416
  const [h, p, y, b] = ci(o), w = Math.sqrt(p * p + y * y);
7404
- return [Math.round(1e4 * w) ? Ft(Math.atan2(y, p) * li) : NaN, w, h, b];
7417
+ return [Math.round(1e4 * w) ? Bt(Math.atan2(y, p) * li) : NaN, w, h, b];
7405
7418
  }(this.rgb));
7406
7419
  }
7407
7420
  get lab() {
@@ -15100,12 +15113,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15100
15113
  const jt = new AbortController();
15101
15114
  this.inFlightDependencies.push(jt), li = te.sendAsync({ type: "GI", data: { icons: St, source: this.source, tileID: this.tileID, type: "patterns" } }, jt);
15102
15115
  }
15103
- const [Ft, ci, Zt] = yield Promise.all([ke, xt, li]), cn = new g(Ft), Xi = new u.bo(ci, Zt);
15116
+ const [Bt, ci, Zt] = yield Promise.all([ke, xt, li]), cn = new g(Bt), Xi = new u.bo(ci, Zt);
15104
15117
  for (const jt in _e) {
15105
15118
  const wi = _e[jt];
15106
- wi instanceof u.a6 ? (S(wi.layers, this.zoom, Z), u.bp({ bucket: wi, glyphMap: Ft, glyphPositions: cn.positions, imageMap: ci, imagePositions: Xi.iconPositions, showCollisionBoxes: this.showCollisionBoxes, canonical: this.tileID.canonical })) : wi.hasPattern && (wi instanceof u.bq || wi instanceof u.br || wi instanceof u.bs) && (S(wi.layers, this.zoom, Z), wi.addFeatures(ue, this.tileID.canonical, Xi.patternPositions));
15119
+ wi instanceof u.a6 ? (S(wi.layers, this.zoom, Z), u.bp({ bucket: wi, glyphMap: Bt, glyphPositions: cn.positions, imageMap: ci, imagePositions: Xi.iconPositions, showCollisionBoxes: this.showCollisionBoxes, canonical: this.tileID.canonical })) : wi.hasPattern && (wi instanceof u.bq || wi instanceof u.br || wi instanceof u.bs) && (S(wi.layers, this.zoom, Z), wi.addFeatures(ue, this.tileID.canonical, Xi.patternPositions));
15107
15120
  }
15108
- return this.status = "done", { buckets: Object.values(_e).filter((jt) => !jt.isEmpty()), featureIndex: fe, collisionBoxArray: this.collisionBoxArray, glyphAtlasImage: cn.image, imageAtlas: Xi, glyphMap: this.returnDependencies ? Ft : null, iconMap: this.returnDependencies ? ci : null, glyphPositions: this.returnDependencies ? cn.positions : null };
15121
+ return this.status = "done", { buckets: Object.values(_e).filter((jt) => !jt.isEmpty()), featureIndex: fe, collisionBoxArray: this.collisionBoxArray, glyphAtlasImage: cn.image, imageAtlas: Xi, glyphMap: this.returnDependencies ? Bt : null, iconMap: this.returnDependencies ? ci : null, glyphPositions: this.returnDependencies ? cn.positions : null };
15109
15122
  });
15110
15123
  }
15111
15124
  }
@@ -15409,8 +15422,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15409
15422
  else {
15410
15423
  const li = this.points[j[ue + zi]];
15411
15424
  Le = li.properties;
15412
- const [Ft, ci] = li.geometry.coordinates;
15413
- ke = Me(Ft), Ue = je(ci);
15425
+ const [Bt, ci] = li.geometry.coordinates;
15426
+ ke = Me(Bt), Ue = je(ci);
15414
15427
  }
15415
15428
  const xt = { type: 1, geometry: [[Math.round(this.options.extent * (ke * de - Z)), Math.round(this.options.extent * (Ue * de - te))]], tags: Le };
15416
15429
  let St;
@@ -15426,12 +15439,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15426
15439
  if (ue[ke + 2] <= j) continue;
15427
15440
  ue[ke + 2] = j;
15428
15441
  const Ue = ue[ke], xt = ue[ke + 1], St = U.within(ue[ke], ue[ke + 1], _e), li = ue[ke + bi];
15429
- let Ft = li;
15442
+ let Bt = li;
15430
15443
  for (const ci of St) {
15431
15444
  const Zt = ci * Le;
15432
- ue[Zt + 2] > j && (Ft += ue[Zt + bi]);
15445
+ ue[Zt + 2] > j && (Bt += ue[Zt + bi]);
15433
15446
  }
15434
- if (Ft > li && Ft >= fe) {
15447
+ if (Bt > li && Bt >= fe) {
15435
15448
  let ci, Zt = Ue * li, cn = xt * li, Xi = -1;
15436
15449
  const jt = ((ke / Le | 0) << 5) + (j + 1) + this.points.length;
15437
15450
  for (const wi of St) {
@@ -15441,10 +15454,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15441
15454
  const vn = ue[Wi + bi];
15442
15455
  Zt += ue[Wi] * vn, cn += ue[Wi + 1] * vn, ue[Wi + 4] = jt, de && (ci || (ci = this._map(ue, ke, !0), Xi = this.clusterProps.length, this.clusterProps.push(ci)), de(ci, this._map(ue, Wi)));
15443
15456
  }
15444
- ue[ke + 4] = jt, Ce.push(Zt / Ft, cn / Ft, 1 / 0, jt, -1, Ft), de && Ce.push(Xi);
15457
+ ue[ke + 4] = jt, Ce.push(Zt / Bt, cn / Bt, 1 / 0, jt, -1, Bt), de && Ce.push(Xi);
15445
15458
  } else {
15446
15459
  for (let ci = 0; ci < Le; ci++) Ce.push(ue[ke + ci]);
15447
- if (Ft > 1) for (const ci of St) {
15460
+ if (Bt > 1) for (const ci of St) {
15448
15461
  const Zt = ci * Le;
15449
15462
  if (!(ue[Zt + 2] <= j)) {
15450
15463
  ue[Zt + 2] = j;
@@ -15598,8 +15611,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15598
15611
  else if (ke === "MultiLineString") Ir(Le, St, j, Z, te, !1);
15599
15612
  else if (ke === "Polygon") Ir(Le, St, j, Z, te, !0);
15600
15613
  else if (ke === "MultiPolygon") for (const li of Le) {
15601
- const Ft = [];
15602
- Ir(li, Ft, j, Z, te, !0), Ft.length && St.push(Ft);
15614
+ const Bt = [];
15615
+ Ir(li, Bt, j, Z, te, !0), Bt.length && St.push(Bt);
15603
15616
  }
15604
15617
  if (St.length) {
15605
15618
  if (_e.lineMetrics && ke === "LineString") {
@@ -15621,8 +15634,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15621
15634
  let _e = Mn(re);
15622
15635
  const ue = te === 0 ? vs : xs;
15623
15636
  let Ce, Le, ke = re.start;
15624
- for (let Ft = 0; Ft < re.length - 3; Ft += 3) {
15625
- const ci = re[Ft], Zt = re[Ft + 1], cn = re[Ft + 2], Xi = re[Ft + 3], jt = re[Ft + 4], wi = te === 0 ? ci : Zt, Wi = te === 0 ? Xi : jt;
15637
+ for (let Bt = 0; Bt < re.length - 3; Bt += 3) {
15638
+ const ci = re[Bt], Zt = re[Bt + 1], cn = re[Bt + 2], Xi = re[Bt + 3], jt = re[Bt + 4], wi = te === 0 ? ci : Zt, Wi = te === 0 ? Xi : jt;
15626
15639
  let vn = !1;
15627
15640
  fe && (Ce = Math.sqrt(Math.pow(ci - Xi, 2) + Math.pow(Zt - jt, 2))), wi < j ? Wi > j && (Le = ue(_e, ci, Zt, Xi, jt, j), fe && (_e.start = ke + Ce * Le)) : wi > Z ? Wi < Z && (Le = ue(_e, ci, Zt, Xi, jt, Z), fe && (_e.start = ke + Ce * Le)) : Cn(_e, ci, Zt, cn), Wi < j && wi >= j && (Le = ue(_e, ci, Zt, Xi, jt, j), vn = !0), Wi > Z && wi <= Z && (Le = ue(_e, ci, Zt, Xi, jt, Z), vn = !0), !de && vn && (fe && (_e.end = ke + Ce * Le), U.push(_e), _e = Mn(re)), fe && (ke += Ce);
15628
15641
  }
@@ -15775,9 +15788,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15775
15788
  }
15776
15789
  if (xt.source = null, U.length === 0) continue;
15777
15790
  Le > 1 && console.time("clipping");
15778
- const St = 0.5 * Ce.buffer / Ce.extent, li = 0.5 - St, Ft = 0.5 + St, ci = 1 + St;
15779
- let Zt = null, cn = null, Xi = null, jt = null, wi = gi(U, ke, Z - St, Z + Ft, 0, xt.minX, xt.maxX, Ce), Wi = gi(U, ke, Z + li, Z + ci, 0, xt.minX, xt.maxX, Ce);
15780
- U = null, wi && (Zt = gi(wi, ke, te - St, te + Ft, 1, xt.minY, xt.maxY, Ce), cn = gi(wi, ke, te + li, te + ci, 1, xt.minY, xt.maxY, Ce), wi = null), Wi && (Xi = gi(Wi, ke, te - St, te + Ft, 1, xt.minY, xt.maxY, Ce), jt = gi(Wi, ke, te + li, te + ci, 1, xt.minY, xt.maxY, Ce), Wi = null), Le > 1 && console.timeEnd("clipping"), ue.push(Zt || [], j + 1, 2 * Z, 2 * te), ue.push(cn || [], j + 1, 2 * Z, 2 * te + 1), ue.push(Xi || [], j + 1, 2 * Z + 1, 2 * te), ue.push(jt || [], j + 1, 2 * Z + 1, 2 * te + 1);
15791
+ const St = 0.5 * Ce.buffer / Ce.extent, li = 0.5 - St, Bt = 0.5 + St, ci = 1 + St;
15792
+ let Zt = null, cn = null, Xi = null, jt = null, wi = gi(U, ke, Z - St, Z + Bt, 0, xt.minX, xt.maxX, Ce), Wi = gi(U, ke, Z + li, Z + ci, 0, xt.minX, xt.maxX, Ce);
15793
+ U = null, wi && (Zt = gi(wi, ke, te - St, te + Bt, 1, xt.minY, xt.maxY, Ce), cn = gi(wi, ke, te + li, te + ci, 1, xt.minY, xt.maxY, Ce), wi = null), Wi && (Xi = gi(Wi, ke, te - St, te + Bt, 1, xt.minY, xt.maxY, Ce), jt = gi(Wi, ke, te + li, te + ci, 1, xt.minY, xt.maxY, Ce), Wi = null), Le > 1 && console.timeEnd("clipping"), ue.push(Zt || [], j + 1, 2 * Z, 2 * te), ue.push(cn || [], j + 1, 2 * Z, 2 * te + 1), ue.push(Xi || [], j + 1, 2 * Z + 1, 2 * te), ue.push(jt || [], j + 1, 2 * Z + 1, 2 * te + 1);
15781
15794
  }
15782
15795
  }
15783
15796
  getTile(U, j, Z) {
@@ -15874,8 +15887,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15874
15887
  if (!_e || !fe) return fe;
15875
15888
  const ue = {}, Ce = {}, Le = { accumulated: null, zoom: 0 }, ke = { properties: null }, Ue = Object.keys(_e);
15876
15889
  for (const xt of Ue) {
15877
- const [St, li] = _e[xt], Ft = u.bC(li), ci = u.bC(typeof St == "string" ? [St, ["accumulated"], ["get", xt]] : St);
15878
- ue[xt] = Ft.value, Ce[xt] = ci.value;
15890
+ const [St, li] = _e[xt], Bt = u.bC(li), ci = u.bC(typeof St == "string" ? [St, ["accumulated"], ["get", xt]] : St);
15891
+ ue[xt] = Bt.value, Ce[xt] = ci.value;
15879
15892
  }
15880
15893
  return fe.map = (xt) => {
15881
15894
  ke.properties = xt;
@@ -18275,10 +18288,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18275
18288
  const f = s[0], m = s[1];
18276
18289
  return x[0] = d[0] * f + d[4] * m + d[12], x[1] = d[1] * f + d[5] * m + d[13], x[3] = d[3] * f + d[7] * m + d[15], x;
18277
18290
  }
18278
- const Ft = 100;
18291
+ const Bt = 100;
18279
18292
  class ci {
18280
18293
  constructor(s, d, f = new en(s.width + 200, s.height + 200, 25), m = new en(s.width + 200, s.height + 200, 25)) {
18281
- this.transform = s, this.mapProjection = d, this.grid = f, this.ignoredGrid = m, this.pitchFactor = Math.cos(s._pitch) * s.cameraToCenterDistance, this.screenRightBoundary = s.width + Ft, this.screenBottomBoundary = s.height + Ft, this.gridRightBoundary = s.width + 200, this.gridBottomBoundary = s.height + 200, this.perspectiveRatioCutoff = 0.6;
18294
+ this.transform = s, this.mapProjection = d, this.grid = f, this.ignoredGrid = m, this.pitchFactor = Math.cos(s._pitch) * s.cameraToCenterDistance, this.screenRightBoundary = s.width + Bt, this.screenBottomBoundary = s.height + Bt, this.gridRightBoundary = s.width + 200, this.gridBottomBoundary = s.height + 200, this.perspectiveRatioCutoff = 0.6;
18282
18295
  }
18283
18296
  placeCollisionBox(s, d, f, m, v, C, A, D, R, F, B) {
18284
18297
  const q = s.anchorPointX + D[0], K = s.anchorPointY + D[1], J = this.projectAndGetPerspectiveRatio(m, q, K, v, F), ne = f * J.perspectiveRatio;
@@ -18315,7 +18328,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18315
18328
  let Yt = 0;
18316
18329
  Yt = pt.length <= 0.5 * rt ? 1 : Math.ceil(pt.paddedLength / At) + 1;
18317
18330
  for (let Vi = 0; Vi < Yt; Vi++) {
18318
- const zn = Vi / Math.max(Yt - 1, 1), ns = pt.lerp(zn), ji = ns.x + Ft, ar = ns.y + Ft;
18331
+ const zn = Vi / Math.max(Yt - 1, 1), ns = pt.lerp(zn), ji = ns.x + Bt, ar = ns.y + Bt;
18319
18332
  le.push(ji, ar, rt, 0);
18320
18333
  const Yn = ji - rt, Rn = ar - rt, Xn = ji + rt, Ts = ar + rt;
18321
18334
  if (Je = Je && this.isOffscreen(Yn, Rn, Xn, Ts), $e = $e || this.isInsideGrid(Yn, Rn, Xn, Ts), s !== "always" && this.grid.hitTestCircle(ji, ar, rt, s, q) && (ze = !0, !F)) return { circles: [], offscreen: !1, collisionDetected: ze };
@@ -18332,7 +18345,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18332
18345
  const d = [];
18333
18346
  let f = 1 / 0, m = 1 / 0, v = -1 / 0, C = -1 / 0;
18334
18347
  for (const F of s) {
18335
- const B = new a.P(F.x + Ft, F.y + Ft);
18348
+ const B = new a.P(F.x + Bt, F.y + Bt);
18336
18349
  f = Math.min(f, B.x), m = Math.min(m, B.y), v = Math.max(v, B.x), C = Math.max(C, B.y), d.push(B);
18337
18350
  }
18338
18351
  const A = this.grid.query(f, m, v, C).concat(this.ignoredGrid.query(f, m, v, C)), D = {}, R = {};
@@ -18355,14 +18368,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18355
18368
  let C;
18356
18369
  v ? (C = [d, f, v(d, f), 1], a.af(C, C, s)) : (C = [d, f, 0, 1], li(C, C, s));
18357
18370
  const A = C[3];
18358
- return { point: new a.P((C[0] / A + 1) / 2 * this.transform.width + Ft, (-C[1] / A + 1) / 2 * this.transform.height + Ft), perspectiveRatio: 0.5 + this.transform.cameraToCenterDistance / A * 0.5, isOccluded: !1, signedDistanceFromCamera: A };
18371
+ return { point: new a.P((C[0] / A + 1) / 2 * this.transform.width + Bt, (-C[1] / A + 1) / 2 * this.transform.height + Bt), perspectiveRatio: 0.5 + this.transform.cameraToCenterDistance / A * 0.5, isOccluded: !1, signedDistanceFromCamera: A };
18359
18372
  }
18360
18373
  getPerspectiveRatio(s, d, f, m, v) {
18361
18374
  const C = this.mapProjection.useSpecialProjectionForSymbols ? this.mapProjection.projectTileCoordinates(d, f, m, v) : re(d, f, s, v);
18362
18375
  return 0.5 + this.transform.cameraToCenterDistance / C.signedDistanceFromCamera * 0.5;
18363
18376
  }
18364
18377
  isOffscreen(s, d, f, m) {
18365
- return f < Ft || s >= this.screenRightBoundary || m < Ft || d > this.screenBottomBoundary;
18378
+ return f < Bt || s >= this.screenRightBoundary || m < Bt || d > this.screenBottomBoundary;
18366
18379
  }
18367
18380
  isInsideGrid(s, d, f, m) {
18368
18381
  return f >= 0 && s < this.gridRightBoundary && m >= 0 && d < this.gridBottomBoundary;
@@ -18702,7 +18715,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18702
18715
  }
18703
18716
  function _a(x, s, d, f, m, v) {
18704
18717
  f && f.length !== 0 || (f = [0, 0, 0, 0]);
18705
- const C = f[0] - Ft, A = f[1] - Ft, D = f[2] - Ft, R = f[3] - Ft;
18718
+ const C = f[0] - Bt, A = f[1] - Bt, D = f[2] - Bt, R = f[3] - Bt;
18706
18719
  x.emplaceBack(s ? 1 : 0, d ? 1 : 0, m || 0, v || 0, C, A), x.emplaceBack(s ? 1 : 0, d ? 1 : 0, m || 0, v || 0, D, A), x.emplaceBack(s ? 1 : 0, d ? 1 : 0, m || 0, v || 0, D, R), x.emplaceBack(s ? 1 : 0, d ? 1 : 0, m || 0, v || 0, C, R);
18707
18720
  }
18708
18721
  const Si = Math.pow(2, 25), hh = Math.pow(2, 24), dh = Math.pow(2, 17), vr = Math.pow(2, 16), xr = Math.pow(2, 9), fg = Math.pow(2, 8), zr = Math.pow(2, 1);
@@ -24896,7 +24909,7 @@ Ur.point = async (t = {}, e = {}, i = null) => {
24896
24909
  const Ae = (se = (G = t.meta) == null ? void 0 : G.columns) == null ? void 0 : se.find((Oe) => {
24897
24910
  var Qe;
24898
24911
  return Oe.name === ((Qe = t == null ? void 0 : t.style) == null ? void 0 : Qe.iconAttr);
24899
- }), Xe = (Ae == null ? void 0 : Ae.values) || await Bt.get(`/api-user/gis-ir/${t.id}/${(ce = t.style) == null ? void 0 : ce.iconAttr}`).then((Oe) => Oe.data.rows);
24912
+ }), Xe = (Ae == null ? void 0 : Ae.values) || await zt.get(`/api-user/gis-ir/${t.id}/${(ce = t.style) == null ? void 0 : ce.iconAttr}`).then((Oe) => Oe.data.rows);
24900
24913
  if (Xe != null && Xe.length) {
24901
24914
  const Oe = r.replace("{{color}}", a.length ? a : XL(a) || [0]).split("+")[1].split(/[.-]/)[0];
24902
24915
  Xe.forEach((Qe, lt) => {
@@ -24907,7 +24920,7 @@ Ur.point = async (t = {}, e = {}, i = null) => {
24907
24920
  r = n ? "pin6-m-fa-star+{{color}}.png" : `pin6-m-fa-star+${a == null ? void 0 : a.replace("#", "")}.png`;
24908
24921
  }
24909
24922
  if (r != null && r.includes("{{color}}") ? r = r.replace("{{color}}", "222") : e != null && e.icon && e.iconAttr, n) {
24910
- const Ae = (De = (Q = t.meta) == null ? void 0 : Q.columns) == null ? void 0 : De.find((Oe) => Oe.name === n), Xe = (Ae == null ? void 0 : Ae.values) || await Bt.get(`/api-user/gis-ir/${t.id}/${n}`).then((Oe) => Oe.data.rows);
24923
+ const Ae = (De = (Q = t.meta) == null ? void 0 : Q.columns) == null ? void 0 : De.find((Oe) => Oe.name === n), Xe = (Ae == null ? void 0 : Ae.values) || await zt.get(`/api-user/gis-ir/${t.id}/${n}`).then((Oe) => Oe.data.rows);
24911
24924
  t.style.color = Xe != null && Xe.length ? ["match", ["get", n]].concat(Xe.filter((Oe) => Oe.id).reduce((Oe, Qe, lt) => Oe.concat([Qe.id, Qe.color || fm[lt]]), [])).concat(["#aaa"]) : a, t.style.colorArr = t.style.color, t.legendAuto.colorText = (Ae == null ? void 0 : Ae.title) || n, Xe.forEach((Oe) => t.legendAuto.color.push(Oe)), t.legendAuto.color.push({ color: "#aaa", text: "Не визначено" }), !((Se = t.style) != null && Se.iconAttr) && !(r != null && r.includes("+sdf")) && r && (Xe.forEach((Oe, Qe) => Oe.icon = _(r, Oe.color || fm[Qe])), t.style.iconArr = ["match", ["get", n]].concat(Xe.filter((Oe) => Oe.id).reduce((Oe, Qe) => Oe.concat([Qe.id, Qe.icon]), [])).concat([_(r, g)]), await Promise.all(Xe.map((Oe) => Oe.icon).map((Oe) => Mf(Oe, i))));
24912
24925
  }
24913
24926
  if (r && !(r != null && r.includes("{"))) {
@@ -25093,7 +25106,7 @@ Ur.polygon = async (t = {}, e = {}, i = null) => {
25093
25106
  const { colorAttr: n } = e, r = ((l = t.style) == null ? void 0 : l.color) || "blue";
25094
25107
  if (e.colorAttr) {
25095
25108
  i.getSource(t.id) && i.getSource(i.getSource(t.id).setData(`${i.getSource(t.id)._data.split("&props")[0]}&props=${n}`));
25096
- const _ = ((a = (u = t.meta) == null ? void 0 : u.columns.find((S) => S.name === n)) == null ? void 0 : a.values) || await Bt.get(`/api-user/gis-ir/${t.id}/${n}`).then((S) => S.data.rows);
25109
+ const _ = ((a = (u = t.meta) == null ? void 0 : u.columns.find((S) => S.name === n)) == null ? void 0 : a.values) || await zt.get(`/api-user/gis-ir/${t.id}/${n}`).then((S) => S.data.rows);
25097
25110
  t.legendAuto = { color: [] }, _.forEach((S) => t.legendAuto.color.push(S)), t.legendAuto.color.push({ color: "#aaa", text: "Не визначено" }), t.style.color = _ ? ["match", ["get", n]].concat(_.filter((S) => S.id).reduce((S, k, M) => S.concat([k.id, k.color || fm[M]]), [])).concat(["#aaa"]) : r;
25098
25111
  }
25099
25112
  return [{
@@ -25329,7 +25342,7 @@ const JL = {
25329
25342
  await this.createGeometryLayer({ data: t }, "vector");
25330
25343
  },
25331
25344
  async addVectorLayer(t, e) {
25332
- const { data: i } = await Bt.get(t.layer), n = { ...t, source: t.id, layers: [] };
25345
+ const { data: i } = await zt.get(t.layer), n = { ...t, source: t.id, layers: [] };
25333
25346
  Object.keys(i.sources).forEach(async (r) => {
25334
25347
  await e.addSource(t.id, {
25335
25348
  type: i.sources[r].type,
@@ -25358,7 +25371,7 @@ const JL = {
25358
25371
  return;
25359
25372
  }
25360
25373
  try {
25361
- const i = await Bt.get((t == null ? void 0 : t.geojson) || (t == null ? void 0 : t.url)), n = await i.data;
25374
+ const i = await zt.get((t == null ? void 0 : t.geojson) || (t == null ? void 0 : t.url)), n = await i.data;
25362
25375
  if (i.statusText === "OK")
25363
25376
  this.createGeometryLayer({ data: t, geojson: n }, "geojson");
25364
25377
  else
@@ -25444,7 +25457,7 @@ const JL = {
25444
25457
  `${window.location.origin}${i.geojson || i.url}${i.url.includes("?") ? "&" : "?"}filter=${e}${i.props ? `&props=${i.props}` : ""}`
25445
25458
  ]);
25446
25459
  else if (i.service === "geojson") {
25447
- const { data: r } = await Bt.get((i == null ? void 0 : i.geojson) || `${i == null ? void 0 : i.url}?filter=${e}`);
25460
+ const { data: r } = await zt.get((i == null ? void 0 : i.geojson) || `${i == null ? void 0 : i.url}?filter=${e}`);
25448
25461
  await this.map.getSource(t).setData(r);
25449
25462
  }
25450
25463
  },
@@ -25455,7 +25468,7 @@ const JL = {
25455
25468
  const r = (n = this.layerList) == null ? void 0 : n.find((u) => u.id === i);
25456
25469
  if (r)
25457
25470
  return r;
25458
- const l = await Bt.get(`/api-user/gis-ir/${i}${t != null && t.service ? `?service=${t == null ? void 0 : t.service}` : ""}`);
25471
+ const l = await zt.get(`/api-user/gis-ir/${i}${t != null && t.service ? `?service=${t == null ? void 0 : t.service}` : ""}`);
25459
25472
  if (l.statusText === "OK") {
25460
25473
  const u = await l.data;
25461
25474
  return !e || await e(u), u;
@@ -25596,7 +25609,7 @@ function oF(t, e, i, n, r, l) {
25596
25609
  ]))
25597
25610
  ], 4);
25598
25611
  }
25599
- const aF = /* @__PURE__ */ Lt(QL, [["render", oF], ["__scopeId", "data-v-3f5a9aff"]]), u1 = {
25612
+ const aF = /* @__PURE__ */ Ft(QL, [["render", oF], ["__scopeId", "data-v-3f5a9aff"]]), u1 = {
25600
25613
  width: 200,
25601
25614
  show: !0,
25602
25615
  position: "horizontal"
@@ -25712,7 +25725,7 @@ const aF = /* @__PURE__ */ Lt(QL, [["render", oF], ["__scopeId", "data-v-3f5a9af
25712
25725
  };
25713
25726
  function mF(t, e, i, n, r, l) {
25714
25727
  var a, g, _, S, k, M, P, I, N, V, G;
25715
- const u = zt("VsPopupBody");
25728
+ const u = Rt("VsPopupBody");
25716
25729
  return Ee(), Re("div", {
25717
25730
  class: ca((((a = r.popupSettings) == null ? void 0 : a.position) || "horizontal") + "-position")
25718
25731
  }, [
@@ -25740,7 +25753,7 @@ function mF(t, e, i, n, r, l) {
25740
25753
  ]))
25741
25754
  ], 2);
25742
25755
  }
25743
- const gF = /* @__PURE__ */ Lt(lF, [["render", mF], ["__scopeId", "data-v-deb51e0a"]]), { Map: yF, NavigationControl: _F, Popup: vF } = YL, xF = {
25756
+ const gF = /* @__PURE__ */ Ft(lF, [["render", mF], ["__scopeId", "data-v-deb51e0a"]]), { Map: yF, NavigationControl: _F, Popup: vF } = YL, xF = {
25744
25757
  mixins: [JL],
25745
25758
  components: { VsMapPopup: gF },
25746
25759
  props: {
@@ -25880,7 +25893,7 @@ const gF = /* @__PURE__ */ Lt(lF, [["render", mF], ["__scopeId", "data-v-deb51e0
25880
25893
  }
25881
25894
  }, bF = { class: "relative" }, wF = ["id"];
25882
25895
  function SF(t, e, i, n, r, l) {
25883
- const u = zt("VsMapPopup");
25896
+ const u = Rt("VsMapPopup");
25884
25897
  return Ee(), Re("div", bF, [
25885
25898
  Y("div", {
25886
25899
  id: r.mapId,
@@ -25893,7 +25906,7 @@ function SF(t, e, i, n, r, l) {
25893
25906
  }, null, 8, ["object", "map-ref"])
25894
25907
  ]);
25895
25908
  }
25896
- const kF = /* @__PURE__ */ Lt(xF, [["render", SF]]), yo = "widget-map-source", TF = {
25909
+ const kF = /* @__PURE__ */ Ft(xF, [["render", SF]]), yo = "widget-map-source", TF = {
25897
25910
  components: { VsMap: kF },
25898
25911
  props: {
25899
25912
  geometry: {
@@ -25998,7 +26011,7 @@ const kF = /* @__PURE__ */ Lt(xF, [["render", SF]]), yo = "widget-map-source", T
25998
26011
  }
25999
26012
  };
26000
26013
  function MF(t, e, i, n, r, l) {
26001
- const u = zt("VsMap");
26014
+ const u = Rt("VsMap");
26002
26015
  return Ee(), Re("div", null, [
26003
26016
  ii(u, {
26004
26017
  map: r.map,
@@ -26007,7 +26020,7 @@ function MF(t, e, i, n, r, l) {
26007
26020
  }, null, 8, ["map", "onLoad"])
26008
26021
  ]);
26009
26022
  }
26010
- const CF = /* @__PURE__ */ Lt(TF, [["render", MF]]), at = (t, e = 1e4) => (t = parseFloat(t + "") || 0, Math.round((t + Number.EPSILON) * e) / e), Z0 = function(t) {
26023
+ const CF = /* @__PURE__ */ Ft(TF, [["render", MF]]), at = (t, e = 1e4) => (t = parseFloat(t + "") || 0, Math.round((t + Number.EPSILON) * e) / e), Z0 = function(t) {
26011
26024
  if (!(t && t instanceof Element && t.offsetParent)) return !1;
26012
26025
  const e = t.scrollHeight > t.clientHeight, i = window.getComputedStyle(t).overflowY, n = i.indexOf("hidden") !== -1, r = i.indexOf("visible") !== -1;
26013
26026
  return e && !n && !r;
@@ -28985,7 +28998,7 @@ function qF(t, e, i, n, r, l) {
28985
28998
  _S(t.$slots, "default")
28986
28999
  ], 512);
28987
29000
  }
28988
- const WF = /* @__PURE__ */ Lt(UF, [["render", qF]]), GF = {}, ZF = {
29001
+ const WF = /* @__PURE__ */ Ft(UF, [["render", qF]]), GF = {}, ZF = {
28989
29002
  xmlns: "http://www.w3.org/2000/svg",
28990
29003
  viewBox: "0 0 24 24",
28991
29004
  fill: "none",
@@ -29006,7 +29019,7 @@ function YF(t, e, i, n, r, l) {
29006
29019
  Y("path", { d: "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" }, null, -1)
29007
29020
  ]));
29008
29021
  }
29009
- const XF = /* @__PURE__ */ Lt(GF, [["render", YF]]), KF = {
29022
+ const XF = /* @__PURE__ */ Ft(GF, [["render", YF]]), KF = {
29010
29023
  componens: {
29011
29024
  IconFile: XF
29012
29025
  },
@@ -29040,7 +29053,7 @@ function tB(t, e, i, n, r, l) {
29040
29053
  ])
29041
29054
  ], 64);
29042
29055
  }
29043
- const iB = /* @__PURE__ */ Lt(KF, [["render", tB]]), nB = {}, rB = {
29056
+ const iB = /* @__PURE__ */ Ft(KF, [["render", tB]]), nB = {}, rB = {
29044
29057
  xmlns: "http://www.w3.org/2000/svg",
29045
29058
  viewBox: "0 0 24 24",
29046
29059
  fill: "none",
@@ -29062,7 +29075,7 @@ function sB(t, e, i, n, r, l) {
29062
29075
  Y("path", { d: "M12 4l0 12" }, null, -1)
29063
29076
  ]));
29064
29077
  }
29065
- const S2 = /* @__PURE__ */ Lt(nB, [["render", sB]]), oB = {}, aB = {
29078
+ const S2 = /* @__PURE__ */ Ft(nB, [["render", sB]]), oB = {}, aB = {
29066
29079
  xmlns: "http://www.w3.org/2000/svg",
29067
29080
  viewBox: "0 0 24 24",
29068
29081
  fill: "none",
@@ -29077,7 +29090,7 @@ function lB(t, e, i, n, r, l) {
29077
29090
  C_('<path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 7l16 0"></path><path d="M10 11l0 6"></path><path d="M14 11l0 6"></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"></path>', 6)
29078
29091
  ]));
29079
29092
  }
29080
- const k2 = /* @__PURE__ */ Lt(oB, [["render", lB]]), cB = {
29093
+ const k2 = /* @__PURE__ */ Ft(oB, [["render", lB]]), cB = {
29081
29094
  components: {
29082
29095
  Fancybox: WF,
29083
29096
  VsWidgetFileInfo: iB,
@@ -29128,7 +29141,7 @@ const k2 = /* @__PURE__ */ Lt(oB, [["render", lB]]), cB = {
29128
29141
  },
29129
29142
  async deleteFile() {
29130
29143
  try {
29131
- await Bt.delete(
29144
+ await zt.delete(
29132
29145
  `/api/widget/file/${this.item.entity_id}/${this.item.file_id}`
29133
29146
  ), this.$emit("update");
29134
29147
  } catch (t) {
@@ -29147,7 +29160,7 @@ const k2 = /* @__PURE__ */ Lt(oB, [["render", lB]]), cB = {
29147
29160
  class: "flex gap-x-3 w-full"
29148
29161
  }, gB = { class: "lg:absolute lg:top-3 lg:end-3 group-hover:opacity-100 lg:opacity-0" }, yB = { class: "p-0.5 sm:p-1 inline-flex items-center gap-0.5 bg-white border border-gray-200 lg:shadow rounded-lg dark:bg-neutral-800 dark:border-neutral-700" }, _B = { class: "hs-tooltip inline-block" }, vB = { class: "hs-tooltip inline-block" };
29149
29162
  function xB(t, e, i, n, r, l) {
29150
- const u = zt("VsWidgetFileInfo"), a = zt("Fancybox"), g = zt("IconDownload"), _ = zt("IconTrash");
29163
+ const u = Rt("VsWidgetFileInfo"), a = Rt("Fancybox"), g = Rt("IconDownload"), _ = Rt("IconTrash");
29151
29164
  return Ee(), Re("div", uB, [
29152
29165
  i.item.ext === "jpg" || i.item.ext === "png" ? (Ee(), Re("div", hB, [
29153
29166
  ii(a, null, {
@@ -29211,7 +29224,7 @@ function xB(t, e, i, n, r, l) {
29211
29224
  ])
29212
29225
  ]);
29213
29226
  }
29214
- const bB = /* @__PURE__ */ Lt(cB, [["render", xB]]), wB = {
29227
+ const bB = /* @__PURE__ */ Ft(cB, [["render", xB]]), wB = {
29215
29228
  props: ["text"]
29216
29229
  }, SB = { class: "pl-3 text-sm font-medium text-gray-600" };
29217
29230
  function kB(t, e, i, n, r, l) {
@@ -29219,7 +29232,7 @@ function kB(t, e, i, n, r, l) {
29219
29232
  Y("p", SB, It(i.text), 1)
29220
29233
  ]);
29221
29234
  }
29222
- const T2 = /* @__PURE__ */ Lt(wB, [["render", kB]]), TB = {}, MB = {
29235
+ const T2 = /* @__PURE__ */ Ft(wB, [["render", kB]]), TB = {}, MB = {
29223
29236
  xmlns: "http://www.w3.org/2000/svg",
29224
29237
  viewBox: "0 0 24 24",
29225
29238
  fill: "none",
@@ -29241,7 +29254,7 @@ function CB(t, e, i, n, r, l) {
29241
29254
  Y("path", { d: "M12 4l0 12" }, null, -1)
29242
29255
  ]));
29243
29256
  }
29244
- const M2 = /* @__PURE__ */ Lt(TB, [["render", CB]]), EB = {
29257
+ const M2 = /* @__PURE__ */ Ft(TB, [["render", CB]]), EB = {
29245
29258
  components: {
29246
29259
  VsWidgetFileItem: bB,
29247
29260
  VsEmptyWidget: T2,
@@ -29281,7 +29294,7 @@ const M2 = /* @__PURE__ */ Lt(TB, [["render", CB]]), EB = {
29281
29294
  return;
29282
29295
  }
29283
29296
  try {
29284
- const { data: t } = await Bt.get(`/api/widget/file/${this.id}`);
29297
+ const { data: t } = await zt.get(`/api/widget/file/${this.id}`);
29285
29298
  this.files = t == null ? void 0 : t.rows;
29286
29299
  } catch (t) {
29287
29300
  console.error(t);
@@ -29294,7 +29307,7 @@ const M2 = /* @__PURE__ */ Lt(TB, [["render", CB]]), EB = {
29294
29307
  i.append("file", e);
29295
29308
  try {
29296
29309
  const n = `/api/widget/file/${this.id}`;
29297
- return await Bt.post(n, i), this.$emit("update", "file-list"), e;
29310
+ return await zt.post(n, i), this.$emit("update", "file-list"), e;
29298
29311
  } catch (n) {
29299
29312
  return console.error(n), null;
29300
29313
  }
@@ -29325,7 +29338,7 @@ const M2 = /* @__PURE__ */ Lt(TB, [["render", CB]]), EB = {
29325
29338
  }, FB = { key: 0 }, BB = { class: "p-4" }, NB = { class: "mt-1 text-gray-500 dark:text-neutral-500" }, $B = { class: "flex justify-end mt-4 gap-x-3" };
29326
29339
  function VB(t, e, i, n, r, l) {
29327
29340
  var S, k, M;
29328
- const u = zt("IconUpload"), a = zt("VsWidgetFileItem"), g = zt("VsEmptyWidget"), _ = zt("VsDialog");
29341
+ const u = Rt("IconUpload"), a = Rt("VsWidgetFileItem"), g = Rt("VsEmptyWidget"), _ = Rt("VsDialog");
29329
29342
  return Ee(), Re("div", AB, [
29330
29343
  Y("div", PB, [
29331
29344
  (S = r.files) != null && S.length ? (Ee(), Re("h2", IB, " Кількість: " + It(r.files.length), 1)) : Ls("", !0),
@@ -29427,7 +29440,7 @@ function VB(t, e, i, n, r, l) {
29427
29440
  }, 8, ["title", "visible"])
29428
29441
  ]);
29429
29442
  }
29430
- const jB = /* @__PURE__ */ Lt(EB, [["render", VB]]), UB = { class: "flex flex-col vs-widget-images xl:bg-white xl:rounded-xl dark:xl:bg-neutral-800 dark:xl:border-neutral-700" }, HB = { class: "flex items-center justify-between mb-4 gap-x-2" }, qB = { class: "flex items-center justify-end gap-x-2" }, WB = { class: "inline-flex items-center p-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white" }, GB = { class: "flex flex-wrap" }, ZB = ["href", "data-caption"], YB = ["src", "alt"], XB = { class: "item__text-content bg-white opacity-0 rounded-b-lg absolute w-full bottom-0 p-3 flex gap-2.5 items-center justify-between" }, KB = { class: "text-xs w-[180px] block overflow-hidden overflow-ellipsis" }, JB = { class: "flex flex-wrap items-center text-xs text-gray-600 widget-images__item-desc" }, QB = { class: "flex items-center" }, eN = { class: "text-xs" }, tN = ["onClick"], iN = ["onClick"], nN = { class: "p-4" }, rN = { class: "mt-1 text-gray-500 dark:text-neutral-500" }, sN = { class: "flex justify-end mt-4 gap-x-3" }, oN = {
29443
+ const jB = /* @__PURE__ */ Ft(EB, [["render", VB]]), UB = { class: "flex flex-col vs-widget-images xl:bg-white xl:rounded-xl dark:xl:bg-neutral-800 dark:xl:border-neutral-700" }, HB = { class: "flex items-center justify-between mb-4 gap-x-2" }, qB = { class: "flex items-center justify-end gap-x-2" }, WB = { class: "inline-flex items-center p-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white" }, GB = { class: "flex flex-wrap gap-[16px]" }, ZB = ["href", "data-caption"], YB = ["src", "alt"], XB = { class: "item__text-content bg-white opacity-0 rounded-b-lg absolute w-full bottom-0 p-3 flex gap-2.5 items-center justify-between" }, KB = { class: "text-xs w-[180px] block overflow-hidden overflow-ellipsis" }, JB = { class: "flex flex-wrap items-center text-xs text-gray-600 widget-images__item-desc" }, QB = { class: "flex items-center" }, eN = { class: "text-xs" }, tN = ["onClick"], iN = ["onClick"], nN = { class: "p-4" }, rN = { class: "mt-1 text-gray-500 dark:text-neutral-500" }, sN = { class: "flex justify-end mt-4 gap-x-3" }, oN = {
29431
29444
  __name: "vs-widget-gallery",
29432
29445
  props: {
29433
29446
  id: {
@@ -29451,7 +29464,7 @@ const jB = /* @__PURE__ */ Lt(EB, [["render", VB]]), UB = { class: "flex flex-co
29451
29464
  return;
29452
29465
  }
29453
29466
  try {
29454
- const { data: I } = await Bt.get(`/api/widget/gallery/${e == null ? void 0 : e.id}`);
29467
+ const { data: I } = await zt.get(`/api/widget/gallery/${e == null ? void 0 : e.id}`);
29455
29468
  i.value = I == null ? void 0 : I.rows, pi.bind("[data-fancybox='gallery']");
29456
29469
  } catch (I) {
29457
29470
  console.error(I);
@@ -29464,7 +29477,7 @@ const jB = /* @__PURE__ */ Lt(EB, [["render", VB]]), UB = { class: "flex flex-co
29464
29477
  const G = new FormData();
29465
29478
  G.append("file", V);
29466
29479
  try {
29467
- await Bt.post(`/api/widget/file/${e == null ? void 0 : e.id}`, G);
29480
+ await zt.post(`/api/widget/file/${e == null ? void 0 : e.id}`, G);
29468
29481
  } catch (se) {
29469
29482
  console.error(se);
29470
29483
  }
@@ -29475,10 +29488,10 @@ const jB = /* @__PURE__ */ Lt(EB, [["render", VB]]), UB = { class: "flex flex-co
29475
29488
  I.setAttribute("download", P == null ? void 0 : P.uploaded_name), I.href = P == null ? void 0 : P.file_path, I.click();
29476
29489
  }, _ = (P) => {
29477
29490
  r.value = P, l.value = {
29478
- title: "Вы уверены?",
29479
- message: "Вы уверены, что хотите удалить это изображение?",
29480
- confirmButtonText: "Да, удалить",
29481
- cancelButtonText: "Отмена",
29491
+ title: "Ви впевнені?",
29492
+ message: "Ви впевнені що хочете видалити зображення?",
29493
+ confirmButtonText: "Так, видалити ",
29494
+ cancelButtonText: "Відмінити",
29482
29495
  confirm: async () => {
29483
29496
  await S(), n.value = !1, await u();
29484
29497
  },
@@ -29489,7 +29502,7 @@ const jB = /* @__PURE__ */ Lt(EB, [["render", VB]]), UB = { class: "flex flex-co
29489
29502
  }, S = async () => {
29490
29503
  var P, I;
29491
29504
  try {
29492
- await Bt.delete(
29505
+ await zt.delete(
29493
29506
  `/api/widget/gallery/${(P = r.value) == null ? void 0 : P.entity_id}/${(I = r.value) == null ? void 0 : I.file_id}`
29494
29507
  );
29495
29508
  } catch (N) {
@@ -29510,10 +29523,10 @@ const jB = /* @__PURE__ */ Lt(EB, [["render", VB]]), UB = { class: "flex flex-co
29510
29523
  return new Date(P).toLocaleDateString("ru-RU", I);
29511
29524
  };
29512
29525
  return T_(() => e.id, u), E_(u), (P, I) => {
29513
- const N = zt("VsDialog");
29526
+ const N = Rt("VsDialog");
29514
29527
  return Ee(), Re("div", UB, [
29515
29528
  Y("div", HB, [
29516
- I[3] || (I[3] = Y("h2", { class: "inline-block font-semibold text-gray-800 dark:text-neutral-200" }, " Галерея изображений ", -1)),
29529
+ I[3] || (I[3] = Y("h2", { class: "inline-block font-semibold text-gray-800 dark:text-neutral-200" }, null, -1)),
29517
29530
  Y("div", qB, [
29518
29531
  Y("div", null, [
29519
29532
  Y("label", null, [
@@ -34166,7 +34179,7 @@ class ng {
34166
34179
  return Ut.between(e.resolve(this.anchor), e.resolve(this.head));
34167
34180
  }
34168
34181
  }
34169
- class Rt extends Kt {
34182
+ class Lt extends Kt {
34170
34183
  /**
34171
34184
  Create a node selection. Does not verify the validity of its
34172
34185
  argument.
@@ -34177,13 +34190,13 @@ class Rt extends Kt {
34177
34190
  }
34178
34191
  map(e, i) {
34179
34192
  let { deleted: n, pos: r } = i.mapResult(this.anchor), l = e.resolve(r);
34180
- return n ? Kt.near(l) : new Rt(l);
34193
+ return n ? Kt.near(l) : new Lt(l);
34181
34194
  }
34182
34195
  content() {
34183
34196
  return new ft(Ve.from(this.node), 0, 0);
34184
34197
  }
34185
34198
  eq(e) {
34186
- return e instanceof Rt && e.anchor == this.anchor;
34199
+ return e instanceof Lt && e.anchor == this.anchor;
34187
34200
  }
34188
34201
  toJSON() {
34189
34202
  return { type: "node", anchor: this.anchor };
@@ -34197,13 +34210,13 @@ class Rt extends Kt {
34197
34210
  static fromJSON(e, i) {
34198
34211
  if (typeof i.anchor != "number")
34199
34212
  throw new RangeError("Invalid input for NodeSelection.fromJSON");
34200
- return new Rt(e.resolve(i.anchor));
34213
+ return new Lt(e.resolve(i.anchor));
34201
34214
  }
34202
34215
  /**
34203
34216
  Create a node selection from non-resolved positions.
34204
34217
  */
34205
34218
  static create(e, i) {
34206
- return new Rt(e.resolve(i));
34219
+ return new Lt(e.resolve(i));
34207
34220
  }
34208
34221
  /**
34209
34222
  Determines whether the given node may be selected as a node
@@ -34213,8 +34226,8 @@ class Rt extends Kt {
34213
34226
  return !e.isText && e.type.spec.selectable !== !1;
34214
34227
  }
34215
34228
  }
34216
- Rt.prototype.visible = !1;
34217
- Kt.jsonID("node", Rt);
34229
+ Lt.prototype.visible = !1;
34230
+ Kt.jsonID("node", Lt);
34218
34231
  class hv {
34219
34232
  constructor(e) {
34220
34233
  this.anchor = e;
@@ -34225,7 +34238,7 @@ class hv {
34225
34238
  }
34226
34239
  resolve(e) {
34227
34240
  let i = e.resolve(this.anchor), n = i.nodeAfter;
34228
- return n && Rt.isSelectable(n) ? new Rt(i) : Kt.near(i);
34241
+ return n && Lt.isSelectable(n) ? new Lt(i) : Kt.near(i);
34229
34242
  }
34230
34243
  }
34231
34244
  class eo extends Kt {
@@ -34277,8 +34290,8 @@ function Ou(t, e, i, n, r, l = !1) {
34277
34290
  for (let u = n - (r > 0 ? 0 : 1); r > 0 ? u < e.childCount : u >= 0; u += r) {
34278
34291
  let a = e.child(u);
34279
34292
  if (a.isAtom) {
34280
- if (!l && Rt.isSelectable(a))
34281
- return Rt.create(t, i - (r < 0 ? a.nodeSize : 0));
34293
+ if (!l && Lt.isSelectable(a))
34294
+ return Lt.create(t, i - (r < 0 ? a.nodeSize : 0));
34282
34295
  } else {
34283
34296
  let g = Ou(t, a, i + r, r < 0 ? a.childCount : 0, r, l);
34284
34297
  if (g)
@@ -36170,9 +36183,9 @@ function pv(t, e = null) {
36170
36183
  for (g = u; r && !r.node; )
36171
36184
  r = r.parent;
36172
36185
  let k = r.node;
36173
- if (r && k.isAtom && Rt.isSelectable(k) && r.parent && !(k.isInline && a3(i.focusNode, i.focusOffset, r.dom))) {
36186
+ if (r && k.isAtom && Lt.isSelectable(k) && r.parent && !(k.isInline && a3(i.focusNode, i.focusOffset, r.dom))) {
36174
36187
  let M = r.posBefore;
36175
- _ = new Rt(u == M ? a : n.resolve(M));
36188
+ _ = new Lt(u == M ? a : n.resolve(M));
36176
36189
  }
36177
36190
  } else {
36178
36191
  if (i instanceof t.dom.ownerDocument.defaultView.Selection && i.rangeCount > 1) {
@@ -36254,7 +36267,7 @@ function F3(t) {
36254
36267
  r ? i.setStart(n.parentNode, er(n) + 1) : i.setStart(n, 0), i.collapse(!0), e.removeAllRanges(), e.addRange(i), !r && !t.state.selection.visible && Zr && pl <= 11 && (n.disabled = !0, n.disabled = !1);
36255
36268
  }
36256
36269
  function xT(t, e) {
36257
- if (e instanceof Rt) {
36270
+ if (e instanceof Lt) {
36258
36271
  let i = t.docView.descAt(e.from);
36259
36272
  i != t.lastSelectedViewDesc && (_w(t), i && i.selectNode(), t.lastSelectedViewDesc = i);
36260
36273
  } else
@@ -36302,17 +36315,17 @@ function xw(t, e, i) {
36302
36315
  } else if (n.empty) {
36303
36316
  if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
36304
36317
  let r = c_(t.state, e);
36305
- return r && r instanceof Rt ? nl(t, r) : !1;
36318
+ return r && r instanceof Lt ? nl(t, r) : !1;
36306
36319
  } else if (!(Ds && i.indexOf("m") > -1)) {
36307
36320
  let r = n.$head, l = r.textOffset ? null : e < 0 ? r.nodeBefore : r.nodeAfter, u;
36308
36321
  if (!l || l.isText)
36309
36322
  return !1;
36310
36323
  let a = e < 0 ? r.pos - l.nodeSize : r.pos;
36311
- return l.isAtom || (u = t.docView.descAt(a)) && !u.contentDOM ? Rt.isSelectable(l) ? nl(t, new Rt(e < 0 ? t.state.doc.resolve(r.pos - l.nodeSize) : r)) : gp ? nl(t, new Ut(t.state.doc.resolve(e < 0 ? a : a + l.nodeSize))) : !1 : !1;
36324
+ return l.isAtom || (u = t.docView.descAt(a)) && !u.contentDOM ? Lt.isSelectable(l) ? nl(t, new Lt(e < 0 ? t.state.doc.resolve(r.pos - l.nodeSize) : r)) : gp ? nl(t, new Ut(t.state.doc.resolve(e < 0 ? a : a + l.nodeSize))) : !1 : !1;
36312
36325
  }
36313
36326
  } else return !1;
36314
36327
  else {
36315
- if (n instanceof Rt && n.node.isInline)
36328
+ if (n instanceof Lt && n.node.isInline)
36316
36329
  return nl(t, new Ut(e > 0 ? n.$to : n.$from));
36317
36330
  {
36318
36331
  let r = c_(t.state, e);
@@ -36468,7 +36481,7 @@ function ww(t, e, i) {
36468
36481
  let { $from: r, $to: l } = n;
36469
36482
  if (!r.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
36470
36483
  let u = c_(t.state, e);
36471
- if (u && u instanceof Rt)
36484
+ if (u && u instanceof Lt)
36472
36485
  return nl(t, u);
36473
36486
  }
36474
36487
  if (!r.parent.inlineContent) {
@@ -36824,22 +36837,22 @@ function s5(t, e) {
36824
36837
  if (e == -1)
36825
36838
  return !1;
36826
36839
  let i = t.state.doc.resolve(e), n = i.nodeAfter;
36827
- return n && n.isAtom && Rt.isSelectable(n) ? (qu(t, new Rt(i)), !0) : !1;
36840
+ return n && n.isAtom && Lt.isSelectable(n) ? (qu(t, new Lt(i)), !0) : !1;
36828
36841
  }
36829
36842
  function o5(t, e) {
36830
36843
  if (e == -1)
36831
36844
  return !1;
36832
36845
  let i = t.state.selection, n, r;
36833
- i instanceof Rt && (n = i.node);
36846
+ i instanceof Lt && (n = i.node);
36834
36847
  let l = t.state.doc.resolve(e);
36835
36848
  for (let u = l.depth + 1; u > 0; u--) {
36836
36849
  let a = u > l.depth ? l.nodeAfter : l.node(u);
36837
- if (Rt.isSelectable(a)) {
36850
+ if (Lt.isSelectable(a)) {
36838
36851
  n && i.$from.depth > 0 && u >= i.$from.depth && l.before(i.$from.depth + 1) == i.$from.pos ? r = l.before(i.$from.depth) : r = l.before(u);
36839
36852
  break;
36840
36853
  }
36841
36854
  }
36842
- return r != null ? (qu(t, Rt.create(t.state.doc, r)), !0) : !1;
36855
+ return r != null ? (qu(t, Lt.create(t.state.doc, r)), !0) : !1;
36843
36856
  }
36844
36857
  function a5(t, e, i, n, r) {
36845
36858
  return gv(t, "handleClickOn", e, i, n) || t.someProp("handleClick", (l) => l(t, e, n)) || (r ? o5(t, i) : s5(t, i));
@@ -36861,8 +36874,8 @@ function u5(t, e, i) {
36861
36874
  let u = l > r.depth ? r.nodeAfter : r.node(l), a = r.before(l);
36862
36875
  if (u.inlineContent)
36863
36876
  qu(t, Ut.create(n, a + 1, a + 1 + u.content.size));
36864
- else if (Rt.isSelectable(u))
36865
- qu(t, Rt.create(n, a));
36877
+ else if (Lt.isSelectable(u))
36878
+ qu(t, Lt.create(n, a));
36866
36879
  else
36867
36880
  continue;
36868
36881
  return !0;
@@ -36893,7 +36906,7 @@ class h5 {
36893
36906
  const a = r ? null : n.target, g = a ? e.docView.nearestDesc(a, !0) : null;
36894
36907
  this.target = g && g.dom.nodeType == 1 ? g.dom : null;
36895
36908
  let { selection: _ } = e.state;
36896
- (n.button == 0 && l.type.spec.draggable && l.type.spec.selectable !== !1 || _ instanceof Rt && _.from <= u && _.to > u) && (this.mightDrag = {
36909
+ (n.button == 0 && l.type.spec.draggable && l.type.spec.selectable !== !1 || _ instanceof Lt && _.from <= u && _.to > u) && (this.mightDrag = {
36897
36910
  node: l,
36898
36911
  pos: u,
36899
36912
  addAttr: !!(this.target && !this.target.draggable),
@@ -37068,12 +37081,12 @@ Ar.dragstart = (t, e) => {
37068
37081
  if (n && n.done(), !i.dataTransfer)
37069
37082
  return;
37070
37083
  let r = t.state.selection, l = r.empty ? null : t.posAtCoords(og(i)), u;
37071
- if (!(l && l.pos >= r.from && l.pos <= (r instanceof Rt ? r.to - 1 : r.to))) {
37084
+ if (!(l && l.pos >= r.from && l.pos <= (r instanceof Lt ? r.to - 1 : r.to))) {
37072
37085
  if (n && n.mightDrag)
37073
- u = Rt.create(t.state.doc, n.mightDrag.pos);
37086
+ u = Lt.create(t.state.doc, n.mightDrag.pos);
37074
37087
  else if (i.target && i.target.nodeType == 1) {
37075
37088
  let k = t.docView.nearestDesc(i.target, !0);
37076
- k && k.node.type.spec.draggable && k != t.docView && (u = Rt.create(t.state.doc, k.posBefore));
37089
+ k && k.node.type.spec.draggable && k != t.docView && (u = Lt.create(t.state.doc, k.posBefore));
37077
37090
  }
37078
37091
  }
37079
37092
  let a = (u || t.state.selection).content(), { dom: g, text: _, slice: S } = ST(t, a);
@@ -37116,8 +37129,8 @@ Pr.drop = (t, e) => {
37116
37129
  if (k ? _.replaceRangeWith(S, S, u.content.firstChild) : _.replaceRange(S, S, u), _.doc.eq(M))
37117
37130
  return;
37118
37131
  let P = _.doc.resolve(S);
37119
- if (k && Rt.isSelectable(u.content.firstChild) && P.nodeAfter && P.nodeAfter.sameMarkup(u.content.firstChild))
37120
- _.setSelection(new Rt(P));
37132
+ if (k && Lt.isSelectable(u.content.firstChild) && P.nodeAfter && P.nodeAfter.sameMarkup(u.content.firstChild))
37133
+ _.setSelection(new Lt(P));
37121
37134
  else {
37122
37135
  let I = _.mapping.map(g);
37123
37136
  _.mapping.maps[_.mapping.maps.length - 1].forEach((N, V, G, se) => I = se), _.setSelection(fv(t, P, _.doc.resolve(I)));
@@ -38133,7 +38146,7 @@ class z5 {
38133
38146
  */
38134
38147
  scrollToSelection() {
38135
38148
  let e = this.domSelectionRange().focusNode;
38136
- if (!this.someProp("handleScrollToSelection", (i) => i(this))) if (this.state.selection instanceof Rt) {
38149
+ if (!this.someProp("handleScrollToSelection", (i) => i(this))) if (this.state.selection instanceof Lt) {
38137
38150
  let i = this.docView.domAfterPos(this.state.selection.from);
38138
38151
  i.nodeType == 1 && aw(this, i.getBoundingClientRect(), e);
38139
38152
  } else
@@ -38169,7 +38182,7 @@ class z5 {
38169
38182
  let l = n.from + (this.state.doc.content.size - i.doc.content.size);
38170
38183
  (l > 0 && this.state.doc.nodeAt(l)) == n.node && (r = l);
38171
38184
  }
38172
- this.dragging = new RT(e.slice, e.move, r < 0 ? void 0 : Rt.create(this.state.doc, r));
38185
+ this.dragging = new RT(e.slice, e.move, r < 0 ? void 0 : Lt.create(this.state.doc, r));
38173
38186
  }
38174
38187
  someProp(e, i) {
38175
38188
  let n = this._props && this._props[e], r;
@@ -38579,13 +38592,13 @@ const q5 = (t, e, i) => {
38579
38592
  let l = r.nodeBefore;
38580
38593
  if (qT(t, r, e, -1))
38581
38594
  return !0;
38582
- if (n.parent.content.size == 0 && (Ku(l, "end") || Rt.isSelectable(l)))
38595
+ if (n.parent.content.size == 0 && (Ku(l, "end") || Lt.isSelectable(l)))
38583
38596
  for (let u = n.depth; ; u--) {
38584
38597
  let a = ig(t.doc, n.before(u), n.after(u), ft.empty);
38585
38598
  if (a && a.slice.size < a.to - a.from) {
38586
38599
  if (e) {
38587
38600
  let g = t.tr.step(a);
38588
- g.setSelection(Ku(l, "end") ? Kt.findFrom(g.doc.resolve(g.mapping.map(r.pos, -1)), -1) : Rt.create(g.doc, r.pos - l.nodeSize)), e(g.scrollIntoView());
38601
+ g.setSelection(Ku(l, "end") ? Kt.findFrom(g.doc.resolve(g.mapping.map(r.pos, -1)), -1) : Lt.create(g.doc, r.pos - l.nodeSize)), e(g.scrollIntoView());
38589
38602
  }
38590
38603
  return !0;
38591
38604
  }
@@ -38653,7 +38666,7 @@ const Z5 = (t, e, i) => {
38653
38666
  l = xv(n);
38654
38667
  }
38655
38668
  let u = l && l.nodeBefore;
38656
- return !u || !Rt.isSelectable(u) ? !1 : (e && e(t.tr.setSelection(Rt.create(t.doc, l.pos - u.nodeSize)).scrollIntoView()), !0);
38669
+ return !u || !Lt.isSelectable(u) ? !1 : (e && e(t.tr.setSelection(Lt.create(t.doc, l.pos - u.nodeSize)).scrollIntoView()), !0);
38657
38670
  };
38658
38671
  function xv(t) {
38659
38672
  if (!t.parent.type.spec.isolating)
@@ -38679,12 +38692,12 @@ const Y5 = (t, e, i) => {
38679
38692
  let l = r.nodeAfter;
38680
38693
  if (qT(t, r, e, 1))
38681
38694
  return !0;
38682
- if (n.parent.content.size == 0 && (Ku(l, "start") || Rt.isSelectable(l))) {
38695
+ if (n.parent.content.size == 0 && (Ku(l, "start") || Lt.isSelectable(l))) {
38683
38696
  let u = ig(t.doc, n.before(), n.after(), ft.empty);
38684
38697
  if (u && u.slice.size < u.to - u.from) {
38685
38698
  if (e) {
38686
38699
  let a = t.tr.step(u);
38687
- a.setSelection(Ku(l, "start") ? Kt.findFrom(a.doc.resolve(a.mapping.map(r.pos)), 1) : Rt.create(a.doc, a.mapping.map(r.pos))), e(a.scrollIntoView());
38700
+ a.setSelection(Ku(l, "start") ? Kt.findFrom(a.doc.resolve(a.mapping.map(r.pos)), 1) : Lt.create(a.doc, a.mapping.map(r.pos))), e(a.scrollIntoView());
38688
38701
  }
38689
38702
  return !0;
38690
38703
  }
@@ -38700,7 +38713,7 @@ const Y5 = (t, e, i) => {
38700
38713
  l = bv(n);
38701
38714
  }
38702
38715
  let u = l && l.nodeAfter;
38703
- return !u || !Rt.isSelectable(u) ? !1 : (e && e(t.tr.setSelection(Rt.create(t.doc, l.pos)).scrollIntoView()), !0);
38716
+ return !u || !Lt.isSelectable(u) ? !1 : (e && e(t.tr.setSelection(Lt.create(t.doc, l.pos)).scrollIntoView()), !0);
38704
38717
  };
38705
38718
  function bv(t) {
38706
38719
  if (!t.parent.type.spec.isolating)
@@ -38714,7 +38727,7 @@ function bv(t) {
38714
38727
  return null;
38715
38728
  }
38716
38729
  const K5 = (t, e) => {
38717
- let i = t.selection, n = i instanceof Rt, r;
38730
+ let i = t.selection, n = i instanceof Lt, r;
38718
38731
  if (n) {
38719
38732
  if (i.node.isTextblock || !vl(t.doc, i.from))
38720
38733
  return !1;
@@ -38723,12 +38736,12 @@ const K5 = (t, e) => {
38723
38736
  return !1;
38724
38737
  if (e) {
38725
38738
  let l = t.tr.join(r);
38726
- n && l.setSelection(Rt.create(l.doc, r - t.doc.resolve(r).nodeBefore.nodeSize)), e(l.scrollIntoView());
38739
+ n && l.setSelection(Lt.create(l.doc, r - t.doc.resolve(r).nodeBefore.nodeSize)), e(l.scrollIntoView());
38727
38740
  }
38728
38741
  return !0;
38729
38742
  }, J5 = (t, e) => {
38730
38743
  let i = t.selection, n;
38731
- if (i instanceof Rt) {
38744
+ if (i instanceof Lt) {
38732
38745
  if (i.node.isTextblock || !vl(t.doc, i.to))
38733
38746
  return !1;
38734
38747
  n = i.to;
@@ -38788,7 +38801,7 @@ const t4 = (t, e) => {
38788
38801
  return r == null ? !1 : (e && e(t.tr.lift(n, r).scrollIntoView()), !0);
38789
38802
  }, r4 = (t, e) => {
38790
38803
  let { $from: i, to: n } = t.selection, r, l = i.sharedDepth(n);
38791
- return l == 0 ? !1 : (r = i.before(l), e && e(t.tr.setSelection(Rt.create(t.doc, r))), !0);
38804
+ return l == 0 ? !1 : (r = i.before(l), e && e(t.tr.setSelection(Lt.create(t.doc, r))), !0);
38792
38805
  };
38793
38806
  function s4(t, e, i) {
38794
38807
  let n = e.nodeBefore, r = e.nodeAfter, l = e.index();
@@ -40381,7 +40394,7 @@ function Ev(t, { checkChildren: e = !0, ignoreWhitespace: i = !1 } = {}) {
40381
40394
  return !1;
40382
40395
  }
40383
40396
  function tM(t) {
40384
- return t instanceof Rt;
40397
+ return t instanceof Lt;
40385
40398
  }
40386
40399
  function iM(t, e, i) {
40387
40400
  const r = t.state.doc.content.size, l = la(e, 0, r), u = la(i, 0, r), a = t.coordsAtPos(l), g = t.coordsAtPos(u, -1), _ = Math.min(a.top, g.top), S = Math.max(a.bottom, g.bottom), k = Math.min(a.left, g.left), M = Math.max(a.right, g.right), P = M - k, I = S - _, G = {
@@ -40449,7 +40462,7 @@ const A$ = (t, e = {}) => ({ tr: i, state: n, dispatch: r }) => {
40449
40462
  return l.isTextblock ? r().command(({ commands: u }) => Bw(l, e)(i) ? !0 : u.clearNodes()).command(({ state: u }) => Bw(l, e)(u, n)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
40450
40463
  }, D$ = (t) => ({ tr: e, dispatch: i }) => {
40451
40464
  if (i) {
40452
- const { doc: n } = e, r = la(t, 0, n.content.size), l = Rt.create(n, r);
40465
+ const { doc: n } = e, r = la(t, 0, n.content.size), l = Lt.create(n, r);
40453
40466
  e.setSelection(l);
40454
40467
  }
40455
40468
  return !0;
@@ -40472,7 +40485,7 @@ function Hw(t, e) {
40472
40485
  }
40473
40486
  const R$ = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: i, dispatch: n, editor: r }) => {
40474
40487
  const { selection: l, doc: u } = e, { $from: a, $to: g } = l, _ = r.extensionManager.attributes, S = im(_, a.node().type.name, a.node().attrs);
40475
- if (l instanceof Rt && l.node.isBlock)
40488
+ if (l instanceof Lt && l.node.isBlock)
40476
40489
  return !a.parentOffset || !Uu(u, a.pos) ? !1 : (n && (t && Hw(i, r.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
40477
40490
  if (!a.parent.isBlock)
40478
40491
  return !1;
@@ -44234,7 +44247,7 @@ class dn extends Kt {
44234
44247
  for (; ; ) {
44235
44248
  let u = i > 0 ? l.firstChild : l.lastChild;
44236
44249
  if (!u) {
44237
- if (l.isAtom && !l.isText && !Rt.isSelectable(l)) {
44250
+ if (l.isAtom && !l.isText && !Lt.isSelectable(l)) {
44238
44251
  e = e.doc.resolve(r + l.nodeSize * i), n = !1;
44239
44252
  continue e;
44240
44253
  }
@@ -44337,7 +44350,7 @@ function uj(t, e, i) {
44337
44350
  if (!dn.valid(n))
44338
44351
  return !1;
44339
44352
  let r = t.posAtCoords({ left: i.clientX, top: i.clientY });
44340
- return r && r.inside > -1 && Rt.isSelectable(t.state.doc.nodeAt(r.inside)) ? !1 : (t.dispatch(t.state.tr.setSelection(new dn(n))), !0);
44353
+ return r && r.inside > -1 && Lt.isSelectable(t.state.doc.nodeAt(r.inside)) ? !1 : (t.dispatch(t.state.tr.setSelection(new dn(n))), !0);
44341
44354
  }
44342
44355
  function hj(t, e) {
44343
44356
  if (e.inputType != "insertCompositionText" || !(t.state.selection instanceof dn))
@@ -44869,7 +44882,7 @@ const AM = EM(!1, !0), PM = EM(!0, !0), Tj = Wn.create({
44869
44882
  if (a) {
44870
44883
  const { $to: _ } = u.selection, S = _.end();
44871
44884
  if (_.nodeAfter)
44872
- _.nodeAfter.isTextblock ? u.setSelection(Ut.create(u.doc, _.pos + 1)) : _.nodeAfter.isBlock ? u.setSelection(Rt.create(u.doc, _.pos)) : u.setSelection(Ut.create(u.doc, _.pos));
44885
+ _.nodeAfter.isTextblock ? u.setSelection(Ut.create(u.doc, _.pos + 1)) : _.nodeAfter.isBlock ? u.setSelection(Lt.create(u.doc, _.pos)) : u.setSelection(Ut.create(u.doc, _.pos));
44873
44886
  else {
44874
44887
  const k = (g = _.parent.type.contentMatch.defaultType) === null || g === void 0 ? void 0 : g.create();
44875
44888
  k && (u.insert(S, k), u.setSelection(Ut.create(u.doc, S + 1)));
@@ -45450,7 +45463,7 @@ function Wj(t, e, i, n, r, l) {
45450
45463
  ], -1)
45451
45464
  ]));
45452
45465
  }
45453
- const Gj = /* @__PURE__ */ Lt(qj, [["render", Wj]]), Zj = {
45466
+ const Gj = /* @__PURE__ */ Ft(qj, [["render", Wj]]), Zj = {
45454
45467
  props: { editor: Object },
45455
45468
  methods: {
45456
45469
  toggleBulletList() {
@@ -45478,7 +45491,7 @@ function Yj(t, e, i, n, r, l) {
45478
45491
  ], -1)
45479
45492
  ]));
45480
45493
  }
45481
- const Xj = /* @__PURE__ */ Lt(Zj, [["render", Yj]]), Kj = {
45494
+ const Xj = /* @__PURE__ */ Ft(Zj, [["render", Yj]]), Kj = {
45482
45495
  props: { editor: Object },
45483
45496
  methods: {
45484
45497
  toggleOrderedList() {
@@ -45507,7 +45520,7 @@ function Jj(t, e, i, n, r, l) {
45507
45520
  ], -1)
45508
45521
  ]));
45509
45522
  }
45510
- const Qj = /* @__PURE__ */ Lt(Kj, [["render", Jj]]), e8 = {
45523
+ const Qj = /* @__PURE__ */ Ft(Kj, [["render", Jj]]), e8 = {
45511
45524
  props: { editor: Object },
45512
45525
  methods: {
45513
45526
  toggleCodeBlock() {
@@ -45538,7 +45551,7 @@ function t8(t, e, i, n, r, l) {
45538
45551
  ], -1)
45539
45552
  ]));
45540
45553
  }
45541
- const i8 = /* @__PURE__ */ Lt(e8, [["render", t8]]), n8 = {
45554
+ const i8 = /* @__PURE__ */ Ft(e8, [["render", t8]]), n8 = {
45542
45555
  props: {
45543
45556
  editor: Object
45544
45557
  },
@@ -45573,7 +45586,7 @@ function r8(t, e, i, n, r, l) {
45573
45586
  Y("span", { class: "sr-only" }, "Bold", -1)
45574
45587
  ]), 2);
45575
45588
  }
45576
- const s8 = /* @__PURE__ */ Lt(n8, [["render", r8]]), o8 = {
45589
+ const s8 = /* @__PURE__ */ Ft(n8, [["render", r8]]), o8 = {
45577
45590
  props: {
45578
45591
  editor: Object
45579
45592
  },
@@ -45608,7 +45621,7 @@ function a8(t, e, i, n, r, l) {
45608
45621
  Y("span", { class: "sr-only" }, "Italic", -1)
45609
45622
  ]), 2);
45610
45623
  }
45611
- const l8 = /* @__PURE__ */ Lt(o8, [["render", a8]]), c8 = {}, u8 = {
45624
+ const l8 = /* @__PURE__ */ Ft(o8, [["render", a8]]), c8 = {}, u8 = {
45612
45625
  "aria-hidden": "true",
45613
45626
  xmlns: "http://www.w3.org/2000/svg",
45614
45627
  fill: "none",
@@ -45624,7 +45637,7 @@ function h8(t, e, i, n, r, l) {
45624
45637
  }, null, -1)
45625
45638
  ]));
45626
45639
  }
45627
- const d8 = /* @__PURE__ */ Lt(c8, [["render", h8]]), p8 = {
45640
+ const d8 = /* @__PURE__ */ Ft(c8, [["render", h8]]), p8 = {
45628
45641
  components: { IconA: d8 },
45629
45642
  props: { editor: Object },
45630
45643
  data() {
@@ -45653,7 +45666,7 @@ const d8 = /* @__PURE__ */ Lt(c8, [["render", h8]]), p8 = {
45653
45666
  }
45654
45667
  }, f8 = { class: "relative flex" }, m8 = { class: "flex w-[160px] flex-wrap gap-[4px]" }, g8 = ["onClick"];
45655
45668
  function y8(t, e, i, n, r, l) {
45656
- const u = zt("IconA"), a = zt("VsPopover");
45669
+ const u = Rt("IconA"), a = Rt("VsPopover");
45657
45670
  return Ee(), gn(a, {
45658
45671
  ref: "popover",
45659
45672
  placement: "bottom"
@@ -45686,7 +45699,7 @@ function y8(t, e, i, n, r, l) {
45686
45699
  _: 1
45687
45700
  }, 512);
45688
45701
  }
45689
- const _8 = /* @__PURE__ */ Lt(p8, [["render", y8]]), v8 = {}, x8 = {
45702
+ const _8 = /* @__PURE__ */ Ft(p8, [["render", y8]]), v8 = {}, x8 = {
45690
45703
  xmlns: "http://www.w3.org/2000/svg",
45691
45704
  viewBox: "0 0 24 24",
45692
45705
  fill: "none",
@@ -45708,7 +45721,7 @@ function b8(t, e, i, n, r, l) {
45708
45721
  Y("path", { d: "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
45709
45722
  ]));
45710
45723
  }
45711
- const w8 = /* @__PURE__ */ Lt(v8, [["render", b8]]), S8 = {
45724
+ const w8 = /* @__PURE__ */ Ft(v8, [["render", b8]]), S8 = {
45712
45725
  components: { IconMore: w8 },
45713
45726
  props: { editor: Object },
45714
45727
  methods: {
@@ -45721,7 +45734,7 @@ const w8 = /* @__PURE__ */ Lt(v8, [["render", b8]]), S8 = {
45721
45734
  }
45722
45735
  };
45723
45736
  function k8(t, e, i, n, r, l) {
45724
- const u = zt("IconMore"), a = zt("VsPopover");
45737
+ const u = Rt("IconMore"), a = Rt("VsPopover");
45725
45738
  return Ee(), gn(a, {
45726
45739
  ref: "popover",
45727
45740
  placement: "bottom"
@@ -45758,7 +45771,7 @@ function k8(t, e, i, n, r, l) {
45758
45771
  _: 1
45759
45772
  }, 512);
45760
45773
  }
45761
- const T8 = /* @__PURE__ */ Lt(S8, [["render", k8]]), M8 = {
45774
+ const T8 = /* @__PURE__ */ Ft(S8, [["render", k8]]), M8 = {
45762
45775
  bold: s8,
45763
45776
  italic: l8,
45764
45777
  text_more: T8,
@@ -45887,7 +45900,7 @@ const T8 = /* @__PURE__ */ Lt(S8, [["render", k8]]), M8 = {
45887
45900
  class: "flex flex-wrap items-center w-full gap-2 px-3 py-2 border-b editor-toolbar dark:border-gray-600"
45888
45901
  };
45889
45902
  function P8(t, e, i, n, r, l) {
45890
- const u = zt("EditorContent");
45903
+ const u = Rt("EditorContent");
45891
45904
  return Ee(), Re("div", E8, [
45892
45905
  r.editor ? (Ee(), Re("div", A8, [
45893
45906
  (Ee(!0), Re(yn, null, Cr(l.controlsList, (a, g) => (Ee(), gn(zE(a), {
@@ -45906,7 +45919,7 @@ function P8(t, e, i, n, r, l) {
45906
45919
  ])
45907
45920
  ]);
45908
45921
  }
45909
- const DM = /* @__PURE__ */ Lt(C8, [["render", P8]]), I8 = (t) => {
45922
+ const DM = /* @__PURE__ */ Ft(C8, [["render", P8]]), I8 = (t) => {
45910
45923
  const e = /(\b\S)?/g, i = t.match(e);
45911
45924
  return i ? i.join("").toUpperCase() : "";
45912
45925
  }, D8 = {
@@ -45950,7 +45963,7 @@ function B8(t, e, i, n, r, l) {
45950
45963
  ])) : Ls("", !0)
45951
45964
  ]);
45952
45965
  }
45953
- const N8 = /* @__PURE__ */ Lt(D8, [["render", B8]]), $8 = {
45966
+ const N8 = /* @__PURE__ */ Ft(D8, [["render", B8]]), $8 = {
45954
45967
  components: {
45955
45968
  VsWidgetCommentsAvatar: N8,
45956
45969
  VsTextEditor: DM
@@ -46013,7 +46026,7 @@ const N8 = /* @__PURE__ */ Lt(D8, [["render", B8]]), $8 = {
46013
46026
  },
46014
46027
  async updateComment() {
46015
46028
  try {
46016
- await Bt.post(
46029
+ await zt.post(
46017
46030
  `/api/widget/comment/${this.id}/${this.comment.communication_id}`,
46018
46031
  {
46019
46032
  body: this.textareaValue
@@ -46032,7 +46045,7 @@ const N8 = /* @__PURE__ */ Lt(D8, [["render", B8]]), $8 = {
46032
46045
  },
46033
46046
  async deleteComment() {
46034
46047
  try {
46035
- await Bt.delete(
46048
+ await zt.delete(
46036
46049
  `/api/widget/comment/${this.id}/${this.comment.communication_id}`
46037
46050
  ), this.$emit("list-update"), this.isCommentActionVisible = !1;
46038
46051
  } catch {
@@ -46049,7 +46062,7 @@ const N8 = /* @__PURE__ */ Lt(D8, [["render", B8]]), $8 = {
46049
46062
  }
46050
46063
  }, V8 = { class: "p-6 pl-1 text-base bg-white dark:bg-gray-900" }, j8 = { class: "flex justify-between items-center mb-2" }, U8 = { class: "flex items-center" }, H8 = { class: "inline-flex items-center mr-3 text-sm text-gray-900 dark:text-white font-semibold" }, q8 = { class: "text-sm text-gray-600 dark:text-gray-400" }, W8 = { class: "flex flex-col items-center gap-[4px]" }, G8 = ["innerHTML"], Z8 = { class: "flex flex-col gap-[8px] text-sm font-medium text-gray-500" }, Y8 = { class: "flex justify-end p-[20px] gap-[10px] border-t w-full" };
46051
46064
  function X8(t, e, i, n, r, l) {
46052
- const u = zt("VsWidgetCommentsAvatar"), a = zt("VsPopover"), g = zt("VsTextEditor"), _ = zt("VsDialog");
46065
+ const u = Rt("VsWidgetCommentsAvatar"), a = Rt("VsPopover"), g = Rt("VsTextEditor"), _ = Rt("VsDialog");
46053
46066
  return Ee(), Re(yn, null, [
46054
46067
  Y("div", V8, [
46055
46068
  Y("div", j8, [
@@ -46136,7 +46149,7 @@ function X8(t, e, i, n, r, l) {
46136
46149
  }, 8, ["visible"])
46137
46150
  ], 64);
46138
46151
  }
46139
- const K8 = /* @__PURE__ */ Lt($8, [["render", X8]]), J8 = {
46152
+ const K8 = /* @__PURE__ */ Ft($8, [["render", X8]]), J8 = {
46140
46153
  components: {
46141
46154
  VsWidgetCommentsItem: K8
46142
46155
  },
@@ -46173,7 +46186,7 @@ const K8 = /* @__PURE__ */ Lt($8, [["render", X8]]), J8 = {
46173
46186
  return;
46174
46187
  }
46175
46188
  try {
46176
- const { data: t } = await Bt.get(`/api/widget/comment/${this.id}`);
46189
+ const { data: t } = await zt.get(`/api/widget/comment/${this.id}`);
46177
46190
  this.comments = t.rows, this.user = t.user;
46178
46191
  } catch (t) {
46179
46192
  this.isLoadFailed = !0, console.error(t);
@@ -46197,7 +46210,7 @@ const K8 = /* @__PURE__ */ Lt($8, [["render", X8]]), J8 = {
46197
46210
  class: "max-h-[300px] overflow-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500"
46198
46211
  }, tU = { key: 1 }, iU = { class: "p-4" }, nU = { class: "mt-1 text-gray-500 dark:text-neutral-500" }, rU = { class: "mt-4 flex justify-end gap-x-3" };
46199
46212
  function sU(t, e, i, n, r, l) {
46200
- const u = zt("VsErrorOnLoading"), a = zt("VsWidgetCommentsItem"), g = zt("VsLoader"), _ = zt("VsDialog");
46213
+ const u = Rt("VsErrorOnLoading"), a = Rt("VsWidgetCommentsItem"), g = Rt("VsLoader"), _ = Rt("VsDialog");
46201
46214
  return Ee(), Re("div", Q8, [
46202
46215
  r.isLoaded ? (Ee(), Re(yn, { key: 0 }, [
46203
46216
  r.isLoadFailed ? (Ee(), gn(u, { key: 0 })) : (Ee(), Re(yn, { key: 1 }, [
@@ -46249,7 +46262,7 @@ function sU(t, e, i, n, r, l) {
46249
46262
  }, 8, ["title", "visible"])
46250
46263
  ]);
46251
46264
  }
46252
- const oU = /* @__PURE__ */ Lt(J8, [["render", sU]]), aU = {
46265
+ const oU = /* @__PURE__ */ Ft(J8, [["render", sU]]), aU = {
46253
46266
  components: { VsTextEditor: DM },
46254
46267
  props: {
46255
46268
  id: { type: String, default: () => "" },
@@ -46266,7 +46279,7 @@ const oU = /* @__PURE__ */ Lt(J8, [["render", sU]]), aU = {
46266
46279
  async addNewComment() {
46267
46280
  if (this.commentContent)
46268
46281
  try {
46269
- await Bt.post(`/api/widget/comment/${this.id}`, {
46282
+ await zt.post(`/api/widget/comment/${this.id}`, {
46270
46283
  body: this.commentContent
46271
46284
  }), this.commentContent = "", this.$emit("list-update");
46272
46285
  } catch (t) {
@@ -46279,7 +46292,7 @@ const oU = /* @__PURE__ */ Lt(J8, [["render", sU]]), aU = {
46279
46292
  }
46280
46293
  }, lU = { class: "flex flex-col items-start w-full widget-comment-form" }, cU = { class: "w-full mb-4 bg-white border-gray-200 dark:bg-gray-800 dark:border-gray-700" }, uU = { class: "flex" };
46281
46294
  function hU(t, e, i, n, r, l) {
46282
- const u = zt("VsTextEditor");
46295
+ const u = Rt("VsTextEditor");
46283
46296
  return Ee(), Re("div", lU, [
46284
46297
  Y("div", cU, [
46285
46298
  ii(u, {
@@ -46297,7 +46310,7 @@ function hU(t, e, i, n, r, l) {
46297
46310
  ])
46298
46311
  ]);
46299
46312
  }
46300
- const dU = /* @__PURE__ */ Lt(aU, [["render", hU]]), pU = {
46313
+ const dU = /* @__PURE__ */ Ft(aU, [["render", hU]]), pU = {
46301
46314
  components: {
46302
46315
  VsWidgetCommentsList: oU,
46303
46316
  VsWidgetCommentsAddForm: dU
@@ -46330,7 +46343,7 @@ const dU = /* @__PURE__ */ Lt(aU, [["render", hU]]), pU = {
46330
46343
  methods: {
46331
46344
  async getUsersList() {
46332
46345
  try {
46333
- const { data: t } = await Bt.get("/api/suggest/core.user_mentioned");
46346
+ const { data: t } = await zt.get("/api/suggest/core.user_mentioned");
46334
46347
  this.options = t;
46335
46348
  } catch (t) {
46336
46349
  console.log(t);
@@ -46345,7 +46358,7 @@ const dU = /* @__PURE__ */ Lt(aU, [["render", hU]]), pU = {
46345
46358
  }
46346
46359
  }, fU = { class: "w-full bg-white-200" };
46347
46360
  function mU(t, e, i, n, r, l) {
46348
- const u = zt("VsWidgetCommentsAddForm"), a = zt("VsWidgetCommentsList");
46361
+ const u = Rt("VsWidgetCommentsAddForm"), a = Rt("VsWidgetCommentsList");
46349
46362
  return Ee(), Re("div", fU, [
46350
46363
  e[2] || (e[2] = Y("div", { class: "flex items-center justify-between w-full mb-4 gap-x-2" }, null, -1)),
46351
46364
  ii(u, {
@@ -46363,7 +46376,7 @@ function mU(t, e, i, n, r, l) {
46363
46376
  }, null, 8, ["options", "id", "prefilled-data"])
46364
46377
  ]);
46365
46378
  }
46366
- const gU = /* @__PURE__ */ Lt(pU, [["render", mU]]), mS = (t) => new Date(t).toLocaleDateString("uk-UK", {
46379
+ const gU = /* @__PURE__ */ Ft(pU, [["render", mU]]), mS = (t) => new Date(t).toLocaleDateString("uk-UK", {
46367
46380
  day: "numeric",
46368
46381
  month: "long",
46369
46382
  year: "numeric",
@@ -46391,7 +46404,7 @@ const gU = /* @__PURE__ */ Lt(pU, [["render", mU]]), mS = (t) => new Date(t).toL
46391
46404
  function bU(t, e, i, n, r, l) {
46392
46405
  return Ee(), Re("div", xU, It(t.inItials), 1);
46393
46406
  }
46394
- const wU = /* @__PURE__ */ Lt(vU, [["render", bU]]), k_ = {
46407
+ const wU = /* @__PURE__ */ Ft(vU, [["render", bU]]), k_ = {
46395
46408
  load() {
46396
46409
  try {
46397
46410
  const t = Array.from(arguments);
@@ -46468,7 +46481,7 @@ const wU = /* @__PURE__ */ Lt(vU, [["render", bU]]), k_ = {
46468
46481
  function TU(t, e, i, n, r, l) {
46469
46482
  return Ee(), Re("div", kU);
46470
46483
  }
46471
- const MU = /* @__PURE__ */ Lt(SU, [["render", TU]]), CU = ro({
46484
+ const MU = /* @__PURE__ */ Ft(SU, [["render", TU]]), CU = ro({
46472
46485
  components: {
46473
46486
  VsWidgetHistoryItemAvatar: wU,
46474
46487
  VsWidgetHistoryItemMap: MU
@@ -46499,7 +46512,7 @@ const MU = /* @__PURE__ */ Lt(SU, [["render", TU]]), CU = ro({
46499
46512
  class: "flex items-center gap-2 text-gray-700 text-sm"
46500
46513
  }, FU = { class: "font-medium" }, BU = { class: "font-medium" };
46501
46514
  function NU(t, e, i, n, r, l) {
46502
- const u = zt("VsWidgetHistoryItemAvatar"), a = zt("VsWidgetHistoryItemMap");
46515
+ const u = Rt("VsWidgetHistoryItemAvatar"), a = Rt("VsWidgetHistoryItemMap");
46503
46516
  return Ee(), Re("div", EU, [
46504
46517
  Y("div", AU, [
46505
46518
  ii(u, {
@@ -46531,7 +46544,7 @@ function NU(t, e, i, n, r, l) {
46531
46544
  ])
46532
46545
  ]);
46533
46546
  }
46534
- const $U = /* @__PURE__ */ Lt(CU, [["render", NU]]), VU = ro({
46547
+ const $U = /* @__PURE__ */ Ft(CU, [["render", NU]]), VU = ro({
46535
46548
  components: {
46536
46549
  VsWidgetHistoryItem: $U,
46537
46550
  VsEmptyWidget: T2
@@ -46561,7 +46574,7 @@ const $U = /* @__PURE__ */ Lt(CU, [["render", NU]]), VU = ro({
46561
46574
  return;
46562
46575
  }
46563
46576
  try {
46564
- const { data: t } = await Bt.get(
46577
+ const { data: t } = await zt.get(
46565
46578
  `/api/widget/history/${this.id}`
46566
46579
  );
46567
46580
  this.history = t;
@@ -46587,7 +46600,7 @@ const $U = /* @__PURE__ */ Lt(CU, [["render", NU]]), VU = ro({
46587
46600
  };
46588
46601
  function qU(t, e, i, n, r, l) {
46589
46602
  var a;
46590
- const u = zt("VsWidgetHistoryItem");
46603
+ const u = Rt("VsWidgetHistoryItem");
46591
46604
  return Ee(), Re("div", jU, [
46592
46605
  e[0] || (e[0] = Y("div", { class: "flex items-center justify-between mb-4 gap-x-2" }, null, -1)),
46593
46606
  (a = t.history.rows) != null && a.length ? (Ee(), Re("ul", UU, [
@@ -46600,7 +46613,7 @@ function qU(t, e, i, n, r, l) {
46600
46613
  ])) : (Ee(), Re("div", HU, " Історія відсутні "))
46601
46614
  ]);
46602
46615
  }
46603
- const WU = /* @__PURE__ */ Lt(VU, [["render", qU]]), GU = {
46616
+ const WU = /* @__PURE__ */ Ft(VU, [["render", qU]]), GU = {
46604
46617
  "vs-widget-map": CF,
46605
46618
  "vs-widget-gallery": oN,
46606
46619
  "vs-widget-comments": gU,
@@ -47011,7 +47024,7 @@ function QU(t, e, i, n, r, l) {
47011
47024
  Y("path", { d: "m21 21-4.3-4.3" }, null, -1)
47012
47025
  ]));
47013
47026
  }
47014
- const eH = /* @__PURE__ */ Lt(KU, [["render", QU]]), tH = {
47027
+ const eH = /* @__PURE__ */ Ft(KU, [["render", QU]]), tH = {
47015
47028
  components: { IconSearch: eH },
47016
47029
  data() {
47017
47030
  return {
@@ -47036,7 +47049,7 @@ const eH = /* @__PURE__ */ Lt(KU, [["render", QU]]), tH = {
47036
47049
  methods: {
47037
47050
  async getData() {
47038
47051
  try {
47039
- const { data: t } = await Bt.get("/api/user-cls");
47052
+ const { data: t } = await zt.get("/api/user-cls");
47040
47053
  this.data = t;
47041
47054
  } catch {
47042
47055
  }
@@ -47050,7 +47063,7 @@ const eH = /* @__PURE__ */ Lt(KU, [["render", QU]]), tH = {
47050
47063
  style: { height: "calc(100vh - 100px)" }
47051
47064
  }, sH = { class: "w-[99%] overflow-hidden overflow-ellipsis" }, oH = { class: "ml-auto text-[10px] h-[16px] px-[6px] flex items-center justify-center rounded-full bg-gray-200" };
47052
47065
  function aH(t, e, i, n, r, l) {
47053
- const u = zt("IconSearch"), a = zt("VsText"), g = zt("router-link");
47066
+ const u = Rt("IconSearch"), a = Rt("VsText"), g = Rt("router-link");
47054
47067
  return Ee(), Re("div", iH, [
47055
47068
  Y("div", nH, [
47056
47069
  ii(u, {
@@ -47089,7 +47102,7 @@ function aH(t, e, i, n, r, l) {
47089
47102
  ])
47090
47103
  ]);
47091
47104
  }
47092
- const lH = /* @__PURE__ */ Lt(tH, [["render", aH]]), cH = {
47105
+ const lH = /* @__PURE__ */ Ft(tH, [["render", aH]]), cH = {
47093
47106
  props: {
47094
47107
  title: { type: String, default: () => "Дані для відображення відсутні" },
47095
47108
  text: {
@@ -47109,7 +47122,7 @@ function mH(t, e, i, n, r, l) {
47109
47122
  ])
47110
47123
  ]);
47111
47124
  }
47112
- const gH = /* @__PURE__ */ Lt(cH, [["render", mH]]), yH = {
47125
+ const gH = /* @__PURE__ */ Ft(cH, [["render", mH]]), yH = {
47113
47126
  props: {
47114
47127
  modelValue: { type: String, default: () => "#172B4D" },
47115
47128
  colors: {
@@ -47137,7 +47150,7 @@ const gH = /* @__PURE__ */ Lt(cH, [["render", mH]]), yH = {
47137
47150
  }
47138
47151
  }, _H = { class: "flex w-[160px] flex-wrap gap-[4px]" }, vH = ["onClick"];
47139
47152
  function xH(t, e, i, n, r, l) {
47140
- const u = zt("VsPopover");
47153
+ const u = Rt("VsPopover");
47141
47154
  return Ee(), gn(u, {
47142
47155
  ref: "popover",
47143
47156
  placement: "bottom"
@@ -47163,7 +47176,7 @@ function xH(t, e, i, n, r, l) {
47163
47176
  _: 1
47164
47177
  }, 512);
47165
47178
  }
47166
- const OM = /* @__PURE__ */ Lt(yH, [["render", xH]]), bH = {
47179
+ const OM = /* @__PURE__ */ Ft(yH, [["render", xH]]), bH = {
47167
47180
  components: { VsChoceColor: OM },
47168
47181
  props: { item: Object },
47169
47182
  data() {
@@ -47188,7 +47201,7 @@ const OM = /* @__PURE__ */ Lt(yH, [["render", xH]]), bH = {
47188
47201
  }, wH = { class: "relative flex items-center p-3 bg-white border border-gray-200 group gap-x-3 rounded-xl" }, SH = { class: "flex flex-col" }, kH = { class: "flex gap-[30px]" }, TH = { class: "block text-sm font-semibold text-gray-800 text-start z-[10] cursor-pointer" }, MH = { class: "block text-sm font-semibold text-gray-400 text-start z-[10] cursor-pointer" }, CH = { class: "block text-xs text-gray-500 truncate dark:text-neutral-500" };
47189
47202
  function EH(t, e, i, n, r, l) {
47190
47203
  var g;
47191
- const u = zt("VsChoceColor"), a = zt("VsInlineEdit");
47204
+ const u = Rt("VsChoceColor"), a = Rt("VsInlineEdit");
47192
47205
  return Ee(), Re("div", wH, [
47193
47206
  ii(u, {
47194
47207
  modelValue: r.color,
@@ -47221,7 +47234,7 @@ function EH(t, e, i, n, r, l) {
47221
47234
  ])
47222
47235
  ]);
47223
47236
  }
47224
- const AH = /* @__PURE__ */ Lt(bH, [["render", EH]]), PH = {
47237
+ const AH = /* @__PURE__ */ Ft(bH, [["render", EH]]), PH = {
47225
47238
  components: { VsReesterUsersItem: AH },
47226
47239
  props: { list: Array },
47227
47240
  data() {
@@ -47259,7 +47272,7 @@ const AH = /* @__PURE__ */ Lt(bH, [["render", EH]]), PH = {
47259
47272
  style: { width: "calc(100vw - 1000px)", "max-height": "calc(100vh - 430px)" }
47260
47273
  }, DH = ["onDragstart", "onDrop"];
47261
47274
  function OH(t, e, i, n, r, l) {
47262
- const u = zt("VsReesterUsersItem");
47275
+ const u = Rt("VsReesterUsersItem");
47263
47276
  return Ee(), Re("ul", IH, [
47264
47277
  (Ee(!0), Re(yn, null, Cr(i.list, (a, g) => (Ee(), Re("li", {
47265
47278
  key: a == null ? void 0 : a.id,
@@ -47276,7 +47289,7 @@ function OH(t, e, i, n, r, l) {
47276
47289
  ], 40, DH))), 128))
47277
47290
  ]);
47278
47291
  }
47279
- const zH = /* @__PURE__ */ Lt(PH, [["render", OH], ["__scopeId", "data-v-87c0b333"]]), RH = {
47292
+ const zH = /* @__PURE__ */ Ft(PH, [["render", OH], ["__scopeId", "data-v-87c0b333"]]), RH = {
47280
47293
  components: {
47281
47294
  VsNoData: gH,
47282
47295
  VsChoceColor: OM,
@@ -47314,7 +47327,7 @@ const zH = /* @__PURE__ */ Lt(PH, [["render", OH], ["__scopeId", "data-v-87c0b33
47314
47327
  var t;
47315
47328
  this.data = null;
47316
47329
  try {
47317
- const { data: e } = await Bt.get(
47330
+ const { data: e } = await zt.get(
47318
47331
  `/api/user-cls/${(t = this.$route.query) == null ? void 0 : t.name}`
47319
47332
  );
47320
47333
  this.data = e;
@@ -47325,7 +47338,7 @@ const zH = /* @__PURE__ */ Lt(PH, [["render", OH], ["__scopeId", "data-v-87c0b33
47325
47338
  var t, e, i, n;
47326
47339
  try {
47327
47340
  const { form: r } = this.$refs;
47328
- await r.doValidation(), await Bt.post("/api/user-cls", {
47341
+ await r.doValidation(), await zt.post("/api/user-cls", {
47329
47342
  name: (t = this.$route.query) == null ? void 0 : t.name,
47330
47343
  children: [
47331
47344
  ...((e = this.data) == null ? void 0 : e.children) || [],
@@ -47344,7 +47357,7 @@ const zH = /* @__PURE__ */ Lt(PH, [["render", OH], ["__scopeId", "data-v-87c0b33
47344
47357
  var e, i;
47345
47358
  this.data.children = t;
47346
47359
  try {
47347
- await Bt.post("/api/user-cls", {
47360
+ await zt.post("/api/user-cls", {
47348
47361
  name: (e = this.$route.query) == null ? void 0 : e.name,
47349
47362
  children: [...((i = this.data) == null ? void 0 : i.children) || []]
47350
47363
  }), await this.getData();
@@ -47363,7 +47376,7 @@ const zH = /* @__PURE__ */ Lt(PH, [["render", OH], ["__scopeId", "data-v-87c0b33
47363
47376
  }, BH = { class: "flex items-end w-full gap-[4px]" };
47364
47377
  function NH(t, e, i, n, r, l) {
47365
47378
  var k, M, P, I, N;
47366
- const u = zt("VsForm"), a = zt("VsChoceColor"), g = zt("IconCheck"), _ = zt("VsReesterUsersList"), S = zt("VsNoData");
47379
+ const u = Rt("VsForm"), a = Rt("VsChoceColor"), g = Rt("IconCheck"), _ = Rt("VsReesterUsersList"), S = Rt("VsNoData");
47367
47380
  return Ee(), Re("div", LH, [
47368
47381
  (M = (k = t.$route) == null ? void 0 : k.query) != null && M.name ? (Ee(), Re("div", FH, [
47369
47382
  e[3] || (e[3] = Y("h2", { class: "font-bold mb-[10px]" }, "Створити", -1)),
@@ -47402,17 +47415,17 @@ function NH(t, e, i, n, r, l) {
47402
47415
  }))
47403
47416
  ]);
47404
47417
  }
47405
- const $H = /* @__PURE__ */ Lt(RH, [["render", NH]]), VH = {
47418
+ const $H = /* @__PURE__ */ Ft(RH, [["render", NH]]), VH = {
47406
47419
  components: { VsReesterNavList: lH, VsReesterContent: $H }
47407
47420
  }, jH = { class: "flex items-start gap-0" };
47408
47421
  function UH(t, e, i, n, r, l) {
47409
- const u = zt("VsReesterNavList"), a = zt("VsReesterContent");
47422
+ const u = Rt("VsReesterNavList"), a = Rt("VsReesterContent");
47410
47423
  return Ee(), Re("div", jH, [
47411
47424
  ii(u),
47412
47425
  ii(a)
47413
47426
  ]);
47414
47427
  }
47415
- const HH = /* @__PURE__ */ Lt(VH, [["render", UH]]), qH = {
47428
+ const HH = /* @__PURE__ */ Ft(VH, [["render", UH]]), qH = {
47416
47429
  "user-cls-page": HH
47417
47430
  }, M0 = {
47418
47431
  ...GU,
@@ -47427,7 +47440,7 @@ const HH = /* @__PURE__ */ Lt(VH, [["render", UH]]), qH = {
47427
47440
  }), e;
47428
47441
  }, WH = Rs(null), GH = async () => {
47429
47442
  try {
47430
- const { data: t } = await Bt.get("/api/user-menu");
47443
+ const { data: t } = await zt.get("/api/user-menu");
47431
47444
  return WH.value = t, zM(t);
47432
47445
  } catch (t) {
47433
47446
  return console.error(t), [];
@@ -47459,8 +47472,8 @@ const HH = /* @__PURE__ */ Lt(VH, [["render", UH]]), qH = {
47459
47472
  export {
47460
47473
  eH as I,
47461
47474
  BL as V,
47462
- Lt as _,
47463
- Bt as a,
47475
+ Ft as _,
47476
+ zt as a,
47464
47477
  w8 as b,
47465
47478
  gH as c,
47466
47479
  gU as d,