startup-ui 0.6.3 → 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
  };
@@ -346,7 +346,7 @@ function ir(e, t) {
346
346
  }
347
347
  return n;
348
348
  }
349
- function x(e) {
349
+ function $(e) {
350
350
  for (var t = 1; t < arguments.length; t++) {
351
351
  var n = arguments[t] != null ? arguments[t] : {};
352
352
  t % 2 ? ir(Object(n), !0).forEach(function(r) {
@@ -358,10 +358,10 @@ function x(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,35 +1071,35 @@ 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];
1085
1085
  }
1086
1086
  });
1087
1087
  }
1088
- var Ya = x({}, Sa);
1089
- Ya[me] = x(x(x(x({}, {
1088
+ var Ya = $({}, Sa);
1089
+ Ya[me] = $($($($({}, {
1090
1090
  "fa-duotone": "duotone"
1091
1091
  }), Sa[me]), dr.kit), dr["kit-duotone"]);
1092
- var ll = xt(Ya), xn = x({}, ti);
1093
- xn[me] = x(x(x(x({}, {
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 = x({}, Sn);
1097
- $n[me] = x(x({}, $n[me]), ui.kit);
1098
- var Kn = xt($n), An = x({}, Xi);
1099
- An[me] = x(x({}, An[me]), ii.kit);
1100
- xt(An);
1101
- var ul = Po, qa = "fa-layers-text", cl = No, fl = x({}, Qo);
1102
- xt(fl);
1095
+ }), kn[me]), mr.kit), mr["kit-duotone"]);
1096
+ var hr = kt(kn), $n = $({}, Sn);
1097
+ $n[me] = $($({}, $n[me]), ui.kit);
1098
+ var Kn = kt($n), An = $({}, Xi);
1099
+ An[me] = $($({}, An[me]), ii.kit);
1100
+ kt(An);
1101
+ var ul = Po, qa = "fa-layers-text", cl = No, fl = $({}, Qo);
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,
@@ -1133,7 +1133,7 @@ var Ka = {
1133
1133
  showMissingIcons: !0
1134
1134
  };
1135
1135
  pt.familyPrefix && (pt.cssPrefix = pt.familyPrefix);
1136
- var tt = x(x({}, Ka), pt);
1136
+ var tt = $($({}, Ka), pt);
1137
1137
  tt.autoReplaceSvg || (tt.observeMutations = !1);
1138
1138
  var j = {};
1139
1139
  Object.keys(Ka).forEach(function(e) {
@@ -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));
@@ -1861,7 +1861,7 @@ function br(e) {
1861
1861
  }
1862
1862
  function On(e, t) {
1863
1863
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.skipHooks, a = r === void 0 ? !1 : r, o = br(t);
1864
- typeof _e.hooks.addPack == "function" && !a ? _e.hooks.addPack(e, br(t)) : _e.styles[e] = x(x({}, _e.styles[e] || {}), o), e === "fas" && On("fa", t);
1864
+ typeof _e.hooks.addPack == "function" && !a ? _e.hooks.addPack(e, br(t)) : _e.styles[e] = $($({}, _e.styles[e] || {}), o), e === "fas" && On("fa", t);
1865
1865
  }
1866
1866
  var bt = _e.styles, Ol = _e.shims, es = Object.keys(Kn), El = es.reduce(function(e, t) {
1867
1867
  return e[t] = Object.keys(Kn[t]), e;
@@ -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;
@@ -2003,12 +2003,12 @@ function Qt(e) {
2003
2003
  return !wr.includes(b);
2004
2004
  })), i = o.filter(function(b) {
2005
2005
  return a = b, !wa.includes(b);
2006
- }), l = Jt(i, 1), u = l[0], c = u === void 0 ? null : u, f = Nl(o), p = x(x({}, Fl(s)), {}, {
2006
+ }), l = Jt(i, 1), u = l[0], c = u === void 0 ? null : u, f = Nl(o), p = $($({}, Fl(s)), {}, {
2007
2007
  prefix: Xt(c, {
2008
2008
  family: f
2009
2009
  })
2010
2010
  });
2011
- return x(x(x({}, p), jl({
2011
+ return $($($({}, p), jl({
2012
2012
  values: e,
2013
2013
  family: f,
2014
2014
  styles: bt,
@@ -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",
@@ -2061,7 +2061,7 @@ var Dl = /* @__PURE__ */ function() {
2061
2061
  a[o] = arguments[o];
2062
2062
  var s = a.reduce(this._pullDefinitions, {});
2063
2063
  Object.keys(s).forEach(function(i) {
2064
- n.definitions[i] = x(x({}, n.definitions[i] || {}), s[i]), On(i, s[i]);
2064
+ n.definitions[i] = $($({}, n.definitions[i] || {}), s[i]), On(i, s[i]);
2065
2065
  var l = Kn[me][i];
2066
2066
  l && On(l, s[i]), os();
2067
2067
  });
@@ -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
  };
@@ -2218,7 +2218,7 @@ function Wl(e) {
2218
2218
  x: i / l / 2,
2219
2219
  y: 0.5
2220
2220
  };
2221
- a.style = Gt(x(x({}, o), {}, {
2221
+ a.style = Gt($($({}, o), {}, {
2222
2222
  "transform-origin": "".concat(u.x + s.x / 16, "em ").concat(u.y + s.y / 16, "em")
2223
2223
  }));
2224
2224
  }
@@ -2237,7 +2237,7 @@ function Yl(e) {
2237
2237
  },
2238
2238
  children: [{
2239
2239
  tag: "symbol",
2240
- attributes: x(x({}, a), {}, {
2240
+ attributes: $($({}, a), {}, {
2241
2241
  id: s
2242
2242
  }),
2243
2243
  children: r
@@ -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
- attributes: x(x({}, u.attributes), {}, {
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 = x(x({}, 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,
@@ -2274,23 +2274,23 @@ function Zn(e) {
2274
2274
  maskId: l,
2275
2275
  transform: s,
2276
2276
  symbol: i,
2277
- styles: x({}, u.styles)
2278
- }), k = r.found && n.found ? Ue("generateAbstractMask", g) || {
2277
+ styles: $({}, u.styles)
2278
+ }), w = r.found && n.found ? Ue("generateAbstractMask", g) || {
2279
2279
  children: [],
2280
2280
  attributes: {}
2281
2281
  } : Ue("generateAbstractIcon", g) || {
2282
2282
  children: [],
2283
2283
  attributes: {}
2284
- }, N = k.children, W = k.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) {
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 = x(x({}, o.attributes), {}, {
2287
+ function kr(e) {
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
- var u = x({}, o.styles);
2293
- Gn(a) && (u.transform = kl({
2292
+ var u = $({}, o.styles);
2293
+ Gn(a) && (u.transform = xl({
2294
2294
  transform: a,
2295
2295
  width: n,
2296
2296
  height: r
@@ -2305,7 +2305,7 @@ function xr(e) {
2305
2305
  }), f;
2306
2306
  }
2307
2307
  function Kl(e) {
2308
- var t = e.content, n = e.extra, r = x(x({}, n.attributes), {}, {
2308
+ var t = e.content, n = e.extra, r = $($({}, n.attributes), {}, {
2309
2309
  class: n.classes.join(" ")
2310
2310
  }), a = Gt(n.styles);
2311
2311
  a.length > 0 && (r.style = a);
@@ -2371,7 +2371,7 @@ function Cn(e, t) {
2371
2371
  var s = fn[t][e];
2372
2372
  return r(Tn(s));
2373
2373
  }
2374
- Gl(e, t), r(x(x({}, Jl), {}, {
2374
+ Gl(e, t), r($($({}, Jl), {}, {
2375
2375
  icon: j.showMissingIcons && e ? Ue("missingIconAbstract") || {} : {}
2376
2376
  }));
2377
2377
  });
@@ -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 = [];
@@ -2554,7 +2554,7 @@ function _r(e) {
2554
2554
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2555
2555
  styleParser: !0
2556
2556
  }, n = ou(e), r = n.iconName, a = n.prefix, o = n.rest, s = iu(e), i = En("parseNodeAttributes", {}, e), l = t.styleParser ? su(e) : [];
2557
- return x({
2557
+ return $({
2558
2558
  iconName: r,
2559
2559
  prefix: a,
2560
2560
  transform: Ie,
@@ -2633,16 +2633,16 @@ function fu(e) {
2633
2633
  function du(e) {
2634
2634
  return function(t) {
2635
2635
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = (t || {}).icon ? t : _n(t || {}), a = n.mask;
2636
- return a && (a = (a || {}).icon ? a : _n(a || {})), e(r, x(x({}, n), {}, {
2636
+ return a && (a = (a || {}).icon ? a : _n(a || {})), e(r, $($({}, n), {}, {
2637
2637
  mask: a
2638
2638
  }));
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, k = t.iconName, N = t.icon;
2645
- return Zt(x({
2644
+ var g = t.prefix, w = t.iconName, P = t.icon;
2645
+ return Zt($({
2646
2646
  type: "icon"
2647
2647
  }, t), function() {
2648
2648
  return Ke("beforeDOMElementCreation", {
@@ -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,
@@ -2659,13 +2659,13 @@ var mu = function(t) {
2659
2659
  }
2660
2660
  },
2661
2661
  prefix: g,
2662
- iconName: k,
2663
- transform: x(x({}, Ie), a),
2662
+ iconName: w,
2663
+ transform: $($({}, Ie), a),
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,9 +2795,9 @@ 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
- transform: x(x({}, Ie), o),
2800
+ transform: $($({}, Ie), o),
2801
2801
  extra: {
2802
2802
  attributes: u,
2803
2803
  styles: f,
@@ -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,
@@ -2825,7 +2825,7 @@ var mu = function(t) {
2825
2825
  })]);
2826
2826
  };
2827
2827
  }
2828
- }, hs = new RegExp('"', "ug"), Cr = [1105920, 1112319], Pr = x(x(x(x({}, {
2828
+ }, hs = new RegExp('"', "ug"), Cr = [1105920, 1112319], Pr = $($($($({}, {
2829
2829
  FontAwesome: {
2830
2830
  normal: "fas",
2831
2831
  400: "fas"
@@ -2854,28 +2854,28 @@ 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), k = 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) !== k)) {
2868
- e.setAttribute(n, k), s && e.removeChild(s);
2869
- var W = lu(), H = W.extra;
2870
- H.attributes[kn] = t, Cn(g, b).then(function(L) {
2871
- var D = Zn(x(x({}, W), {}, {
2867
+ if (g && !h && (!s || s.getAttribute(Yn) !== b || s.getAttribute(qn) !== w)) {
2868
+ e.setAttribute(n, w), s && e.removeChild(s);
2869
+ var W = lu(), V = W.extra;
2870
+ V.attributes[xn] = t, Cn(g, b).then(function(L) {
2871
+ var D = Zn($($({}, W), {}, {
2872
2872
  icons: {
2873
2873
  main: L,
2874
2874
  mask: ls()
2875
2875
  },
2876
2876
  prefix: b,
2877
- iconName: k,
2878
- extra: H,
2877
+ iconName: w,
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), k = 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
- k(), Nn(), m();
2984
+ w(), Nn(), d();
2985
2985
  }).catch(function() {
2986
- k(), Nn(), v();
2986
+ w(), Nn(), h();
2987
2987
  });
2988
2988
  });
2989
2989
  }
@@ -3103,14 +3103,14 @@ var Ou = {
3103
3103
  };
3104
3104
  return {
3105
3105
  tag: "g",
3106
- attributes: x({}, b.outer),
3106
+ attributes: $({}, b.outer),
3107
3107
  children: [{
3108
3108
  tag: "g",
3109
- attributes: x({}, b.inner),
3109
+ attributes: $({}, b.inner),
3110
3110
  children: [{
3111
3111
  tag: r.icon.tag,
3112
3112
  children: r.icon.children,
3113
- attributes: x(x({}, r.icon.attributes), b.path)
3113
+ attributes: $($({}, r.icon.attributes), b.path)
3114
3114
  }]
3115
3115
  }]
3116
3116
  };
@@ -3146,48 +3146,48 @@ var Cu = {
3146
3146
  transform: l,
3147
3147
  containerWidth: f,
3148
3148
  iconWidth: u
3149
- }), d = {
3149
+ }), m = {
3150
3150
  tag: "rect",
3151
- attributes: x(x({}, dn), {}, {
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
- attributes: x({}, b.inner),
3159
- children: [Mr(x({
3158
+ attributes: $({}, b.inner),
3159
+ children: [Mr($({
3160
3160
  tag: c.tag,
3161
- attributes: x(x({}, c.attributes), b.path)
3162
- }, m))]
3161
+ attributes: $($({}, c.attributes), b.path)
3162
+ }, d))]
3163
3163
  }, g = {
3164
3164
  tag: "g",
3165
- attributes: x({}, b.outer),
3166
- children: [v]
3167
- }, k = "mask-".concat(i || vr()), N = "clip-".concat(i || vr()), W = {
3165
+ attributes: $({}, b.outer),
3166
+ children: [h]
3167
+ }, w = "mask-".concat(i || vr()), P = "clip-".concat(i || vr()), W = {
3168
3168
  tag: "mask",
3169
- attributes: x(x({}, dn), {}, {
3170
- id: k,
3169
+ attributes: $($({}, dn), {}, {
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
- attributes: x({
3187
+ attributes: $({
3188
3188
  fill: "currentColor",
3189
- "clip-path": "url(#".concat(N, ")"),
3190
- mask: "url(#".concat(k, ")")
3189
+ "clip-path": "url(#".concat(P, ")"),
3190
+ mask: "url(#".concat(w, ")")
3191
3191
  }, dn)
3192
3192
  }), {
3193
3193
  children: r,
@@ -3208,15 +3208,15 @@ var Cu = {
3208
3208
  };
3209
3209
  r.push({
3210
3210
  tag: "path",
3211
- attributes: x(x({}, a), {}, {
3211
+ attributes: $($({}, a), {}, {
3212
3212
  d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
3213
3213
  })
3214
3214
  });
3215
- var s = x(x({}, o), {}, {
3215
+ var s = $($({}, o), {}, {
3216
3216
  attributeName: "opacity"
3217
3217
  }), i = {
3218
3218
  tag: "circle",
3219
- attributes: x(x({}, a), {}, {
3219
+ attributes: $($({}, a), {}, {
3220
3220
  cx: "256",
3221
3221
  cy: "364",
3222
3222
  r: "28"
@@ -3225,36 +3225,36 @@ var Cu = {
3225
3225
  };
3226
3226
  return n || i.children.push({
3227
3227
  tag: "animate",
3228
- attributes: x(x({}, o), {}, {
3228
+ attributes: $($({}, o), {}, {
3229
3229
  attributeName: "r",
3230
3230
  values: "28;14;28;28;14;28;"
3231
3231
  })
3232
3232
  }, {
3233
3233
  tag: "animate",
3234
- attributes: x(x({}, s), {}, {
3234
+ attributes: $($({}, s), {}, {
3235
3235
  values: "1;0;1;1;0;1;"
3236
3236
  })
3237
3237
  }), r.push(i), r.push({
3238
3238
  tag: "path",
3239
- attributes: x(x({}, a), {}, {
3239
+ attributes: $($({}, a), {}, {
3240
3240
  opacity: "1",
3241
3241
  d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
3242
3242
  }),
3243
3243
  children: n ? [] : [{
3244
3244
  tag: "animate",
3245
- attributes: x(x({}, s), {}, {
3245
+ attributes: $($({}, s), {}, {
3246
3246
  values: "1;0;0;0;0;1;"
3247
3247
  })
3248
3248
  }]
3249
3249
  }), n || r.push({
3250
3250
  tag: "path",
3251
- attributes: x(x({}, a), {}, {
3251
+ attributes: $($({}, a), {}, {
3252
3252
  opacity: "0",
3253
3253
  d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
3254
3254
  }),
3255
3255
  children: [{
3256
3256
  tag: "animate",
3257
- attributes: x(x({}, s), {}, {
3257
+ attributes: $($({}, s), {}, {
3258
3258
  values: "0;0;1;1;0;0;"
3259
3259
  })
3260
3260
  }]
@@ -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,32 +3410,32 @@ 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, k, N) {
3414
- if (!u(k) || f(k) || p(k) || b(k) || l(k))
3415
- return k;
3416
- var W, H = 0, L = 0;
3417
- if (c(k))
3418
- for (W = [], L = k.length; H < L; H++)
3419
- W.push(n(g, k[H], N));
3413
+ var n = function(g, w, P) {
3414
+ if (!u(w) || f(w) || p(w) || b(w) || l(w))
3415
+ return w;
3416
+ var W, V = 0, L = 0;
3417
+ if (c(w))
3418
+ for (W = [], L = w.length; V < L; V++)
3419
+ W.push(n(g, w[V], P));
3420
3420
  else {
3421
3421
  W = {};
3422
- for (var D in k)
3423
- Object.prototype.hasOwnProperty.call(k, D) && (W[g(D, N)] = n(g, k[D], N));
3422
+ for (var D in w)
3423
+ Object.prototype.hasOwnProperty.call(w, D) && (W[g(D, P)] = n(g, w[D], P));
3424
3424
  }
3425
3425
  return W;
3426
- }, r = function(g, k) {
3427
- k = k || {};
3428
- var N = k.separator || "_", W = k.split || /(?=[A-Z])/;
3429
- return g.split(W).join(N);
3426
+ }, r = function(g, w) {
3427
+ w = w || {};
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(k, 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
- var k = a(g);
3436
- return k.substr(0, 1).toUpperCase() + k.substr(1);
3437
- }, s = function(g, k) {
3438
- return r(g, k).toLowerCase();
3435
+ var w = a(g);
3436
+ return w.substr(0, 1).toUpperCase() + w.substr(1);
3437
+ }, s = function(g, w) {
3438
+ return r(g, w).toLowerCase();
3439
3439
  }, i = Object.prototype.toString, l = function(g) {
3440
3440
  return typeof g == "function";
3441
3441
  }, u = function(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, k) {
3454
- var N = k && "process" in k ? k.process : k;
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
- camelizeKeys: function(g, k) {
3464
- return n(m(a, k), g);
3463
+ camelizeKeys: function(g, w) {
3464
+ return n(d(a, w), g);
3465
3465
  },
3466
- decamelizeKeys: function(g, k) {
3467
- return n(m(s, k), g, k);
3466
+ decamelizeKeys: function(g, w) {
3467
+ return n(d(s, w), g, w);
3468
3468
  },
3469
- pascalizeKeys: function(g, k) {
3470
- return n(m(o, k), g);
3469
+ pascalizeKeys: function(g, w) {
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, A]) => T == a.value);
3826
+ const _ = l.value.find(([T, x]) => T == a.value);
3827
3827
  return _ === void 0 ? n.placeholder : _[1];
3828
3828
  });
3829
- function k(_) {
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), A = d.value.offsetHeight + T, w = document.documentElement.clientHeight - _.bottom;
3851
- return w >= A ? "drop-down" : _.top > A || _.top > w ? "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();
@@ -3878,124 +3878,121 @@ const Xu = ["placeholder"], Qu = {
3878
3878
  function C(_) {
3879
3879
  b.value = !b.value;
3880
3880
  }
3881
- function $() {
3881
+ function A() {
3882
3882
  a.value = null, r("change", null);
3883
3883
  }
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) => {
3892
- var A;
3893
- return h(), S("div", {
3894
- class: z(["s-select", [{ disabled: e.disabled, inline: e.inline }]]),
3895
- ref: "selectRef"
3891
+ }), (_, T) => (v(), S("div", {
3892
+ class: z(["s-select", [{ disabled: e.disabled, inline: e.inline }]]),
3893
+ ref: "selectRef"
3894
+ }, [
3895
+ E("div", {
3896
+ class: z(["s-select-field", { selecting: b.value }]),
3897
+ onClick: C
3896
3898
  }, [
3899
+ e.filterable ? gt((v(), S("input", {
3900
+ key: 0,
3901
+ "onUpdate:modelValue": T[0] || (T[0] = (x) => h.value = x),
3902
+ class: "s-select-field-filter",
3903
+ placeholder: g.value
3904
+ }, null, 8, Xu)), [
3905
+ [ua, h.value]
3906
+ ]) : (v(), S("div", Qu, [
3907
+ _.$slots.value && e.modelValue ? I(_.$slots, "value", {
3908
+ key: 0,
3909
+ value: e.modelValue
3910
+ }) : (v(), S(ee, { key: 1 }, [
3911
+ le(G(g.value), 1)
3912
+ ], 64))
3913
+ ])),
3914
+ e.clearable && a.value ? (v(), S("div", {
3915
+ key: 2,
3916
+ class: "s-select-clear",
3917
+ onClick: $e(A, ["stop", "prevent"])
3918
+ }, [
3919
+ Z(R(ne), { icon: "xmark" })
3920
+ ])) : B("", !0),
3897
3921
  E("div", {
3898
- class: z(["s-select-field", { selecting: b.value }]),
3899
- onClick: C
3922
+ class: z(["s-select-dropdown", { rotated: b.value }])
3923
+ }, [
3924
+ Z(R(ne), {
3925
+ class: "s-select-dropdown-chevron",
3926
+ icon: "chevron-down"
3927
+ })
3928
+ ], 2)
3929
+ ], 2),
3930
+ (v(), re(Ge, { to: "body" }, [
3931
+ E("div", {
3932
+ ref_key: "dropdownRef",
3933
+ ref: m,
3934
+ style: ge(D.value),
3935
+ class: z(["s-select-stylewrapper", R(s).class, b.value ? "open" : "closed"])
3900
3936
  }, [
3901
- e.filterable ? gt((h(), S("input", {
3902
- key: 0,
3903
- "onUpdate:modelValue": T[0] || (T[0] = (w) => v.value = w),
3904
- class: "s-select-field-filter",
3905
- placeholder: g.value
3906
- }, null, 8, Xu)), [
3907
- [ua, v.value]
3908
- ]) : (h(), S("div", Qu, [
3909
- _.$slots.value && e.modelValue ? I(_.$slots, "value", {
3910
- key: 0,
3911
- value: e.modelValue
3912
- }) : (h(), S(ee, { key: 1 }, [
3913
- le(G(g.value), 1)
3914
- ], 64))
3915
- ])),
3916
- e.clearable && a.value ? (h(), S("div", {
3917
- key: 2,
3918
- class: "s-select-clear",
3919
- onClick: $e($, ["stop", "prevent"])
3920
- }, [
3921
- Z(R(ne), { icon: "xmark" })
3922
- ])) : B("", !0),
3923
- E("div", {
3924
- class: z(["s-select-dropdown", { rotated: b.value }])
3925
- }, [
3926
- Z(R(ne), {
3927
- class: "s-select-dropdown-chevron",
3928
- icon: "chevron-down"
3929
- })
3930
- ], 2)
3931
- ], 2),
3932
- (h(), re(Ge, { to: "body" }, [
3933
3937
  E("div", {
3934
- class: z(["s-select-options-wrapper", [(A = R(s).class) != null ? A : ""]])
3938
+ class: z(["s-select-options", d.value]),
3939
+ onScroll: w
3935
3940
  }, [
3936
- E("div", {
3937
- class: z(["s-select-options", [b.value ? "open" : "", m.value]]),
3938
- style: ge(D.value),
3939
- ref_key: "dropdownRef",
3940
- ref: d,
3941
- onScroll: k
3941
+ _.$slots.option ? (v(), S("ul", {
3942
+ key: 0,
3943
+ class: "s-select-options-list",
3944
+ style: ge({ height: f.value })
3942
3945
  }, [
3943
- _.$slots.option ? (h(), S("ul", {
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
+ }, [
3951
+ I(_.$slots, "option", {
3952
+ option: { label: k, value: x }
3953
+ })
3954
+ ], 10, Zu))), 128))
3955
+ ], 4)) : p.value.length ? (v(), S(ee, { key: 1 }, [
3956
+ e.virtual ? (v(), S("div", {
3944
3957
  key: 0,
3945
- class: "s-select-options-list",
3946
- style: ge({ height: f.value })
3958
+ style: ge({ maxHeight: u.value * e.virtualScrollSize - 20 + "px", position: "relative" }),
3959
+ onScroll: w,
3960
+ class: "s-select-scroll-container",
3961
+ ref: "scrollContainer"
3947
3962
  }, [
3948
- (h(!0), S(ee, null, de(p.value, ([w, P]) => (h(), S("li", {
3949
- key: w,
3950
- onClick: $e((O) => H(w), ["stop"]),
3951
- class: z([{ selected: w === a.value || !(w || a.value) }, "s-select-options-item"])
3952
- }, [
3953
- I(_.$slots, "option", {
3954
- option: { label: P, value: w }
3955
- })
3956
- ], 10, Zu))), 128))
3957
- ], 4)) : p.value.length ? (h(), S(ee, { key: 1 }, [
3958
- e.virtual ? (h(), S("div", {
3959
- key: 0,
3960
- style: ge({ maxHeight: u.value * e.virtualScrollSize - 20 + "px", position: "relative" }),
3961
- onScroll: k,
3962
- class: "s-select-scroll-container",
3963
- ref: "scrollContainer"
3963
+ E("div", {
3964
+ style: ge({ height: f.value })
3965
+ }, null, 4),
3966
+ (v(!0), S(ee, null, de(p.value, ([x, k], N) => (v(), S("div", {
3967
+ key: x,
3968
+ style: ge({
3969
+ position: "absolute",
3970
+ top: u.value * (c.value + N) + "px",
3971
+ left: 0,
3972
+ height: u.value + "px"
3973
+ }),
3974
+ class: z(["s-select-options-item", { selected: x == a.value }]),
3975
+ onClick: $e((O) => V(x), ["stop"])
3964
3976
  }, [
3965
- E("div", {
3966
- style: ge({ height: f.value })
3967
- }, null, 4),
3968
- (h(!0), S(ee, null, de(p.value, ([w, P], O) => (h(), S("div", {
3969
- key: w,
3970
- style: ge({
3971
- position: "absolute",
3972
- top: u.value * (c.value + O) + "px",
3973
- left: 0,
3974
- height: u.value + "px"
3975
- }),
3976
- class: z(["s-select-options-item", { selected: w == a.value }]),
3977
- onClick: $e((F) => H(w), ["stop"])
3978
- }, [
3979
- _.$slots.option ? I(_.$slots, "option", {
3980
- key: 0,
3981
- option: _.option
3982
- }) : (h(), S(ee, { key: 1 }, [
3983
- le(G(P), 1)
3984
- ], 64))
3985
- ], 14, ec))), 128))
3986
- ], 36)) : (h(), S("ul", tc, [
3987
- (h(!0), S(ee, null, de(p.value, ([w, P]) => (h(), S("li", {
3988
- key: w,
3989
- onClick: $e((O) => H(w), ["stop"]),
3990
- class: z([{ selected: w === a.value || !(w || a.value) }, "s-select-options-item"])
3991
- }, G(P), 11, nc))), 128))
3992
- ]))
3993
- ], 64)) : (h(), S("div", rc, "Нет данных"))
3994
- ], 38)
3995
- ], 2)
3996
- ]))
3997
- ], 2);
3998
- };
3977
+ _.$slots.option ? I(_.$slots, "option", {
3978
+ key: 0,
3979
+ option: _.option
3980
+ }) : (v(), S(ee, { key: 1 }, [
3981
+ le(G(k), 1)
3982
+ ], 64))
3983
+ ], 14, ec))), 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
+ ]))
3991
+ ], 64)) : (v(), S("div", rc, "Нет данных"))
3992
+ ], 34)
3993
+ ], 6)
3994
+ ]))
3995
+ ], 2));
3999
3996
  }
4000
3997
  }, ac = ["value", "disabled"], sc = { class: "s-checkbox-label" }, oc = {
4001
3998
  __name: "SCheckbox",
@@ -4008,7 +4005,7 @@ const Xu = ["placeholder"], Qu = {
4008
4005
  }),
4009
4006
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
4010
4007
  setup(e, { emit: t }) {
4011
- 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({
4012
4009
  get() {
4013
4010
  var l;
4014
4011
  return a != null && n.value != null ? (l = a.value.includes(n.value)) != null ? l : !1 : r.value;
@@ -4020,7 +4017,7 @@ const Xu = ["placeholder"], Qu = {
4020
4017
  function i() {
4021
4018
  n.disabled || (o.value = !o.value, s("change", o.value));
4022
4019
  }
4023
- return (l, u) => (h(), S("div", {
4020
+ return (l, u) => (v(), S("div", {
4024
4021
  class: z(["s-checkbox", { disabled: e.disabled }]),
4025
4022
  onClick: i
4026
4023
  }, [
@@ -4055,7 +4052,7 @@ const Xu = ["placeholder"], Qu = {
4055
4052
  },
4056
4053
  emits: ["change"],
4057
4054
  setup(e, { emit: t }) {
4058
- const n = e, r = t, a = we("sRadioGroupModel"), o = V({
4055
+ const n = e, r = t, a = we("sRadioGroupModel"), o = H({
4059
4056
  // Значение находится в состоянии «выбрано», если radioGroupModel.value === props.value
4060
4057
  // Или если значение кнопки — пустота и model пустой ('', null или undefined)
4061
4058
  get: () => {
@@ -4066,7 +4063,7 @@ const Xu = ["placeholder"], Qu = {
4066
4063
  n.disabled || (a.value = s);
4067
4064
  }
4068
4065
  });
4069
- return (s, i) => (h(), S("label", {
4066
+ return (s, i) => (v(), S("label", {
4070
4067
  class: z(["s-radio", [e.labelClass, { disabled: e.disabled }]])
4071
4068
  }, [
4072
4069
  gt(E("input", {
@@ -4095,7 +4092,7 @@ const Xu = ["placeholder"], Qu = {
4095
4092
  }),
4096
4093
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
4097
4094
  setup(e, { emit: t }) {
4098
- 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]) => {
4099
4096
  let l = s;
4100
4097
  return s === "true" && (l = !0), s === "false" && (l = !1), !isNaN(s) && s !== "" && (l = Number(s)), { value: l, title: i };
4101
4098
  }));
@@ -4104,25 +4101,25 @@ const Xu = ["placeholder"], Qu = {
4104
4101
  a.value === null && Object.values((s = n.options) != null ? s : {}).length && (a.value = Object.keys(n.options)[0]);
4105
4102
  }), Te("sRadioGroupModel", a), Ae(a, (s) => {
4106
4103
  r("change", s);
4107
- }), (s, i) => (h(), S("div", uc, [
4104
+ }), (s, i) => (v(), S("div", uc, [
4108
4105
  E("div", {
4109
4106
  class: z(["s-radiogroup-container", { buttons: e.buttons, vertical: e.vertical }])
4110
4107
  }, [
4111
- e.placeholder ? (h(), re(Mn, {
4108
+ e.placeholder ? (v(), re(Mn, {
4112
4109
  key: 0,
4113
4110
  value: ""
4114
4111
  }, {
4115
- default: ke(() => [
4112
+ default: xe(() => [
4116
4113
  le(G(e.placeholder), 1)
4117
4114
  ]),
4118
4115
  _: 1
4119
4116
  })) : B("", !0),
4120
4117
  Object.values(s.$slots).length ? I(s.$slots, "default", { key: 1 }) : B("", !0),
4121
- (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, {
4122
4119
  key: l,
4123
4120
  value: l
4124
4121
  }, {
4125
- default: ke(() => [
4122
+ default: xe(() => [
4126
4123
  E("span", { innerHTML: u }, null, 8, cc)
4127
4124
  ]),
4128
4125
  _: 2
@@ -4158,7 +4155,7 @@ const Xu = ["placeholder"], Qu = {
4158
4155
  function r() {
4159
4156
  t.disabled || (n.value = n.value === t.trueValue ? t.falseValue : t.trueValue);
4160
4157
  }
4161
- return (a, o) => (h(), S("div", {
4158
+ return (a, o) => (v(), S("div", {
4162
4159
  class: z(["s-switch", { active: n.value === e.trueValue, disabled: e.disabled }]),
4163
4160
  onClick: r
4164
4161
  }, [
@@ -4183,101 +4180,101 @@ var mt = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
4183
4180
  function ws(e) {
4184
4181
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4185
4182
  }
4186
- var ks = { exports: {} };
4183
+ var xs = { exports: {} };
4187
4184
  (function(e, t) {
4188
4185
  (function(n, r) {
4189
4186
  e.exports = r();
4190
4187
  })(mt, function() {
4191
- 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, k = { 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) {
4192
- var A = ["th", "st", "nd", "rd"], w = T % 100;
4193
- return "[" + T + (A[(w - 20) % 10] || A[w] || A[0]) + "]";
4194
- } }, N = function(T, A, w) {
4195
- var P = String(T);
4196
- return !P || P.length >= A ? T : "" + Array(A + 1 - P.length).join(w) + T;
4197
- }, W = { s: N, z: function(T) {
4198
- var A = -T.utcOffset(), w = Math.abs(A), P = Math.floor(w / 60), O = w % 60;
4199
- return (A <= 0 ? "+" : "-") + N(P, 2, "0") + ":" + N(O, 2, "0");
4200
- }, m: function T(A, w) {
4201
- if (A.date() < w.date()) return -T(w, A);
4202
- var P = 12 * (w.year() - A.year()) + (w.month() - A.month()), O = A.clone().add(P, f), F = w - O < 0, U = A.clone().add(P + (F ? -1 : 1), f);
4203
- return +(-(P + (w - 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);
4204
4201
  }, a: function(T) {
4205
4202
  return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
4206
4203
  }, p: function(T) {
4207
- 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$/, "");
4208
4205
  }, u: function(T) {
4209
4206
  return T === void 0;
4210
- } }, H = "en", L = {};
4211
- L[H] = k;
4207
+ } }, V = "en", L = {};
4208
+ L[V] = w;
4212
4209
  var D = "$isDayjsObject", se = function(T) {
4213
4210
  return T instanceof M || !(!T || !T[D]);
4214
- }, X = function T(A, w, P) {
4211
+ }, X = function T(x, k, N) {
4215
4212
  var O;
4216
- if (!A) return H;
4217
- if (typeof A == "string") {
4218
- var F = A.toLowerCase();
4219
- L[F] && (O = F), w && (L[F] = w, O = F);
4220
- var U = A.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("-");
4221
4218
  if (!O && U.length > 1) return T(U[0]);
4222
4219
  } else {
4223
- var Q = A.name;
4224
- L[Q] = A, O = Q;
4220
+ var Q = x.name;
4221
+ L[Q] = x, O = Q;
4225
4222
  }
4226
- return !P && O && (H = O), O || !P && H;
4227
- }, C = function(T, A) {
4223
+ return !N && O && (V = O), O || !N && V;
4224
+ }, C = function(T, x) {
4228
4225
  if (se(T)) return T.clone();
4229
- var w = typeof A == "object" ? A : {};
4230
- return w.date = T, w.args = arguments, new M(w);
4231
- }, $ = W;
4232
- $.l = X, $.i = se, $.w = function(T, A) {
4233
- return C(T, { locale: A.$L, utc: A.$u, x: A.$x, $offset: A.$offset });
4226
+ var k = typeof x == "object" ? x : {};
4227
+ return k.date = T, k.args = arguments, new M(k);
4228
+ }, A = W;
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 });
4234
4231
  };
4235
4232
  var M = function() {
4236
- function T(w) {
4237
- this.$L = X(w.locale, null, !0), this.parse(w), this.$x = this.$x || w.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;
4238
4235
  }
4239
- var A = T.prototype;
4240
- return A.parse = function(w) {
4241
- this.$d = function(P) {
4242
- 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;
4243
4240
  if (O === null) return /* @__PURE__ */ new Date(NaN);
4244
- if ($.u(O)) return /* @__PURE__ */ new Date();
4241
+ if (A.u(O)) return /* @__PURE__ */ new Date();
4245
4242
  if (O instanceof Date) return new Date(O);
4246
4243
  if (typeof O == "string" && !/Z$/i.test(O)) {
4247
- var U = O.match(v);
4244
+ var U = O.match(h);
4248
4245
  if (U) {
4249
4246
  var Q = U[2] - 1 || 0, te = (U[7] || "0").substring(0, 3);
4250
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);
4251
4248
  }
4252
4249
  }
4253
4250
  return new Date(O);
4254
- }(w), this.init();
4255
- }, A.init = function() {
4256
- var w = this.$d;
4257
- this.$y = w.getFullYear(), this.$M = w.getMonth(), this.$D = w.getDate(), this.$W = w.getDay(), this.$H = w.getHours(), this.$m = w.getMinutes(), this.$s = w.getSeconds(), this.$ms = w.getMilliseconds();
4258
- }, A.$utils = function() {
4259
- return $;
4260
- }, A.isValid = function() {
4261
- return this.$d.toString() !== m;
4262
- }, A.isSame = function(w, P) {
4263
- var O = C(w);
4264
- return this.startOf(P) <= O && O <= this.endOf(P);
4265
- }, A.isAfter = function(w, P) {
4266
- return C(w) < this.startOf(P);
4267
- }, A.isBefore = function(w, P) {
4268
- return this.endOf(P) < C(w);
4269
- }, A.$g = function(w, P, O) {
4270
- return $.u(w) ? this[P] : this.set(O, w);
4271
- }, A.unix = 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
+ return A;
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() {
4272
4269
  return Math.floor(this.valueOf() / 1e3);
4273
- }, A.valueOf = function() {
4270
+ }, x.valueOf = function() {
4274
4271
  return this.$d.getTime();
4275
- }, A.startOf = function(w, P) {
4276
- var O = this, F = !!$.u(P) || P, U = $.p(w), Q = function(He, ye) {
4277
- var De = $.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);
4278
4275
  return F ? De : De.endOf(u);
4279
- }, te = function(He, ye) {
4280
- return $.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);
4281
4278
  }, oe = this.$W, ue = this.$M, ve = this.$D, Xe = "set" + (this.$u ? "UTC" : "");
4282
4279
  switch (U) {
4283
4280
  case b:
@@ -4288,7 +4285,7 @@ var ks = { exports: {} };
4288
4285
  var ze = this.$locale().weekStart || 0, lt = (oe < ze ? oe + 7 : oe) - ze;
4289
4286
  return Q(F ? ve - lt : ve + (6 - lt), ue);
4290
4287
  case u:
4291
- case d:
4288
+ case m:
4292
4289
  return te(Xe + "Hours", 0);
4293
4290
  case l:
4294
4291
  return te(Xe + "Minutes", 1);
@@ -4299,42 +4296,42 @@ var ks = { exports: {} };
4299
4296
  default:
4300
4297
  return this.clone();
4301
4298
  }
4302
- }, A.endOf = function(w) {
4303
- return this.startOf(w, !1);
4304
- }, A.$set = function(w, P) {
4305
- var O, F = $.p(w), 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;
4306
4303
  if (F === f || F === b) {
4307
- var oe = this.clone().set(d, 1);
4308
- 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;
4309
4306
  } else Q && this.$d[Q](te);
4310
4307
  return this.init(), this;
4311
- }, A.set = function(w, P) {
4312
- return this.clone().$set(w, P);
4313
- }, A.get = function(w) {
4314
- return this[$.p(w)]();
4315
- }, A.add = function(w, 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) {
4316
4313
  var O, F = this;
4317
- w = Number(w);
4318
- var U = $.p(P), Q = function(ue) {
4314
+ k = Number(k);
4315
+ var U = A.p(N), Q = function(ue) {
4319
4316
  var ve = C(F);
4320
- return $.w(ve.date(ve.date() + Math.round(ue * w)), F);
4317
+ return A.w(ve.date(ve.date() + Math.round(ue * k)), F);
4321
4318
  };
4322
- if (U === f) return this.set(f, this.$M + w);
4323
- if (U === b) return this.set(b, this.$y + w);
4319
+ if (U === f) return this.set(f, this.$M + k);
4320
+ if (U === b) return this.set(b, this.$y + k);
4324
4321
  if (U === u) return Q(1);
4325
4322
  if (U === c) return Q(7);
4326
- var te = (O = {}, O[i] = r, O[l] = a, O[s] = n, O)[U] || 1, oe = this.$d.getTime() + w * te;
4327
- return $.w(oe, this);
4328
- }, A.subtract = function(w, P) {
4329
- return this.add(-1 * w, P);
4330
- }, A.format = function(w) {
4331
- var P = this, O = this.$locale();
4332
- if (!this.isValid()) return O.invalidDate || m;
4333
- var F = w || "YYYY-MM-DDTHH:mm:ssZ", U = $.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) {
4334
- return ye && (ye[De] || ye(P, F)) || ut[De].slice(0, Tt);
4323
+ var te = (O = {}, O[i] = r, O[l] = a, O[s] = n, O)[U] || 1, oe = this.$d.getTime() + k * te;
4324
+ return A.w(oe, this);
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);
4335
4332
  }, lt = function(ye) {
4336
- return $.s(Q % 12 || 12, ye, "0");
4337
- }, He = Xe || function(ye, De, ut) {
4333
+ return A.s(Q % 12 || 12, ye, "0");
4334
+ }, Ve = Xe || function(ye, De, ut) {
4338
4335
  var Tt = ye < 12 ? "AM" : "PM";
4339
4336
  return ut ? Tt.toLowerCase() : Tt;
4340
4337
  };
@@ -4342,62 +4339,62 @@ var ks = { exports: {} };
4342
4339
  return De || function(ut) {
4343
4340
  switch (ut) {
4344
4341
  case "YY":
4345
- return String(P.$y).slice(-2);
4342
+ return String(N.$y).slice(-2);
4346
4343
  case "YYYY":
4347
- return $.s(P.$y, 4, "0");
4344
+ return A.s(N.$y, 4, "0");
4348
4345
  case "M":
4349
4346
  return oe + 1;
4350
4347
  case "MM":
4351
- return $.s(oe + 1, 2, "0");
4348
+ return A.s(oe + 1, 2, "0");
4352
4349
  case "MMM":
4353
4350
  return ze(O.monthsShort, oe, ve, 3);
4354
4351
  case "MMMM":
4355
4352
  return ze(ve, oe);
4356
4353
  case "D":
4357
- return P.$D;
4354
+ return N.$D;
4358
4355
  case "DD":
4359
- return $.s(P.$D, 2, "0");
4356
+ return A.s(N.$D, 2, "0");
4360
4357
  case "d":
4361
- return String(P.$W);
4358
+ return String(N.$W);
4362
4359
  case "dd":
4363
- return ze(O.weekdaysMin, P.$W, ue, 2);
4360
+ return ze(O.weekdaysMin, N.$W, ue, 2);
4364
4361
  case "ddd":
4365
- return ze(O.weekdaysShort, P.$W, ue, 3);
4362
+ return ze(O.weekdaysShort, N.$W, ue, 3);
4366
4363
  case "dddd":
4367
- return ue[P.$W];
4364
+ return ue[N.$W];
4368
4365
  case "H":
4369
4366
  return String(Q);
4370
4367
  case "HH":
4371
- return $.s(Q, 2, "0");
4368
+ return A.s(Q, 2, "0");
4372
4369
  case "h":
4373
4370
  return lt(1);
4374
4371
  case "hh":
4375
4372
  return lt(2);
4376
4373
  case "a":
4377
- return He(Q, te, !0);
4374
+ return Ve(Q, te, !0);
4378
4375
  case "A":
4379
- return He(Q, te, !1);
4376
+ return Ve(Q, te, !1);
4380
4377
  case "m":
4381
4378
  return String(te);
4382
4379
  case "mm":
4383
- return $.s(te, 2, "0");
4380
+ return A.s(te, 2, "0");
4384
4381
  case "s":
4385
- return String(P.$s);
4382
+ return String(N.$s);
4386
4383
  case "ss":
4387
- return $.s(P.$s, 2, "0");
4384
+ return A.s(N.$s, 2, "0");
4388
4385
  case "SSS":
4389
- return $.s(P.$ms, 3, "0");
4386
+ return A.s(N.$ms, 3, "0");
4390
4387
  case "Z":
4391
4388
  return U;
4392
4389
  }
4393
4390
  return null;
4394
4391
  }(ye) || U.replace(":", "");
4395
4392
  });
4396
- }, A.utcOffset = function() {
4393
+ }, x.utcOffset = function() {
4397
4394
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4398
- }, A.diff = function(w, P, O) {
4399
- var F, U = this, Q = $.p(P), te = C(w), oe = (te.utcOffset() - this.utcOffset()) * r, ue = this - te, ve = function() {
4400
- return $.m(U, te);
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
+ return A.m(U, te);
4401
4398
  };
4402
4399
  switch (Q) {
4403
4400
  case b:
@@ -4427,43 +4424,43 @@ var ks = { exports: {} };
4427
4424
  default:
4428
4425
  F = ue;
4429
4426
  }
4430
- return O ? F : $.a(F);
4431
- }, A.daysInMonth = function() {
4427
+ return O ? F : A.a(F);
4428
+ }, x.daysInMonth = function() {
4432
4429
  return this.endOf(f).$D;
4433
- }, A.$locale = function() {
4430
+ }, x.$locale = function() {
4434
4431
  return L[this.$L];
4435
- }, A.locale = function(w, P) {
4436
- if (!w) return this.$L;
4437
- var O = this.clone(), F = X(w, P, !0);
4432
+ }, x.locale = function(k, N) {
4433
+ if (!k) return this.$L;
4434
+ var O = this.clone(), F = X(k, N, !0);
4438
4435
  return F && (O.$L = F), O;
4439
- }, A.clone = function() {
4440
- return $.w(this.$d, this);
4441
- }, A.toDate = function() {
4436
+ }, x.clone = function() {
4437
+ return A.w(this.$d, this);
4438
+ }, x.toDate = function() {
4442
4439
  return new Date(this.valueOf());
4443
- }, A.toJSON = function() {
4440
+ }, x.toJSON = function() {
4444
4441
  return this.isValid() ? this.toISOString() : null;
4445
- }, A.toISOString = function() {
4442
+ }, x.toISOString = function() {
4446
4443
  return this.$d.toISOString();
4447
- }, A.toString = function() {
4444
+ }, x.toString = function() {
4448
4445
  return this.$d.toUTCString();
4449
4446
  }, T;
4450
4447
  }(), _ = M.prototype;
4451
- return C.prototype = _, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", f], ["$y", b], ["$D", d]].forEach(function(T) {
4452
- _[T[1]] = function(A) {
4453
- return this.$g(A, 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]);
4454
4451
  };
4455
- }), C.extend = function(T, A) {
4456
- return T.$i || (T(A, M, C), T.$i = !0), C;
4452
+ }), C.extend = function(T, x) {
4453
+ return T.$i || (T(x, M, C), T.$i = !0), C;
4457
4454
  }, C.locale = X, C.isDayjs = se, C.unix = function(T) {
4458
4455
  return C(1e3 * T);
4459
- }, C.en = L[H], C.Ls = L, C.p = {}, C;
4456
+ }, C.en = L[V], C.Ls = L, C.p = {}, C;
4460
4457
  });
4461
- })(ks);
4462
- var pc = ks.exports;
4458
+ })(xs);
4459
+ var pc = xs.exports;
4463
4460
  const ce = /* @__PURE__ */ ws(pc), hc = {
4464
4461
  key: 0,
4465
4462
  class: "s-datepicker-radio"
4466
- }, 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 = {
4467
4464
  key: 0,
4468
4465
  class: "splitter"
4469
4466
  }, $c = {
@@ -4473,7 +4470,7 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4473
4470
  // Формат значения модели
4474
4471
  valueFormat: {
4475
4472
  type: String,
4476
- default: "YYYYMMDD"
4473
+ default: "YYYY-MM-DD"
4477
4474
  },
4478
4475
  // Формат, в котором выводим в инпуте
4479
4476
  inputFormat: {
@@ -4504,29 +4501,29 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4504
4501
  }),
4505
4502
  emits: /* @__PURE__ */ ie(["update:modelValue", "selectedInterval"], ["update:modelValue"]),
4506
4503
  setup(e, { emit: t }) {
4507
- const n = e, r = Oe(e, "modelValue"), a = V(() => {
4504
+ const n = e, r = Oe(e, "modelValue"), a = H(() => {
4508
4505
  let C = r.value;
4509
4506
  if (C === null && n.buttons) {
4510
- const [$, M] = Object.values(n.buttons)[0].split("-");
4511
- C = [$, M];
4507
+ const [A, M] = Object.values(n.buttons)[0].split("-");
4508
+ C = [A, M];
4512
4509
  }
4513
- return n.valueFormat === "YYYYMMDD" || C === null ? JSON.parse(JSON.stringify(C)) : Array.isArray(C) ? C.map(($) => ce($, n.valueFormat).format("YYYYMMDD")) : ce(C, n.valueFormat).format("YYYYMMDD");
4514
- }), o = V({
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 = H({
4515
4512
  get: () => {
4516
- var C, $;
4517
- return ($ = (C = a.value) == null ? void 0 : C.join("-")) != null ? $ : "";
4513
+ var C, A;
4514
+ return (A = (C = a.value) == null ? void 0 : C.join("-")) != null ? A : "";
4518
4515
  },
4519
4516
  set: (C) => {
4520
4517
  r.value = C.split("-");
4521
4518
  }
4522
- }), s = V(() => {
4519
+ }), s = H(() => {
4523
4520
  var C;
4524
4521
  return (C = n.numberOfMonths) != null ? C : n.range ? 2 : 1;
4525
- }), 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(() => {
4526
4523
  const C = [];
4527
- for (let $ = 0; $ < s.value; $++) {
4528
- let M = l.value + Math.floor((u.value - 1 + $) / 12), _ = (u.value - 1 + $) % 12 + 1, T = (ce().year(M).month(_ - 1).startOf("month").day() + 6) % 7, A = ce().year(M).month(_ - 2).daysInMonth(), w = ce().year(M).month(_ - 1).daysInMonth(), P = (7 - (w + T) % 7) % 7;
4529
- C.push({ year: M, month: _, daysInMonth: w, daysInPreviousMonth: A, previousMonthDaysTail: T, leadingNextMonthDays: P });
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, 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 });
4530
4527
  }
4531
4528
  return C;
4532
4529
  });
@@ -4536,62 +4533,62 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4536
4533
  function p() {
4537
4534
  l.value = u.value === 12 ? l.value + 1 : l.value, u.value = u.value === 12 ? 1 : u.value + 1;
4538
4535
  }
4539
- const b = (C, $, M) => C + ($ < 10 ? "0" : "") + $ + (M < 10 ? "0" : "") + M, d = J(!1);
4540
- 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) => {
4541
4538
  if (C === !1) return;
4542
- const $ = r.value instanceof Array ? r.value[0] : r.value;
4543
- if ($ === null) {
4539
+ const A = r.value instanceof Array ? r.value[0] : r.value;
4540
+ if (A === null) {
4544
4541
  u.value = ce().month() + 1, l.value = ce().year();
4545
4542
  return;
4546
4543
  }
4547
- u.value = ce($, n.valueFormat).month() + 1, l.value = ce($, n.valueFormat).year();
4544
+ u.value = ce(A, n.valueFormat).month() + 1, l.value = ce(A, n.valueFormat).year();
4548
4545
  });
4549
- const m = (C, $, M) => a.value instanceof Array ? D.value ? D.value === b(C, $, M) : a.value.includes(b(C, $, M)) : a.value === b(C, $, M), v = J(null), g = (C, $, M) => v.value = b(C, $, M), k = () => 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(() => {
4550
4547
  if (!n.range) return null;
4551
4548
  if (D.value) {
4552
- if (!v.value) return null;
4553
- const C = D.value < v.value ? D.value : v.value, $ = D.value < v.value ? v.value : D.value;
4554
- return [C, $];
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
+ return [C, A];
4555
4552
  } else if (a.value)
4556
4553
  return a.value;
4557
4554
  return null;
4558
- }), W = function(C, $, M) {
4559
- return N.value && N.value[0] <= b(C, $, M) && N.value[1] >= b(C, $, M);
4555
+ }), W = function(C, A, M) {
4556
+ return P.value && P.value[0] <= b(C, A, M) && P.value[1] >= b(C, A, M);
4560
4557
  };
4561
- function H(C, $, M) {
4562
- const _ = n.min ? ce(n.min, "YYYY-MM-DD") : null, T = n.max ? ce(n.max, "YYYY-MM-DD") : null, A = ce().year(C).month($ - 1).date(M);
4563
- return A.isBefore(_, "day") || A.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");
4564
4561
  }
4565
- function L(C, $, M) {
4566
- return ce().year(C).month($ - 1).date(M).isSame(ce(), "day");
4562
+ function L(C, A, M) {
4563
+ return ce().year(C).month(A - 1).date(M).isSame(ce(), "day");
4567
4564
  }
4568
4565
  const D = J(null);
4569
- function se(C, $, M) {
4570
- if (!H(C, $, M))
4566
+ function se(C, A, M) {
4567
+ if (!V(C, A, M))
4571
4568
  if (!n.range)
4572
- r.value = ce().year(C).month($ - 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;
4573
4570
  else if (!D.value)
4574
- D.value = b(C, $, M);
4571
+ D.value = b(C, A, M);
4575
4572
  else {
4576
- const _ = b(C, $, M);
4577
- let T = D.value < _ ? D.value : _, A = D.value < _ ? _ : D.value;
4578
- n.valueFormat !== "YYYYMMDD" && (T = ce(T, "YYYYMMDD").format(n.valueFormat), A = ce(A, "YYYYMMDD").format(n.valueFormat)), r.value = [T, A], D.value = null, d.value = !1;
4573
+ const _ = b(C, A, M);
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;
4579
4576
  }
4580
4577
  }
4581
4578
  ao(document, "mousedown", (C) => {
4582
- d.value = !1, D.value = null;
4579
+ m.value = !1, D.value = null;
4583
4580
  });
4584
- const X = V(() => n.buttons ? Object.fromEntries(Object.entries(n.buttons).map(([C, $]) => [$, C])) : []);
4585
- return (C, $) => (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", {
4586
4583
  class: "s-datepicker",
4587
- onClick: $[3] || ($[3] = (M) => d.value = !d.value),
4588
- onMousedown: $[4] || ($[4] = $e(() => {
4584
+ onClick: A[3] || (A[3] = (M) => m.value = !m.value),
4585
+ onMousedown: A[4] || (A[4] = $e(() => {
4589
4586
  }, ["prevent", "stop"]))
4590
4587
  }, [
4591
- e.buttons && Object.values(e.buttons).length ? (h(), S("div", hc, [
4588
+ e.buttons && Object.values(e.buttons).length ? (v(), S("div", hc, [
4592
4589
  Z(Ss, {
4593
4590
  modelValue: o.value,
4594
- "onUpdate:modelValue": $[0] || ($[0] = (M) => o.value = M),
4591
+ "onUpdate:modelValue": A[0] || (A[0] = (M) => o.value = M),
4595
4592
  options: X.value,
4596
4593
  buttons: ""
4597
4594
  }, null, 8, ["modelValue", "options"])
@@ -4606,13 +4603,13 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4606
4603
  Z(R(ne), { icon: ["far", "calendar"] })
4607
4604
  ])
4608
4605
  ]),
4609
- d.value ? (h(), S("div", {
4606
+ m.value ? (v(), S("div", {
4610
4607
  key: 0,
4611
4608
  class: "s-datepicker-calendar",
4612
- onClick: $[2] || ($[2] = $e(() => {
4609
+ onClick: A[2] || (A[2] = $e(() => {
4613
4610
  }, ["stop"]))
4614
4611
  }, [
4615
- (h(!0), S(ee, null, de(c.value, ({ month: M, year: _, daysInMonth: T, leadingNextMonthDays: A, previousMonthDaysTail: w, 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", {
4616
4613
  class: "s-datepicker-calendar-page",
4617
4614
  key: `${_}${M}`
4618
4615
  }, [
@@ -4620,7 +4617,7 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4620
4617
  E("div", {
4621
4618
  class: z(["s-datepicker-calendar-header", { centered: O !== 0 && O !== c.value.length - 1 }])
4622
4619
  }, [
4623
- O === 0 ? (h(), S("div", {
4620
+ O === 0 ? (v(), S("div", {
4624
4621
  key: 0,
4625
4622
  class: "s-datepicker-calendar-header-controls",
4626
4623
  onClick: f
@@ -4628,7 +4625,7 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4628
4625
  Z(R(ne), { icon: "chevron-left" })
4629
4626
  ])) : B("", !0),
4630
4627
  E("div", Sc, G(e.monthNames[M - 1]) + " " + G(_), 1),
4631
- O === c.value.length - 1 ? (h(), S("div", {
4628
+ O === c.value.length - 1 ? (v(), S("div", {
4632
4629
  key: 1,
4633
4630
  class: "s-datepicker-calendar-header-controls",
4634
4631
  onClick: p
@@ -4637,40 +4634,40 @@ const ce = /* @__PURE__ */ ws(pc), hc = {
4637
4634
  ])) : B("", !0)
4638
4635
  ], 2),
4639
4636
  E("div", wc, [
4640
- (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", {
4641
4638
  key: U,
4642
4639
  class: "day-name"
4643
4640
  }, G(F), 1))), 128)),
4644
- (h(!0), S(ee, null, de(w, (F) => (h(), S("div", {
4641
+ (v(!0), S(ee, null, de(k, (F) => (v(), S("div", {
4645
4642
  key: b(_, M, F),
4646
4643
  class: "day blocked"
4647
- }, G(F + P - w), 1))), 128)),
4648
- (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", {
4649
4646
  key: b(_, M, F),
4650
4647
  class: z(["day", {
4651
- selected: m(_, M, F),
4648
+ selected: d(_, M, F),
4652
4649
  inrange: W(_, M, F),
4653
4650
  today: L(_, M, F),
4654
- blocked: H(_, M, F)
4651
+ blocked: V(_, M, F)
4655
4652
  }]),
4656
4653
  onMousedown: (U) => se(_, M, F),
4657
4654
  onMouseover: (U) => g(_, M, F),
4658
- onMouseout: $[1] || ($[1] = (U) => k())
4659
- }, G(F), 43, kc))), 128)),
4660
- (h(!0), S(ee, null, de(A, (F) => (h(), S("div", {
4655
+ onMouseout: A[1] || (A[1] = (U) => w())
4656
+ }, G(F), 43, xc))), 128)),
4657
+ (v(!0), S(ee, null, de(x, (F) => (v(), S("div", {
4661
4658
  key: b(_, M, F),
4662
4659
  class: "day blocked"
4663
4660
  }, G(F), 1))), 128))
4664
4661
  ])
4665
4662
  ]),
4666
- O !== c.value.length - 1 ? (h(), S("div", xc)) : B("", !0)
4663
+ O !== c.value.length - 1 ? (v(), S("div", kc)) : B("", !0)
4667
4664
  ]))), 128))
4668
4665
  ])) : B("", !0)
4669
4666
  ])
4670
4667
  ], 32));
4671
4668
  }
4672
4669
  };
4673
- function xs(e, t) {
4670
+ function ks(e, t) {
4674
4671
  return function() {
4675
4672
  return e.apply(t, arguments);
4676
4673
  };
@@ -4743,8 +4740,8 @@ function jn() {
4743
4740
  return n;
4744
4741
  }
4745
4742
  const zc = (e, t, n, { allOwnKeys: r } = {}) => (Et(t, (a, o) => {
4746
- n && be(a) ? e[o] = xs(a, n) : e[o] = a;
4747
- }, { 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) => {
4748
4745
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
4749
4746
  value: t.prototype
4750
4747
  }), n && Object.assign(e.prototype, n);
@@ -4878,8 +4875,8 @@ const sf = (e) => {
4878
4875
  merge: jn,
4879
4876
  extend: zc,
4880
4877
  trim: Uc,
4881
- stripBOM: Hc,
4882
- inherits: Vc,
4878
+ stripBOM: Vc,
4879
+ inherits: Hc,
4883
4880
  toFlatObject: Wc,
4884
4881
  kindOf: tn,
4885
4882
  kindOfTest: Ne,
@@ -4985,55 +4982,55 @@ function rn(e, t, n) {
4985
4982
  metaTokens: !0,
4986
4983
  dots: !1,
4987
4984
  indexes: !1
4988
- }, !1, function(m, v) {
4989
- return !y.isUndefined(v[m]);
4985
+ }, !1, function(d, h) {
4986
+ return !y.isUndefined(h[d]);
4990
4987
  });
4991
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);
4992
4989
  if (!y.isFunction(a))
4993
4990
  throw new TypeError("visitor must be a function");
4994
- function u(d) {
4995
- if (d === null) return "";
4996
- if (y.isDate(d))
4997
- return d.toISOString();
4998
- if (y.isBoolean(d))
4999
- return d.toString();
5000
- 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))
5001
4998
  throw new Y("Blob is not supported. Use a Buffer instead.");
5002
- return y.isArrayBuffer(d) || y.isTypedArray(d) ? l && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
5003
- }
5004
- function c(d, m, v) {
5005
- let g = d;
5006
- if (d && !v && typeof d == "object") {
5007
- if (y.endsWith(m, "{}"))
5008
- m = r ? m : m.slice(0, -2), d = JSON.stringify(d);
5009
- else if (y.isArray(d) && df(d) || (y.isFileList(d) || y.endsWith(m, "[]")) && (g = y.toArray(d)))
5010
- return m = Fs(m), g.forEach(function(N, W) {
5011
- !(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(
5012
5009
  // eslint-disable-next-line no-nested-ternary
5013
- s === !0 ? Br([m], W, o) : s === null ? m : m + "[]",
5014
- u(N)
5010
+ s === !0 ? Br([d], W, o) : s === null ? d : d + "[]",
5011
+ u(P)
5015
5012
  );
5016
5013
  }), !1;
5017
5014
  }
5018
- 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);
5019
5016
  }
5020
5017
  const f = [], p = Object.assign(mf, {
5021
5018
  defaultVisitor: c,
5022
5019
  convertValue: u,
5023
5020
  isVisitable: Dn
5024
5021
  });
5025
- function b(d, m) {
5026
- if (!y.isUndefined(d)) {
5027
- if (f.indexOf(d) !== -1)
5028
- throw Error("Circular reference detected in " + m.join("."));
5029
- f.push(d), y.forEach(d, function(g, k) {
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) {
5030
5027
  (!(y.isUndefined(g) || g === null) && a.call(
5031
5028
  t,
5032
5029
  g,
5033
- y.isString(k) ? k.trim() : k,
5034
- m,
5030
+ y.isString(w) ? w.trim() : w,
5031
+ d,
5035
5032
  p
5036
- )) === !0 && b(g, m ? m.concat(k) : [k]);
5033
+ )) === !0 && b(g, d ? d.concat(w) : [w]);
5037
5034
  }), f.pop();
5038
5035
  }
5039
5036
  }
@@ -5155,7 +5152,7 @@ const Ms = {
5155
5152
  },
5156
5153
  protocols: ["http", "https", "file", "blob", "url", "data"]
5157
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
5158
- 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({
5159
5156
  __proto__: null,
5160
5157
  hasBrowserEnv: sr,
5161
5158
  hasStandardBrowserEnv: bf,
@@ -5163,10 +5160,10 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wf
5163
5160
  navigator: Ln,
5164
5161
  origin: wf
5165
5162
  }, Symbol.toStringTag, { value: "Module" })), he = {
5166
- ...kf,
5163
+ ...xf,
5167
5164
  ...yf
5168
5165
  };
5169
- function xf(e, t) {
5166
+ function kf(e, t) {
5170
5167
  return rn(e, new he.classes.URLSearchParams(), {
5171
5168
  visitor: function(n, r, a, o) {
5172
5169
  return he.isNode && y.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
@@ -5227,7 +5224,7 @@ const _t = {
5227
5224
  let i;
5228
5225
  if (o) {
5229
5226
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
5230
- return xf(t, this.formSerializer).toString();
5227
+ return kf(t, this.formSerializer).toString();
5231
5228
  if ((i = y.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
5232
5229
  const l = this.env && this.env.FormData;
5233
5230
  return rn(
@@ -5305,7 +5302,7 @@ const Ef = y.toObjectSet([
5305
5302
  `).forEach(function(s) {
5306
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);
5307
5304
  }), t;
5308
- }, Hr = Symbol("internals");
5305
+ }, Vr = Symbol("internals");
5309
5306
  function ct(e) {
5310
5307
  return e && String(e).trim().toLowerCase();
5311
5308
  }
@@ -5460,7 +5457,7 @@ let Se = class {
5460
5457
  return n.forEach((a) => r.set(a)), r;
5461
5458
  }
5462
5459
  static accessor(t) {
5463
- const r = (this[Hr] = this[Hr] = {
5460
+ const r = (this[Vr] = this[Vr] = {
5464
5461
  accessors: {}
5465
5462
  }).accessors, a = this.prototype;
5466
5463
  function o(s) {
@@ -5558,7 +5555,7 @@ const Yt = (e, t, n = 3) => {
5558
5555
  };
5559
5556
  e(f);
5560
5557
  }, n);
5561
- }, Vr = (e, t) => {
5558
+ }, Hr = (e, t) => {
5562
5559
  const n = e != null;
5563
5560
  return [(r) => t[0]({
5564
5561
  lengthComputable: n,
@@ -5698,58 +5695,58 @@ const Us = (e) => {
5698
5695
  const a = Us(e);
5699
5696
  let o = a.data;
5700
5697
  const s = Se.from(a.headers).normalize();
5701
- let { responseType: i, onUploadProgress: l, onDownloadProgress: u } = a, c, f, p, b, d;
5702
- function m() {
5703
- 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);
5704
5701
  }
5705
- let v = new XMLHttpRequest();
5706
- 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;
5707
5704
  function g() {
5708
- if (!v)
5705
+ if (!h)
5709
5706
  return;
5710
- const N = Se.from(
5711
- "getAllResponseHeaders" in v && v.getAllResponseHeaders()
5712
- ), H = {
5713
- data: !i || i === "text" || i === "json" ? v.responseText : v.response,
5714
- status: v.status,
5715
- statusText: v.statusText,
5716
- 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,
5717
5714
  config: e,
5718
- request: v
5715
+ request: h
5719
5716
  };
5720
5717
  Ls(function(D) {
5721
- n(D), m();
5718
+ n(D), d();
5722
5719
  }, function(D) {
5723
- r(D), m();
5724
- }, H), v = null;
5720
+ r(D), d();
5721
+ }, V), h = null;
5725
5722
  }
5726
- "onloadend" in v ? v.onloadend = g : v.onreadystatechange = function() {
5727
- !v || v.readyState !== 4 || v.status === 0 && !(v.responseURL && v.responseURL.indexOf("file:") === 0) || setTimeout(g);
5728
- }, v.onabort = function() {
5729
- v && (r(new Y("Request aborted", Y.ECONNABORTED, e, v)), v = null);
5730
- }, v.onerror = function(W) {
5731
- const H = W && W.message ? W.message : "Network Error", L = new Y(H, Y.ERR_NETWORK, e, v);
5732
- L.event = W || null, r(L), v = null;
5733
- }, 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() {
5734
5731
  let W = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
5735
- const H = a.transitional || Ms;
5732
+ const V = a.transitional || Ms;
5736
5733
  a.timeoutErrorMessage && (W = a.timeoutErrorMessage), r(new Y(
5737
5734
  W,
5738
- H.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
5735
+ V.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
5739
5736
  e,
5740
- v
5741
- )), v = null;
5742
- }, o === void 0 && s.setContentType(null), "setRequestHeader" in v && y.forEach(s.toJSON(), function(W, H) {
5743
- v.setRequestHeader(H, W);
5744
- }), 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) => {
5745
- 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);
5746
5743
  }, a.cancelToken && a.cancelToken.subscribe(c), a.signal && (a.signal.aborted ? c() : a.signal.addEventListener("abort", c)));
5747
- const k = Ff(a.url);
5748
- if (k && he.protocols.indexOf(k) === -1) {
5749
- r(new Y("Unsupported protocol " + k + ":", Y.ERR_BAD_REQUEST, e));
5744
+ const w = Ff(a.url);
5745
+ if (w && he.protocols.indexOf(w) === -1) {
5746
+ r(new Y("Unsupported protocol " + w + ":", Y.ERR_BAD_REQUEST, e));
5750
5747
  return;
5751
5748
  }
5752
- v.send(o || null);
5749
+ h.send(o || null);
5753
5750
  });
5754
5751
  }, zf = (e, t) => {
5755
5752
  const { length: n } = e = e ? e.filter(Boolean) : [];
@@ -5774,7 +5771,7 @@ const Us = (e) => {
5774
5771
  const { signal: l } = r;
5775
5772
  return l.unsubscribe = () => y.asap(i), l;
5776
5773
  }
5777
- }, Hf = function* (e, t) {
5774
+ }, Vf = function* (e, t) {
5778
5775
  let n = e.byteLength;
5779
5776
  if (n < t) {
5780
5777
  yield e;
@@ -5783,9 +5780,9 @@ const Us = (e) => {
5783
5780
  let r = 0, a;
5784
5781
  for (; r < n; )
5785
5782
  a = r + t, yield e.slice(r, a), r = a;
5786
- }, Vf = async function* (e, t) {
5783
+ }, Hf = async function* (e, t) {
5787
5784
  for await (const n of Wf(e))
5788
- yield* Hf(n, t);
5785
+ yield* Vf(n, t);
5789
5786
  }, Wf = async function* (e) {
5790
5787
  if (e[Symbol.asyncIterator]) {
5791
5788
  yield* e;
@@ -5803,7 +5800,7 @@ const Us = (e) => {
5803
5800
  await t.cancel();
5804
5801
  }
5805
5802
  }, qr = (e, t, n, r) => {
5806
- const a = Vf(e, t);
5803
+ const a = Hf(e, t);
5807
5804
  let o = 0, s, i = (l) => {
5808
5805
  s || (s = !0, r && r(l));
5809
5806
  };
@@ -5850,102 +5847,102 @@ const Us = (e) => {
5850
5847
  const { fetch: t, Request: n, Response: r } = e, a = t ? Nt(t) : typeof fetch == "function", o = Nt(n), s = Nt(r);
5851
5848
  if (!a)
5852
5849
  return !1;
5853
- 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(() => {
5854
- let d = !1;
5855
- 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, {
5856
5853
  body: new Jr(),
5857
5854
  method: "POST",
5858
5855
  get duplex() {
5859
- return d = !0, "half";
5856
+ return m = !0, "half";
5860
5857
  }
5861
5858
  }).headers.has("Content-Type");
5862
- return d && !m;
5859
+ return m && !d;
5863
5860
  }), c = s && i && Xr(() => y.isReadableStream(new r("").body)), f = {
5864
- stream: c && ((d) => d.body)
5861
+ stream: c && ((m) => m.body)
5865
5862
  };
5866
- a && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((d) => {
5867
- !f[d] && (f[d] = (m, v) => {
5868
- 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];
5869
5866
  if (g)
5870
- return g.call(m);
5871
- 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);
5872
5869
  });
5873
5870
  });
5874
- const p = async (d) => {
5875
- if (d == null)
5871
+ const p = async (m) => {
5872
+ if (m == null)
5876
5873
  return 0;
5877
- if (y.isBlob(d))
5878
- return d.size;
5879
- if (y.isSpecCompliantForm(d))
5874
+ if (y.isBlob(m))
5875
+ return m.size;
5876
+ if (y.isSpecCompliantForm(m))
5880
5877
  return (await new n(he.origin, {
5881
5878
  method: "POST",
5882
- body: d
5879
+ body: m
5883
5880
  }).arrayBuffer()).byteLength;
5884
- if (y.isArrayBufferView(d) || y.isArrayBuffer(d))
5885
- return d.byteLength;
5886
- if (y.isURLSearchParams(d) && (d = d + ""), y.isString(d))
5887
- return (await l(d)).byteLength;
5888
- }, b = async (d, m) => {
5889
- const v = y.toFiniteNumber(d.getContentLength());
5890
- 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;
5891
5888
  };
5892
- return async (d) => {
5889
+ return async (m) => {
5893
5890
  let {
5894
- url: m,
5895
- method: v,
5891
+ url: d,
5892
+ method: h,
5896
5893
  data: g,
5897
- signal: k,
5898
- cancelToken: N,
5894
+ signal: w,
5895
+ cancelToken: P,
5899
5896
  timeout: W,
5900
- onDownloadProgress: H,
5897
+ onDownloadProgress: V,
5901
5898
  onUploadProgress: L,
5902
5899
  responseType: D,
5903
5900
  headers: se,
5904
5901
  withCredentials: X = "same-origin",
5905
5902
  fetchOptions: C
5906
- } = Us(d), $ = t || fetch;
5903
+ } = Us(m), A = t || fetch;
5907
5904
  D = D ? (D + "").toLowerCase() : "text";
5908
- let M = zf([k, N && N.toAbortSignal()], W), _ = null;
5905
+ let M = zf([w, P && P.toAbortSignal()], W), _ = null;
5909
5906
  const T = M && M.unsubscribe && (() => {
5910
5907
  M.unsubscribe();
5911
5908
  });
5912
- let A;
5909
+ let x;
5913
5910
  try {
5914
- if (L && u && v !== "get" && v !== "head" && (A = await b(se, g)) !== 0) {
5915
- 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, {
5916
5913
  method: "POST",
5917
5914
  body: g,
5918
5915
  duplex: "half"
5919
5916
  }), te;
5920
5917
  if (y.isFormData(g) && (te = Q.headers.get("content-type")) && se.setContentType(te), Q.body) {
5921
- const [oe, ue] = Vr(
5922
- A,
5918
+ const [oe, ue] = Hr(
5919
+ x,
5923
5920
  Yt(Wr(L))
5924
5921
  );
5925
5922
  g = qr(Q.body, Kr, oe, ue);
5926
5923
  }
5927
5924
  }
5928
5925
  y.isString(X) || (X = X ? "include" : "omit");
5929
- const w = o && "credentials" in n.prototype, P = {
5926
+ const k = o && "credentials" in n.prototype, N = {
5930
5927
  ...C,
5931
5928
  signal: M,
5932
- method: v.toUpperCase(),
5929
+ method: h.toUpperCase(),
5933
5930
  headers: se.normalize().toJSON(),
5934
5931
  body: g,
5935
5932
  duplex: "half",
5936
- credentials: w ? X : void 0
5933
+ credentials: k ? X : void 0
5937
5934
  };
5938
- _ = o && new n(m, P);
5939
- let O = await (o ? $(_, C) : $(m, P));
5935
+ _ = o && new n(d, N);
5936
+ let O = await (o ? A(_, C) : A(d, N));
5940
5937
  const F = c && (D === "stream" || D === "response");
5941
- if (c && (H || F && T)) {
5938
+ if (c && (V || F && T)) {
5942
5939
  const Q = {};
5943
5940
  ["status", "statusText", "headers"].forEach((ve) => {
5944
5941
  Q[ve] = O[ve];
5945
5942
  });
5946
- 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(
5947
5944
  te,
5948
- Yt(Wr(H), !0)
5945
+ Yt(Wr(V), !0)
5949
5946
  ) || [];
5950
5947
  O = new r(
5951
5948
  qr(O.body, Kr, oe, () => {
@@ -5955,24 +5952,24 @@ const Us = (e) => {
5955
5952
  );
5956
5953
  }
5957
5954
  D = D || "text";
5958
- let U = await f[y.findKey(f, D) || "text"](O, d);
5955
+ let U = await f[y.findKey(f, D) || "text"](O, m);
5959
5956
  return !F && T && T(), await new Promise((Q, te) => {
5960
5957
  Ls(Q, te, {
5961
5958
  data: U,
5962
5959
  headers: Se.from(O.headers),
5963
5960
  status: O.status,
5964
5961
  statusText: O.statusText,
5965
- config: d,
5962
+ config: m,
5966
5963
  request: _
5967
5964
  });
5968
5965
  });
5969
- } catch (w) {
5970
- throw T && T(), w && w.name === "TypeError" && /Load failed|fetch/i.test(w.message) ? Object.assign(
5971
- 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, _),
5972
5969
  {
5973
- cause: w.cause || w
5970
+ cause: k.cause || k
5974
5971
  }
5975
- ) : Y.from(w, w && w.code, d, _);
5972
+ ) : Y.from(k, k && k.code, m, _);
5976
5973
  }
5977
5974
  };
5978
5975
  }, Kf = /* @__PURE__ */ new Map(), zs = (e) => {
@@ -6033,7 +6030,7 @@ function Gf(e, t) {
6033
6030
  }
6034
6031
  return a;
6035
6032
  }
6036
- const Hs = {
6033
+ const Vs = {
6037
6034
  /**
6038
6035
  * Resolve an adapter from a list of adapter names or functions.
6039
6036
  * @type {Function}
@@ -6053,7 +6050,7 @@ function Zr(e) {
6053
6050
  return hn(e), e.headers = Se.from(e.headers), e.data = pn.call(
6054
6051
  e,
6055
6052
  e.transformRequest
6056
- ), ["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) {
6057
6054
  return hn(e), r.data = pn.call(
6058
6055
  e,
6059
6056
  e.transformResponse,
@@ -6067,7 +6064,7 @@ function Zr(e) {
6067
6064
  ), r.response.headers = Se.from(r.response.headers))), Promise.reject(r);
6068
6065
  });
6069
6066
  }
6070
- const Vs = "1.13.2", an = {};
6067
+ const Hs = "1.13.2", an = {};
6071
6068
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
6072
6069
  an[e] = function(r) {
6073
6070
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -6076,7 +6073,7 @@ const Vs = "1.13.2", an = {};
6076
6073
  const ea = {};
6077
6074
  an.transitional = function(t, n, r) {
6078
6075
  function a(o, s) {
6079
- return "[Axios v" + Vs + "] Transitional option '" + o + "'" + s + (r ? ". " + r : "");
6076
+ return "[Axios v" + Hs + "] Transitional option '" + o + "'" + s + (r ? ". " + r : "");
6080
6077
  }
6081
6078
  return (o, s, i) => {
6082
6079
  if (t === !1)
@@ -6170,41 +6167,41 @@ let Ye = class {
6170
6167
  );
6171
6168
  o && y.forEach(
6172
6169
  ["delete", "get", "head", "post", "put", "patch", "common"],
6173
- (d) => {
6174
- delete o[d];
6170
+ (m) => {
6171
+ delete o[m];
6175
6172
  }
6176
6173
  ), n.headers = Se.concat(s, o);
6177
6174
  const i = [];
6178
6175
  let l = !0;
6179
- this.interceptors.request.forEach(function(m) {
6180
- 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));
6181
6178
  });
6182
6179
  const u = [];
6183
- this.interceptors.response.forEach(function(m) {
6184
- u.push(m.fulfilled, m.rejected);
6180
+ this.interceptors.response.forEach(function(d) {
6181
+ u.push(d.fulfilled, d.rejected);
6185
6182
  });
6186
6183
  let c, f = 0, p;
6187
6184
  if (!l) {
6188
- const d = [Zr.bind(this), void 0];
6189
- for (d.unshift(...i), d.push(...u), p = d.length, c = Promise.resolve(n); f < p; )
6190
- 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++]);
6191
6188
  return c;
6192
6189
  }
6193
6190
  p = i.length;
6194
6191
  let b = n;
6195
6192
  for (; f < p; ) {
6196
- const d = i[f++], m = i[f++];
6193
+ const m = i[f++], d = i[f++];
6197
6194
  try {
6198
- b = d(b);
6199
- } catch (v) {
6200
- m.call(this, v);
6195
+ b = m(b);
6196
+ } catch (h) {
6197
+ d.call(this, h);
6201
6198
  break;
6202
6199
  }
6203
6200
  }
6204
6201
  try {
6205
6202
  c = Zr.call(this, b);
6206
- } catch (d) {
6207
- return Promise.reject(d);
6203
+ } catch (m) {
6204
+ return Promise.reject(m);
6208
6205
  }
6209
6206
  for (f = 0, p = u.length; f < p; )
6210
6207
  c = c.then(u[f++], u[f++]);
@@ -6396,7 +6393,7 @@ Object.entries(Bn).forEach(([e, t]) => {
6396
6393
  Bn[t] = e;
6397
6394
  });
6398
6395
  function Ys(e) {
6399
- const t = new Ye(e), n = xs(Ye.prototype.request, t);
6396
+ const t = new Ye(e), n = ks(Ye.prototype.request, t);
6400
6397
  return y.extend(n, Ye.prototype, t, { allOwnKeys: !0 }), y.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(a) {
6401
6398
  return Ys(Je(e, a));
6402
6399
  }, n;
@@ -6406,7 +6403,7 @@ fe.Axios = Ye;
6406
6403
  fe.CanceledError = it;
6407
6404
  fe.CancelToken = Qf;
6408
6405
  fe.isCancel = Ds;
6409
- fe.VERSION = Vs;
6406
+ fe.VERSION = Hs;
6410
6407
  fe.toFormData = rn;
6411
6408
  fe.AxiosError = Y;
6412
6409
  fe.Cancel = fe.CanceledError;
@@ -6418,7 +6415,7 @@ fe.isAxiosError = ed;
6418
6415
  fe.mergeConfig = Je;
6419
6416
  fe.AxiosHeaders = Se;
6420
6417
  fe.formToJSON = (e) => js(y.isHTMLForm(e) ? new FormData(e) : e);
6421
- fe.getAdapter = Hs.getAdapter;
6418
+ fe.getAdapter = Vs.getAdapter;
6422
6419
  fe.HttpStatusCode = Bn;
6423
6420
  fe.default = fe;
6424
6421
  const {
@@ -6610,7 +6607,7 @@ const {
6610
6607
  media_url_resolver: function(l, u, c) {
6611
6608
  const f = /https:\/\/kinescope\.io\/embed\/([a-zA-Z0-9]+)/, p = l.url.match(f);
6612
6609
  if (p) {
6613
- const d = `<iframe
6610
+ const m = `<iframe
6614
6611
  src="https://kinescope.io/embed/${p[1]}"
6615
6612
  width="1280"
6616
6613
  height="720"
@@ -6618,7 +6615,7 @@ const {
6618
6615
  allow="autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer"
6619
6616
  allowfullscreen>
6620
6617
  </iframe>`;
6621
- u({ html: d });
6618
+ u({ html: m });
6622
6619
  } else
6623
6620
  u({ html: "" });
6624
6621
  },
@@ -6646,10 +6643,10 @@ const {
6646
6643
  return !!(b && b.tagName && b.tagName.toLowerCase() === "div" && b.firstElementChild === p && b.children.length === 1);
6647
6644
  }, c = (p) => {
6648
6645
  if (!p || !p.parentNode || u(p)) return;
6649
- 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") || "";
6650
6647
  l.undoManager.transact(() => {
6651
- const v = b.createElement("div");
6652
- 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);
6653
6650
  });
6654
6651
  try {
6655
6652
  l.nodeChanged();
@@ -6657,9 +6654,9 @@ const {
6657
6654
  }
6658
6655
  }, f = (p) => {
6659
6656
  if (!p || !p.querySelectorAll) return;
6660
- p.querySelectorAll("img").forEach((d) => {
6657
+ p.querySelectorAll("img").forEach((m) => {
6661
6658
  try {
6662
- c(d);
6659
+ c(m);
6663
6660
  } catch {
6664
6661
  }
6665
6662
  });
@@ -6668,31 +6665,31 @@ const {
6668
6665
  const p = l.getDoc();
6669
6666
  if (!p) return;
6670
6667
  const b = l.insertContent.bind(l);
6671
- l.insertContent = (m, v) => {
6672
- if (typeof m == "string" && m.includes("<img")) {
6668
+ l.insertContent = (d, h) => {
6669
+ if (typeof d == "string" && d.includes("<img")) {
6673
6670
  const g = p.createElement("div");
6674
- g.innerHTML = m, f(g), m = g.innerHTML;
6671
+ g.innerHTML = d, f(g), d = g.innerHTML;
6675
6672
  }
6676
- return b(m, v);
6677
- }, l.on("PastePostProcess", (m) => {
6678
- f(m.node);
6673
+ return b(d, h);
6674
+ }, l.on("PastePostProcess", (d) => {
6675
+ f(d.node);
6679
6676
  });
6680
- const d = new MutationObserver((m) => {
6677
+ const m = new MutationObserver((d) => {
6681
6678
  l.undoManager.transact(() => {
6682
- for (const v of m)
6683
- if (v.type === "childList")
6684
- v.addedNodes.forEach((g) => {
6679
+ for (const h of d)
6680
+ if (h.type === "childList")
6681
+ h.addedNodes.forEach((g) => {
6685
6682
  if (g.nodeType !== 1) return;
6686
6683
  (g.tagName && g.tagName.toLowerCase()) === "img" ? c(g) : f(g);
6687
6684
  });
6688
- else if (v.type === "attributes" && v.attributeName === "class") {
6689
- const g = v.target;
6685
+ else if (h.type === "attributes" && h.attributeName === "class") {
6686
+ const g = h.target;
6690
6687
  if (g && g.tagName && g.tagName.toLowerCase() === "img") {
6691
6688
  if (!u(g) && (g.getAttribute("class") || "").trim())
6692
6689
  c(g);
6693
6690
  else if ((g.getAttribute("class") || "").trim()) {
6694
- const k = g.parentNode, N = g.getAttribute && g.getAttribute("class") || "";
6695
- N && (k.className = N, g.removeAttribute("class"));
6691
+ const w = g.parentNode, P = g.getAttribute && g.getAttribute("class") || "";
6692
+ P && (w.className = P, g.removeAttribute("class"));
6696
6693
  }
6697
6694
  }
6698
6695
  }
@@ -6702,13 +6699,13 @@ const {
6702
6699
  } catch {
6703
6700
  }
6704
6701
  });
6705
- d.observe(l.getBody(), {
6702
+ m.observe(l.getBody(), {
6706
6703
  childList: !0,
6707
6704
  subtree: !0,
6708
6705
  attributes: !0,
6709
6706
  // нужно чтобы ловить присвоение class плагином
6710
6707
  attributeFilter: ["class"]
6711
- }), l.on("remove", () => d.disconnect());
6708
+ }), l.on("remove", () => m.disconnect());
6712
6709
  });
6713
6710
  }
6714
6711
  });
@@ -6724,7 +6721,7 @@ const {
6724
6721
  function i() {
6725
6722
  n("changeContent");
6726
6723
  }
6727
- return (l, u) => (h(), S("div", td, [
6724
+ return (l, u) => (v(), S("div", td, [
6728
6725
  Z(R(io), {
6729
6726
  init: o.value,
6730
6727
  modelValue: a.value,
@@ -6749,7 +6746,7 @@ const {
6749
6746
  is: [String, Object, Function]
6750
6747
  },
6751
6748
  setup(e) {
6752
- 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(() => [
6753
6750
  "s-button",
6754
6751
  t.outlined && "outlined",
6755
6752
  t.transparent && "transparent",
@@ -6759,10 +6756,10 @@ const {
6759
6756
  t.loading && "loading",
6760
6757
  t.color && `color_${t.color}`
6761
6758
  ]);
6762
- return (s, i) => (h(), re(St(a.value), {
6759
+ return (s, i) => (v(), re(St(a.value), {
6763
6760
  class: z(o.value)
6764
6761
  }, {
6765
- default: ke(() => [
6762
+ default: xe(() => [
6766
6763
  I(s.$slots, "default")
6767
6764
  ]),
6768
6765
  _: 3
@@ -6777,59 +6774,63 @@ const {
6777
6774
  url: String,
6778
6775
  accept: String,
6779
6776
  maxFileSize: Number,
6780
- multiple: Boolean
6777
+ multiple: Boolean,
6778
+ uploadButtonTitle: String
6781
6779
  }, {
6782
6780
  modelValue: {},
6783
6781
  modelModifiers: {}
6784
6782
  }),
6785
6783
  emits: /* @__PURE__ */ ie(["select", "clear"], ["update:modelValue"]),
6786
6784
  setup(e, { expose: t, emit: n }) {
6787
- 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 = () => {
6788
6789
  s.value.click();
6789
- }, l = V(() => a.value ? (Array.isArray(a.value) ? a.value : [a.value]).map((m) => m instanceof File ? m.name : m) : []);
6790
- function u(d) {
6791
- const m = Array.from(d.target.files || []).filter(c);
6792
- 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)) {
6793
6794
  if (r.multiple) {
6794
- const v = Array.isArray(a.value) ? [...a.value] : [];
6795
- a.value = [...v, ...m];
6795
+ const g = Array.isArray(a.value) ? [...a.value] : [];
6796
+ a.value = [...g, ...h];
6796
6797
  } else
6797
- a.value = m[0];
6798
+ a.value = h[0];
6798
6799
  o("select", a.value);
6799
6800
  }
6800
6801
  }
6801
- function c(d) {
6802
- return !(r.accept && !f(d) || r.maxFileSize && d.size > r.maxFileSize);
6803
- }
6804
6802
  function f(d) {
6805
- const m = r.accept.split(",").map((g) => g.trim()), v = "." + d.name.split(".").pop();
6806
- return m.includes(v);
6803
+ return !(r.accept && !p(d) || (console.log(r.maxFileSize, d.size), r.maxFileSize && d.size > r.maxFileSize));
6807
6804
  }
6808
6805
  function p(d) {
6809
- 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);
6810
6808
  }
6811
- 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() {
6812
6813
  a.value = r.multiple ? [] : null, o("clear");
6813
6814
  }
6814
- 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, [
6815
6816
  E("div", ad, [
6816
6817
  d.$slots.header ? I(d.$slots, "header", {
6817
6818
  key: 0,
6818
- choose: i,
6819
- clear: b,
6819
+ choose: l,
6820
+ clear: m,
6820
6821
  files: a.value
6821
- }) : (h(), re(qt, {
6822
+ }) : (v(), re(qt, {
6822
6823
  key: 1,
6823
6824
  class: "s-upload-button",
6824
6825
  outlined: "",
6825
- onClick: $e(i, ["prevent"])
6826
+ onClick: $e(l, ["prevent"])
6826
6827
  }, {
6827
- default: ke(() => [
6828
+ default: xe(() => [
6828
6829
  Z(R(ne), {
6829
6830
  class: "s-upload-button-icon",
6830
6831
  icon: "plus"
6831
6832
  }),
6832
- m[0] || (m[0] = le("Выберите файл ", -1))
6833
+ le(G(i.value), 1)
6833
6834
  ]),
6834
6835
  _: 1
6835
6836
  }))
@@ -6841,22 +6842,22 @@ const {
6841
6842
  type: "file",
6842
6843
  multiple: e.multiple,
6843
6844
  accept: e.accept,
6844
- onChange: u
6845
+ onChange: c
6845
6846
  }, null, 40, sd),
6846
- l.value.length ? (h(), S("div", od, [
6847
+ u.value.length ? (v(), S("div", od, [
6847
6848
  d.$slots.preview ? I(d.$slots, "preview", {
6848
6849
  key: 0,
6849
- files: l.value,
6850
- remove: p
6851
- }) : (h(!0), S(ee, { key: 1 }, de(l.value, (v, g) => (h(), S("div", {
6852
- 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}`,
6853
6854
  class: "s-upload-content-item"
6854
6855
  }, [
6855
- E("span", null, G(v), 1),
6856
+ E("span", null, G(g), 1),
6856
6857
  Z(R(ne), {
6857
6858
  icon: "xmark",
6858
6859
  class: "delete",
6859
- onClick: (k) => p(v)
6860
+ onClick: (P) => b(g)
6860
6861
  }, null, 8, ["onClick"])
6861
6862
  ]))), 128))
6862
6863
  ])) : B("", !0),
@@ -6877,10 +6878,10 @@ function yd(e) {
6877
6878
  return t;
6878
6879
  }
6879
6880
  var bd = yd, Sd = bd, wd = /^\s+/;
6880
- function kd(e) {
6881
+ function xd(e) {
6881
6882
  return e && e.slice(0, Sd(e) + 1).replace(wd, "");
6882
6883
  }
6883
- 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;
6884
6885
  function _d(e) {
6885
6886
  var t = Od.call(e, ft), n = e[ft];
6886
6887
  try {
@@ -6903,11 +6904,11 @@ var Ld = Dd;
6903
6904
  function Bd(e) {
6904
6905
  return e != null && typeof e == "object";
6905
6906
  }
6906
- var Ud = Bd, zd = Ld, Hd = Ud, Vd = "[object Symbol]";
6907
+ var Ud = Bd, zd = Ld, Vd = Ud, Hd = "[object Symbol]";
6907
6908
  function Wd(e) {
6908
- return typeof e == "symbol" || Hd(e) && zd(e) == Vd;
6909
+ return typeof e == "symbol" || Vd(e) && zd(e) == Hd;
6909
6910
  }
6910
- 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;
6911
6912
  function Zd(e) {
6912
6913
  if (typeof e == "number")
6913
6914
  return e;
@@ -6933,43 +6934,43 @@ function sm(e, t, n) {
6933
6934
  var D = r, se = a;
6934
6935
  return r = a = void 0, u = L, s = e.apply(se, D), s;
6935
6936
  }
6936
- function d(L) {
6937
+ function m(L) {
6937
6938
  return u = L, i = setTimeout(g, t), c ? b(L) : s;
6938
6939
  }
6939
- function m(L) {
6940
+ function d(L) {
6940
6941
  var D = L - l, se = L - u, X = t - D;
6941
6942
  return f ? am(X, o - se) : X;
6942
6943
  }
6943
- function v(L) {
6944
+ function h(L) {
6944
6945
  var D = L - l, se = L - u;
6945
6946
  return l === void 0 || D >= t || D < 0 || f && se >= o;
6946
6947
  }
6947
6948
  function g() {
6948
6949
  var L = vn();
6949
- if (v(L))
6950
- return k(L);
6951
- i = setTimeout(g, m(L));
6950
+ if (h(L))
6951
+ return w(L);
6952
+ i = setTimeout(g, d(L));
6952
6953
  }
6953
- function k(L) {
6954
+ function w(L) {
6954
6955
  return i = void 0, p && r ? b(L) : (r = a = void 0, s);
6955
6956
  }
6956
- function N() {
6957
+ function P() {
6957
6958
  i !== void 0 && clearTimeout(i), u = 0, r = l = a = i = void 0;
6958
6959
  }
6959
6960
  function W() {
6960
- return i === void 0 ? s : k(vn());
6961
+ return i === void 0 ? s : w(vn());
6961
6962
  }
6962
- function H() {
6963
- var L = vn(), D = v(L);
6963
+ function V() {
6964
+ var L = vn(), D = h(L);
6964
6965
  if (r = arguments, a = this, l = L, D) {
6965
6966
  if (i === void 0)
6966
- return d(l);
6967
+ return m(l);
6967
6968
  if (f)
6968
6969
  return clearTimeout(i), i = setTimeout(g, t), b(l);
6969
6970
  }
6970
6971
  return i === void 0 && (i = setTimeout(g, t)), s;
6971
6972
  }
6972
- return H.cancel = N, H.flush = W, H;
6973
+ return V.cancel = P, V.flush = W, V;
6973
6974
  }
6974
6975
  var om = sm;
6975
6976
  const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
@@ -6990,7 +6991,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
6990
6991
  },
6991
6992
  { immediate: !0 }
6992
6993
  );
6993
- const s = J(null), i = V(() => {
6994
+ const s = J(null), i = H(() => {
6994
6995
  var u;
6995
6996
  return (((u = r.default) == null ? void 0 : u.call(r)) || []).map((c) => {
6996
6997
  var f;
@@ -7003,8 +7004,8 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7003
7004
  }));
7004
7005
  });
7005
7006
  });
7006
- return (l, u) => (h(), S("div", lm, [
7007
- 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)
7008
7009
  ]));
7009
7010
  }
7010
7011
  }, cm = { class: "s-filtergroup" }, fm = {
@@ -7042,7 +7043,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7042
7043
  setup(e) {
7043
7044
  const t = e, n = Oe(e, "modelValue");
7044
7045
  Te("sFilterGroup-model", n), Te("sFilterGroup-updateValue", (i, l) => {
7045
- 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);
7046
7047
  });
7047
7048
  const a = () => {
7048
7049
  const i = {};
@@ -7058,7 +7059,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7058
7059
  }, s = () => {
7059
7060
  t.bindToQuery && (n.value = a());
7060
7061
  };
7061
- 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, [
7062
7063
  I(i.$slots, "default")
7063
7064
  ]));
7064
7065
  }
@@ -7085,26 +7086,26 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7085
7086
  }
7086
7087
  },
7087
7088
  setup(e) {
7088
- const t = e, n = V(() => t.data ? t.data instanceof Array ? t.data.length === 0 : Object.values(t.data).length === 0 : !1);
7089
- 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", {
7090
7091
  class: z(["s-table", { hoverable: e.hoverable, striped: e.striped, bordered: e.bordered, scrollon_top: t.scroll === "top" }])
7091
7092
  }, [
7092
7093
  E("table", null, [
7093
- r.$slots.header || r.$slots.headers ? (h(), S("thead", dm, [
7094
- 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, [
7095
7096
  I(r.$slots, "header")
7096
7097
  ])) : r.$slots.headers ? I(r.$slots, "headers", { key: 1 }) : B("", !0)
7097
7098
  ], 512)) : B("", !0),
7098
7099
  E("tbody", null, [
7099
- r.$slots.row ? (h(), S(ee, { key: 0 }, [
7100
- n.value ? (h(), S("tr", pm, [
7100
+ r.$slots.row ? (v(), S(ee, { key: 0 }, [
7101
+ n.value ? (v(), S("tr", pm, [
7101
7102
  E("td", hm, [
7102
7103
  I(r.$slots, "nodata", {}, () => [
7103
7104
  le(G(e.nodata), 1)
7104
7105
  ])
7105
7106
  ])
7106
7107
  ])) : B("", !0),
7107
- (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", {
7108
7109
  key: `${s}-stable`
7109
7110
  }, [
7110
7111
  I(r.$slots, "row", {
@@ -7114,8 +7115,8 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7114
7115
  ]))), 128))
7115
7116
  ], 64)) : I(r.$slots, "default", { key: 1 })
7116
7117
  ]),
7117
- r.$slots.footer || r.$slots.footers ? (h(), S("tfoot", vm, [
7118
- 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, [
7119
7120
  I(r.$slots, "footer")
7120
7121
  ])) : B("", !0),
7121
7122
  r.$slots.footers ? I(r.$slots, "footers", { key: 1 }) : B("", !0)
@@ -7126,10 +7127,10 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7126
7127
  }, bm = {
7127
7128
  key: 0,
7128
7129
  class: "s-pagination-links"
7129
- }, Sm = ["innerHTML"], wm = { class: "s-pagination-options" }, km = {
7130
+ }, Sm = ["innerHTML"], wm = { class: "s-pagination-options" }, xm = {
7130
7131
  key: 0,
7131
7132
  class: "s-options-pagination-perPage"
7132
- }, xm = {
7133
+ }, km = {
7133
7134
  key: 1,
7134
7135
  class: "s-options-pagination-shown-counter"
7135
7136
  }, $m = { class: "s-pagination-options-shown-counter-range" }, Am = {
@@ -7138,7 +7139,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7138
7139
  url: {
7139
7140
  type: String,
7140
7141
  default() {
7141
- return location.pathname;
7142
+ return typeof location != "undefined" ? location.pathname : "/";
7142
7143
  }
7143
7144
  },
7144
7145
  links: Object,
@@ -7167,19 +7168,19 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7167
7168
  const a = t.perPageOptions ? Object.entries(t.perPageOptions).reduce((o, [s, i]) => (o[parseInt(i)] = `По ${i}`, o), {}) : null;
7168
7169
  return (o, s) => {
7169
7170
  const i = yt("Link");
7170
- return h(), S("div", {
7171
+ return v(), S("div", {
7171
7172
  class: z(["s-pagination", { "s-pagination-right": e.links.length <= 3 }])
7172
7173
  }, [
7173
- e.links.length > 3 ? (h(), S("div", bm, [
7174
- (h(!0), S(ee, null, de(e.links, (l, u) => (h(), S(ee, { key: u }, [
7175
- 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, {
7176
7177
  key: 0,
7177
7178
  class: z({ active: l.active }),
7178
7179
  innerHTML: l.label,
7179
7180
  href: l.url ? l.url.replace(/[\?\&]page\=1$/, "") : "",
7180
7181
  "preserve-scroll": e.preserveScroll,
7181
7182
  "preserve-state": e.preserveState
7182
- }, 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", {
7183
7184
  key: 1,
7184
7185
  class: z({ active: l.active }),
7185
7186
  innerHTML: l.label
@@ -7187,7 +7188,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7187
7188
  ], 64))), 128))
7188
7189
  ])) : B("", !0),
7189
7190
  E("div", wm, [
7190
- e.perPageOptions ? (h(), S("div", km, [
7191
+ e.perPageOptions ? (v(), S("div", xm, [
7191
7192
  Z(bs, {
7192
7193
  modelValue: n.value,
7193
7194
  "onUpdate:modelValue": s[0] || (s[0] = (l) => n.value = l),
@@ -7195,7 +7196,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7195
7196
  onChange: r
7196
7197
  }, null, 8, ["modelValue", "options"])
7197
7198
  ])) : B("", !0),
7198
- e.from && e.to && e.total ? (h(), S("div", xm, [
7199
+ e.from && e.to && e.total ? (v(), S("div", km, [
7199
7200
  s[1] || (s[1] = le(" Показаны: ", -1)),
7200
7201
  E("span", $m, G(e.from) + " - " + G(e.to), 1),
7201
7202
  le(" из " + G(e.total), 1)
@@ -7233,48 +7234,48 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7233
7234
  const n = e, r = t, a = Oe(e, "modelValue");
7234
7235
  let o = we("sharedExpandedKeys", null);
7235
7236
  if (o === null) {
7236
- const m = n.storeExpandedKeysTo ? JSON.parse(localStorage.getItem(n.storeExpandedKeysTo)) : null;
7237
- 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);
7238
7239
  }
7239
- Ae(o, (m) => {
7240
- n.storeExpandedKeysTo && localStorage.setItem(n.storeExpandedKeysTo, JSON.stringify(m));
7240
+ Ae(o, (d) => {
7241
+ n.storeExpandedKeysTo && localStorage.setItem(n.storeExpandedKeysTo, JSON.stringify(d));
7241
7242
  }, { deep: !0 });
7242
7243
  const s = we("sharedDropTarget", J(null));
7243
7244
  s.value || Te("sharedDropTarget", s);
7244
7245
  const i = we("draggingNode", J(null));
7245
7246
  i.value || Te("draggingNode", i);
7246
- function l(m) {
7247
- 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);
7248
7249
  }
7249
- function u(m) {
7250
- if (o.value.includes(m.id)) {
7251
- const v = d(m);
7252
- 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);
7253
7254
  } else
7254
- o.value.push(m.id);
7255
+ o.value.push(d.id);
7255
7256
  }
7256
- function c(m, v) {
7257
- 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);
7258
7259
  }
7259
- function f(m, v) {
7260
- var N;
7261
- 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) {
7262
7263
  s.value = null;
7263
7264
  return;
7264
7265
  }
7265
- const g = v.currentTarget.getBoundingClientRect(), k = v.clientY - g.top;
7266
- k >= g.height * 0.35 && k <= g.height * 0.65 ? s.value = { id: m.id, position: "center", relation: "inner" } : k < 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" };
7267
7268
  }
7268
- function p(m) {
7269
- const v = m.currentTarget.getBoundingClientRect();
7270
- if (m.clientY < v.top) {
7269
+ function p(d) {
7270
+ const h = d.currentTarget.getBoundingClientRect();
7271
+ if (d.clientY < h.top) {
7271
7272
  if (n.data.length > 0) {
7272
7273
  const g = n.data[0];
7273
7274
  s.value = { id: g.id, relation: "before" };
7274
7275
  }
7275
7276
  return;
7276
7277
  }
7277
- if (m.clientY > v.bottom) {
7278
+ if (d.clientY > h.bottom) {
7278
7279
  if (n.data.length > 0) {
7279
7280
  const g = n.data[n.data.length - 1];
7280
7281
  s.value = { id: g.id, relation: "after" };
@@ -7283,73 +7284,73 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7283
7284
  }
7284
7285
  s.value = null;
7285
7286
  }
7286
- function b(m, v) {
7287
- var k;
7288
- if (i.value.id === m.id)
7287
+ function b(d, h) {
7288
+ var w;
7289
+ if (i.value.id === d.id)
7289
7290
  return;
7290
- const g = (k = s.value) == null ? void 0 : k.relation;
7291
- r("drop", m, v, g), i.value = null, s.value = null;
7291
+ const g = (w = s.value) == null ? void 0 : w.relation;
7292
+ r("drop", d, h, g), i.value = null, s.value = null;
7292
7293
  }
7293
- function d(m) {
7294
- let v = [];
7295
- if (m.children)
7296
- for (let g of m.children)
7297
- v = v.concat(d(g));
7298
- 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;
7299
7300
  }
7300
- return (m, v) => {
7301
+ return (d, h) => {
7301
7302
  const g = yt("STree", !0);
7302
- return h(), S("div", {
7303
+ return v(), S("div", {
7303
7304
  class: "s-tree",
7304
7305
  onDragleave: p
7305
7306
  }, [
7306
- (h(!0), S(ee, null, de(e.data, (k) => {
7307
- var N, W, H, L, D, se;
7308
- return h(), S(ee, {
7309
- key: k.id
7307
+ (v(!0), S(ee, null, de(e.data, (w) => {
7308
+ var P, W, V, L, D, se;
7309
+ return v(), S(ee, {
7310
+ key: w.id
7310
7311
  }, [
7311
7312
  E("div", {
7312
7313
  class: z(["s-tree-cell", {
7313
- selected: a.value === k.id,
7314
- expanded: R(o).includes(k.id),
7315
- dropTarget: ((N = R(s)) == null ? void 0 : N.id) === k.id && ((W = R(s)) == null ? void 0 : W.position) === "center",
7316
- dropTargetTop: ((H = R(s)) == null ? void 0 : H.id) === k.id && ((L = R(s)) == null ? void 0 : L.position) === "top",
7317
- dropTargetBottom: ((D = R(s)) == null ? void 0 : D.id) === k.id && ((se = R(s)) == null ? void 0 : se.position) === "bottom"
7314
+ selected: a.value === w.id,
7315
+ expanded: R(o).includes(w.id),
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",
7318
+ dropTargetBottom: ((D = R(s)) == null ? void 0 : D.id) === w.id && ((se = R(s)) == null ? void 0 : se.position) === "bottom"
7318
7319
  }]),
7319
- onClick: $e((X) => l(k), ["stop"]),
7320
- onDragstart: (X) => c(k, X),
7320
+ onClick: $e((X) => l(w), ["stop"]),
7321
+ onDragstart: (X) => c(w, X),
7321
7322
  draggable: e.draggable,
7322
- onDragover: $e((X) => f(k, X), ["prevent"]),
7323
- onDrop: (X) => b(k, X)
7323
+ onDragover: $e((X) => f(w, X), ["prevent"]),
7324
+ onDrop: (X) => b(w, X)
7324
7325
  }, [
7325
- k.children && k.children.length ? (h(), re(R(ne), {
7326
+ w.children && w.children.length ? (v(), re(R(ne), {
7326
7327
  key: 0,
7327
7328
  class: "s-tree-toggle",
7328
7329
  icon: "caret-right",
7329
- onClick: $e((X) => u(k), ["stop"])
7330
+ onClick: $e((X) => u(w), ["stop"])
7330
7331
  }, null, 8, ["onClick"])) : B("", !0),
7331
- m.$slots.node ? I(m.$slots, "node", {
7332
+ d.$slots.node ? I(d.$slots, "node", {
7332
7333
  key: 1,
7333
- node: k
7334
- }) : (h(), S(ee, { key: 2 }, [
7335
- le(G(k.label), 1)
7334
+ node: w
7335
+ }) : (v(), S(ee, { key: 2 }, [
7336
+ le(G(w.label), 1)
7336
7337
  ], 64))
7337
7338
  ], 42, Om),
7338
- k.children && R(o).includes(k.id) ? (h(), re(g, {
7339
+ w.children && R(o).includes(w.id) ? (v(), re(g, {
7339
7340
  key: 0,
7340
7341
  modelValue: a.value,
7341
- "onUpdate:modelValue": v[0] || (v[0] = (X) => a.value = X),
7342
+ "onUpdate:modelValue": h[0] || (h[0] = (X) => a.value = X),
7342
7343
  draggable: e.draggable,
7343
- data: k.children,
7344
+ data: w.children,
7344
7345
  onDragstart: (X, C) => r("dragstart", X, C),
7345
- onDrop: v[1] || (v[1] = (X, C, $) => r("drop", X, C, $)),
7346
+ onDrop: h[1] || (h[1] = (X, C, A) => r("drop", X, C, A)),
7346
7347
  selectable: e.selectable,
7347
7348
  onChange: (X) => r("change", X)
7348
7349
  }, to({ _: 2 }, [
7349
- m.$slots.node ? {
7350
+ d.$slots.node ? {
7350
7351
  name: "node",
7351
- fn: ke(({ node: X }) => [
7352
- I(m.$slots, "node", { node: X })
7352
+ fn: xe(({ node: X }) => [
7353
+ I(d.$slots, "node", { node: X })
7353
7354
  ]),
7354
7355
  key: "0"
7355
7356
  } : void 0
@@ -7373,12 +7374,12 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7373
7374
  },
7374
7375
  onCancel: () => {
7375
7376
  }
7376
- }, o = J({}), s = Ce("$dialog"), i = Ce("$header"), { x: l, y: u, style: c } = Hn(s, { handle: i });
7377
- function f(d, m) {
7378
- 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(() => {
7379
7380
  var g;
7380
- const v = (g = s.value) == null ? void 0 : g.getBoundingClientRect();
7381
- 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);
7382
7383
  });
7383
7384
  }
7384
7385
  function p() {
@@ -7387,8 +7388,8 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7387
7388
  function b() {
7388
7389
  o.value.onCancel(), o.value = {}, n.value = !1;
7389
7390
  }
7390
- return t({ open: f }), (d, m) => (h(), re(Ge, { to: "body" }, [
7391
- 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, [
7392
7393
  E("div", {
7393
7394
  class: "s-confirm-dialog",
7394
7395
  style: ge(R(c)),
@@ -7403,7 +7404,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7403
7404
  E("h2", null, G(o.value.title), 1),
7404
7405
  Z(R(ne), {
7405
7406
  icon: "xmark",
7406
- onClick: m[0] || (m[0] = (v) => n.value = !1)
7407
+ onClick: d[0] || (d[0] = (h) => n.value = !1)
7407
7408
  })
7408
7409
  ], 512),
7409
7410
  E("div", Tm, [
@@ -7413,7 +7414,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7413
7414
  outlined: "",
7414
7415
  onClick: b
7415
7416
  }, {
7416
- default: ke(() => [
7417
+ default: xe(() => [
7417
7418
  le(G(o.value.cancelLabel), 1)
7418
7419
  ]),
7419
7420
  _: 1
@@ -7422,7 +7423,7 @@ const im = /* @__PURE__ */ ws(om), lm = { class: "s-filter" }, um = {
7422
7423
  color: "red",
7423
7424
  onClick: p
7424
7425
  }, {
7425
- default: ke(() => [
7426
+ default: xe(() => [
7426
7427
  le(G(o.value.acceptLabel), 1)
7427
7428
  ]),
7428
7429
  _: 1
@@ -7466,18 +7467,18 @@ const Xs = {
7466
7467
  },
7467
7468
  emits: ["click"],
7468
7469
  setup(e, { emit: t }) {
7469
- 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");
7470
7471
  function s() {
7471
7472
  n.confirm ? Xs.open(n.confirm, {
7472
7473
  title: n.confirmTitle,
7473
7474
  onAccept: () => r("click")
7474
7475
  }) : r("click");
7475
7476
  }
7476
- return (i, l) => (h(), re(St(o.value), {
7477
+ return (i, l) => (v(), re(St(o.value), {
7477
7478
  class: z(["s-actionicon", { danger: e.danger }]),
7478
7479
  onClick: s
7479
7480
  }, {
7480
- default: ke(() => [
7481
+ default: xe(() => [
7481
7482
  Z(R(ne), { icon: e.icon }, null, 8, ["icon"])
7482
7483
  ]),
7483
7484
  _: 1
@@ -7533,10 +7534,10 @@ const Xs = {
7533
7534
  o.value = b[t.at](), s.value = t.at;
7534
7535
  return;
7535
7536
  }
7536
- const d = window.innerWidth - f.right > p.width / 2 && f.left > p.width / 2;
7537
- 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");
7538
7539
  }
7539
- return (f, p) => (h(), S("div", Rm, [
7540
+ return (f, p) => (v(), S("div", Rm, [
7540
7541
  E("div", {
7541
7542
  ref_key: "$icon",
7542
7543
  ref: a,
@@ -7551,7 +7552,7 @@ const Xs = {
7551
7552
  ]),
7552
7553
  p[0] || (p[0] = E("div", { class: "s-tooltip-hoverarea" }, null, -1))
7553
7554
  ], 544),
7554
- n.value ? (h(), re(Ge, {
7555
+ n.value ? (v(), re(Ge, {
7555
7556
  key: 0,
7556
7557
  to: "body"
7557
7558
  }, [
@@ -7584,14 +7585,14 @@ const Xs = {
7584
7585
  error: Boolean
7585
7586
  },
7586
7587
  setup(e) {
7587
- return (t, n) => (h(), S("div", {
7588
+ return (t, n) => (v(), S("div", {
7588
7589
  class: z(["s-note", { gray: e.gray, attention: e.attention, success: e.success, error: e.error, has_icon: e.icon }])
7589
7590
  }, [
7590
- e.icon ? (h(), re(R(ne), {
7591
+ e.icon ? (v(), re(R(ne), {
7591
7592
  key: 0,
7592
7593
  icon: e.icon
7593
7594
  }, null, 8, ["icon"])) : B("", !0),
7594
- 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),
7595
7596
  E("div", Dm, [
7596
7597
  I(t.$slots, "default")
7597
7598
  ])
@@ -7626,7 +7627,7 @@ const Xs = {
7626
7627
  t.opened && o && (o.value = r);
7627
7628
  }), o && Ae(o, (l, u) => {
7628
7629
  a.value = l === r && l !== u;
7629
- }), (l, u) => (h(), S("div", {
7630
+ }), (l, u) => (v(), S("div", {
7630
7631
  class: z(["s-toggle", [{ opened: a.value }, e.color]])
7631
7632
  }, [
7632
7633
  E("div", {
@@ -7645,18 +7646,18 @@ const Xs = {
7645
7646
  ])
7646
7647
  ], 2));
7647
7648
  }
7648
- }), zm = { class: "s-togglegroup" }, Hm = {
7649
+ }), zm = { class: "s-togglegroup" }, Vm = {
7649
7650
  __name: "SToggleGroup",
7650
7651
  props: {
7651
7652
  multiple: Boolean
7652
7653
  },
7653
7654
  setup(e) {
7654
- const t = e, n = J(null), r = V(() => t.multiple);
7655
- 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, [
7656
7657
  I(a.$slots, "default")
7657
7658
  ]));
7658
7659
  }
7659
- }, Vm = { class: "s-dialog" }, Wm = { class: "s-dialog-window-body" }, Ym = {
7660
+ }, Hm = { class: "s-dialog" }, Wm = { class: "s-dialog-window-body" }, Ym = {
7660
7661
  __name: "SDialog",
7661
7662
  props: /* @__PURE__ */ ie({
7662
7663
  title: String,
@@ -7668,16 +7669,16 @@ const Xs = {
7668
7669
  }),
7669
7670
  emits: /* @__PURE__ */ ie(["overlay-click", "hide"], ["update:modelValue"]),
7670
7671
  setup(e, { emit: t }) {
7671
- 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 });
7672
7673
  pa(o, () => {
7673
7674
  c();
7674
7675
  });
7675
7676
  const c = () => {
7676
- var m;
7677
- const d = (m = o.value) == null ? void 0 : m.getBoundingClientRect();
7678
- d && (i.value = document.documentElement.clientWidth / 2 - d.width / 2, l.value = document.documentElement.clientHeight / 2 - d.height / 2);
7679
- }, f = function(d) {
7680
- 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) {
7681
7682
  window.removeEventListener("resize", c);
7682
7683
  return;
7683
7684
  }
@@ -7692,12 +7693,12 @@ const Xs = {
7692
7693
  function b() {
7693
7694
  a.value = !1, r("hide");
7694
7695
  }
7695
- return (d, m) => (h(), S("template", null, [
7696
- a.value ? (h(), re(Ge, {
7696
+ return (m, d) => (v(), S("template", null, [
7697
+ a.value ? (v(), re(Ge, {
7697
7698
  key: 0,
7698
7699
  to: "body"
7699
7700
  }, [
7700
- E("div", Vm, [
7701
+ E("div", Hm, [
7701
7702
  E("div", {
7702
7703
  ref_key: "$window",
7703
7704
  ref: o,
@@ -7716,10 +7717,10 @@ const Xs = {
7716
7717
  })
7717
7718
  ], 512),
7718
7719
  E("div", Wm, [
7719
- I(d.$slots, "default")
7720
+ I(m.$slots, "default")
7720
7721
  ])
7721
7722
  ], 4),
7722
- e.notModal ? B("", !0) : (h(), S("div", {
7723
+ e.notModal ? B("", !0) : (v(), S("div", {
7723
7724
  key: 0,
7724
7725
  class: "s-dialog-background",
7725
7726
  onClick: p
@@ -7744,7 +7745,7 @@ const Xs = {
7744
7745
  const { height: f } = c[0].contentRect;
7745
7746
  a.value = f;
7746
7747
  });
7747
- const { x: o, y: s, style: i } = Hn(r, {
7748
+ const { x: o, y: s, style: i } = Vn(r, {
7748
7749
  preventDefault: !0,
7749
7750
  stopPropagation: !0
7750
7751
  }), l = () => {
@@ -7760,7 +7761,7 @@ const Xs = {
7760
7761
  window.addEventListener("resize", l), at(() => {
7761
7762
  l();
7762
7763
  });
7763
- }), (c, f) => (h(), S("div", {
7764
+ }), (c, f) => (v(), S("div", {
7764
7765
  class: "s-imagepreview",
7765
7766
  onClick: f[0] || (f[0] = $e((p) => t.value = !0, ["prevent"]))
7766
7767
  }, [
@@ -7777,7 +7778,7 @@ const Xs = {
7777
7778
  Z(R(ne), { icon: "magnifying-glass-plus" })
7778
7779
  ])
7779
7780
  ]),
7780
- t.value ? (h(), re(Ge, {
7781
+ t.value ? (v(), re(Ge, {
7781
7782
  key: 0,
7782
7783
  to: "body"
7783
7784
  }, [
@@ -7813,10 +7814,10 @@ const Xs = {
7813
7814
  r.value = !1;
7814
7815
  }, (p = f.closeAfter) != null ? p : 3e3);
7815
7816
  };
7816
- 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" }, [
7817
7818
  Z(no, { name: "fade" }, {
7818
- default: ke(() => [
7819
- r.value ? (h(), S("div", {
7819
+ default: xe(() => [
7820
+ r.value ? (v(), S("div", {
7820
7821
  key: 0,
7821
7822
  class: z(["s-alert", [a.value]]),
7822
7823
  innerHTML: n.value,
@@ -7850,7 +7851,7 @@ const Zm = {
7850
7851
  color: {}
7851
7852
  },
7852
7853
  setup(e) {
7853
- return (t, n) => (h(), S("div", {
7854
+ return (t, n) => (v(), S("div", {
7854
7855
  class: z(["s-tag", e.color])
7855
7856
  }, [
7856
7857
  I(t.$slots, "default")
@@ -7863,13 +7864,12 @@ const Zm = {
7863
7864
  icon: {}
7864
7865
  },
7865
7866
  setup(e) {
7866
- return (t, n) => (h(), S("div", {
7867
+ return (t, n) => (v(), S("div", {
7867
7868
  class: z(["s-status", e.color])
7868
7869
  }, [
7869
- e.icon ? (h(), re(R(ne), {
7870
+ e.icon ? (v(), re(R(ne), {
7870
7871
  key: 0,
7871
- icon: e.icon,
7872
- class: "mr-2"
7872
+ icon: e.icon
7873
7873
  }, null, 8, ["icon"])) : B("", !0),
7874
7874
  I(t.$slots, "default")
7875
7875
  ], 2));
@@ -7879,7 +7879,7 @@ const Zm = {
7879
7879
  }, {
7880
7880
  __name: "SActionBar",
7881
7881
  setup(e) {
7882
- return (t, n) => (h(), re(Ge, { to: "body" }, [
7882
+ return (t, n) => (v(), re(Ge, { to: "body" }, [
7883
7883
  E("div", np, [
7884
7884
  I(t.$slots, "default")
7885
7885
  ])
@@ -7892,8 +7892,8 @@ const Zm = {
7892
7892
  percentage: Number
7893
7893
  },
7894
7894
  setup(e) {
7895
- const t = e, n = V(() => t.percentage < 5 ? "right" : "left");
7896
- 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, [
7897
7897
  E("div", sp, [
7898
7898
  I(r.$slots, "default")
7899
7899
  ]),
@@ -7930,8 +7930,8 @@ const Zm = {
7930
7930
  },
7931
7931
  setup(e) {
7932
7932
  let t = Kt();
7933
- const { copy: n, copied: r, isSupported: a } = so(), o = V(() => t.default()[0].children);
7934
- 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", {
7935
7935
  key: 0,
7936
7936
  class: z(["s-copytext layout_inline", { success: R(r) }]),
7937
7937
  title: "Скопировать",
@@ -7943,15 +7943,15 @@ const Zm = {
7943
7943
  E("div", lp, [
7944
7944
  I(s.$slots, "default")
7945
7945
  ]),
7946
- R(a) ? (h(), re(R(ne), {
7946
+ R(a) ? (v(), re(R(ne), {
7947
7947
  key: 0,
7948
7948
  icon: R(r) ? "check" : "copy"
7949
7949
  }, null, 8, ["icon"])) : B("", !0)
7950
- ], 2)) : (h(), S("div", up, [
7950
+ ], 2)) : (v(), S("div", up, [
7951
7951
  E("div", cp, [
7952
7952
  I(s.$slots, "default")
7953
7953
  ]),
7954
- R(a) ? (h(), re(R(ne), {
7954
+ R(a) ? (v(), re(R(ne), {
7955
7955
  key: 0,
7956
7956
  icon: R(r) ? "check" : "copy",
7957
7957
  class: z({ success: R(r) }),
@@ -7977,8 +7977,8 @@ const Zm = {
7977
7977
  function n(r, a) {
7978
7978
  return typeof t.keyBy == "function" ? t.keyBy(r, a) : typeof t.keyBy == "string" && r && t.keyBy in r ? r[t.keyBy] : a;
7979
7979
  }
7980
- return (r, a) => (h(), S("div", dp, [
7981
- (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", {
7982
7982
  class: "s-timeline-row",
7983
7983
  key: n(o, s)
7984
7984
  }, [
@@ -8002,7 +8002,7 @@ const Zm = {
8002
8002
  }, {
8003
8003
  __name: "SDashboard",
8004
8004
  setup(e) {
8005
- return (t, n) => (h(), S("div", hp, [
8005
+ return (t, n) => (v(), S("div", hp, [
8006
8006
  I(t.$slots, "default")
8007
8007
  ]));
8008
8008
  }
@@ -8022,17 +8022,17 @@ const Zm = {
8022
8022
  red: Boolean
8023
8023
  },
8024
8024
  setup(e) {
8025
- const t = e, n = V(() => t.maxContentHeight ? "max-height: " + parseInt(t.maxContentHeight) + "px" : "");
8026
- 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", {
8027
8027
  class: z(["s-dashboard-item", { gray: e.gray, green: e.green, red: e.red }])
8028
8028
  }, [
8029
- 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, [
8030
8030
  E("div", yp, [
8031
8031
  I(r.$slots, "title", {}, () => [
8032
8032
  le(G(e.title), 1)
8033
8033
  ])
8034
8034
  ]),
8035
- r.$slots.extra ? (h(), S("div", bp, [
8035
+ r.$slots.extra ? (v(), S("div", bp, [
8036
8036
  I(r.$slots, "extra")
8037
8037
  ])) : B("", !0)
8038
8038
  ])) : B("", !0),
@@ -8044,7 +8044,7 @@ const Zm = {
8044
8044
  ], 6)
8045
8045
  ], 2));
8046
8046
  }
8047
- }, wp = { class: "s-stat-title" }, kp = { class: "s-stat-value" }, xp = {
8047
+ }, wp = { class: "s-stat-title" }, xp = { class: "s-stat-value" }, kp = {
8048
8048
  __name: "SStat",
8049
8049
  props: {
8050
8050
  title: String,
@@ -8054,7 +8054,7 @@ const Zm = {
8054
8054
  wide: Boolean
8055
8055
  },
8056
8056
  setup(e) {
8057
- return (t, n) => (h(), S("div", {
8057
+ return (t, n) => (v(), S("div", {
8058
8058
  class: z(["s-stat", { nowrap: e.nowrap, large: e.large, wide: e.wide }])
8059
8059
  }, [
8060
8060
  E("div", wp, [
@@ -8062,7 +8062,7 @@ const Zm = {
8062
8062
  le(G(e.title), 1)
8063
8063
  ])
8064
8064
  ]),
8065
- E("div", kp, [
8065
+ E("div", xp, [
8066
8066
  I(t.$slots, "default", {}, () => [
8067
8067
  le(G(e.value), 1)
8068
8068
  ])
@@ -8093,18 +8093,18 @@ const Zm = {
8093
8093
  },
8094
8094
  setup(e) {
8095
8095
  const t = J(!1);
8096
- return (n, r) => (h(), S("div", $p, [
8097
- n.$slots.header ? (h(), S("header", Ap, [
8096
+ return (n, r) => (v(), S("div", $p, [
8097
+ n.$slots.header ? (v(), S("header", Ap, [
8098
8098
  I(n.$slots, "header")
8099
8099
  ])) : B("", !0),
8100
- n.$slots.subheader ? (h(), S("div", Op, [
8100
+ n.$slots.subheader ? (v(), S("div", Op, [
8101
8101
  I(n.$slots, "subheader")
8102
8102
  ])) : B("", !0),
8103
8103
  I(n.$slots, "default"),
8104
8104
  E("div", Ep, [
8105
8105
  E("section", _p, [
8106
8106
  E("div", Tp, [
8107
- n.$slots.sidebar ? (h(), S("div", {
8107
+ n.$slots.sidebar ? (v(), S("div", {
8108
8108
  key: 0,
8109
8109
  class: z(["s-canvas-subheader-mobile", { opened: t.value }])
8110
8110
  }, [
@@ -8116,11 +8116,11 @@ const Zm = {
8116
8116
  le(" " + G(e.sidebarMobileTitle), 1)
8117
8117
  ])
8118
8118
  ], 2)) : B("", !0),
8119
- n.$slots.sidebar ? (h(), S("aside", {
8119
+ n.$slots.sidebar ? (v(), S("aside", {
8120
8120
  key: 1,
8121
8121
  class: z(["s-canvas-sidebar", { "mobile-opened": t.value }])
8122
8122
  }, [
8123
- e.hasStickySidebar ? (h(), S("div", Cp, [
8123
+ e.hasStickySidebar ? (v(), S("div", Cp, [
8124
8124
  I(n.$slots, "sidebar")
8125
8125
  ])) : I(n.$slots, "sidebar", { key: 1 })
8126
8126
  ], 2)) : B("", !0),
@@ -8137,7 +8137,7 @@ const Zm = {
8137
8137
  }, {
8138
8138
  __name: "SFooter",
8139
8139
  setup(e) {
8140
- return (t, n) => (h(), S("div", Fp, [
8140
+ return (t, n) => (v(), S("div", Fp, [
8141
8141
  I(t.$slots, "default")
8142
8142
  ]));
8143
8143
  }
@@ -8160,35 +8160,35 @@ const Zm = {
8160
8160
  labelLink: String
8161
8161
  },
8162
8162
  setup(e) {
8163
- const t = e, n = V(() => {
8163
+ const t = e, n = H(() => {
8164
8164
  for (let c of t.links)
8165
8165
  if (c.active) return JSON.parse(JSON.stringify(c));
8166
8166
  return null;
8167
- }), r = V(() => {
8167
+ }), r = H(() => {
8168
8168
  var c;
8169
8169
  return (c = t.label) != null ? c : n.value ? n.value.label : t.placeholder;
8170
- }), a = V(() => {
8170
+ }), a = H(() => {
8171
8171
  var c, f;
8172
8172
  return (f = t.labelLink) != null ? f : (c = n.value) == null ? void 0 : c.url;
8173
- }), 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 () => {
8174
8174
  await at();
8175
8175
  const c = s.value.getBoundingClientRect().x, f = i.value.getBoundingClientRect().width;
8176
8176
  l.value = f + 10 > c ? "left" : "right";
8177
8177
  };
8178
8178
  return (c, f) => {
8179
8179
  var p;
8180
- return h(), S("div", {
8180
+ return v(), S("div", {
8181
8181
  class: "s-dropdownmenu",
8182
8182
  onPointerenter: u,
8183
8183
  ref_key: "$container",
8184
8184
  ref: s
8185
8185
  }, [
8186
- (h(), re(St(o.value), {
8186
+ (v(), re(St(o.value), {
8187
8187
  class: "s-dropdownmenu-label",
8188
8188
  href: (p = e.labelLink) != null ? p : ""
8189
8189
  }, {
8190
- default: ke(() => [
8191
- 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)),
8192
8192
  Z(R(ne), { icon: "caret-down" })
8193
8193
  ]),
8194
8194
  _: 3
@@ -8198,12 +8198,12 @@ const Zm = {
8198
8198
  ref_key: "$list",
8199
8199
  ref: i
8200
8200
  }, [
8201
- 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), {
8202
8202
  key: b.label,
8203
8203
  href: b.url,
8204
8204
  class: z({ active: b.active })
8205
8205
  }, {
8206
- default: ke(() => [
8206
+ default: xe(() => [
8207
8207
  le(G(b.label), 1)
8208
8208
  ]),
8209
8209
  _: 2
@@ -8228,22 +8228,22 @@ const Zm = {
8228
8228
  setup(e) {
8229
8229
  return (t, n) => {
8230
8230
  const r = yt("Link"), a = yt("SHorizontalMenu", !0);
8231
- return h(), S("div", jp, [
8232
- (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", {
8233
8233
  class: z(["s-horizontalmenu-item", [o.className, o.active ? "active" : ""]]),
8234
8234
  key: o.label
8235
8235
  }, [
8236
- o.url ? (h(), re(r, {
8236
+ o.url ? (v(), re(r, {
8237
8237
  key: 0,
8238
8238
  class: "s-horizontalmenu-label",
8239
8239
  href: o.url
8240
8240
  }, {
8241
- default: ke(() => [
8241
+ default: xe(() => [
8242
8242
  le(G(o.label), 1)
8243
8243
  ]),
8244
8244
  _: 2
8245
- }, 1032, ["href"])) : (h(), S("div", Dp, G(o.label), 1)),
8246
- o.children ? (h(), S("div", Lp, [
8245
+ }, 1032, ["href"])) : (v(), S("div", Dp, G(o.label), 1)),
8246
+ o.children ? (v(), S("div", Lp, [
8247
8247
  Z(a, {
8248
8248
  links: o.children
8249
8249
  }, null, 8, ["links"])
@@ -8252,7 +8252,7 @@ const Zm = {
8252
8252
  ]);
8253
8253
  };
8254
8254
  }
8255
- }, Up = { class: "s-verticalmenu" }, zp = ["onClick"], Hp = ["onClick"], Vp = {
8255
+ }, Up = { class: "s-verticalmenu" }, zp = ["onClick"], Vp = ["onClick"], Hp = {
8256
8256
  __name: "SVerticalMenu",
8257
8257
  props: {
8258
8258
  // В формате [{label: '', url: '', active: ''}]
@@ -8273,7 +8273,7 @@ const Zm = {
8273
8273
  u.length && (i = i.concat(u)), (l.active || u.length) && i.push(l.id);
8274
8274
  }
8275
8275
  return i;
8276
- }, r = V(() => [
8276
+ }, r = H(() => [
8277
8277
  ...n(t.links),
8278
8278
  ...t.expandedKeys
8279
8279
  ]), a = t.storeExpandedKeysTo ? oo(t.storeExpandedKeysTo, r.value) : J(r.value), o = function(s) {
@@ -8281,13 +8281,13 @@ const Zm = {
8281
8281
  };
8282
8282
  return (s, i) => {
8283
8283
  const l = yt("SVerticalMenu", !0);
8284
- return h(), S("div", Up, [
8285
- (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", {
8286
8286
  class: z(["s-verticalmenu-item", [u.className, u.active ? "active" : "", u.type ? "type_" + u.type : ""]]),
8287
8287
  key: u.label
8288
8288
  }, [
8289
- u.url ? (h(), S(ee, { key: 0 }, [
8290
- u.children ? (h(), S("div", {
8289
+ u.url ? (v(), S(ee, { key: 0 }, [
8290
+ u.children ? (v(), S("div", {
8291
8291
  key: 0,
8292
8292
  class: z(["s-verticalmenu-toggler", { "is-opened": R(a).includes(u.id) }]),
8293
8293
  onClick: (c) => o(u.id)
@@ -8298,33 +8298,33 @@ const Zm = {
8298
8298
  class: z(["s-verticalmenu-label", { "not-published": u.isPublished !== void 0 && !u.isPublished }]),
8299
8299
  href: u.url
8300
8300
  }, {
8301
- default: ke(() => [
8301
+ default: xe(() => [
8302
8302
  le(G(u.label) + " ", 1),
8303
- u.isPublished !== void 0 && !u.isPublished ? (h(), re(R(ne), {
8303
+ u.isPublished !== void 0 && !u.isPublished ? (v(), re(R(ne), {
8304
8304
  key: 0,
8305
8305
  icon: "eye-slash"
8306
8306
  })) : B("", !0)
8307
8307
  ]),
8308
8308
  _: 2
8309
8309
  }, 1032, ["class", "href"])
8310
- ], 64)) : (h(), S("div", {
8310
+ ], 64)) : (v(), S("div", {
8311
8311
  key: 1,
8312
8312
  class: z(["s-verticalmenu-label", { "not-published": u.isPublished !== void 0 && !u.isPublished }]),
8313
8313
  onClick: (c) => o(u.id)
8314
8314
  }, [
8315
- u.children ? (h(), S("div", {
8315
+ u.children ? (v(), S("div", {
8316
8316
  key: 0,
8317
8317
  class: z(["s-verticalmenu-toggler", { "is-opened": R(a).includes(u.id) }])
8318
8318
  }, [
8319
8319
  Z(R(ne), { icon: "fa-angle-right" })
8320
8320
  ], 2)) : B("", !0),
8321
8321
  le(" " + G(u.label) + " ", 1),
8322
- u.isPublished !== void 0 && !u.isPublished ? (h(), re(R(ne), {
8322
+ u.isPublished !== void 0 && !u.isPublished ? (v(), re(R(ne), {
8323
8323
  key: 1,
8324
8324
  icon: "eye-slash"
8325
8325
  })) : B("", !0)
8326
- ], 10, Hp)),
8327
- u.children ? (h(), S("div", {
8326
+ ], 10, Vp)),
8327
+ u.children ? (v(), S("div", {
8328
8328
  key: 2,
8329
8329
  class: z(["s-verticalmenu-children", { "is-opened": R(a).includes(u.id) }])
8330
8330
  }, [
@@ -8360,7 +8360,7 @@ K.push(Im);
8360
8360
  K.push(Mm);
8361
8361
  K.push(Lm);
8362
8362
  K.push(Um);
8363
- K.push(Hm);
8363
+ K.push(Vm);
8364
8364
  K.push(Ym);
8365
8365
  K.push(Gm);
8366
8366
  K.push(Xs);
@@ -8373,12 +8373,12 @@ K.push(fp);
8373
8373
  K.push(pp);
8374
8374
  K.push(vp);
8375
8375
  K.push(Sp);
8376
- K.push(xp);
8376
+ K.push(kp);
8377
8377
  K.push(Np);
8378
8378
  K.push(Ip);
8379
8379
  K.push(Mp);
8380
8380
  K.push(Bp);
8381
- K.push(Vp);
8381
+ K.push(Hp);
8382
8382
  const vh = {
8383
8383
  install(e) {
8384
8384
  K.forEach((t) => {
@@ -8417,18 +8417,18 @@ export {
8417
8417
  Mn as SRadio,
8418
8418
  Ss as SRadioGroup,
8419
8419
  bs as SSelect,
8420
- xp as SStat,
8420
+ kp as SStat,
8421
8421
  tp as SStatus,
8422
8422
  mc as SSwitch,
8423
8423
  ym as STable,
8424
8424
  ep as STag,
8425
8425
  pp as STimeline,
8426
8426
  Um as SToggle,
8427
- Hm as SToggleGroup,
8427
+ Vm as SToggleGroup,
8428
8428
  Mm as STooltip,
8429
8429
  Em as STree,
8430
8430
  id as SUpload,
8431
- Vp as SVerticalMenu,
8431
+ Hp as SVerticalMenu,
8432
8432
  vh as default
8433
8433
  };
8434
8434
  //# sourceMappingURL=startup-ui.es.js.map