startup-ui 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { mergeModels as ie, getCurrentInstance as ia, computed as V, useModel as Oe, ref as J, watch as Ae, provide as Te, createElementBlock as S, openBlock as h, withModifiers as $e, normalizeClass as z, renderSlot as I, inject as we, useSlots as Kt, cloneVNode as la, useTemplateRef as Ce, createElementVNode as E, normalizeStyle as ge, unref as R, toDisplayString as G, createCommentVNode as B, Fragment as ee, renderList as de, createBlock as re, resolveDynamicComponent as St, withDirectives as gt, createTextVNode as le, vModelText as ua, vModelDynamic as Qs, defineComponent as rt, h as ca, useAttrs as Un, onMounted as wt, nextTick as at, onBeforeUnmount as fa, createVNode as Z, Teleport as Ge, vModelRadio as Zs, withCtx as ke, vModelCheckbox as eo, onBeforeMount as da, resolveComponent as yt, createSlots as to, render as ma, Transition as no } from "vue";
1
+ import { mergeModels as ie, getCurrentInstance as ia, computed as H, useModel as Oe, ref as J, watch as Ae, provide as Te, createElementBlock as S, openBlock as v, withModifiers as $e, normalizeClass as z, renderSlot as I, inject as we, useSlots as Kt, cloneVNode as la, useTemplateRef as Ce, createElementVNode as E, normalizeStyle as ge, unref as R, toDisplayString as G, createCommentVNode as B, Fragment as ee, renderList as de, createBlock as re, resolveDynamicComponent as St, withDirectives as gt, createTextVNode as le, vModelText as ua, vModelDynamic as Qs, defineComponent as rt, h as ca, useAttrs as Un, onMounted as wt, nextTick as at, onBeforeUnmount as fa, createVNode as Z, Teleport as Ge, vModelRadio as Zs, withCtx as xe, vModelCheckbox as eo, onBeforeMount as da, resolveComponent as yt, createSlots as to, render as ma, Transition as no } from "vue";
2
2
  import { router as zn, Link as yn } from "@inertiajs/vue3";
3
- import { templateRef as ro, useEventListener as ao, useDraggable as Hn, useResizeObserver as pa, useClipboard as so, useStorage as oo } from "@vueuse/core";
3
+ import { templateRef as ro, useEventListener as ao, useDraggable as Vn, useResizeObserver as pa, useClipboard as so, useStorage as oo } from "@vueuse/core";
4
4
  import io from "@tinymce/tinymce-vue";
5
5
  import "tinymce/tinymce";
6
6
  import "tinymce/skins/ui/oxide/skin.min.css";
@@ -29,7 +29,7 @@ const lo = {
29
29
  }),
30
30
  emits: /* @__PURE__ */ ie(["submit", "update:modelValue"], ["update:modelValue"]),
