@dxtmisha/functional 1.0.9 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/library.js CHANGED
@@ -1,10 +1,64 @@
1
- var At = Object.defineProperty;
2
- var It = (i, t, e) => t in i ? At(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var k = (i, t, e) => It(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { i as d, D as Y, e as I, a as O, b as Nt, G as y, f, t as b, c as nt, d as B, g as Tt, h as K, j as m, k as C, A as j, l as g, E as Bt, m as F, r as G, L as ht, n as x } from "./Icons-C2lZhD4l.js";
5
- import { o as Ls, I as Ds, p as ks, q as Ms, s as As, u as Is, v as Ns, w as Ts } from "./Icons-C2lZhD4l.js";
6
- import { h as Ft, computed as c, toRefs as xt, useAttrs as Et, useSlots as Rt, ref as $, isRef as at, watch as p, triggerRef as Ot, shallowRef as W, onUnmounted as st, inject as Wt, provide as Pt, watchEffect as jt } from "vue";
7
- class Ht {
1
+ var Bt = Object.defineProperty;
2
+ var Tt = (i, t, e) => t in i ? Bt(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var k = (i, t, e) => Tt(i, typeof t != "symbol" ? t + "" : t, e);
4
+ import { D as Y, i as d, r as O, e as A, a as W, b as Ft, G as p, f, t as b, c as ot, d as T, g as Et, h as K, j as m, k as L, A as H, l as g, E as xt, m as F, L as ft, n as E } from "./Icons-Bp74_rUm.js";
5
+ import { o as Ns, I as Is, p as Bs, q as Ts, s as Fs, u as Es, v as xs, w as Rs } from "./Icons-Bp74_rUm.js";
6
+ import { ref as $, watch as y, h as Rt, computed as c, toRefs as Ot, useAttrs as Wt, useSlots as Pt, isRef as ct, triggerRef as jt, shallowRef as P, onUnmounted as it, inject as Ht, provide as Gt, watchEffect as zt } from "vue";
7
+ function Ut(i, t, e) {
8
+ if (i in _)
9
+ return _[i];
10
+ const s = new Y(i), n = $(s.get(t, e));
11
+ return y(n, (a) => s.set(a)), d() && window.addEventListener("storage", () => {
12
+ s.update(), n.value = s.get();
13
+ }), _[i] = n, n;
14
+ }
15
+ const _ = {};
16
+ class Zt {
17
+ /**
18
+ * Constructor
19
+ * @param name channel name/ название канала
20
+ * @param callback callback on message received/ колбэк на получение сообщения
21
+ */
22
+ constructor(t, e) {
23
+ if (this.callback = e, d())
24
+ try {
25
+ this.channel = new BroadcastChannel(`${Yt()}__${t}`), this.channel.onmessage = this.update;
26
+ } catch (s) {
27
+ console.error(`BroadcastMessage ${t}:`, s);
28
+ }
29
+ }
30
+ channel;
31
+ /**
32
+ * Send a message to the channel.
33
+ *
34
+ * Отправить сообщение в канал.
35
+ * @param message message to send/ сообщение для отправки
36
+ */
37
+ post(t) {
38
+ return this.channel?.postMessage(t), this;
39
+ }
40
+ /**
41
+ * Set the callback function to be called when a message is received.
42
+ *
43
+ * Установить функцию колбэка, которая будет вызвана при получении сообщения.
44
+ * @param callback callback function/ функция колбэка
45
+ */
46
+ setCallback(t) {
47
+ return this.callback = t, this;
48
+ }
49
+ /**
50
+ * Update state on message received.
51
+ *
52
+ * Обновление состояния при получении сообщения.
53
+ * @param event message event/ событие сообщения
54
+ */
55
+ update = (t) => (this.callback?.(t), this);
56
+ }
57
+ const Yt = () => Ut(
58
+ "__broadcast-name",
59
+ () => `name_${O(1e6, 9999999)}`
60
+ );
61
+ class Kt {
8
62
  /**
9
63
  * Constructor
10
64
  * @param callback function for the cache/ функция для кэша
@@ -67,7 +121,7 @@ class Ht {
67
121
  return this.cache === void 0 || this.comparisons.length !== t.length || this.comparisons.findIndex((e, s) => e !== t[s]) >= 0 ? (this.comparisons = [...t], !0) : !1;
68
122
  }
69
123
  }
70
- class Gt {
124
+ class Vt {
71
125
  cache = {};
72
126
  /**
73
127
  * Getting data for the cache, and if there is no cache, it performs a function to save the cache.
@@ -99,7 +153,7 @@ class Gt {
99
153
  * @param callback function for the cache/ функция для кэша
100
154
  */
101
155
  getCacheItem(t, e) {
102
- return t in this.cache || (this.cache[t] = new Ht(e)), this.cache[t];
156
+ return t in this.cache || (this.cache[t] = new Kt(e)), this.cache[t];
103
157
  }
104
158
  }
105
159
  const Z = class Z {
@@ -115,9 +169,9 @@ const Z = class Z {
115
169
  return this.cache.get(t, e, s);
116
170
  }
117
171
  };
118
- k(Z, "cache"), Z.cache = new Gt();
119
- let lt = Z;
120
- function $t(i, t = !1) {
172
+ k(Z, "cache"), Z.cache = new Vt();
173
+ let dt = Z;
174
+ function wt(i, t = !1) {
121
175
  if (typeof i == "string") {
122
176
  const e = i.trim();
123
177
  switch (e) {
@@ -148,9 +202,9 @@ function $t(i, t = !1) {
148
202
  }
149
203
  return i;
150
204
  }
151
- const zt = "cookie-block";
152
- class Ut {
153
- static storage = new Y(zt);
205
+ const qt = "cookie-block";
206
+ class _t {
207
+ static storage = new Y(qt);
154
208
  /**
155
209
  * Obtaining status.
156
210
  *
@@ -169,12 +223,11 @@ class Ut {
169
223
  this.storage.set(t);
170
224
  }
171
225
  }
172
- const gt = {};
173
- class Zt {
226
+ const mt = {}, lt = class lt {
174
227
  constructor(t) {
175
228
  if (this.name = t, t in J)
176
229
  return J[t];
177
- this.value = gt?.[t], J[t] = this;
230
+ this.value = mt?.[t], J[t] = this;
178
231
  }
179
232
  value;
180
233
  options = {};
@@ -196,7 +249,7 @@ class Zt {
196
249
  * @param options additional parameters/ дополнительные параметры
197
250
  */
198
251
  set(t, e) {
199
- this.value = I(t), Object.assign(this.options, e), this.update();
252
+ this.value = A(t), Object.assign(this.options, e), this.update();
200
253
  }
201
254
  /**
202
255
  * Delete cookie data.
@@ -220,7 +273,7 @@ class Zt {
220
273
  * Обновление данных cookie.
221
274
  */
222
275
  update() {
223
- if (d() && !Ut.get()) {
276
+ if (d() && !_t.get()) {
224
277
  const t = String(this.value ?? "");
225
278
  document.cookie = [
226
279
  `${encodeURIComponent(this.name)}=${encodeURIComponent(t)}`,
@@ -230,31 +283,37 @@ class Zt {
230
283
  ].join("; ");
231
284
  }
232
285
  }
233
- }
234
- (() => {
235
- if (d())
286
+ /**
287
+ * Update data from cookies.
288
+ *
289
+ * Обновляет данные из cookies.
290
+ */
291
+ static updateData() {
236
292
  for (const t of document.cookie.split(";")) {
237
293
  const [e, s] = t.trim().split("=");
238
- e && O(s) && (gt[e] = $t(s));
294
+ e && W(s) && (mt[e] = wt(s));
239
295
  }
240
- })();
296
+ }
297
+ };
298
+ d() && lt.updateData();
299
+ let rt = lt;
241
300
  const J = {};
242
- function S(i) {
301
+ function w(i) {
243
302
  if (i instanceof Date)
244
303
  return i;
245
- if (Nt(i))
304
+ if (Ft(i))
246
305
  return /* @__PURE__ */ new Date();
247
306
  if (typeof i == "number")
248
307
  return new Date(i);
249
- let t = i, e = y.getTimezoneFormat();
308
+ let t = i, e = p.getTimezoneFormat();
250
309
  i.replace(/^([\s\S]+)([-+]\d{2}:?\d{2})$/, (n, a, o) => (t = a, e = o, n));
251
310
  const s = (/^\d{4}\d{2}\d{2}$/.exec(t) && `${t.replace(/^(\d{4})(\d{2})(\d{2})$/, "$1-$2-$3")}T00:00:00`) ?? (/^\d{4}\d{2}$/.exec(t) && `${t.replace(/^(\d{4})(\d{2})$/, "$1-$2")}-01T00:00:00`) ?? (/^\d{4}\d{2}\d{2} \d{2}:\d{2}:\d{2}$/.exec(t) && t.replace(/^(\d{4})(\d{2})(\d{2}) (\d{2}):(\d{2}):(\d{2})$/, "$1-$2-$3T$4:$5:$6")) ?? (/^\d{4}-\d{2}-\d{2}$/.exec(t) && `${t}T00:00:00`) ?? (/^\d{4}-\d{2}$/.exec(t) && `${t}-01T00:00:00`) ?? (/^\d{4}$/.exec(t) && `${t}-01-01T00:00:00`) ?? (/^\d{2}:\d{2}$/.exec(t) && `2000-01-01T${t}:00`) ?? (/^\d{2}:\d{2}:\d{2}$/.exec(t) && `2000-01-01T${t}`) ?? t.replace(" ", "T");
252
311
  return /* @__PURE__ */ new Date(`${s}${e}`);
253
312
  }
254
- function it(i, t) {
313
+ function nt(i, t) {
255
314
  return f(i, (e) => e?.[t]);
256
315
  }
257
- class N {
316
+ class I {
258
317
  /**
259
318
  * Returns an instance of the class according to the specified country code.
260
319
  *
@@ -262,8 +321,8 @@ class N {
262
321
  * @param code country code, full form language-country or one of them/
263
322
  * код страны, полный вид язык-страна или один из них
264
323
  */
265
- static getInstance(t = y.getLocation()) {
266
- return new N(t);
324
+ static getInstance(t = p.getLocation()) {
325
+ return new I(t);
267
326
  }
268
327
  geo;
269
328
  /**
@@ -271,12 +330,12 @@ class N {
271
330
  * @param code country code, full form language-country or one of them/
272
331
  * код страны, полный вид язык-страна или один из них
273
332
  */
274
- constructor(t = y.getLocation()) {
275
- this.geo = y.find(t);
333
+ constructor(t = p.getLocation()) {
334
+ this.geo = p.find(t);
276
335
  const e = this.getLocation();
277
- if (e in _)
278
- return _[e];
279
- _[e] = this;
336
+ if (e in Q)
337
+ return Q[e];
338
+ Q[e] = this;
280
339
  }
281
340
  /**
282
341
  * Returns country code and language.
@@ -327,7 +386,7 @@ class N {
327
386
  type: "language",
328
387
  style: e
329
388
  };
330
- return this.display(y.getByCode(t).language, s);
389
+ return this.display(p.getByCode(t).language, s);
331
390
  }
332
391
  /**
333
392
  * Get display names of region.
@@ -407,7 +466,7 @@ class N {
407
466
  }, a = t.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]{3})$/i, (...o) => (n.currency = String(o[2]).toUpperCase(), String(o[1])));
408
467
  if (s) {
409
468
  const o = this.numberObject(n);
410
- return o ? it(
469
+ return o ? nt(
411
470
  o.formatToParts(b(t)).filter((u) => ["literal", "currency"].indexOf(u.type) === -1),
412
471
  "value"
413
472
  ).join("") : t.toString();
@@ -462,7 +521,7 @@ class N {
462
521
  */
463
522
  sizeFile(t, e = "byte") {
464
523
  const s = b(t);
465
- if (s > 1024 && nt(e))
524
+ if (s > 1024 && ot(e))
466
525
  switch (e) {
467
526
  case "byte":
468
527
  return this.sizeFile(s / 1024, "kilobyte");
@@ -553,7 +612,7 @@ class N {
553
612
  * @param hour24 whether to use 12-hour time/ использовать ли 12-часовое время
554
613
  */
555
614
  date(t, e, s, n) {
556
- const a = S(t), o = typeof s == "string", u = this.dateOptions(e, o ? s : "short");
615
+ const a = w(t), o = typeof s == "string", u = this.dateOptions(e, o ? s : "short");
557
616
  return n && (u.hour12 = !1), o || Object.assign(u, s), a.toLocaleString(this.getLocation(), u);
558
617
  }
559
618
  /**
@@ -566,7 +625,7 @@ class N {
566
625
  * @param todayValue current day/ текущий день
567
626
  */
568
627
  relative(t, e, s) {
569
- const n = S(t), a = s || /* @__PURE__ */ new Date(), o = {
628
+ const n = w(t), a = s || /* @__PURE__ */ new Date(), o = {
570
629
  numeric: "auto",
571
630
  ...typeof e == "string" ? { style: e } : e || {}
572
631
  };
@@ -592,8 +651,8 @@ class N {
592
651
  * @param hour24 whether to use 12-hour time/ использовать ли 12-часовое время
593
652
  */
594
653
  relativeLimit(t, e, s, n, a, o, u) {
595
- const h = S(t), l = s || /* @__PURE__ */ new Date(), L = new Date(l), D = new Date(l);
596
- return L.setDate(l.getDate() - e), D.setDate(l.getDate() + e), h >= L && h <= D ? this.relative(
654
+ const h = w(t), l = s || /* @__PURE__ */ new Date(), C = new Date(l), D = new Date(l);
655
+ return C.setDate(l.getDate() - e), D.setDate(l.getDate() + e), h >= C && h <= D ? this.relative(
597
656
  h,
598
657
  n,
599
658
  l
@@ -632,7 +691,7 @@ class N {
632
691
  month(t, e) {
633
692
  try {
634
693
  if (d())
635
- return Intl.DateTimeFormat(this.getLocation(), { month: e || "long" }).format(S(t));
694
+ return Intl.DateTimeFormat(this.getLocation(), { month: e || "long" }).format(w(t));
636
695
  } catch (s) {
637
696
  console.error("month: ", s);
638
697
  }
@@ -673,7 +732,7 @@ class N {
673
732
  weekday(t, e) {
674
733
  try {
675
734
  if (d())
676
- return Intl.DateTimeFormat(this.getLocation(), { weekday: e || "long" }).format(S(t));
735
+ return Intl.DateTimeFormat(this.getLocation(), { weekday: e || "long" }).format(w(t));
677
736
  } catch (s) {
678
737
  console.error("weekday: ", s);
679
738
  }
@@ -755,16 +814,16 @@ class N {
755
814
  return ["full", "datetime", "date", void 0, "year-month", "year"].indexOf(t) !== -1 && (s.year = "numeric"), ["full", "datetime", "date", void 0, "year-month", "month", "day-month"].indexOf(t) !== -1 && (s.month = e), ["full", "datetime", "date", void 0, "day", "day-month"].indexOf(t) !== -1 && (s.day = "2-digit"), t !== void 0 && (["full", "datetime", "time", "hour-minute", "hour"].indexOf(t) !== -1 && (s.hour = "2-digit"), ["full", "datetime", "time", "hour-minute", "minute"].indexOf(t) !== -1 && (s.minute = "2-digit"), ["full", "time", "second"].indexOf(t) !== -1 && (s.second = "2-digit")), s;
756
815
  }
757
816
  }
758
- const _ = {};
759
- class ot {
817
+ const Q = {};
818
+ class ut {
760
819
  /**
761
820
  * Constructor
762
821
  * @param date date for processing/ дата для обработки
763
822
  * @param type type of date format for output/ тип формата даты вывода
764
823
  * @param code country and language code/ код страны и языка
765
824
  */
766
- constructor(t, e = "date", s = y.getLocation()) {
767
- this.type = e, this.code = s, this.date = S(t);
825
+ constructor(t, e = "date", s = p.getLocation()) {
826
+ this.type = e, this.code = s, this.date = w(t);
768
827
  }
769
828
  date;
770
829
  hour24 = !1;
@@ -775,7 +834,7 @@ class ot {
775
834
  * Возвращает объект для работы с форматированием.
776
835
  */
777
836
  getIntl() {
778
- return new N(this.code);
837
+ return new I(this.code);
779
838
  }
780
839
  /**
781
840
  * Returns a Date object.
@@ -983,7 +1042,7 @@ class ot {
983
1042
  * @param timeZone add time zone/ добавить временную зону
984
1043
  */
985
1044
  standard(t = !0) {
986
- const e = new ot(this.date, this.type, "en-GB"), s = [];
1045
+ const e = new ut(this.date, this.type, "en-GB"), s = [];
987
1046
  let n;
988
1047
  return e.setHour24(!0), this.type === "hour-minute" ? n = e.locale(this.type, {
989
1048
  year: "numeric",
@@ -999,7 +1058,7 @@ class ot {
999
1058
  * целочисленное значение, представляющее число
1000
1059
  */
1001
1060
  setDate(t) {
1002
- return this.date = S(t), this.update(), this;
1061
+ return this.date = w(t), this.update(), this;
1003
1062
  }
1004
1063
  /**
1005
1064
  * Change the type of data output.
@@ -1407,12 +1466,12 @@ class ot {
1407
1466
  }
1408
1467
  }
1409
1468
  const r = "@flag";
1410
- class E {
1469
+ class x {
1411
1470
  /**
1412
1471
  * Constructor
1413
1472
  * @param code country and language code/ код страны и языка
1414
1473
  */
1415
- constructor(t = y.getLocation()) {
1474
+ constructor(t = p.getLocation()) {
1416
1475
  this.code = t;
1417
1476
  }
1418
1477
  static flags = {
@@ -1665,14 +1724,14 @@ class E {
1665
1724
  * @param code country code/ код страны
1666
1725
  */
1667
1726
  get(t = this.code) {
1668
- const e = y.find(t);
1727
+ const e = p.find(t);
1669
1728
  if (e) {
1670
1729
  const s = this.getCountry(e);
1671
1730
  return {
1672
1731
  language: this.getLanguage(e),
1673
1732
  country: s,
1674
1733
  standard: e.standard,
1675
- icon: E.flags?.[e.country],
1734
+ icon: x.flags?.[e.country],
1676
1735
  label: s,
1677
1736
  value: e.country
1678
1737
  };
@@ -1704,7 +1763,7 @@ class E {
1704
1763
  */
1705
1764
  getNational(t) {
1706
1765
  return f(this.getList(t), (e) => {
1707
- const s = new E(e.standard).get(e.standard);
1766
+ const s = new x(e.standard).get(e.standard);
1708
1767
  return {
1709
1768
  ...e,
1710
1769
  description: s?.country,
@@ -1728,7 +1787,7 @@ class E {
1728
1787
  * Возвращает специальный объект для работы с форматированием.
1729
1788
  */
1730
1789
  getLocation() {
1731
- return new N(this.code);
1790
+ return new I(this.code);
1732
1791
  }
1733
1792
  /**
1734
1793
  * Returns a list of countries to retrieve data from.
@@ -1737,7 +1796,7 @@ class E {
1737
1796
  * @param codes country code/ код страны
1738
1797
  */
1739
1798
  getCodes(t) {
1740
- return t ?? Object.keys(E.flags);
1799
+ return t ?? Object.keys(x.flags);
1741
1800
  }
1742
1801
  /**
1743
1802
  * Getting the name of the language.
@@ -1758,7 +1817,7 @@ class E {
1758
1817
  return this.getLocation().countryName(t.country);
1759
1818
  }
1760
1819
  }
1761
- const A = class A {
1820
+ const N = class N {
1762
1821
  /**
1763
1822
  * Getting an object with information about the phone code and country.
1764
1823
  *
@@ -1818,7 +1877,7 @@ const A = class A {
1818
1877
  * @param masks a mask to transform a phone number/ маска для преобразования номер телефон
1819
1878
  */
1820
1879
  static toMask(t, e) {
1821
- if (O(t) && Array.isArray(e) && e.length > 0) {
1880
+ if (W(t) && Array.isArray(e) && e.length > 0) {
1822
1881
  const s = this.removeZero(t), n = s.length;
1823
1882
  for (const a of e)
1824
1883
  if (this.getUnnecessaryLength(a) === n)
@@ -1866,12 +1925,12 @@ const A = class A {
1866
1925
  * Формирование списка для карты.
1867
1926
  */
1868
1927
  static makeList() {
1869
- const t = f(y.getList(), (e) => {
1928
+ const t = f(p.getList(), (e) => {
1870
1929
  if (e?.phoneMask)
1871
1930
  return {
1872
1931
  phone: e?.phoneCode && Number(e.phoneCode.replace(/[^0-9]+/, "")) || void 0,
1873
1932
  within: e?.phoneWithin || 0,
1874
- mask: B(e.phoneMask),
1933
+ mask: T(e.phoneMask),
1875
1934
  value: e.country
1876
1935
  };
1877
1936
  });
@@ -1934,9 +1993,9 @@ const A = class A {
1934
1993
  return t.replace(/\*/, this.getWithinSymbol(e));
1935
1994
  }
1936
1995
  };
1937
- k(A, "list", []), k(A, "map", {}), A.makeList(), A.makeMap();
1938
- let ft = A, P;
1939
- class $e {
1996
+ k(N, "list", []), k(N, "map", {}), N.makeList(), N.makeMap();
1997
+ let yt = N, j;
1998
+ class Ce {
1940
1999
  /**
1941
2000
  * Returns the value by its name.
1942
2001
  *
@@ -1944,7 +2003,7 @@ class $e {
1944
2003
  * @param name property name/ название свойства
1945
2004
  */
1946
2005
  static get(t) {
1947
- return P && P?.[t];
2006
+ return j && j?.[t];
1948
2007
  }
1949
2008
  /**
1950
2009
  * Adds data, this method works only once.
@@ -1953,7 +2012,7 @@ class $e {
1953
2012
  * @param data global data/ глобальные данные
1954
2013
  */
1955
2014
  static add(t) {
1956
- P === void 0 && (P = { ...t });
2015
+ j === void 0 && (j = { ...t });
1957
2016
  }
1958
2017
  }
1959
2018
  const M = class M {
@@ -1975,7 +2034,7 @@ const M = class M {
1975
2034
  * @param callback value or function to change data/ значение или функция для изменения данных
1976
2035
  */
1977
2036
  static set(t, e) {
1978
- const s = I(e);
2037
+ const s = A(e);
1979
2038
  s !== this.hash?.[t] && (this.hash[t] = s, this.update());
1980
2039
  }
1981
2040
  /**
@@ -2008,7 +2067,7 @@ const M = class M {
2008
2067
  const t = {};
2009
2068
  return location.hash.replace(
2010
2069
  /([\w-]+)[:=]([^;]+)/ig,
2011
- (...e) => (t[String(e[1])] = $t(e[2]), "")
2070
+ (...e) => (t[String(e[1])] = wt(e[2]), "")
2012
2071
  ), t;
2013
2072
  }
2014
2073
  /**
@@ -2017,7 +2076,7 @@ const M = class M {
2017
2076
  * Обновление строки хэша в URL.
2018
2077
  */
2019
2078
  static update() {
2020
- this.block = !0, history.replaceState(null, "", `#${Tt(this.hash, "=", ";")}`), requestAnimationFrame(() => {
2079
+ this.block = !0, history.replaceState(null, "", `#${Et(this.hash, "=", ";")}`), requestAnimationFrame(() => {
2021
2080
  this.block = !1;
2022
2081
  });
2023
2082
  }
@@ -2035,33 +2094,33 @@ const M = class M {
2035
2094
  };
2036
2095
  k(M, "hash", {}), k(M, "watch", {}), k(M, "block", !1), d() && (M.reload(), addEventListener("hashchange", () => M.reload()));
2037
2096
  let R = M;
2038
- function Yt(i, t, e) {
2097
+ function Jt(i, t, e) {
2039
2098
  return K(i)?.[t] ?? e;
2040
2099
  }
2041
- function Kt(i, t, e) {
2100
+ function Qt(i, t, e) {
2042
2101
  const s = K(i);
2043
2102
  if (s) {
2044
- const n = Yt(s, t);
2103
+ const n = Jt(s, t);
2045
2104
  if (m(n) && m(e))
2046
2105
  f(e, (a, o) => {
2047
- n[o] = I(a);
2106
+ n[o] = A(a);
2048
2107
  });
2049
2108
  else {
2050
- const a = I(e);
2051
- !(t in s) && typeof a == "string" ? s.setAttribute(t.toString(), a) : s[t] = I(e);
2109
+ const a = A(e);
2110
+ !(t in s) && typeof a == "string" ? s.setAttribute(t.toString(), a) : s[t] = A(e);
2052
2111
  }
2053
2112
  }
2054
2113
  return s;
2055
2114
  }
2056
- function dt(i, t = "div", e, s) {
2115
+ function pt(i, t = "div", e, s) {
2057
2116
  if (!d())
2058
2117
  return;
2059
2118
  const n = document.createElement(t);
2060
- return typeof e == "function" ? e(n) : C(e) && f(e, (a, o) => {
2061
- Kt(n, o, a);
2119
+ return typeof e == "function" ? e(n) : L(e) && f(e, (a, o) => {
2120
+ Qt(n, o, a);
2062
2121
  }), i?.insertBefore(n, s ?? null), n;
2063
2122
  }
2064
- class vt {
2123
+ class St {
2065
2124
  static storage = new Y("scrollbar", !0);
2066
2125
  static calculate = !1;
2067
2126
  /**
@@ -2092,8 +2151,8 @@ class vt {
2092
2151
  * Создает элементы для проверки ширины скролла.
2093
2152
  */
2094
2153
  static createElement() {
2095
- return dt(document.body, "div", (t) => {
2096
- t.style.height = "24px", t.style.overflowY = "scroll", t.style.position = "fixed", t.style.width = "100%", dt(t, "div", (e) => {
2154
+ return pt(document.body, "div", (t) => {
2155
+ t.style.height = "24px", t.style.overflowY = "scroll", t.style.position = "fixed", t.style.width = "100%", pt(t, "div", (e) => {
2097
2156
  e.style.height = "100px";
2098
2157
  });
2099
2158
  });
@@ -2113,7 +2172,7 @@ class vt {
2113
2172
  });
2114
2173
  }
2115
2174
  }
2116
- const Vt = [
2175
+ const Xt = [
2117
2176
  "d",
2118
2177
  "e",
2119
2178
  "f",
@@ -2133,15 +2192,15 @@ const Vt = [
2133
2192
  "t",
2134
2193
  "u",
2135
2194
  "v"
2136
- ], qt = (i, t = {}) => {
2195
+ ], te = (i, t = {}) => {
2137
2196
  let e = String(i);
2138
2197
  if (i.match(/%[a-z]/)) {
2139
2198
  let s = 0;
2140
2199
  f(t, (n) => {
2141
- e = e.replace(new RegExp(`%${Vt[s++]}`, "g"), String(n));
2200
+ e = e.replace(new RegExp(`%${Xt[s++]}`, "g"), String(n));
2142
2201
  });
2143
2202
  }
2144
- return C(t) && f(t, (s, n) => {
2203
+ return L(t) && f(t, (s, n) => {
2145
2204
  e = e.replace(
2146
2205
  new RegExp(`\\[${n}\\](.*?)\\[/${n}\\]`, "g"),
2147
2206
  (a, o) => String(s).replace(/\[content]/g, o)
@@ -2164,7 +2223,7 @@ class z {
2164
2223
  */
2165
2224
  static async get(t, e) {
2166
2225
  const s = this.getName(t);
2167
- return s in this.data ? this.replacement(this.data[s], e) : (j.isLocalhost() || await this.add(t), this.replacement(this.data?.[s] ?? t));
2226
+ return s in this.data ? this.replacement(this.data[s], e) : (H.isLocalhost() || await this.add(t), this.replacement(this.data?.[s] ?? t));
2168
2227
  }
2169
2228
  /**
2170
2229
  * Getting the translation text by its code (Sync).
@@ -2237,7 +2296,7 @@ class z {
2237
2296
  */
2238
2297
  static addSync(t) {
2239
2298
  f(t, (e, s) => {
2240
- nt(e) && O(e) && (this.data[this.getName(s)] = e);
2299
+ ot(e) && W(e) && (this.data[this.getName(s)] = e);
2241
2300
  });
2242
2301
  }
2243
2302
  /**
@@ -2247,8 +2306,8 @@ class z {
2247
2306
  * @param data list of texts in the form of key-value/ список текстов в виде ключ-значение
2248
2307
  */
2249
2308
  static async addNormalOrSync(t) {
2250
- if (O(t))
2251
- if (j.isLocalhost())
2309
+ if (W(t))
2310
+ if (H.isLocalhost())
2252
2311
  this.addSync(t);
2253
2312
  else {
2254
2313
  const e = Object.keys(t);
@@ -2274,7 +2333,7 @@ class z {
2274
2333
  * @param name code name/ название кода
2275
2334
  */
2276
2335
  static getName(t) {
2277
- return `${y.getLocation()}-${t}`;
2336
+ return `${p.getLocation()}-${t}`;
2278
2337
  }
2279
2338
  /**
2280
2339
  * Returns a list of names that are not yet in the list.
@@ -2284,7 +2343,7 @@ class z {
2284
2343
  */
2285
2344
  static getNamesNone(t) {
2286
2345
  const e = [];
2287
- return B(t).forEach((s) => {
2346
+ return T(t).forEach((s) => {
2288
2347
  s !== "__TRANSLATE_START__" && s !== "__TRANSLATE_END__" && !(this.getName(s) in this.data) && e.push(s);
2289
2348
  }), e;
2290
2349
  }
@@ -2294,7 +2353,7 @@ class z {
2294
2353
  * Получение списка переводов с сервера.
2295
2354
  */
2296
2355
  static async getResponse() {
2297
- return await j.get({
2356
+ return await H.get({
2298
2357
  api: !1,
2299
2358
  path: this.url,
2300
2359
  request: {
@@ -2312,7 +2371,7 @@ class z {
2312
2371
  * @param replacement values for replacement/ значения для замены
2313
2372
  */
2314
2373
  static replacement(t, e) {
2315
- return e ? qt(t, e) : t;
2374
+ return e ? te(t, e) : t;
2316
2375
  }
2317
2376
  /**
2318
2377
  * Adding translation data from the server.
@@ -2326,10 +2385,10 @@ class z {
2326
2385
  }), this.cache = [];
2327
2386
  }
2328
2387
  }
2329
- function ct(i) {
2388
+ function ht(i) {
2330
2389
  return Array.isArray(i);
2331
2390
  }
2332
- class Jt {
2391
+ class ee {
2333
2392
  /**
2334
2393
  * Constructor
2335
2394
  * @param props base data/ базовые данные
@@ -2346,7 +2405,7 @@ class Jt {
2346
2405
  * @param name property name/ название свойства
2347
2406
  */
2348
2407
  is(t) {
2349
- return ct(t) ? !!t.find((e) => this.isDifferent(e)) : this.isDifferent(t);
2408
+ return ht(t) ? !!t.find((e) => this.isDifferent(e)) : this.isDifferent(t);
2350
2409
  }
2351
2410
  /**
2352
2411
  * Checks if there are changes in the data.
@@ -2378,7 +2437,7 @@ class Jt {
2378
2437
  return this.cache?.[t] !== this.props?.[t];
2379
2438
  }
2380
2439
  }
2381
- class _t {
2440
+ class se {
2382
2441
  /**
2383
2442
  * Constructor
2384
2443
  * @param props base data/ базовые данные
@@ -2387,7 +2446,7 @@ class _t {
2387
2446
  * @param changed base data/ данный для слежения
2388
2447
  */
2389
2448
  constructor(t, e, s) {
2390
- this.props = t, this.callback = e, this.changed = new Jt(t, s);
2449
+ this.props = t, this.callback = e, this.changed = new ee(t, s);
2391
2450
  }
2392
2451
  event = {};
2393
2452
  changed;
@@ -2437,7 +2496,7 @@ class _t {
2437
2496
  this.callback && this.callback(this.event);
2438
2497
  }
2439
2498
  }
2440
- class ve extends _t {
2499
+ class De extends se {
2441
2500
  /**
2442
2501
  * Calls the callback function.
2443
2502
  *
@@ -2457,31 +2516,31 @@ class ve extends _t {
2457
2516
  (t || this.changed.isChanged()) && (await this.initEvent(), this.makeCallbackItem(), this.changed.update());
2458
2517
  }
2459
2518
  }
2460
- function Qt(i) {
2519
+ function ie(i) {
2461
2520
  return i && "class" in i && typeof i.class == "string" ? i.class : void 0;
2462
2521
  }
2463
- function Xt(i, t, e) {
2464
- const s = Qt(t);
2522
+ function re(i, t, e) {
2523
+ const s = ie(t);
2465
2524
  return e && s ? `${e}.${s}` : e || s || i;
2466
2525
  }
2467
- function te(i, t, e, s) {
2468
- const n = Xt(i, t, s);
2469
- return Ft(i, { key: n, ...t }, e);
2526
+ function ne(i, t, e, s) {
2527
+ const n = re(i, t, s);
2528
+ return Rt(i, { key: n, ...t }, e);
2470
2529
  }
2471
- function rt(i, t) {
2530
+ function at(i, t) {
2472
2531
  const e = i?.class, s = t?.class, n = i?.style, a = t?.style, o = {
2473
2532
  ...i,
2474
2533
  ...t
2475
2534
  };
2476
2535
  return e && s && (o.class = [], e && o.class.push(e), s && o.class.push(s)), n && a && (o.style = [], n && o.style.push(n), a && o.style.push(a)), o;
2477
2536
  }
2478
- function ee(...i) {
2537
+ function ae(...i) {
2479
2538
  let t = {};
2480
2539
  return i.forEach((e) => {
2481
- e && (t = rt(t, e));
2540
+ e && (t = at(t, e));
2482
2541
  }), t;
2483
2542
  }
2484
- class bt {
2543
+ class Lt {
2485
2544
  /**
2486
2545
  * Constructor
2487
2546
  * @param components list of connected components/ список подключенных компонентов
@@ -2522,7 +2581,7 @@ class bt {
2522
2581
  t in this.caching || (this.caching[t] = c(() => this.computeModification(t)));
2523
2582
  const s = this.caching[t];
2524
2583
  if (s)
2525
- return e ? ee(s.value, e) : s.value;
2584
+ return e ? ae(s.value, e) : s.value;
2526
2585
  }
2527
2586
  return e;
2528
2587
  }
@@ -2556,7 +2615,7 @@ class bt {
2556
2615
  renderOne(t, e, s, n) {
2557
2616
  if (this.is(t)) {
2558
2617
  const a = n ?? t;
2559
- return te(
2618
+ return ne(
2560
2619
  this.get(t),
2561
2620
  this.getModification(a, e),
2562
2621
  s,
@@ -2586,7 +2645,7 @@ class bt {
2586
2645
  */
2587
2646
  computeModification(t) {
2588
2647
  const e = g(this.modification?.[t]);
2589
- if (e && C(e)) {
2648
+ if (e && L(e)) {
2590
2649
  const s = {};
2591
2650
  return f(e, (n, a) => {
2592
2651
  s[a] = g(n);
@@ -2595,12 +2654,12 @@ class bt {
2595
2654
  return {};
2596
2655
  }
2597
2656
  }
2598
- class be extends bt {
2657
+ class ke extends Lt {
2599
2658
  }
2600
- function St(i) {
2659
+ function Ct(i) {
2601
2660
  return i.toString().trim().replace(/[^\w- ]+/g, "").replace(/ +/g, "-").replace(new RegExp("(?<=[A-Z])([A-Z])", "g"), (t) => `${t.toLowerCase()}`).replace(/-+([a-zA-Z0-9])/g, (...t) => `${String(t[1]).toUpperCase()}`).replace(/^([A-Z])/, (t) => `${t.toLowerCase()}`);
2602
2661
  }
2603
- class Se {
2662
+ class Me {
2604
2663
  /**
2605
2664
  * Constructor
2606
2665
  * @param name class name/ название класса
@@ -2608,7 +2667,7 @@ class Se {
2608
2667
  * @param options list of additional parameters/ список дополнительных параметров
2609
2668
  */
2610
2669
  constructor(t, e, s) {
2611
- this.props = e, this.options = s, this.name = this.initName(t), this.refs = this.props ? xt(this.props) : {}, this.components = new bt(s?.components, s?.compMod), this.emits = s?.emits, this.classes = c(() => this.updateClasses()), this.styles = c(() => this.updateStyles()), this.attrs = Et(), this.slots = Rt();
2670
+ this.props = e, this.options = s, this.name = this.initName(t), this.refs = this.props ? Ot(this.props) : {}, this.components = new Lt(s?.components, s?.compMod), this.emits = s?.emits, this.classes = c(() => this.updateClasses()), this.styles = c(() => this.updateStyles()), this.attrs = Wt(), this.slots = Pt();
2612
2671
  }
2613
2672
  name;
2614
2673
  element = $();
@@ -2648,7 +2707,7 @@ class Se {
2648
2707
  * @param name list of class names by levels/ список названий классов по уровням
2649
2708
  */
2650
2709
  getSubClass(t) {
2651
- return `${this.getName()}__${B(t).join("__")}`;
2710
+ return `${this.getName()}__${T(t).join("__")}`;
2652
2711
  }
2653
2712
  /**
2654
2713
  * Getting the class name for the status.
@@ -2657,7 +2716,7 @@ class Se {
2657
2716
  * @param name list of class names by levels/ список названий классов по уровням
2658
2717
  */
2659
2718
  getStatusClass(t) {
2660
- return `${this.getName()}--${B(t).join("--")}`;
2719
+ return `${this.getName()}--${T(t).join("--")}`;
2661
2720
  }
2662
2721
  /**
2663
2722
  * Getting the property name for the style.
@@ -2666,7 +2725,7 @@ class Se {
2666
2725
  * @param name list of class names by levels/ список названий классов по уровням
2667
2726
  */
2668
2727
  getStyle(t) {
2669
- return `--${this.getName()}-sys-${B(t).join("-")}`;
2728
+ return `--${this.getName()}-sys-${T(t).join("-")}`;
2670
2729
  }
2671
2730
  /**
2672
2731
  * Getting additional parameters.
@@ -2715,7 +2774,7 @@ class Se {
2715
2774
  * @param classes list of classes for transformation/ список классов для преобразования
2716
2775
  */
2717
2776
  toClass(t) {
2718
- return C(t) ? t : Array.isArray(t) ? { [t.filter((s) => typeof s == "string" && s.trim() !== "").join(" ")]: !0 } : typeof t == "string" ? { [t]: !0 } : {};
2777
+ return L(t) ? t : Array.isArray(t) ? { [t.filter((s) => typeof s == "string" && s.trim() !== "").join(" ")]: !0 } : typeof t == "string" ? { [t]: !0 } : {};
2719
2778
  }
2720
2779
  /**
2721
2780
  * Converts the class name to standard for the current component.
@@ -2739,7 +2798,7 @@ class Se {
2739
2798
  * @param name component name for transformation/ название компонента для преобразования
2740
2799
  */
2741
2800
  initName(t) {
2742
- return f(t.split(".", 2), (e) => St(e));
2801
+ return f(t.split(".", 2), (e) => Ct(e));
2743
2802
  }
2744
2803
  /**
2745
2804
  * Updating data about the class.
@@ -2773,10 +2832,10 @@ class Se {
2773
2832
  } : e ?? {};
2774
2833
  }
2775
2834
  }
2776
- function w(i) {
2777
- return at(i) ? i : $(i);
2835
+ function S(i) {
2836
+ return ct(i) ? i : $(i);
2778
2837
  }
2779
- class we {
2838
+ class Ae {
2780
2839
  item;
2781
2840
  type;
2782
2841
  code;
@@ -2794,14 +2853,14 @@ class we {
2794
2853
  * @param type type of date format for output. тип формата даты вывода
2795
2854
  * @param code country and language code. код страны и языка
2796
2855
  */
2797
- constructor(t, e = "date", s = y.getLocation()) {
2798
- this.item = w(t), this.type = w(e), this.code = w(s), this.date = $(S(this.item.value)), this.datetime = new ot(
2856
+ constructor(t, e = "date", s = p.getLocation()) {
2857
+ this.item = S(t), this.type = S(e), this.code = S(s), this.date = $(w(this.item.value)), this.datetime = new ut(
2799
2858
  this.date.value,
2800
2859
  this.type.value,
2801
2860
  this.code.value
2802
- ), p(this.item, (n) => {
2803
- this.date.value = S(n);
2804
- }), p(this.type, (n) => this.datetime.setType(n)), p(this.code, (n) => this.datetime.setCode(n)), p(this.date, (n) => this.datetime.setDate(n)), this.datetime.setWatch(() => Ot(this.date));
2861
+ ), y(this.item, (n) => {
2862
+ this.date.value = w(n);
2863
+ }), y(this.type, (n) => this.datetime.setType(n)), y(this.code, (n) => this.datetime.setCode(n)), y(this.date, (n) => this.datetime.setDate(n)), this.datetime.setWatch(() => jt(this.date));
2805
2864
  }
2806
2865
  /**
2807
2866
  * Returns the basic data for the date.
@@ -2921,7 +2980,7 @@ class we {
2921
2980
  return c(() => this.date.value && this.datetime.standard(t));
2922
2981
  }
2923
2982
  }
2924
- class Ce extends Bt {
2983
+ class Ne extends xt {
2925
2984
  /**
2926
2985
  * Classes Constructor
2927
2986
  * @param elementSelector element/ элемент
@@ -2935,25 +2994,25 @@ class Ce extends Bt {
2935
2994
  * значение, связанное с событием
2936
2995
  */
2937
2996
  constructor(t, e, s = ["click"], n, a, o) {
2938
- const u = w(t), h = w(e);
2997
+ const u = S(t), h = S(e);
2939
2998
  super(
2940
2999
  u.value,
2941
3000
  s,
2942
3001
  n,
2943
3002
  a,
2944
3003
  o
2945
- ), h.value && this.setElementControl(h.value), p(u, (l) => this.setElement(l)), p(h, (l) => this.setElementControl(l));
3004
+ ), h.value && this.setElementControl(h.value), y(u, (l) => this.setElement(l)), y(h, (l) => this.setElementControl(l));
2946
3005
  }
2947
3006
  }
2948
- class Le {
3007
+ class Ie {
2949
3008
  code;
2950
3009
  flag;
2951
3010
  /**
2952
3011
  * Constructor
2953
3012
  * @param code country and language code/ код страны и языка
2954
3013
  */
2955
- constructor(t = y.getLocation()) {
2956
- this.code = w(t), this.flag = new E(this.code.value), p(this.code, (e) => this.flag.setCode(e));
3014
+ constructor(t = p.getLocation()) {
3015
+ this.code = S(t), this.flag = new x(this.code.value), y(this.code, (e) => this.flag.setCode(e));
2957
3016
  }
2958
3017
  /**
2959
3018
  * Obtaining a reactive object with the country code.
@@ -3000,8 +3059,8 @@ class Le {
3000
3059
  return c(() => this.flag.getNational(t));
3001
3060
  }
3002
3061
  }
3003
- class wt {
3004
- static item = W(y.get());
3062
+ class Dt {
3063
+ static item = P(p.get());
3005
3064
  static country = c(() => this.item.value.country);
3006
3065
  static language = c(() => this.item.value.language);
3007
3066
  static standard = c(() => this.item.value.standard);
@@ -3054,10 +3113,10 @@ class wt {
3054
3113
  * код страны, полный вид язык-страна или один из них
3055
3114
  */
3056
3115
  static set(t) {
3057
- y.set(t, !0), this.item.value = y.getItem();
3116
+ p.set(t, !0), this.item.value = p.getItem();
3058
3117
  }
3059
3118
  }
3060
- class se {
3119
+ class oe {
3061
3120
  location;
3062
3121
  intl;
3063
3122
  /**
@@ -3066,7 +3125,7 @@ class se {
3066
3125
  * код страны, полный вид язык-страна или один из них
3067
3126
  */
3068
3127
  constructor(t) {
3069
- this.location = w(t), this.intl = c(() => new N(this.location.value ?? wt.getLanguage().value));
3128
+ this.location = S(t), this.intl = c(() => new I(this.location.value ?? Dt.getLanguage().value));
3070
3129
  }
3071
3130
  /**
3072
3131
  * The consistent translation of language, region and script display names.
@@ -3271,11 +3330,11 @@ class se {
3271
3330
  return c(() => this.intl.value.time(g(t)));
3272
3331
  }
3273
3332
  }
3274
- function Ct(i, t = "ig", e = ":value") {
3333
+ function kt(i, t = "ig", e = ":value") {
3275
3334
  const s = i.replace(/([[\]\\^$.?*+()/])/g, "\\$1");
3276
3335
  return new RegExp(e.replace(/:value/g, s), t);
3277
3336
  }
3278
- class Lt {
3337
+ class Mt {
3279
3338
  /**
3280
3339
  * Creates an instance of ListData for managing list data.
3281
3340
  *
@@ -3291,7 +3350,7 @@ class Lt {
3291
3350
  * @param parent Parent identifier / идентификатор родителя
3292
3351
  */
3293
3352
  constructor(t, e, s, n, a, o, u, h, l) {
3294
- this.list = t, this.focus = e, this.highlight = s, this.highlightLengthStart = n, this.selected = a, this.keyValue = o, this.keyLabel = u, this.lite = h, this.parent = l, at(t) && p(t, () => {
3353
+ this.list = t, this.focus = e, this.highlight = s, this.highlightLengthStart = n, this.selected = a, this.keyValue = o, this.keyLabel = u, this.lite = h, this.parent = l, ct(t) && y(t, () => {
3295
3354
  this.subList = {};
3296
3355
  });
3297
3356
  }
@@ -3385,7 +3444,7 @@ class Lt {
3385
3444
  * Находит первый элемент, соответствующий условиям поиска.
3386
3445
  */
3387
3446
  highlightFirstItem = c(() => {
3388
- const t = this.getHighlight(), e = t && t.length >= this.getHighlightLengthStart() && Ct(t, "i");
3447
+ const t = this.getHighlight(), e = t && t.length >= this.getHighlightLengthStart() && kt(t, "i");
3389
3448
  return e ? this.map.value.findIndex(
3390
3449
  (s) => s.label?.toString().match(e) || s.index?.toString().match(e) || s.search?.toString().match(e)
3391
3450
  ) : -1;
@@ -3413,13 +3472,13 @@ class Lt {
3413
3472
  *
3414
3473
  * Возвращает список выделенных элементов на карте.
3415
3474
  */
3416
- selectedNames = c(() => it(this.selectedList.value, "label"));
3475
+ selectedNames = c(() => nt(this.selectedList.value, "label"));
3417
3476
  /**
3418
3477
  * Returns a list of selected item values on the map.
3419
3478
  *
3420
3479
  * Возвращает список значений выделенных элементов на карте.
3421
3480
  */
3422
- selectedValues = c(() => it(this.selectedList.value, "value"));
3481
+ selectedValues = c(() => nt(this.selectedList.value, "value"));
3423
3482
  /**
3424
3483
  * Checks whether it is necessary to first display a simplified version.
3425
3484
  *
@@ -3549,7 +3608,7 @@ class Lt {
3549
3608
  * @param item List item data/ данные элемента списка
3550
3609
  */
3551
3610
  getSubList(t) {
3552
- return t.index in this.subList || (this.subList[t.index] = new Lt(
3611
+ return t.index in this.subList || (this.subList[t.index] = new Mt(
3553
3612
  t.value,
3554
3613
  this.focus,
3555
3614
  this.highlight,
@@ -3600,7 +3659,7 @@ class Lt {
3600
3659
  * @param item selected element/ выбранный элемент
3601
3660
  */
3602
3661
  initItem(t, e) {
3603
- if (C(e)) {
3662
+ if (L(e)) {
3604
3663
  const s = e?.[this.keyValue?.value ?? "value"], n = e?.[this.keyLabel?.value ?? "label"] ?? s, a = this.getIndex(
3605
3664
  e?.index,
3606
3665
  s,
@@ -3625,7 +3684,7 @@ class Lt {
3625
3684
  };
3626
3685
  }
3627
3686
  }
3628
- class De {
3687
+ class Be {
3629
3688
  static router;
3630
3689
  /**
3631
3690
  * Get router instance.
@@ -3663,7 +3722,7 @@ class De {
3663
3722
  this.router || this.set(t);
3664
3723
  }
3665
3724
  }
3666
- class ke {
3725
+ class Te {
3667
3726
  /**
3668
3727
  * Reactive item.
3669
3728
  *
@@ -3674,7 +3733,7 @@ class ke {
3674
3733
  * Constructor
3675
3734
  */
3676
3735
  constructor() {
3677
- vt.is().then((t) => {
3736
+ St.is().then((t) => {
3678
3737
  this.item.value = t;
3679
3738
  });
3680
3739
  }
@@ -3685,34 +3744,34 @@ class ke {
3685
3744
  */
3686
3745
  is = c(() => this.item.value !== void 0);
3687
3746
  }
3688
- const ie = (i) => typeof i == "string" ? { method: i } : i || {};
3747
+ const ce = (i) => typeof i == "string" ? { method: i } : i || {};
3689
3748
  let U;
3690
- function Me(i, t, e = !0, s, n, a) {
3691
- const o = $(), u = w(ie(t)), h = $(!1), l = $(!1);
3692
- let L = !0, D = 0;
3749
+ function Fe(i, t, e = !0, s, n, a) {
3750
+ const o = $(), u = S(ce(t)), h = $(!1), l = $(!1);
3751
+ let C = !0, D = 0;
3693
3752
  const V = async () => {
3694
- if (L)
3753
+ if (C)
3695
3754
  return;
3696
3755
  const v = g(i);
3697
3756
  if ((!s || s.value) && v) {
3698
3757
  h.value = !0, l.value = !0;
3699
3758
  let q = {};
3700
- const ut = await j.request({
3759
+ const gt = await H.request({
3701
3760
  path: v,
3702
3761
  ...u.value
3703
3762
  });
3704
- ut && (q = ut), n ? o.value = n(q) : o.value = q, h.value = !1;
3763
+ gt && (q = gt), n ? o.value = n(q) : o.value = q, h.value = !1;
3705
3764
  } else o.value !== void 0 && (o.value = void 0);
3706
- }, Mt = () => {
3765
+ }, It = () => {
3707
3766
  const v = [];
3708
- e && v.push(u), at(i) && v.push(i), s && v.push(s), U && v.push(U), v.length > 0 && p(v, async () => {
3767
+ e && v.push(u), ct(i) && v.push(i), s && v.push(s), U && v.push(U), v.length > 0 && y(v, async () => {
3709
3768
  h.value || await V();
3710
3769
  });
3711
3770
  };
3712
3771
  return {
3713
3772
  get data() {
3714
- return L && (L = !1, V().then()), Mt(), a && (D++, st(() => {
3715
- D--, D < 1 && (console.warn("useApiRef: unmounted"), o.value = void 0, L = !0, D = 0);
3773
+ return C && (C = !1, V().then()), It(), a && (D++, it(() => {
3774
+ D--, D < 1 && (console.warn("useApiRef: unmounted"), o.value = void 0, C = !0, D = 0);
3716
3775
  })), o;
3717
3776
  },
3718
3777
  get isStarting() {
@@ -3725,40 +3784,56 @@ function Me(i, t, e = !0, s, n, a) {
3725
3784
  reset: V
3726
3785
  };
3727
3786
  }
3728
- const Ae = (i) => {
3787
+ const Ee = (i) => {
3729
3788
  U || (U = i);
3730
3789
  };
3731
- function Ie(i, t, e) {
3732
- if (i in Q)
3733
- return Q[i];
3734
- const s = new Zt(i), n = $(s.get(t, e));
3735
- return p(n, (a) => {
3790
+ function ue(i, t) {
3791
+ const e = `broadcast--${i}`;
3792
+ if (e in X)
3793
+ return X[e];
3794
+ const s = $(A(t)), n = new Zt(
3795
+ e,
3796
+ (a) => {
3797
+ s.value !== a.data.message && (s.value = a.data.message);
3798
+ }
3799
+ );
3800
+ return y(s, (a) => n.post({ message: a })), X[e] = s, s;
3801
+ }
3802
+ const X = {};
3803
+ function xe(i, t, e) {
3804
+ if (i in tt)
3805
+ return tt[i];
3806
+ const s = new rt(i), n = ue(
3807
+ `__cookie:${i}`,
3808
+ s.get(t, e)
3809
+ );
3810
+ return y(n, (a) => {
3736
3811
  s.set(a, e);
3737
- }), Q[i] = n, n;
3812
+ }), tt[i] = n, n;
3738
3813
  }
3739
- const Q = {};
3740
- function Ne() {
3741
- return new se();
3814
+ const tt = {};
3815
+ function Re() {
3816
+ return new oe();
3742
3817
  }
3743
- function Te(i, t) {
3744
- if (i in X)
3745
- return X[i];
3746
- const e = W(R.get(i, t));
3747
- return p(e, (s) => R.set(i, s)), R.addWatch(i, (s) => {
3818
+ function Oe(i, t) {
3819
+ if (i in et)
3820
+ return et[i];
3821
+ const e = P(R.get(i, t));
3822
+ return y(e, (s) => R.set(i, s)), R.addWatch(i, (s) => {
3748
3823
  e.value = s;
3749
- }), X[i] = e, e;
3824
+ }), et[i] = e, e;
3750
3825
  }
3751
- const X = {};
3752
- let mt = G(1e5, 9e5);
3753
- function H(i, t) {
3826
+ const et = {};
3827
+ let $t = O(1e5, 9e5);
3828
+ function G(i, t) {
3754
3829
  const e = K(i);
3755
- return e ? (O(e.id) || e.setAttribute("id", `id-${mt++}`), t ? `#${e.id}${t}`.trim() : e.id) : `id-${mt++}`;
3830
+ return e ? (W(e.id) || e.setAttribute("id", `id-${$t++}`), t ? `#${e.id}${t}`.trim() : e.id) : `id-${$t++}`;
3756
3831
  }
3757
- const Be = () => {
3832
+ const We = () => {
3758
3833
  const i = {}, t = "IntersectionObserver" in window ? new IntersectionObserver(
3759
3834
  (s) => {
3760
3835
  s.forEach((n) => {
3761
- const a = H(n.target);
3836
+ const a = G(n.target);
3762
3837
  a in i && (i[a].status.value = n.isIntersecting);
3763
3838
  });
3764
3839
  },
@@ -3767,7 +3842,7 @@ const Be = () => {
3767
3842
  }
3768
3843
  ) : void 0, e = (s) => {
3769
3844
  if (s) {
3770
- const n = H(s);
3845
+ const n = G(s);
3771
3846
  n in i && (t?.unobserve(s), i[n]?.stopWatch(), delete i[n]);
3772
3847
  }
3773
3848
  };
@@ -3780,11 +3855,11 @@ const Be = () => {
3780
3855
  * @param element element for tracking/ элемента для отслеживания
3781
3856
  */
3782
3857
  addLazyItem(s) {
3783
- const n = W(!t);
3858
+ const n = P(!t);
3784
3859
  if (t) {
3785
- const a = p(s, (o, u) => {
3860
+ const a = y(s, (o, u) => {
3786
3861
  if (u && t.unobserve(u), s.value) {
3787
- const h = H(s.value);
3862
+ const h = G(s.value);
3788
3863
  i[h] = {
3789
3864
  status: n,
3790
3865
  stopWatch: a
@@ -3809,31 +3884,24 @@ const Be = () => {
3809
3884
  disconnectLazy: () => t?.disconnect()
3810
3885
  };
3811
3886
  };
3812
- function Fe() {
3813
- const i = W(ht.is());
3814
- return ht.registrationEvent(({ detail: t }) => {
3887
+ function Pe() {
3888
+ const i = P(ft.is());
3889
+ return ft.registrationEvent(({ detail: t }) => {
3815
3890
  i.value = t.loading;
3816
3891
  }), i;
3817
3892
  }
3818
- function xe(i, t) {
3819
- if (i in tt)
3820
- return tt[i];
3893
+ function je(i, t) {
3894
+ if (i in st)
3895
+ return st[i];
3821
3896
  const e = new Y(i, !0), s = $(e.get(t));
3822
- return p(s, (n) => e.set(n)), tt[i] = s, s;
3823
- }
3824
- const tt = {};
3825
- function Ee(i, t, e) {
3826
- if (i in et)
3827
- return et[i];
3828
- const s = new Y(i), n = $(s.get(t, e));
3829
- return p(n, (a) => s.set(a)), et[i] = n, n;
3897
+ return y(s, (n) => e.set(n)), st[i] = s, s;
3830
3898
  }
3831
- const et = {};
3832
- function re(i) {
3833
- const t = W(z.getListSync(i, !0)), e = async () => {
3899
+ const st = {};
3900
+ function he(i) {
3901
+ const t = P(z.getListSync(i, !0)), e = async () => {
3834
3902
  t.value = { ...await z.getList(i) };
3835
3903
  };
3836
- p(wt.getLanguage(), e);
3904
+ y(Dt.getLanguage(), e);
3837
3905
  for (const s in t.value)
3838
3906
  if (t.value[s] === s || t.value[s] === " ") {
3839
3907
  e().then();
@@ -3841,155 +3909,155 @@ function re(i) {
3841
3909
  }
3842
3910
  return t;
3843
3911
  }
3844
- const Re = (i) => re(i);
3845
- function Oe(i) {
3846
- return nt(i) ? i.trim() : ct(i) && i.findIndex((t) => m(t)) === -1 ? i.join(",") : m(i) ? JSON.stringify(i) : i === !0 ? "1" : i === !1 ? "0" : i?.toString() ?? "";
3912
+ const He = (i) => he(i);
3913
+ function Ge(i) {
3914
+ return ot(i) ? i.trim() : ht(i) && i.findIndex((t) => m(t)) === -1 ? i.join(",") : m(i) ? JSON.stringify(i) : i === !0 ? "1" : i === !1 ? "0" : i?.toString() ?? "";
3847
3915
  }
3848
- function ne(i, t) {
3916
+ function le(i, t) {
3849
3917
  return Array(t).fill(i);
3850
3918
  }
3851
- function We(i) {
3919
+ function ze(i) {
3852
3920
  if (d())
3853
3921
  return document.querySelector(i) ?? void 0;
3854
3922
  }
3855
- function Pe(i) {
3923
+ function Ue(i) {
3856
3924
  if (d())
3857
3925
  return document.querySelectorAll(i);
3858
3926
  }
3859
- function je(i) {
3927
+ function Ze(i) {
3860
3928
  i.preventDefault(), i.stopPropagation();
3861
3929
  }
3862
- const Dt = [], ae = G(1e5, 999999);
3863
- function He(i, t = !0, e = !1, s = !0) {
3930
+ const At = [], ge = O(1e5, 999999);
3931
+ function Ye(i, t = !0, e = !1, s = !0) {
3864
3932
  let n;
3865
- const a = `__execute_use${ae}::${H()}`, o = (...u) => {
3933
+ const a = `__execute_use${ge}::${G()}`, o = (...u) => {
3866
3934
  if (!e && s) {
3867
- const h = Wt(a, void 0);
3935
+ const h = Ht(a, void 0);
3868
3936
  if (h)
3869
3937
  return h;
3870
3938
  {
3871
3939
  let l = Object.freeze(i(...u));
3872
- return Pt(a, l), t && st(() => {
3940
+ return Gt(a, l), t && it(() => {
3873
3941
  l = void 0;
3874
3942
  }), l;
3875
3943
  }
3876
- } else n || (n = Object.freeze(i(...u)), t && st(() => {
3944
+ } else n || (n = Object.freeze(i(...u)), t && it(() => {
3877
3945
  n = void 0;
3878
3946
  }));
3879
3947
  return n;
3880
3948
  };
3881
- return e && Dt.push(o), o;
3949
+ return e && At.push(o), o;
3882
3950
  }
3883
- function Ge() {
3884
- Dt.forEach((i) => i());
3951
+ function Ke() {
3952
+ At.forEach((i) => i());
3885
3953
  }
3886
- function oe(i, t, e) {
3954
+ function fe(i, t, e) {
3887
3955
  const s = () => {
3888
- i(), t?.() ? oe(i, t, e) : e?.();
3956
+ i(), t?.() ? fe(i, t, e) : e?.();
3889
3957
  };
3890
3958
  d() ? requestAnimationFrame(s) : s();
3891
3959
  }
3892
- function ze(i) {
3960
+ function Ve(i) {
3893
3961
  const t = {}, e = K(i);
3894
3962
  if (e)
3895
3963
  for (const s of e.attributes)
3896
3964
  t[s.name] = (s?.value || s?.textContent) ?? void 0;
3897
3965
  return t;
3898
3966
  }
3899
- async function Ue(i) {
3967
+ async function qe(i) {
3900
3968
  return i?.clipboardData?.getData("text") ?? (await navigator.clipboard.readText() || "");
3901
3969
  }
3902
- function ce(i, t) {
3970
+ function de(i, t) {
3903
3971
  const e = t.split(".", 2), s = e[0];
3904
- return s && i?.[s] && C(i[s]) && e?.[1] ? ce(i[s], e[1]) : (s && i?.[s]) ?? "";
3972
+ return s && i?.[s] && L(i[s]) && e?.[1] ? de(i[s], e[1]) : (s && i?.[s]) ?? "";
3905
3973
  }
3906
- function Ze(i) {
3974
+ function _e(i) {
3907
3975
  return i?.key ?? i?.code ?? i?.keyCode?.toString();
3908
3976
  }
3909
- function kt(i) {
3977
+ function Nt(i) {
3910
3978
  return f(i, (t) => t.length);
3911
3979
  }
3912
- function Ye(i) {
3913
- return Math.max(...kt(i));
3980
+ function Je(i) {
3981
+ return Math.max(...Nt(i));
3914
3982
  }
3915
- function Ke(i) {
3916
- return Math.min(...kt(i));
3983
+ function Qe(i) {
3984
+ return Math.min(...Nt(i));
3917
3985
  }
3918
- function ue(i) {
3986
+ function me(i) {
3919
3987
  return i?.clientX || i?.targetTouches?.[0]?.clientX || i?.touches?.[0]?.clientX || 0;
3920
3988
  }
3921
- function he(i) {
3989
+ function ye(i) {
3922
3990
  return i?.clientY || i?.targetTouches?.[0]?.clientY || i?.touches?.[0]?.clientY || 0;
3923
3991
  }
3924
- function Ve(i) {
3992
+ function Xe(i) {
3925
3993
  return {
3926
- x: ue(i),
3927
- y: he(i)
3994
+ x: me(i),
3995
+ y: ye(i)
3928
3996
  };
3929
3997
  }
3930
- function qe(i, t) {
3998
+ function ts(i, t) {
3931
3999
  const e = {};
3932
4000
  return t.forEach((s) => {
3933
4001
  s in i && i[s] !== void 0 && (e[s] = i[s]);
3934
4002
  }), e;
3935
4003
  }
3936
- function Je(i, t = void 0) {
4004
+ function es(i, t = void 0) {
3937
4005
  const e = {};
3938
4006
  return f(i, (s, n) => {
3939
4007
  s !== t && (e[n] = s);
3940
4008
  }), e;
3941
4009
  }
3942
- function _e(i) {
3943
- return C(i) ? i : {};
4010
+ function ss(i) {
4011
+ return L(i) ? i : {};
3944
4012
  }
3945
- function le(i, t) {
3946
- return ne(i, t).join("");
4013
+ function pe(i, t) {
4014
+ return le(i, t).join("");
3947
4015
  }
3948
- function Qe(i, t, e = "#", s = 2, n = 12) {
3949
- const a = G(i, t), o = [];
4016
+ function is(i, t, e = "#", s = 2, n = 12) {
4017
+ const a = O(i, t), o = [];
3950
4018
  for (let u = 0; u < a; u++)
3951
- o.push(le(e, G(s, n)));
4019
+ o.push(pe(e, O(s, n)));
3952
4020
  return o.join(" ");
3953
4021
  }
3954
- function Xe(i, t) {
4022
+ function rs(i, t) {
3955
4023
  const e = i ?? 0;
3956
4024
  return t > e ? 100 / (t - e) : 0;
3957
4025
  }
3958
- function ts(i, t) {
4026
+ function ns(i, t) {
3959
4027
  const e = i ?? 0;
3960
4028
  return t > e ? (t - e) / 100 : 0;
3961
4029
  }
3962
- const yt = 0;
3963
- function es(i, t, e) {
4030
+ const vt = 0;
4031
+ function as(i, t, e) {
3964
4032
  const s = t?.closest(i);
3965
4033
  if (t && s && s.scrollHeight !== s.offsetHeight)
3966
4034
  if (e) {
3967
4035
  const n = e.getBoundingClientRect(), a = s.getBoundingClientRect(), o = t.getBoundingClientRect();
3968
4036
  s.scrollTop = t.offsetTop - (n.top - a.top) - (n.height / 2 - o.height / 2), s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight);
3969
- } else s.scrollTop > t.offsetTop ? s.scrollTop = t.offsetTop - yt : s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight + yt);
4037
+ } else s.scrollTop > t.offsetTop ? s.scrollTop = t.offsetTop - vt : s.scrollTop + s.offsetHeight < t.offsetTop + t.offsetHeight && (s.scrollTop = t.offsetTop + t.offsetHeight - s.offsetHeight + vt);
3970
4038
  }
3971
- function ss(i, t) {
4039
+ function os(i, t) {
3972
4040
  return i.indexOf(t) !== -1;
3973
4041
  }
3974
- async function is() {
4042
+ async function cs() {
3975
4043
  if (d()) {
3976
- const i = await vt.get();
4044
+ const i = await St.get();
3977
4045
  document.body.style.setProperty("--sys-scrollbar-offset", `${i}px`);
3978
4046
  }
3979
4047
  }
3980
- function rs(i, t) {
4048
+ function us(i, t) {
3981
4049
  const e = {};
3982
4050
  return m(i) && m(t) && f(i, (s, n) => {
3983
4051
  n in t && (e[n] = s);
3984
4052
  }), e;
3985
4053
  }
3986
- function ns(i, t) {
4054
+ function hs(i, t) {
3987
4055
  let e = Object.keys(i).length !== Object.keys(t).length;
3988
4056
  return e || f(i, (s, n) => {
3989
4057
  s !== t?.[n] && (e = !0);
3990
4058
  }), e;
3991
4059
  }
3992
- function as(i) {
4060
+ function ls(i) {
3993
4061
  switch (typeof i) {
3994
4062
  case "number":
3995
4063
  return !0;
@@ -3999,62 +4067,62 @@ function as(i) {
3999
4067
  return !1;
4000
4068
  }
4001
4069
  }
4002
- function os(i, t) {
4070
+ function gs(i, t) {
4003
4071
  const e = Math.floor(t);
4004
4072
  return i >= e && i < e + 1;
4005
4073
  }
4006
- function cs(i, t) {
4074
+ function fs(i, t) {
4007
4075
  return Array.isArray(i) ? i.every((e) => F(e, t)) : F(i, t);
4008
4076
  }
4009
- function ge(i, t = {}, e = "value", s = !1) {
4077
+ function $e(i, t = {}, e = "value", s = !1) {
4010
4078
  const n = typeof t == "string", a = n ? t : e, o = n ? {} : t;
4011
- return i ? i && C(i) && (a in i || s) ? rt(o, i) : rt(o, { [a]: i }) : n ? {} : { ...o };
4079
+ return i ? i && L(i) && (a in i || s) ? at(o, i) : at(o, { [a]: i }) : n ? {} : { ...o };
4012
4080
  }
4013
- function us(i, t = {}, e = "value") {
4014
- return c(() => ge(g(i), g(t), e));
4081
+ function ds(i, t = {}, e = "value") {
4082
+ return c(() => $e(g(i), g(t), e));
4015
4083
  }
4016
- const hs = (i, t) => {
4084
+ const ms = (i, t) => {
4017
4085
  const e = $();
4018
4086
  let s = !0;
4019
4087
  const n = () => {
4020
- s && (jt(async () => {
4088
+ s && (zt(async () => {
4021
4089
  const a = g(await i());
4022
4090
  a !== t && (e.value = a);
4023
4091
  }), s = !1);
4024
4092
  };
4025
4093
  return c(() => (n(), e.value));
4026
4094
  };
4027
- function ls(i, t) {
4095
+ function ys(i, t) {
4028
4096
  i.value !== t && (i.value = t);
4029
4097
  }
4030
- function gs(i) {
4098
+ function ps(i) {
4031
4099
  let t;
4032
4100
  return c(() => (t || (t = i()), t.value));
4033
4101
  }
4034
- function fe(i) {
4102
+ function ve(i) {
4035
4103
  return [...new Set(i)];
4036
4104
  }
4037
- function T(i, t, e = !0) {
4038
- const s = x(i);
4105
+ function B(i, t, e = !0) {
4106
+ const s = E(i);
4039
4107
  return m(i) && m(t) && f(
4040
4108
  t,
4041
4109
  (n, a) => {
4042
4110
  const o = i?.[a];
4043
- m(o) && m(n) ? e && Array.isArray(o) && Array.isArray(n) ? s[a] = x(fe([...o, ...n])) : s[a] = T(
4111
+ m(o) && m(n) ? e && Array.isArray(o) && Array.isArray(n) ? s[a] = E(ve([...o, ...n])) : s[a] = B(
4044
4112
  Array.isArray(o) ? { ...o } : o,
4045
4113
  n,
4046
4114
  e
4047
- ) : s[a] = m(n) ? x(n) : n;
4115
+ ) : s[a] = m(n) ? E(n) : n;
4048
4116
  }
4049
4117
  ), s;
4050
4118
  }
4051
- function fs(i, t) {
4119
+ function $s(i, t) {
4052
4120
  let e = i;
4053
4121
  return f(t, (s, n) => {
4054
- e = e.replace(Ct(`[${n}]`), I(s));
4122
+ e = e.replace(kt(`[${n}]`), A(s));
4055
4123
  }), e;
4056
4124
  }
4057
- function ds(i) {
4125
+ function vs(i) {
4058
4126
  const t = b(i);
4059
4127
  if (t > 0) {
4060
4128
  const e = String(Math.floor(t / 60)).padStart(2, "0"), s = String(t % 60).padStart(2, "0");
@@ -4062,14 +4130,14 @@ function ds(i) {
4062
4130
  }
4063
4131
  return "00:00";
4064
4132
  }
4065
- function ms(i, t, {
4133
+ function bs(i, t, {
4066
4134
  multiple: e = !1,
4067
4135
  maxlength: s = 0,
4068
4136
  alwaysChange: n = !0,
4069
4137
  notEmpty: a = !1
4070
4138
  }) {
4071
4139
  if (e) {
4072
- if (ct(i)) {
4140
+ if (ht(i)) {
4073
4141
  const o = i.indexOf(t), u = [...i];
4074
4142
  return o !== -1 ? (!a || u.length > 1) && u.splice(o, 1) : (!s || i.length < s) && u.push(t), u;
4075
4143
  }
@@ -4077,37 +4145,37 @@ function ms(i, t, {
4077
4145
  }
4078
4146
  return n || i !== t ? t : i;
4079
4147
  }
4080
- function ys(i, t, e) {
4148
+ function ws(i, t, e) {
4081
4149
  if (m(i) && m(t)) {
4082
4150
  if (e) {
4083
4151
  let s = {}, n = !1;
4084
4152
  return f(i, (a, o) => {
4085
- !n && (e === o || e === a) ? (n = !0, s = T(s, t)) : n ? s = T(s, { [o]: a }) : s[o] = m(a) ? x(a) : a;
4086
- }), n ? s : T(i, t);
4153
+ !n && (e === o || e === a) ? (n = !0, s = B(s, t)) : n ? s = B(s, { [o]: a }) : s[o] = m(a) ? E(a) : a;
4154
+ }), n ? s : B(i, t);
4087
4155
  }
4088
4156
  if (m(t))
4089
- return T(i, t);
4157
+ return B(i, t);
4090
4158
  }
4091
- return x(i);
4159
+ return E(i);
4092
4160
  }
4093
- function ps(i) {
4094
- return St(i).replace(/^([a-z])/, (t) => `${t.toUpperCase()}`);
4161
+ function Ss(i) {
4162
+ return Ct(i).replace(/^([a-z])/, (t) => `${t.toUpperCase()}`);
4095
4163
  }
4096
- function $s(i) {
4164
+ function Ls(i) {
4097
4165
  return i.toString().trim().replace(/[^\w- ]+/g, "").replace(/ +/g, "-").replace(new RegExp("(?<=[A-Z])([A-Z])", "g"), (t) => `${t.toLowerCase()}`).replace(/^[A-Z]/, (t) => t.toLowerCase()).replace(new RegExp("(?<=[\\w ])[A-Z]", "g"), (t) => `-${t.toLowerCase()}`).replace(/[A-Z]/g, (t) => t.toLowerCase());
4098
4166
  }
4099
- function vs(i, t, e, s) {
4167
+ function Cs(i, t, e, s) {
4100
4168
  const n = b(i), a = b(t);
4101
- return t && a < n ? `${pt(a, e, s)}+` : pt(n, e, s);
4169
+ return t && a < n ? `${bt(a, e, s)}+` : bt(n, e, s);
4102
4170
  }
4103
- const pt = (i, t, e) => t ? new N(e).number(i) : i;
4104
- function de(i, t) {
4171
+ const bt = (i, t, e) => t ? new I(e).number(i) : i;
4172
+ function be(i, t) {
4105
4173
  return 1 / i * t;
4106
4174
  }
4107
- function bs(i, t) {
4108
- return de(i, t) * 100;
4175
+ function Ds(i, t) {
4176
+ return be(i, t) * 100;
4109
4177
  }
4110
- async function Ss(i) {
4178
+ async function ks(i) {
4111
4179
  if (d())
4112
4180
  try {
4113
4181
  await navigator.clipboard.writeText(i);
@@ -4116,139 +4184,141 @@ async function Ss(i) {
4116
4184
  }
4117
4185
  }
4118
4186
  export {
4119
- j as Api,
4120
- Ls as ApiMethodItem,
4121
- Gt as Cache,
4122
- Ht as CacheItem,
4123
- lt as CacheStatic,
4124
- Zt as Cookie,
4125
- Ut as CookieBlock,
4187
+ H as Api,
4188
+ Ns as ApiMethodItem,
4189
+ Zt as BroadcastMessage,
4190
+ Vt as Cache,
4191
+ Kt as CacheItem,
4192
+ dt as CacheStatic,
4193
+ rt as Cookie,
4194
+ _t as CookieBlock,
4126
4195
  Y as DataStorage,
4127
- ot as Datetime,
4128
- we as DatetimeRef,
4129
- _t as DesignAbstract,
4130
- ve as DesignAsyncAbstract,
4131
- Jt as DesignChanged,
4132
- be as DesignComp,
4133
- bt as DesignComponents,
4134
- Se as DesignConstructorAbstract,
4135
- Bt as EventItem,
4136
- Ce as EventRef,
4196
+ ut as Datetime,
4197
+ Ae as DatetimeRef,
4198
+ se as DesignAbstract,
4199
+ De as DesignAsyncAbstract,
4200
+ ee as DesignChanged,
4201
+ ke as DesignComp,
4202
+ Lt as DesignComponents,
4203
+ Me as DesignConstructorAbstract,
4204
+ xt as EventItem,
4205
+ Ne as EventRef,
4137
4206
  r as GEO_FLAG_ICON_NAME,
4138
- y as Geo,
4139
- E as GeoFlag,
4140
- Le as GeoFlagRef,
4141
- N as GeoIntl,
4142
- se as GeoIntlRef,
4143
- ft as GeoPhone,
4144
- wt as GeoRef,
4145
- $e as Global,
4207
+ p as Geo,
4208
+ x as GeoFlag,
4209
+ Ie as GeoFlagRef,
4210
+ I as GeoIntl,
4211
+ oe as GeoIntlRef,
4212
+ yt as GeoPhone,
4213
+ Dt as GeoRef,
4214
+ Ce as Global,
4146
4215
  R as Hash,
4147
- Ds as Icons,
4148
- Lt as ListDataRef,
4149
- ht as Loading,
4150
- De as RouterItemRef,
4151
- vt as ScrollbarWidth,
4152
- ke as ScrollbarWidthRef,
4216
+ Is as Icons,
4217
+ Mt as ListDataRef,
4218
+ ft as Loading,
4219
+ Be as RouterItemRef,
4220
+ St as ScrollbarWidth,
4221
+ Te as ScrollbarWidthRef,
4153
4222
  z as Translate,
4154
- Oe as anyToString,
4155
- qt as applyTemplate,
4156
- ne as arrFill,
4157
- x as copyObject,
4158
- dt as createElement,
4159
- We as domQuerySelector,
4160
- Pe as domQuerySelectorAll,
4161
- je as eventStopPropagation,
4162
- I as executeFunction,
4163
- ks as executePromise,
4164
- He as executeUse,
4165
- Ge as executeUseGlobalInit,
4223
+ Ge as anyToString,
4224
+ te as applyTemplate,
4225
+ le as arrFill,
4226
+ E as copyObject,
4227
+ pt as createElement,
4228
+ ze as domQuerySelector,
4229
+ Ue as domQuerySelectorAll,
4230
+ Ze as eventStopPropagation,
4231
+ A as executeFunction,
4232
+ Bs as executePromise,
4233
+ Ye as executeUse,
4234
+ Ke as executeUseGlobalInit,
4166
4235
  f as forEach,
4167
- oe as frame,
4168
- ze as getAttributes,
4169
- ge as getBind,
4170
- us as getBindRef,
4171
- Qt as getClassName,
4172
- Ue as getClipboardData,
4173
- it as getColumn,
4174
- hs as getComputedAsync,
4236
+ fe as frame,
4237
+ Ve as getAttributes,
4238
+ $e as getBind,
4239
+ ds as getBindRef,
4240
+ ie as getClassName,
4241
+ qe as getClipboardData,
4242
+ nt as getColumn,
4243
+ ms as getComputedAsync,
4175
4244
  K as getElement,
4176
- H as getElementId,
4177
- Yt as getElementItem,
4178
- Ms as getElementOrWindow,
4179
- Ct as getExp,
4180
- Xt as getIndexForRender,
4181
- ce as getItemByPath,
4182
- Ze as getKey,
4183
- kt as getLengthOfAllArray,
4184
- Ye as getMaxLengthAllArray,
4185
- Ke as getMinLengthAllArray,
4186
- Ve as getMouseClient,
4187
- ue as getMouseClientX,
4188
- he as getMouseClientY,
4189
- qe as getObjectByKeys,
4190
- Je as getObjectNoUndefined,
4191
- _e as getObjectOrNone,
4192
- Qe as getRandomText,
4245
+ G as getElementId,
4246
+ Jt as getElementItem,
4247
+ Ts as getElementOrWindow,
4248
+ kt as getExp,
4249
+ re as getIndexForRender,
4250
+ de as getItemByPath,
4251
+ _e as getKey,
4252
+ Nt as getLengthOfAllArray,
4253
+ Je as getMaxLengthAllArray,
4254
+ Qe as getMinLengthAllArray,
4255
+ Xe as getMouseClient,
4256
+ me as getMouseClientX,
4257
+ ye as getMouseClientY,
4258
+ ts as getObjectByKeys,
4259
+ es as getObjectNoUndefined,
4260
+ ss as getObjectOrNone,
4261
+ is as getRandomText,
4193
4262
  g as getRef,
4194
- Tt as getRequestString,
4195
- Xe as getStepPercent,
4196
- ts as getStepValue,
4197
- es as goScroll,
4198
- ss as inArray,
4199
- is as initScrollbarOffset,
4200
- rs as intersectKey,
4201
- ct as isArray,
4202
- ns as isDifferent,
4263
+ Et as getRequestString,
4264
+ rs as getStepPercent,
4265
+ ns as getStepValue,
4266
+ as as goScroll,
4267
+ os as inArray,
4268
+ cs as initScrollbarOffset,
4269
+ us as intersectKey,
4270
+ ht as isArray,
4271
+ hs as isDifferent,
4203
4272
  d as isDomRuntime,
4204
- O as isFilled,
4205
- as as isFloat,
4206
- As as isFunction,
4207
- Is as isInDom,
4208
- os as isIntegerBetween,
4209
- Nt as isNull,
4210
- Ns as isNumber,
4273
+ W as isFilled,
4274
+ ls as isFloat,
4275
+ Fs as isFunction,
4276
+ Es as isInDom,
4277
+ gs as isIntegerBetween,
4278
+ Ft as isNull,
4279
+ xs as isNumber,
4211
4280
  m as isObject,
4212
- C as isObjectNotArray,
4281
+ L as isObjectNotArray,
4213
4282
  F as isSelected,
4214
- cs as isSelectedByList,
4215
- nt as isString,
4216
- Ts as isWindow,
4217
- G as random,
4218
- te as render,
4219
- T as replaceRecursive,
4220
- fs as replaceTemplate,
4221
- ds as secondToTime,
4222
- Ae as setApiRefGlobalConditions,
4223
- Kt as setElementItem,
4224
- ls as setRef,
4225
- ms as setValues,
4226
- ys as splice,
4227
- le as strFill,
4228
- Re as t,
4229
- B as toArray,
4230
- rt as toBind,
4231
- ee as toBinds,
4232
- St as toCamelCase,
4233
- ps as toCamelCaseFirst,
4234
- gs as toComputed,
4235
- S as toDate,
4236
- $s as toKebabCase,
4283
+ fs as isSelectedByList,
4284
+ ot as isString,
4285
+ Rs as isWindow,
4286
+ O as random,
4287
+ ne as render,
4288
+ B as replaceRecursive,
4289
+ $s as replaceTemplate,
4290
+ vs as secondToTime,
4291
+ Ee as setApiRefGlobalConditions,
4292
+ Qt as setElementItem,
4293
+ ys as setRef,
4294
+ bs as setValues,
4295
+ ws as splice,
4296
+ pe as strFill,
4297
+ He as t,
4298
+ T as toArray,
4299
+ at as toBind,
4300
+ ae as toBinds,
4301
+ Ct as toCamelCase,
4302
+ Ss as toCamelCaseFirst,
4303
+ ps as toComputed,
4304
+ w as toDate,
4305
+ Ls as toKebabCase,
4237
4306
  b as toNumber,
4238
- vs as toNumberByMax,
4239
- de as toPercent,
4240
- bs as toPercentBy100,
4241
- w as toRefItem,
4242
- $t as transformation,
4243
- fe as uniqueArray,
4244
- Me as useApiRef,
4245
- Ie as useCookieRef,
4246
- Ne as useGeoIntlRef,
4247
- Te as useHashRef,
4248
- Be as useLazyRef,
4249
- Fe as useLoadingRef,
4250
- xe as useSessionRef,
4251
- Ee as useStorageRef,
4252
- re as useTranslateRef,
4253
- Ss as writeClipboardData
4307
+ Cs as toNumberByMax,
4308
+ be as toPercent,
4309
+ Ds as toPercentBy100,
4310
+ S as toRefItem,
4311
+ wt as transformation,
4312
+ ve as uniqueArray,
4313
+ Fe as useApiRef,
4314
+ ue as useBroadcastValueRef,
4315
+ xe as useCookieRef,
4316
+ Re as useGeoIntlRef,
4317
+ Oe as useHashRef,
4318
+ We as useLazyRef,
4319
+ Pe as useLoadingRef,
4320
+ je as useSessionRef,
4321
+ Ut as useStorageRef,
4322
+ he as useTranslateRef,
4323
+ ks as writeClipboardData
4254
4324
  };