@dxtmisha/functional 1.4.2 → 1.6.4

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,12 +1,15 @@
1
- var ct = Object.defineProperty;
2
- var ut = (i, t, e) => t in i ? ct(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var n = (i, t, e) => ut(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { geo as lt } from "@dxtmisha/media";
5
- function O(i) {
1
+ var lt = Object.defineProperty;
2
+ var gt = (i, t, e) => t in i ? lt(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var n = (i, t, e) => gt(i, typeof t != "symbol" ? t + "" : t, e);
4
+ import { geo as ft } from "@dxtmisha/media";
5
+ function d(i, t) {
6
+ return t ? Object.assign({}, i, t) : Object.assign({}, i);
7
+ }
8
+ function $(i) {
6
9
  return !!(i && typeof i == "object");
7
10
  }
8
- function b(i, t) {
9
- if (O(i)) {
11
+ function L(i, t) {
12
+ if ($(i)) {
10
13
  const e = [];
11
14
  return i instanceof Map ? i.forEach((s, a) => e.push(t(s, a, i))) : Array.isArray(i) ? i.forEach((s, a) => e.push(t(s, a, i))) : Object.entries(i).forEach(
12
15
  ([s, a]) => e.push(t(a, s, i))
@@ -14,16 +17,16 @@ function b(i, t) {
14
17
  }
15
18
  return [];
16
19
  }
17
- function it(i, t = "=", e = "&") {
18
- return b(
20
+ function rt(i, t = "=", e = "&") {
21
+ return L(
19
22
  i,
20
23
  (s, a) => `${a}${t}${encodeURIComponent(String(s).trim())}`
21
24
  ).sort().join(e);
22
25
  }
23
- function M(i) {
26
+ function N(i) {
24
27
  return i == null;
25
28
  }
26
- function L(i, t) {
29
+ function C(i, t) {
27
30
  if (i) {
28
31
  if (t && i === "0")
29
32
  return !0;
@@ -37,7 +40,7 @@ function L(i, t) {
37
40
  case "symbol":
38
41
  return !0;
39
42
  case "object":
40
- return Array.isArray(i) ? i.length > 0 : Object.values(i).some((e) => !M(e));
43
+ return Array.isArray(i) ? i.length > 0 : Object.values(i).some((e) => !N(e));
41
44
  case "string":
42
45
  return !["", "undefined", "null", "0", "false", "[]"].includes(i);
43
46
  case "undefined":
@@ -48,19 +51,19 @@ function L(i, t) {
48
51
  }
49
52
  return !1;
50
53
  }
51
- function m(i) {
52
- return O(i) && !Array.isArray(i);
54
+ function v(i) {
55
+ return $(i) && !Array.isArray(i);
53
56
  }
54
- function T(i) {
57
+ function F(i) {
55
58
  return typeof i == "string";
56
59
  }
57
- function gt(i) {
60
+ function dt(i) {
58
61
  return JSON.parse(JSON.stringify(i));
59
62
  }
60
63
  function u() {
61
64
  return typeof window != "undefined" && !!window.document;
62
65
  }
63
- function W(i) {
66
+ function J(i) {
64
67
  switch (typeof i) {
65
68
  case "number":
66
69
  return !0;
@@ -70,7 +73,7 @@ function W(i) {
70
73
  return !1;
71
74
  }
72
75
  }
73
- function P(i) {
76
+ function V(i) {
74
77
  if (typeof i == "number")
75
78
  return i;
76
79
  if (!i)
@@ -78,18 +81,21 @@ function P(i) {
78
81
  let t = i.replace(/[^\d., ]+/ig, "");
79
82
  return t.match(/( [0-9]{3}[ ,.]|[0-9] [0-9])/ig) ? t = t.replace(/ /ig, "").replace(/,/ig, ".") : t.match(/,[0-9]{3}[,.]/ig) ? t = t.replace(/,/ig, "") : t.match(/[.][0-9]{3}[,.]/ig) ? t = t.replace(/[.]/ig, "").replace(/,/ig, ".") : t = t.replace(/,/ig, "."), parseFloat(t);
80
83
  }
81
- function ft(i, t) {
82
- return M(i) ? !1 : Array.isArray(t) ? t.includes(i) : W(i) && W(t) ? P(i) === P(t) : i === t;
84
+ function pt(i, t) {
85
+ return N(i) ? !1 : Array.isArray(t) ? t.includes(i) : J(i) && J(t) ? V(i) === V(t) : i === t;
83
86
  }
84
- function at(i) {
87
+ function nt(i) {
85
88
  return i instanceof Function || typeof i == "function";
86
89
  }
87
- function y(i) {
88
- return at(i) ? i() : i;
90
+ function m(i) {
91
+ return nt(i) ? i() : i;
89
92
  }
90
- const N = {};
91
- let J = "ui-storage";
92
- class z {
93
+ function z() {
94
+ return location.href.startsWith("data:");
95
+ }
96
+ const B = {};
97
+ let Z = "ui-storage";
98
+ class j {
93
99
  /**
94
100
  * Constructor
95
101
  * @param name value name/ название значения
@@ -100,9 +106,9 @@ class z {
100
106
  n(this, "age");
101
107
  this.name = t, this.isSession = e;
102
108
  const s = `${e ? "session" : "storage"}#${t}`;
103
- if (s in N)
104
- return N[s];
105
- this.make(), N[s] = this;
109
+ if (s in B)
110
+ return B[s];
111
+ this.make(), B[s] = this;
106
112
  }
107
113
  /**
108
114
  * Changing the prefix in key names. Should be called at the beginning of the code.
@@ -111,7 +117,7 @@ class z {
111
117
  * @param newPrefix new prefix/ новый префикс
112
118
  */
113
119
  static setPrefix(t) {
114
- J = t;
120
+ Z = t;
115
121
  }
116
122
  /**
117
123
  * Getting data from local storage.
@@ -134,7 +140,7 @@ class z {
134
140
  */
135
141
  set(t) {
136
142
  var e;
137
- return this.value = y(t), this.age = (/* @__PURE__ */ new Date()).getTime(), this.value === void 0 ? this.remove() : (e = this.getMethod()) == null || e.setItem(this.getIndex(), JSON.stringify({
143
+ return this.value = m(t), this.age = (/* @__PURE__ */ new Date()).getTime(), this.value === void 0 ? this.remove() : (e = this.getMethod()) == null || e.setItem(this.getIndex(), JSON.stringify({
138
144
  value: this.value,
139
145
  age: this.age
140
146
  })), this.value;
@@ -163,7 +169,7 @@ class z {
163
169
  * @param cache cache time/ время кэширования
164
170
  */
165
171
  isCache(t) {
166
- return M(t) || this.age && this.age + t * 1e3 >= (/* @__PURE__ */ new Date()).getTime();
172
+ return N(t) || this.age && this.age + t * 1e3 >= (/* @__PURE__ */ new Date()).getTime();
167
173
  }
168
174
  /**
169
175
  * Returns an object for working with storage.
@@ -171,8 +177,11 @@ class z {
171
177
  * Возвращает объект для работы с хранилищем.
172
178
  */
173
179
  getMethod() {
174
- if (u())
175
- return this.isSession ? window == null ? void 0 : window.sessionStorage : window == null ? void 0 : window.localStorage;
180
+ if (u() && !z()) {
181
+ const t = this.isSession ? window == null ? void 0 : window.sessionStorage : window == null ? void 0 : window.localStorage;
182
+ if (t)
183
+ return t;
184
+ }
176
185
  }
177
186
  /**
178
187
  * Getting the storage key name.
@@ -180,7 +189,7 @@ class z {
180
189
  * Получение имени ключа в хранилище.
181
190
  */
182
191
  getIndex() {
183
- return `${J}__${this.name}`;
192
+ return `${Z}__${this.name}`;
184
193
  }
185
194
  /**
186
195
  * Getting data from storage.
@@ -207,7 +216,7 @@ class z {
207
216
  return t ? (this.value = t.value, this.age = t.age) : (this.value = void 0, this.age = void 0), this;
208
217
  }
209
218
  }
210
- const dt = "geo-code", o = class o {
219
+ const yt = "geo-code", h = class h {
211
220
  /**
212
221
  * Information about the current country.
213
222
  *
@@ -262,10 +271,9 @@ const dt = "geo-code", o = class o {
262
271
  * Получение обработанных данных.
263
272
  */
264
273
  static getItem() {
265
- return {
266
- ...this.item,
274
+ return d(this.item, {
267
275
  language: this.language
268
- };
276
+ });
269
277
  }
270
278
  /**
271
279
  * Returns the full list of countries.
@@ -273,7 +281,7 @@ const dt = "geo-code", o = class o {
273
281
  * Возвращает полный список стран.
274
282
  */
275
283
  static getList() {
276
- return lt;
284
+ return ft;
277
285
  }
278
286
  /**
279
287
  * Returns the data about the country by its full code.
@@ -284,7 +292,7 @@ const dt = "geo-code", o = class o {
284
292
  */
285
293
  static getByCode(t) {
286
294
  let e;
287
- return t && (t.match(/([A-Z]{2}-[a-z]{2})|([a-z]{2}-[A-Z]{2})/) && (e = this.getByCodeFull(t)), !e && t.match(/[A-Z]{2}/) && (e = this.getByCountry(this.toCountry(t))), !e && t.match(/[a-z]{2}/) && (e = this.getByLanguage(this.toLanguage(t)))), this.toFull(gt(e != null ? e : this.getList()[0]));
295
+ return t && (t.match(/([A-Z]{2}-[a-z]{2})|([a-z]{2}-[A-Z]{2})/) && (e = this.getByCodeFull(t)), !e && t.match(/[A-Z]{2}/) && (e = this.getByCountry(this.toCountry(t))), !e && t.match(/[a-z]{2}/) && (e = this.getByLanguage(this.toLanguage(t)))), this.toFull(dt(e != null ? e : this.getList()[0]));
288
296
  }
289
297
  /**
290
298
  * Returns the full data by language and country.
@@ -294,7 +302,7 @@ const dt = "geo-code", o = class o {
294
302
  */
295
303
  static getByCodeFull(t) {
296
304
  return this.getList().find(
297
- (e) => ft(t, [
305
+ (e) => pt(t, [
298
306
  `${e.language}-${e.country}`,
299
307
  `${e.country}-${e.language}`
300
308
  ])
@@ -424,34 +432,33 @@ const dt = "geo-code", o = class o {
424
432
  * объект с данными об текущей стране
425
433
  */
426
434
  static toFull(t) {
427
- return {
428
- ...t,
435
+ return d(t, {
429
436
  standard: this.toStandard(t),
430
437
  firstDay: (t == null ? void 0 : t.firstDay) || "Mo"
431
- };
438
+ });
432
439
  }
433
440
  };
434
- n(o, "storage", new z(dt)), n(o, "location"), n(o, "item"), n(o, "language"), n(o, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), o.location = o.findLocation(), o.language = o.findLanguage(o.location), o.item = o.getByCode(o.location);
435
- let S = o;
436
- function rt(i) {
441
+ n(h, "storage", new j(yt)), n(h, "location"), n(h, "item"), n(h, "language"), n(h, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), h.location = h.findLocation(), h.language = h.findLanguage(h.location), h.item = h.getByCode(h.location);
442
+ let S = h;
443
+ function ot(i) {
437
444
  return u() && i === window;
438
445
  }
439
- function p(i) {
446
+ function y(i) {
440
447
  var t;
441
448
  if (u())
442
- return rt(i) ? document.body : T(i) ? (t = document.querySelector(i)) != null ? t : void 0 : i;
449
+ return ot(i) ? document.body : F(i) ? (t = document.querySelector(i)) != null ? t : void 0 : i;
443
450
  }
444
- function V(i) {
445
- return rt(i) ? i : p(i);
451
+ function q(i) {
452
+ return ot(i) ? i : y(i);
446
453
  }
447
- function pt(i) {
454
+ function mt(i) {
448
455
  var t;
449
- return !!((t = p(i)) != null && t.closest("html"));
456
+ return !!((t = y(i)) != null && t.closest("html"));
450
457
  }
451
- function A(i) {
458
+ function R(i) {
452
459
  return Array.isArray(i) ? i : [i];
453
460
  }
454
- class Z {
461
+ class K {
455
462
  /**
456
463
  * Classes Constructor
457
464
  * @param elementSelector element/ элемент
@@ -493,7 +500,7 @@ class Z {
493
500
  */
494
501
  n(this, "listenerRecent", (t) => {
495
502
  var e, s;
496
- pt(this.elementControl) ? ((e = this.listener) == null || e.call(this.element, t, this.detail), O(this.options) && ((s = this.options) != null && s.once) && this.stop()) : this.stop();
503
+ mt(this.elementControl) ? ((e = this.listener) == null || e.call(this.element, t, this.detail), $(this.options) && ((s = this.options) != null && s.once) && this.stop()) : this.stop();
497
504
  });
498
505
  /**
499
506
  * Event states.
@@ -502,7 +509,7 @@ class Z {
502
509
  */
503
510
  n(this, "activity", !1);
504
511
  n(this, "activityItems", []);
505
- this.listener = s, this.options = a, this.detail = r, this.element = V(t), this.elementControl = p(t), this.type = A(e);
512
+ this.listener = s, this.options = a, this.detail = r, this.element = q(t), this.elementControl = y(t), this.type = R(e);
506
513
  }
507
514
  /**
508
515
  * Checks whether event listening is currently enabled.
@@ -522,8 +529,8 @@ class Z {
522
529
  * @param elementSelector element/ элемент
523
530
  */
524
531
  setElement(t) {
525
- const e = V(t);
526
- return this.elementControlEdit || (this.elementControl = p(t)), this.element = e, this.reset(), this;
532
+ const e = q(t);
533
+ return this.elementControlEdit || (this.elementControl = y(t)), this.element = e, this.reset(), this;
527
534
  }
528
535
  /**
529
536
  * Modifies the object that receives the notification.
@@ -532,7 +539,7 @@ class Z {
532
539
  * @param elementSelector element/ элемент
533
540
  */
534
541
  setElementControl(t) {
535
- return this.elementControl = p(t), this.elementControlEdit = !M(this.elementControl), this.elementControlEdit || (this.elementControl = p(this.element)), this;
542
+ return this.elementControl = y(t), this.elementControlEdit = !N(this.elementControl), this.elementControlEdit || (this.elementControl = y(this.element)), this;
536
543
  }
537
544
  /**
538
545
  * Changes the type of the handled event.
@@ -541,7 +548,7 @@ class Z {
541
548
  * @param type type/ тип
542
549
  */
543
550
  setType(t) {
544
- return this.type = A(t), this.reset(), this;
551
+ return this.type = R(t), this.reset(), this;
545
552
  }
546
553
  /**
547
554
  * Modifies the object that receives the notification.
@@ -687,7 +694,7 @@ class Z {
687
694
  return !1;
688
695
  }
689
696
  }
690
- const q = "ui-loading", D = class D {
697
+ const Q = "ui-loading", O = class O {
691
698
  /**
692
699
  * Check if the loader is active now.
693
700
  *
@@ -722,7 +729,7 @@ const q = "ui-loading", D = class D {
722
729
  * @param element element/ элемент
723
730
  */
724
731
  static registrationEvent(t, e) {
725
- u() && new Z(window, q, t).setElementControl(e).start();
732
+ u() && new K(window, Q, t).setElementControl(e).start();
726
733
  }
727
734
  /**
728
735
  * Calls the event listener.
@@ -734,9 +741,9 @@ const q = "ui-loading", D = class D {
734
741
  (t = this.event) == null || t.dispatch({ loading: this.is() });
735
742
  }
736
743
  };
737
- n(D, "value", 0), n(D, "event"), u() && (D.event = new Z(window, q));
738
- let E = D;
739
- class yt {
744
+ n(O, "value", 0), n(O, "event"), u() && (O.event = new K(window, Q));
745
+ let E = O;
746
+ class vt {
740
747
  constructor() {
741
748
  /** Default headers/ Заголовки по умолчанию */
742
749
  n(this, "headers", {});
@@ -750,11 +757,11 @@ class yt {
750
757
  */
751
758
  get(t, e = "application/json;charset=UTF-8") {
752
759
  if (t !== null) {
753
- const s = {
754
- ...this.headers,
755
- ...t || {}
756
- };
757
- return L(e) && (s["Content-Type"] = e), s;
760
+ const s = d(
761
+ this.headers,
762
+ t
763
+ );
764
+ return C(e) && (s["Content-Type"] = e), s;
758
765
  }
759
766
  }
760
767
  /**
@@ -763,11 +770,11 @@ class yt {
763
770
  * Изменяет данные заголовка по умолчанию.
764
771
  */
765
772
  set(t) {
766
- return m(t) && (this.headers = t), this;
773
+ return v(t) && (this.headers = t), this;
767
774
  }
768
775
  }
769
776
  var l = /* @__PURE__ */ ((i) => (i.get = "GET", i.post = "POST", i.put = "PUT", i.delete = "DELETE", i))(l || {});
770
- class mt {
777
+ class wt {
771
778
  constructor() {
772
779
  /** Default request data/ Данные запроса по умолчанию */
773
780
  n(this, "value");
@@ -799,11 +806,8 @@ class mt {
799
806
  if (e) {
800
807
  if (t instanceof FormData)
801
808
  this.addByFormData(t, e);
802
- else if (m(t))
803
- return {
804
- ...e,
805
- ...t
806
- };
809
+ else if (v(t))
810
+ return d(e, t);
807
811
  }
808
812
  return t;
809
813
  }
@@ -827,7 +831,7 @@ class mt {
827
831
  t.has(s) || t.set(s, e[s]);
828
832
  }
829
833
  }
830
- class vt {
834
+ class bt {
831
835
  constructor() {
832
836
  n(this, "value");
833
837
  }
@@ -922,7 +926,7 @@ class vt {
922
926
  * @param response response data/ данные ответа
923
927
  */
924
928
  setLastResponse(t) {
925
- return t && m(t) && "message" in t && this.setLastMessage(String(t.message)), this.set({ lastResponse: t }), this;
929
+ return t && v(t) && "message" in t && this.setLastMessage(String(t.message)), this.set({ lastResponse: t }), this;
926
930
  }
927
931
  /**
928
932
  * Sets messages from the last request.
@@ -944,15 +948,15 @@ class vt {
944
948
  this.value || (this.value = {}), this.value[t] = e;
945
949
  }
946
950
  }
947
- async function wt(i) {
948
- const t = y(i);
951
+ async function Et(i) {
952
+ const t = m(i);
949
953
  return t instanceof Promise ? await t : t;
950
954
  }
951
- function Et(i, t) {
955
+ function Lt(i, t) {
952
956
  return Math.floor(Math.random() * (t - i + 1) + i);
953
957
  }
954
- const K = "d-response-loading";
955
- class bt {
958
+ const Y = "d-response-loading";
959
+ class Ct {
956
960
  /**
957
961
  * Constructor
958
962
  * @param requestDefault default request processor/ процессор запросов по умолчанию
@@ -995,7 +999,7 @@ class bt {
995
999
  * @param response data for caching/ данные для кеширования
996
1000
  */
997
1001
  add(t) {
998
- return this.response.push(...A(t)), this;
1002
+ return this.response.push(...R(t)), this;
999
1003
  }
1000
1004
  /**
1001
1005
  * Sets developer mode.
@@ -1018,10 +1022,10 @@ class bt {
1018
1022
  devMode: r = !1
1019
1023
  } = t;
1020
1024
  if (a || this.isDevMode(r)) {
1021
- const h = this.requestDefault.request(t.request), g = this.get(e, s, h, r);
1025
+ const o = this.requestDefault.request(t.request), g = this.get(e, s, o, r);
1022
1026
  if (g) {
1023
- const f = await this.fetch(g, h);
1024
- return this.isDevMode(r) && console.warn("Response data:", e, h, f), f;
1027
+ const f = await this.fetch(g, o);
1028
+ return this.isDevMode(r) && console.warn("Response data:", e, o, f), f;
1025
1029
  }
1026
1030
  }
1027
1031
  }
@@ -1032,7 +1036,7 @@ class bt {
1032
1036
  * @param item cached item/ кешированный элемент
1033
1037
  */
1034
1038
  isDisable(t) {
1035
- return !!y(t == null ? void 0 : t.disable);
1039
+ return !!m(t == null ? void 0 : t.disable);
1036
1040
  }
1037
1041
  /**
1038
1042
  * Checks if the path matches the cached one.
@@ -1072,8 +1076,8 @@ class bt {
1072
1076
  */
1073
1077
  isResponse(t, e) {
1074
1078
  const s = this.requestDefault.request(t == null ? void 0 : t.request);
1075
- return e === s || s === "*any" || L(e) && L(s) && m(e) && m(s) && !(e instanceof FormData) && !(s instanceof FormData) && Object.values(e).length === Object.values(s).length && Object.entries(s).reduce(
1076
- (a, [r, h]) => a && (h === (e == null ? void 0 : e[r]) || h === "*any"),
1079
+ return e === s || s === "*any" || C(e) && C(s) && v(e) && v(s) && !(e instanceof FormData) && !(s instanceof FormData) && Object.values(e).length === Object.values(s).length && Object.entries(s).reduce(
1080
+ (a, [r, o]) => a && (o === (e == null ? void 0 : e[r]) || o === "*any"),
1077
1081
  !0
1078
1082
  );
1079
1083
  }
@@ -1086,12 +1090,12 @@ class bt {
1086
1090
  */
1087
1091
  fetch(t, e) {
1088
1092
  return this.startResponseLoading(), new Promise((s) => {
1089
- wt(
1090
- at(t.response) ? t.response(e) : t.response
1093
+ Et(
1094
+ nt(t.response) ? t.response(e) : t.response
1091
1095
  ).then((a) => {
1092
1096
  t != null && t.lag ? (E.show(), setTimeout(() => {
1093
1097
  this.stopResponseLoading(), s(a), E.hide();
1094
- }, Et(0, 2e3))) : (this.stopResponseLoading(), s(a));
1098
+ }, Lt(0, 2e3))) : (this.stopResponseLoading(), s(a));
1095
1099
  });
1096
1100
  });
1097
1101
  }
@@ -1101,7 +1105,7 @@ class bt {
1101
1105
  * Включить загрузку для эмуляции запроса.
1102
1106
  */
1103
1107
  startResponseLoading() {
1104
- this.loading && clearTimeout(this.loading), u() && document.body.classList.add(K);
1108
+ this.loading && clearTimeout(this.loading), u() && document.body.classList.add(Y);
1105
1109
  }
1106
1110
  /**
1107
1111
  * Disable loading for request emulation.
@@ -1110,11 +1114,11 @@ class bt {
1110
1114
  */
1111
1115
  stopResponseLoading() {
1112
1116
  this.loading = setTimeout(() => {
1113
- this.loading = void 0, u() && document.body.classList.remove(K);
1117
+ this.loading = void 0, u() && document.body.classList.remove(Y);
1114
1118
  }, 1200);
1115
1119
  }
1116
1120
  }
1117
- class Lt {
1121
+ class Dt {
1118
1122
  constructor() {
1119
1123
  /** Function for call before the request/ Функция для вызова перед запросом */
1120
1124
  n(this, "callback");
@@ -1230,8 +1234,8 @@ const c = class c {
1230
1234
  static getBody(t = {}, e = l.get) {
1231
1235
  if (t instanceof FormData)
1232
1236
  return t;
1233
- if (e !== l.get && L(t))
1234
- return T(t) ? t : JSON.stringify(t);
1237
+ if (e !== l.get && C(t))
1238
+ return F(t) ? t : JSON.stringify(t);
1235
1239
  }
1236
1240
  /**
1237
1241
  * Getting data for the body of the get method.
@@ -1243,8 +1247,8 @@ const c = class c {
1243
1247
  */
1244
1248
  static getBodyForGet(t, e = "", s = l.get) {
1245
1249
  if (s === l.get) {
1246
- const a = e.match(/\?/) ? "&" : "?", r = typeof t == "object" ? it(t) : t;
1247
- if (L(r))
1250
+ const a = e.match(/\?/) ? "&" : "?", r = typeof t == "object" ? rt(t) : t;
1251
+ if (C(r))
1248
1252
  return `${a}${r}`;
1249
1253
  }
1250
1254
  return "";
@@ -1299,7 +1303,7 @@ const c = class c {
1299
1303
  * @param pathRequest query string or list of parameters/ строка запроса или список параметров
1300
1304
  */
1301
1305
  static async request(t) {
1302
- return T(t) ? await this.fetch({
1306
+ return F(t) ? await this.fetch({
1303
1307
  path: t
1304
1308
  }) : await this.fetch(t);
1305
1309
  }
@@ -1310,10 +1314,9 @@ const c = class c {
1310
1314
  * @param request list of parameters/ список параметров
1311
1315
  */
1312
1316
  static get(t) {
1313
- return this.request({
1314
- ...t,
1317
+ return this.request(d(t, {
1315
1318
  method: l.get
1316
- });
1319
+ }));
1317
1320
  }
1318
1321
  /**
1319
1322
  * Sends a post method request.
@@ -1322,10 +1325,9 @@ const c = class c {
1322
1325
  * @param request list of parameters/ список параметров
1323
1326
  */
1324
1327
  static post(t) {
1325
- return this.request({
1326
- ...t,
1328
+ return this.request(d(t, {
1327
1329
  method: l.post
1328
- });
1330
+ }));
1329
1331
  }
1330
1332
  /**
1331
1333
  * Sends a put method request.
@@ -1334,10 +1336,9 @@ const c = class c {
1334
1336
  * @param request list of parameters/ список параметров
1335
1337
  */
1336
1338
  static put(t) {
1337
- return this.request({
1338
- ...t,
1339
+ return this.request(d(t, {
1339
1340
  method: l.put
1340
- });
1341
+ }));
1341
1342
  }
1342
1343
  /**
1343
1344
  * Sends a delete method request.
@@ -1346,10 +1347,9 @@ const c = class c {
1346
1347
  * @param request list of parameters/ список параметров
1347
1348
  */
1348
1349
  static delete(t) {
1349
- return this.request({
1350
- ...t,
1350
+ return this.request(d(t, {
1351
1351
  method: l.delete
1352
- });
1352
+ }));
1353
1353
  }
1354
1354
  /**
1355
1355
  * To execute a request.
@@ -1363,7 +1363,7 @@ const c = class c {
1363
1363
  hideError: s = !1,
1364
1364
  queryReturn: a = void 0,
1365
1365
  globalPreparation: r = !0,
1366
- globalEnd: h = !0
1366
+ globalEnd: o = !0
1367
1367
  } = t, g = await this.response.emulator(t);
1368
1368
  if (g)
1369
1369
  return g;
@@ -1371,19 +1371,19 @@ const c = class c {
1371
1371
  E.show();
1372
1372
  try {
1373
1373
  await this.preparation.make(r);
1374
- const d = await this.makeQuery(t), v = await this.preparation.makeEnd(h, d);
1374
+ const p = await this.makeQuery(t), w = await this.preparation.makeEnd(o, p);
1375
1375
  if (this.status.setStatus(
1376
- d.status,
1377
- d.statusText
1378
- ), v != null && v.reset)
1376
+ p.status,
1377
+ p.statusText
1378
+ ), w != null && w.reset)
1379
1379
  return E.hide(), await this.fetch(t);
1380
1380
  f = await this.readData(
1381
- d,
1381
+ p,
1382
1382
  a,
1383
- v
1383
+ w
1384
1384
  );
1385
- } catch (d) {
1386
- s || console.error("Api: ", d), this.status.setError(String(d));
1385
+ } catch (p) {
1386
+ s || console.error("Api: ", p), this.status.setError(String(p));
1387
1387
  }
1388
1388
  return E.hide(), this.makeData(f, e);
1389
1389
  }
@@ -1410,16 +1410,15 @@ const c = class c {
1410
1410
  api: s = !0,
1411
1411
  path: a = "",
1412
1412
  pathFull: r = void 0,
1413
- method: h = l.get,
1413
+ method: o = l.get,
1414
1414
  headers: g = {},
1415
1415
  type: f = "application/json;charset=UTF-8",
1416
- init: d = {}
1417
- } = t, v = r != null ? r : this.getUrl(a, s), ot = `${v}${this.getBodyForGet(e, v, h)}`, j = this.headers.get(g, f), U = {
1418
- ...d,
1419
- method: h,
1420
- body: this.getBody(e, h)
1421
- };
1422
- return j && (U.headers = j), await fetch(ot, U);
1416
+ init: p = {}
1417
+ } = t, w = r != null ? r : this.getUrl(a, s), ut = `${w}${this.getBodyForGet(e, w, o)}`, W = this.headers.get(g, f), P = d(p, {
1418
+ method: o,
1419
+ body: this.getBody(e, o)
1420
+ });
1421
+ return W && (P.headers = W), await fetch(ut, P);
1423
1422
  }
1424
1423
  /**
1425
1424
  * Transforms data if needed.
@@ -1429,9 +1428,9 @@ const c = class c {
1429
1428
  * @param toData is it necessary to process the data/ нужно ли обрабатывать данные
1430
1429
  */
1431
1430
  static makeData(t, e) {
1432
- if (this.status.setLastResponse(t), t && e && m(t) && "data" in t) {
1433
- if (m(t.data)) {
1434
- const s = { ...t.data };
1431
+ if (this.status.setLastResponse(t), t && e && v(t) && "data" in t) {
1432
+ if (v(t.data)) {
1433
+ const s = d(t.data);
1435
1434
  return "success" in t && (s.success = t.success), s;
1436
1435
  }
1437
1436
  return t.data;
@@ -1439,9 +1438,9 @@ const c = class c {
1439
1438
  return t;
1440
1439
  }
1441
1440
  };
1442
- n(c, "url", "/api/"), n(c, "headers", new yt()), n(c, "requestDefault", new mt()), n(c, "status", new vt()), n(c, "response", new bt(c.requestDefault)), n(c, "preparation", new Lt());
1443
- let F = c;
1444
- class Ct {
1441
+ n(c, "url", "/api/"), n(c, "headers", new vt()), n(c, "requestDefault", new wt()), n(c, "status", new bt()), n(c, "response", new Ct(c.requestDefault)), n(c, "preparation", new Dt());
1442
+ let x = c;
1443
+ class St {
1445
1444
  /**
1446
1445
  * Constructor
1447
1446
  * @param callback function for the cache/ функция для кэша
@@ -1504,7 +1503,7 @@ class Ct {
1504
1503
  return this.cache === void 0 || this.comparisons.length !== t.length || this.comparisons.findIndex((e, s) => e !== t[s]) >= 0 ? (this.comparisons = [...t], !0) : !1;
1505
1504
  }
1506
1505
  }
1507
- class St {
1506
+ class Ot {
1508
1507
  constructor() {
1509
1508
  n(this, "cache", {});
1510
1509
  }
@@ -1538,10 +1537,10 @@ class St {
1538
1537
  * @param callback function for the cache/ функция для кэша
1539
1538
  */
1540
1539
  getCacheItem(t, e) {
1541
- return t in this.cache || (this.cache[t] = new Ct(e)), this.cache[t];
1540
+ return t in this.cache || (this.cache[t] = new St(e)), this.cache[t];
1542
1541
  }
1543
1542
  }
1544
- const R = class R {
1543
+ const M = class M {
1545
1544
  /**
1546
1545
  * Getting data for the cache, and if there is no cache, it performs a function to save the cache.
1547
1546
  *
@@ -1554,9 +1553,9 @@ const R = class R {
1554
1553
  return this.cache.get(t, e, s);
1555
1554
  }
1556
1555
  };
1557
- n(R, "cache"), R.cache = new St();
1558
- let Q = R;
1559
- function nt(i, t = !1) {
1556
+ n(M, "cache"), M.cache = new Ot();
1557
+ let X = M;
1558
+ function ht(i, t = !1) {
1560
1559
  if (typeof i == "string") {
1561
1560
  const e = i.trim();
1562
1561
  switch (e) {
@@ -1587,8 +1586,8 @@ function nt(i, t = !1) {
1587
1586
  }
1588
1587
  return i;
1589
1588
  }
1590
- const Dt = "cookie-block";
1591
- class ht {
1589
+ const kt = "cookie-block";
1590
+ class ct {
1592
1591
  /**
1593
1592
  * Obtaining status.
1594
1593
  *
@@ -1608,14 +1607,14 @@ class ht {
1608
1607
  this.storage.set(t);
1609
1608
  }
1610
1609
  }
1611
- n(ht, "storage", new z(Dt));
1612
- const $ = {}, x = class x {
1610
+ n(ct, "storage", new j(kt));
1611
+ const A = {}, U = class U {
1613
1612
  constructor(t) {
1614
1613
  n(this, "value");
1615
1614
  n(this, "options", {});
1616
- if (this.name = t, t in B)
1617
- return B[t];
1618
- this.value = $ == null ? void 0 : $[t], B[t] = this;
1615
+ if (this.name = t, t in T)
1616
+ return T[t];
1617
+ this.value = A == null ? void 0 : A[t], T[t] = this;
1619
1618
  }
1620
1619
  /**
1621
1620
  * Get data or update if none.
@@ -1635,7 +1634,7 @@ const $ = {}, x = class x {
1635
1634
  * @param options additional parameters/ дополнительные параметры
1636
1635
  */
1637
1636
  set(t, e) {
1638
- this.value = y(t), Object.assign(this.options, e), this.update();
1637
+ this.value = m(t), Object.assign(this.options, e), this.update();
1639
1638
  }
1640
1639
  /**
1641
1640
  * Delete cookie data.
@@ -1661,11 +1660,11 @@ const $ = {}, x = class x {
1661
1660
  */
1662
1661
  update() {
1663
1662
  var t, e, s, a, r;
1664
- if (u() && !ht.get()) {
1665
- const h = String((t = this.value) != null ? t : "");
1663
+ if (u() && !z() && !ct.get()) {
1664
+ const o = String((t = this.value) != null ? t : "");
1666
1665
  document.cookie = [
1667
- `${encodeURIComponent(this.name)}=${encodeURIComponent(h)}`,
1668
- `max-age=${h === "" ? "-1" : this.getAge()}`,
1666
+ `${encodeURIComponent(this.name)}=${encodeURIComponent(o)}`,
1667
+ `max-age=${o === "" ? "-1" : this.getAge()}`,
1669
1668
  `SameSite=${(s = (e = this.options) == null ? void 0 : e.sameSite) != null ? s : "strict"}`,
1670
1669
  ...(r = (a = this.options) == null ? void 0 : a.arguments) != null ? r : []
1671
1670
  ].join("; ");
@@ -1679,13 +1678,13 @@ const $ = {}, x = class x {
1679
1678
  static updateData() {
1680
1679
  for (const t of document.cookie.split(";")) {
1681
1680
  const [e, s] = t.trim().split("=");
1682
- e && L(s) && ($[e] = nt(s));
1681
+ e && C(s) && (A[e] = ht(s));
1683
1682
  }
1684
1683
  }
1685
1684
  };
1686
- u() && x.updateData();
1687
- let Y = x;
1688
- const B = {}, C = class C {
1685
+ u() && !z() && U.updateData();
1686
+ let H = U;
1687
+ const T = {}, D = class D {
1689
1688
  /**
1690
1689
  * Getting an object with information about the phone code and country.
1691
1690
  *
@@ -1704,8 +1703,8 @@ const B = {}, C = class C {
1704
1703
  static getByPhone(t) {
1705
1704
  let e = this.map, s, a = "";
1706
1705
  return this.toNumber(t).forEach((r) => {
1707
- var h;
1708
- a === "" && r in e ? (s = e[r], e = (h = s == null ? void 0 : s.next) != null ? h : {}) : a += r;
1706
+ var o;
1707
+ a === "" && r in e ? (s = e[r], e = (o = s == null ? void 0 : s.next) != null ? o : {}) : a += r;
1709
1708
  }), {
1710
1709
  item: s,
1711
1710
  phone: a
@@ -1747,7 +1746,7 @@ const B = {}, C = class C {
1747
1746
  * @param masks a mask to transform a phone number/ маска для преобразования номер телефон
1748
1747
  */
1749
1748
  static toMask(t, e) {
1750
- if (L(t) && Array.isArray(e) && e.length > 0) {
1749
+ if (C(t) && Array.isArray(e) && e.length > 0) {
1751
1750
  const s = this.removeZero(t), a = s.length;
1752
1751
  for (const r of e)
1753
1752
  if (this.getUnnecessaryLength(r) === a)
@@ -1795,12 +1794,12 @@ const B = {}, C = class C {
1795
1794
  * Формирование списка для карты.
1796
1795
  */
1797
1796
  static makeList() {
1798
- const t = b(S.getList(), (e) => {
1797
+ const t = L(S.getList(), (e) => {
1799
1798
  if (e != null && e.phoneMask)
1800
1799
  return {
1801
1800
  phone: (e == null ? void 0 : e.phoneCode) && Number(e.phoneCode.replace(/[^0-9]+/, "")) || void 0,
1802
1801
  within: (e == null ? void 0 : e.phoneWithin) || 0,
1803
- mask: A(e.phoneMask),
1802
+ mask: R(e.phoneMask),
1804
1803
  value: e.country
1805
1804
  };
1806
1805
  });
@@ -1816,7 +1815,7 @@ const B = {}, C = class C {
1816
1815
  t.mask.forEach((e) => {
1817
1816
  let s = this.map, a;
1818
1817
  if (this.toNumber(e).forEach((r) => {
1819
- var h;
1818
+ var o;
1820
1819
  r in s || (s[r] = {
1821
1820
  items: [],
1822
1821
  info: void 0,
@@ -1824,7 +1823,7 @@ const B = {}, C = class C {
1824
1823
  mask: [],
1825
1824
  maskFull: [],
1826
1825
  next: {}
1827
- }), a = s[r], s = (h = a == null ? void 0 : a.next) != null ? h : {};
1826
+ }), a = s[r], s = (o = a == null ? void 0 : a.next) != null ? o : {};
1828
1827
  }), a) {
1829
1828
  a.value === void 0 && (a.info = t, a.value = t.value);
1830
1829
  const r = this.toWithin(e, t.within);
@@ -1864,9 +1863,9 @@ const B = {}, C = class C {
1864
1863
  return t.replace(/\*/, this.getWithinSymbol(e));
1865
1864
  }
1866
1865
  };
1867
- n(C, "list", []), n(C, "map", {}), C.makeList(), C.makeMap();
1868
- let X = C;
1869
- const w = class w {
1866
+ n(D, "list", []), n(D, "map", {}), D.makeList(), D.makeMap();
1867
+ let G = D;
1868
+ const b = class b {
1870
1869
  /**
1871
1870
  * Get data from hash.
1872
1871
  *
@@ -1886,7 +1885,7 @@ const w = class w {
1886
1885
  */
1887
1886
  static set(t, e) {
1888
1887
  var a;
1889
- const s = y(e);
1888
+ const s = m(e);
1890
1889
  s !== ((a = this.hash) == null ? void 0 : a[t]) && (this.hash[t] = s, this.update());
1891
1890
  }
1892
1891
  /**
@@ -1920,7 +1919,7 @@ const w = class w {
1920
1919
  const t = {};
1921
1920
  return location.hash.replace(
1922
1921
  /([\w-]+)[:=]([^;]+)/ig,
1923
- (...e) => (t[String(e[1])] = nt(e[2]), "")
1922
+ (...e) => (t[String(e[1])] = ht(e[2]), "")
1924
1923
  ), t;
1925
1924
  }
1926
1925
  /**
@@ -1929,7 +1928,7 @@ const w = class w {
1929
1928
  * Обновление строки хэша в URL.
1930
1929
  */
1931
1930
  static update() {
1932
- this.block = !0, history.replaceState(null, "", `#${it(this.hash, "=", ";")}`), requestAnimationFrame(() => {
1931
+ this.block = !0, history.replaceState(null, "", `#${rt(this.hash, "=", ";")}`), requestAnimationFrame(() => {
1933
1932
  this.block = !1;
1934
1933
  });
1935
1934
  }
@@ -1940,15 +1939,15 @@ const w = class w {
1940
1939
  * @param location fresh data/ свежий данные
1941
1940
  */
1942
1941
  static makeWatch(t) {
1943
- b(this.watch, (e, s) => {
1942
+ L(this.watch, (e, s) => {
1944
1943
  var a;
1945
1944
  ((a = this.hash) == null ? void 0 : a[s]) !== (t == null ? void 0 : t[s]) && e.forEach((r) => r(t[s]));
1946
1945
  });
1947
1946
  }
1948
1947
  };
1949
- n(w, "hash", {}), n(w, "watch", {}), n(w, "block", !1), u() && (w.reload(), addEventListener("hashchange", () => w.reload()));
1950
- let H = w;
1951
- const I = "__UI_ICON", G = 320, _ = "--LOAD--", k = class k {
1948
+ n(b, "hash", {}), n(b, "watch", {}), n(b, "block", !1), u() && (b.reload(), addEventListener("hashchange", () => b.reload()));
1949
+ let _ = b;
1950
+ const I = "__UI_ICON", tt = 320, et = "--LOAD--", k = class k {
1952
1951
  /**
1953
1952
  * Checks if the given icon is in the list of connected icons.
1954
1953
  *
@@ -1969,9 +1968,9 @@ const I = "__UI_ICON", G = 320, _ = "--LOAD--", k = class k {
1969
1968
  * время ожидания загрузки картинки
1970
1969
  */
1971
1970
  static async get(t, e = "", s = 1e3 * 60 * 3) {
1972
- var r, h, g, f;
1973
- const a = (f = (g = (r = this.icons) == null ? void 0 : r[this.getName(t)]) != null ? g : (h = this.icons) == null ? void 0 : h[t]) != null ? f : `${t.replace(/^@/, e != null ? e : this.url)}.svg`;
1974
- return typeof a == "string" ? a === _ && s > 0 ? (await this.wait(), this.get(t, e, s - G)) : a : await a;
1971
+ var r, o, g, f;
1972
+ const a = (f = (g = (r = this.icons) == null ? void 0 : r[this.getName(t)]) != null ? g : (o = this.icons) == null ? void 0 : o[t]) != null ? f : `${t.replace(/^@/, e != null ? e : this.url)}.svg`;
1973
+ return typeof a == "string" ? a === et && s > 0 ? (await this.wait(), this.get(t, e, s - tt)) : a : await a;
1975
1974
  }
1976
1975
  /**
1977
1976
  * Returns a list of names of all registered icons.
@@ -1979,7 +1978,7 @@ const I = "__UI_ICON", G = 320, _ = "--LOAD--", k = class k {
1979
1978
  * Возвращает список названий всех зарегистрированных иконок.
1980
1979
  */
1981
1980
  static getNameList() {
1982
- return b(this.icons, (t, e) => e.replace(/^@/, ""));
1981
+ return L(this.icons, (t, e) => e.replace(/^@/, ""));
1983
1982
  }
1984
1983
  /**
1985
1984
  * Returns a global link.
@@ -1987,7 +1986,7 @@ const I = "__UI_ICON", G = 320, _ = "--LOAD--", k = class k {
1987
1986
  * Возвращает глобальную ссылку.
1988
1987
  */
1989
1988
  static getUrlGlobal() {
1990
- return `${F.isLocalhost(), ""}${this.url}`;
1989
+ return `${x.isLocalhost(), ""}${this.url}`;
1991
1990
  }
1992
1991
  /**
1993
1992
  * Adding custom icons.
@@ -2006,7 +2005,7 @@ const I = "__UI_ICON", G = 320, _ = "--LOAD--", k = class k {
2006
2005
  * @param index icon name/ название иконки
2007
2006
  */
2008
2007
  static addLoad(t) {
2009
- this.icons[this.getName(t)] = _;
2008
+ this.icons[this.getName(t)] = et;
2010
2009
  }
2011
2010
  /**
2012
2011
  * Adding custom global icons.
@@ -2025,7 +2024,7 @@ const I = "__UI_ICON", G = 320, _ = "--LOAD--", k = class k {
2025
2024
  * @param list list of icons/ список иконки
2026
2025
  */
2027
2026
  static addByList(t) {
2028
- b(t, (e, s) => this.add(s, e));
2027
+ L(t, (e, s) => this.add(s, e));
2029
2028
  }
2030
2029
  /**
2031
2030
  * Changes the file path.
@@ -2051,39 +2050,39 @@ const I = "__UI_ICON", G = 320, _ = "--LOAD--", k = class k {
2051
2050
  * Задержка выполнения скрипта.
2052
2051
  */
2053
2052
  static wait() {
2054
- return new Promise((t) => setTimeout(() => t(), G));
2053
+ return new Promise((t) => setTimeout(() => t(), tt));
2055
2054
  }
2056
2055
  };
2057
2056
  n(k, "icons", {}), n(k, "url", "/icons/"), u() && (I in window || (window[I] = {}), k.icons = window[I]);
2058
- let tt = k;
2059
- function kt(i, t, e) {
2057
+ let st = k;
2058
+ function $t(i, t, e) {
2060
2059
  var s, a;
2061
- return (a = (s = p(i)) == null ? void 0 : s[t]) != null ? a : e;
2060
+ return (a = (s = y(i)) == null ? void 0 : s[t]) != null ? a : e;
2062
2061
  }
2063
- function Ot(i, t, e) {
2064
- const s = p(i);
2062
+ function At(i, t, e) {
2063
+ const s = y(i);
2065
2064
  if (s) {
2066
- const a = kt(s, t);
2067
- if (O(a) && O(e))
2068
- b(e, (r, h) => {
2069
- a[h] = y(r);
2065
+ const a = $t(s, t);
2066
+ if ($(a) && $(e))
2067
+ L(e, (r, o) => {
2068
+ a[o] = m(r);
2070
2069
  });
2071
2070
  else {
2072
- const r = y(e);
2073
- !(t in s) && typeof r == "string" ? s.setAttribute(t.toString(), r) : s[t] = y(e);
2071
+ const r = m(e);
2072
+ !(t in s) && typeof r == "string" ? s.setAttribute(t.toString(), r) : s[t] = m(e);
2074
2073
  }
2075
2074
  }
2076
2075
  return s;
2077
2076
  }
2078
- function et(i, t = "div", e, s) {
2077
+ function it(i, t = "div", e, s) {
2079
2078
  if (!u())
2080
2079
  return;
2081
2080
  const a = document.createElement(t);
2082
- return typeof e == "function" ? e(a) : m(e) && b(e, (r, h) => {
2083
- Ot(a, h, r);
2081
+ return typeof e == "function" ? e(a) : v(e) && L(e, (r, o) => {
2082
+ At(a, o, r);
2084
2083
  }), i == null || i.insertBefore(a, s != null ? s : null), a;
2085
2084
  }
2086
- class st {
2085
+ class at {
2087
2086
  /**
2088
2087
  * Checks whether to enable scroll hiding.
2089
2088
  *
@@ -2113,8 +2112,8 @@ class st {
2113
2112
  * Создает элементы для проверки ширины скролла.
2114
2113
  */
2115
2114
  static createElement() {
2116
- return et(document.body, "div", (t) => {
2117
- t.style.height = "24px", t.style.overflowY = "scroll", t.style.position = "fixed", t.style.width = "100%", et(t, "div", (e) => {
2115
+ return it(document.body, "div", (t) => {
2116
+ t.style.height = "24px", t.style.overflowY = "scroll", t.style.position = "fixed", t.style.width = "100%", it(t, "div", (e) => {
2118
2117
  e.style.height = "100px";
2119
2118
  });
2120
2119
  });
@@ -2134,51 +2133,53 @@ class st {
2134
2133
  });
2135
2134
  }
2136
2135
  }
2137
- n(st, "storage", new z("scrollbar", !0)), n(st, "calculate", !1);
2136
+ n(at, "storage", new j("scrollbar", !0)), n(at, "calculate", !1);
2138
2137
  export {
2139
- F as A,
2140
- kt as B,
2141
- Y as C,
2142
- z as D,
2143
- Z as E,
2144
- V as F,
2138
+ x as A,
2139
+ G as B,
2140
+ H as C,
2141
+ j as D,
2142
+ K as E,
2143
+ $t as F,
2145
2144
  S as G,
2146
- H,
2147
- tt as I,
2148
- it as J,
2149
- at as K,
2145
+ _ as H,
2146
+ st as I,
2147
+ q as J,
2148
+ rt as K,
2150
2149
  E as L,
2151
- pt as M,
2152
- W as N,
2153
- rt as O,
2154
- Ot as P,
2155
- nt as Q,
2156
- l as R,
2157
- st as S,
2158
- M as a,
2159
- T as b,
2160
- et as c,
2161
- L as d,
2162
- A as e,
2163
- b as f,
2164
- m as g,
2165
- O as h,
2150
+ z as M,
2151
+ nt as N,
2152
+ mt as O,
2153
+ J as P,
2154
+ ot as Q,
2155
+ At as R,
2156
+ at as S,
2157
+ ht as T,
2158
+ l as U,
2159
+ N as a,
2160
+ F as b,
2161
+ d as c,
2162
+ it as d,
2163
+ C as e,
2164
+ L as f,
2165
+ R as g,
2166
+ v as h,
2166
2167
  u as i,
2167
- p as j,
2168
- ft as k,
2169
- gt as l,
2170
- y as m,
2171
- mt as n,
2172
- yt as o,
2173
- Lt as p,
2174
- bt as q,
2175
- Et as r,
2176
- vt as s,
2177
- P as t,
2178
- St as u,
2179
- Ct as v,
2180
- Q as w,
2181
- ht as x,
2168
+ $ as j,
2169
+ y as k,
2170
+ pt as l,
2171
+ dt as m,
2172
+ m as n,
2173
+ Et as o,
2174
+ wt as p,
2175
+ vt as q,
2176
+ Lt as r,
2177
+ Dt as s,
2178
+ V as t,
2179
+ Ct as u,
2180
+ bt as v,
2181
+ Ot as w,
2182
+ St as x,
2182
2183
  X as y,
2183
- wt as z
2184
+ ct as z
2184
2185
  };