31
31
  setup(e, { emit: t }) {
32
- const n = e, r = t, a = ia(), o = V(
32
+ const n = e, r = t, a = ia(), o = H(
33
33
  () => {
34
34
  var f;
35
35
  return !!((f = a == null ? void 0 : a.vnode.props) != null && f.onSubmit);
@@ -59,7 +59,7 @@ const lo = {
59
59
  b.includes(".") && !p[b.split(".")[0]] && (p[b.split(".")[0]] = p[b]);
60
60
  }), p;
61
61
  };
62
- return Te("formModel", s.value), Te("formErrors", i), Te("titlesWidth", n.titlesWidth), (f, p) => (h(), S("form", {
62
+ return Te("formModel", s.value), Te("formErrors", i), Te("titlesWidth", n.titlesWidth), (f, p) => (v(), S("form", {
63
63
  class: z(["s-form", { titles_at_left: e.titlesAtLeft, loading: l.value || e.loading }]),
64
64
  onSubmit: $e(u, ["prevent"])
65
65
  }, [
@@ -84,24 +84,24 @@ const lo = {
84
84
  hint: String
85
85
  },
86
86
  setup(e, { expose: t }) {
87
- const n = e, r = we("formModel"), a = V({
87
+ const n = e, r = we("formModel"), a = H({
88
88
  get: () => r == null ? void 0 : r[n.name],
89
89
  set: (p) => {
90
90
  r && (r[n.name] = p);
91
91
  }
92
- }), o = we("formErrors"), s = V(() => {
92
+ }), o = we("formErrors"), s = H(() => {
93
93
  var p;
94
94
  return (p = o.value[n.name]) != null ? p : "";
95
- }), i = we("titlesWidth"), l = Kt(), u = V(() => {
95
+ }), i = we("titlesWidth"), l = Kt(), u = H(() => {
96
96
  var b;
97
- return (((b = l.default) == null ? void 0 : b.call(l)) || []).map((d) => {
98
- var v;
99
- if (typeof d.type != "object") return d;
100
- const m = (v = d.props) == null ? void 0 : v.type;
101
- return la(d, {
97
+ return (((b = l.default) == null ? void 0 : b.call(l)) || []).map((m) => {
98
+ var h;
99
+ if (typeof m.type != "object") return m;
100
+ const d = (h = m.props) == null ? void 0 : h.type;
101
+ return la(m, {
102
102
  modelValue: a.value,
103
103
  "onUpdate:modelValue": (g) => {
104
- m === "number" ? a.value = g === "" ? null : Number(g) : a.value = g;
104
+ d === "number" ? a.value = g === "" ? null : Number(g) : a.value = g;
105
105
  }
106
106
  });
107
107
  });
@@ -111,35 +111,35 @@ const lo = {
111
111
  p && p.focus();
112
112
  }
113
113
  return t({ focus: f }), (p, b) => {
114
- var d;
115
- return h(), S("div", {
114
+ var m;
115
+ return v(), S("div", {
116
116
  class: z(["s-formrow", { error: s.value !== "" }])
117
117
  }, [
118
- p.$slots.title ? (h(), S("div", {
118
+ p.$slots.title ? (v(), S("div", {
119
119
  key: 0,
120
120
  class: "s-formrow-title",
121
121
  style: ge({ width: R(i) ? R(i) + "px" : null })
122
122
  }, [
123
123
  I(p.$slots, "title")
124
- ], 4)) : (h(), S("div", {
124
+ ], 4)) : (v(), S("div", {
125
125
  key: 1,
126
126
  class: "s-formrow-title",
127
127
  onClick: f,
128
128
  style: ge({ width: R(i) ? R(i) + "px" : null })
129
- }, G((d = e.title) != null ? d : ""), 5)),
129
+ }, G((m = e.title) != null ? m : ""), 5)),
130
130
  E("div", uo, [
131
131
  E("div", {
132
132
  class: "s-formrow-input",
133
133
  ref_key: "input",
134
134
  ref: c
135
135
  }, [
136
- e.name ? (h(!0), S(ee, { key: 0 }, de(u.value, (m, v) => (h(), re(St(m), { key: v }))), 128)) : I(p.$slots, "default", { key: 1 }),
137
- p.$slots.hint ? (h(), S("div", co, [
136
+ e.name ? (v(!0), S(ee, { key: 0 }, de(u.value, (d, h) => (v(), re(St(d), { key: h }))), 128)) : I(p.$slots, "default", { key: 1 }),
137
+ p.$slots.hint ? (v(), S("div", co, [
138
138
  I(p.$slots, "hint")
139
139
  ])) : B("", !0),
140
- e.hint ? (h(), S("div", fo, G(e.hint), 1)) : B("", !0)
140
+ e.hint ? (v(), S("div", fo, G(e.hint), 1)) : B("", !0)
141
141
  ], 512),
142
- s.value ? (h(), S("div", mo, G(Array.isArray(s.value) ? s.value.join("") : s.value), 1)) : B("", !0)
142
+ s.value ? (v(), S("div", mo, G(Array.isArray(s.value) ? s.value.join("") : s.value), 1)) : B("", !0)
143
143
  ])
144
144
  ], 2);
145
145
  };
@@ -179,16 +179,16 @@ const lo = {
179
179
  }),
180
180
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
181
181
  setup(e, { emit: t }) {
182
- const n = e, r = Oe(e, "modelValue"), a = Kt(), o = V(() => n.prefix || a.prefix), s = V(() => n.suffix || a.suffix);
183
- return (i, l) => (h(), S("div", {
182
+ const n = e, r = Oe(e, "modelValue"), a = Kt(), o = H(() => n.prefix || a.prefix), s = H(() => n.suffix || a.suffix);
183
+ return (i, l) => (v(), S("div", {
184
184
  class: z(["s-input", { "has-prefix": o.value, "has-suffix": s.value }])
185
185
  }, [
186
- o.value ? (h(), S("span", ho, [
187
- e.prefix ? (h(), S(ee, { key: 0 }, [
186
+ o.value ? (v(), S("span", ho, [
187
+ e.prefix ? (v(), S(ee, { key: 0 }, [
188
188
  le(G(e.prefix), 1)
189
189
  ], 64)) : I(i.$slots, "prefix", { key: 1 })
190
190
  ])) : B("", !0),
191
- e.type === "textarea" ? gt((h(), S("textarea", {
191
+ e.type === "textarea" ? gt((v(), S("textarea", {
192
192
  key: 1,
193
193
  class: "s-input-field",
194
194
  "onUpdate:modelValue": l[0] || (l[0] = (u) => r.value = u),
@@ -199,7 +199,7 @@ const lo = {
199
199
  style: ge(e.inputStyle)
200
200
  }, null, 44, vo)), [
201
201
  [ua, r.value]
202
- ]) : gt((h(), S("input", {
202
+ ]) : gt((v(), S("input", {
203
203
  key: 2,
204
204
  class: "s-input-field",
205
205
  type: e.type,
@@ -211,8 +211,8 @@ const lo = {
211
211
  }, null, 44, go)), [
212
212
  [Qs, r.value]
213
213
  ]),
214
- s.value ? (h(), S("span", yo, [
215
- e.suffix ? (h(), S(ee, { key: 0 }, [
214
+ s.value ? (v(), S("span", yo, [
215
+ e.suffix ? (v(), S(ee, { key: 0 }, [
216
216
  le(G(e.suffix), 1)
217
217
  ], 64)) : I(i.$slots, "suffix", { key: 1 })
218
218
  ])) : B("", !0)
@@ -235,24 +235,24 @@ function So(e) {
235
235
  function wo(e) {
236
236
  if (Array.isArray(e)) return bn(e);
237
237
  }
238
- function ko(e, t) {
238
+ function xo(e, t) {
239
239
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
240
240
  }
241
- function xo(e, t) {
241
+ function ko(e, t) {
242
242
  for (var n = 0; n < t.length; n++) {
243
243
  var r = t[n];
244
244
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, ha(r.key), r);
245
245
  }
246
246
  }
247
247
  function $o(e, t, n) {
248
- return t && xo(e.prototype, t), Object.defineProperty(e, "prototype", {
248
+ return t && ko(e.prototype, t), Object.defineProperty(e, "prototype", {
249
249
  writable: !1
250
250
  }), e;
251
251
  }
252
252
  function Rt(e, t) {
253
253
  var n = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
254
254
  if (!n) {
255
- if (Array.isArray(e) || (n = Vn(e)) || t) {
255
+ if (Array.isArray(e) || (n = Hn(e)) || t) {
256
256
  n && (e = n);
257
257
  var r = 0, a = function() {
258
258
  };
@@ -358,10 +358,10 @@ function $(e) {
358
358
  return e;
359
359
  }
360
360
  function Jt(e, t) {
361
- return So(e) || Oo(e, t) || Vn(e, t) || Eo();
361
+ return So(e) || Oo(e, t) || Hn(e, t) || Eo();
362
362
  }
363
363
  function Pe(e) {
364
- return wo(e) || Ao(e) || Vn(e) || _o();
364
+ return wo(e) || Ao(e) || Hn(e) || _o();
365
365
  }
366
366
  function To(e, t) {
367
367
  if (typeof e != "object" || !e) return e;
@@ -385,7 +385,7 @@ function Ut(e) {
385
385
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
386
386
  }, Ut(e);
387
387
  }
388
- function Vn(e, t) {
388
+ function Hn(e, t) {
389
389
  if (e) {
390
390
  if (typeof e == "string") return bn(e, t);
391
391
  var n = {}.toString.call(e).slice(8, -1);
@@ -511,8 +511,8 @@ var je = !!ae.documentElement && !!ae.head && typeof ae.addEventListener == "fun
511
511
  GROUP: "duotone-group",
512
512
  PRIMARY: "primary",
513
513
  SECONDARY: "secondary"
514
- }, wa = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], me = "classic", kt = "duotone", ka = "sharp", xa = "sharp-duotone", $a = "chisel", Aa = "etch", Oa = "jelly", Ea = "jelly-duo", _a = "jelly-fill", Ta = "notdog", Ca = "notdog-duo", Pa = "slab", Na = "slab-press", Fa = "thumbprint", Ia = "utility", Ra = "utility-duo", Ma = "utility-fill", ja = "whiteboard", Io = "Classic", Ro = "Duotone", Mo = "Sharp", jo = "Sharp Duotone", Do = "Chisel", Lo = "Etch", Bo = "Jelly", Uo = "Jelly Duo", zo = "Jelly Fill", Ho = "Notdog", Vo = "Notdog Duo", Wo = "Slab", Yo = "Slab Press", qo = "Thumbprint", Ko = "Utility", Jo = "Utility Duo", Go = "Utility Fill", Xo = "Whiteboard", Da = [me, kt, ka, xa, $a, Aa, Oa, Ea, _a, Ta, Ca, Pa, Na, Fa, Ia, Ra, Ma, ja];
515
- sn = {}, q(q(q(q(q(q(q(q(q(q(sn, me, Io), kt, Ro), ka, Mo), xa, jo), $a, Do), Aa, Lo), Oa, Bo), Ea, Uo), _a, zo), Ta, Ho), q(q(q(q(q(q(q(q(sn, Ca, Vo), Pa, Wo), Na, Yo), Fa, qo), Ia, Ko), Ra, Jo), Ma, Go), ja, Xo);
514
+ }, wa = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], me = "classic", xt = "duotone", xa = "sharp", ka = "sharp-duotone", $a = "chisel", Aa = "etch", Oa = "jelly", Ea = "jelly-duo", _a = "jelly-fill", Ta = "notdog", Ca = "notdog-duo", Pa = "slab", Na = "slab-press", Fa = "thumbprint", Ia = "utility", Ra = "utility-duo", Ma = "utility-fill", ja = "whiteboard", Io = "Classic", Ro = "Duotone", Mo = "Sharp", jo = "Sharp Duotone", Do = "Chisel", Lo = "Etch", Bo = "Jelly", Uo = "Jelly Duo", zo = "Jelly Fill", Vo = "Notdog", Ho = "Notdog Duo", Wo = "Slab", Yo = "Slab Press", qo = "Thumbprint", Ko = "Utility", Jo = "Utility Duo", Go = "Utility Fill", Xo = "Whiteboard", Da = [me, xt, xa, ka, $a, Aa, Oa, Ea, _a, Ta, Ca, Pa, Na, Fa, Ia, Ra, Ma, ja];
515
+ sn = {}, q(q(q(q(q(q(q(q(q(q(sn, me, Io), xt, Ro), xa, Mo), ka, jo), $a, Do), Aa, Lo), Oa, Bo), Ea, Uo), _a, zo), Ta, Vo), q(q(q(q(q(q(q(q(sn, Ca, Ho), Pa, Wo), Na, Yo), Fa, qo), Ia, Ko), Ra, Jo), Ma, Go), ja, Xo);
516
516
  var Qo = {
517
517
  classic: {
518
518
  900: "fas",
@@ -890,8 +890,8 @@ var ii = {
890
890
  SWAP_OPACITY: "swap-opacity",
891
891
  PRIMARY: "primary",
892
892
  SECONDARY: "secondary"
893
- }, ci = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], fi = "classic", di = "duotone", mi = "sharp", pi = "sharp-duotone", hi = "chisel", vi = "etch", gi = "jelly", yi = "jelly-duo", bi = "jelly-fill", Si = "notdog", wi = "notdog-duo", ki = "slab", xi = "slab-press", $i = "thumbprint", Ai = "utility", Oi = "utility-duo", Ei = "utility-fill", _i = "whiteboard", Ti = "Classic", Ci = "Duotone", Pi = "Sharp", Ni = "Sharp Duotone", Fi = "Chisel", Ii = "Etch", Ri = "Jelly", Mi = "Jelly Duo", ji = "Jelly Fill", Di = "Notdog", Li = "Notdog Duo", Bi = "Slab", Ui = "Slab Press", zi = "Thumbprint", Hi = "Utility", Vi = "Utility Duo", Wi = "Utility Fill", Yi = "Whiteboard";
894
- on = {}, q(q(q(q(q(q(q(q(q(q(on, fi, Ti), di, Ci), mi, Pi), pi, Ni), hi, Fi), vi, Ii), gi, Ri), yi, Mi), bi, ji), Si, Di), q(q(q(q(q(q(q(q(on, wi, Li), ki, Bi), xi, Ui), $i, zi), Ai, Hi), Oi, Vi), Ei, Wi), _i, Yi);
893
+ }, ci = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], fi = "classic", di = "duotone", mi = "sharp", pi = "sharp-duotone", hi = "chisel", vi = "etch", gi = "jelly", yi = "jelly-duo", bi = "jelly-fill", Si = "notdog", wi = "notdog-duo", xi = "slab", ki = "slab-press", $i = "thumbprint", Ai = "utility", Oi = "utility-duo", Ei = "utility-fill", _i = "whiteboard", Ti = "Classic", Ci = "Duotone", Pi = "Sharp", Ni = "Sharp Duotone", Fi = "Chisel", Ii = "Etch", Ri = "Jelly", Mi = "Jelly Duo", ji = "Jelly Fill", Di = "Notdog", Li = "Notdog Duo", Bi = "Slab", Ui = "Slab Press", zi = "Thumbprint", Vi = "Utility", Hi = "Utility Duo", Wi = "Utility Fill", Yi = "Whiteboard";
894
+ on = {}, q(q(q(q(q(q(q(q(q(q(on, fi, Ti), di, Ci), mi, Pi), pi, Ni), hi, Fi), vi, Ii), gi, Ri), yi, Mi), bi, ji), Si, Di), q(q(q(q(q(q(q(q(on, wi, Li), xi, Bi), ki, Ui), $i, zi), Ai, Vi), Oi, Hi), Ei, Wi), _i, Yi);
895
895
  var qi = "kit", Ki = "kit-duotone", Ji = "Kit", Gi = "Kit Duotone";
896
896
  q(q({}, qi, Ji), Ki, Gi);
897
897
  var Xi = {
@@ -1071,14 +1071,14 @@ var Xi = {
1071
1071
  "Font Awesome 5 Duotone": {
1072
1072
  900: "fad"
1073
1073
  }
1074
- }, Re = "___FONT_AWESOME___", wn = 16, za = "fa", Ha = "svg-inline--fa", qe = "data-fa-i2svg", kn = "data-fa-pseudo-element", sl = "data-fa-pseudo-element-pending", Yn = "data-prefix", qn = "data-icon", pr = "fontawesome-i2svg", ol = "async", il = ["HTML", "HEAD", "STYLE", "SCRIPT"], Va = ["::before", "::after", ":before", ":after"], Wa = function() {
1074
+ }, Re = "___FONT_AWESOME___", wn = 16, za = "fa", Va = "svg-inline--fa", qe = "data-fa-i2svg", xn = "data-fa-pseudo-element", sl = "data-fa-pseudo-element-pending", Yn = "data-prefix", qn = "data-icon", pr = "fontawesome-i2svg", ol = "async", il = ["HTML", "HEAD", "STYLE", "SCRIPT"], Ha = ["::before", "::after", ":before", ":after"], Wa = function() {
1075
1075
  try {
1076
1076
  return process.env.NODE_ENV === "production";
1077
1077
  } catch {
1078
1078
  return !1;
1079
1079
  }
1080
1080
  }();
1081
- function xt(e) {
1081
+ function kt(e) {
1082
1082
  return new Proxy(e, {
1083
1083
  get: function(n, r) {
1084
1084
  return r in n ? n[r] : n[me];
@@ -1089,17 +1089,17 @@ var Ya = $({}, Sa);
1089
1089
  Ya[me] = $($($($({}, {
1090
1090
  "fa-duotone": "duotone"
1091
1091
  }), Sa[me]), dr.kit), dr["kit-duotone"]);
1092
- var ll = xt(Ya), xn = $({}, ti);
1093
- xn[me] = $($($($({}, {
1092
+ var ll = kt(Ya), kn = $({}, ti);
1093
+ kn[me] = $($($($({}, {
1094
1094
  duotone: "fad"
1095
- }), xn[me]), mr.kit), mr["kit-duotone"]);
1096
- var hr = xt(xn), $n = $({}, Sn);
1095
+ }), kn[me]), mr.kit), mr["kit-duotone"]);
1096
+ var hr = kt(kn), $n = $({}, Sn);
1097
1097
  $n[me] = $($({}, $n[me]), ui.kit);
1098
- var Kn = xt($n), An = $({}, Xi);
1098
+ var Kn = kt($n), An = $({}, Xi);
1099
1099
  An[me] = $($({}, An[me]), ii.kit);
1100
- xt(An);
1100
+ kt(An);
1101
1101
  var ul = Po, qa = "fa-layers-text", cl = No, fl = $({}, Qo);
1102
- xt(fl);
1102
+ kt(fl);
1103
1103
  var dl = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ln = Fo, ml = [].concat(Pe(ni), Pe(rl)), pt = Le.FontAwesomeConfig || {};
1104
1104
  function pl(e) {
1105
1105
  var t = ae.querySelector("script[" + e + "]");
@@ -1120,7 +1120,7 @@ var Ka = {
1120
1120
  styleDefault: "solid",
1121
1121
  familyDefault: me,
1122
1122
  cssPrefix: za,
1123
- replacementClass: Ha,
1123
+ replacementClass: Va,
1124
1124
  autoReplaceSvg: !0,
1125
1125
  autoAddCss: !0,
1126
1126
  searchPseudoElements: !1,
@@ -1232,11 +1232,11 @@ function wl(e) {
1232
1232
  path: u
1233
1233
  };
1234
1234
  }
1235
- function kl(e) {
1235
+ function xl(e) {
1236
1236
  var t = e.transform, n = e.width, r = n === void 0 ? wn : n, a = e.height, o = a === void 0 ? wn : a, s = "";
1237
1237
  return ba ? s += "translate(".concat(t.x / Qe - r / 2, "em, ").concat(t.y / Qe - o / 2, "em) ") : s += "translate(calc(-50% + ".concat(t.x / Qe, "em), calc(-50% + ").concat(t.y / Qe, "em)) "), s += "scale(".concat(t.size / Qe * (t.flipX ? -1 : 1), ", ").concat(t.size / Qe * (t.flipY ? -1 : 1), ") "), s += "rotate(".concat(t.rotate, "deg) "), s;
1238
1238
  }
1239
- var xl = `:root, :host {
1239
+ var kl = `:root, :host {
1240
1240
  --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
1241
1241
  --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
1242
1242
  --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
@@ -1788,7 +1788,7 @@ var xl = `:root, :host {
1788
1788
  z-index: var(--fa-stack-z-index, auto);
1789
1789
  }`;
1790
1790
  function Ga() {
1791
- var e = za, t = Ha, n = j.cssPrefix, r = j.replacementClass, a = xl;
1791
+ var e = za, t = Va, n = j.cssPrefix, r = j.replacementClass, a = kl;
1792
1792
  if (n !== e || r !== t) {
1793
1793
  var o = new RegExp("\\.".concat(e, "\\-"), "g"), s = new RegExp("\\--".concat(e, "\\-"), "g"), i = new RegExp("\\.".concat(t), "g");
1794
1794
  a = a.replace(o, ".".concat(n, "-")).replace(s, "--".concat(n, "-")).replace(i, ".".concat(r));
@@ -1934,7 +1934,7 @@ function Qn(e, t) {
1934
1934
  function Cl(e, t) {
1935
1935
  return (ns[e] || {})[t];
1936
1936
  }
1937
- function Ve(e, t) {
1937
+ function He(e, t) {
1938
1938
  return (ss[e] || {})[t];
1939
1939
  }
1940
1940
  function is(e) {
@@ -1975,7 +1975,7 @@ function Nl(e) {
1975
1975
  }
1976
1976
  function Xt(e) {
1977
1977
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, r = n === void 0 ? me : n, a = ll[r][e];
1978
- if (r === kt && !e)
1978
+ if (r === xt && !e)
1979
1979
  return "fad";
1980
1980
  var o = hr[r][e] || hr[r][a], s = e in _e.styles ? e : null, i = o || s || null;
1981
1981
  return i;
@@ -2024,35 +2024,35 @@ function Il(e, t, n) {
2024
2024
  prefix: r,
2025
2025
  iconName: a
2026
2026
  };
2027
- var o = t === "fa" ? is(a) : {}, s = Ve(r, a);
2027
+ var o = t === "fa" ? is(a) : {}, s = He(r, a);
2028
2028
  return a = o.iconName || s || a, r = o.prefix || r, r === "far" && !bt.far && bt.fas && !j.autoFetchSvg && (r = "fas"), {
2029
2029
  prefix: r,
2030
2030
  iconName: a
2031
2031
  };
2032
2032
  }
2033
2033
  var Rl = Da.filter(function(e) {
2034
- return e !== me || e !== kt;
2034
+ return e !== me || e !== xt;
2035
2035
  }), Ml = Object.keys(Sn).filter(function(e) {
2036
2036
  return e !== me;
2037
2037
  }).map(function(e) {
2038
2038
  return Object.keys(Sn[e]);
2039
2039
  }).flat();
2040
2040
  function jl(e) {
2041
- var t = e.values, n = e.family, r = e.canonical, a = e.givenPrefix, o = a === void 0 ? "" : a, s = e.styles, i = s === void 0 ? {} : s, l = e.config, u = l === void 0 ? {} : l, c = n === kt, f = t.includes("fa-duotone") || t.includes("fad"), p = u.familyDefault === "duotone", b = r.prefix === "fad" || r.prefix === "fa-duotone";
2041
+ var t = e.values, n = e.family, r = e.canonical, a = e.givenPrefix, o = a === void 0 ? "" : a, s = e.styles, i = s === void 0 ? {} : s, l = e.config, u = l === void 0 ? {} : l, c = n === xt, f = t.includes("fa-duotone") || t.includes("fad"), p = u.familyDefault === "duotone", b = r.prefix === "fad" || r.prefix === "fa-duotone";
2042
2042
  if (!c && (f || p || b) && (r.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (r.prefix = "fab"), !r.prefix && Rl.includes(n)) {
2043
- var d = Object.keys(i).find(function(v) {
2044
- return Ml.includes(v);
2043
+ var m = Object.keys(i).find(function(h) {
2044
+ return Ml.includes(h);
2045
2045
  });
2046
- if (d || u.autoFetchSvg) {
2047
- var m = ei.get(n).defaultShortPrefixId;
2048
- r.prefix = m, r.iconName = Ve(r.prefix, r.iconName) || r.iconName;
2046
+ if (m || u.autoFetchSvg) {
2047
+ var d = ei.get(n).defaultShortPrefixId;
2048
+ r.prefix = d, r.iconName = He(r.prefix, r.iconName) || r.iconName;
2049
2049
  }
2050
2050
  }
2051
2051
  return (r.prefix === "fa" || o === "fa") && (r.prefix = Be() || "fas"), r;
2052
2052
  }
2053
2053
  var Dl = /* @__PURE__ */ function() {
2054
2054
  function e() {
2055
- ko(this, e), this.definitions = {};
2055
+ xo(this, e), this.definitions = {};
2056
2056
  }
2057
2057
  return $o(e, [{
2058
2058
  key: "add",
@@ -2085,12 +2085,12 @@ var Dl = /* @__PURE__ */ function() {
2085
2085
  }), n;
2086
2086
  }
2087
2087
  }]);
2088
- }(), kr = [], Ze = {}, et = {}, Ll = Object.keys(et);
2088
+ }(), xr = [], Ze = {}, et = {}, Ll = Object.keys(et);
2089
2089
  function Bl(e, t) {
2090
2090
  var n = t.mixoutsTo;
2091
- return kr = e, Ze = {}, Object.keys(et).forEach(function(r) {
2091
+ return xr = e, Ze = {}, Object.keys(et).forEach(function(r) {
2092
2092
  Ll.indexOf(r) === -1 && delete et[r];
2093
- }), kr.forEach(function(r) {
2093
+ }), xr.forEach(function(r) {
2094
2094
  var a = r.mixout ? r.mixout() : {};
2095
2095
  if (Object.keys(a).forEach(function(s) {
2096
2096
  typeof a[s] == "function" && (n[s] = a[s]), Ut(a[s]) === "object" && Object.keys(a[s]).forEach(function(i) {
@@ -2129,7 +2129,7 @@ function _n(e) {
2129
2129
  e.prefix === "fa" && (e.prefix = "fas");
2130
2130
  var t = e.iconName, n = e.prefix || Be();
2131
2131
  if (t)
2132
- return t = Ve(n, t) || t, yr(us.definitions, n, t) || yr(_e.styles, n, t);
2132
+ return t = He(n, t) || t, yr(us.definitions, n, t) || yr(_e.styles, n, t);
2133
2133
  }
2134
2134
  var us = new Dl(), Ul = function() {
2135
2135
  j.autoReplaceSvg = !1, j.observeMutations = !1, Ke("noAuto");
@@ -2141,25 +2141,25 @@ var us = new Dl(), Ul = function() {
2141
2141
  watch: function() {
2142
2142
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
2143
2143
  j.autoReplaceSvg === !1 && (j.autoReplaceSvg = !0), j.observeMutations = !0, Al(function() {
2144
- Vl({
2144
+ Hl({
2145
2145
  autoReplaceSvgRoot: n
2146
2146
  }), Ke("watch", t);
2147
2147
  });
2148
2148
  }
2149
- }, Hl = {
2149
+ }, Vl = {
2150
2150
  icon: function(t) {
2151
2151
  if (t === null)
2152
2152
  return null;
2153
2153
  if (Ut(t) === "object" && t.prefix && t.iconName)
2154
2154
  return {
2155
2155
  prefix: t.prefix,
2156
- iconName: Ve(t.prefix, t.iconName) || t.iconName
2156
+ iconName: He(t.prefix, t.iconName) || t.iconName
2157
2157
  };
2158
2158
  if (Array.isArray(t) && t.length === 2) {
2159
2159
  var n = t[1].indexOf("fa-") === 0 ? t[1].slice(3) : t[1], r = Xt(t[0]);
2160
2160
  return {
2161
2161
  prefix: r,
2162
- iconName: Ve(r, n) || n
2162
+ iconName: He(r, n) || n
2163
2163
  };
2164
2164
  }
2165
2165
  if (typeof t == "string" && (t.indexOf("".concat(j.cssPrefix, "-")) > -1 || t.match(ul))) {
@@ -2168,28 +2168,28 @@ var us = new Dl(), Ul = function() {
2168
2168
  });
2169
2169
  return {
2170
2170
  prefix: a.prefix || Be(),
2171
- iconName: Ve(a.prefix, a.iconName) || a.iconName
2171
+ iconName: He(a.prefix, a.iconName) || a.iconName
2172
2172
  };
2173
2173
  }
2174
2174
  if (typeof t == "string") {
2175
2175
  var o = Be();
2176
2176
  return {
2177
2177
  prefix: o,
2178
- iconName: Ve(o, t) || t
2178
+ iconName: He(o, t) || t
2179
2179
  };
2180
2180
  }
2181
2181
  }
2182
- }, xe = {
2182
+ }, ke = {
2183
2183
  noAuto: Ul,
2184
2184
  config: j,
2185
2185
  dom: zl,
2186
- parse: Hl,
2186
+ parse: Vl,
2187
2187
  library: us,
2188
2188
  findIconDefinition: _n,
2189
2189
  toHtml: $t
2190
- }, Vl = function() {
2190
+ }, Hl = function() {
2191
2191
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, r = n === void 0 ? ae : n;
2192
- (Object.keys(_e.styles).length > 0 || j.autoFetchSvg) && je && j.autoReplaceSvg && xe.dom.i2svg({
2192
+ (Object.keys(_e.styles).length > 0 || j.autoFetchSvg) && je && j.autoReplaceSvg && ke.dom.i2svg({
2193
2193
  node: r
2194
2194
  });
2195
2195
  };
@@ -2251,22 +2251,22 @@ function ql(e) {
2251
2251
  });
2252
2252
  }
2253
2253
  function Zn(e) {
2254
- var t = e.icons, n = t.main, r = t.mask, a = e.prefix, o = e.iconName, s = e.transform, i = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, f = c === void 0 ? !1 : c, p = r.found ? r : n, b = p.width, d = p.height, m = [j.replacementClass, o ? "".concat(j.cssPrefix, "-").concat(o) : ""].filter(function(H) {
2255
- return u.classes.indexOf(H) === -1;
2256
- }).filter(function(H) {
2257
- return H !== "" || !!H;
2258
- }).concat(u.classes).join(" "), v = {
2254
+ var t = e.icons, n = t.main, r = t.mask, a = e.prefix, o = e.iconName, s = e.transform, i = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, f = c === void 0 ? !1 : c, p = r.found ? r : n, b = p.width, m = p.height, d = [j.replacementClass, o ? "".concat(j.cssPrefix, "-").concat(o) : ""].filter(function(V) {
2255
+ return u.classes.indexOf(V) === -1;
2256
+ }).filter(function(V) {
2257
+ return V !== "" || !!V;
2258
+ }).concat(u.classes).join(" "), h = {
2259
2259
  children: [],
2260
2260
  attributes: $($({}, u.attributes), {}, {
2261
2261
  "data-prefix": a,
2262
2262
  "data-icon": o,
2263
- class: m,
2263
+ class: d,
2264
2264
  role: u.attributes.role || "img",
2265
- viewBox: "0 0 ".concat(b, " ").concat(d)
2265
+ viewBox: "0 0 ".concat(b, " ").concat(m)
2266
2266
  })
2267
2267
  };
2268
- !ql(u.attributes) && !u.attributes["aria-hidden"] && (v.attributes["aria-hidden"] = "true"), f && (v.attributes[qe] = "");
2269
- var g = $($({}, v), {}, {
2268
+ !ql(u.attributes) && !u.attributes["aria-hidden"] && (h.attributes["aria-hidden"] = "true"), f && (h.attributes[qe] = "");
2269
+ var g = $($({}, h), {}, {
2270
2270
  prefix: a,
2271
2271
  iconName: o,
2272
2272
  main: n,
@@ -2281,16 +2281,16 @@ function Zn(e) {
2281
2281
  } : Ue("generateAbstractIcon", g) || {
2282
2282
  children: [],
2283
2283
  attributes: {}
2284
- }, N = w.children, W = w.attributes;
2285
- return g.children = N, g.attributes = W, i ? Yl(g) : Wl(g);
2284
+ }, P = w.children, W = w.attributes;
2285
+ return g.children = P, g.attributes = W, i ? Yl(g) : Wl(g);
2286
2286
  }
2287
- function xr(e) {
2287
+ function kr(e) {
2288
2288
  var t = e.content, n = e.width, r = e.height, a = e.transform, o = e.extra, s = e.watchable, i = s === void 0 ? !1 : s, l = $($({}, o.attributes), {}, {
2289
2289
  class: o.classes.join(" ")
2290
2290
  });
2291
2291
  i && (l[qe] = "");
2292
2292
  var u = $({}, o.styles);
2293
- Gn(a) && (u.transform = kl({
2293
+ Gn(a) && (u.transform = xl({
2294
2294
  transform: a,
2295
2295
  width: n,
2296
2296
  height: r
@@ -2488,22 +2488,22 @@ function ms() {
2488
2488
  function Nn() {
2489
2489
  tr = !1;
2490
2490
  }
2491
- var Ht = null;
2491
+ var Vt = null;
2492
2492
  function Er(e) {
2493
2493
  if (fr && j.observeMutations) {
2494
2494
  var t = e.treeCallback, n = t === void 0 ? Mt : t, r = e.nodeCallback, a = r === void 0 ? Mt : r, o = e.pseudoElementsCallback, s = o === void 0 ? Mt : o, i = e.observeMutationsRoot, l = i === void 0 ? ae : i;
2495
- Ht = new fr(function(u) {
2495
+ Vt = new fr(function(u) {
2496
2496
  if (!tr) {
2497
2497
  var c = Be();
2498
2498
  st(u).forEach(function(f) {
2499
2499
  if (f.type === "childList" && f.addedNodes.length > 0 && !Ar(f.addedNodes[0]) && (j.searchPseudoElements && s(f.target), n(f.target)), f.type === "attributes" && f.target.parentNode && j.searchPseudoElements && s([f.target], !0), f.type === "attributes" && Ar(f.target) && ~dl.indexOf(f.attributeName))
2500
2500
  if (f.attributeName === "class" && Ql(f.target)) {
2501
- var p = Qt(Jn(f.target)), b = p.prefix, d = p.iconName;
2502
- f.target.setAttribute(Yn, b || c), d && f.target.setAttribute(qn, d);
2501
+ var p = Qt(Jn(f.target)), b = p.prefix, m = p.iconName;
2502
+ f.target.setAttribute(Yn, b || c), m && f.target.setAttribute(qn, m);
2503
2503
  } else Zl(f.target) && a(f.target);
2504
2504
  });
2505
2505
  }
2506
- }), je && Ht.observe(l, {
2506
+ }), je && Vt.observe(l, {
2507
2507
  childList: !0,
2508
2508
  attributes: !0,
2509
2509
  characterData: !0,
@@ -2512,7 +2512,7 @@ function Er(e) {
2512
2512
  }
2513
2513
  }
2514
2514
  function au() {
2515
- Ht && Ht.disconnect();
2515
+ Vt && Vt.disconnect();
2516
2516
  }
2517
2517
  function su(e) {
2518
2518
  var t = e.getAttribute("style"), n = [];
@@ -2639,9 +2639,9 @@ function du(e) {
2639
2639
  };
2640
2640
  }
2641
2641
  var mu = function(t) {
2642
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, a = r === void 0 ? Ie : r, o = n.symbol, s = o === void 0 ? !1 : o, i = n.mask, l = i === void 0 ? null : i, u = n.maskId, c = u === void 0 ? null : u, f = n.classes, p = f === void 0 ? [] : f, b = n.attributes, d = b === void 0 ? {} : b, m = n.styles, v = m === void 0 ? {} : m;
2642
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, a = r === void 0 ? Ie : r, o = n.symbol, s = o === void 0 ? !1 : o, i = n.mask, l = i === void 0 ? null : i, u = n.maskId, c = u === void 0 ? null : u, f = n.classes, p = f === void 0 ? [] : f, b = n.attributes, m = b === void 0 ? {} : b, d = n.styles, h = d === void 0 ? {} : d;
2643
2643
  if (t) {
2644
- var g = t.prefix, w = t.iconName, N = t.icon;
2644
+ var g = t.prefix, w = t.iconName, P = t.icon;
2645
2645
  return Zt($({
2646
2646
  type: "icon"
2647
2647
  }, t), function() {
@@ -2650,7 +2650,7 @@ var mu = function(t) {
2650
2650
  params: n
2651
2651
  }), Zn({
2652
2652
  icons: {
2653
- main: Tn(N),
2653
+ main: Tn(P),
2654
2654
  mask: l ? Tn(l.icon) : {
2655
2655
  found: !1,
2656
2656
  width: null,
@@ -2664,8 +2664,8 @@ var mu = function(t) {
2664
2664
  symbol: s,
2665
2665
  maskId: c,
2666
2666
  extra: {
2667
- attributes: d,
2668
- styles: v,
2667
+ attributes: m,
2668
+ styles: h,
2669
2669
  classes: p
2670
2670
  }
2671
2671
  });
@@ -2698,11 +2698,11 @@ var mu = function(t) {
2698
2698
  height: 512,
2699
2699
  icon: {}
2700
2700
  })]).then(function(b) {
2701
- var d = Jt(b, 2), m = d[0], v = d[1];
2701
+ var m = Jt(b, 2), d = m[0], h = m[1];
2702
2702
  f([n, Zn({
2703
2703
  icons: {
2704
- main: m,
2705
- mask: v
2704
+ main: d,
2705
+ mask: h
2706
2706
  },
2707
2707
  prefix: o,
2708
2708
  iconName: a,
@@ -2795,7 +2795,7 @@ var mu = function(t) {
2795
2795
  return Ke("beforeDOMElementCreation", {
2796
2796
  content: n,
2797
2797
  params: r
2798
- }), xr({
2798
+ }), kr({
2799
2799
  content: n,
2800
2800
  transform: $($({}, Ie), o),
2801
2801
  extra: {
@@ -2815,7 +2815,7 @@ var mu = function(t) {
2815
2815
  var l = parseInt(getComputedStyle(n).fontSize, 10), u = n.getBoundingClientRect();
2816
2816
  s = u.width / l, i = u.height / l;
2817
2817
  }
2818
- return Promise.resolve([n, xr({
2818
+ return Promise.resolve([n, kr({
2819
2819
  content: n.innerHTML,
2820
2820
  width: s,
2821
2821
  height: i,
@@ -2854,20 +2854,20 @@ function Nr(e, t) {
2854
2854
  if (e.getAttribute(n) !== null)
2855
2855
  return r();
2856
2856
  var o = st(e.children), s = o.filter(function(L) {
2857
- return L.getAttribute(kn) === t;
2857
+ return L.getAttribute(xn) === t;
2858
2858
  })[0], i = Le.getComputedStyle(e, t), l = i.getPropertyValue("font-family"), u = l.match(cl), c = i.getPropertyValue("font-weight"), f = i.getPropertyValue("content");
2859
2859
  if (s && !u)
2860
2860
  return e.removeChild(s), r();
2861
2861
  if (u && f !== "none" && f !== "") {
2862
- var p = i.getPropertyValue("content"), b = wu(l, c), d = bu(p), m = u[0].startsWith("FontAwesome"), v = Su(i), g = Qn(b, d), w = g;
2863
- if (m) {
2864
- var N = Pl(d);
2865
- N.iconName && N.prefix && (g = N.iconName, b = N.prefix);
2862
+ var p = i.getPropertyValue("content"), b = wu(l, c), m = bu(p), d = u[0].startsWith("FontAwesome"), h = Su(i), g = Qn(b, m), w = g;
2863
+ if (d) {
2864
+ var P = Pl(m);
2865
+ P.iconName && P.prefix && (g = P.iconName, b = P.prefix);
2866
2866
  }
2867
- if (g && !v && (!s || s.getAttribute(Yn) !== b || s.getAttribute(qn) !== w)) {
2867
+ if (g && !h && (!s || s.getAttribute(Yn) !== b || s.getAttribute(qn) !== w)) {
2868
2868
  e.setAttribute(n, w), s && e.removeChild(s);
2869
- var W = lu(), H = W.extra;
2870
- H.attributes[kn] = t, Cn(g, b).then(function(L) {
2869
+ var W = lu(), V = W.extra;
2870
+ V.attributes[xn] = t, Cn(g, b).then(function(L) {
2871
2871
  var D = Zn($($({}, W), {}, {
2872
2872
  icons: {
2873
2873
  main: L,
@@ -2875,7 +2875,7 @@ function Nr(e, t) {
2875
2875
  },
2876
2876
  prefix: b,
2877
2877
  iconName: w,
2878
- extra: H,
2878
+ extra: V,
2879
2879
  watchable: !0
2880
2880
  })), se = ae.createElementNS("http://www.w3.org/2000/svg", "svg");
2881
2881
  t === "::before" ? e.insertBefore(se, e.firstChild) : e.appendChild(se), se.outerHTML = D.map(function(X) {
@@ -2889,14 +2889,14 @@ function Nr(e, t) {
2889
2889
  r();
2890
2890
  });
2891
2891
  }
2892
- function ku(e) {
2892
+ function xu(e) {
2893
2893
  return Promise.all([Nr(e, "::before"), Nr(e, "::after")]);
2894
2894
  }
2895
- function xu(e) {
2896
- return e.parentNode !== document.head && !~il.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(kn) && (!e.parentNode || e.parentNode.tagName !== "svg");
2895
+ function ku(e) {
2896
+ return e.parentNode !== document.head && !~il.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(xn) && (!e.parentNode || e.parentNode.tagName !== "svg");
2897
2897
  }
2898
2898
  var $u = function(t) {
2899
- return !!t && Va.some(function(n) {
2899
+ return !!t && Ha.some(function(n) {
2900
2900
  return t.includes(n);
2901
2901
  });
2902
2902
  }, Au = function(t) {
@@ -2914,7 +2914,7 @@ var $u = function(t) {
2914
2914
  for (a.s(); !(o = a.n()).done; ) {
2915
2915
  var s = o.value;
2916
2916
  if ($u(s)) {
2917
- var i = Va.reduce(function(l, u) {
2917
+ var i = Ha.reduce(function(l, u) {
2918
2918
  return l.replace(u, "");
2919
2919
  }, s);
2920
2920
  i !== "" && i !== "*" && n.add(i);
@@ -2950,40 +2950,40 @@ function Fr(e) {
2950
2950
  var b = p.value;
2951
2951
  r.add(b);
2952
2952
  }
2953
- } catch (m) {
2954
- f.e(m);
2953
+ } catch (d) {
2954
+ f.e(d);
2955
2955
  } finally {
2956
2956
  f.f();
2957
2957
  }
2958
2958
  }
2959
- } catch (m) {
2960
- i.e(m);
2959
+ } catch (d) {
2960
+ i.e(d);
2961
2961
  } finally {
2962
2962
  i.f();
2963
2963
  }
2964
- } catch (m) {
2965
- j.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href, " (").concat(m.message, `)
2964
+ } catch (d) {
2965
+ j.searchPseudoElementsWarnings && console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href, " (").concat(d.message, `)
2966
2966
  If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`));
2967
2967
  }
2968
2968
  }
2969
- } catch (m) {
2970
- a.e(m);
2969
+ } catch (d) {
2970
+ a.e(d);
2971
2971
  } finally {
2972
2972
  a.f();
2973
2973
  }
2974
2974
  if (!r.size) return;
2975
- var d = Array.from(r).join(", ");
2975
+ var m = Array.from(r).join(", ");
2976
2976
  try {
2977
- n = e.querySelectorAll(d);
2977
+ n = e.querySelectorAll(m);
2978
2978
  } catch {
2979
2979
  }
2980
2980
  }
2981
- return new Promise(function(m, v) {
2982
- var g = st(n).filter(xu).map(ku), w = er.begin("searchPseudoElements");
2981
+ return new Promise(function(d, h) {
2982
+ var g = st(n).filter(ku).map(xu), w = er.begin("searchPseudoElements");
2983
2983
  ms(), Promise.all(g).then(function() {
2984
- w(), Nn(), m();
2984
+ w(), Nn(), d();
2985
2985
  }).catch(function() {
2986
- w(), Nn(), v();
2986
+ w(), Nn(), h();
2987
2987
  });
2988
2988
  });
2989
2989
  }
@@ -3146,47 +3146,47 @@ var Cu = {
3146
3146
  transform: l,
3147
3147
  containerWidth: f,
3148
3148
  iconWidth: u
3149
- }), d = {
3149
+ }), m = {
3150
3150
  tag: "rect",
3151
3151
  attributes: $($({}, dn), {}, {
3152
3152
  fill: "white"
3153
3153
  })
3154
- }, m = c.children ? {
3154
+ }, d = c.children ? {
3155
3155
  children: c.children.map(Mr)
3156
- } : {}, v = {
3156
+ } : {}, h = {
3157
3157
  tag: "g",
3158
3158
  attributes: $({}, b.inner),
3159
3159
  children: [Mr($({
3160
3160
  tag: c.tag,
3161
3161
  attributes: $($({}, c.attributes), b.path)
3162
- }, m))]
3162
+ }, d))]
3163
3163
  }, g = {
3164
3164
  tag: "g",
3165
3165
  attributes: $({}, b.outer),
3166
- children: [v]
3167
- }, w = "mask-".concat(i || vr()), N = "clip-".concat(i || vr()), W = {
3166
+ children: [h]
3167
+ }, w = "mask-".concat(i || vr()), P = "clip-".concat(i || vr()), W = {
3168
3168
  tag: "mask",
3169
3169
  attributes: $($({}, dn), {}, {
3170
3170
  id: w,
3171
3171
  maskUnits: "userSpaceOnUse",
3172
3172
  maskContentUnits: "userSpaceOnUse"
3173
3173
  }),
3174
- children: [d, g]
3175
- }, H = {
3174
+ children: [m, g]
3175
+ }, V = {
3176
3176
  tag: "defs",
3177
3177
  children: [{
3178
3178
  tag: "clipPath",
3179
3179
  attributes: {
3180
- id: N
3180
+ id: P
3181
3181
  },
3182
3182
  children: Tu(p)
3183
3183
  }, W]
3184
3184
  };
3185
- return r.push(H, {
3185
+ return r.push(V, {
3186
3186
  tag: "rect",
3187
3187
  attributes: $({
3188
3188
  fill: "currentColor",
3189
- "clip-path": "url(#".concat(N, ")"),
3189
+ "clip-path": "url(#".concat(P, ")"),
3190
3190
  mask: "url(#".concat(w, ")")
3191
3191
  }, dn)
3192
3192
  }), {
@@ -3278,19 +3278,19 @@ var Cu = {
3278
3278
  }
3279
3279
  }, Fu = [$l, pu, hu, vu, gu, Ou, Eu, _u, Cu, Pu, Nu];
3280
3280
  Bl(Fu, {
3281
- mixoutsTo: xe
3281
+ mixoutsTo: ke
3282
3282
  });
3283
- xe.noAuto;
3284
- var vs = xe.config;
3285
- xe.library;
3286
- xe.dom;
3287
- var Vt = xe.parse;
3288
- xe.findIconDefinition;
3289
- xe.toHtml;
3290
- var Iu = xe.icon;
3291
- xe.layer;
3292
- var Ru = xe.text;
3293
- xe.counter;
3283
+ ke.noAuto;
3284
+ var vs = ke.config;
3285
+ ke.library;
3286
+ ke.dom;
3287
+ var Ht = ke.parse;
3288
+ ke.findIconDefinition;
3289
+ ke.toHtml;
3290
+ var Iu = ke.icon;
3291
+ ke.layer;
3292
+ var Ru = ke.text;
3293
+ ke.counter;
3294
3294
  function In(e, t) {
3295
3295
  (t == null || t > e.length) && (t = e.length);
3296
3296
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
@@ -3354,7 +3354,7 @@ function Bu(e, t) {
3354
3354
  return n;
3355
3355
  }
3356
3356
  function Rn(e) {
3357
- return Mu(e) || ju(e) || Hu(e) || Du();
3357
+ return Mu(e) || ju(e) || Vu(e) || Du();
3358
3358
  }
3359
3359
  function Uu(e, t) {
3360
3360
  if (typeof e != "object" || !e) return e;
@@ -3378,7 +3378,7 @@ function Wt(e) {
3378
3378
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3379
3379
  }, Wt(e);
3380
3380
  }
3381
- function Hu(e, t) {
3381
+ function Vu(e, t) {
3382
3382
  if (e) {
3383
3383
  if (typeof e == "string") return In(e, t);
3384
3384
  var n = {}.toString.call(e).slice(8, -1);
@@ -3388,7 +3388,7 @@ function Hu(e, t) {
3388
3388
  function vt(e, t) {
3389
3389
  return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? pe({}, e, t) : {};
3390
3390
  }
3391
- function Vu(e) {
3391
+ function Hu(e) {
3392
3392
  var t, n = (t = {
3393
3393
  "fa-spin": e.spin,
3394
3394
  "fa-pulse": e.pulse,
@@ -3410,26 +3410,26 @@ function Vu(e) {
3410
3410
  var Wu = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, gs = { exports: {} };
3411
3411
  (function(e) {
3412
3412
  (function(t) {
3413
- var n = function(g, w, N) {
3413
+ var n = function(g, w, P) {
3414
3414
  if (!u(w) || f(w) || p(w) || b(w) || l(w))
3415
3415
  return w;
3416
- var W, H = 0, L = 0;
3416
+ var W, V = 0, L = 0;
3417
3417
  if (c(w))
3418
- for (W = [], L = w.length; H < L; H++)
3419
- W.push(n(g, w[H], N));
3418
+ for (W = [], L = w.length; V < L; V++)
3419
+ W.push(n(g, w[V], P));
3420
3420
  else {
3421
3421
  W = {};
3422
3422
  for (var D in w)
3423
- Object.prototype.hasOwnProperty.call(w, D) && (W[g(D, N)] = n(g, w[D], N));
3423
+ Object.prototype.hasOwnProperty.call(w, D) && (W[g(D, P)] = n(g, w[D], P));
3424
3424
  }
3425
3425
  return W;
3426
3426
  }, r = function(g, w) {
3427
3427
  w = w || {};
3428
- var N = w.separator || "_", W = w.split || /(?=[A-Z])/;
3429
- return g.split(W).join(N);
3428
+ var P = w.separator || "_", W = w.split || /(?=[A-Z])/;
3429
+ return g.split(W).join(P);
3430
3430
  }, a = function(g) {
3431
- return d(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(w, N) {
3432
- return N ? N.toUpperCase() : "";
3431
+ return m(g) ? g : (g = g.replace(/[\-_\s]+(.)?/g, function(w, P) {
3432
+ return P ? P.toUpperCase() : "";
3433
3433
  }), g.substr(0, 1).toLowerCase() + g.substr(1));
3434
3434
  }, o = function(g) {
3435
3435
  var w = a(g);
@@ -3448,32 +3448,32 @@ var Wu = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
3448
3448
  return i.call(g) == "[object RegExp]";
3449
3449
  }, b = function(g) {
3450
3450
  return i.call(g) == "[object Boolean]";
3451
- }, d = function(g) {
3451
+ }, m = function(g) {
3452
3452
  return g = g - 0, g === g;
3453
- }, m = function(g, w) {
3454
- var N = w && "process" in w ? w.process : w;
3455
- return typeof N != "function" ? g : function(W, H) {
3456
- return N(W, g, H);
3453
+ }, d = function(g, w) {
3454
+ var P = w && "process" in w ? w.process : w;
3455
+ return typeof P != "function" ? g : function(W, V) {
3456
+ return P(W, g, V);
3457
3457
  };
3458
- }, v = {
3458
+ }, h = {
3459
3459
  camelize: a,
3460
3460
  decamelize: s,
3461
3461
  pascalize: o,
3462
3462
  depascalize: s,
3463
3463
  camelizeKeys: function(g, w) {
3464
- return n(m(a, w), g);
3464
+ return n(d(a, w), g);
3465
3465
  },
3466
3466
  decamelizeKeys: function(g, w) {
3467
- return n(m(s, w), g, w);
3467
+ return n(d(s, w), g, w);
3468
3468
  },
3469
3469
  pascalizeKeys: function(g, w) {
3470
- return n(m(o, w), g);
3470
+ return n(d(o, w), g);
3471
3471
  },
3472
3472
  depascalizeKeys: function() {
3473
3473
  return this.decamelizeKeys.apply(this, arguments);
3474
3474
  }
3475
3475
  };
3476
- e.exports ? e.exports = v : t.humps = v;
3476
+ e.exports ? e.exports = h : t.humps = h;
3477
3477
  })(Wu);
3478
3478
  })(gs);
3479
3479
  var Yu = gs.exports, qu = ["class", "style"];
@@ -3537,8 +3537,8 @@ function Gu() {
3537
3537
  function Dr(e) {
3538
3538
  if (e && Wt(e) === "object" && e.prefix && e.iconName && e.icon)
3539
3539
  return e;
3540
- if (Vt.icon)
3541
- return Vt.icon(e);
3540
+ if (Ht.icon)
3541
+ return Ht.icon(e);
3542
3542
  if (e === null)
3543
3543
  return null;
3544
3544
  if (Wt(e) === "object" && e.prefix && e.iconName)
@@ -3686,15 +3686,15 @@ var ne = rt({
3686
3686
  }
3687
3687
  },
3688
3688
  setup: function(t, n) {
3689
- var r = n.attrs, a = V(function() {
3689
+ var r = n.attrs, a = H(function() {
3690
3690
  return Dr(t.icon);
3691
- }), o = V(function() {
3692
- return vt("classes", Vu(t));
3693
- }), s = V(function() {
3694
- return vt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
3695
- }), i = V(function() {
3691
+ }), o = H(function() {
3692
+ return vt("classes", Hu(t));
3693
+ }), s = H(function() {
3694
+ return vt("transform", typeof t.transform == "string" ? Ht.transform(t.transform) : t.transform);
3695
+ }), i = H(function() {
3696
3696
  return vt("mask", Dr(t.mask));
3697
- }), l = V(function() {
3697
+ }), l = H(function() {
3698
3698
  var c = Ee(Ee(Ee(Ee({}, o.value), s.value), i.value), {}, {
3699
3699
  symbol: t.symbol,
3700
3700
  maskId: t.maskId
@@ -3707,7 +3707,7 @@ var ne = rt({
3707
3707
  }, {
3708
3708
  immediate: !0
3709
3709
  });
3710
- var u = V(function() {
3710
+ var u = H(function() {
3711
3711
  return l.value ? nr(l.value.abstract[0], {}, r) : null;
3712
3712
  });
3713
3713
  return function() {
@@ -3724,7 +3724,7 @@ rt({
3724
3724
  }
3725
3725
  },
3726
3726
  setup: function(t, n) {
3727
- var r = n.slots, a = vs.familyPrefix, o = V(function() {
3727
+ var r = n.slots, a = vs.familyPrefix, o = H(function() {
3728
3728
  return ["".concat(a, "-layers")].concat(Rn(t.fixedWidth ? ["".concat(a, "-fw")] : []));
3729
3729
  });
3730
3730
  return function() {
@@ -3758,14 +3758,14 @@ rt({
3758
3758
  }
3759
3759
  },
3760
3760
  setup: function(t, n) {
3761
- var r = n.attrs, a = vs.familyPrefix, o = V(function() {
3761
+ var r = n.attrs, a = vs.familyPrefix, o = H(function() {
3762
3762
  return vt("classes", [].concat(Rn(t.counter ? ["".concat(a, "-layers-counter")] : []), Rn(t.position ? ["".concat(a, "-layers-").concat(t.position)] : [])));
3763
- }), s = V(function() {
3764
- return vt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
3765
- }), i = V(function() {
3763
+ }), s = H(function() {
3764
+ return vt("transform", typeof t.transform == "string" ? Ht.transform(t.transform) : t.transform);
3765
+ }), i = H(function() {
3766
3766
  var u = Ru(t.value.toString(), Ee(Ee({}, s.value), o.value)), c = u.abstract;
3767
3767
  return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
3768
- }), l = V(function() {
3768
+ }), l = H(function() {
3769
3769
  return nr(i.value, {}, r);
3770
3770
  });
3771
3771
  return function() {
@@ -3820,35 +3820,35 @@ const Xu = ["placeholder"], Qu = {
3820
3820
  Ae(() => n.options, (_) => {
3821
3821
  l.value = i(_ != null ? _ : {});
3822
3822
  });
3823
- const u = J(35), c = J(0), f = V(() => `${l.value.length * u.value}px`), p = V(() => l.value.length === 0 ? [] : n.virtual ? l.value.slice(c.value, c.value + n.virtualScrollSize) : l.value), b = J(!1), d = J(null), m = J(null), v = J(null), g = V(() => {
3823
+ const u = J(35), c = J(0), f = H(() => `${l.value.length * u.value}px`), p = H(() => l.value.length === 0 ? [] : n.virtual ? l.value.slice(c.value, c.value + n.virtualScrollSize) : l.value), b = J(!1), m = J(null), d = J(null), h = J(null), g = H(() => {
3824
3824
  if (a.value === null)
3825
3825
  return n.placeholder;
3826
- const _ = l.value.find(([T, k]) => T == a.value);
3826
+ const _ = l.value.find(([T, x]) => T == a.value);
3827
3827
  return _ === void 0 ? n.placeholder : _[1];
3828
3828
  });
3829
3829
  function w(_) {
3830
3830
  const T = _.target.scrollTop;
3831
3831
  c.value = Math.floor(T / u.value);
3832
3832
  }
3833
- Ae(v, (_) => {
3834
- N(), r("filter", _);
3833
+ Ae(h, (_) => {
3834
+ P(), r("filter", _);
3835
3835
  });
3836
- function N() {
3837
- if (v.value == "") {
3836
+ function P() {
3837
+ if (h.value == "") {
3838
3838
  l.value = i(n.options);
3839
3839
  return;
3840
3840
  }
3841
- l.value = i(n.options).filter(([_, T]) => T.toLowerCase().includes(v.value.toLowerCase()));
3841
+ l.value = i(n.options).filter(([_, T]) => T.toLowerCase().includes(h.value.toLowerCase()));
3842
3842
  }
3843
3843
  function W(_) {
3844
3844
  o.value && !o.value.contains(_.target) && (b.value = !1);
3845
3845
  }
3846
- function H(_) {
3847
- v.value = "", a.value = _, r("change", _), b.value = !1;
3846
+ function V(_) {
3847
+ h.value = "", a.value = _, r("change", _), b.value = !1;
3848
3848
  }
3849
3849
  function L(_) {
3850
- const T = Math.max(20, Math.min(6, l.value.length) * u.value), k = d.value.offsetHeight + T, x = document.documentElement.clientHeight - _.bottom;
3851
- return x >= k ? "drop-down" : _.top > k || _.top > x ? "drop-up" : "drop-down";
3850
+ const T = Math.max(20, Math.min(6, l.value.length) * u.value), x = m.value.offsetHeight + T, k = document.documentElement.clientHeight - _.bottom;
3851
+ return k >= x ? "drop-down" : _.top > x || _.top > k ? "drop-up" : "drop-down";
3852
3852
  }
3853
3853
  const D = J({});
3854
3854
  function se() {
@@ -3862,7 +3862,7 @@ const Xu = ["placeholder"], Qu = {
3862
3862
  }
3863
3863
  function X() {
3864
3864
  const _ = o.value.getBoundingClientRect();
3865
- m.value = L(_);
3865
+ d.value = L(_);
3866
3866
  const T = se(o.value);
3867
3867
  o.value && (D.value = {
3868
3868
  // Если есть предок с position:fixed, то ставим fixed, иначе absolute
@@ -3870,7 +3870,7 @@ const Xu = ["placeholder"], Qu = {
3870
3870
  left: `${_.left + window.scrollX}px`,
3871
3871
  zIndex: 9999,
3872
3872
  width: `${_.width}px`
3873
- }, m.value === "drop-up" ? D.value.bottom = `${document.documentElement.clientHeight - _.top - (T ? 0 : window.scrollY)}px` : D.value.top = `${_.bottom + (T ? 0 : window.scrollY)}px`);
3873
+ }, d.value === "drop-up" ? D.value.bottom = `${document.documentElement.clientHeight - _.top - (T ? 0 : window.scrollY)}px` : D.value.top = `${_.bottom + (T ? 0 : window.scrollY)}px`);
3874
3874
  }
3875
3875
  Ae(b, (_) => {
3876
3876
  _ && X();
@@ -3884,11 +3884,11 @@ const Xu = ["placeholder"], Qu = {
3884
3884
  return wt(() => {
3885
3885
  document.addEventListener("click", W), at(() => {
3886
3886
  const _ = o.value.getBoundingClientRect();
3887
- m.value = L(_);
3887
+ d.value = L(_);
3888
3888
  });
3889
3889
  }), fa(() => {
3890
3890
  document.removeEventListener("click", W);
3891
- }), (_, T) => (h(), S("div", {
3891
+ }), (_, T) => (v(), S("div", {
3892
3892
  class: z(["s-select", [{ disabled: e.disabled, inline: e.inline }]]),
3893
3893
  ref: "selectRef"
3894
3894
  }, [
@@ -3896,22 +3896,22 @@ const Xu = ["placeholder"], Qu = {
3896
3896
  class: z(["s-select-field", { selecting: b.value }]),
3897
3897
  onClick: C
3898
3898
  }, [
3899
- e.filterable ? gt((h(), S("input", {
3899
+ e.filterable ? gt((v(), S("input", {
3900
3900
  key: 0,
3901
- "onUpdate:modelValue": T[0] || (T[0] = (k) => v.value = k),
3901
+ "onUpdate:modelValue": T[0] || (T[0] = (x) => h.value = x),
3902
3902
  class: "s-select-field-filter",
3903
3903
  placeholder: g.value
3904
3904
  }, null, 8, Xu)), [
3905
- [ua, v.value]
3906
- ]) : (h(), S("div", Qu, [
3905
+ [ua, h.value]
3906
+ ]) : (v(), S("div", Qu, [
3907
3907
  _.$slots.value && e.modelValue ? I(_.$slots, "value", {
3908
3908
  key: 0,
3909
3909
  value: e.modelValue
3910
- }) : (h(), S(ee, { key: 1 }, [
3910
+ }) : (v(), S(ee, { key: 1 }, [
3911
3911
  le(G(g.value), 1)
3912
3912
  ], 64))
3913
3913
  ])),
3914
- e.clearable && a.value ? (h(), S("div", {
3914
+ e.clearable && a.value ? (v(), S("div", {
3915
3915
  key: 2,
3916
3916
  class: "s-select-clear",
3917
3917
  onClick: $e(A, ["stop", "prevent"])
@@ -3927,33 +3927,33 @@ const Xu = ["placeholder"], Qu = {
3927
3927
  })
3928
3928
  ], 2)
3929
3929
  ], 2),
3930
- (h(), re(Ge, { to: "body" }, [
3930
+ (v(), re(Ge, { to: "body" }, [
3931
3931
  E("div", {
3932
3932
  ref_key: "dropdownRef",
3933
- ref: d,
3933
+ ref: m,
3934
3934
  style: ge(D.value),
3935
- class: z(["s-select-stylewrapper", R(s).class])
3935
+ class: z(["s-select-stylewrapper", R(s).class, b.value ? "open" : "closed"])
3936
3936
  }, [
3937
3937
  E("div", {
3938
- class: z(["s-select-options", [b.value ? "open" : "", m.value]]),
3938
+ class: z(["s-select-options", d.value]),
3939
3939
  onScroll: w
3940
3940
  }, [
3941
- _.$slots.option ? (h(), S("ul", {
3941
+ _.$slots.option ? (v(), S("ul", {
3942
3942
  key: 0,
3943
3943
  class: "s-select-options-list",
3944
3944
  style: ge({ height: f.value })
3945
3945
  }, [
3946
- (h(!0), S(ee, null, de(p.value, ([k, x]) => (h(), S("li", {
3947
- key: k,
3948
- onClick: $e((P) => H(k), ["stop"]),
3949
- class: z([{ selected: k === a.value || !(k || a.value) }, "s-select-options-item"])
3946
+ (v(!0), S(ee, null, de(p.value, ([x, k]) => (v(), S("li", {
3947
+ key: x,
3948
+ onClick: $e((N) => V(x), ["stop"]),
3949
+ class: z([{ selected: x === a.value || !(x || a.value) }, "s-select-options-item"])
3950
3950
  }, [
3951
3951
  I(_.$slots, "option", {
3952
- option: { label: x, value: k }
3952
+ option: { label: k, value: x }
3953
3953
  })
3954
3954
  ], 10, Zu))), 128))
3955
- ], 4)) : p.value.length ? (h(), S(ee, { key: 1 }, [
3956
- e.virtual ? (h(), S("div", {
3955
+ ], 4)) : p.value.length ? (v(), S(ee, { key: 1 }, [
3956
+ e.virtual ? (v(), S("div", {
3957
3957
  key: 0,
3958
3958
  style: ge({ maxHeight: u.value * e.virtualScrollSize - 20 + "px", position: "relative" }),
3959
3959
  onScroll: w,
@@ -3963,32 +3963,32 @@ const Xu = ["placeholder"], Qu = {
3963
3963
  E("div", {
3964
3964
  style: ge({ height: f.value })
3965
3965
  }, null, 4),
3966
- (h(!0), S(ee, null, de(p.value, ([k, x], P) => (h(), S("div", {
3967
- key: k,
3966
+ (v(!0), S(ee, null, de(p.value, ([x, k], N) => (v(), S("div", {
3967
+ key: x,
3968
3968
  style: ge({
3969
3969
  position: "absolute",
3970
- top: u.value * (c.value + P) + "px",
3970
+ top: u.value * (c.value + N) + "px",
3971
3971
  left: 0,
3972
3972
  height: u.value + "px"
3973
3973
  }),
3974
- class: z(["s-select-options-item", { selected: k == a.value }]),
3975
- onClick: $e((O) => H(k), ["stop"])
3974
+ class: z(["s-select-options-item", { selected: x == a.value }]),
3975
+ onClick: $e((O) => V(x), ["stop"])
3976
3976
  }, [
3977
3977
  _.$slots.option ? I(_.$slots, "option", {
3978
3978
  key: 0,
3979
3979
  option: _.option
3980
- }) : (h(), S(ee, { key: 1 }, [
3981
- le(G(x), 1)
3980
+ }) : (v(), S(ee, { key: 1 }, [
3981
+ le(G(k), 1)
3982
3982
  ], 64))
3983
3983
  ], 14, ec))), 128))
3984
- ], 36)) : (h(), S("ul", tc, [
3985
- (h(!0), S(ee, null, de(p.value, ([k, x]) => (h(), S("li", {
3986
- key: k,
3987
- onClick: $e((P) => H(k), ["stop"]),
3988
- class: z([{ selected: k === a.value || !(k || a.value) }, "s-select-options-item"])
3989
- }, G(x), 11, nc))), 128))
3984
+ ], 36)) : (v(), S("ul", tc, [
3985
+ (v(!0), S(ee, null, de(p.value, ([x, k]) => (v(), S("li", {
3986
+ key: x,
3987
+ onClick: $e((N) => V(x), ["stop"]),
3988
+ class: z([{ selected: x === a.value || !(x || a.value) }, "s-select-options-item"])
3989
+ }, G(k), 11, nc))), 128))
3990
3990
  ]))
3991
- ], 64)) : (h(), S("div", rc, "Нет данных"))
3991
+ ], 64)) : (v(), S("div", rc, "Нет данных"))
3992
3992
  ], 34)
3993
3993
  ], 6)
3994
3994
  ]))
@@ -4005,7 +4005,7 @@ const Xu = ["placeholder"], Qu = {
4005
4005
  }),
4006
4006
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
4007
4007
  setup(e, { emit: t }) {
4008
- const n = e, r = Oe(e, "modelValue"), a = we("groupValue", null), o = V({
4008
+ const n = e, r = Oe(e, "modelValue"), a = we("groupValue", null), o = H({
4009
4009
  get() {
4010
4010
  var l;
4011
4011
  return a != null && n.value != null ? (l = a.value.includes(n.value)) != null ? l : !1 : r.value;
@@ -4017,7 +4017,7 @@ const Xu = ["placeholder"], Qu = {
4017
4017
  function i() {
4018
4018
  n.disabled || (o.value = !o.value, s("change", o.value));
4019
4019
  }
4020
- return (l, u) => (h(), S("div", {
4020
+ return (l, u) => (v(), S("div", {
4021
4021
  class: z(["s-checkbox", { disabled: e.disabled }]),
4022
4022
  onClick: i
4023
4023
  }, [
@@ -4052,7 +4052,7 @@ const Xu = ["placeholder"], Qu = {
4052
4052
  },
4053
4053
  emits: ["change"],
4054
4054
  setup(e, { emit: t }) {
4055
- const n = e, r = t, a = we("sRadioGroupModel"), o = V({
4055
+ const n = e, r = t, a = we("sRadioGroupModel"), o = H({
4056
4056
  // Значение находится в состоянии «выбрано», если radioGroupModel.value === props.value
4057
4057
  // Или если значение кнопки — пустота и model пустой ('', null или undefined)
4058
4058
  get: () => {
@@ -4063,7 +4063,7 @@ const Xu = ["placeholder"], Qu = {
4063
4063
  n.disabled || (a.value = s);
4064
4064
  }
4065
4065
  });
4066
- return (s, i) => (h(), S("label", {
4066
+ return (s, i) => (v(), S("label", {
4067
4067
  class: z(["s-radio", [e.labelClass, { disabled: e.disabled }]])
4068
4068
  }, [
4069
4069
  gt(E("input", {
@@ -4092,7 +4092,7 @@ const Xu = ["placeholder"], Qu = {
4092
4092
  }),
4093
4093
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
4094
4094
  setup(e, { emit: t }) {
4095
- const n = e, r = t, a = Oe(e, "modelValue"), o = V(() => !n.options || Object.values(n.options) === 0 ? {} : Object.entries(n.options).map(([s, i]) => {
4095
+ const n = e, r = t, a = Oe(e, "modelValue"), o = H(() => !n.options || Object.values(n.options) === 0 ? {} : Object.entries(n.options).map(([s, i]) => {
4096
4096
  let l = s;
4097
4097
  return s === "true" && (l = !0), s === "false" && (l = !1), !isNaN(s) && s !== "" && (l = Number(s)), { value: l, title: i };
4098
4098
  }));
@@ -4101,25 +4101,25 @@ const Xu = ["placeholder"], Qu = {
4101
4101
  a.value === null && Object.values((s = n.options) != null ? s : {}).length && (a.value = Object.keys(n.options)[0]);
4102
4102
  }), Te("sRadioGroupModel", a), Ae(a, (s) => {
4103
4103
  r("change", s);
4104
- }), (s, i) => (h(), S("div", uc, [
4104
+ }), (s, i) => (v(), S("div", uc, [
4105
4105
  E("div", {
4106
4106
  class: z(["s-radiogroup-container", { buttons: e.buttons, vertical: e.vertical }])
4107
4107
  }, [
4108
- e.placeholder ? (h(), re(Mn, {
4108
+ e.placeholder ? (v(), re(Mn, {
4109
4109
  key: 0,
4110
4110
  value: ""
4111
4111
  }, {
4112
- default: ke(() => [
4112
+ default: xe(() => [
4113
4113
  le(G(e.placeholder), 1)
4114
4114
  ]),
4115
4115
  _: 1
4116
4116
  })) : B("", !0),
4117
4117
  Object.values(s.$slots).length ? I(s.$slots, "default", { key: 1 }) : B("", !0),
4118
- (h(!0), S(ee, null, de(o.value, ({ value: l, title: u }) => (h(), re(Mn, {
4118
+ (v(!0), S(ee, null, de(o.value, ({ value: l, title: u }) => (v(), re(Mn, {
4119
4119
  key: l,
4120
4120
  value: l
4121
4121
  }, {
4122
- default: ke(() => [
4122
+ default: xe(() => [
4123
4123
  E("span", { innerHTML: u }, null, 8, cc)
4124
4124
  ]),
4125
4125
  _: 2
@@ -4155,7 +4155,7 @@ const Xu = ["placeholder"], Qu = {
4155
4155
  function r() {
4156
4156
  t.disabled || (n.value = n.value === t.trueValue ? t.falseValue : t.trueValue);
4157
4157
  }
4158
- return (a, o) => (h(), S("div", {
4158
+ return (a, o) => (v(), S("div", {
4159
4159
  class: z(["s-switch", { active: n.value === e.trueValue, disabled: e.disabled }]),
4160
4160
  onClick: r
4161
4161
  }, [
@@ -4180,101 +4180,101 @@ var mt = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
4180
4180
  function ws(e) {
4181
4181
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4182
4182
  }
4183
- var ks = { exports: {} };
4183
+ var xs = { exports: {} };
4184
4184
  (function(e, t) {
4185
4185
  (function(n, r) {
4186
4186
  e.exports = r();
4187
4187
  })(mt, function() {
4188
- var n = 1e3, r = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", l = "hour", u = "day", c = "week", f = "month", p = "quarter", b = "year", d = "date", m = "Invalid Date", v = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
4189
- var k = ["th", "st", "nd", "rd"], x = T % 100;
4190
- return "[" + T + (k[(x - 20) % 10] || k[x] || k[0]) + "]";
4191
- } }, N = function(T, k, x) {
4192
- var P = String(T);
4193
- return !P || P.length >= k ? T : "" + Array(k + 1 - P.length).join(x) + T;
4194
- }, W = { s: N, z: function(T) {
4195
- var k = -T.utcOffset(), x = Math.abs(k), P = Math.floor(x / 60), O = x % 60;
4196
- return (k <= 0 ? "+" : "-") + N(P, 2, "0") + ":" + N(O, 2, "0");
4197
- }, m: function T(k, x) {
4198
- if (k.date() < x.date()) return -T(x, k);
4199
- var P = 12 * (x.year() - k.year()) + (x.month() - k.month()), O = k.clone().add(P, f), F = x - O < 0, U = k.clone().add(P + (F ? -1 : 1), f);
4200
- return +(-(P + (x - O) / (F ? O - U : U - O)) || 0);
4188
+ var n = 1e3, r = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", l = "hour", u = "day", c = "week", f = "month", p = "quarter", b = "year", m = "date", d = "Invalid Date", h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
4189
+ var x = ["th", "st", "nd", "rd"], k = T % 100;
4190
+ return "[" + T + (x[(k - 20) % 10] || x[k] || x[0]) + "]";
4191
+ } }, P = function(T, x, k) {
4192
+ var N = String(T);
4193
+ return !N || N.length >= x ? T : "" + Array(x + 1 - N.length).join(k) + T;
4194
+ }, W = { s: P, z: function(T) {
4195
+ var x = -T.utcOffset(), k = Math.abs(x), N = Math.floor(k / 60), O = k % 60;
4196
+ return (x <= 0 ? "+" : "-") + P(N, 2, "0") + ":" + P(O, 2, "0");
4197
+ }, m: function T(x, k) {
4198
+ if (x.date() < k.date()) return -T(k, x);
4199
+ var N = 12 * (k.year() - x.year()) + (k.month() - x.month()), O = x.clone().add(N, f), F = k - O < 0, U = x.clone().add(N + (F ? -1 : 1), f);
4200
+ return +(-(N + (k - O) / (F ? O - U : U - O)) || 0);
4201
4201
  }, a: function(T) {
4202
4202
  return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
4203
4203
  }, p: function(T) {
4204
- return { M: f, y: b, w: c, d: u, D: d, h: l, m: i, s, ms: o, Q: p }[T] || String(T || "").toLowerCase().replace(/s$/, "");
4204
+ return { M: f, y: b, w: c, d: u, D: m, h: l, m: i, s, ms: o, Q: p }[T] || String(T || "").toLowerCase().replace(/s$/, "");
4205
4205
  }, u: function(T) {
4206
4206
  return T === void 0;
4207
- } }, H = "en", L = {};
4208
- L[H] = w;
4207
+ } }, V = "en", L = {};
4208
+ L[V] = w;
4209
4209
  var D = "$isDayjsObject", se = function(T) {
4210
4210
  return T instanceof M || !(!T || !T[D]);
4211
- }, X = function T(k, x, P) {
4211
+ }, X = function T(x, k, N) {
4212
4212
  var O;
4213
- if (!k) return H;
4214
- if (typeof k == "string") {
4215
- var F = k.toLowerCase();
4216
- L[F] && (O = F), x && (L[F] = x, O = F);
4217
- var U = k.split("-");
4213
+ if (!x) return V;
4214
+ if (typeof x == "string") {
4215
+ var F = x.toLowerCase();
4216
+ L[F] && (O = F), k && (L[F] = k, O = F);
4217
+ var U = x.split("-");
4218
4218
  if (!O && U.length > 1) return T(U[0]);
4219
4219
  } else {
4220
- var Q = k.name;
4221
- L[Q] = k, O = Q;
4220
+ var Q = x.name;
4221
+ L[Q] = x, O = Q;
4222
4222
  }
4223
- return !P && O && (H = O), O || !P && H;
4224
- }, C = function(T, k) {
4223
+ return !N && O && (V = O), O || !N && V;
4224
+ }, C = function(T, x) {
4225
4225
  if (se(T)) return T.clone();
4226
- var x = typeof k == "object" ? k : {};
4227
- return x.date = T, x.args = arguments, new M(x);
4226
+ var k = typeof x == "object" ? x : {};
4227
+ return k.date = T, k.args = arguments, new M(k);
4228
4228
  }, A = W;
4229
- A.l = X, A.i = se, A.w = function(T, k) {
4230
- return C(T, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
4229
+ A.l = X, A.i = se, A.w = function(T, x) {
4230
+ return C(T, { locale: x.$L, utc: x.$u, x: x.$x, $offset: x.$offset });
4231
4231
  };
4232
4232
  var M = function() {
4233
- function T(x) {
4234
- this.$L = X(x.locale, null, !0), this.parse(x), this.$x = this.$x || x.x || {}, this[D] = !0;
4233
+ function T(k) {
4234
+ this.$L = X(k.locale, null, !0), this.parse(k), this.$x = this.$x || k.x || {}, this[D] = !0;
4235
4235
  }
4236
- var k = T.prototype;
4237
- return k.parse = function(x) {
4238
- this.$d = function(P) {
4239
- var O = P.date, F = P.utc;
4236
+ var x = T.prototype;
4237
+ return x.parse = function(k) {
4238
+ this.$d = function(N) {
4239
+ var O = N.date, F = N.utc;
4240
4240
  if (O === null) return /* @__PURE__ */ new Date(NaN);
4241
4241
  if (A.u(O)) return /* @__PURE__ */ new Date();
4242
4242
  if (O instanceof Date) return new Date(O);
4243
4243
  if (typeof O == "string" && !/Z$/i.test(O)) {
4244
- var U = O.match(v);
4244
+ var U = O.match(h);
4245
4245
  if (U) {
4246
4246
  var Q = U[2] - 1 || 0, te = (U[7] || "0").substring(0, 3);
4247
4247
  return F ? new Date(Date.UTC(U[1], Q, U[3] || 1, U[4] || 0, U[5] || 0, U[6] || 0, te)) : new Date(U[1], Q, U[3] || 1, U[4] || 0, U[5] || 0, U[6] || 0, te);
4248
4248
  }
4249
4249
  }
4250
4250
  return new Date(O);
4251
- }(x), this.init();
4252
- }, k.init = function() {
4253
- var x = this.$d;
4254
- this.$y = x.getFullYear(), this.$M = x.getMonth(), this.$D = x.getDate(), this.$W = x.getDay(), this.$H = x.getHours(), this.$m = x.getMinutes(), this.$s = x.getSeconds(), this.$ms = x.getMilliseconds();
4255
- }, k.$utils = function() {
4251
+ }(k), this.init();
4252
+ }, x.init = function() {
4253
+ var k = this.$d;
4254
+ this.$y = k.getFullYear(), this.$M = k.getMonth(), this.$D = k.getDate(), this.$W = k.getDay(), this.$H = k.getHours(), this.$m = k.getMinutes(), this.$s = k.getSeconds(), this.$ms = k.getMilliseconds();
4255
+ }, x.$utils = function() {
4256
4256
  return A;
4257
- }, k.isValid = function() {
4258
- return this.$d.toString() !== m;
4259
- }, k.isSame = function(x, P) {
4260
- var O = C(x);
4261
- return this.startOf(P) <= O && O <= this.endOf(P);
4262
- }, k.isAfter = function(x, P) {
4263
- return C(x) < this.startOf(P);
4264
- }, k.isBefore = function(x, P) {
4265
- return this.endOf(P) < C(x);
4266
- }, k.$g = function(x, P, O) {
4267
- return A.u(x) ? this[P] : this.set(O, x);
4268
- }, k.unix = function() {
4257
+ }, x.isValid = function() {
4258
+ return this.$d.toString() !== d;
4259
+ }, x.isSame = function(k, N) {
4260
+ var O = C(k);
4261
+ return this.startOf(N) <= O && O <= this.endOf(N);
4262
+ }, x.isAfter = function(k, N) {
4263
+ return C(k) < this.startOf(N);
4264
+ }, x.isBefore = function(k, N) {
4265
+ return this.endOf(N) < C(k);
4266
+ }, x.$g = function(k, N, O) {
4267
+ return A.u(k) ? this[N] : this.set(O, k);
4268
+ }, x.unix = function() {
4269
4269
  return Math.floor(this.valueOf() / 1e3);
4270
- }, k.valueOf = function() {
4270
+ }, x.valueOf = function() {
4271
4271
  return this.$d.getTime();
4272
- }, k.startOf = function(x, P) {
4273
- var O = this, F = !!A.u(P) || P, U = A.p(x), Q = function(He, ye) {
4274
- var De = A.w(O.$u ? Date.UTC(O.$y, ye, He) : new Date(O.$y, ye, He), O);
4272
+ }, x.startOf = function(k, N) {
4273
+ var O = this, F = !!A.u(N) || N, U = A.p(k), Q = function(Ve, ye) {
4274
+ var De = A.w(O.$u ? Date.UTC(O.$y, ye, Ve) : new Date(O.$y, ye, Ve), O);
4275
4275
  return F ? De : De.endOf(u);
4276
- }, te = function(He, ye) {
4277
- return A.w(O.toDate()[He].apply(O.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ye)), O);
4276
+ }, te = function(Ve, ye) {
4277
+ return A.w(O.toDate()[Ve].apply(O.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ye)), O);
4278
4278
  }, oe = this.$W, ue = this.$M, ve = this.$D, Xe = "set" + (this.$u ? "UTC" : "");
4279
4279
  switch (U) {
4280
4280
  case b:
@@ -4285,7 +4285,7 @@ var ks = { exports: {} };
4285
4285
  var ze = this.$locale().weekStart || 0, lt = (oe < ze ? oe + 7 : oe) - ze;
4286
4286
  return Q(F ? ve - lt : ve + (6 - lt), ue);
4287
4287
  case u:
4288
- case d:
4288
+ case m:
4289
4289
  return te(Xe + "Hours", 0);
4290
4290
  case l:
4291
4291
  return te(Xe + "Minutes", 1);
@@ -4296,42 +4296,42 @@ var ks = { exports: {} };
4296
4296
  default:
4297
4297
  return this.clone();
4298
4298
  }
4299
- }, k.endOf = function(x) {
4300
- return this.startOf(x, !1);
4301
- }, k.$set = function(x, P) {
4302
- var O, F = A.p(x), U = "set" + (this.$u ? "UTC" : ""), Q = (O = {}, O[u] = U + "Date", O[d] = U + "Date", O[f] = U + "Month", O[b] = U + "FullYear", O[l] = U + "Hours", O[i] = U + "Minutes", O[s] = U + "Seconds", O[o] = U + "Milliseconds", O)[F], te = F === u ? this.$D + (P - this.$W) : P;
4299
+ }, x.endOf = function(k) {
4300
+ return this.startOf(k, !1);
4301
+ }, x.$set = function(k, N) {
4302
+ var O, F = A.p(k), U = "set" + (this.$u ? "UTC" : ""), Q = (O = {}, O[u] = U + "Date", O[m] = U + "Date", O[f] = U + "Month", O[b] = U + "FullYear", O[l] = U + "Hours", O[i] = U + "Minutes", O[s] = U + "Seconds", O[o] = U + "Milliseconds", O)[F], te = F === u ? this.$D + (N - this.$W) : N;
4303
4303
  if (F === f || F === b) {
4304
- var oe = this.clone().set(d, 1);
4305
- oe.$d[Q](te), oe.init(), this.$d = oe.set(d, Math.min(this.$D, oe.daysInMonth())).$d;
4304
+ var oe = this.clone().set(m, 1);
4305
+ oe.$d[Q](te), oe.init(), this.$d = oe.set(m, Math.min(this.$D, oe.daysInMonth())).$d;
4306
4306
  } else Q && this.$d[Q](te);
4307
4307
  return this.init(), this;
4308
- }, k.set = function(x, P) {
4309
- return this.clone().$set(x, P);
4310
- }, k.get = function(x) {
4311
- return this[A.p(x)]();
4312
- }, k.add = function(x, P) {
4308
+ }, x.set = function(k, N) {
4309
+ return this.clone().$set(k, N);
4310
+ }, x.get = function(k) {
4311
+ return this[A.p(k)]();
4312
+ }, x.add = function(k, N) {
4313
4313
  var O, F = this;
4314
- x = Number(x);
4315
- var U = A.p(P), Q = function(ue) {
4314
+ k = Number(k);
4315
+ var U = A.p(N), Q = function(ue) {
4316
4316
  var ve = C(F);
4317
- return A.w(ve.date(ve.date() + Math.round(ue * x)), F);
4317
+ return A.w(ve.date(ve.date() + Math.round(ue * k)), F);
4318
4318
  };
4319
- if (U === f) return this.set(f, this.$M + x);
4320
- if (U === b) return this.set(b, this.$y + x);
4319
+ if (U === f) return this.set(f, this.$M + k);
4320
+ if (U === b) return this.set(b, this.$y + k);
4321
4321
  if (U === u) return Q(1);
4322
4322
  if (U === c) return Q(7);
4323
- var te = (O = {}, O[i] = r, O[l] = a, O[s] = n, O)[U] || 1, oe = this.$d.getTime() + x * te;
4323
+ var te = (O = {}, O[i] = r, O[l] = a, O[s] = n, O)[U] || 1, oe = this.$d.getTime() + k * te;
4324
4324
  return A.w(oe, this);
4325
- }, k.subtract = function(x, P) {
4326
- return this.add(-1 * x, P);
4327
- }, k.format = function(x) {
4328
- var P = this, O = this.$locale();
4329
- if (!this.isValid()) return O.invalidDate || m;
4330
- var F = x || "YYYY-MM-DDTHH:mm:ssZ", U = A.z(this), Q = this.$H, te = this.$m, oe = this.$M, ue = O.weekdays, ve = O.months, Xe = O.meridiem, ze = function(ye, De, ut, Tt) {
4331
- return ye && (ye[De] || ye(P, F)) || ut[De].slice(0, Tt);
4325
+ }, x.subtract = function(k, N) {
4326
+ return this.add(-1 * k, N);
4327
+ }, x.format = function(k) {
4328
+ var N = this, O = this.$locale();
4329
+ if (!this.isValid()) return O.invalidDate || d;
4330
+ var F = k || "YYYY-MM-DDTHH:mm:ssZ", U = A.z(this), Q = this.$H, te = this.$m, oe = this.$M, ue = O.weekdays, ve = O.months, Xe = O.meridiem, ze = function(ye, De, ut, Tt) {
4331
+ return ye && (ye[De] || ye(N, F)) || ut[De].slice(0, Tt);
4332
4332
  }, lt = function(ye) {
4333
4333
  return A.s(Q % 12 || 12, ye, "0");
4334
- }, He = Xe || function(ye, De, ut) {
4334
+ }, Ve = Xe || function(ye, De, ut) {
4335
4335
  var Tt = ye < 12 ? "AM" : "PM";
4336
4336
  return ut ? Tt.toLowerCase() : Tt;
4337
4337
  };
@@ -4339,9 +4339,9 @@ var ks = { exports: {} };
4339
4339
  return De || function(ut) {
4340
4340
  switch (ut) {
4341
4341
  case "YY":
4342
- return String(P.$y).slice(-2);
4342
+ return String(N.$y).slice(-2);
4343
4343
  case "YYYY":
4344
- return A.s(P.$y, 4, "0");
4344
+ return A.s(N.$y, 4, "0");
4345
4345
  case "M":
4346
4346
  return oe + 1;
4347
4347
  case "MM":
@@ -4351,17 +4351,17 @@ var ks = { exports: {} };
4351
4351
  case "MMMM":
4352
4352
  return ze(ve, oe);
4353
4353
  case "D":
4354
- return P.$D;
4354
+ return N.$D;
4355
4355
  case "DD":
4356
- return A.s(P.$D, 2, "0");
4356
+ return A.s(N.$D, 2, "0");
4357
4357
  case "d":
4358
- return String(P.$W);
4358
+ return String(N.$W);
4359
4359
  case "dd":
4360
- return ze(O.weekdaysMin, P.$W, ue, 2);
4360
+ return ze(O.weekdaysMin, N.$W, ue, 2);
4361
4361
  case "ddd":
4362
- return ze(O.weekdaysShort, P.$W, ue, 3);
4362
+ return ze(O.weekdaysShort, N.$W, ue, 3);
4363
4363
  case "dddd":
4364
- return ue[P.$W];
4364
+ return ue[N.$W];
4365
4365
  case "H":
4366
4366
  return String(Q);
4367
4367
  case "HH":
@@ -4371,29 +4371,29 @@ var ks = { exports: {} };
4371
4371
  case "hh":
4372
4372
  return lt(2);
4373
4373
  case "a":
4374
- return He(Q, te, !0);
4374
+ return Ve(Q, te, !0);
4375
4375
  case "A":
4376
- return He(Q, te, !1);
4376
+ return Ve(Q, te, !1);
4377
4377
  case "m":
4378
4378
  return String(te);
4379
4379
  case "mm":
4380
4380
  return A.s(te, 2, "0");
4381
4381
  case "s":
4382
- return String(P.$s);
4382
+ return String(N.$s);
4383
4383
  case "ss":
4384
- return A.s(P.$s, 2, "0");
4384
+ return A.s(N.$s, 2, "0");
4385
4385
  case "SSS":
4386
- return A.s(P.$ms, 3, "0");
4386
+ return A.s(N.$ms, 3, "0");
4387
4387
  case "Z":
4388
4388
  return U;
4389
4389
  }
4390
4390
  return null;
4391
4391
  }(ye) || U.replace(":", "");
4392
4392
  });
4393
- }, k.utcOffset = function() {
4393
+ }, x.utcOffset = function() {
4394
4394
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4395
- }, k.diff = function(x, P, O) {
4396
- var F, U = this, Q = A.p(P), te = C(x), oe = (te.utcOffset() - this.utcOffset()) * r, ue = this - te, ve = function() {
4395
+ }, x.diff = function(k, N, O) {
4396
+ var F, U = this, Q = A.p(N), te = C(k), oe = (te.utcOffset() - this.utcOffset()) * r, ue = this - te, ve = function() {
4397
4397
  return A.m(U, te);
4398
4398
  };
4399
4399
  switch (Q) {
@@ -4425,42 +4425,42 @@ var ks = { exports: {} };
4425
4425
  F = ue;
4426
4426
  }
4427
4427
  return O ? F : A.a(F);
4428
- }, k.daysInMonth = function() {
4428
+ }, x.daysInMonth = function() {
4429
4429
  return this.endOf(f).$D;
4430
- }, k.$locale = function() {
4430
+ }, x.$locale = function() {
4431
4431
  return L[this.$L];
4432
- }, k.locale = function(x, P) {
4433
- if (!x) return this.$L;
4434
- var O = this.clone(), F = X(x, P, !0);
4432
+ }, x.locale = function(k, N) {
4433
+ if (!k) return this.$L;
4434
+ var O = this.clone(), F = X(k, N, !0);
4435
4435
  return F && (O.$L = F), O;
4436
- }, k.clone = function() {
4436
+ }, x.clone = function() {
4437
4437
  return A.w(this.$d, this);
4438
- }, k.toDate = function() {
4438
+ }, x.toDate = function() {
4439
4439
  return new Date(this.valueOf());
4440
- }, k.toJSON = function() {
4440
+ }, x.toJSON = function() {
4441
4441
  return this.isValid() ? this.toISOString() : null;
4442
- }, k.toISOString = function() {
4442
+ }, x.toISOString = function() {
4443
4443
  return this.$d.toISOString();
4444
- }, k.toString = function() {
4444
+ }, x.toString = function() {
4445
4445
  return this.$d.toUTCString();
4446
4446
  }, T;
4447
4447
  }(), _ = M.prototype;
4448
- return C.prototype = _, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", f], ["$y", b], ["$D", d]].forEach(function(T) {
4449
- _[T[1]] = function(k) {
4450
- return this.$g(k, T[0], T[1]);
4448
+ return C.prototype = _, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", f], ["$y", b], ["$D", m]].forEach(function(T) {
4449
+ _[T[1]] = function(x) {
4450
+ return this.$g(x, T[0], T[1]);
4451
4451
  };
4452
- }), C.extend = function(T, k) {
4453
- return T.$i || (T(k, M, C), T.$i = !0), C;
4452
+ }), C.extend = function(T, x) {
4453
+ return T.$i || (T(x, M, C), T.$i = !0), C;
4454
4454
  }, C.locale = X, C.isDayjs = se, C.unix = function(T) {
4455
4455
  return C(1e3 * T);
4456
- }, C.en = L[H], C.Ls = L, C.p = {}, C;
4456
+ }, C.en = L[V], C.Ls = L, C.p = {}, C;
4457
4457
  });
4458
- })(ks);
4459
- var pc = ks.exports;
4458
+ })(xs);
4459
+ var pc = xs.exports;
4460
4460
  const ce = /* @__PURE__ */ ws(pc), hc = {
4461
4461
  key: 0,
4462
4462
  class: "s-datepicker-radio"
4463
- }, vc = { class: "s-datepicker-main" }, gc = { class: "s-datepicker-input" }, yc = ["value"], bc = { class: "s-datepicker-input-icon" }, Sc = { class: "s-datepicker-calendar-header-data" }, wc = { class: "calendar-grid" }, kc = ["onMousedown", "onMouseover"], xc = {
4463
+ }, vc = { class: "s-datepicker-main" }, gc = { class: "s-datepicker-input" }, yc = ["value"], bc = { class: "s-datepicker-input-icon" }, Sc = { class: "s-datepicker-calendar-header-data" }, wc = { class: "calendar-grid" }, xc = ["onMousedown", "onMouseover"], kc = {
4464
4464
  key: 0,
4465
4465
  class: "splitter"
4466
4466
  }, $c = {
@@ -4470,7 +4470,7 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4470
4470
  // Формат значения модели
4471
4471
  valueFormat: {
4472
4472
  type: String,
4473
- default: "YYYYMMDD"
4473
+ default: "YYYY-MM-DD"
4474
4474
  },
4475
4475
  // Формат, в котором выводим в инпуте
4476
4476
  inputFormat: {
@@ -4501,14 +4501,14 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4501
4501
  }),
4502
4502
  emits: /* @__PURE__ */ ie(["update:modelValue", "selectedInterval"], ["update:modelValue"]),
4503
4503
  setup(e, { emit: t }) {
4504
- const n = e, r = Oe(e, "modelValue"), a = V(() => {
4504
+ const n = e, r = Oe(e, "modelValue"), a = H(() => {
4505
4505
  let C = r.value;
4506
4506
  if (C === null && n.buttons) {
4507
4507
  const [A, M] = Object.values(n.buttons)[0].split("-");
4508
4508
  C = [A, M];
4509
4509
  }
4510
4510
  return n.valueFormat === "YYYYMMDD" || C === null ? JSON.parse(JSON.stringify(C)) : Array.isArray(C) ? C.map((A) => ce(A, n.valueFormat).format("YYYYMMDD")) : ce(C, n.valueFormat).format("YYYYMMDD");
4511
- }), o = V({
4511
+ }), o = H({
4512
4512
  get: () => {
4513
4513
  var C, A;
4514
4514
  return (A = (C = a.value) == null ? void 0 : C.join("-")) != null ? A : "";
@@ -4516,14 +4516,14 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4516
4516
  set: (C) => {
4517
4517
  r.value = C.split("-");
4518
4518
  }
4519
- }), s = V(() => {
4519
+ }), s = H(() => {
4520
4520
  var C;
4521
4521
  return (C = n.numberOfMonths) != null ? C : n.range ? 2 : 1;
4522
- }), i = V(() => n.range && Array.isArray(a.value) ? a.value.filter(Boolean).map((C) => ce(C, n.valueFormat).format(n.inputFormat)).join(" — ") : a.value ? ce(a.value, n.valueFormat).format(n.inputFormat) : "Дата не выбрана"), l = J(ce().format("YYYY")), u = J(ce().format("MM")), c = V(() => {
4522
+ }), i = H(() => n.range && Array.isArray(a.value) ? a.value.filter(Boolean).map((C) => ce(C, n.valueFormat).format(n.inputFormat)).join(" — ") : a.value ? ce(a.value, n.valueFormat).format(n.inputFormat) : "Дата не выбрана"), l = J(ce().format("YYYY")), u = J(ce().format("MM")), c = H(() => {
4523
4523
  const C = [];
4524
4524
  for (let A = 0; A < s.value; A++) {
4525
- let M = l.value + Math.floor((u.value - 1 + A) / 12), _ = (u.value - 1 + A) % 12 + 1, T = (ce().year(M).month(_ - 1).startOf("month").day() + 6) % 7, k = ce().year(M).month(_ - 2).daysInMonth(), x = ce().year(M).month(_ - 1).daysInMonth(), P = (7 - (x + T) % 7) % 7;
4526
- C.push({ year: M, month: _, daysInMonth: x, daysInPreviousMonth: k, previousMonthDaysTail: T, leadingNextMonthDays: P });
4525
+ let M = l.value + Math.floor((u.value - 1 + A) / 12), _ = (u.value - 1 + A) % 12 + 1, T = (ce().year(M).month(_ - 1).startOf("month").day() + 6) % 7, x = ce().year(M).month(_ - 2).daysInMonth(), k = ce().year(M).month(_ - 1).daysInMonth(), N = (7 - (k + T) % 7) % 7;
4526
+ C.push({ year: M, month: _, daysInMonth: k, daysInPreviousMonth: x, previousMonthDaysTail: T, leadingNextMonthDays: N });
4527
4527
  }
4528
4528
  return C;
4529
4529
  });
@@ -4533,8 +4533,8 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4533
4533
  function p() {
4534
4534
  l.value = u.value === 12 ? l.value + 1 : l.value, u.value = u.value === 12 ? 1 : u.value + 1;
4535
4535
  }
4536
- const b = (C, A, M) => C + (A < 10 ? "0" : "") + A + (M < 10 ? "0" : "") + M, d = J(!1);
4537
- Ae(d, (C) => {
4536
+ const b = (C, A, M) => C + (A < 10 ? "0" : "") + A + (M < 10 ? "0" : "") + M, m = J(!1);
4537
+ Ae(m, (C) => {
4538
4538
  if (C === !1) return;
4539
4539
  const A = r.value instanceof Array ? r.value[0] : r.value;
4540
4540
  if (A === null) {
@@ -4543,49 +4543,49 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4543
4543
  }
4544
4544
  u.value = ce(A, n.valueFormat).month() + 1, l.value = ce(A, n.valueFormat).year();
4545
4545
  });
4546
- const m = (C, A, M) => a.value instanceof Array ? D.value ? D.value === b(C, A, M) : a.value.includes(b(C, A, M)) : a.value === b(C, A, M), v = J(null), g = (C, A, M) => v.value = b(C, A, M), w = () => v.value = null, N = V(() => {
4546
+ const d = (C, A, M) => a.value instanceof Array ? D.value ? D.value === b(C, A, M) : a.value.includes(b(C, A, M)) : a.value === b(C, A, M), h = J(null), g = (C, A, M) => h.value = b(C, A, M), w = () => h.value = null, P = H(() => {
4547
4547
  if (!n.range) return null;
4548
4548
  if (D.value) {
4549
- if (!v.value) return null;
4550
- const C = D.value < v.value ? D.value : v.value, A = D.value < v.value ? v.value : D.value;
4549
+ if (!h.value) return null;
4550
+ const C = D.value < h.value ? D.value : h.value, A = D.value < h.value ? h.value : D.value;
4551
4551
  return [C, A];
4552
4552
  } else if (a.value)
4553
4553
  return a.value;
4554
4554
  return null;
4555
4555
  }), W = function(C, A, M) {
4556
- return N.value && N.value[0] <= b(C, A, M) && N.value[1] >= b(C, A, M);
4556
+ return P.value && P.value[0] <= b(C, A, M) && P.value[1] >= b(C, A, M);
4557
4557
  };
4558
- function H(C, A, M) {
4559
- const _ = n.min ? ce(n.min, "YYYY-MM-DD") : null, T = n.max ? ce(n.max, "YYYY-MM-DD") : null, k = ce().year(C).month(A - 1).date(M);
4560
- return k.isBefore(_, "day") || k.isAfter(T, "day");
4558
+ function V(C, A, M) {
4559
+ const _ = n.min ? ce(n.min, "YYYY-MM-DD") : null, T = n.max ? ce(n.max, "YYYY-MM-DD") : null, x = ce().year(C).month(A - 1).date(M);
4560
+ return x.isBefore(_, "day") || x.isAfter(T, "day");
4561
4561
  }
4562
4562
  function L(C, A, M) {
4563
4563
  return ce().year(C).month(A - 1).date(M).isSame(ce(), "day");
4564
4564
  }
4565
4565
  const D = J(null);
4566
4566
  function se(C, A, M) {
4567
- if (!H(C, A, M))
4567
+ if (!V(C, A, M))
4568
4568
  if (!n.range)
4569
- r.value = ce().year(C).month(A - 1).date(M).format(n.valueFormat), d.value = !1;
4569
+ r.value = ce().year(C).month(A - 1).date(M).format(n.valueFormat), m.value = !1;
4570
4570
  else if (!D.value)
4571
4571
  D.value = b(C, A, M);
4572
4572
  else {
4573
4573
  const _ = b(C, A, M);
4574
- let T = D.value < _ ? D.value : _, k = D.value < _ ? _ : D.value;
4575
- n.valueFormat !== "YYYYMMDD" && (T = ce(T, "YYYYMMDD").format(n.valueFormat), k = ce(k, "YYYYMMDD").format(n.valueFormat)), r.value = [T, k], D.value = null, d.value = !1;
4574
+ let T = D.value < _ ? D.value : _, x = D.value < _ ? _ : D.value;
4575
+ n.valueFormat !== "YYYYMMDD" && (T = ce(T, "YYYYMMDD").format(n.valueFormat), x = ce(x, "YYYYMMDD").format(n.valueFormat)), r.value = [T, x], D.value = null, m.value = !1;
4576
4576
  }
4577
4577
  }
4578
4578
  ao(document, "mousedown", (C) => {
4579
- d.value = !1, D.value = null;
4579
+ m.value = !1, D.value = null;
4580
4580
  });
4581
- const X = V(() => n.buttons ? Object.fromEntries(Object.entries(n.buttons).map(([C, A]) => [A, C])) : []);
4582
- return (C, A) => (h(), S("div", {
4581
+ const X = H(() => n.buttons ? Object.fromEntries(Object.entries(n.buttons).map(([C, A]) => [A, C])) : []);
4582
+ return (C, A) => (v(), S("div", {
4583
4583
  class: "s-datepicker",
4584
- onClick: A[3] || (A[3] = (M) => d.value = !d.value),
4584
+ onClick: A[3] || (A[3] = (M) => m.value = !m.value),
4585
4585
  onMousedown: A[4] || (A[4] = $e(() => {
4586
4586
  }, ["prevent", "stop"]))
4587
4587
  }, [
4588
- e.buttons && Object.values(e.buttons).length ? (h(), S("div", hc, [
4588
+ e.buttons && Object.values(e.buttons).length ? (v(), S("div", hc, [
4589
4589
  Z(Ss, {
4590
4590
  modelValue: o.value,
4591
4591
  "onUpdate:modelValue": A[0] || (A[0] = (M) => o.value = M),
@@ -4603,13 +4603,13 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4603
4603
  Z(R(ne), { icon: ["far", "calendar"] })
4604
4604
  ])
4605
4605
  ]),
4606
- d.value ? (h(), S("div", {
4606
+ m.value ? (v(), S("div", {
4607
4607
  key: 0,
4608
4608
  class: "s-datepicker-calendar",
4609
4609
  onClick: A[2] || (A[2] = $e(() => {
4610
4610
  }, ["stop"]))
4611
4611
  }, [
4612
- (h(!0), S(ee, null, de(c.value, ({ month: M, year: _, daysInMonth: T, leadingNextMonthDays: k, previousMonthDaysTail: x, daysInPreviousMonth: P }, O) => (h(), S("div", {
4612
+ (v(!0), S(ee, null, de(c.value, ({ month: M, year: _, daysInMonth: T, leadingNextMonthDays: x, previousMonthDaysTail: k, daysInPreviousMonth: N }, O) => (v(), S("div", {
4613
4613
  class: "s-datepicker-calendar-page",
4614
4614
  key: `${_}${M}`
4615
4615
  }, [
@@ -4617,7 +4617,7 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4617
4617
  E("div", {
4618
4618
  class: z(["s-datepicker-calendar-header", { centered: O !== 0 && O !== c.value.length - 1 }])
4619
4619
  }, [
4620
- O === 0 ? (h(), S("div", {
4620
+ O === 0 ? (v(), S("div", {
4621
4621
  key: 0,
4622
4622
  class: "s-datepicker-calendar-header-controls",
4623
4623
  onClick: f
@@ -4625,7 +4625,7 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4625
4625
  Z(R(ne), { icon: "chevron-left" })
4626
4626
  ])) : B("", !0),
4627
4627
  E("div", Sc, G(e.monthNames[M - 1]) + " " + G(_), 1),
4628
- O === c.value.length - 1 ? (h(), S("div", {
4628
+ O === c.value.length - 1 ? (v(), S("div", {
4629
4629
  key: 1,
4630
4630
  class: "s-datepicker-calendar-header-controls",
4631
4631
  onClick: p
@@ -4634,40 +4634,40 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4634
4634
  ])) : B("", !0)
4635
4635
  ], 2),
4636
4636
  E("div", wc, [
4637
- (h(!0), S(ee, null, de(e.weekDayNames, (F, U) => (h(), S("span", {
4637
+ (v(!0), S(ee, null, de(e.weekDayNames, (F, U) => (v(), S("span", {
4638
4638
  key: U,
4639
4639
  class: "day-name"
4640
4640
  }, G(F), 1))), 128)),
4641
- (h(!0), S(ee, null, de(x, (F) => (h(), S("div", {
4641
+ (v(!0), S(ee, null, de(k, (F) => (v(), S("div", {
4642
4642
  key: b(_, M, F),
4643
4643
  class: "day blocked"
4644
- }, G(F + P - x), 1))), 128)),
4645
- (h(!0), S(ee, null, de(T, (F) => (h(), S("div", {
4644
+ }, G(F + N - k), 1))), 128)),
4645
+ (v(!0), S(ee, null, de(T, (F) => (v(), S("div", {
4646
4646
  key: b(_, M, F),
4647
4647
  class: z(["day", {
4648
- selected: m(_, M, F),
4648
+ selected: d(_, M, F),
4649
4649
  inrange: W(_, M, F),
4650
4650
  today: L(_, M, F),
4651
- blocked: H(_, M, F)
4651
+ blocked: V(_, M, F)
4652
4652
  }]),
4653
4653
  onMousedown: (U) => se(_, M, F),
4654
4654
  onMouseover: (U) => g(_, M, F),
4655
4655
  onMouseout: A[1] || (A[1] = (U) => w())
4656
- }, G(F), 43, kc))), 128)),
4657
- (h(!0), S(ee, null, de(k, (F) => (h(), S("div", {
4656
+ }, G(F), 43, xc))), 128)),
4657
+ (v(!0), S(ee, null, de(x, (F) => (v(), S("div", {
4658
4658
  key: b(_, M, F),
4659
4659
  class: "day blocked"
4660
4660
  }, G(F), 1))), 128))
4661
4661
  ])
4662
4662
  ]),
4663
- O !== c.value.length - 1 ? (h(), S("div", xc)) : B("", !0)
4663
+ O !== c.value.length - 1 ? (v(), S("div", kc)) : B("", !0)
4664
4664
  ]))), 128))
4665
4665
  ])) : B("", !0)
4666
4666
  ])
4667
4667
  ], 32));
4668
4668
  }
4669
4669
  };
4670
- function xs(e, t) {
4670
+ function ks(e, t) {
4671
4671
  return function() {
4672
4672
  return e.apply(t, arguments);
4673
4673
  };
@@ -4740,8 +4740,8 @@ function jn() {
4740
4740
  return n;
4741
4741
  }
4742
4742
  const zc = (e, t, n, { allOwnKeys: r } = {}) => (Et(t, (a, o) => {
4743
- n && be(a) ? e[o] = xs(a, n) : e[o] = a;
4744
- }, { allOwnKeys: r }), e), Hc = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Vc = (e, t, n, r) => {
4743
+ n && be(a) ? e[o] = ks(a, n) : e[o] = a;
4744
+ }, { allOwnKeys: r }), e), Vc = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Hc = (e, t, n, r) => {
4745
4745
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
4746
4746
  value: t.prototype
4747
4747
  }), n && Object.assign(e.prototype, n);
@@ -4875,8 +4875,8 @@ const sf = (e) => {
4875
4875
  merge: jn,
4876
4876
  extend: zc,
4877
4877
  trim: Uc,
4878
- stripBOM: Hc,
4879
- inherits: Vc,
4878
+ stripBOM: Vc,
4879
+ inherits: Hc,
4880
4880
  toFlatObject: Wc,
4881
4881
  kindOf: tn,
4882
4882
  kindOfTest: Ne,
@@ -4982,55 +4982,55 @@ function rn(e, t, n) {
4982
4982
  metaTokens: !0,
4983
4983
  dots: !1,
4984
4984
  indexes: !1
4985
- }, !1, function(m, v) {
4986
- return !y.isUndefined(v[m]);
4985
+ }, !1, function(d, h) {
4986
+ return !y.isUndefined(h[d]);
4987
4987
  });
4988
4988
  const r = n.metaTokens, a = n.visitor || c, o = n.dots, s = n.indexes, l = (n.Blob || typeof Blob != "undefined" && Blob) && y.isSpecCompliantForm(t);
4989
4989
  if (!y.isFunction(a))
4990
4990
  throw new TypeError("visitor must be a function");
4991
- function u(d) {
4992
- if (d === null) return "";
4993
- if (y.isDate(d))
4994
- return d.toISOString();
4995
- if (y.isBoolean(d))
4996
- return d.toString();
4997
- if (!l && y.isBlob(d))
4991
+ function u(m) {
4992
+ if (m === null) return "";
4993
+ if (y.isDate(m))
4994
+ return m.toISOString();
4995
+ if (y.isBoolean(m))
4996
+ return m.toString();
4997
+ if (!l && y.isBlob(m))
4998
4998
  throw new Y("Blob is not supported. Use a Buffer instead.");
4999
- return y.isArrayBuffer(d) || y.isTypedArray(d) ? l && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
5000
- }
5001
- function c(d, m, v) {
5002
- let g = d;
5003
- if (d && !v && typeof d == "object") {
5004
- if (y.endsWith(m, "{}"))
5005
- m = r ? m : m.slice(0, -2), d = JSON.stringify(d);
5006
- else if (y.isArray(d) && df(d) || (y.isFileList(d) || y.endsWith(m, "[]")) && (g = y.toArray(d)))
5007
- return m = Fs(m), g.forEach(function(N, W) {
5008
- !(y.isUndefined(N) || N === null) && t.append(
4999
+ return y.isArrayBuffer(m) || y.isTypedArray(m) ? l && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
5000
+ }
5001
+ function c(m, d, h) {
5002
+ let g = m;
5003
+ if (m && !h && typeof m == "object") {
5004
+ if (y.endsWith(d, "{}"))
5005
+ d = r ? d : d.slice(0, -2), m = JSON.stringify(m);
5006
+ else if (y.isArray(m) && df(m) || (y.isFileList(m) || y.endsWith(d, "[]")) && (g = y.toArray(m)))
5007
+ return d = Fs(d), g.forEach(function(P, W) {
5008
+ !(y.isUndefined(P) || P === null) && t.append(
5009
5009
  // eslint-disable-next-line no-nested-ternary
5010
- s === !0 ? Br([m], W, o) : s === null ? m : m + "[]",
5011
- u(N)
5010
+ s === !0 ? Br([d], W, o) : s === null ? d : d + "[]",
5011
+ u(P)
5012
5012
  );
5013
5013
  }), !1;
5014
5014
  }
5015
- return Dn(d) ? !0 : (t.append(Br(v, m, o), u(d)), !1);
5015
+ return Dn(m) ? !0 : (t.append(Br(h, d, o), u(m)), !1);
5016
5016
  }
5017
5017
  const f = [], p = Object.assign(mf, {
5018
5018
  defaultVisitor: c,
5019
5019
  convertValue: u,
5020
5020
  isVisitable: Dn
5021
5021
  });
5022
- function b(d, m) {
5023
- if (!y.isUndefined(d)) {
5024
- if (f.indexOf(d) !== -1)
5025
- throw Error("Circular reference detected in " + m.join("."));
5026
- f.push(d), y.forEach(d, function(g, w) {
5022
+ function b(m, d) {
5023
+ if (!y.isUndefined(m)) {
5024
+ if (f.indexOf(m) !== -1)
5025
+ throw Error("Circular reference detected in " + d.join("."));
5026
+ f.push(m), y.forEach(m, function(g, w) {
5027
5027
  (!(y.isUndefined(g) || g === null) && a.call(
5028
5028
  t,
5029
5029
  g,
5030
5030
  y.isString(w) ? w.trim() : w,
5031
- m,
5031
+ d,
5032
5032
  p
5033
- )) === !0 && b(g, m ? m.concat(w) : [w]);
5033
+ )) === !0 && b(g, d ? d.concat(w) : [w]);
5034
5034
  }), f.pop();
5035
5035
  }
5036
5036
  }
@@ -5152,7 +5152,7 @@ const Ms = {
5152
5152
  },
5153
5153
  protocols: ["http", "https", "file", "blob", "url", "data"]
5154
5154
  }, sr = typeof window != "undefined" && typeof document != "undefined", Ln = typeof navigator == "object" && navigator || void 0, bf = sr && (!Ln || ["ReactNative", "NativeScript", "NS"].indexOf(Ln.product) < 0), Sf = typeof WorkerGlobalScope != "undefined" && // eslint-disable-next-line no-undef
5155
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wf = sr && window.location.href || "http://localhost", kf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5155
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wf = sr && window.location.href || "http://localhost", xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5156
5156
  __proto__: null,
5157
5157
  hasBrowserEnv: sr,
5158
5158
  hasStandardBrowserEnv: bf,
@@ -5160,10 +5160,10 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wf
5160
5160
  navigator: Ln,
5161
5161
  origin: wf
5162
5162
  }, Symbol.toStringTag, { value: "Module" })), he = {
5163
- ...kf,
5163
+ ...xf,
5164
5164
  ...yf
5165
5165
  };
5166
- function xf(e, t) {
5166
+ function kf(e, t) {
5167
5167
  return rn(e, new he.classes.URLSearchParams(), {
5168
5168
  visitor: function(n, r, a, o) {
5169
5169
  return he.isNode && y.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
@@ -5224,7 +5224,7 @@ const _t = {
5224
5224
  let i;
5225
5225
  if (o) {
5226
5226
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
5227
- return xf(t, this.formSerializer).toString();
5227
+ return kf(t, this.formSerializer).toString();
5228
5228
  if ((i = y.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
5229
5229
  const l = this.env && this.env.FormData;
5230
5230
  return rn(
@@ -5302,7 +5302,7 @@ const Ef = y.toObjectSet([
5302
5302
  `).forEach(function(s) {
5303
5303
  a = s.indexOf(":"), n = s.substring(0, a).trim().toLowerCase(), r = s.substring(a + 1).trim(), !(!n || t[n] && Ef[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
5304
5304
  }), t;
5305
- }, Hr = Symbol("internals");
5305
+ }, Vr = Symbol("internals");
5306
5306
  function ct(e) {
5307
5307
  return e && String(e).trim().toLowerCase();
5308
5308
  }
@@ -5457,7 +5457,7 @@ let Se = class {
5457
5457
  return n.forEach((a) => r.set(a)), r;
5458
5458
  }
5459
5459
  static accessor(t) {
5460
- const r = (this[Hr] = this[Hr] = {
5460
+ const r = (this[Vr] = this[Vr] = {
5461
5461
  accessors: {}
5462
5462
  }).accessors, a = this.prototype;
5463
5463
  function o(s) {
@@ -5555,7 +5555,7 @@ const Yt = (e, t, n = 3) => {
5555
5555
  };
5556
5556
  e(f);
5557
5557
  }, n);
5558
- }, Vr = (e, t) => {
5558
+ }, Hr = (e, t) => {
5559
5559
  const n = e != null;
5560
5560
  return [(r) => t[0]({
5561
5561
  lengthComputable: n,
@@ -5695,58 +5695,58 @@ const Us = (e) => {
5695
5695
  const a = Us(e);
5696
5696
  let o = a.data;
5697
5697
  const s = Se.from(a.headers).normalize();
5698
- let { responseType: i, onUploadProgress: l, onDownloadProgress: u } = a, c, f, p, b, d;
5699
- function m() {
5700
- b && b(), d && d(), a.cancelToken && a.cancelToken.unsubscribe(c), a.signal && a.signal.removeEventListener("abort", c);
5698
+ let { responseType: i, onUploadProgress: l, onDownloadProgress: u } = a, c, f, p, b, m;
5699
+ function d() {
5700
+ b && b(), m && m(), a.cancelToken && a.cancelToken.unsubscribe(c), a.signal && a.signal.removeEventListener("abort", c);
5701
5701
  }
5702
- let v = new XMLHttpRequest();
5703
- v.open(a.method.toUpperCase(), a.url, !0), v.timeout = a.timeout;
5702
+ let h = new XMLHttpRequest();
5703
+ h.open(a.method.toUpperCase(), a.url, !0), h.timeout = a.timeout;
5704
5704
  function g() {
5705
- if (!v)
5705
+ if (!h)
5706
5706
  return;
5707
- const N = Se.from(
5708
- "getAllResponseHeaders" in v && v.getAllResponseHeaders()
5709
- ), H = {
5710
- data: !i || i === "text" || i === "json" ? v.responseText : v.response,
5711
- status: v.status,
5712
- statusText: v.statusText,
5713
- headers: N,
5707
+ const P = Se.from(
5708
+ "getAllResponseHeaders" in h && h.getAllResponseHeaders()
5709
+ ), V = {
5710
+ data: !i || i === "text" || i === "json" ? h.responseText : h.response,
5711
+ status: h.status,
5712
+ statusText: h.statusText,
5713
+ headers: P,
5714
5714
  config: e,
5715
- request: v
5715
+ request: h
5716
5716
  };
5717
5717
  Ls(function(D) {
5718
- n(D), m();
5718
+ n(D), d();
5719
5719
  }, function(D) {
5720
- r(D), m();
5721
- }, H), v = null;
5720
+ r(D), d();
5721
+ }, V), h = null;
5722
5722
  }
5723
- "onloadend" in v ? v.onloadend = g : v.onreadystatechange = function() {
5724
- !v || v.readyState !== 4 || v.status === 0 && !(v.responseURL && v.responseURL.indexOf("file:") === 0) || setTimeout(g);
5725
- }, v.onabort = function() {
5726
- v && (r(new Y("Request aborted", Y.ECONNABORTED, e, v)), v = null);
5727
- }, v.onerror = function(W) {
5728
- const H = W && W.message ? W.message : "Network Error", L = new Y(H, Y.ERR_NETWORK, e, v);
5729
- L.event = W || null, r(L), v = null;
5730
- }, v.ontimeout = function() {
5723
+ "onloadend" in h ? h.onloadend = g : h.onreadystatechange = function() {
5724
+ !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(g);
5725
+ }, h.onabort = function() {
5726
+ h && (r(new Y("Request aborted", Y.ECONNABORTED, e, h)), h = null);
5727
+ }, h.onerror = function(W) {
5728
+ const V = W && W.message ? W.message : "Network Error", L = new Y(V, Y.ERR_NETWORK, e, h);
5729
+ L.event = W || null, r(L), h = null;
5730
+ }, h.ontimeout = function() {
5731
5731
  let W = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
5732
- const H = a.transitional || Ms;
5732
+ const V = a.transitional || Ms;
5733
5733
  a.timeoutErrorMessage && (W = a.timeoutErrorMessage), r(new Y(
5734
5734
  W,
5735
- H.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
5735
+ V.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
5736
5736
  e,
5737
- v
5738
- )), v = null;
5739
- }, o === void 0 && s.setContentType(null), "setRequestHeader" in v && y.forEach(s.toJSON(), function(W, H) {
5740
- v.setRequestHeader(H, W);
5741
- }), y.isUndefined(a.withCredentials) || (v.withCredentials = !!a.withCredentials), i && i !== "json" && (v.responseType = a.responseType), u && ([p, d] = Yt(u, !0), v.addEventListener("progress", p)), l && v.upload && ([f, b] = Yt(l), v.upload.addEventListener("progress", f), v.upload.addEventListener("loadend", b)), (a.cancelToken || a.signal) && (c = (N) => {
5742
- v && (r(!N || N.type ? new it(null, e, v) : N), v.abort(), v = null);
5737
+ h
5738
+ )), h = null;
5739
+ }, o === void 0 && s.setContentType(null), "setRequestHeader" in h && y.forEach(s.toJSON(), function(W, V) {
5740
+ h.setRequestHeader(V, W);
5741
+ }), y.isUndefined(a.withCredentials) || (h.withCredentials = !!a.withCredentials), i && i !== "json" && (h.responseType = a.responseType), u && ([p, m] = Yt(u, !0), h.addEventListener("progress", p)), l && h.upload && ([f, b] = Yt(l), h.upload.addEventListener("progress", f), h.upload.addEventListener("loadend", b)), (a.cancelToken || a.signal) && (c = (P) => {
5742
+ h && (r(!P || P.type ? new it(null, e, h) : P), h.abort(), h = null);
5743
5743
  }, a.cancelToken && a.cancelToken.subscribe(c), a.signal && (a.signal.aborted ? c() : a.signal.addEventListener("abort", c)));
5744
5744
  const w = Ff(a.url);
5745
5745
  if (w && he.protocols.indexOf(w) === -1) {
5746
5746
  r(new Y("Unsupported protocol " + w + ":", Y.ERR_BAD_REQUEST, e));
5747
5747
  return;
5748
5748
  }
5749
- v.send(o || null);
5749
+ h.send(o || null);
5750
5750
  });
5751
5751
  }, zf = (e, t) => {
5752
5752
  const { length: n } = e = e ? e.filter(Boolean) : [];
@@ -5771,7 +5771,7 @@ const Us = (e) => {
5771
5771
  const { signal: l } = r;
5772
5772
  return l.unsubscribe = () => y.asap(i), l;
5773
5773
  }
5774
- }, Hf = function* (e, t) {
5774
+ }, Vf = function* (e, t) {
5775
5775
  let n = e.byteLength;
5776
5776
  if (n < t) {
5777
5777
  yield e;
@@ -5780,9 +5780,9 @@ const Us = (e) => {
5780
5780
  let r = 0, a;
5781
5781
  for (; r < n; )
5782
5782
  a = r + t, yield e.slice(r, a), r = a;
5783
- }, Vf = async function* (e, t) {
5783
+ }, Hf = async function* (e, t) {
5784
5784
  for await (const n of Wf(e))
5785
- yield* Hf(n, t);
5785
+ yield* Vf(n, t);
5786
5786
  }, Wf = async function* (e) {
5787
5787
  if (e[Symbol.asyncIterator]) {
5788
5788
  yield* e;
@@ -5800,7 +5800,7 @@ const Us = (e) => {
5800
5800
  await t.cancel();
5801
5801
  }
5802
5802
  }, qr = (e, t, n, r) => {
5803
- const a = Vf(e, t);
5803
+ const a = Hf(e, t);
5804
5804
  let o = 0, s, i = (l) => {
5805
5805
  s || (s = !0, r && r(l));
5806
5806
  };
@@ -5847,102 +5847,102 @@ const Us = (e) => {
5847
5847
  const { fetch: t, Request: n, Response: r } = e, a = t ? Nt(t) : typeof fetch == "function", o = Nt(n), s = Nt(r);
5848
5848
  if (!a)
5849
5849
  return !1;
5850
- const i = a && Nt(Jr), l = a && (typeof Gr == "function" ? /* @__PURE__ */ ((d) => (m) => d.encode(m))(new Gr()) : async (d) => new Uint8Array(await new n(d).arrayBuffer())), u = o && i && Xr(() => {
5851
- let d = !1;
5852
- const m = new n(he.origin, {
5850
+ const i = a && Nt(Jr), l = a && (typeof Gr == "function" ? /* @__PURE__ */ ((m) => (d) => m.encode(d))(new Gr()) : async (m) => new Uint8Array(await new n(m).arrayBuffer())), u = o && i && Xr(() => {
5851
+ let m = !1;
5852
+ const d = new n(he.origin, {
5853
5853
  body: new Jr(),
5854
5854
  method: "POST",
5855
5855
  get duplex() {
5856
- return d = !0, "half";
5856
+ return m = !0, "half";
5857
5857
  }
5858
5858
  }).headers.has("Content-Type");
5859
- return d && !m;
5859
+ return m && !d;
5860
5860
  }), c = s && i && Xr(() => y.isReadableStream(new r("").body)), f = {
5861
- stream: c && ((d) => d.body)
5861
+ stream: c && ((m) => m.body)
5862
5862
  };
5863
- a && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((d) => {
5864
- !f[d] && (f[d] = (m, v) => {
5865
- let g = m && m[d];
5863
+ a && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((m) => {
5864
+ !f[m] && (f[m] = (d, h) => {
5865
+ let g = d && d[m];
5866
5866
  if (g)
5867
- return g.call(m);
5868
- throw new Y(`Response type '${d}' is not supported`, Y.ERR_NOT_SUPPORT, v);
5867
+ return g.call(d);
5868
+ throw new Y(`Response type '${m}' is not supported`, Y.ERR_NOT_SUPPORT, h);
5869
5869
  });
5870
5870
  });
5871
- const p = async (d) => {
5872
- if (d == null)
5871
+ const p = async (m) => {
5872
+ if (m == null)
5873
5873
  return 0;
5874
- if (y.isBlob(d))
5875
- return d.size;
5876
- if (y.isSpecCompliantForm(d))
5874
+ if (y.isBlob(m))
5875
+ return m.size;
5876
+ if (y.isSpecCompliantForm(m))
5877
5877
  return (await new n(he.origin, {
5878
5878
  method: "POST",
5879
- body: d
5879
+ body: m
5880
5880
  }).arrayBuffer()).byteLength;
5881
- if (y.isArrayBufferView(d) || y.isArrayBuffer(d))
5882
- return d.byteLength;
5883
- if (y.isURLSearchParams(d) && (d = d + ""), y.isString(d))
5884
- return (await l(d)).byteLength;
5885
- }, b = async (d, m) => {
5886
- const v = y.toFiniteNumber(d.getContentLength());
5887
- return v == null ? p(m) : v;
5881
+ if (y.isArrayBufferView(m) || y.isArrayBuffer(m))
5882
+ return m.byteLength;
5883
+ if (y.isURLSearchParams(m) && (m = m + ""), y.isString(m))
5884
+ return (await l(m)).byteLength;
5885
+ }, b = async (m, d) => {
5886
+ const h = y.toFiniteNumber(m.getContentLength());
5887
+ return h == null ? p(d) : h;
5888
5888
  };
5889
- return async (d) => {
5889
+ return async (m) => {
5890
5890
  let {
5891
- url: m,
5892
- method: v,
5891
+ url: d,
5892
+ method: h,
5893
5893
  data: g,
5894
5894
  signal: w,
5895
- cancelToken: N,
5895
+ cancelToken: P,
5896
5896
  timeout: W,
5897
- onDownloadProgress: H,
5897
+ onDownloadProgress: V,
5898
5898
  onUploadProgress: L,
5899
5899
  responseType: D,
5900
5900
  headers: se,
5901
5901
  withCredentials: X = "same-origin",
5902
5902
  fetchOptions: C
5903
- } = Us(d), A = t || fetch;
5903
+ } = Us(m), A = t || fetch;
5904
5904
  D = D ? (D + "").toLowerCase() : "text";
5905
- let M = zf([w, N && N.toAbortSignal()], W), _ = null;
5905
+ let M = zf([w, P && P.toAbortSignal()], W), _ = null;
5906
5906
  const T = M && M.unsubscribe && (() => {
5907
5907
  M.unsubscribe();
5908
5908
  });
5909
- let k;
5909
+ let x;
5910
5910
  try {
5911
- if (L && u && v !== "get" && v !== "head" && (k = await b(se, g)) !== 0) {
5912
- let Q = new n(m, {
5911
+ if (L && u && h !== "get" && h !== "head" && (x = await b(se, g)) !== 0) {
5912
+ let Q = new n(d, {
5913
5913
  method: "POST",
5914
5914
  body: g,
5915
5915
  duplex: "half"
5916
5916
  }), te;
5917
5917
  if (y.isFormData(g) && (te = Q.headers.get("content-type")) && se.setContentType(te), Q.body) {
5918
- const [oe, ue] = Vr(
5919
- k,
5918
+ const [oe, ue] = Hr(
5919
+ x,
5920
5920
  Yt(Wr(L))
5921
5921
  );
5922
5922
  g = qr(Q.body, Kr, oe, ue);
5923
5923
  }
5924
5924
  }
5925
5925
  y.isString(X) || (X = X ? "include" : "omit");
5926
- const x = o && "credentials" in n.prototype, P = {
5926
+ const k = o && "credentials" in n.prototype, N = {
5927
5927
  ...C,
5928
5928
  signal: M,
5929
- method: v.toUpperCase(),
5929
+ method: h.toUpperCase(),
5930
5930
  headers: se.normalize().toJSON(),
5931
5931
  body: g,
5932
5932
  duplex: "half",
5933
- credentials: x ? X : void 0
5933
+ credentials: k ? X : void 0
5934
5934
  };
5935
- _ = o && new n(m, P);
5936
- let O = await (o ? A(_, C) : A(m, P));
5935
+ _ = o && new n(d, N);
5936
+ let O = await (o ? A(_, C) : A(d, N));
5937
5937
  const F = c && (D === "stream" || D === "response");
5938
- if (c && (H || F && T)) {
5938
+ if (c && (V || F && T)) {
5939
5939
  const Q = {};
5940
5940
  ["status", "statusText", "headers"].forEach((ve) => {
5941
5941
  Q[ve] = O[ve];
5942
5942
  });
5943
- const te = y.toFiniteNumber(O.headers.get("content-length")), [oe, ue] = H && Vr(
5943
+ const te = y.toFiniteNumber(O.headers.get("content-length")), [oe, ue] = V && Hr(
5944
5944
  te,
5945
- Yt(Wr(H), !0)
5945
+ Yt(Wr(V), !0)
5946
5946
  ) || [];
5947
5947
  O = new r(
5948
5948
  qr(O.body, Kr, oe, () => {
@@ -5952,24 +5952,24 @@ const Us = (e) => {
5952
5952
  );
5953
5953
  }
5954
5954
  D = D || "text";
5955
- let U = await f[y.findKey(f, D) || "text"](O, d);
5955
+ let U = await f[y.findKey(f, D) || "text"](O, m);
5956
5956
  return !F && T && T(), await new Promise((Q, te) => {
5957
5957
  Ls(Q, te, {
5958
5958
  data: U,
5959
5959
  headers: Se.from(O.headers),
5960
5960
  status: O.status,
5961
5961
  statusText: O.statusText,
5962
- config: d,
5962
+ config: m,
5963
5963
  request: _
5964
5964
  });
5965
5965
  });
5966
- } catch (x) {
5967
- throw T && T(), x && x.name === "TypeError" && /Load failed|fetch/i.test(x.message) ? Object.assign(
5968
- new Y("Network Error", Y.ERR_NETWORK, d, _),
5966
+ } catch (k) {
5967
+ throw T && T(), k && k.name === "TypeError" && /Load failed|fetch/i.test(k.message) ? Object.assign(
5968
+ new Y("Network Error", Y.ERR_NETWORK, m, _),
5969
5969
  {
5970
- cause: x.cause || x
5970
+ cause: k.cause || k
5971
5971
  }
5972
- ) : Y.from(x, x && x.code, d, _);
5972
+ ) : Y.from(k, k && k.code, m, _);
5973
5973
  }
5974
5974
  };
5975
5975
  }, Kf = /* @__PURE__ */ new Map(), zs = (e) => {
@@ -6030,7 +6030,7 @@ function Gf(e, t) {
6030
6030
  }
6031
6031
  return a;
6032
6032
  }
6033
- const Hs = {
6033
+ const Vs = {
6034
6034
  /**
6035
6035
  * Resolve an adapter from a list of adapter names or functions.
6036
6036
  * @type {Function}
@@ -6050,7 +6050,7 @@ function Zr(e) {
6050
6050
  return hn(e), e.headers = Se.from(e.headers), e.data = pn.call(
6051
6051
  e,
6052
6052
  e.transformRequest
6053
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Hs.getAdapter(e.adapter || _t.adapter, e)(e).then(function(r) {
6053
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Vs.getAdapter(e.adapter || _t.adapter, e)(e).then(function(r) {
6054
6054
  return hn(e), r.data = pn.call(
6055
6055
  e,
6056
6056
  e.transformResponse,
@@ -6064,7 +6064,7 @@ function Zr(e) {
6064
6064
  ), r.response.headers = Se.from(r.response.headers))), Promise.reject(r);
6065
6065
  });
6066
6066
  }
6067
- const Vs = "1.13.2", an = {};
6067
+ const Hs = "1.13.2", an = {};
6068
6068
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
6069
6069
  an[e] = function(r) {
6070
6070
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -6073,7 +6073,7 @@ const Vs = "1.13.2", an = {};
6073
6073
  const ea = {};
6074
6074
  an.transitional = function(t, n, r) {
6075
6075
  function a(o, s) {
6076
- return "[Axios v" + Vs + "] Transitional option '" + o + "'" + s + (r ? ". " + r : "");
6076
+ return "[Axios v" + Hs + "] Transitional option '" + o + "'" + s + (r ? ". " + r : "");
6077
6077
  }
6078
6078
  return (o, s, i) => {
6079
6079
  if (t === !1)
@@ -6167,41 +6167,41 @@ let Ye = class {
6167
6167
  );
6168
6168
  o && y.forEach(
6169
6169
  ["delete", "get", "head", "post", "put", "patch", "common"],
6170
- (d) => {
6171
- delete o[d];
6170
+ (m) => {
6171
+ delete o[m];
6172
6172
  }
6173
6173
  ), n.headers = Se.concat(s, o);
6174
6174
  const i = [];
6175
6175
  let l = !0;
6176
- this.interceptors.request.forEach(function(m) {
6177
- typeof m.runWhen == "function" && m.runWhen(n) === !1 || (l = l && m.synchronous, i.unshift(m.fulfilled, m.rejected));
6176
+ this.interceptors.request.forEach(function(d) {
6177
+ typeof d.runWhen == "function" && d.runWhen(n) === !1 || (l = l && d.synchronous, i.unshift(d.fulfilled, d.rejected));
6178
6178
  });
6179
6179
  const u = [];
6180
- this.interceptors.response.forEach(function(m) {
6181
- u.push(m.fulfilled, m.rejected);
6180
+ this.interceptors.response.forEach(function(d) {
6181
+ u.push(d.fulfilled, d.rejected);
6182
6182
  });
6183
6183
  let c, f = 0, p;
6184
6184
  if (!l) {
6185
- const d = [Zr.bind(this), void 0];
6186
- for (d.unshift(...i), d.push(...u), p = d.length, c = Promise.resolve(n); f < p; )
6187
- c = c.then(d[f++], d[f++]);
6185
+ const m = [Zr.bind(this), void 0];
6186
+ for (m.unshift(...i), m.push(...u), p = m.length, c = Promise.resolve(n); f < p; )
6187
+ c = c.then(m[f++], m[f++]);
6188
6188
  return c;
6189
6189
  }
6190
6190
  p = i.length;
6191
6191
  let b = n;
6192
6192
  for (; f < p; ) {
6193
- const d = i[f++], m = i[f++];
6193
+ const m = i[f++], d = i[f++];
6194
6194
  try {
6195
- b = d(b);
6196
- } catch (v) {
6197
- m.call(this, v);
6195
+ b = m(b);
6196
+ } catch (h) {
6197
+ d.call(this, h);
6198
6198
  break;
6199
6199
  }
6200
6200
  }
6201
6201
  try {
6202
6202
  c = Zr.call(this, b);
6203
- } catch (d) {
6204
- return Promise.reject(d);
6203
+ } catch (m) {
6204
+ return Promise.reject(m);
6205
6205
  }
6206
6206
  for (f = 0, p = u.length; f < p; )
6207
6207
  c = c.then(u[f++], u[f++]);
@@ -6393,7 +6393,7 @@ Object.entries(Bn).forEach(([e, t]) => {
6393
6393
  Bn[t] = e;
6394
6394
  });
6395
6395
  function Ys(e) {
6396
- const t = new Ye(e), n = xs(Ye.prototype.request, t);
6396
+ const t = new Ye(e), n = ks(Ye.prototype.request, t);
6397
6397
  return y.extend(n, Ye.prototype, t, { allOwnKeys: !0 }), y.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(a) {
6398
6398
  return Ys(Je(e, a));
6399
6399
  }, n;
@@ -6403,7 +6403,7 @@ fe.Axios = Ye;
6403
6403
  fe.CanceledError = it;
6404
6404
  fe.CancelToken = Qf;
6405
6405
  fe.isCancel = Ds;
6406
- fe.VERSION = Vs;
6406
+ fe.VERSION = Hs;
6407
6407
  fe.toFormData = rn;
6408
6408
  fe.AxiosError = Y;
6409
6409
  fe.Cancel = fe.CanceledError;
@@ -6415,7 +6415,7 @@ fe.isAxiosError = ed;
6415
6415
  fe.mergeConfig = Je;
6416
6416
  fe.AxiosHeaders = Se;
6417
6417
  fe.formToJSON = (e) => js(y.isHTMLForm(e) ? new FormData(e) : e);
6418
- fe.getAdapter = Hs.getAdapter;
6418
+ fe.getAdapter = Vs.getAdapter;
6419
6419
  fe.HttpStatusCode = Bn;
6420
6420
  fe.default = fe;
6421
6421
  const {
@@ -6607,7 +6607,7 @@ const {
6607
6607
  media_url_resolver: function(l, u, c) {
6608
6608
  const f = /https:\/\/kinescope\.io\/embed\/([a-zA-Z0-9]+)/, p = l.url.match(f);
6609
6609
  if (p) {
6610
- const d = `<iframe
6610
+ const m = `<iframe
6611
6611
  src="https://kinescope.io/embed/${p[1]}"
6612
6612
  width="1280"
6613
6613
  height="720"
@@ -6615,7 +6615,7 @@ const {
6615
6615
  allow="autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer"
6616
6616
  allowfullscreen>
6617
6617
  </iframe>`;
6618
- u({ html: d });
6618
+ u({ html: m });
6619
6619
  } else
6620
6620
  u({ html: "" });
6621
6621
  },
@@ -6643,10 +6643,10 @@ const {
6643
6643
  return !!(b && b.tagName && b.tagName.toLowerCase() === "div" && b.firstElementChild === p && b.children.length === 1);
6644
6644
  }, c = (p) => {
6645
6645
  if (!p || !p.parentNode || u(p)) return;
6646
- const b = l.getDoc(), d = p.parentNode, m = p.getAttribute && p.getAttribute("class") || "";
6646
+ const b = l.getDoc(), m = p.parentNode, d = p.getAttribute && p.getAttribute("class") || "";
6647
6647
  l.undoManager.transact(() => {
6648
- const v = b.createElement("div");
6649
- m && (v.className = m, p.removeAttribute("class")), d.insertBefore(v, p), v.appendChild(p);
6648
+ const h = b.createElement("div");
6649
+ d && (h.className = d, p.removeAttribute("class")), m.insertBefore(h, p), h.appendChild(p);
6650
6650
  });
6651
6651
  try {
6652
6652
  l.nodeChanged();
@@ -6654,9 +6654,9 @@ const {
6654
6654
  }
6655
6655
  }, f = (p) => {
6656
6656
  if (!p || !p.querySelectorAll) return;
6657
- p.querySelectorAll("img").forEach((d) => {
6657
+ p.querySelectorAll("img").forEach((m) => {
6658
6658
  try {
6659
- c(d);
6659
+ c(m);
6660
6660
  } catch {
6661
6661
  }
6662
6662
  });
@@ -6665,31 +6665,31 @@ const {
6665
6665
  const p = l.getDoc();
6666
6666
  if (!p) return;
6667
6667
  const b = l.insertContent.bind(l);
6668
- l.insertContent = (m, v) => {
6669
- if (typeof m == "string" && m.includes("<img")) {
6668
+ l.insertContent = (d, h) => {
6669
+ if (typeof d == "string" && d.includes("<img")) {
6670
6670
  const g = p.createElement("div");
6671
- g.innerHTML = m, f(g), m = g.innerHTML;
6671
+ g.innerHTML = d, f(g), d = g.innerHTML;
6672
6672
  }
6673
- return b(m, v);
6674
- }, l.on("PastePostProcess", (m) => {
6675
- f(m.node);
6673
+ return b(d, h);
6674
+ }, l.on("PastePostProcess", (d) => {
6675
+ f(d.node);
6676
6676
  });
6677
- const d = new MutationObserver((m) => {
6677
+ const m = new MutationObserver((d) => {
6678
6678
  l.undoManager.transact(() => {
6679
- for (const v of m)
6680
- if (v.type === "childList")
6681
- v.addedNodes.forEach((g) => {
6679
+ for (const h of d)
6680
+ if (h.type === "childList")
6681
+ h.addedNodes.forEach((g) => {
6682
6682
  if (g.nodeType !== 1) return;
6683
6683
  (g.tagName && g.tagName.toLowerCase()) === "img" ? c(g) : f(g);
6684
6684
  });
6685
- else if (v.type === "attributes" && v.attributeName === "class") {
6686
- const g = v.target;
6685
+ else if (h.type === "attributes" && h.attributeName === "class") {
6686
+ const g = h.target;
6687
6687
  if (g && g.tagName && g.tagName.toLowerCase() === "img") {
6688
6688
  if (!u(g) && (g.getAttribute("class") || "").trim())
6689
6689
  c(g);
6690
6690
  else if ((g.getAttribute("class") || "").trim()) {
6691
- const w = g.parentNode, N = g.getAttribute && g.getAttribute("class") || "";
6692
- N && (w.className = N, g.removeAttribute("class"));
6691
+ const w = g.parentNode, P = g.getAttribute && g.getAttribute("class") || "";
6692
+ P && (w.className = P, g.removeAttribute("class"));
6693
6693
  }
6694
6694
  }
6695
6695
  }
@@ -6699,13 +6699,13 @@ const {
6699
6699
  } catch {
6700
6700
  }
6701
6701
  });
6702
- d.observe(l.getBody(), {
6702
+ m.observe(l.getBody(), {
6703
6703
  childList: !0,
6704
6704
  subtree: !0,
6705
6705
  attributes: !0,
6706
6706
  // нужно чтобы ловить присвоение class плагином
6707
6707
  attributeFilter: ["class"]
6708
- }), l.on("remove", () => d.disconnect());
6708
+ }), l.on("remove", () => m.disconnect());
6709
6709
  });
6710
6710
  }
6711
6711
  });
@@ -6721,7 +6721,7 @@ const {
6721
6721
  function i() {
6722
6722
  n("changeContent");
6723
6723
  }
6724
- return (l, u) => (h(), S("div", td, [
6724
+ return (l, u) => (v(), S("div", td, [
6725
6725
  Z(R(io), {
6726
6726
  init: o.value,
6727
6727
  modelValue: a.value,
@@ -6746,7 +6746,7 @@ const {
6746
6746
  is: [String, Object, Function]
6747
6747
  },
6748
6748
  setup(e) {
6749
- const t = e, n = we("formModel", null), r = Un(), a = V(() => t.is ? t.is : r.href ? "a" : n ? "button" : "div"), o = V(() => [
6749
+ const t = e, n = we("formModel", null), r = Un(), a = H(() => t.is ? t.is : r.href ? "a" : n ? "button" : "div"), o = H(() => [
6750
6750
  "s-button",
6751
6751
  t.outlined && "outlined",
6752
6752
  t.transparent && "transparent",
@@ -6756,10 +6756,10 @@ const {
6756
6756
  t.loading && "loading",
6757
6757
  t.color && `color_${t.color}`
6758
6758
  ]);
6759
- return (s, i) => (h(), re(St(a.value), {
6759
+ return (s, i) => (v(), re(St(a.value), {
6760
6760
  class: z(o.value)
6761
6761
  }, {
6762
- default: ke(() => [
6762
+ default: xe(() => [
6763
6763
  I(s.$slots, "default")
6764
6764
  ]),
6765
6765
  _: 3
@@ -6774,59 +6774,63 @@ const {
6774
6774
  url: String,
6775
6775
  accept: String,
6776
6776
  maxFileSize: Number,
6777
- multiple: Boolean
6777
+ multiple: Boolean,
6778
+ uploadButtonTitle: String
6778
6779
  }, {
6779
6780
  modelValue: {},
6780
6781
  modelModifiers: {}
6781
6782
  }),
6782
6783
  emits: /* @__PURE__ */ ie(["select", "clear"], ["update:modelValue"]),
6783
6784
  setup(e, { expose: t, emit: n }) {
6784
- const r = e, a = Oe(e, "modelValue"), o = n, s = Ce("fileInput"), i = () => {
6785
+ const r = e, a = Oe(e, "modelValue"), o = n, s = Ce("fileInput"), i = H(() => {
6786
+ var d;
6787
+ return (d = r.uploadButtonTitle) != null ? d : r.multiple ? "Выбрать файлы" : "Выбрать файл";
6788
+ }), l = () => {
6785
6789
  s.value.click();
6786
- }, l = V(() => a.value ? (Array.isArray(a.value) ? a.value : [a.value]).map((m) => m instanceof File ? m.name : m) : []);
6787
- function u(d) {
6788
- const m = Array.from(d.target.files || []).filter(c);
6789
- if (m.length && !l.value.includes(d.target.files[0].name)) {
6790
+ }, u = H(() => a.value ? (Array.isArray(a.value) ? a.value : [a.value]).map((h) => h instanceof File ? h.name : h) : []);
6791
+ function c(d) {
6792
+ const h = Array.from(d.target.files || []).filter(f);
6793
+ if (h.length && !u.value.includes(d.target.files[0].name)) {
6790
6794
  if (r.multiple) {
6791
- const v = Array.isArray(a.value) ? [...a.value] : [];
6792
- a.value = [...v, ...m];
6795
+ const g = Array.isArray(a.value) ? [...a.value] : [];
6796
+ a.value = [...g, ...h];
6793
6797
  } else
6794
- a.value = m[0];
6798
+ a.value = h[0];
6795
6799
  o("select", a.value);
6796
6800
  }
6797
6801
  }
6798
- function c(d) {
6799
- return !(r.accept && !f(d) || r.maxFileSize && d.size > r.maxFileSize);
6800
- }
6801
6802
  function f(d) {
6802
- const m = r.accept.split(",").map((g) => g.trim()), v = "." + d.name.split(".").pop();
6803
- return m.includes(v);
6803
+ return !(r.accept && !p(d) || (console.log(r.maxFileSize, d.size), r.maxFileSize && d.size > r.maxFileSize));
6804
6804
  }
6805
6805
  function p(d) {
6806
- Array.isArray(a.value) ? a.value = a.value.filter((m) => m instanceof File ? m.name !== d : m !== d) : a.value = null, s.value.value = "";
6806
+ const h = r.accept.split(",").map((w) => w.trim()), g = "." + d.name.split(".").pop();
6807
+ return h.includes(g);
6807
6808
  }
6808
- function b() {
6809
+ function b(d) {
6810
+ Array.isArray(a.value) ? a.value = a.value.filter((h) => h instanceof File ? h.name !== d : h !== d) : a.value = null, s.value.value = "";
6811
+ }
6812
+ function m() {
6809
6813
  a.value = r.multiple ? [] : null, o("clear");
6810
6814
  }
6811
- return t({ clear: b, remove: p }), (d, m) => (h(), S("div", rd, [
6815
+ return t({ clear: m, remove: b }), (d, h) => (v(), S("div", rd, [
6812
6816
  E("div", ad, [
6813
6817
  d.$slots.header ? I(d.$slots, "header", {
6814
6818
  key: 0,
6815
- choose: i,
6816
- clear: b,
6819
+ choose: l,
6820
+ clear: m,
6817
6821
  files: a.value
6818
- }) : (h(), re(qt, {
6822
+ }) : (v(), re(qt, {
6819
6823
  key: 1,
6820
6824
  class: "s-upload-button",
6821
6825
  outlined: "",
6822
- onClick: $e(i, ["prevent"])
6826
+ onClick: $e(l, ["prevent"])
6823
6827
  }, {
6824
- default: ke(() => [
6828
+ default: xe(() => [
6825
6829
  Z(R(ne), {
6826
6830
  class: "s-upload-button-icon",
6827
6831
  icon: "plus"
6828
6832
  }),
6829
- m[0] || (m[0] = le("Выберите файл ", -1))
6833
+ le(G(i.value), 1)
6830
6834
  ]),
6831
6835
  _: 1
6832
6836
  }))
@@ -6838,22 +6842,22 @@ const {
6838
6842
  type: "file",
6839
6843
  multiple: e.multiple,
6840
6844
  accept: e.accept,
6841
- onChange: u
6845
+ onChange: c
6842
6846
  }, null, 40, sd),
6843
- l.value.length ? (h(), S("div", od, [
6847
+ u.value.length ? (v(), S("div", od, [
6844
6848
  d.$slots.preview ? I(d.$slots, "preview", {
6845
6849
  key: 0,
6846
- files: l.value,
6847
- remove: p
6848
- }) : (h(!0), S(ee, { key: 1 }, de(l.value, (v, g) => (h(), S("div", {
6849
- key: `${v}-${g}`,
6850
+ files: u.value,
6851
+ remove: b
6852
+ }) : (v(!0), S(ee, { key: 1 }, de(u.value, (g, w) => (v(), S("div", {
6853
+ key: `${g}-${w}`,
6850
6854
  class: "s-upload-content-item"
6851
6855
  }, [
6852
- E("span", null, G(v), 1),
6856
+ E("span", null, G(g), 1),
6853
6857
  Z(R(ne), {
6854
6858
  icon: "xmark",
6855
6859
  class: "delete",
6856
- onClick: (w) => p(v)
6860
+ onClick: (P) => b(g)
6857
6861
  }, null, 8, ["onClick"])
6858
6862
  ]))), 128))
6859
6863
  ])) : B("", !0),
@@ -6874,10 +6878,10 @@ function yd(e) {
6874
6878
  return t;
6875
6879
  }
6876
6880
  var bd = yd, Sd = bd, wd = /^\s+/;
6877
- function kd(e) {
6881
+ function xd(e) {
6878
6882
  return e && e.slice(0, Sd(e) + 1).replace(wd, "");
6879
6883
  }
6880
- var xd = kd, $d = Ks, Ad = $d.Symbol, Js = Ad, ta = Js, Gs = Object.prototype, Od = Gs.hasOwnProperty, Ed = Gs.toString, ft = ta ? ta.toStringTag : void 0;
6884
+ var kd = xd, $d = Ks, Ad = $d.Symbol, Js = Ad, ta = Js, Gs = Object.prototype, Od = Gs.hasOwnProperty, Ed = Gs.toString, ft = ta ? ta.toStringTag : void 0;
6881
6885
  function _d(e) {
6882
6886
  var t = Od.call(e, ft), n = e[ft];
6883
6887
  try {
@@ -6900,11 +6904,11 @@ var Ld = Dd;
6900
6904
  function Bd(e) {
6901
6905
  return e != null && typeof e == "object";
6902
6906
  }
6903
- var Ud = Bd, zd = Ld, Hd = Ud, Vd = "[object Symbol]";
6907
+ var Ud = Bd, zd = Ld, Vd = Ud, Hd = "[object Symbol]";
6904
6908
  function Wd(e) {
6905
- return typeof e == "symbol" || Hd(e) && zd(e) == Vd;
6909
+ return typeof e == "symbol" || Vd(e) && zd(e) == Hd;
6906
6910
  }
6907
- var Yd = Wd, qd = xd, aa = qs, Kd = Yd, sa = NaN, Jd = /^[-+]0x[0-9a-f]+$/i, Gd = /^0b[01]+$/i, Xd = /^0o[0-7]+$/i, Qd = parseInt;
6911
+ var Yd = Wd, qd = kd, aa = qs, Kd = Yd, sa = NaN, Jd = /^[-+]0x[0-9a-f]+$/i, Gd = /^0b[01]+$/i, Xd = /^0o[0-7]+$/i, Qd = parseInt;
6908
6912
  function Zd(e) {
6909
6913
  if (typeof e == "number")
6910
6914
  return e;
@@ -6930,43 +6934,43 @@ function sm(e, t, n) {
6930
6934
  var D = r, se = a;
6931
6935
  return r = a = void 0, u = L, s = e.apply(se, D), s;
6932
6936
  }
6933
- function d(L) {
6937
+ function m(L) {
6934
6938
  return u = L, i = setTimeout(g, t), c ? b(L) : s;
6935
6939
  }
6936
- function m(L) {
6940
+ function d(L) {
6937
6941
  var D = L - l, se = L - u, X = t - D;
6938
6942
  return f ? am(X, o - se) : X;
6939
6943
  }
6940
- function v(L) {
6944
+ function h(L) {
6941
6945
  var D = L - l, se = L - u;
6942
6946
  return l === void 0 || D >= t || D < 0 || f && se >= o;
6943
6947
  }
6944
6948
  function g() {
6945
6949
  var L = vn();
6946
- if (v(L))
6950
+ if (h(L))
6947
6951
  return w(L);
6948
- i = setTimeout(g, m(L));
6952
+ i = setTimeout(g, d(L));
6949
6953
  }
6950
6954
  function w(L) {
6951
6955
  return i = void 0, p && r ? b(L) : (r = a = void 0, s);
6952
6956
  }
6953
- function N() {
6957
+ function P() {
6954
6958
  i !== void 0 && clearTimeout(i), u = 0, r = l = a = i = void 0;
6955
6959
  }
6956
6960
  function W() {
6957
6961
  return i === void 0 ? s : w(vn());
6958
6962
  }
6959
- function H() {
6960
- var L = vn(), D = v(L);
6963
+ function V() {
6964
+ var L = vn(), D = h(L);
6961
6965
  if (r = arguments, a = this, l = L, D) {
6962
6966
  if (i === void 0)
6963
- return d(l);
6967
+ return m(l);
6964
6968
  if (f)
6965
6969
  return clearTimeout(i), i = setTimeout(g, t), b(l);
6966
6970
  }
6967
6971
  return i === void 0 && (i = setTimeout(g, t)), s;
6968
6972
  }
6969
- return H.cancel = N, H.flush = W, H;
6973
+ return V.cancel = P, V.flush = W, V;
6970
6974
  }
6971
6975
  var om = sm;
6972
6976
  const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
@@ -6987,7 +6991,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
6987
6991
  },
6988
6992
  { immediate: !0 }
6989
6993
  );
6990
- const s = J(null), i = V(() => {
6994
+ const s = J(null), i = H(() => {
6991
6995
  var u;
6992
6996
  return (((u = r.default) == null ? void 0 : u.call(r)) || []).map((c) => {
6993
6997
  var f;
@@ -7000,8 +7004,8 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7000
7004
  }));
7001
7005
  });
7002
7006
  });
7003
- return (l, u) => (h(), S("div", lm, [
7004
- e.name ? (h(!0), S(ee, { key: 0 }, de(i.value, (c, f) => (h(), re(St(c), { key: f }))), 128)) : B("", !0)
7007
+ return (l, u) => (v(), S("div", lm, [
7008
+ e.name ? (v(!0), S(ee, { key: 0 }, de(i.value, (c, f) => (v(), re(St(c), { key: f }))), 128)) : B("", !0)
7005
7009
  ]));
7006
7010
  }
7007
7011
  }, cm = { class: "s-filtergroup" }, fm = {
@@ -7039,7 +7043,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7039
7043
  setup(e) {
7040
7044
  const t = e, n = Oe(e, "modelValue");
7041
7045
  Te("sFilterGroup-model", n), Te("sFilterGroup-updateValue", (i, l) => {
7042
- n.value[i] = l, t.bindToQuery && o(n.value);
7046
+ t.ignoreQueryValues.includes(l) ? delete n.value[i] : n.value[i] = l, t.bindToQuery && o(n.value);
7043
7047
  });
7044
7048
  const a = () => {
7045
7049
  const i = {};
@@ -7055,7 +7059,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7055
7059
  }, s = () => {
7056
7060
  t.bindToQuery && (n.value = a());
7057
7061
  };
7058
- return da(() => s()), wt(() => window.addEventListener("popstate", s)), fa(() => window.removeEventListener("popstate", s)), (i, l) => (h(), S("div", cm, [
7062
+ return da(() => s()), wt(() => window.addEventListener("popstate", s)), fa(() => window.removeEventListener("popstate", s)), (i, l) => (v(), S("div", cm, [
7059
7063
  I(i.$slots, "default")
7060
7064
  ]));
7061
7065
  }
@@ -7082,26 +7086,26 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7082
7086
  }
7083
7087
  },
7084
7088
  setup(e) {
7085
- const t = e, n = V(() => t.data ? t.data instanceof Array ? t.data.length === 0 : Object.values(t.data).length === 0 : !1);
7086
- return (r, a) => (h(), S("div", {
7089
+ const t = e, n = H(() => t.data ? t.data instanceof Array ? t.data.length === 0 : Object.values(t.data).length === 0 : !1);
7090
+ return (r, a) => (v(), S("div", {
7087
7091
  class: z(["s-table", { hoverable: e.hoverable, striped: e.striped, bordered: e.bordered, scrollon_top: t.scroll === "top" }])
7088
7092
  }, [
7089
7093
  E("table", null, [
7090
- r.$slots.header || r.$slots.headers ? (h(), S("thead", dm, [
7091
- r.$slots.header ? (h(), S("tr", mm, [
7094
+ r.$slots.header || r.$slots.headers ? (v(), S("thead", dm, [
7095
+ r.$slots.header ? (v(), S("tr", mm, [
7092
7096
  I(r.$slots, "header")
7093
7097
  ])) : r.$slots.headers ? I(r.$slots, "headers", { key: 1 }) : B("", !0)
7094
7098
  ], 512)) : B("", !0),
7095
7099
  E("tbody", null, [
7096
- r.$slots.row ? (h(), S(ee, { key: 0 }, [
7097
- n.value ? (h(), S("tr", pm, [
7100
+ r.$slots.row ? (v(), S(ee, { key: 0 }, [
7101
+ n.value ? (v(), S("tr", pm, [
7098
7102
  E("td", hm, [
7099
7103
  I(r.$slots, "nodata", {}, () => [
7100
7104
  le(G(e.nodata), 1)
7101
7105
  ])
7102
7106
  ])
7103
7107
  ])) : B("", !0),
7104
- (h(!0), S(ee, null, de(e.data, (o, s) => (h(), S("tr", {
7108
+ (v(!0), S(ee, null, de(e.data, (o, s) => (v(), S("tr", {
7105
7109
  key: `${s}-stable`
7106
7110
  }, [
7107
7111
  I(r.$slots, "row", {
@@ -7111,8 +7115,8 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7111
7115
  ]))), 128))
7112
7116
  ], 64)) : I(r.$slots, "default", { key: 1 })
7113
7117
  ]),
7114
- r.$slots.footer || r.$slots.footers ? (h(), S("tfoot", vm, [
7115
- r.$slots.footer ? (h(), S("tr", gm, [
7118
+ r.$slots.footer || r.$slots.footers ? (v(), S("tfoot", vm, [
7119
+ r.$slots.footer ? (v(), S("tr", gm, [
7116
7120
  I(r.$slots, "footer")
7117
7121
  ])) : B("", !0),
7118
7122
  r.$slots.footers ? I(r.$slots, "footers", { key: 1 }) : B("", !0)
@@ -7123,10 +7127,10 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7123
7127
  }, bm = {
7124
7128
  key: 0,
7125
7129
  class: "s-pagination-links"
7126
- }, Sm = ["innerHTML"], wm = { class: "s-pagination-options" }, km = {
7130
+ }, Sm = ["innerHTML"], wm = { class: "s-pagination-options" }, xm = {
7127
7131
  key: 0,
7128
7132
  class: "s-options-pagination-perPage"
7129
- }, xm = {
7133
+ }, km = {
7130
7134
  key: 1,
7131
7135
  class: "s-options-pagination-shown-counter"
7132
7136
  }, $m = { class: "s-pagination-options-shown-counter-range" }, Am = {
@@ -7135,7 +7139,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7135
7139
  url: {
7136
7140
  type: String,
7137
7141
  default() {
7138
- return location.pathname;
7142
+ return typeof location != "undefined" ? location.pathname : "/";
7139
7143
  }
7140
7144
  },
7141
7145
  links: Object,
@@ -7164,19 +7168,19 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7164
7168
  const a = t.perPageOptions ? Object.entries(t.perPageOptions).reduce((o, [s, i]) => (o[parseInt(i)] = `По ${i}`, o), {}) : null;
7165
7169
  return (o, s) => {
7166
7170
  const i = yt("Link");
7167
- return h(), S("div", {
7171
+ return v(), S("div", {
7168
7172
  class: z(["s-pagination", { "s-pagination-right": e.links.length <= 3 }])
7169
7173
  }, [
7170
- e.links.length > 3 ? (h(), S("div", bm, [
7171
- (h(!0), S(ee, null, de(e.links, (l, u) => (h(), S(ee, { key: u }, [
7172
- l.url && !l.active ? (h(), re(i, {
7174
+ e.links.length > 3 ? (v(), S("div", bm, [
7175
+ (v(!0), S(ee, null, de(e.links, (l, u) => (v(), S(ee, { key: u }, [
7176
+ l.url && !l.active ? (v(), re(i, {
7173
7177
  key: 0,
7174
7178
  class: z({ active: l.active }),
7175
7179
  innerHTML: l.label,
7176
7180
  href: l.url ? l.url.replace(/[\?\&]page\=1$/, "") : "",
7177
7181
  "preserve-scroll": e.preserveScroll,
7178
7182
  "preserve-state": e.preserveState
7179
- }, null, 8, ["class", "innerHTML", "href", "preserve-scroll", "preserve-state"])) : (h(), S("span", {
7183
+ }, null, 8, ["class", "innerHTML", "href", "preserve-scroll", "preserve-state"])) : (v(), S("span", {
7180
7184
  key: 1,
7181
7185
  class: z({ active: l.active }),
7182
7186
  innerHTML: l.label
@@ -7184,7 +7188,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7184
7188
  ], 64))), 128))
7185
7189
  ])) : B("", !0),
7186
7190
  E("div", wm, [
7187
- e.perPageOptions ? (h(), S("div", km, [
7191
+ e.perPageOptions ? (v(), S("div", xm, [
7188
7192
  Z(bs, {
7189
7193
  modelValue: n.value,
7190
7194
  "onUpdate:modelValue": s[0] || (s[0] = (l) => n.value = l),
@@ -7192,7 +7196,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7192
7196
  onChange: r
7193
7197
  }, null, 8, ["modelValue", "options"])
7194
7198
  ])) : B("", !0),
7195
- e.from && e.to && e.total ? (h(), S("div", xm, [
7199
+ e.from && e.to && e.total ? (v(), S("div", km, [
7196
7200
  s[1] || (s[1] = le(" Показаны: ", -1)),
7197
7201
  E("span", $m, G(e.from) + " - " + G(e.to), 1),
7198
7202
  le(" из " + G(e.total), 1)
@@ -7230,48 +7234,48 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7230
7234
  const n = e, r = t, a = Oe(e, "modelValue");
7231
7235
  let o = we("sharedExpandedKeys", null);
7232
7236
  if (o === null) {
7233
- const m = n.storeExpandedKeysTo ? JSON.parse(localStorage.getItem(n.storeExpandedKeysTo)) : null;
7234
- o = J(m != null ? m : [...n.expandedKeys]), Te("sharedExpandedKeys", o);
7237
+ const d = n.storeExpandedKeysTo ? JSON.parse(localStorage.getItem(n.storeExpandedKeysTo)) : null;
7238
+ o = J(d != null ? d : [...n.expandedKeys]), Te("sharedExpandedKeys", o);
7235
7239
  }
7236
- Ae(o, (m) => {
7237
- n.storeExpandedKeysTo && localStorage.setItem(n.storeExpandedKeysTo, JSON.stringify(m));
7240
+ Ae(o, (d) => {
7241
+ n.storeExpandedKeysTo && localStorage.setItem(n.storeExpandedKeysTo, JSON.stringify(d));
7238
7242
  }, { deep: !0 });
7239
7243
  const s = we("sharedDropTarget", J(null));
7240
7244
  s.value || Te("sharedDropTarget", s);
7241
7245
  const i = we("draggingNode", J(null));
7242
7246
  i.value || Te("draggingNode", i);
7243
- function l(m) {
7244
- n.selectable && a.value !== m.id ? (a.value = m.id, r("change", m)) : u(m);
7247
+ function l(d) {
7248
+ n.selectable && a.value !== d.id ? (a.value = d.id, r("change", d)) : u(d);
7245
7249
  }
7246
- function u(m) {
7247
- if (o.value.includes(m.id)) {
7248
- const v = d(m);
7249
- o.value = o.value.filter((g) => !v.includes(g) && g !== m.id);
7250
+ function u(d) {
7251
+ if (o.value.includes(d.id)) {
7252
+ const h = m(d);
7253
+ o.value = o.value.filter((g) => !h.includes(g) && g !== d.id);
7250
7254
  } else
7251
- o.value.push(m.id);
7255
+ o.value.push(d.id);
7252
7256
  }
7253
- function c(m, v) {
7254
- i.value = m, o.value = o.value.filter((g) => g !== m.id), r("dragstart", m, v);
7257
+ function c(d, h) {
7258
+ i.value = d, o.value = o.value.filter((g) => g !== d.id), r("dragstart", d, h);
7255
7259
  }
7256
- function f(m, v) {
7257
- var N;
7258
- if (((N = i.value) == null ? void 0 : N.id) === m.id) {
7260
+ function f(d, h) {
7261
+ var P;
7262
+ if (((P = i.value) == null ? void 0 : P.id) === d.id) {
7259
7263
  s.value = null;
7260
7264
  return;
7261
7265
  }
7262
- const g = v.currentTarget.getBoundingClientRect(), w = v.clientY - g.top;
7263
- w >= g.height * 0.35 && w <= g.height * 0.65 ? s.value = { id: m.id, position: "center", relation: "inner" } : w < g.height * 0.35 ? s.value = { id: m.id, position: "top", relation: "before" } : s.value = { id: m.id, position: "bottom", relation: "after" };
7266
+ const g = h.currentTarget.getBoundingClientRect(), w = h.clientY - g.top;
7267
+ w >= g.height * 0.35 && w <= g.height * 0.65 ? s.value = { id: d.id, position: "center", relation: "inner" } : w < g.height * 0.35 ? s.value = { id: d.id, position: "top", relation: "before" } : s.value = { id: d.id, position: "bottom", relation: "after" };
7264
7268
  }
7265
- function p(m) {
7266
- const v = m.currentTarget.getBoundingClientRect();
7267
- if (m.clientY < v.top) {
7269
+ function p(d) {
7270
+ const h = d.currentTarget.getBoundingClientRect();
7271
+ if (d.clientY < h.top) {
7268
7272
  if (n.data.length > 0) {
7269
7273
  const g = n.data[0];
7270
7274
  s.value = { id: g.id, relation: "before" };
7271
7275
  }
7272
7276
  return;
7273
7277
  }
7274
- if (m.clientY > v.bottom) {
7278
+ if (d.clientY > h.bottom) {
7275
7279
  if (n.data.length > 0) {
7276
7280
  const g = n.data[n.data.length - 1];
7277
7281
  s.value = { id: g.id, relation: "after" };
@@ -7280,37 +7284,37 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7280
7284
  }
7281
7285
  s.value = null;
7282
7286
  }
7283
- function b(m, v) {
7287
+ function b(d, h) {
7284
7288
  var w;
7285
- if (i.value.id === m.id)
7289
+ if (i.value.id === d.id)
7286
7290
  return;
7287
7291
  const g = (w = s.value) == null ? void 0 : w.relation;
7288
- r("drop", m, v, g), i.value = null, s.value = null;
7292
+ r("drop", d, h, g), i.value = null, s.value = null;
7289
7293
  }
7290
- function d(m) {
7291
- let v = [];
7292
- if (m.children)
7293
- for (let g of m.children)
7294
- v = v.concat(d(g));
7295
- return v;
7294
+ function m(d) {
7295
+ let h = [];
7296
+ if (d.children)
7297
+ for (let g of d.children)
7298
+ h = h.concat(m(g));
7299
+ return h;
7296
7300
  }
7297
- return (m, v) => {
7301
+ return (d, h) => {
7298
7302
  const g = yt("STree", !0);
7299
- return h(), S("div", {
7303
+ return v(), S("div", {
7300
7304
  class: "s-tree",
7301
7305
  onDragleave: p
7302
7306
  }, [
7303
- (h(!0), S(ee, null, de(e.data, (w) => {
7304
- var N, W, H, L, D, se;
7305
- return h(), S(ee, {
7307
+ (v(!0), S(ee, null, de(e.data, (w) => {
7308
+ var P, W, V, L, D, se;
7309
+ return v(), S(ee, {
7306
7310
  key: w.id
7307
7311
  }, [
7308
7312
  E("div", {
7309
7313
  class: z(["s-tree-cell", {
7310
7314
  selected: a.value === w.id,
7311
7315
  expanded: R(o).includes(w.id),
7312
- dropTarget: ((N = R(s)) == null ? void 0 : N.id) === w.id && ((W = R(s)) == null ? void 0 : W.position) === "center",
7313
- dropTargetTop: ((H = R(s)) == null ? void 0 : H.id) === w.id && ((L = R(s)) == null ? void 0 : L.position) === "top",
7316
+ dropTarget: ((P = R(s)) == null ? void 0 : P.id) === w.id && ((W = R(s)) == null ? void 0 : W.position) === "center",
7317
+ dropTargetTop: ((V = R(s)) == null ? void 0 : V.id) === w.id && ((L = R(s)) == null ? void 0 : L.position) === "top",
7314
7318
  dropTargetBottom: ((D = R(s)) == null ? void 0 : D.id) === w.id && ((se = R(s)) == null ? void 0 : se.position) === "bottom"
7315
7319
  }]),
7316
7320
  onClick: $e((X) => l(w), ["stop"]),
@@ -7319,34 +7323,34 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7319
7323
  onDragover: $e((X) => f(w, X), ["prevent"]),
7320
7324
  onDrop: (X) => b(w, X)
7321
7325
  }, [
7322
- w.children && w.children.length ? (h(), re(R(ne), {
7326
+ w.children && w.children.length ? (v(), re(R(ne), {
7323
7327
  key: 0,
7324
7328
  class: "s-tree-toggle",
7325
7329
  icon: "caret-right",
7326
7330
  onClick: $e((X) => u(w), ["stop"])
7327
7331
  }, null, 8, ["onClick"])) : B("", !0),
7328
- m.$slots.node ? I(m.$slots, "node", {
7332
+ d.$slots.node ? I(d.$slots, "node", {
7329
7333
  key: 1,
7330
7334
  node: w
7331
- }) : (h(), S(ee, { key: 2 }, [
7335
+ }) : (v(), S(ee, { key: 2 }, [
7332
7336
  le(G(w.label), 1)
7333
7337
  ], 64))
7334
7338
  ], 42, Om),
7335
- w.children && R(o).includes(w.id) ? (h(), re(g, {
7339
+ w.children && R(o).includes(w.id) ? (v(), re(g, {
7336
7340
  key: 0,
7337
7341
  modelValue: a.value,
7338
- "onUpdate:modelValue": v[0] || (v[0] = (X) => a.value = X),
7342
+ "onUpdate:modelValue": h[0] || (h[0] = (X) => a.value = X),
7339
7343
  draggable: e.draggable,
7340
7344
  data: w.children,
7341
7345
  onDragstart: (X, C) => r("dragstart", X, C),
7342
- onDrop: v[1] || (v[1] = (X, C, A) => r("drop", X, C, A)),
7346
+ onDrop: h[1] || (h[1] = (X, C, A) => r("drop", X, C, A)),
7343
7347
  selectable: e.selectable,
7344
7348
  onChange: (X) => r("change", X)
7345
7349
  }, to({ _: 2 }, [
7346
- m.$slots.node ? {
7350
+ d.$slots.node ? {
7347
7351
  name: "node",
7348
- fn: ke(({ node: X }) => [
7349
- I(m.$slots, "node", { node: X })
7352
+ fn: xe(({ node: X }) => [
7353
+ I(d.$slots, "node", { node: X })
7350
7354
  ]),
7351
7355
  key: "0"
7352
7356
  } : void 0
@@ -7370,12 +7374,12 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7370
7374
  },
7371
7375
  onCancel: () => {
7372
7376
  }
7373
- }, o = J({}), s = Ce("$dialog"), i = Ce("$header"), { x: l, y: u, style: c } = Hn(s, { handle: i });
7374
- function f(d, m) {
7375
- r.value = d, o.value = { ...a, ...m }, n.value = !0, at(() => {
7377
+ }, o = J({}), s = Ce("$dialog"), i = Ce("$header"), { x: l, y: u, style: c } = Vn(s, { handle: i });
7378
+ function f(m, d) {
7379
+ r.value = m, o.value = { ...a, ...d }, n.value = !0, at(() => {
7376
7380
  var g;
7377
- const v = (g = s.value) == null ? void 0 : g.getBoundingClientRect();
7378
- v && (l.value = window.innerWidth / 2 - v.width / 2, u.value = window.innerHeight / 2 - v.height / 2);
7381
+ const h = (g = s.value) == null ? void 0 : g.getBoundingClientRect();
7382
+ h && (l.value = window.innerWidth / 2 - h.width / 2, u.value = window.innerHeight / 2 - h.height / 2);
7379
7383
  });
7380
7384
  }
7381
7385
  function p() {
@@ -7384,8 +7388,8 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7384
7388
  function b() {
7385
7389
  o.value.onCancel(), o.value = {}, n.value = !1;
7386
7390
  }
7387
- return t({ open: f }), (d, m) => (h(), re(Ge, { to: "body" }, [
7388
- n.value ? (h(), S("div", _m, [
7391
+ return t({ open: f }), (m, d) => (v(), re(Ge, { to: "body" }, [
7392
+ n.value ? (v(), S("div", _m, [
7389
7393
  E("div", {
7390
7394
  class: "s-confirm-dialog",
7391
7395
  style: ge(R(c)),
@@ -7400,7 +7404,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7400
7404
  E("h2", null, G(o.value.title), 1),
7401
7405
  Z(R(ne), {
7402
7406
  icon: "xmark",
7403
- onClick: m[0] || (m[0] = (v) => n.value = !1)
7407
+ onClick: d[0] || (d[0] = (h) => n.value = !1)
7404
7408
  })
7405
7409
  ], 512),
7406
7410
  E("div", Tm, [
@@ -7410,7 +7414,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7410
7414
  outlined: "",
7411
7415
  onClick: b
7412
7416
  }, {
7413
- default: ke(() => [
7417
+ default: xe(() => [
7414
7418
  le(G(o.value.cancelLabel), 1)
7415
7419
  ]),
7416
7420
  _: 1
@@ -7419,7 +7423,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7419
7423
  color: "red",
7420
7424
  onClick: p
7421
7425
  }, {
7422
- default: ke(() => [
7426
+ default: xe(() => [
7423
7427
  le(G(o.value.acceptLabel), 1)
7424
7428
  ]),
7425
7429
  _: 1
@@ -7463,18 +7467,18 @@ const Xs = {
7463
7467
  },
7464
7468
  emits: ["click"],
7465
7469
  setup(e, { emit: t }) {
7466
- const n = e, r = t, a = Un(), o = V(() => n.is ? n.is : a.href ? "a" : "div");
7470
+ const n = e, r = t, a = Un(), o = H(() => n.is ? n.is : a.href ? "a" : "div");
7467
7471
  function s() {
7468
7472
  n.confirm ? Xs.open(n.confirm, {
7469
7473
  title: n.confirmTitle,
7470
7474
  onAccept: () => r("click")
7471
7475
  }) : r("click");
7472
7476
  }
7473
- return (i, l) => (h(), re(St(o.value), {
7477
+ return (i, l) => (v(), re(St(o.value), {
7474
7478
  class: z(["s-actionicon", { danger: e.danger }]),
7475
7479
  onClick: s
7476
7480
  }, {
7477
- default: ke(() => [
7481
+ default: xe(() => [
7478
7482
  Z(R(ne), { icon: e.icon }, null, 8, ["icon"])
7479
7483
  ]),
7480
7484
  _: 1
@@ -7530,10 +7534,10 @@ const Xs = {
7530
7534
  o.value = b[t.at](), s.value = t.at;
7531
7535
  return;
7532
7536
  }
7533
- const d = window.innerWidth - f.right > p.width / 2 && f.left > p.width / 2;
7534
- window.innerHeight - f.top > p.height + 10 && d ? (o.value = b.bottom(), s.value = "bottom") : f.top > p.height + 10 && d ? (o.value = b.top(), s.value = "top") : window.innerWidth - f.right > p.width + 10 ? (o.value = b.right(), s.value = "right") : f.left > p.width + 10 ? (o.value = b.left(), s.value = "left") : (o.value = b.bottom(), s.value = "bottom");
7537
+ const m = window.innerWidth - f.right > p.width / 2 && f.left > p.width / 2;
7538
+ window.innerHeight - f.top > p.height + 10 && m ? (o.value = b.bottom(), s.value = "bottom") : f.top > p.height + 10 && m ? (o.value = b.top(), s.value = "top") : window.innerWidth - f.right > p.width + 10 ? (o.value = b.right(), s.value = "right") : f.left > p.width + 10 ? (o.value = b.left(), s.value = "left") : (o.value = b.bottom(), s.value = "bottom");
7535
7539
  }
7536
- return (f, p) => (h(), S("div", Rm, [
7540
+ return (f, p) => (v(), S("div", Rm, [
7537
7541
  E("div", {
7538
7542
  ref_key: "$icon",
7539
7543
  ref: a,
@@ -7548,7 +7552,7 @@ const Xs = {
7548
7552
  ]),
7549
7553
  p[0] || (p[0] = E("div", { class: "s-tooltip-hoverarea" }, null, -1))
7550
7554
  ], 544),
7551
- n.value ? (h(), re(Ge, {
7555
+ n.value ? (v(), re(Ge, {
7552
7556
  key: 0,
7553
7557
  to: "body"
7554
7558
  }, [
@@ -7581,14 +7585,14 @@ const Xs = {
7581
7585
  error: Boolean
7582
7586
  },
7583
7587
  setup(e) {
7584
- return (t, n) => (h(), S("div", {
7588
+ return (t, n) => (v(), S("div", {
7585
7589
  class: z(["s-note", { gray: e.gray, attention: e.attention, success: e.success, error: e.error, has_icon: e.icon }])
7586
7590
  }, [
7587
- e.icon ? (h(), re(R(ne), {
7591
+ e.icon ? (v(), re(R(ne), {
7588
7592
  key: 0,
7589
7593
  icon: e.icon
7590
7594
  }, null, 8, ["icon"])) : B("", !0),
7591
- e.title ? (h(), S("div", jm, G(e.title), 1)) : B("", !0),
7595
+ e.title ? (v(), S("div", jm, G(e.title), 1)) : B("", !0),
7592
7596
  E("div", Dm, [
7593
7597
  I(t.$slots, "default")
7594
7598
  ])
@@ -7623,7 +7627,7 @@ const Xs = {
7623
7627
  t.opened && o && (o.value = r);
7624
7628
  }), o && Ae(o, (l, u) => {
7625
7629
  a.value = l === r && l !== u;
7626
- }), (l, u) => (h(), S("div", {
7630
+ }), (l, u) => (v(), S("div", {
7627
7631
  class: z(["s-toggle", [{ opened: a.value }, e.color]])
7628
7632
  }, [
7629
7633
  E("div", {
@@ -7642,18 +7646,18 @@ const Xs = {
7642
7646
  ])
7643
7647
  ], 2));
7644
7648
  }
7645
- }), zm = { class: "s-togglegroup" }, Hm = {
7649
+ }), zm = { class: "s-togglegroup" }, Vm = {
7646
7650
  __name: "SToggleGroup",
7647
7651
  props: {
7648
7652
  multiple: Boolean
7649
7653
  },
7650
7654
  setup(e) {
7651
- const t = e, n = J(null), r = V(() => t.multiple);
7652
- return Te("openedItem", n), Te("isMultiple", r), (a, o) => (h(), S("div", zm, [
7655
+ const t = e, n = J(null), r = H(() => t.multiple);
7656
+ return Te("openedItem", n), Te("isMultiple", r), (a, o) => (v(), S("div", zm, [
7653
7657
  I(a.$slots, "default")
7654
7658
  ]));
7655
7659
  }
7656
- }, Vm = { class: "s-dialog" }, Wm = { class: "s-dialog-window-body" }, Ym = {
7660
+ }, Hm = { class: "s-dialog" }, Wm = { class: "s-dialog-window-body" }, Ym = {
7657
7661
  __name: "SDialog",
7658
7662
  props: /* @__PURE__ */ ie({
7659
7663
  title: String,
@@ -7665,16 +7669,16 @@ const Xs = {
7665
7669
  }),
7666
7670
  emits: /* @__PURE__ */ ie(["overlay-click", "hide"], ["update:modelValue"]),
7667
7671
  setup(e, { emit: t }) {
7668
- const n = e, r = t, a = Oe(e, "modelValue"), o = Ce("$window"), s = Ce("$header"), { x: i, y: l, style: u } = Hn(o, { handle: s });
7672
+ const n = e, r = t, a = Oe(e, "modelValue"), o = Ce("$window"), s = Ce("$header"), { x: i, y: l, style: u } = Vn(o, { handle: s });
7669
7673
  pa(o, () => {
7670
7674
  c();
7671
7675
  });
7672
7676
  const c = () => {
7673
- var m;
7674
- const d = (m = o.value) == null ? void 0 : m.getBoundingClientRect();
7675
- d && (i.value = document.documentElement.clientWidth / 2 - d.width / 2, l.value = document.documentElement.clientHeight / 2 - d.height / 2);
7676
- }, f = function(d) {
7677
- if (!d) {
7677
+ var d;
7678
+ const m = (d = o.value) == null ? void 0 : d.getBoundingClientRect();
7679
+ m && (i.value = document.documentElement.clientWidth / 2 - m.width / 2, l.value = document.documentElement.clientHeight / 2 - m.height / 2);
7680
+ }, f = function(m) {
7681
+ if (!m) {
7678
7682
  window.removeEventListener("resize", c);
7679
7683
  return;
7680
7684
  }
@@ -7689,12 +7693,12 @@ const Xs = {
7689
7693
  function b() {
7690
7694
  a.value = !1, r("hide");
7691
7695
  }
7692
- return (d, m) => (h(), S("template", null, [
7693
- a.value ? (h(), re(Ge, {
7696
+ return (m, d) => (v(), S("template", null, [
7697
+ a.value ? (v(), re(Ge, {
7694
7698
  key: 0,
7695
7699
  to: "body"
7696
7700
  }, [
7697
- E("div", Vm, [
7701
+ E("div", Hm, [
7698
7702
  E("div", {
7699
7703
  ref_key: "$window",
7700
7704
  ref: o,
@@ -7713,10 +7717,10 @@ const Xs = {
7713
7717
  })
7714
7718
  ], 512),
7715
7719
  E("div", Wm, [
7716
- I(d.$slots, "default")
7720
+ I(m.$slots, "default")
7717
7721
  ])
7718
7722
  ], 4),
7719
- e.notModal ? B("", !0) : (h(), S("div", {
7723
+ e.notModal ? B("", !0) : (v(), S("div", {
7720
7724
  key: 0,
7721
7725
  class: "s-dialog-background",
7722
7726
  onClick: p
@@ -7741,7 +7745,7 @@ const Xs = {
7741
7745
  const { height: f } = c[0].contentRect;
7742
7746
  a.value = f;
7743
7747
  });
7744
- const { x: o, y: s, style: i } = Hn(r, {
7748
+ const { x: o, y: s, style: i } = Vn(r, {
7745
7749
  preventDefault: !0,
7746
7750
  stopPropagation: !0
7747
7751
  }), l = () => {
@@ -7757,7 +7761,7 @@ const Xs = {
7757
7761
  window.addEventListener("resize", l), at(() => {
7758
7762
  l();
7759
7763
  });
7760
- }), (c, f) => (h(), S("div", {
7764
+ }), (c, f) => (v(), S("div", {
7761
7765
  class: "s-imagepreview",
7762
7766
  onClick: f[0] || (f[0] = $e((p) => t.value = !0, ["prevent"]))
7763
7767
  }, [
@@ -7774,7 +7778,7 @@ const Xs = {
7774
7778
  Z(R(ne), { icon: "magnifying-glass-plus" })
7775
7779
  ])
7776
7780
  ]),
7777
- t.value ? (h(), re(Ge, {
7781
+ t.value ? (v(), re(Ge, {
7778
7782
  key: 0,
7779
7783
  to: "body"
7780
7784
  }, [
@@ -7810,10 +7814,10 @@ const Xs = {
7810
7814
  r.value = !1;
7811
7815
  }, (p = f.closeAfter) != null ? p : 3e3);
7812
7816
  };
7813
- return t({ success: (c, f) => s(c, { ...f, type: "success" }), info: (c, f) => s(c, { ...f, type: "info" }), error: (c, f) => s(c, { ...f, type: "error" }), open: s }), (c, f) => (h(), re(Ge, { to: "body" }, [
7817
+ return t({ success: (c, f) => s(c, { ...f, type: "success" }), info: (c, f) => s(c, { ...f, type: "info" }), error: (c, f) => s(c, { ...f, type: "error" }), open: s }), (c, f) => (v(), re(Ge, { to: "body" }, [
7814
7818
  Z(no, { name: "fade" }, {
7815
- default: ke(() => [
7816
- r.value ? (h(), S("div", {
7819
+ default: xe(() => [
7820
+ r.value ? (v(), S("div", {
7817
7821
  key: 0,
7818
7822
  class: z(["s-alert", [a.value]]),
7819
7823
  innerHTML: n.value,
@@ -7847,7 +7851,7 @@ const Zm = {
7847
7851
  color: {}
7848
7852
  },
7849
7853
  setup(e) {
7850
- return (t, n) => (h(), S("div", {
7854
+ return (t, n) => (v(), S("div", {
7851
7855
  class: z(["s-tag", e.color])
7852
7856
  }, [
7853
7857
  I(t.$slots, "default")
@@ -7860,13 +7864,12 @@ const Zm = {
7860
7864
  icon: {}
7861
7865
  },
7862
7866
  setup(e) {
7863
- return (t, n) => (h(), S("div", {
7867
+ return (t, n) => (v(), S("div", {
7864
7868
  class: z(["s-status", e.color])
7865
7869
  }, [
7866
- e.icon ? (h(), re(R(ne), {
7870
+ e.icon ? (v(), re(R(ne), {
7867
7871
  key: 0,
7868
- icon: e.icon,
7869
- class: "mr-2"
7872
+ icon: e.icon
7870
7873
  }, null, 8, ["icon"])) : B("", !0),
7871
7874
  I(t.$slots, "default")
7872
7875
  ], 2));
@@ -7876,7 +7879,7 @@ const Zm = {
7876
7879
  }, {
7877
7880
  __name: "SActionBar",
7878
7881
  setup(e) {
7879
- return (t, n) => (h(), re(Ge, { to: "body" }, [
7882
+ return (t, n) => (v(), re(Ge, { to: "body" }, [
7880
7883
  E("div", np, [
7881
7884
  I(t.$slots, "default")
7882
7885
  ])
@@ -7889,8 +7892,8 @@ const Zm = {
7889
7892
  percentage: Number
7890
7893
  },
7891
7894
  setup(e) {
7892
- const t = e, n = V(() => t.percentage < 5 ? "right" : "left");
7893
- return (r, a) => (h(), S("div", ap, [
7895
+ const t = e, n = H(() => t.percentage < 5 ? "right" : "left");
7896
+ return (r, a) => (v(), S("div", ap, [
7894
7897
  E("div", sp, [
7895
7898
  I(r.$slots, "default")
7896
7899
  ]),
@@ -7927,8 +7930,8 @@ const Zm = {
7927
7930
  },
7928
7931
  setup(e) {
7929
7932
  let t = Kt();
7930
- const { copy: n, copied: r, isSupported: a } = so(), o = V(() => t.default()[0].children);
7931
- return (s, i) => e.layout === "inline" ? (h(), S("div", {
7933
+ const { copy: n, copied: r, isSupported: a } = so(), o = H(() => t.default()[0].children);
7934
+ return (s, i) => e.layout === "inline" ? (v(), S("div", {
7932
7935
  key: 0,
7933
7936
  class: z(["s-copytext layout_inline", { success: R(r) }]),
7934
7937
  title: "Скопировать",
@@ -7940,15 +7943,15 @@ const Zm = {
7940
7943
  E("div", lp, [
7941
7944
  I(s.$slots, "default")
7942
7945
  ]),
7943
- R(a) ? (h(), re(R(ne), {
7946
+ R(a) ? (v(), re(R(ne), {
7944
7947
  key: 0,
7945
7948
  icon: R(r) ? "check" : "copy"
7946
7949
  }, null, 8, ["icon"])) : B("", !0)
7947
- ], 2)) : (h(), S("div", up, [
7950
+ ], 2)) : (v(), S("div", up, [
7948
7951
  E("div", cp, [
7949
7952
  I(s.$slots, "default")
7950
7953
  ]),
7951
- R(a) ? (h(), re(R(ne), {
7954
+ R(a) ? (v(), re(R(ne), {
7952
7955
  key: 0,
7953
7956
  icon: R(r) ? "check" : "copy",
7954
7957
  class: z({ success: R(r) }),
@@ -7974,8 +7977,8 @@ const Zm = {
7974
7977
  function n(r, a) {
7975
7978
  return typeof t.keyBy == "function" ? t.keyBy(r, a) : typeof t.keyBy == "string" && r && t.keyBy in r ? r[t.keyBy] : a;
7976
7979
  }
7977
- return (r, a) => (h(), S("div", dp, [
7978
- (h(!0), S(ee, null, de(e.items, (o, s) => (h(), S("div", {
7980
+ return (r, a) => (v(), S("div", dp, [
7981
+ (v(!0), S(ee, null, de(e.items, (o, s) => (v(), S("div", {
7979
7982
  class: "s-timeline-row",
7980
7983
  key: n(o, s)
7981
7984
  }, [
@@ -7999,7 +8002,7 @@ const Zm = {
7999
8002
  }, {
8000
8003
  __name: "SDashboard",
8001
8004
  setup(e) {
8002
- return (t, n) => (h(), S("div", hp, [
8005
+ return (t, n) => (v(), S("div", hp, [
8003
8006
  I(t.$slots, "default")
8004
8007
  ]));
8005
8008
  }
@@ -8019,17 +8022,17 @@ const Zm = {
8019
8022
  red: Boolean
8020
8023
  },
8021
8024
  setup(e) {
8022
- const t = e, n = V(() => t.maxContentHeight ? "max-height: " + parseInt(t.maxContentHeight) + "px" : "");
8023
- return (r, a) => (h(), S("div", {
8025
+ const t = e, n = H(() => t.maxContentHeight ? "max-height: " + parseInt(t.maxContentHeight) + "px" : "");
8026
+ return (r, a) => (v(), S("div", {
8024
8027
  class: z(["s-dashboard-item", { gray: e.gray, green: e.green, red: e.red }])
8025
8028
  }, [
8026
- e.title || r.$slots.title || r.$slots.extra ? (h(), S("div", gp, [
8029
+ e.title || r.$slots.title || r.$slots.extra ? (v(), S("div", gp, [
8027
8030
  E("div", yp, [
8028
8031
  I(r.$slots, "title", {}, () => [
8029
8032
  le(G(e.title), 1)
8030
8033
  ])
8031
8034
  ]),
8032
- r.$slots.extra ? (h(), S("div", bp, [
8035
+ r.$slots.extra ? (v(), S("div", bp, [
8033
8036
  I(r.$slots, "extra")
8034
8037
  ])) : B("", !0)
8035
8038
  ])) : B("", !0),
@@ -8041,7 +8044,7 @@ const Zm = {
8041
8044
  ], 6)
8042
8045
  ], 2));
8043
8046
  }
8044
- }, wp = { class: "s-stat-title" }, kp = { class: "s-stat-value" }, xp = {
8047
+ }, wp = { class: "s-stat-title" }, xp = { class: "s-stat-value" }, kp = {
8045
8048
  __name: "SStat",
8046
8049
  props: {
8047
8050
  title: String,
@@ -8051,7 +8054,7 @@ const Zm = {
8051
8054
  wide: Boolean
8052
8055
  },
8053
8056
  setup(e) {
8054
- return (t, n) => (h(), S("div", {
8057
+ return (t, n) => (v(), S("div", {
8055
8058
  class: z(["s-stat", { nowrap: e.nowrap, large: e.large, wide: e.wide }])
8056
8059
  }, [
8057
8060
  E("div", wp, [
@@ -8059,7 +8062,7 @@ const Zm = {
8059
8062
  le(G(e.title), 1)
8060
8063
  ])
8061
8064
  ]),
8062
- E("div", kp, [
8065
+ E("div", xp, [
8063
8066
  I(t.$slots, "default", {}, () => [
8064
8067
  le(G(e.value), 1)
8065
8068
  ])
@@ -8090,18 +8093,18 @@ const Zm = {
8090
8093
  },
8091
8094
  setup(e) {
8092
8095
  const t = J(!1);
8093
- return (n, r) => (h(), S("div", $p, [
8094
- n.$slots.header ? (h(), S("header", Ap, [
8096
+ return (n, r) => (v(), S("div", $p, [
8097
+ n.$slots.header ? (v(), S("header", Ap, [
8095
8098
  I(n.$slots, "header")
8096
8099
  ])) : B("", !0),
8097
- n.$slots.subheader ? (h(), S("div", Op, [
8100
+ n.$slots.subheader ? (v(), S("div", Op, [
8098
8101
  I(n.$slots, "subheader")
8099
8102
  ])) : B("", !0),
8100
8103
  I(n.$slots, "default"),
8101
8104
  E("div", Ep, [
8102
8105
  E("section", _p, [
8103
8106
  E("div", Tp, [
8104
- n.$slots.sidebar ? (h(), S("div", {
8107
+ n.$slots.sidebar ? (v(), S("div", {
8105
8108
  key: 0,
8106
8109
  class: z(["s-canvas-subheader-mobile", { opened: t.value }])
8107
8110
  }, [
@@ -8113,11 +8116,11 @@ const Zm = {
8113
8116
  le(" " + G(e.sidebarMobileTitle), 1)
8114
8117
  ])
8115
8118
  ], 2)) : B("", !0),
8116
- n.$slots.sidebar ? (h(), S("aside", {
8119
+ n.$slots.sidebar ? (v(), S("aside", {
8117
8120
  key: 1,
8118
8121
  class: z(["s-canvas-sidebar", { "mobile-opened": t.value }])
8119
8122
  }, [
8120
- e.hasStickySidebar ? (h(), S("div", Cp, [
8123
+ e.hasStickySidebar ? (v(), S("div", Cp, [
8121
8124
  I(n.$slots, "sidebar")
8122
8125
  ])) : I(n.$slots, "sidebar", { key: 1 })
8123
8126
  ], 2)) : B("", !0),
@@ -8134,7 +8137,7 @@ const Zm = {
8134
8137
  }, {
8135
8138
  __name: "SFooter",
8136
8139
  setup(e) {
8137
- return (t, n) => (h(), S("div", Fp, [
8140
+ return (t, n) => (v(), S("div", Fp, [
8138
8141
  I(t.$slots, "default")
8139
8142
  ]));
8140
8143
  }
@@ -8157,35 +8160,35 @@ const Zm = {
8157
8160
  labelLink: String
8158
8161
  },
8159
8162
  setup(e) {
8160
- const t = e, n = V(() => {
8163
+ const t = e, n = H(() => {
8161
8164
  for (let c of t.links)
8162
8165
  if (c.active) return JSON.parse(JSON.stringify(c));
8163
8166
  return null;
8164
- }), r = V(() => {
8167
+ }), r = H(() => {
8165
8168
  var c;
8166
8169
  return (c = t.label) != null ? c : n.value ? n.value.label : t.placeholder;
8167
- }), a = V(() => {
8170
+ }), a = H(() => {
8168
8171
  var c, f;
8169
8172
  return (f = t.labelLink) != null ? f : (c = n.value) == null ? void 0 : c.url;
8170
- }), o = V(() => a.value ? yn : "span"), s = Ce("$container"), i = Ce("$list"), l = J("right"), u = async () => {
8173
+ }), o = H(() => a.value ? yn : "span"), s = Ce("$container"), i = Ce("$list"), l = J("right"), u = async () => {
8171
8174
  await at();
8172
8175
  const c = s.value.getBoundingClientRect().x, f = i.value.getBoundingClientRect().width;
8173
8176
  l.value = f + 10 > c ? "left" : "right";
8174
8177
  };
8175
8178
  return (c, f) => {
8176
8179
  var p;
8177
- return h(), S("div", {
8180
+ return v(), S("div", {
8178
8181
  class: "s-dropdownmenu",
8179
8182
  onPointerenter: u,
8180
8183
  ref_key: "$container",
8181
8184
  ref: s
8182
8185
  }, [
8183
- (h(), re(St(o.value), {
8186
+ (v(), re(St(o.value), {
8184
8187
  class: "s-dropdownmenu-label",
8185
8188
  href: (p = e.labelLink) != null ? p : ""
8186
8189
  }, {
8187
- default: ke(() => [
8188
- c.$slots.label ? I(c.$slots, "label", { key: 0 }) : (h(), S("span", Rp, G(r.value), 1)),
8190
+ default: xe(() => [
8191
+ c.$slots.label ? I(c.$slots, "label", { key: 0 }) : (v(), S("span", Rp, G(r.value), 1)),
8189
8192
  Z(R(ne), { icon: "caret-down" })
8190
8193
  ]),
8191
8194
  _: 3
@@ -8195,12 +8198,12 @@ const Zm = {
8195
8198
  ref_key: "$list",
8196
8199
  ref: i
8197
8200
  }, [
8198
- e.links ? (h(!0), S(ee, { key: 0 }, de(e.links, (b) => (h(), re(R(yn), {
8201
+ e.links ? (v(!0), S(ee, { key: 0 }, de(e.links, (b) => (v(), re(R(yn), {
8199
8202
  key: b.label,
8200
8203
  href: b.url,
8201
8204
  class: z({ active: b.active })
8202
8205
  }, {
8203
- default: ke(() => [
8206
+ default: xe(() => [
8204
8207
  le(G(b.label), 1)
8205
8208
  ]),
8206
8209
  _: 2
@@ -8225,22 +8228,22 @@ const Zm = {
8225
8228
  setup(e) {
8226
8229
  return (t, n) => {
8227
8230
  const r = yt("Link"), a = yt("SHorizontalMenu", !0);
8228
- return h(), S("div", jp, [
8229
- (h(!0), S(ee, null, de(e.links, (o) => (h(), S("div", {
8231
+ return v(), S("div", jp, [
8232
+ (v(!0), S(ee, null, de(e.links, (o) => (v(), S("div", {
8230
8233
  class: z(["s-horizontalmenu-item", [o.className, o.active ? "active" : ""]]),
8231
8234
  key: o.label
8232
8235
  }, [
8233
- o.url ? (h(), re(r, {
8236
+ o.url ? (v(), re(r, {
8234
8237
  key: 0,
8235
8238
  class: "s-horizontalmenu-label",
8236
8239
  href: o.url
8237
8240
  }, {
8238
- default: ke(() => [
8241
+ default: xe(() => [
8239
8242
  le(G(o.label), 1)
8240
8243
  ]),
8241
8244
  _: 2
8242
- }, 1032, ["href"])) : (h(), S("div", Dp, G(o.label), 1)),
8243
- o.children ? (h(), S("div", Lp, [
8245
+ }, 1032, ["href"])) : (v(), S("div", Dp, G(o.label), 1)),
8246
+ o.children ? (v(), S("div", Lp, [
8244
8247
  Z(a, {
8245
8248
  links: o.children
8246
8249
  }, null, 8, ["links"])
@@ -8249,7 +8252,7 @@ const Zm = {
8249
8252
  ]);
8250
8253
  };
8251
8254
  }
8252
- }, Up = { class: "s-verticalmenu" }, zp = ["onClick"], Hp = ["onClick"], Vp = {
8255
+ }, Up = { class: "s-verticalmenu" }, zp = ["onClick"], Vp = ["onClick"], Hp = {
8253
8256
  __name: "SVerticalMenu",
8254
8257
  props: {
8255
8258
  // В формате [{label: '', url: '', active: ''}]
@@ -8270,7 +8273,7 @@ const Zm = {
8270
8273
  u.length && (i = i.concat(u)), (l.active || u.length) && i.push(l.id);
8271
8274
  }
8272
8275
  return i;
8273
- }, r = V(() => [
8276
+ }, r = H(() => [
8274
8277
  ...n(t.links),
8275
8278
  ...t.expandedKeys
8276
8279
  ]), a = t.storeExpandedKeysTo ? oo(t.storeExpandedKeysTo, r.value) : J(r.value), o = function(s) {
@@ -8278,13 +8281,13 @@ const Zm = {
8278
8281
  };
8279
8282
  return (s, i) => {
8280
8283
  const l = yt("SVerticalMenu", !0);
8281
- return h(), S("div", Up, [
8282
- (h(!0), S(ee, null, de(e.links, (u) => (h(), S("div", {
8284
+ return v(), S("div", Up, [
8285
+ (v(!0), S(ee, null, de(e.links, (u) => (v(), S("div", {
8283
8286
  class: z(["s-verticalmenu-item", [u.className, u.active ? "active" : "", u.type ? "type_" + u.type : ""]]),
8284
8287
  key: u.label
8285
8288
  }, [
8286
- u.url ? (h(), S(ee, { key: 0 }, [
8287
- u.children ? (h(), S("div", {
8289
+ u.url ? (v(), S(ee, { key: 0 }, [
8290
+ u.children ? (v(), S("div", {
8288
8291
  key: 0,
8289
8292
  class: z(["s-verticalmenu-toggler", { "is-opened": R(a).includes(u.id) }]),
8290
8293
  onClick: (c) => o(u.id)
@@ -8295,33 +8298,33 @@ const Zm = {
8295
8298
  class: z(["s-verticalmenu-label", { "not-published": u.isPublished !== void 0 && !u.isPublished }]),
8296
8299
  href: u.url
8297
8300
  }, {
8298
- default: ke(() => [
8301
+ default: xe(() => [
8299
8302
  le(G(u.label) + " ", 1),
8300
- u.isPublished !== void 0 && !u.isPublished ? (h(), re(R(ne), {
8303
+ u.isPublished !== void 0 && !u.isPublished ? (v(), re(R(ne), {
8301
8304
  key: 0,
8302
8305
  icon: "eye-slash"
8303
8306
  })) : B("", !0)
8304
8307
  ]),
8305
8308
  _: 2
8306
8309
  }, 1032, ["class", "href"])
8307
- ], 64)) : (h(), S("div", {
8310
+ ], 64)) : (v(), S("div", {
8308
8311
  key: 1,
8309
8312
  class: z(["s-verticalmenu-label", { "not-published": u.isPublished !== void 0 && !u.isPublished }]),
8310
8313
  onClick: (c) => o(u.id)
8311
8314
  }, [
8312
- u.children ? (h(), S("div", {
8315
+ u.children ? (v(), S("div", {
8313
8316
  key: 0,
8314
8317
  class: z(["s-verticalmenu-toggler", { "is-opened": R(a).includes(u.id) }])
8315
8318
  }, [
8316
8319
  Z(R(ne), { icon: "fa-angle-right" })
8317
8320
  ], 2)) : B("", !0),
8318
8321
  le(" " + G(u.label) + " ", 1),
8319
- u.isPublished !== void 0 && !u.isPublished ? (h(), re(R(ne), {
8322
+ u.isPublished !== void 0 && !u.isPublished ? (v(), re(R(ne), {
8320
8323
  key: 1,
8321
8324
  icon: "eye-slash"
8322
8325
  })) : B("", !0)
8323
- ], 10, Hp)),
8324
- u.children ? (h(), S("div", {
8326
+ ], 10, Vp)),
8327
+ u.children ? (v(), S("div", {
8325
8328
  key: 2,
8326
8329
  class: z(["s-verticalmenu-children", { "is-opened": R(a).includes(u.id) }])
8327
8330
  }, [
@@ -8357,7 +8360,7 @@ K.push(Im);
8357
8360
  K.push(Mm);
8358
8361
  K.push(Lm);
8359
8362
  K.push(Um);
8360
- K.push(Hm);
8363
+ K.push(Vm);
8361
8364
  K.push(Ym);
8362
8365
  K.push(Gm);
8363
8366
  K.push(Xs);
@@ -8370,12 +8373,12 @@ K.push(fp);
8370
8373
  K.push(pp);
8371
8374
  K.push(vp);
8372
8375
  K.push(Sp);
8373
- K.push(xp);
8376
+ K.push(kp);
8374
8377
  K.push(Np);
8375
8378
  K.push(Ip);
8376
8379
  K.push(Mp);
8377
8380
  K.push(Bp);
8378
- K.push(Vp);
8381
+ K.push(Hp);
8379
8382
  const vh = {
8380
8383
  install(e) {
8381
8384
  K.forEach((t) => {
@@ -8414,18 +8417,18 @@ export {
8414
8417
  Mn as SRadio,
8415
8418
  Ss as SRadioGroup,
8416
8419
  bs as SSelect,
8417
- xp as SStat,
8420
+ kp as SStat,
8418
8421
  tp as SStatus,
8419
8422
  mc as SSwitch,
8420
8423
  ym as STable,
8421
8424
  ep as STag,
8422
8425
  pp as STimeline,
8423
8426
  Um as SToggle,
8424
- Hm as SToggleGroup,
8427
+ Vm as SToggleGroup,
8425
8428
  Mm as STooltip,
8426
8429
  Em as STree,
8427
8430
  id as SUpload,
8428
- Vp as SVerticalMenu,
8431
+ Hp as SVerticalMenu,
8429
8432
  vh as default
8430
8433
  };
8431
8434
  //# sourceMappingURL=startup-ui.es.js.map