@dxtmisha/functional-basic 1.7.1 → 1.8.1

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
@@ -109,32 +109,32 @@ function m(e, ...t) {
109
109
  }
110
110
  //#endregion
111
111
  //#region src/functions/isNumber.ts
112
- var te = /^-?[0-9]+(\.[0-9]+)?$/;
113
- function h(e) {
112
+ var h = /^-?[0-9]+(\.[0-9]+)?$/;
113
+ function g(e) {
114
114
  switch (typeof e) {
115
115
  case "number": return Number.isFinite(e);
116
116
  case "bigint": return !0;
117
- case "string": return te.test(e.trim());
117
+ case "string": return h.test(e.trim());
118
118
  default: return !1;
119
119
  }
120
120
  }
121
121
  //#endregion
122
122
  //#region src/functions/toNumber.ts
123
- var g = /[^-+\d., ]+/g, _ = /( [0-9]{3}[ ,.]|[0-9] [0-9])/, ne = / /g, v = /,/g, re = /,[0-9]{3}[,.]/, ie = /[.][0-9]{3}[,.]/, ae = /[.]/g;
124
- function y(e) {
123
+ var _ = /[^-+\d., ]+/g, v = /( [0-9]{3}[ ,.]|[0-9] [0-9])/, te = / /g, y = /,/g, ne = /,[0-9]{3}[,.]/, re = /[.][0-9]{3}[,.]/, ie = /[.]/g;
124
+ function b(e) {
125
125
  if (typeof e == "number") return Number.isFinite(e) && e || 0;
126
126
  if (!e) return 0;
127
- let t = e.replace(g, "");
128
- return t = _.test(t) ? t.replace(ne, "").replace(v, ".") : re.test(t) ? t.replace(v, "") : ie.test(t) ? t.replace(ae, "").replace(v, ".") : t.replace(v, "."), parseFloat(t) || 0;
127
+ let t = e.replace(_, "");
128
+ return t = v.test(t) ? t.replace(te, "").replace(y, ".") : ne.test(t) ? t.replace(y, "") : re.test(t) ? t.replace(ie, "").replace(y, ".") : t.replace(y, "."), parseFloat(t) || 0;
129
129
  }
130
130
  //#endregion
131
131
  //#region src/functions/isSelected.ts
132
- function b(e, t) {
133
- return c(e) ? !1 : Array.isArray(t) ? t.includes(e) : h(e) && h(t) ? y(e) === y(t) : e === t;
132
+ function x(e, t) {
133
+ return c(e) ? !1 : Array.isArray(t) ? t.includes(e) : g(e) && g(t) ? b(e) === b(t) : e === t;
134
134
  }
135
135
  //#endregion
136
136
  //#region src/functions/anyToString.ts
137
- function x(e, n = !0, r = !0) {
137
+ function S(e, n = !0, r = !0) {
138
138
  var a;
139
139
  if (d(e)) return r ? e.trim() : e;
140
140
  if (c(e)) return "";
@@ -148,49 +148,49 @@ function x(e, n = !0, r = !0) {
148
148
  }
149
149
  //#endregion
150
150
  //#region src/functions/isDomData.ts
151
- function oe() {
151
+ function ae() {
152
152
  return s() && location.href.startsWith("data:");
153
153
  }
154
154
  //#endregion
155
155
  //#region src/functions/strSplit.ts
156
- function se(e, t, n) {
157
- let r = x(e);
156
+ function oe(e, t, n) {
157
+ let r = S(e);
158
158
  if (!n || n <= 0) return r.split(t);
159
159
  let i = r.split(t, n), a = r.split(t);
160
160
  return i.length === a.length ? i : (i.pop(), [...i, a.slice(n - 1).join(t)]);
161
161
  }
162
162
  //#endregion
163
163
  //#region \0@oxc-project+runtime@0.138.0/helpers/esm/typeof.js
164
- function S(e) {
164
+ function C(e) {
165
165
  "@babel/helpers - typeof";
166
- return S = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
166
+ return C = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
167
167
  return typeof e;
168
168
  } : function(e) {
169
169
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
170
- }, S(e);
170
+ }, C(e);
171
171
  }
172
172
  //#endregion
173
173
  //#region \0@oxc-project+runtime@0.138.0/helpers/esm/toPrimitive.js
174
- function ce(e, t) {
175
- if (S(e) != "object" || !e) return e;
174
+ function se(e, t) {
175
+ if (C(e) != "object" || !e) return e;
176
176
  var n = e[Symbol.toPrimitive];
177
177
  if (n !== void 0) {
178
178
  var r = n.call(e, t || "default");
179
- if (S(r) != "object") return r;
179
+ if (C(r) != "object") return r;
180
180
  throw TypeError("@@toPrimitive must return a primitive value.");
181
181
  }
182
182
  return (t === "string" ? String : Number)(e);
183
183
  }
184
184
  //#endregion
185
185
  //#region \0@oxc-project+runtime@0.138.0/helpers/esm/toPropertyKey.js
186
- function le(e) {
187
- var t = ce(e, "string");
188
- return S(t) == "symbol" ? t : t + "";
186
+ function ce(e) {
187
+ var t = se(e, "string");
188
+ return C(t) == "symbol" ? t : t + "";
189
189
  }
190
190
  //#endregion
191
191
  //#region \0@oxc-project+runtime@0.138.0/helpers/esm/defineProperty.js
192
- function C(e, t, n) {
193
- return (t = le(t)) in e ? Object.defineProperty(e, t, {
192
+ function w(e, t, n) {
193
+ return (t = ce(t)) in e ? Object.defineProperty(e, t, {
194
194
  value: n,
195
195
  enumerable: !0,
196
196
  configurable: !0,
@@ -199,9 +199,9 @@ function C(e, t, n) {
199
199
  }
200
200
  //#endregion
201
201
  //#region src/classes/ErrorCenterHandler.ts
202
- var ue = class {
203
- constructor(e) {
204
- C(this, "handlers", []), C(this, "callbacks", []), e && this.addList(e);
202
+ var le = class {
203
+ constructor(e, t = !0) {
204
+ w(this, "handlers", []), w(this, "callbacks", []), w(this, "isConsole", !0), this.isConsole = t, e && this.addList(e);
205
205
  }
206
206
  has(e) {
207
207
  return !!this.get(e);
@@ -222,21 +222,24 @@ var ue = class {
222
222
  addCallback(e) {
223
223
  return this.callbacks.push(e), this;
224
224
  }
225
+ setIsConsole(e) {
226
+ return this.isConsole = e, this;
227
+ }
225
228
  on(e) {
226
229
  var t;
227
230
  let n = (t = this.get(e.group)) == null ? this.get(void 0) : t;
228
231
  return n && n.handlers.forEach((t) => t(e)), this.callbacks.forEach((t) => t(e)), this.toConsole(e), this;
229
232
  }
230
233
  toConsole(e) {
231
- if (console.error(`Error Center: ${e.code}`), console.error("Error Center/message: ", e.message), console.error("Error Center/details: ", e.details), !s()) {
234
+ if (m(this.isConsole, e) && (console.error(`Error Center: ${e.code}`), console.error("Error Center/message: ", e.message), console.error("Error Center/details: ", e.details), !s())) {
232
235
  let e = (/* @__PURE__ */ Error()).stack;
233
236
  console.error("Error Center/trace: ", e);
234
237
  }
235
238
  return this;
236
239
  }
237
- }, de = class {
238
- constructor(e, t = new ue()) {
239
- C(this, "handler", void 0), C(this, "causes", []), this.handler = t, e && this.addList(e);
240
+ }, ue = class {
241
+ constructor(e, t = new le()) {
242
+ w(this, "handler", void 0), w(this, "causes", []), this.handler = t, e && this.addList(e);
240
243
  }
241
244
  has(e, t) {
242
245
  return !!this.get(e, t);
@@ -259,6 +262,9 @@ var ue = class {
259
262
  addCallback(e) {
260
263
  return this.handler.addCallback(e), this;
261
264
  }
265
+ setIsConsole(e) {
266
+ return this.handler.setIsConsole(e), this;
267
+ }
262
268
  on(e) {
263
269
  return this.handler.on(this.assign(e)), this;
264
270
  }
@@ -276,7 +282,7 @@ var ue = class {
276
282
  }
277
283
  return e;
278
284
  }
279
- }, fe = [
285
+ }, de = [
280
286
  {
281
287
  group: "api",
282
288
  code: "cacheClear",
@@ -427,7 +433,7 @@ var ue = class {
427
433
  label: "Translate Error",
428
434
  message: "An error occurred while loading translations."
429
435
  }
430
- ], w = class {
436
+ ], T = class {
431
437
  static getItem() {
432
438
  return this.item;
433
439
  }
@@ -452,14 +458,17 @@ var ue = class {
452
458
  static addCallback(e) {
453
459
  this.getItem().addCallback(e);
454
460
  }
461
+ static setIsConsole(e) {
462
+ this.getItem().setIsConsole(e);
463
+ }
455
464
  static on(e) {
456
465
  this.getItem().on(e);
457
466
  }
458
467
  };
459
- C(w, "item", new de(fe));
468
+ w(T, "item", new ue(de));
460
469
  //#endregion
461
470
  //#region src/functions/transformation.ts
462
- function T(e, t = !1) {
471
+ function E(e, t = !1) {
463
472
  if (typeof e == "string") {
464
473
  let r = e.trim();
465
474
  switch (r) {
@@ -472,7 +481,7 @@ function T(e, t = !1) {
472
481
  if (/^[{[]/.exec(r)) try {
473
482
  return JSON.parse(r);
474
483
  } catch (e) {
475
- w.on({
484
+ T.on({
476
485
  group: "transformation",
477
486
  code: "error",
478
487
  details: e
@@ -487,32 +496,32 @@ function T(e, t = !1) {
487
496
  }
488
497
  //#endregion
489
498
  //#region src/functions/encodeLiteAttribute.ts
490
- var pe = {
499
+ var fe = {
491
500
  "<": "&lt;",
492
501
  ">": "&gt;",
493
502
  "&": "&amp;"
494
503
  };
495
- function me(e) {
504
+ function pe(e) {
496
505
  return String(e).replace(/[<>&]/g, (e) => {
497
506
  var t;
498
- return (t = pe == null ? void 0 : pe[e]) == null ? e : t;
507
+ return (t = fe == null ? void 0 : fe[e]) == null ? e : t;
499
508
  });
500
509
  }
501
510
  //#endregion
502
511
  //#region src/functions/getElementSafeScript.ts
503
- function he(e, t) {
512
+ function me(e, t) {
504
513
  return `<script id="${e.replace(/"/g, "&quot;")}" type="application/json">${JSON.stringify(t).replace(/<\/(script)>/gi, "<\\/$1>")}<\/script>`;
505
514
  }
506
515
  //#endregion
507
516
  //#region src/functions/getHydrationData.ts
508
- function ge(e, t, n = !0) {
517
+ function he(e, t, n = !0) {
509
518
  if (typeof document < "u") {
510
519
  let t = document.getElementById(e);
511
520
  if (t) try {
512
521
  let e = JSON.parse(t.textContent || "");
513
522
  return n && t.remove(), e;
514
523
  } catch (t) {
515
- w.on({
524
+ T.on({
516
525
  group: "hydration",
517
526
  code: "error",
518
527
  details: {
@@ -526,7 +535,7 @@ function ge(e, t, n = !0) {
526
535
  }
527
536
  //#endregion
528
537
  //#region src/classes/ServerStorage.ts
529
- var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
538
+ var ge = "__ui:server-storage__", _e = "__ui:server:storage:id__", D = class {
530
539
  static init(e) {
531
540
  return this.listener || (this.listener = e), this;
532
541
  }
@@ -556,7 +565,7 @@ var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
556
565
  e in t && delete t[e];
557
566
  }
558
567
  static toString() {
559
- return he(ve, this.getDataForHydration());
568
+ return me(_e, this.getDataForHydration());
560
569
  }
561
570
  static getStorage(e = !0, t) {
562
571
  var n;
@@ -564,17 +573,17 @@ var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
564
573
  let r = (n = this.listener) == null ? void 0 : n.call(this);
565
574
  if (!r) {
566
575
  var i;
567
- return this.hideError || w.on({
576
+ return this.hideError || T.on({
568
577
  group: "storage",
569
578
  code: "context",
570
579
  details: { status: t }
571
580
  }), e && !this.storage && (this.storage = {}), (i = this.storage) == null ? {} : i;
572
581
  }
573
- return _e in r || (r[_e] = {}), r[_e];
582
+ return ge in r || (r[ge] = {}), r[ge];
574
583
  }
575
584
  static getStorageDom() {
576
585
  if (!this.storage) {
577
- let e = ge(ve, {});
586
+ let e = he(_e, {});
578
587
  this.storage = {}, r(e, (e, t) => {
579
588
  this.storage[t] = {
580
589
  value: e,
@@ -591,16 +600,16 @@ var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
591
600
  }), t;
592
601
  }
593
602
  };
594
- C(E, "storage", void 0), C(E, "listener", void 0), C(E, "hideError", void 0);
603
+ w(D, "storage", void 0), w(D, "listener", void 0), w(D, "hideError", void 0);
595
604
  //#endregion
596
605
  //#region src/classes/DataStorage.ts
597
- var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D = class {
606
+ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O = class {
598
607
  static setPrefix(e) {
599
- ye = e;
608
+ ve = e;
600
609
  }
601
- constructor(e, t = !1, n = w.getItem()) {
602
- C(this, "name", void 0), C(this, "isSession", void 0), C(this, "errorCenter", void 0), C(this, "value", void 0), C(this, "age", void 0), this.name = e, this.isSession = t, this.errorCenter = n;
603
- let r = `${t ? "session" : "storage"}#${e}`, i = be();
610
+ constructor(e, t = !1, n = T.getItem()) {
611
+ w(this, "name", void 0), w(this, "isSession", void 0), w(this, "errorCenter", void 0), w(this, "value", void 0), w(this, "age", void 0), this.name = e, this.isSession = t, this.errorCenter = n;
612
+ let r = `${t ? "session" : "storage"}#${e}`, i = ye();
604
613
  if (r in i) return i[r];
605
614
  this.make(), i[r] = this;
606
615
  }
@@ -612,7 +621,7 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
612
621
  if (this.value = m(e), this.age = Date.now(), this.value === void 0) this.remove();
613
622
  else {
614
623
  var t;
615
- (t = this.getMethod()) == null || t.setItem(this.getIndex(), me(JSON.stringify({
624
+ (t = this.getMethod()) == null || t.setItem(this.getIndex(), pe(JSON.stringify({
616
625
  value: this.value,
617
626
  age: this.age
618
627
  })));
@@ -630,14 +639,14 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
630
639
  return c(e) || this.age && this.age + e * 1e3 >= Date.now();
631
640
  }
632
641
  getMethod() {
633
- if (s() && !oe()) {
642
+ if (s() && !ae()) {
634
643
  var e, t;
635
644
  let n = this.isSession ? (e = window) == null ? void 0 : e.sessionStorage : (t = window) == null ? void 0 : t.localStorage;
636
645
  if (n) return n;
637
646
  }
638
647
  }
639
648
  getIndex() {
640
- return `${ye}__${this.name}`;
649
+ return `${ve}__${this.name}`;
641
650
  }
642
651
  getValue() {
643
652
  var e, t;
@@ -656,9 +665,9 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
656
665
  let e = this.getValue();
657
666
  return e ? (this.value = e.value, this.age = e.age) : (this.value = void 0, this.age = void 0), this;
658
667
  }
659
- }, xe = "__ui:cookie-block__", Se = class {
668
+ }, be = "__ui:cookie-block__", xe = class {
660
669
  constructor() {
661
- C(this, "storage", new D(xe));
670
+ w(this, "storage", new O(be));
662
671
  }
663
672
  get() {
664
673
  var e;
@@ -667,9 +676,9 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
667
676
  set(e) {
668
677
  this.storage.set(e);
669
678
  }
670
- }, Ce = class {
679
+ }, Se = class {
671
680
  static getItem() {
672
- return E.get("__ui:cookie-block__", () => new Se());
681
+ return D.get("__ui:cookie-block__", () => new xe());
673
682
  }
674
683
  static get() {
675
684
  return this.getItem().get();
@@ -677,7 +686,7 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
677
686
  static set(e) {
678
687
  this.getItem().set(e);
679
688
  }
680
- }, we = "__ui:cookie-storage__", O = class {
689
+ }, Ce = "__ui:cookie-storage__", k = class {
681
690
  static init(e, t, n) {
682
691
  this.getListener = e, this.getListenerRaw = t, this.setListener = n;
683
692
  }
@@ -687,19 +696,19 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
687
696
  static get(e, t) {
688
697
  var n, r;
689
698
  let i = (n = (r = this.getListener) == null ? void 0 : r.call(this, e)) == null ? this.initItems()[e] : n;
690
- return i === void 0 && t !== void 0 ? this.set(e, t) : T(i);
699
+ return i === void 0 && t !== void 0 ? this.set(e, t) : E(i);
691
700
  }
692
701
  static set(e, t, n) {
693
702
  let r = m(t);
694
- if (Ce.get()) return r;
695
- let i = x(r, !1);
703
+ if (Se.get()) return r;
704
+ let i = S(r, !1);
696
705
  return this.setListener ? this.setListener(e, i, this.format(e, i, n), n) : (this.initItems()[e] = i === "" ? void 0 : r, this.hasDom() && (document.cookie = this.format(e, i, n))), r;
697
706
  }
698
707
  static remove(e) {
699
708
  this.set(e, "", { age: -1 });
700
709
  }
701
710
  static update() {
702
- s() && (E.remove(we), this.initItems());
711
+ s() && (D.remove(Ce), this.initItems());
703
712
  }
704
713
  static format(e, t, n) {
705
714
  return [
@@ -715,18 +724,18 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
715
724
  ].filter(Boolean).join("; ");
716
725
  }
717
726
  static hasDom() {
718
- return s() && !oe();
727
+ return s() && !ae();
719
728
  }
720
729
  static parse(e) {
721
730
  let t = {};
722
731
  for (let n of e.split(";")) {
723
- let [e, r] = se(n.trim(), "=", 2);
732
+ let [e, r] = oe(n.trim(), "=", 2);
724
733
  e && l(r) && (t[e] = r);
725
734
  }
726
735
  return t;
727
736
  }
728
737
  static initItems() {
729
- return E.get(we, () => {
738
+ return D.get(Ce, () => {
730
739
  var e;
731
740
  if (this.hasDom()) return this.parse(document.cookie);
732
741
  let t = (e = this.getListenerRaw) == null ? void 0 : e.call(this);
@@ -755,22 +764,22 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
755
764
  return e ? "Partitioned" : void 0;
756
765
  }
757
766
  static toArguments(e) {
758
- return e === void 0 ? [] : Array.isArray(e) ? e : Object.entries(e).map(([e, t]) => `${e}=${x(t)}`);
767
+ return e === void 0 ? [] : Array.isArray(e) ? e : Object.entries(e).map(([e, t]) => `${e}=${S(t)}`);
759
768
  }
760
769
  };
761
- C(O, "getListener", void 0), C(O, "getListenerRaw", void 0), C(O, "setListener", void 0);
770
+ w(k, "getListener", void 0), w(k, "getListenerRaw", void 0), w(k, "setListener", void 0);
762
771
  //#endregion
763
772
  //#region src/classes/Cookie.ts
764
- var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
773
+ var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
765
774
  static getInstance(t) {
766
775
  var n, r;
767
- return (n = (r = Te()) == null ? void 0 : r[t]) == null ? new e(t) : n;
776
+ return (n = (r = we()) == null ? void 0 : r[t]) == null ? new e(t) : n;
768
777
  }
769
778
  constructor(e) {
770
- C(this, "name", void 0), C(this, "value", void 0), C(this, "options", {}), this.name = e;
771
- let t = Te();
779
+ w(this, "name", void 0), w(this, "value", void 0), w(this, "options", {}), this.name = e;
780
+ let t = we();
772
781
  if (e in t) return t[e];
773
- this.value = O.get(this.name), t[e] = this;
782
+ this.value = k.get(this.name), t[e] = this;
774
783
  }
775
784
  get(e, t) {
776
785
  return this.value === void 0 && e && this.set(e, t), this.value;
@@ -782,11 +791,11 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
782
791
  this.set("");
783
792
  }
784
793
  update() {
785
- O.set(this.name, this.value, this.options);
794
+ k.set(this.name, this.value, this.options);
786
795
  }
787
- }, De = "ui-geo-code", Oe = "__ui:geo-code__", ke = class {
796
+ }, Ee = "ui-geo-code", De = "__ui:geo-code__", Oe = class {
788
797
  constructor() {
789
- C(this, "storage", new D(Oe)), C(this, "location", void 0), C(this, "valueDefault", void 0), C(this, "item", void 0), C(this, "language", void 0), C(this, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), this.location = this.findLocation(), this.item = this.getByCode(this.location), this.language = this.findLanguage(this.location);
798
+ w(this, "storage", new O(De)), w(this, "location", void 0), w(this, "valueDefault", void 0), w(this, "item", void 0), w(this, "language", void 0), w(this, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), this.location = this.findLocation(), this.item = this.getByCode(this.location), this.language = this.findLanguage(this.location);
790
799
  }
791
800
  get() {
792
801
  return this.item;
@@ -824,7 +833,7 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
824
833
  return e && (/([A-Z]{2}-[a-z]{2})|([a-z]{2}-[A-Z]{2})/.test(e) && (n = this.getByCodeFull(e)), !n && /[A-Z]{2}/.test(e) && (n = this.getByCountry(this.toCountry(e))), !n && /[a-z]{2}/.test(e) && (n = this.getByLanguage(this.toLanguage(e)))), this.toFull((t = n) == null ? this.getList()[0] : t, e);
825
834
  }
826
835
  getByCodeFull(e) {
827
- return this.getList().find((t) => b(e, [`${t.language}-${t.country}`, `${t.country}-${t.language}`]));
836
+ return this.getList().find((t) => x(e, [`${t.language}-${t.country}`, `${t.country}-${t.language}`]));
828
837
  }
829
838
  getByCountry(e) {
830
839
  return this.getList().find((t) => {
@@ -866,7 +875,7 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
866
875
  this.valueDefault = e, this.location = this.findLocation(), this.item = this.getByCode(this.location), this.language = this.findLanguage(this.location);
867
876
  }
868
877
  getCookie() {
869
- return Ee.getInstance(De);
878
+ return Te.getInstance(Ee);
870
879
  }
871
880
  findLocation() {
872
881
  return this.getCookie().get() || this.findLocationDom() || m(this.valueDefault) || "en-GB";
@@ -902,9 +911,9 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
902
911
  locationLanguage: n
903
912
  };
904
913
  }
905
- }, k = class {
914
+ }, A = class {
906
915
  static getObject() {
907
- return E.get("__ui:geo-instance__", () => new ke());
916
+ return D.get("__ui:geo-instance__", () => new Oe());
908
917
  }
909
918
  static get() {
910
919
  return this.getObject().get();
@@ -972,14 +981,14 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
972
981
  };
973
982
  //#endregion
974
983
  //#region src/functions/isWindow.ts
975
- function Ae(e) {
984
+ function ke(e) {
976
985
  return s() && e === window;
977
986
  }
978
987
  //#endregion
979
988
  //#region src/functions/getElement.ts
980
- function A(e) {
989
+ function j(e) {
981
990
  if (!s()) return d(e) ? void 0 : e;
982
- if (Ae(e)) return document.body;
991
+ if (ke(e)) return document.body;
983
992
  if (d(e)) {
984
993
  var t;
985
994
  return (t = document.querySelector(e)) == null ? void 0 : t;
@@ -988,30 +997,30 @@ function A(e) {
988
997
  }
989
998
  //#endregion
990
999
  //#region src/functions/getElementOrWindow.ts
991
- function je(e) {
992
- return Ae(e) ? e : A(e);
1000
+ function Ae(e) {
1001
+ return ke(e) ? e : j(e);
993
1002
  }
994
1003
  //#endregion
995
1004
  //#region src/functions/isInDom.ts
996
- function Me(e) {
1005
+ function je(e) {
997
1006
  var t;
998
- return (e == null ? void 0 : e.isConnected) || !!((t = A(e)) != null && t.closest("html"));
1007
+ return (e == null ? void 0 : e.isConnected) || !!((t = j(e)) != null && t.closest("html"));
999
1008
  }
1000
1009
  //#endregion
1001
1010
  //#region src/functions/toArray.ts
1002
- function j(e) {
1011
+ function M(e) {
1003
1012
  return Array.isArray(e) ? e : [e];
1004
1013
  }
1005
1014
  //#endregion
1006
1015
  //#region src/classes/EventItem.ts
1007
- var Ne = class {
1016
+ var Me = class {
1008
1017
  constructor(e, n = ["click"], r, i, a) {
1009
- C(this, "listener", void 0), C(this, "options", void 0), C(this, "detail", void 0), C(this, "element", void 0), C(this, "elementControl", void 0), C(this, "elementControlEdit", void 0), C(this, "type", void 0), C(this, "listenerRecent", (e) => {
1010
- if (Me(this.elementControl)) {
1018
+ w(this, "listener", void 0), w(this, "options", void 0), w(this, "detail", void 0), w(this, "element", void 0), w(this, "elementControl", void 0), w(this, "elementControlEdit", void 0), w(this, "type", void 0), w(this, "listenerRecent", (e) => {
1019
+ if (je(this.elementControl)) {
1011
1020
  var n, r;
1012
1021
  (n = this.listener) == null || n.call(this.element, e, this.detail), t(this.options) && (r = this.options) != null && r.once && this.stop();
1013
1022
  } else this.stop();
1014
- }), C(this, "activity", !1), C(this, "activityItems", []), this.listener = r, this.options = i, this.detail = a, this.element = je(e), this.elementControl = A(e), this.type = j(n);
1023
+ }), w(this, "activity", !1), w(this, "activityItems", []), this.listener = r, this.options = i, this.detail = a, this.element = Ae(e), this.elementControl = j(e), this.type = M(n);
1015
1024
  }
1016
1025
  isActive() {
1017
1026
  return this.activity;
@@ -1020,14 +1029,14 @@ var Ne = class {
1020
1029
  return this.element;
1021
1030
  }
1022
1031
  setElement(e) {
1023
- let t = je(e);
1024
- return this.elementControlEdit || (this.elementControl = A(e)), this.element = t, this.reset(), this;
1032
+ let t = Ae(e);
1033
+ return this.elementControlEdit || (this.elementControl = j(e)), this.element = t, this.reset(), this;
1025
1034
  }
1026
1035
  setElementControl(e) {
1027
- return this.elementControl = A(e), this.elementControlEdit = !c(this.elementControl), this.elementControlEdit || (this.elementControl = A(this.element)), this;
1036
+ return this.elementControl = j(e), this.elementControlEdit = !c(this.elementControl), this.elementControlEdit || (this.elementControl = j(this.element)), this;
1028
1037
  }
1029
1038
  setType(e) {
1030
- return this.type = j(e), this.reset(), this;
1039
+ return this.type = M(e), this.reset(), this;
1031
1040
  }
1032
1041
  setListener(e) {
1033
1042
  return this.listener = e, this;
@@ -1096,9 +1105,9 @@ var Ne = class {
1096
1105
  }
1097
1106
  return !1;
1098
1107
  }
1099
- }, Pe = "ui-loading", Fe = class {
1100
- constructor(e = Pe) {
1101
- C(this, "eventName", void 0), C(this, "value", 0), C(this, "event", void 0), C(this, "registrationList", []), this.eventName = e, s() && (this.event = new Ne(window, this.eventName));
1108
+ }, Ne = "ui-loading", Pe = class {
1109
+ constructor(e = Ne) {
1110
+ w(this, "eventName", void 0), w(this, "value", 0), w(this, "event", void 0), w(this, "registrationList", []), this.eventName = e, s() && (this.event = new Me(window, this.eventName));
1102
1111
  }
1103
1112
  is() {
1104
1113
  return this.value > 0;
@@ -1114,7 +1123,7 @@ var Ne = class {
1114
1123
  }
1115
1124
  registrationEvent(e, t) {
1116
1125
  if (s()) {
1117
- let n = new Ne(window, this.eventName, e).setElementControl(t).start();
1126
+ let n = new Me(window, this.eventName, e).setElementControl(t).start();
1118
1127
  this.registrationList.push({
1119
1128
  item: n,
1120
1129
  listener: e,
@@ -1129,7 +1138,7 @@ var Ne = class {
1129
1138
  var e;
1130
1139
  (e = this.event) == null || e.dispatch({ loading: this.is() });
1131
1140
  }
1132
- }, M = class {
1141
+ }, N = class {
1133
1142
  static is() {
1134
1143
  return this.getItem().is();
1135
1144
  }
@@ -1137,7 +1146,7 @@ var Ne = class {
1137
1146
  return this.getItem().get();
1138
1147
  }
1139
1148
  static getItem() {
1140
- return E.get("__ui:loading-instance__", () => new Fe());
1149
+ return D.get("__ui:loading-instance__", () => new Pe());
1141
1150
  }
1142
1151
  static show() {
1143
1152
  this.getItem().show();
@@ -1151,7 +1160,7 @@ var Ne = class {
1151
1160
  static unregistrationEvent(e, t) {
1152
1161
  this.getItem().unregistrationEvent(e, t);
1153
1162
  }
1154
- }, Ie, Le = 1440 * 60, N = class {
1163
+ }, Fe, Ie = 1440 * 60, P = class {
1155
1164
  static init(e, t, n, r) {
1156
1165
  this.getListener = e, this.setListener = t, this.removeListener = n, r && (this.cacheStepAgeClearOld = r, this.stepAgeClearOld = r);
1157
1166
  }
@@ -1161,7 +1170,7 @@ var Ne = class {
1161
1170
  static async get(e) {
1162
1171
  let t = await this.getItemOrListener(e);
1163
1172
  return this.clearOld().catch((e) => {
1164
- w.on({
1173
+ T.on({
1165
1174
  group: "api",
1166
1175
  code: "cacheClear",
1167
1176
  details: e
@@ -1173,7 +1182,7 @@ var Ne = class {
1173
1182
  let t = this.generateKey(e);
1174
1183
  return await this.get(t);
1175
1184
  }
1176
- static async set(e, t, n = Le) {
1185
+ static async set(e, t, n = Ie) {
1177
1186
  let r = {
1178
1187
  value: t,
1179
1188
  age: n,
@@ -1236,12 +1245,12 @@ var Ne = class {
1236
1245
  }
1237
1246
  }
1238
1247
  };
1239
- Ie = N, C(N, "items", void 0), C(N, "getListener", void 0), C(N, "setListener", void 0), C(N, "removeListener", void 0), C(N, "cacheStepAgeClearOld", 16384), C(N, "stepAgeClearOld", Ie.cacheStepAgeClearOld);
1248
+ Fe = P, w(P, "items", void 0), w(P, "getListener", void 0), w(P, "setListener", void 0), w(P, "removeListener", void 0), w(P, "cacheStepAgeClearOld", 16384), w(P, "stepAgeClearOld", Fe.cacheStepAgeClearOld);
1240
1249
  //#endregion
1241
1250
  //#region src/classes/ApiStatus.ts
1242
- var Re = class {
1251
+ var Le = class {
1243
1252
  constructor() {
1244
- C(this, "value", void 0);
1253
+ w(this, "value", void 0);
1245
1254
  }
1246
1255
  get() {
1247
1256
  return this.value;
@@ -1301,15 +1310,15 @@ var Re = class {
1301
1310
  setValue(e, t) {
1302
1311
  this.value || (this.value = {}), this.value[e] = t;
1303
1312
  }
1304
- }, ze = [
1313
+ }, Re = [
1305
1314
  "success",
1306
1315
  "status",
1307
1316
  "code",
1308
1317
  "message",
1309
1318
  "error"
1310
- ], Be = class {
1319
+ ], ze = class {
1311
1320
  constructor(e, t, n, r) {
1312
- C(this, "apiFetch", void 0), C(this, "query", void 0), C(this, "end", void 0), C(this, "error", void 0), C(this, "data", void 0), C(this, "dataMod", void 0), this.apiFetch = e, this.query = t, this.end = n, this.error = r;
1321
+ w(this, "apiFetch", void 0), w(this, "query", void 0), w(this, "end", void 0), w(this, "error", void 0), w(this, "data", void 0), w(this, "dataMod", void 0), this.apiFetch = e, this.query = t, this.end = n, this.error = r;
1313
1322
  }
1314
1323
  async init() {
1315
1324
  return this.data = await this.readData(), this;
@@ -1339,18 +1348,18 @@ var Re = class {
1339
1348
  }
1340
1349
  initItem(e) {
1341
1350
  let t = { ...e.data };
1342
- return ze.forEach((r) => {
1351
+ return Re.forEach((r) => {
1343
1352
  if (r in e && !(r in t) && (t[r] = e[r], r === "error" && n(e[r]))) {
1344
1353
  var i, a, o, s;
1345
1354
  t.code = (i = (a = e[r]) == null ? void 0 : a.code) == null ? e.code : i, t.message = (o = (s = e[r]) == null ? void 0 : s.message) == null ? e.message : o;
1346
1355
  }
1347
1356
  }), t;
1348
1357
  }
1349
- }, P = /* @__PURE__ */ function(e) {
1358
+ }, F = /* @__PURE__ */ function(e) {
1350
1359
  return e.delete = "DELETE", e.get = "GET", e.post = "POST", e.put = "PUT", e.patch = "PATCH", e;
1351
- }({}), Ve = class {
1360
+ }({}), Be = class {
1352
1361
  constructor() {
1353
- C(this, "value", void 0);
1362
+ w(this, "value", void 0);
1354
1363
  }
1355
1364
  is() {
1356
1365
  return !!this.value;
@@ -1377,9 +1386,9 @@ var Re = class {
1377
1386
  e.has(t) || e.set(t, n);
1378
1387
  }), this;
1379
1388
  }
1380
- }, He = class {
1389
+ }, Ve = class {
1381
1390
  constructor(e, t, n) {
1382
- C(this, "method", void 0), C(this, "response", void 0), C(this, "error", void 0), C(this, "jsonResponse", void 0), this.method = e, this.response = t, this.error = n;
1391
+ w(this, "method", void 0), w(this, "response", void 0), w(this, "error", void 0), w(this, "jsonResponse", void 0), this.method = e, this.response = t, this.error = n;
1383
1392
  }
1384
1393
  getMethod() {
1385
1394
  return this.method;
@@ -1401,9 +1410,9 @@ var Re = class {
1401
1410
  getStatus() {
1402
1411
  return this.response.status;
1403
1412
  }
1404
- }, Ue = class {
1413
+ }, He = class {
1405
1414
  constructor() {
1406
- C(this, "storage", []);
1415
+ w(this, "storage", []);
1407
1416
  }
1408
1417
  async find(e, t) {
1409
1418
  let n = await this.getBody(t), r = this.getCode(n), i = this.getMessage(n) || t.statusText, a = this.findItem(e, t, r);
@@ -1420,7 +1429,7 @@ var Re = class {
1420
1429
  };
1421
1430
  }
1422
1431
  add(e, t, n) {
1423
- return j(e).forEach((e) => {
1432
+ return M(e).forEach((e) => {
1424
1433
  let r = e.url || t, i = e.method || n;
1425
1434
  r && i && this.storage.push({
1426
1435
  ...e,
@@ -1455,19 +1464,19 @@ var Re = class {
1455
1464
  getMessage(e) {
1456
1465
  return this.getDataByKey(e, "message");
1457
1466
  }
1458
- }, We = class {
1467
+ }, Ue = class {
1459
1468
  static getStorage() {
1460
- return E.get("__ui:api-error-storage__", () => new Ue());
1469
+ return D.get("__ui:api-error-storage__", () => new He());
1461
1470
  }
1462
1471
  static add(e, t, n) {
1463
1472
  this.getStorage().add(e, t, n);
1464
1473
  }
1465
1474
  static async getItem(e, t) {
1466
- return new He(e, t, await this.getStorage().find(e, t));
1475
+ return new Ve(e, t, await this.getStorage().find(e, t));
1467
1476
  }
1468
- }, Ge = class {
1477
+ }, We = class {
1469
1478
  constructor() {
1470
- C(this, "headers", {});
1479
+ w(this, "headers", {});
1471
1480
  }
1472
1481
  get(e, t = "application/json;charset=UTF-8") {
1473
1482
  if (e === null) return;
@@ -1481,15 +1490,15 @@ var Re = class {
1481
1490
  set(e) {
1482
1491
  return this.headers = e, this;
1483
1492
  }
1484
- }, Ke = "__ui:api:hydration:id__", qe = class {
1493
+ }, Ge = "__ui:api:hydration:id__", Ke = class {
1485
1494
  constructor() {
1486
- C(this, "list", []);
1495
+ w(this, "list", []);
1487
1496
  }
1488
1497
  initResponse(e) {
1489
1498
  s() && e.add(this.getListByClient());
1490
1499
  }
1491
1500
  toClient(e, t) {
1492
- let { path: n, method: r = P.get, request: i, global: a = r === P.get } = e;
1501
+ let { path: n, method: r = F.get, request: i, global: a = r === F.get } = e;
1493
1502
  !a || !n || s() || this.list.push({
1494
1503
  path: n,
1495
1504
  method: r,
@@ -1498,14 +1507,14 @@ var Re = class {
1498
1507
  });
1499
1508
  }
1500
1509
  toString() {
1501
- return he(Ke, this.list);
1510
+ return me(Ge, this.list);
1502
1511
  }
1503
1512
  getListByClient() {
1504
- return ge(Ke, []);
1513
+ return he(Ge, []);
1505
1514
  }
1506
- }, Je = class {
1515
+ }, qe = class {
1507
1516
  constructor() {
1508
- C(this, "callback", void 0), C(this, "callbackEnd", void 0), C(this, "loading", !1);
1517
+ w(this, "callback", void 0), w(this, "callbackEnd", void 0), w(this, "loading", !1);
1509
1518
  }
1510
1519
  async make(e, t) {
1511
1520
  if (e && this.callback) return this.go(t);
@@ -1531,15 +1540,15 @@ var Re = class {
1531
1540
  };
1532
1541
  //#endregion
1533
1542
  //#region src/functions/executePromise.ts
1534
- async function Ye(e, ...t) {
1543
+ async function I(e, ...t) {
1535
1544
  let n = m(e, ...t);
1536
1545
  return n instanceof Promise ? await n : n;
1537
1546
  }
1538
1547
  //#endregion
1539
1548
  //#region src/classes/ApiResponse.ts
1540
- var Xe = "d-response-loading", Ze = class {
1549
+ var Je = "d-response-loading", Ye = class {
1541
1550
  constructor(e) {
1542
- C(this, "requestDefault", void 0), C(this, "first", []), C(this, "response", []), C(this, "loading", void 0), C(this, "devMode", !1), this.requestDefault = e;
1551
+ w(this, "requestDefault", void 0), w(this, "first", []), w(this, "response", []), w(this, "loading", void 0), w(this, "devMode", !1), this.requestDefault = e;
1543
1552
  }
1544
1553
  get(e = "", t, n, r) {
1545
1554
  return this.response.find((i) => !this.isDisable(i) && this.isPath(i, e) && t === i.method && this.isFirst(i, r) && this.isResponse(i, n) ? (this.isDevMode(r) && console.warn(`Response type: ${i.path}`), this.first.push(i), !0) : !1);
@@ -1548,7 +1557,7 @@ var Xe = "d-response-loading", Ze = class {
1548
1557
  return this.response.filter((e) => e.isForGlobal !== !0);
1549
1558
  }
1550
1559
  add(e) {
1551
- return this.response.push(...j(e)), this;
1560
+ return this.response.push(...M(e)), this;
1552
1561
  }
1553
1562
  setDevMode(e) {
1554
1563
  return this.devMode = e, this;
@@ -1582,7 +1591,7 @@ var Xe = "d-response-loading", Ze = class {
1582
1591
  }
1583
1592
  readData(e) {
1584
1593
  if (!s()) return;
1585
- let { path: t = "", method: n = P.get, global: r = n === P.get, devMode: i = !1 } = e;
1594
+ let { path: t = "", method: n = F.get, global: r = n === F.get, devMode: i = !1 } = e;
1586
1595
  if (r || this.isDevMode(i)) {
1587
1596
  let r = this.requestDefault.request(e.request), a = this.get(t, n, r, i);
1588
1597
  if (a) return {
@@ -1593,9 +1602,9 @@ var Xe = "d-response-loading", Ze = class {
1593
1602
  }
1594
1603
  fetch(e, t) {
1595
1604
  return this.startResponseLoading(), new Promise((n) => {
1596
- Ye(p(e.response) ? e.response(t) : e.response).then((t) => {
1597
- e != null && e.lag ? (M.show(), setTimeout(() => {
1598
- this.stopResponseLoading(), n(t), M.hide();
1605
+ I(p(e.response) ? e.response(t) : e.response).then((t) => {
1606
+ e != null && e.lag ? (N.show(), setTimeout(() => {
1607
+ this.stopResponseLoading(), n(t), N.hide();
1599
1608
  }, f(0, 2e3))) : (this.stopResponseLoading(), n(t));
1600
1609
  });
1601
1610
  });
@@ -1604,18 +1613,18 @@ var Xe = "d-response-loading", Ze = class {
1604
1613
  return e.response;
1605
1614
  }
1606
1615
  startResponseLoading() {
1607
- this.loading && clearTimeout(this.loading), s() && document.body.classList.add(Xe);
1616
+ this.loading && clearTimeout(this.loading), s() && document.body.classList.add(Je);
1608
1617
  }
1609
1618
  stopResponseLoading() {
1610
1619
  s() && (this.loading = setTimeout(() => {
1611
- this.loading = void 0, document.body.classList.remove(Xe);
1620
+ this.loading = void 0, document.body.classList.remove(Je);
1612
1621
  }, 2400));
1613
1622
  }
1614
- }, Qe = class {
1623
+ }, Xe = class {
1615
1624
  constructor(e = "/api/", t = {}) {
1616
- C(this, "url", void 0), C(this, "geo", void 0), C(this, "headers", void 0), C(this, "requestDefault", void 0), C(this, "status", void 0), C(this, "response", void 0), C(this, "preparation", void 0), C(this, "loading", void 0), C(this, "errorCenter", void 0), C(this, "hydration", void 0), C(this, "timeout", 16e3), C(this, "origin", void 0), C(this, "wrapper", void 0), this.url = e;
1617
- let { headersClass: n = Ge, requestDefaultClass: r = Ve, statusClass: i = Re, responseClass: a = Ze, preparationClass: o = Je, loadingClass: s = M.getItem(), errorCenterClass: c = w.getItem(), hydrationClass: l = qe, wrapper: u } = t;
1618
- this.geo = k.getObject(), this.headers = new n(), this.requestDefault = new r(), this.status = new i(), this.response = new a(this.requestDefault), this.preparation = new o(), this.loading = s, this.errorCenter = c, this.hydration = new l(), this.wrapper = u, this.hydration.initResponse(this.response);
1625
+ w(this, "url", void 0), w(this, "geo", void 0), w(this, "headers", void 0), w(this, "requestDefault", void 0), w(this, "status", void 0), w(this, "response", void 0), w(this, "preparation", void 0), w(this, "loading", void 0), w(this, "errorCenter", void 0), w(this, "hydration", void 0), w(this, "timeout", 16e3), w(this, "origin", void 0), w(this, "wrapper", void 0), this.url = e;
1626
+ let { headersClass: n = We, requestDefaultClass: r = Be, statusClass: i = Le, responseClass: a = Ye, preparationClass: o = qe, loadingClass: s = N.getItem(), errorCenterClass: c = T.getItem(), hydrationClass: l = Ke, wrapper: u } = t;
1627
+ this.geo = A.getObject(), this.headers = new n(), this.requestDefault = new r(), this.status = new i(), this.response = new a(this.requestDefault), this.preparation = new o(), this.loading = s, this.errorCenter = c, this.hydration = new l(), this.wrapper = u, this.hydration.initResponse(this.response);
1619
1628
  }
1620
1629
  isLocalhost() {
1621
1630
  return s() && typeof location < "u" && location.hostname === "localhost";
@@ -1635,12 +1644,12 @@ var Xe = "d-response-loading", Ze = class {
1635
1644
  getUrl(e, t = !0) {
1636
1645
  return `${t ? this.getOrigin() : ""}${e}`.replace("{locale}", this.geo.getLocation()).replace("{country}", this.geo.getCountry()).replace("{language}", this.geo.getLanguage());
1637
1646
  }
1638
- getBody(e = {}, t = P.get) {
1647
+ getBody(e = {}, t = F.get) {
1639
1648
  if (e instanceof FormData) return e;
1640
- if (t !== P.get && l(e)) return d(e) ? e : JSON.stringify(e);
1649
+ if (t !== F.get && l(e)) return d(e) ? e : JSON.stringify(e);
1641
1650
  }
1642
- getBodyForGet(e, t = "", n = P.get) {
1643
- if (n === P.get) {
1651
+ getBodyForGet(e, t = "", n = F.get) {
1652
+ if (n === F.get) {
1644
1653
  let n = t.match(/\?/) ? "&" : "?", r = typeof e == "object" ? o(e) : e;
1645
1654
  if (l(r)) return `${n}${r}`;
1646
1655
  }
@@ -1681,63 +1690,63 @@ var Xe = "d-response-loading", Ze = class {
1681
1690
  get(e) {
1682
1691
  return this.request({
1683
1692
  ...e,
1684
- method: P.get
1693
+ method: F.get
1685
1694
  });
1686
1695
  }
1687
1696
  post(e) {
1688
1697
  return this.request({
1689
1698
  ...e,
1690
- method: P.post
1699
+ method: F.post
1691
1700
  });
1692
1701
  }
1693
1702
  put(e) {
1694
1703
  return this.request({
1695
1704
  ...e,
1696
- method: P.put
1705
+ method: F.put
1697
1706
  });
1698
1707
  }
1699
1708
  patch(e) {
1700
1709
  return this.request({
1701
1710
  ...e,
1702
- method: P.patch
1711
+ method: F.patch
1703
1712
  });
1704
1713
  }
1705
1714
  delete(e) {
1706
1715
  return this.request({
1707
1716
  ...e,
1708
- method: P.delete
1717
+ method: F.delete
1709
1718
  });
1710
1719
  }
1711
1720
  getRetryDelay(e, t) {
1712
1721
  return f(t, t + e * t);
1713
1722
  }
1714
1723
  async fetch(e, t = 0) {
1715
- let { method: n = P.get, api: r = !0, path: i = "", hideError: a = !1, hideLoading: o = !1, retry: s = 0, retryDelay: c = 64, globalPreparation: l = !0, globalEnd: u = !0, initError: d = !0, endResetLimit: f = 8 } = e, p = this.getUrl(i, r), m = await this.response.emulator(e);
1724
+ let { method: n = F.get, api: r = !0, path: i = "", hideError: a = !1, hideLoading: o = !1, retry: s = 0, retryDelay: c = 64, globalPreparation: l = !0, globalEnd: u = !0, initError: d = !0, endResetLimit: f = 8 } = e, p = this.getUrl(i, r), m = await this.response.emulator(e);
1716
1725
  if (m) return m;
1717
- let te = await N.getByFetch(e);
1718
- if (te) return this.hydration.toClient(e, te), te;
1719
- let h = new Re(), g, _;
1726
+ let h = await P.getByFetch(e);
1727
+ if (h) return this.hydration.toClient(e, h), h;
1728
+ let g = new Le(), _, v;
1720
1729
  o || this.loading.show();
1721
1730
  try {
1722
1731
  await this.preparation.make(l, e);
1723
1732
  let { query: r, timeoutId: i } = await this.makeQuery(e, p);
1724
1733
  i && clearTimeout(i);
1725
1734
  let m = await this.preparation.makeEnd(u, r, e);
1726
- if (h.setStatus(r.status, r.statusText), this.status.setStatus(r.status, r.statusText), !a && r.status >= 400) {
1727
- var ne;
1728
- d && (_ = await We.getItem(n, r)), this.makeErrorQuery((ne = _) == null ? r : ne);
1735
+ if (g.setStatus(r.status, r.statusText), this.status.setStatus(r.status, r.statusText), !a && r.status >= 400) {
1736
+ var te;
1737
+ d && (v = await Ue.getItem(n, r)), this.makeErrorQuery((te = v) == null ? r : te);
1729
1738
  }
1730
1739
  if (m != null && m.reset && t < f || t < s) return await ee(this.getRetryDelay(t, c)), o || this.loading.hide(), await this.fetch(e, t + 1);
1731
- g = new Be(e, r, m, _), await g.init();
1740
+ _ = new ze(e, r, m, v), await _.init();
1732
1741
  } catch (e) {
1733
- throw a || this.makeError(e), h.setError(String(e)), this.status.setError(String(e)), o || this.loading.hide(), e;
1742
+ throw a || this.makeError(e), g.setError(String(e)), this.status.setError(String(e)), o || this.loading.hide(), e;
1734
1743
  }
1735
- h.setLastResponse(g.getData()), this.status.setLastResponse(g.getData());
1736
- let v = g.getAndStatus(h);
1737
- return o || this.loading.hide(), this.hydration.toClient(e, v), await N.setByFetch(e, v), v;
1744
+ g.setLastResponse(_.getData()), this.status.setLastResponse(_.getData());
1745
+ let y = _.getAndStatus(g);
1746
+ return o || this.loading.hide(), this.hydration.toClient(e, y), await P.setByFetch(e, y), y;
1738
1747
  }
1739
1748
  async makeQuery(e, t) {
1740
- let n = this.requestDefault.request(e.request), { pathFull: r = void 0, method: i = P.get, headers: a = {}, type: o = "application/json;charset=UTF-8", init: s = {} } = e, c = r == null ? t : r, l = `${c}${this.getBodyForGet(n, c, i)}`, u = this.headers.getByRequest(e.request, a, o), d = {
1749
+ let n = this.requestDefault.request(e.request), { pathFull: r = void 0, method: i = F.get, headers: a = {}, type: o = "application/json;charset=UTF-8", init: s = {} } = e, c = r == null ? t : r, l = `${c}${this.getBodyForGet(n, c, i)}`, u = this.headers.getByRequest(e.request, a, o), d = {
1741
1750
  ...s,
1742
1751
  method: i,
1743
1752
  body: this.getBody(n, i)
@@ -1831,12 +1840,12 @@ var Xe = "d-response-loading", Ze = class {
1831
1840
  }, n);
1832
1841
  }
1833
1842
  }
1834
- }, F = class {
1843
+ }, L = class {
1835
1844
  static isLocalhost() {
1836
1845
  return this.getItem().isLocalhost();
1837
1846
  }
1838
1847
  static getItem() {
1839
- return E.get("__ui:api-instance__", () => new Qe());
1848
+ return D.get("__ui:api-instance__", () => new Xe());
1840
1849
  }
1841
1850
  static getStatus() {
1842
1851
  return this.getItem().getStatus();
@@ -1856,10 +1865,10 @@ var Xe = "d-response-loading", Ze = class {
1856
1865
  static getUrl(e, t = !0) {
1857
1866
  return this.getItem().getUrl(e, t);
1858
1867
  }
1859
- static getBody(e = {}, t = P.get) {
1868
+ static getBody(e = {}, t = F.get) {
1860
1869
  return this.getItem().getBody(e, t);
1861
1870
  }
1862
- static getBodyForGet(e, t = "", n = P.get) {
1871
+ static getBodyForGet(e, t = "", n = F.get) {
1863
1872
  return this.getItem().getBodyForGet(e, t, n);
1864
1873
  }
1865
1874
  static setHeaders(e) {
@@ -1907,16 +1916,16 @@ var Xe = "d-response-loading", Ze = class {
1907
1916
  static delete(e) {
1908
1917
  return this.getItem().delete(e);
1909
1918
  }
1910
- }, $e = class {
1911
- constructor(e, t, n, r = w.getItem()) {
1912
- if (C(this, "callback", void 0), C(this, "callbackError", void 0), C(this, "channel", void 0), C(this, "update", (e) => {
1919
+ }, Ze = class {
1920
+ constructor(e, t, n, r = T.getItem()) {
1921
+ if (w(this, "callback", void 0), w(this, "callbackError", void 0), w(this, "channel", void 0), w(this, "update", (e) => {
1913
1922
  var t;
1914
1923
  return (t = this.callback) == null || t.call(this, e), this;
1915
- }), C(this, "updateError", (e) => {
1924
+ }), w(this, "updateError", (e) => {
1916
1925
  var t;
1917
1926
  return (t = this.callbackError) == null || t.call(this, e), this;
1918
1927
  }), this.callback = t, this.callbackError = n, s()) try {
1919
- this.channel = new BroadcastChannel(`${et()}__${e}`), this.channel.onmessage = this.update, this.channel.onmessageerror = this.updateError;
1928
+ this.channel = new BroadcastChannel(`${Qe()}__${e}`), this.channel.onmessage = this.update, this.channel.onmessageerror = this.updateError;
1920
1929
  } catch (e) {
1921
1930
  r.on({
1922
1931
  group: "broadcast",
@@ -1942,9 +1951,9 @@ var Xe = "d-response-loading", Ze = class {
1942
1951
  var e;
1943
1952
  return (e = this.channel) == null || e.close(), this.channel = void 0, this;
1944
1953
  }
1945
- }, et = () => new D("__ui:broadcast-name__").get(() => `name_${f(1e6, 9999999)}`), tt = class {
1954
+ }, Qe = () => new O("__ui:broadcast-name__").get(() => `name_${f(1e6, 9999999)}`), $e = class {
1946
1955
  constructor(e) {
1947
- C(this, "callback", void 0), C(this, "cache", void 0), C(this, "cacheOld", void 0), C(this, "comparisons", []), this.callback = e;
1956
+ w(this, "callback", void 0), w(this, "cache", void 0), w(this, "cacheOld", void 0), w(this, "comparisons", []), this.callback = e;
1948
1957
  }
1949
1958
  getCache(e) {
1950
1959
  return this.isUpdate(e) && (this.cacheOld = this.cache, this.setCache()), this.cache;
@@ -1964,9 +1973,9 @@ var Xe = "d-response-loading", Ze = class {
1964
1973
  isUpdate(e) {
1965
1974
  return this.cache === void 0 || this.comparisons.length !== e.length || this.comparisons.findIndex((t, n) => t !== e[n]) >= 0 ? (this.comparisons = [...e], !0) : !1;
1966
1975
  }
1967
- }, nt = class {
1976
+ }, et = class {
1968
1977
  constructor() {
1969
- C(this, "cache", {});
1978
+ w(this, "cache", {});
1970
1979
  }
1971
1980
  get(e, t, n) {
1972
1981
  return this.getCacheItem(e, t).getCache(n == null ? [] : n);
@@ -1975,11 +1984,11 @@ var Xe = "d-response-loading", Ze = class {
1975
1984
  return await this.getCacheItem(e, t).getCacheAsync(n == null ? [] : n);
1976
1985
  }
1977
1986
  getCacheItem(e, t) {
1978
- return e in this.cache || (this.cache[e] = new tt(t)), this.cache[e];
1987
+ return e in this.cache || (this.cache[e] = new $e(t)), this.cache[e];
1979
1988
  }
1980
- }, rt = class {
1989
+ }, tt = class {
1981
1990
  static getItem() {
1982
- return E.get("__ui:cache-static__", () => new nt());
1991
+ return D.get("__ui:cache-static__", () => new et());
1983
1992
  }
1984
1993
  static get(e, t, n) {
1985
1994
  return this.getItem().get(e, t, n);
@@ -1990,41 +1999,41 @@ var Xe = "d-response-loading", Ze = class {
1990
1999
  };
1991
2000
  //#endregion
1992
2001
  //#region src/functions/toDate.ts
1993
- function I(e) {
2002
+ function R(e) {
1994
2003
  var t, n, r, i, a, o, s, l;
1995
2004
  if (e instanceof Date) return e;
1996
2005
  if (c(e)) return /* @__PURE__ */ new Date();
1997
2006
  if (typeof e == "number") return new Date(e);
1998
- let u = e, d = k.getTimezoneFormat().trim();
2007
+ let u = e, d = A.getTimezoneFormat().trim();
1999
2008
  e.replace(/^([\s\S]+)([-+]\d{2}:?\d{2})$/, (e, t, n) => (u = t, d = n.trim(), e));
2000
2009
  let f = (t = (n = (r = (i = (a = (o = (s = (l = /^\d{4}\d{2}\d{2}$/.exec(u) && `${u.replace(/^(\d{4})(\d{2})(\d{2})$/, "$1-$2-$3")}T00:00:00`) == null ? /^\d{4}\d{2}$/.exec(u) && `${u.replace(/^(\d{4})(\d{2})$/, "$1-$2")}-01T00:00:00` : l) == null ? /^\d{4}\d{2}\d{2} \d{2}:\d{2}:\d{2}$/.exec(u) && u.replace(/^(\d{4})(\d{2})(\d{2}) (\d{2}):(\d{2}):(\d{2})$/, "$1-$2-$3T$4:$5:$6") : s) == null ? /^\d{4}-\d{2}-\d{2}$/.exec(u) && `${u}T00:00:00` : o) == null ? /^\d{4}-\d{2}$/.exec(u) && `${u}-01T00:00:00` : a) == null ? /^\d{4}$/.exec(u) && `${u}-01-01T00:00:00` : i) == null ? /^\d{2}:\d{2}$/.exec(u) && `2000-01-01T${u}:00` : r) == null ? /^\d{2}:\d{2}:\d{2}$/.exec(u) && `2000-01-01T${u}` : n) == null ? u.replace(" ", "T") : t;
2001
2010
  return /* @__PURE__ */ new Date(`${f.trim()}${d}`);
2002
2011
  }
2003
2012
  //#endregion
2004
2013
  //#region src/functions/getColumn.ts
2005
- function it(e, t) {
2014
+ function nt(e, t) {
2006
2015
  return r(e, (e) => e == null ? void 0 : e[t], !0);
2007
2016
  }
2008
2017
  //#endregion
2009
2018
  //#region src/classes/GeoIntl.ts
2010
- var L = class e {
2011
- static isItem(e = k.getLocation()) {
2012
- return this.getLocation(e) in z;
2019
+ var z = class e {
2020
+ static isItem(e = A.getLocation()) {
2021
+ return this.getLocation(e) in V;
2013
2022
  }
2014
- static getLocation(e = k.getLocation()) {
2015
- if (e in R) return R[e];
2016
- let t = k.find(e);
2017
- return R[e] = t.standard, t.standard;
2023
+ static getLocation(e = A.getLocation()) {
2024
+ if (e in B) return B[e];
2025
+ let t = A.find(e);
2026
+ return B[e] = t.standard, t.standard;
2018
2027
  }
2019
- static getInstance(t = k.getLocation()) {
2028
+ static getInstance(t = A.getLocation()) {
2020
2029
  let n = this.getLocation(t);
2021
- return n in z ? z[n] : new e(t);
2030
+ return n in V ? V[n] : new e(t);
2022
2031
  }
2023
- constructor(e = k.getLocation(), t = w.getItem()) {
2024
- C(this, "errorCenter", void 0), C(this, "geo", void 0), this.errorCenter = t, this.geo = k.find(e);
2032
+ constructor(e = A.getLocation(), t = T.getItem()) {
2033
+ w(this, "errorCenter", void 0), w(this, "geo", void 0), this.errorCenter = t, this.geo = A.find(e);
2025
2034
  let n = this.getLocation();
2026
- if (n in z) return z[n];
2027
- R[e] = n, z[n] = this;
2035
+ if (n in V) return V[n];
2036
+ B[e] = n, V[n] = this;
2028
2037
  }
2029
2038
  getLocation() {
2030
2039
  return this.geo.standard;
@@ -2055,7 +2064,7 @@ var L = class e {
2055
2064
  type: "language",
2056
2065
  style: t
2057
2066
  };
2058
- return this.display(k.getByCode(e).language, n);
2067
+ return this.display(A.getByCode(e).language, n);
2059
2068
  }
2060
2069
  countryName(e, t) {
2061
2070
  let n = {
@@ -2085,7 +2094,7 @@ var L = class e {
2085
2094
  }
2086
2095
  number(e, t) {
2087
2096
  var n, r;
2088
- return ((n = this.numberObject(t)) == null || (r = n.format) == null ? void 0 : r.call(n, y(e))) || e.toString();
2097
+ return ((n = this.numberObject(t)) == null || (r = n.format) == null ? void 0 : r.call(n, b(e))) || e.toString();
2089
2098
  }
2090
2099
  decimal() {
2091
2100
  var e, t, n;
@@ -2099,7 +2108,7 @@ var L = class e {
2099
2108
  }, i = e.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]{3})$/i, (...e) => (r.currency = String(e[2]).toUpperCase(), String(e[1])));
2100
2109
  if (n) {
2101
2110
  let t = this.numberObject(r);
2102
- return t ? it(t.formatToParts(y(e)).filter((e) => ["literal", "currency"].indexOf(e.type) === -1), "value").join("") : e.toString();
2111
+ return t ? nt(t.formatToParts(b(e)).filter((e) => ["literal", "currency"].indexOf(e.type) === -1), "value").join("") : e.toString();
2103
2112
  } else if ("currency" in r) return this.number(typeof e == "number" ? e : i, r);
2104
2113
  else return this.number(typeof e == "number" ? e : i, {
2105
2114
  ...r,
@@ -2122,7 +2131,7 @@ var L = class e {
2122
2131
  return this.number(r, n);
2123
2132
  }
2124
2133
  sizeFile(e, t = "byte") {
2125
- let n = y(e);
2134
+ let n = b(e);
2126
2135
  if (n > 1024 && d(t)) switch (t) {
2127
2136
  case "byte": return this.sizeFile(n / 1024, "kilobyte");
2128
2137
  case "kilobyte": return this.sizeFile(n / 1024, "megabyte");
@@ -2139,11 +2148,11 @@ var L = class e {
2139
2148
  });
2140
2149
  }
2141
2150
  percentBy100(e, t) {
2142
- return this.percent(y(e) / 100, t);
2151
+ return this.percent(b(e) / 100, t);
2143
2152
  }
2144
2153
  plural(e, t, n, r) {
2145
2154
  var i;
2146
- let a = y(e), o = t.split("|");
2155
+ let a = b(e), o = t.split("|");
2147
2156
  if (o.length > 1) try {
2148
2157
  if (typeof Intl < "u") {
2149
2158
  var s;
@@ -2180,18 +2189,18 @@ var L = class e {
2180
2189
  return `${this.number(a, r)} ${(i = o == null ? void 0 : o[0]) == null ? "" : i}`.trim();
2181
2190
  }
2182
2191
  date(e, t, n, r) {
2183
- let i = I(e), a = typeof n == "string", o = this.dateOptions(t, a ? n : "short");
2192
+ let i = R(e), a = typeof n == "string", o = this.dateOptions(t, a ? n : "short");
2184
2193
  return r && (o.hour12 = !1), a || Object.assign(o, n), i.toLocaleString(this.getLocation(), o);
2185
2194
  }
2186
2195
  relative(e, t, n) {
2187
- let r = I(e), i = n || /* @__PURE__ */ new Date(), a = {
2196
+ let r = R(e), i = n || /* @__PURE__ */ new Date(), a = {
2188
2197
  numeric: "auto",
2189
2198
  ...typeof t == "string" ? { style: t } : t || {}
2190
2199
  }, o = "second", s = (r.getTime() - i.getTime()) / 1e3;
2191
2200
  return Math.abs(s) >= 60 && (o = "minute", s /= 60, Math.abs(s) >= 60 && (o = "hour", s /= 60, Math.abs(s) >= 24 && (o = "day", s /= 24, Math.abs(s) >= 30 && (o = "month", s /= 30, Math.abs(s) >= 12 && (o = "year", s /= 12))))), this.relativeByValue(s, o, a);
2192
2201
  }
2193
2202
  relativeLimit(e, t, n, r, i, a, o) {
2194
- let s = I(e), c = n || /* @__PURE__ */ new Date(), l = new Date(c), u = new Date(c);
2203
+ let s = R(e), c = n || /* @__PURE__ */ new Date(), l = new Date(c), u = new Date(c);
2195
2204
  return l.setDate(c.getDate() - t), u.setDate(c.getDate() + t), s >= l && s <= u ? this.relative(s, r, c) : this.date(s, a, i, o);
2196
2205
  }
2197
2206
  relativeByValue(e, t, n) {
@@ -2200,7 +2209,7 @@ var L = class e {
2200
2209
  ...typeof n == "string" ? { style: n } : n || {}
2201
2210
  };
2202
2211
  try {
2203
- if (this.hasIntl() && Intl.RelativeTimeFormat !== void 0) return new Intl.RelativeTimeFormat(this.getLocation(), r).format(Math.round(y(e)), t);
2212
+ if (this.hasIntl() && Intl.RelativeTimeFormat !== void 0) return new Intl.RelativeTimeFormat(this.getLocation(), r).format(Math.round(b(e)), t);
2204
2213
  } catch (e) {
2205
2214
  this.errorCenter.on({
2206
2215
  group: "intl",
@@ -2212,7 +2221,7 @@ var L = class e {
2212
2221
  }
2213
2222
  month(e, t) {
2214
2223
  try {
2215
- if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { month: t || "long" }).format(I(e));
2224
+ if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { month: t || "long" }).format(R(e));
2216
2225
  } catch (e) {
2217
2226
  this.errorCenter.on({
2218
2227
  group: "intl",
@@ -2246,7 +2255,7 @@ var L = class e {
2246
2255
  }
2247
2256
  weekday(e, t) {
2248
2257
  try {
2249
- if (this.hasIntlDateTimeFormat()) return new Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }).format(I(e));
2258
+ if (this.hasIntlDateTimeFormat()) return new Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }).format(R(e));
2250
2259
  } catch (e) {
2251
2260
  this.errorCenter.on({
2252
2261
  group: "intl",
@@ -2348,15 +2357,15 @@ var L = class e {
2348
2357
  "second"
2349
2358
  ].indexOf(e) !== -1 && (n.second = "2-digit")), n;
2350
2359
  }
2351
- }, R = {}, z = {}, at = class e {
2352
- constructor(e, t = "date", n = k.getLocation()) {
2353
- C(this, "type", void 0), C(this, "code", void 0), C(this, "date", void 0), C(this, "hour24", !1), C(this, "watch", void 0), this.type = t, this.code = n, this.date = I(e), isNaN(this.date.getTime()) && w.on({
2360
+ }, B = {}, V = {}, rt = class e {
2361
+ constructor(e, t = "date", n = A.getLocation()) {
2362
+ w(this, "type", void 0), w(this, "code", void 0), w(this, "date", void 0), w(this, "hour24", !1), w(this, "watch", void 0), this.type = t, this.code = n, this.date = R(e), isNaN(this.date.getTime()) && T.on({
2354
2363
  group: "intl",
2355
2364
  code: "invalid"
2356
2365
  });
2357
2366
  }
2358
2367
  getIntl() {
2359
- return L.getInstance(this.code);
2368
+ return z.getInstance(this.code);
2360
2369
  }
2361
2370
  getDate() {
2362
2371
  return this.date;
@@ -2459,7 +2468,7 @@ var L = class e {
2459
2468
  ].indexOf(this.type) !== -1 && (i = n.locale("time"))), `${r.join("-")}${i ? `T${i}${t ? n.getTimeZone() : ""}` : ""}`;
2460
2469
  }
2461
2470
  setDate(e) {
2462
- return this.date = I(e), this.update(), this;
2471
+ return this.date = R(e), this.update(), this;
2463
2472
  }
2464
2473
  setType(e) {
2465
2474
  return this.type = e, this.update(), this;
@@ -2611,24 +2620,24 @@ var L = class e {
2611
2620
  };
2612
2621
  //#endregion
2613
2622
  //#region src/functions/getItemByPath.ts
2614
- function B(e, n) {
2623
+ function H(e, n) {
2615
2624
  var r;
2616
2625
  if (!l(n, !0)) return;
2617
- let i = se(n, ".", 2), a = i[0];
2618
- return a && e != null && e[a] && t(e[a]) && i != null && i[1] ? B(e[a], i[1]) : (r = e == null ? void 0 : e[a]) == null ? void 0 : r;
2626
+ let i = oe(n, ".", 2), a = i[0];
2627
+ return a && e != null && e[a] && t(e[a]) && i != null && i[1] ? H(e[a], i[1]) : (r = e == null ? void 0 : e[a]) == null ? void 0 : r;
2619
2628
  }
2620
2629
  //#endregion
2621
2630
  //#region src/functions/toCamelCase.ts
2622
- function ot(e) {
2631
+ function it(e) {
2623
2632
  return e.toString().trim().replace(/[^\w-. ]+/g, "").replace(/[ .]+/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (e) => `${e.toLowerCase()}`).replace(/-+([a-zA-Z0-9])/g, (...e) => `${String(e[1]).toUpperCase()}`).replace(/^([A-Z])/, (e) => `${e.toLowerCase()}`);
2624
2633
  }
2625
2634
  //#endregion
2626
2635
  //#region src/types/formattersTypes.ts
2627
- var V = /* @__PURE__ */ function(e) {
2636
+ var U = /* @__PURE__ */ function(e) {
2628
2637
  return e.currency = "currency", e.date = "date", e.name = "name", e.number = "number", e.plural = "plural", e.unit = "unit", e;
2629
- }({}), st = class {
2638
+ }({}), at = class {
2630
2639
  constructor(e, t) {
2631
- C(this, "options", void 0), C(this, "list", void 0), this.options = e, this.list = t;
2640
+ w(this, "options", void 0), w(this, "list", void 0), this.options = e, this.list = t;
2632
2641
  }
2633
2642
  is() {
2634
2643
  return !!this.list;
@@ -2640,7 +2649,7 @@ var V = /* @__PURE__ */ function(e) {
2640
2649
  return this.list ? this.isArray() ? this.list.length : 1 : 0;
2641
2650
  }
2642
2651
  getList() {
2643
- return this.list ? j(this.list) : [];
2652
+ return this.list ? M(this.list) : [];
2644
2653
  }
2645
2654
  getOptions() {
2646
2655
  return this.options;
@@ -2658,50 +2667,50 @@ var V = /* @__PURE__ */ function(e) {
2658
2667
  getFormatData(e) {
2659
2668
  let t = {};
2660
2669
  return r(this.options, (n, r) => {
2661
- let i = `${ot(r)}Format`, a = B(e, r);
2670
+ let i = `${it(r)}Format`, a = H(e, r);
2662
2671
  n != null && n.transformation ? l(a) ? t[i] = n.transformation(a, e, n.options) : t[i] = "" : t[i] = this.transformation(a, e, n.type, n.options);
2663
2672
  }), t;
2664
2673
  }
2665
2674
  transformation(e, t, n, r) {
2666
- if (l(e) || n === V.name) switch (n) {
2667
- case V.currency: return this.formatCurrency(e, t, r);
2668
- case V.date: return this.formatDate(e, r);
2669
- case V.name: return this.formatName(t, r);
2670
- case V.number: return this.formatNumber(e, r);
2671
- case V.plural: return this.formatPlural(e, r);
2672
- case V.unit: return this.formatUnit(e, r);
2675
+ if (l(e) || n === U.name) switch (n) {
2676
+ case U.currency: return this.formatCurrency(e, t, r);
2677
+ case U.date: return this.formatDate(e, r);
2678
+ case U.name: return this.formatName(t, r);
2679
+ case U.number: return this.formatNumber(e, r);
2680
+ case U.plural: return this.formatPlural(e, r);
2681
+ case U.unit: return this.formatUnit(e, r);
2673
2682
  default: return String(e);
2674
2683
  }
2675
2684
  return "";
2676
2685
  }
2677
2686
  formatCurrency(e, t, n) {
2678
2687
  var r;
2679
- let i = n != null && n.currencyPropName ? B(t, n.currencyPropName) : t == null ? void 0 : t.currency;
2680
- return L.getInstance().currency(e, (r = n == null ? void 0 : n.options) == null ? i : r, n == null ? void 0 : n.numberOnly);
2688
+ let i = n != null && n.currencyPropName ? H(t, n.currencyPropName) : t == null ? void 0 : t.currency;
2689
+ return z.getInstance().currency(e, (r = n == null ? void 0 : n.options) == null ? i : r, n == null ? void 0 : n.numberOnly);
2681
2690
  }
2682
2691
  formatDate(e, t) {
2683
- return L.getInstance().date(e, t == null ? void 0 : t.type, t == null ? void 0 : t.options, t == null ? void 0 : t.hour24);
2692
+ return z.getInstance().date(e, t == null ? void 0 : t.type, t == null ? void 0 : t.options, t == null ? void 0 : t.hour24);
2684
2693
  }
2685
2694
  formatName(e, t) {
2686
2695
  var n, r, i;
2687
- let a = B(e, (n = t == null ? void 0 : t.lastPropName) == null ? "lastName" : n), o = B(e, (r = t == null ? void 0 : t.firstPropName) == null ? "firstName" : r), s = B(e, (i = t == null ? void 0 : t.surname) == null ? "surname" : i);
2688
- return a && o ? L.getInstance().fullName(a, o, s, t == null ? void 0 : t.short) : "";
2696
+ let a = H(e, (n = t == null ? void 0 : t.lastPropName) == null ? "lastName" : n), o = H(e, (r = t == null ? void 0 : t.firstPropName) == null ? "firstName" : r), s = H(e, (i = t == null ? void 0 : t.surname) == null ? "surname" : i);
2697
+ return a && o ? z.getInstance().fullName(a, o, s, t == null ? void 0 : t.short) : "";
2689
2698
  }
2690
2699
  formatNumber(e, t) {
2691
- return L.getInstance().number(e, t == null ? void 0 : t.options);
2700
+ return z.getInstance().number(e, t == null ? void 0 : t.options);
2692
2701
  }
2693
2702
  formatPlural(e, t) {
2694
- return t && t.words ? L.getInstance().plural(e, t == null ? void 0 : t.words, t == null ? void 0 : t.options, t == null ? void 0 : t.optionsNumber) : e;
2703
+ return t && t.words ? z.getInstance().plural(e, t == null ? void 0 : t.words, t == null ? void 0 : t.options, t == null ? void 0 : t.optionsNumber) : e;
2695
2704
  }
2696
2705
  formatUnit(e, t) {
2697
- return t && t.unit ? L.getInstance().unit(e, t.unit) : e;
2706
+ return t && t.unit ? z.getInstance().unit(e, t.unit) : e;
2698
2707
  }
2699
- }, ct = "f", lt = class e {
2700
- constructor(e = k.getLocation()) {
2701
- C(this, "code", void 0), this.code = e;
2708
+ }, ot = "f", st = class e {
2709
+ constructor(e = A.getLocation()) {
2710
+ w(this, "code", void 0), this.code = e;
2702
2711
  }
2703
2712
  get(t = this.getCode()) {
2704
- let n = k.find(t);
2713
+ let n = A.find(t);
2705
2714
  if (n) {
2706
2715
  var r;
2707
2716
  let t = this.getCountry(n);
@@ -2727,7 +2736,7 @@ var V = /* @__PURE__ */ function(e) {
2727
2736
  };
2728
2737
  }
2729
2738
  getCode() {
2730
- return this.code || k.getLocation();
2739
+ return this.code || A.getLocation();
2731
2740
  }
2732
2741
  getFlag(e = this.getCode()) {
2733
2742
  var t;
@@ -2735,14 +2744,14 @@ var V = /* @__PURE__ */ function(e) {
2735
2744
  }
2736
2745
  getList(e, t = !0) {
2737
2746
  let n = r(this.getCodes(e), (e) => this.get(e));
2738
- return t ? new L().sort(n, (e, t) => [e.label, t.label]) : n;
2747
+ return t ? new z().sort(n, (e, t) => [e.label, t.label]) : n;
2739
2748
  }
2740
2749
  getListLanguage(e, t = !0) {
2741
2750
  let n = [], i = /* @__PURE__ */ new Set();
2742
2751
  return r(this.getCodes(e), (e) => {
2743
2752
  let t = this.getLanguage(e);
2744
2753
  t && !i.has(t.value) && (n.push(t), i.add(t.value));
2745
- }), t ? new L().sort(n, (e, t) => [e.label, t.label]) : n;
2754
+ }), t ? new z().sort(n, (e, t) => [e.label, t.label]) : n;
2746
2755
  }
2747
2756
  getNational(t, n = !0) {
2748
2757
  let i = r(this.getList(t, !1), (t) => {
@@ -2754,7 +2763,7 @@ var V = /* @__PURE__ */ function(e) {
2754
2763
  nationalCountry: n == null ? void 0 : n.country
2755
2764
  };
2756
2765
  });
2757
- return n ? new L().sort(i, (e, t) => [e.label, t.label]) : i;
2766
+ return n ? new z().sort(i, (e, t) => [e.label, t.label]) : i;
2758
2767
  }
2759
2768
  getNationalLanguage(t, n = !0) {
2760
2769
  let i = r(this.getListLanguage(t, !1), (t) => {
@@ -2766,13 +2775,13 @@ var V = /* @__PURE__ */ function(e) {
2766
2775
  nationalCountry: n == null ? void 0 : n.country
2767
2776
  };
2768
2777
  });
2769
- return n ? new L().sort(i, (e, t) => [e.label, t.label]) : i;
2778
+ return n ? new z().sort(i, (e, t) => [e.label, t.label]) : i;
2770
2779
  }
2771
2780
  setCode(e) {
2772
2781
  return this.code = e, this;
2773
2782
  }
2774
2783
  getLocation() {
2775
- return new L(this.code);
2784
+ return new z(this.code);
2776
2785
  }
2777
2786
  getCodes(t) {
2778
2787
  return t == null ? Object.keys(e.flags) : t;
@@ -2784,7 +2793,7 @@ var V = /* @__PURE__ */ function(e) {
2784
2793
  return this.getLocation().countryName(e.country);
2785
2794
  }
2786
2795
  };
2787
- C(lt, "flags", {
2796
+ w(st, "flags", {
2788
2797
  RU: "f-ru",
2789
2798
  FR: "f-fr",
2790
2799
  GB: "f-gb",
@@ -3028,7 +3037,7 @@ C(lt, "flags", {
3028
3037
  });
3029
3038
  //#endregion
3030
3039
  //#region src/classes/GeoPhone.ts
3031
- var ut = class {
3040
+ var ct = class {
3032
3041
  static get(e) {
3033
3042
  return this.getList().find((t) => e === t.value);
3034
3043
  }
@@ -3084,11 +3093,11 @@ var ut = class {
3084
3093
  return (t = (n = e.match(/\*/g)) == null ? void 0 : n.length) == null ? 0 : t;
3085
3094
  }
3086
3095
  static makeList() {
3087
- let e = r(k.getList(), (e) => {
3096
+ let e = r(A.getList(), (e) => {
3088
3097
  if (e != null && e.phoneMask) return {
3089
3098
  phone: (e == null ? void 0 : e.phoneCode) && Number(e.phoneCode.replace(/[^0-9]+/g, "")) || void 0,
3090
3099
  within: (e == null ? void 0 : e.phoneWithin) || 0,
3091
- mask: j(e.phoneMask),
3100
+ mask: M(e.phoneMask),
3092
3101
  value: e.country
3093
3102
  };
3094
3103
  });
@@ -3127,10 +3136,10 @@ var ut = class {
3127
3136
  return e.replace(/\*/, this.getWithinSymbol(t));
3128
3137
  }
3129
3138
  };
3130
- C(ut, "list", void 0), C(ut, "map", void 0);
3139
+ w(ct, "list", void 0), w(ct, "map", void 0);
3131
3140
  //#endregion
3132
3141
  //#region src/classes/GeoUnit.ts
3133
- var H = {}, dt = {
3142
+ var W = {}, lt = {
3134
3143
  "millimeter->inch": .03937007874,
3135
3144
  "centimeter->inch": .3937007874,
3136
3145
  "meter->foot": 3.280839895,
@@ -3143,16 +3152,16 @@ var H = {}, dt = {
3143
3152
  "milliliter->fluid-ounce": .0338140227,
3144
3153
  "liter->gallon": .2641720524,
3145
3154
  "kilometer-per-hour->mile-per-hour": .621371192
3146
- }, ft = class e {
3147
- static getInstance(t = k.getLocation()) {
3148
- let n = k.find(t).standard;
3149
- return n in H ? H[n] : new e(t);
3155
+ }, ut = class e {
3156
+ static getInstance(t = A.getLocation()) {
3157
+ let n = A.find(t).standard;
3158
+ return n in W ? W[n] : new e(t);
3150
3159
  }
3151
- constructor(e = k.getLocation()) {
3152
- C(this, "geo", void 0), this.geo = k.find(e);
3160
+ constructor(e = A.getLocation()) {
3161
+ w(this, "geo", void 0), this.geo = A.find(e);
3153
3162
  let t = this.getLocation();
3154
- if (t in H) return H[t];
3155
- H[t] = this;
3163
+ if (t in W) return W[t];
3164
+ W[t] = this;
3156
3165
  }
3157
3166
  getLocation() {
3158
3167
  return this.geo.standard;
@@ -3222,8 +3231,8 @@ var H = {}, dt = {
3222
3231
  return ((t = this.geo.unit) == null ? void 0 : t[e]) || e;
3223
3232
  }
3224
3233
  formatUnit(e, t, n) {
3225
- let r = y(e), i = this.getTargetUnit(t), a = this.convert(r, t, i);
3226
- return L.getInstance(this.getLocation()).unit(a, {
3234
+ let r = b(e), i = this.getTargetUnit(t), a = this.convert(r, t, i);
3235
+ return z.getInstance(this.getLocation()).unit(a, {
3227
3236
  unit: i,
3228
3237
  ...n
3229
3238
  });
@@ -3232,16 +3241,16 @@ var H = {}, dt = {
3232
3241
  if (t !== n) {
3233
3242
  if (this.isCelsiusToFahrenheit(t, n)) return this.celsiusToFahrenheit(e);
3234
3243
  let r = `${t}->${n}`;
3235
- if (r in dt) return e * dt[r];
3244
+ if (r in lt) return e * lt[r];
3236
3245
  }
3237
3246
  return e;
3238
3247
  }
3239
3248
  celsiusToFahrenheit(e) {
3240
3249
  return e * 1.8 + 32;
3241
3250
  }
3242
- }, pt = class {
3251
+ }, dt = class {
3243
3252
  static getItem() {
3244
- return E.get("__ui:global-instance__", () => ({}));
3253
+ return D.get("__ui:global-instance__", () => ({}));
3245
3254
  }
3246
3255
  static get(e) {
3247
3256
  var t;
@@ -3251,9 +3260,9 @@ var H = {}, dt = {
3251
3260
  let t = this.getItem();
3252
3261
  Object.keys(t).length > 0 || Object.assign(t, e);
3253
3262
  }
3254
- }, mt = class {
3263
+ }, ft = class {
3255
3264
  constructor() {
3256
- C(this, "data", void 0), C(this, "watch", {}), C(this, "block", !1), C(this, "time", void 0);
3265
+ w(this, "data", void 0), w(this, "watch", {}), w(this, "block", !1), w(this, "time", void 0);
3257
3266
  }
3258
3267
  get(e, t) {
3259
3268
  let n = this.getData();
@@ -3292,7 +3301,7 @@ var H = {}, dt = {
3292
3301
  ((r = this.data) == null ? void 0 : r[n]) !== (e == null ? void 0 : e[n]) && t.forEach((t) => t(e[n]));
3293
3302
  }), this;
3294
3303
  }
3295
- }, ht = class extends mt {
3304
+ }, pt = class extends ft {
3296
3305
  init() {
3297
3306
  return this.initData(), s() && addEventListener("hashchange", () => this.reload()), this;
3298
3307
  }
@@ -3300,7 +3309,7 @@ var H = {}, dt = {
3300
3309
  let e = {};
3301
3310
  if (s()) {
3302
3311
  let t = location.hash.matchAll(/([\w-]+)[:=]([^;]+)/gi);
3303
- for (let n of t) e[n[1]] = T(n[2]);
3312
+ for (let n of t) e[n[1]] = E(n[2]);
3304
3313
  }
3305
3314
  return e;
3306
3315
  }
@@ -3318,9 +3327,9 @@ var H = {}, dt = {
3318
3327
  }
3319
3328
  return this;
3320
3329
  }
3321
- }, gt = class {
3330
+ }, mt = class {
3322
3331
  static getItem() {
3323
- return E.get("__ui:hash-instance__", () => new ht());
3332
+ return D.get("__ui:hash-instance__", () => new pt());
3324
3333
  }
3325
3334
  static get(e, t) {
3326
3335
  return this.getItem().get(e, t);
@@ -3337,29 +3346,29 @@ var H = {}, dt = {
3337
3346
  static reload() {
3338
3347
  this.getItem().reload();
3339
3348
  }
3340
- }, _t = 320, vt = "--LOAD--", yt = class {
3349
+ }, ht = 320, gt = "--LOAD--", _t = class {
3341
3350
  static is(e) {
3342
3351
  return e in this.icons || this.getName(e) in this.icons;
3343
3352
  }
3344
3353
  static async get(e, t = "", n = 1e3 * 60 * 3) {
3345
3354
  let r = this.getRaw(e, t);
3346
- return typeof r == "string" ? r === vt && n > 0 ? (await this.wait(), this.get(e, t, n - _t)) : r : p(r) ? await r() : await r;
3355
+ return typeof r == "string" ? r === gt && n > 0 ? (await this.wait(), this.get(e, t, n - ht)) : r : p(r) ? await r() : await r;
3347
3356
  }
3348
3357
  static getAsync(e, t = "") {
3349
3358
  let n = this.getRaw(e, t);
3350
- return typeof n == "string" && n !== vt ? n : "";
3359
+ return typeof n == "string" && n !== gt ? n : "";
3351
3360
  }
3352
3361
  static getNameList() {
3353
3362
  return r(this.icons, (e, t) => t.replace(/^@/, ""));
3354
3363
  }
3355
3364
  static getUrlGlobal() {
3356
- return `${F.isLocalhost(), ""}${this.url}`;
3365
+ return `${L.isLocalhost(), ""}${this.url}`;
3357
3366
  }
3358
3367
  static add(e, t) {
3359
3368
  this.icons[this.getName(e)] = t;
3360
3369
  }
3361
3370
  static addLoad(e) {
3362
- this.icons[this.getName(e)] = vt;
3371
+ this.icons[this.getName(e)] = gt;
3363
3372
  }
3364
3373
  static addGlobal(e, t) {
3365
3374
  this.icons[this.getName(e)] = `${this.getUrlGlobal()}${t}`;
@@ -3381,22 +3390,22 @@ var H = {}, dt = {
3381
3390
  return (n = (r = (i = this.icons) == null ? void 0 : i[this.getName(e)]) == null ? (a = this.icons) == null ? void 0 : a[e] : r) == null ? `${e.replace(/^@/, t || this.url)}.svg` : n;
3382
3391
  }
3383
3392
  static wait() {
3384
- return new Promise((e) => setTimeout(() => e(), _t));
3393
+ return new Promise((e) => setTimeout(() => e(), ht));
3385
3394
  }
3386
3395
  };
3387
- C(yt, "icons", {}), C(yt, "url", "/icons/");
3396
+ w(_t, "icons", {}), w(_t, "url", "/icons/");
3388
3397
  //#endregion
3389
3398
  //#region src/functions/getElementItem.ts
3390
- function bt(e, t, n) {
3399
+ function vt(e, t, n) {
3391
3400
  var r, i;
3392
- return (r = (i = A(e)) == null ? void 0 : i[t]) == null ? n : r;
3401
+ return (r = (i = j(e)) == null ? void 0 : i[t]) == null ? n : r;
3393
3402
  }
3394
3403
  //#endregion
3395
3404
  //#region src/functions/setElementItem.ts
3396
- function xt(e, n, i) {
3397
- let a = A(e);
3405
+ function yt(e, n, i) {
3406
+ let a = j(e);
3398
3407
  if (a) {
3399
- let e = bt(a, n);
3408
+ let e = vt(a, n);
3400
3409
  if (t(e) && t(i)) r(i, (t, n) => {
3401
3410
  e[n] = m(t);
3402
3411
  });
@@ -3409,33 +3418,33 @@ function xt(e, n, i) {
3409
3418
  }
3410
3419
  //#endregion
3411
3420
  //#region src/functions/createElement.ts
3412
- function U(e, t = "div", i, a) {
3421
+ function G(e, t = "div", i, a) {
3413
3422
  if (!s()) return;
3414
3423
  let o = document.createElement(t);
3415
3424
  return typeof i == "function" ? i(o) : n(i) && r(i, (e, t) => {
3416
- xt(o, t, e);
3425
+ yt(o, t, e);
3417
3426
  }), e == null || e.insertBefore(o, a == null ? null : a), o;
3418
3427
  }
3419
3428
  //#endregion
3420
3429
  //#region src/functions/encodeAttribute.ts
3421
- var St = {
3430
+ var bt = {
3422
3431
  "&": "&amp;",
3423
3432
  "<": "&lt;",
3424
3433
  ">": "&gt;",
3425
3434
  "\"": "&quot;",
3426
3435
  "'": "&#39;"
3427
3436
  };
3428
- function W(e) {
3437
+ function K(e) {
3429
3438
  return String(e).replace(/[&<>"']/g, (e) => {
3430
3439
  var t;
3431
- return (t = St == null ? void 0 : St[e]) == null ? e : t;
3440
+ return (t = bt == null ? void 0 : bt[e]) == null ? e : t;
3432
3441
  });
3433
3442
  }
3434
3443
  //#endregion
3435
3444
  //#region src/classes/MetaManager.ts
3436
- var G = class {
3445
+ var q = class {
3437
3446
  constructor(e, t = !1) {
3438
- C(this, "listMeta", void 0), C(this, "isProperty", void 0), C(this, "items", {}), this.listMeta = e, this.isProperty = t, this.update();
3447
+ w(this, "listMeta", void 0), w(this, "isProperty", void 0), w(this, "items", {}), this.listMeta = e, this.isProperty = t, this.update();
3439
3448
  }
3440
3449
  getListMeta() {
3441
3450
  return this.listMeta;
@@ -3475,17 +3484,17 @@ var G = class {
3475
3484
  let r = this.findMetaElement(e);
3476
3485
  if (r) return r.content = n, this;
3477
3486
  let i = { content: n };
3478
- return this.isProperty ? i.property = e : i.name = e, U(document.head, "meta", i), this;
3487
+ return this.isProperty ? i.property = e : i.name = e, G(document.head, "meta", i), this;
3479
3488
  }
3480
3489
  toHtmlString(e) {
3481
3490
  var t;
3482
3491
  let n = (t = this.items[e]) == null ? "" : t;
3483
3492
  if (e === "title") return "";
3484
- let r = W(n);
3493
+ let r = K(n);
3485
3494
  return r ? `<meta ${this.getAttributeName()}="${e}" content="${r}">` : "";
3486
3495
  }
3487
3496
  toHtmlTitle(e) {
3488
- return me(e);
3497
+ return pe(e);
3489
3498
  }
3490
3499
  update() {
3491
3500
  return this.listMeta.forEach((e) => {
@@ -3493,121 +3502,121 @@ var G = class {
3493
3502
  this.items[e] = (t = (n = this.findMetaElement(e)) == null ? void 0 : n.content) == null ? "" : t;
3494
3503
  }), this;
3495
3504
  }
3496
- }, K = /* @__PURE__ */ function(e) {
3505
+ }, J = /* @__PURE__ */ function(e) {
3497
3506
  return e.title = "title", e.description = "description", e.keywords = "keywords", e.canonical = "canonical", e.robots = "robots", e.author = "author", e;
3498
- }({}), Ct = /* @__PURE__ */ function(e) {
3507
+ }({}), xt = /* @__PURE__ */ function(e) {
3499
3508
  return e.indexFollow = "index, follow", e.noIndexFollow = "noindex, follow", e.indexNoFollow = "index, nofollow", e.noIndexNoFollow = "noindex, nofollow", e.noArchive = "noarchive", e.noSnippet = "nosnippet", e.noImageIndex = "noimageindex", e.images = "images", e.noTranslate = "notranslate", e.noPreview = "nopreview", e.textOnly = "textonly", e.noIndexSubpages = "noindex, noarchive", e.none = "none", e;
3500
- }({}), q = /* @__PURE__ */ function(e) {
3509
+ }({}), Y = /* @__PURE__ */ function(e) {
3501
3510
  return e.title = "og:title", e.type = "og:type", e.url = "og:url", e.image = "og:image", e.description = "og:description", e.locale = "og:locale", e.siteName = "og:site_name", e.localeAlternate = "og:locale:alternate", e.imageUrl = "og:image:url", e.imageSecureUrl = "og:image:secure_url", e.imageType = "og:image:type", e.imageWidth = "og:image:width", e.imageHeight = "og:image:height", e.imageAlt = "og:image:alt", e.video = "og:video", e.videoUrl = "og:video:url", e.videoSecureUrl = "og:video:secure_url", e.videoType = "og:video:type", e.videoWidth = "og:video:width", e.videoHeight = "og:video:height", e.audio = "og:audio", e.audioSecureUrl = "og:audio:secure_url", e.audioType = "og:audio:type", e.articlePublishedTime = "article:published_time", e.articleModifiedTime = "article:modified_time", e.articleExpirationTime = "article:expiration_time", e.articleAuthor = "article:author", e.articleSection = "article:section", e.articleTag = "article:tag", e.bookAuthor = "book:author", e.bookIsbn = "book:isbn", e.bookReleaseDate = "book:release_date", e.bookTag = "book:tag", e.musicDuration = "music:duration", e.musicAlbum = "music:album", e.musicAlbumDisc = "music:album:disc", e.musicAlbumTrack = "music:album:track", e.musicMusician = "music:musician", e.musicSong = "music:song", e.musicSongDisc = "music:song:disc", e.musicSongTrack = "music:song:track", e.musicReleaseDate = "music:release_date", e.musicCreator = "music:creator", e.videoActor = "video:actor", e.videoActorRole = "video:actor:role", e.videoDirector = "video:director", e.videoWriter = "video:writer", e.videoDuration = "video:duration", e.videoReleaseDate = "video:release_date", e.videoTag = "video:tag", e.videoSeries = "video:series", e.profileFirstName = "profile:first_name", e.profileLastName = "profile:last_name", e.profileUsername = "profile:username", e.profileGender = "profile:gender", e.productBrand = "product:brand", e.productAvailability = "product:availability", e.productCondition = "product:condition", e.productPriceAmount = "product:price:amount", e.productPriceCurrency = "product:price:currency", e.productRetailerItemId = "product:retailer_item_id", e.productCategory = "product:category", e.productEan = "product:ean", e.productIsbn = "product:isbn", e.productMfrPartNo = "product:mfr_part_no", e.productUpc = "product:upc", e.productWeightValue = "product:weight:value", e.productWeightUnits = "product:weight:units", e.productColor = "product:color", e.productMaterial = "product:material", e.productPattern = "product:pattern", e.productAgeGroup = "product:age_group", e.productGender = "product:gender", e;
3502
- }({}), wt = /* @__PURE__ */ function(e) {
3511
+ }({}), St = /* @__PURE__ */ function(e) {
3503
3512
  return e.website = "website", e.article = "article", e.video = "video.other", e.videoTvShow = "video.tv_show", e.videoEpisode = "video.episode", e.videoMovie = "video.movie", e.musicAlbum = "music.album", e.musicPlaylist = "music.playlist", e.musicSong = "music.song", e.musicRadioStation = "music.radio_station", e.app = "app", e.product = "product", e.business = "business.business", e.place = "place", e.event = "event", e.profile = "profile", e.book = "book", e;
3504
- }({}), Tt = /* @__PURE__ */ function(e) {
3513
+ }({}), Ct = /* @__PURE__ */ function(e) {
3505
3514
  return e.inStock = "in stock", e.outOfStock = "out of stock", e.preorder = "preorder", e.backorder = "backorder", e.discontinued = "discontinued", e.pending = "pending", e;
3506
- }({}), Et = /* @__PURE__ */ function(e) {
3515
+ }({}), wt = /* @__PURE__ */ function(e) {
3507
3516
  return e.new = "new", e.used = "used", e.refurbished = "refurbished", e;
3508
- }({}), Dt = /* @__PURE__ */ function(e) {
3517
+ }({}), Tt = /* @__PURE__ */ function(e) {
3509
3518
  return e.newborn = "newborn", e.infant = "infant", e.toddler = "toddler", e.kids = "kids", e.adult = "adult", e;
3510
- }({}), Ot = /* @__PURE__ */ function(e) {
3519
+ }({}), Et = /* @__PURE__ */ function(e) {
3511
3520
  return e.female = "female", e.male = "male", e.unisex = "unisex", e;
3512
- }({}), J = /* @__PURE__ */ function(e) {
3521
+ }({}), X = /* @__PURE__ */ function(e) {
3513
3522
  return e.card = "twitter:card", e.site = "twitter:site", e.creator = "twitter:creator", e.url = "twitter:url", e.title = "twitter:title", e.description = "twitter:description", e.image = "twitter:image", e.imageAlt = "twitter:image:alt", e.imageSrc = "twitter:image:src", e.imageWidth = "twitter:image:width", e.imageHeight = "twitter:image:height", e.label1 = "twitter:label1", e.data1 = "twitter:data1", e.label2 = "twitter:label2", e.data2 = "twitter:data2", e.appNameIphone = "twitter:app:name:iphone", e.appIdIphone = "twitter:app:id:iphone", e.appUrlIphone = "twitter:app:url:iphone", e.appNameIpad = "twitter:app:name:ipad", e.appIdIpad = "twitter:app:id:ipad", e.appUrlIpad = "twitter:app:url:ipad", e.appNameGooglePlay = "twitter:app:name:googleplay", e.appIdGooglePlay = "twitter:app:id:googleplay", e.appUrlGooglePlay = "twitter:app:url:googleplay", e.player = "twitter:player", e.playerWidth = "twitter:player:width", e.playerHeight = "twitter:player:height", e.playerStream = "twitter:player:stream", e.playerStreamContentType = "twitter:player:stream:content_type", e;
3514
- }({}), kt = /* @__PURE__ */ function(e) {
3523
+ }({}), Dt = /* @__PURE__ */ function(e) {
3515
3524
  return e.summary = "summary", e.summaryLargeImage = "summary_large_image", e.app = "app", e.player = "player", e.product = "product", e.gallery = "gallery", e.photo = "photo", e.leadGeneration = "lead_generation", e.audio = "audio", e.poll = "poll", e;
3516
- }({}), At = class extends G {
3525
+ }({}), Ot = class extends q {
3517
3526
  constructor() {
3518
- super(Object.values(q), !0);
3527
+ super(Object.values(Y), !0);
3519
3528
  }
3520
3529
  getTitle() {
3521
- return this.get(q.title);
3530
+ return this.get(Y.title);
3522
3531
  }
3523
3532
  getType() {
3524
- return this.get(q.type);
3533
+ return this.get(Y.type);
3525
3534
  }
3526
3535
  getUrl() {
3527
- return this.get(q.url);
3536
+ return this.get(Y.url);
3528
3537
  }
3529
3538
  getImage() {
3530
- return this.get(q.image);
3539
+ return this.get(Y.image);
3531
3540
  }
3532
3541
  getDescription() {
3533
- return this.get(q.description);
3542
+ return this.get(Y.description);
3534
3543
  }
3535
3544
  getLocale() {
3536
- return this.get(q.locale);
3545
+ return this.get(Y.locale);
3537
3546
  }
3538
3547
  getSiteName() {
3539
- return this.get(q.siteName);
3548
+ return this.get(Y.siteName);
3540
3549
  }
3541
3550
  setTitle(e) {
3542
- return this.set(q.title, e);
3551
+ return this.set(Y.title, e);
3543
3552
  }
3544
3553
  setType(e) {
3545
- return this.set(q.type, e);
3554
+ return this.set(Y.type, e);
3546
3555
  }
3547
3556
  setUrl(e) {
3548
- return this.set(q.url, e);
3557
+ return this.set(Y.url, e);
3549
3558
  }
3550
3559
  setImage(e) {
3551
- return this.set(q.image, e);
3560
+ return this.set(Y.image, e);
3552
3561
  }
3553
3562
  setDescription(e) {
3554
- return this.set(q.description, e);
3563
+ return this.set(Y.description, e);
3555
3564
  }
3556
3565
  setLocale(e) {
3557
- return this.set(q.locale, e);
3566
+ return this.set(Y.locale, e);
3558
3567
  }
3559
3568
  setSiteName(e) {
3560
- return this.set(q.siteName, e);
3569
+ return this.set(Y.siteName, e);
3561
3570
  }
3562
- }, jt = class extends G {
3571
+ }, kt = class extends q {
3563
3572
  constructor() {
3564
- super(Object.values(J));
3573
+ super(Object.values(X));
3565
3574
  }
3566
3575
  getCard() {
3567
- return this.get(J.card);
3576
+ return this.get(X.card);
3568
3577
  }
3569
3578
  getSite() {
3570
- return this.get(J.site);
3579
+ return this.get(X.site);
3571
3580
  }
3572
3581
  getCreator() {
3573
- return this.get(J.creator);
3582
+ return this.get(X.creator);
3574
3583
  }
3575
3584
  getUrl() {
3576
- return this.get(J.url);
3585
+ return this.get(X.url);
3577
3586
  }
3578
3587
  getTitle() {
3579
- return this.get(J.title);
3588
+ return this.get(X.title);
3580
3589
  }
3581
3590
  getDescription() {
3582
- return this.get(J.description);
3591
+ return this.get(X.description);
3583
3592
  }
3584
3593
  getImage() {
3585
- return this.get(J.image);
3594
+ return this.get(X.image);
3586
3595
  }
3587
3596
  setCard(e) {
3588
- return this.set(J.card, e), this;
3597
+ return this.set(X.card, e), this;
3589
3598
  }
3590
3599
  setSite(e) {
3591
- return this.set(J.site, e), this;
3600
+ return this.set(X.site, e), this;
3592
3601
  }
3593
3602
  setCreator(e) {
3594
- return this.set(J.creator, e), this;
3603
+ return this.set(X.creator, e), this;
3595
3604
  }
3596
3605
  setUrl(e) {
3597
- return this.set(J.url, e), this;
3606
+ return this.set(X.url, e), this;
3598
3607
  }
3599
3608
  setTitle(e) {
3600
- return this.set(J.title, e), this;
3609
+ return this.set(X.title, e), this;
3601
3610
  }
3602
3611
  setDescription(e) {
3603
- return this.set(J.description, e), this;
3612
+ return this.set(X.description, e), this;
3604
3613
  }
3605
3614
  setImage(e) {
3606
- return this.set(J.image, e), this;
3615
+ return this.set(X.image, e), this;
3607
3616
  }
3608
- }, Mt = class extends G {
3617
+ }, At = class extends q {
3609
3618
  constructor() {
3610
- super(Object.values(K)), C(this, "suffix", void 0), C(this, "og", void 0), C(this, "twitter", void 0), this.og = new At(), this.twitter = new jt();
3619
+ super(Object.values(J)), w(this, "suffix", void 0), w(this, "og", void 0), w(this, "twitter", void 0), this.og = new Ot(), this.twitter = new kt();
3611
3620
  }
3612
3621
  getOg() {
3613
3622
  return this.og;
@@ -3616,26 +3625,26 @@ var G = class {
3616
3625
  return this.twitter;
3617
3626
  }
3618
3627
  getTitle() {
3619
- let e = this.get(K.title);
3628
+ let e = this.get(J.title);
3620
3629
  return !l(e) && s() && (e = document.title), e.replace(this.getSuffix(), "").trim();
3621
3630
  }
3622
3631
  getKeywords() {
3623
- return this.get(K.keywords);
3632
+ return this.get(J.keywords);
3624
3633
  }
3625
3634
  getDescription() {
3626
- return this.get(K.description);
3635
+ return this.get(J.description);
3627
3636
  }
3628
3637
  getImage() {
3629
3638
  return this.og.getImage();
3630
3639
  }
3631
3640
  getCanonical() {
3632
- return this.get(K.canonical);
3641
+ return this.get(J.canonical);
3633
3642
  }
3634
3643
  getRobots() {
3635
- return this.get(K.robots);
3644
+ return this.get(J.robots);
3636
3645
  }
3637
3646
  getAuthor() {
3638
- return this.get(K.author);
3647
+ return this.get(J.author);
3639
3648
  }
3640
3649
  getSiteName() {
3641
3650
  return this.og.getSiteName();
@@ -3645,25 +3654,25 @@ var G = class {
3645
3654
  }
3646
3655
  setTitle(e) {
3647
3656
  let t = l(e) ? `${e}${this.getSuffix()}` : this.suffix ? this.suffix : "";
3648
- return s() && (document.title = t), this.set(K.title, t), this.og.setTitle(t), this.twitter.setTitle(t), this;
3657
+ return s() && (document.title = t), this.set(J.title, t), this.og.setTitle(t), this.twitter.setTitle(t), this;
3649
3658
  }
3650
3659
  setKeywords(e) {
3651
- return this.set(K.keywords, j(e).join(", ")), this;
3660
+ return this.set(J.keywords, M(e).join(", ")), this;
3652
3661
  }
3653
3662
  setDescription(e) {
3654
- return this.set(K.description, e), this;
3663
+ return this.set(J.description, e), this;
3655
3664
  }
3656
3665
  setImage(e) {
3657
3666
  return this.og.setImage(e), this.twitter.setImage(e), this;
3658
3667
  }
3659
3668
  setCanonical(e) {
3660
- return this.set(K.canonical, e), this.og.setUrl(e), this.twitter.setUrl(e), this;
3669
+ return this.set(J.canonical, e), this.og.setUrl(e), this.twitter.setUrl(e), this;
3661
3670
  }
3662
3671
  setRobots(e) {
3663
- return this.set(K.robots, e), this;
3672
+ return this.set(J.robots, e), this;
3664
3673
  }
3665
3674
  setAuthor(e) {
3666
- return this.set(K.author, e), this;
3675
+ return this.set(J.author, e), this;
3667
3676
  }
3668
3677
  setSiteName(e) {
3669
3678
  return this.og.setSiteName(e), this.twitter.setSite(e), this;
@@ -3678,14 +3687,14 @@ var G = class {
3678
3687
  return `${super.html()}${this.og.html()}${this.twitter.html()}`;
3679
3688
  }
3680
3689
  htmlTitle() {
3681
- return this.toHtmlTitle(this.get(K.title));
3690
+ return this.toHtmlTitle(this.get(J.title));
3682
3691
  }
3683
3692
  getSuffix() {
3684
3693
  return l(this.suffix) ? ` - ${this.suffix}` : "";
3685
3694
  }
3686
- }, Nt = class {
3695
+ }, jt = class {
3687
3696
  static getItem() {
3688
- return E.get("__ui:meta-instance__", () => new Mt());
3697
+ return D.get("__ui:meta-instance__", () => new At());
3689
3698
  }
3690
3699
  static getOg() {
3691
3700
  return this.getItem().getOg();
@@ -3756,12 +3765,12 @@ var G = class {
3756
3765
  static htmlTitle() {
3757
3766
  return this.getItem().htmlTitle();
3758
3767
  }
3759
- }, Y = class e {
3768
+ }, Z = class e {
3760
3769
  static getInstance() {
3761
- return E.get("__ui:url-item__", () => new e());
3770
+ return D.get("__ui:url-item__", () => new e());
3762
3771
  }
3763
3772
  constructor(e) {
3764
- C(this, "url", void 0), this.set(e);
3773
+ w(this, "url", void 0), this.set(e);
3765
3774
  }
3766
3775
  get href() {
3767
3776
  return this.url.href;
@@ -3809,7 +3818,7 @@ var G = class {
3809
3818
  getParams() {
3810
3819
  let e = {};
3811
3820
  return this.url.searchParams.forEach((t, n) => {
3812
- e[n] = T(t);
3821
+ e[n] = E(t);
3813
3822
  }), e;
3814
3823
  }
3815
3824
  set(e) {
@@ -3832,17 +3841,17 @@ var G = class {
3832
3841
  toJSON() {
3833
3842
  return this.url.toJSON();
3834
3843
  }
3835
- }, Pt = class extends mt {
3844
+ }, Mt = class extends ft {
3836
3845
  init() {
3837
3846
  return s() && addEventListener("popstate", () => {
3838
- Y.getInstance().set(), this.reload();
3847
+ Z.getInstance().set(), this.reload();
3839
3848
  }), this.initData(), this;
3840
3849
  }
3841
3850
  getLocation() {
3842
- return s() && Y.getInstance().set(), Y.getInstance().getParams();
3851
+ return s() && Z.getInstance().set(), Z.getInstance().getParams();
3843
3852
  }
3844
3853
  update() {
3845
- let e = this.getData(), t = Y.getInstance();
3854
+ let e = this.getData(), t = Z.getInstance();
3846
3855
  if (t.setParams(e), s()) {
3847
3856
  clearTimeout(this.time), this.block = !0;
3848
3857
  try {
@@ -3856,9 +3865,9 @@ var G = class {
3856
3865
  }
3857
3866
  return this;
3858
3867
  }
3859
- }, Ft = class {
3868
+ }, Nt = class {
3860
3869
  static getItem() {
3861
- return E.get("__ui:query-instance__", () => new Pt());
3870
+ return D.get("__ui:query-instance__", () => new Mt());
3862
3871
  }
3863
3872
  static get(e, t) {
3864
3873
  return this.getItem().get(e, t);
@@ -3875,9 +3884,9 @@ var G = class {
3875
3884
  static reload() {
3876
3885
  this.getItem().reload();
3877
3886
  }
3878
- }, It = class {
3887
+ }, Pt = class {
3879
3888
  constructor(e, t = 320, n = !1) {
3880
- C(this, "callback", void 0), C(this, "delay", void 0), C(this, "timerId", void 0), C(this, "startTime", void 0), C(this, "remaining", void 0), C(this, "completed", !1), this.callback = e, this.delay = t, n || this.resume();
3889
+ w(this, "callback", void 0), w(this, "delay", void 0), w(this, "timerId", void 0), w(this, "startTime", void 0), w(this, "remaining", void 0), w(this, "completed", !1), this.callback = e, this.delay = t, n || this.resume();
3881
3890
  }
3882
3891
  resume() {
3883
3892
  if (this.timerId || this.completed) return this;
@@ -3913,7 +3922,7 @@ var G = class {
3913
3922
  stop() {
3914
3923
  return this.timerId && (clearTimeout(this.timerId), this.timerId = void 0), this;
3915
3924
  }
3916
- }, Lt = class {
3925
+ }, Ft = class {
3917
3926
  static async is() {
3918
3927
  let e = await this.get();
3919
3928
  return e !== -1 && e <= 8;
@@ -3929,14 +3938,14 @@ var G = class {
3929
3938
  return t;
3930
3939
  }
3931
3940
  static getStorage() {
3932
- return new D("__ui:scrollbar__", !0);
3941
+ return new O("__ui:scrollbar__", !0);
3933
3942
  }
3934
3943
  static getCalculate() {
3935
3944
  return this.calculate;
3936
3945
  }
3937
3946
  static createElement() {
3938
- return U(document.body, "div", (e) => {
3939
- e.style.height = "24px", e.style.overflowY = "scroll", e.style.position = "fixed", e.style.width = "100%", U(e, "div", (e) => {
3947
+ return G(document.body, "div", (e) => {
3948
+ e.style.height = "24px", e.style.overflowY = "scroll", e.style.position = "fixed", e.style.width = "100%", G(e, "div", (e) => {
3940
3949
  e.style.height = "100px";
3941
3950
  });
3942
3951
  });
@@ -3951,36 +3960,36 @@ var G = class {
3951
3960
  });
3952
3961
  }
3953
3962
  };
3954
- C(Lt, "calculate", !1);
3963
+ w(Ft, "calculate", !1);
3955
3964
  //#endregion
3956
3965
  //#region src/functions/escapeExp.ts
3957
- function X(e) {
3966
+ function It(e) {
3958
3967
  return String(e).replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
3959
3968
  }
3960
3969
  //#endregion
3961
3970
  //#region src/functions/getSeparatingSearchExp.ts
3962
- function Rt(e, t = 128) {
3971
+ function Lt(e, t = 128) {
3963
3972
  if (e instanceof RegExp) return e;
3964
3973
  if (!e || e.trim().length === 0 || e.length > t) return /^/;
3965
- let n = String(e).replace(/\s+/g, " ").trim().split(" ").map(X).join("|");
3974
+ let n = String(e).replace(/\s+/g, " ").trim().split(" ").map(It).join("|");
3966
3975
  return RegExp(`(${n})`, "ig");
3967
3976
  }
3968
3977
  //#endregion
3969
3978
  //#region src/functions/addTagHighlightMatch.ts
3970
- var zt = `___HIGHLIGHT_START_${f(1e5, 999999)}___`, Bt = `___HIGHLIGHT_END_${f(1e5, 999999)}___`, Vt = RegExp(`${zt}|${Bt}`, "g");
3971
- function Ht(e, t, n = "sys-highlight-match", r = !1) {
3979
+ var Rt = `___HIGHLIGHT_START_${f(1e5, 999999)}___`, zt = `___HIGHLIGHT_END_${f(1e5, 999999)}___`, Bt = RegExp(`${Rt}|${zt}`, "g");
3980
+ function Vt(e, t, n = "sys-highlight-match", r = !1) {
3972
3981
  let i = a(e);
3973
3982
  if (l(i) && l(t)) {
3974
- let e = i.replace(Rt(t), `${zt}$1${Bt}`);
3975
- return r && (e = W(e)), e.replace(Vt, (e) => e === zt ? `<span class="${n}">` : "</span>");
3983
+ let e = i.replace(Lt(t), `${Rt}$1${zt}`);
3984
+ return r && (e = K(e)), e.replace(Bt, (e) => e === Rt ? `<span class="${n}">` : "</span>");
3976
3985
  }
3977
- return r ? W(i) : i;
3986
+ return r ? K(i) : i;
3978
3987
  }
3979
3988
  //#endregion
3980
3989
  //#region src/classes/SearchListData.ts
3981
- var Ut = class {
3990
+ var Ht = class {
3982
3991
  constructor(e, t, n, r) {
3983
- C(this, "list", void 0), C(this, "columns", void 0), C(this, "item", void 0), C(this, "options", void 0), C(this, "listCache", void 0), this.list = e, this.columns = t, this.item = n, this.options = r;
3992
+ w(this, "list", void 0), w(this, "columns", void 0), w(this, "item", void 0), w(this, "options", void 0), w(this, "listCache", void 0), this.list = e, this.columns = t, this.item = n, this.options = r;
3984
3993
  }
3985
3994
  is() {
3986
3995
  return !!(this.list && this.columns);
@@ -4017,8 +4026,8 @@ var Ut = class {
4017
4026
  toFormatItem(e, t) {
4018
4027
  let n = {};
4019
4028
  return this.columns && this.columns.forEach((r) => {
4020
- let i = this.getColumnName(r), a = B(e, r);
4021
- n[i] = l(a) && t ? this.addTag(a) : x(a);
4029
+ let i = this.getColumnName(r), a = H(e, r);
4030
+ n[i] = l(a) && t ? this.addTag(a) : S(a);
4022
4031
  }), {
4023
4032
  ...e,
4024
4033
  ...n,
@@ -4029,7 +4038,7 @@ var Ut = class {
4029
4038
  return e.replace(/\.([a-z0-9])/gi, (e, t) => t.toUpperCase()) + "Search";
4030
4039
  }
4031
4040
  addTag(e) {
4032
- return Ht(x(e), this.item.get(), this.options.getClassName());
4041
+ return Vt(S(e), this.item.get(), this.options.getClassName());
4033
4042
  }
4034
4043
  generateCache() {
4035
4044
  if (!this.isList()) return [];
@@ -4037,8 +4046,8 @@ var Ut = class {
4037
4046
  for (let t of this.list) {
4038
4047
  let n = "";
4039
4048
  if (this.columns) for (let e of this.columns) {
4040
- let r = B(t, e);
4041
- l(r) && (n += ` ${x(r)}`);
4049
+ let r = H(t, e);
4050
+ l(r) && (n += ` ${S(r)}`);
4042
4051
  }
4043
4052
  e.push({
4044
4053
  item: t,
@@ -4053,9 +4062,9 @@ var Ut = class {
4053
4062
  resetCache() {
4054
4063
  this.listCache = void 0;
4055
4064
  }
4056
- }, Wt = class {
4065
+ }, Ut = class {
4057
4066
  constructor(e, t) {
4058
- C(this, "value", void 0), C(this, "options", void 0), this.value = e, this.options = t;
4067
+ w(this, "value", void 0), w(this, "options", void 0), this.value = e, this.options = t;
4059
4068
  }
4060
4069
  is() {
4061
4070
  return !!this.value;
@@ -4073,30 +4082,30 @@ var Ut = class {
4073
4082
  };
4074
4083
  //#endregion
4075
4084
  //#region src/functions/getExp.ts
4076
- function Gt(e, t = "ig", n = ":value") {
4077
- let r = X(e);
4085
+ function Wt(e, t = "ig", n = ":value") {
4086
+ let r = It(e);
4078
4087
  return new RegExp(n.replace(/:value/g, r), t);
4079
4088
  }
4080
4089
  //#endregion
4081
4090
  //#region src/functions/getExactSearchExp.ts
4082
- function Kt(e) {
4083
- return Gt(e, "i", "(:value)");
4091
+ function Gt(e) {
4092
+ return Wt(e, "i", "(:value)");
4084
4093
  }
4085
4094
  //#endregion
4086
4095
  //#region src/functions/getSearchExp.ts
4087
- function qt(e, t = 128) {
4096
+ function Kt(e, t = 128) {
4088
4097
  if (!d(e) || e.trim().length === 0 || e.length > t) return /^/;
4089
4098
  let n = [];
4090
4099
  return a(e).split(" ").forEach((e) => {
4091
- let t = X(e).trim();
4100
+ let t = It(e).trim();
4092
4101
  l(t) && n.push(`(?=.*?${t})`);
4093
4102
  }), RegExp(`^${n.join("")}`, "i");
4094
4103
  }
4095
4104
  //#endregion
4096
4105
  //#region src/classes/SearchListMatcher.ts
4097
- var Jt = class {
4106
+ var qt = class {
4098
4107
  constructor(e, t) {
4099
- C(this, "item", void 0), C(this, "options", void 0), C(this, "matcher", void 0), this.item = e, this.options = t, this.initMatcher();
4108
+ w(this, "item", void 0), w(this, "options", void 0), w(this, "matcher", void 0), this.item = e, this.options = t, this.initMatcher();
4100
4109
  }
4101
4110
  is() {
4102
4111
  return !!this.matcher;
@@ -4111,11 +4120,11 @@ var Jt = class {
4111
4120
  this.initMatcher();
4112
4121
  }
4113
4122
  initMatcher() {
4114
- this.item.is() ? this.matcher = this.options.getFindExactMatch() ? Kt(this.item.get()) : qt(this.item.get()) : this.matcher = void 0;
4123
+ this.item.is() ? this.matcher = this.options.getFindExactMatch() ? Gt(this.item.get()) : Kt(this.item.get()) : this.matcher = void 0;
4115
4124
  }
4116
- }, Yt = class {
4125
+ }, Jt = class {
4117
4126
  constructor(e) {
4118
- C(this, "options", void 0), this.options = e;
4127
+ w(this, "options", void 0), this.options = e;
4119
4128
  }
4120
4129
  getOptions() {
4121
4130
  return this.options || {};
@@ -4143,12 +4152,12 @@ var Jt = class {
4143
4152
  setOptions(e) {
4144
4153
  return this.options = e, this;
4145
4154
  }
4146
- }, Xt = class {
4155
+ }, Yt = class {
4147
4156
  constructor(e, t, n, r) {
4148
- C(this, "options", void 0), C(this, "item", void 0), C(this, "matcher", void 0), C(this, "data", void 0), C(this, "callbackToSelection", (e, t) => {
4157
+ w(this, "options", void 0), w(this, "item", void 0), w(this, "matcher", void 0), w(this, "data", void 0), w(this, "callbackToSelection", (e, t) => {
4149
4158
  if (this.matcher.isSelection(t)) return this.data.toFormatItem(e, !0);
4150
4159
  if (this.options.getReturnEverything()) return this.data.toFormatItem(e, !1);
4151
- }), C(this, "callbackToNone", (e) => this.data.toFormatItem(e, !1)), this.options = new Yt(r), this.item = new Wt(n, this.options), this.matcher = new Jt(this.item, this.options), this.data = new Ut(e, t, this.item, this.options);
4160
+ }), w(this, "callbackToNone", (e) => this.data.toFormatItem(e, !1)), this.options = new Jt(r), this.item = new Ut(n, this.options), this.matcher = new qt(this.item, this.options), this.data = new Ht(e, t, this.item, this.options);
4152
4161
  }
4153
4162
  getData() {
4154
4163
  return this.data;
@@ -4185,13 +4194,13 @@ var Jt = class {
4185
4194
  let e = this.data.getList();
4186
4195
  return e ? r(e, this.callbackToNone) : [];
4187
4196
  }
4188
- }, Zt = () => E.get("__ui:storage-callback__", () => ({})), Qt = class e {
4197
+ }, Xt = () => D.get("__ui:storage-callback__", () => ({})), Zt = class e {
4189
4198
  static getInstance(t, n = "main") {
4190
4199
  return new e(t, n);
4191
4200
  }
4192
4201
  constructor(e, t = "main") {
4193
- C(this, "name", void 0), C(this, "group", void 0), C(this, "callbacks", []), C(this, "loading", !1), this.name = e, this.group = t;
4194
- let n = `${t}:${e}`, r = Zt();
4202
+ w(this, "name", void 0), w(this, "group", void 0), w(this, "callbacks", []), w(this, "loading", !1), this.name = e, this.group = t;
4203
+ let n = `${t}:${e}`, r = Xt();
4195
4204
  if (n in r) return r[n];
4196
4205
  r[n] = this;
4197
4206
  }
@@ -4218,10 +4227,10 @@ var Jt = class {
4218
4227
  }
4219
4228
  async run(e) {
4220
4229
  this.loading = !1;
4221
- for (let { callback: t, isOnce: n } of this.callbacks) await Ye(t, e), n && this.removeCallback(t);
4230
+ for (let { callback: t, isOnce: n } of this.callbacks) await I(t, e), n && this.removeCallback(t);
4222
4231
  return this;
4223
4232
  }
4224
- }, $t = [
4233
+ }, Qt = [
4225
4234
  "d",
4226
4235
  "e",
4227
4236
  "f",
@@ -4241,10 +4250,10 @@ var Jt = class {
4241
4250
  "t",
4242
4251
  "u",
4243
4252
  "v"
4244
- ], en = RegExp(`%(${$t.join("|")})`, "g"), tn = (e, t = {}) => {
4253
+ ], $t = RegExp(`%(${Qt.join("|")})`, "g"), en = (e, t = {}) => {
4245
4254
  let r = String(e);
4246
- return Array.isArray(t) && e.match(/%[a-z]/) && (r = r.replace(en, (e, n) => {
4247
- let r = $t.indexOf(n);
4255
+ return Array.isArray(t) && e.match(/%[a-z]/) && (r = r.replace($t, (e, n) => {
4256
+ let r = Qt.indexOf(n);
4248
4257
  if (r !== -1) {
4249
4258
  var i;
4250
4259
  return String((i = t == null ? void 0 : t[r]) == null ? "" : i);
@@ -4263,12 +4272,12 @@ var Jt = class {
4263
4272
  }
4264
4273
  return e;
4265
4274
  })), r;
4266
- }, nn = (e) => {
4275
+ }, tn = (e) => {
4267
4276
  var t;
4268
- return i(e) ? !0 : !!(e && n(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || !(e == null || (t = e.statusObject) == null) && t.status && /^2/.test(String(e.statusObject.status)) || !("status" in e) && !("success" in e) && !("statusObject" in e) && /^2/.test(String(F.getStatus().getStatus()))));
4269
- }, rn = "global", an = 160, on = class {
4270
- constructor(e, t = () => k.getLanguage(), n = () => k.getLocation()) {
4271
- C(this, "language", void 0), C(this, "location", void 0), C(this, "files", {}), C(this, "data", {}), this.language = t, this.location = n, e && this.add(e);
4277
+ return i(e) ? !0 : !!(e && n(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || !(e == null || (t = e.statusObject) == null) && t.status && /^2/.test(String(e.statusObject.status)) || !("status" in e) && !("success" in e) && !("statusObject" in e) && /^2/.test(String(L.getStatus().getStatus()))));
4278
+ }, nn = "global", rn = 160, an = class {
4279
+ constructor(e, t = () => A.getLanguage(), n = () => A.getLocation()) {
4280
+ w(this, "language", void 0), w(this, "location", void 0), w(this, "files", {}), w(this, "data", {}), this.language = t, this.location = n, e && this.add(e);
4272
4281
  }
4273
4282
  isFile() {
4274
4283
  return Object.keys(this.files).length > 0 && this.getIndex() !== void 0;
@@ -4296,7 +4305,7 @@ var Jt = class {
4296
4305
  if (e in this.files) return e;
4297
4306
  let t = this.getLanguage();
4298
4307
  if (t in this.files) return t;
4299
- if ("global" in this.files) return rn;
4308
+ if ("global" in this.files) return nn;
4300
4309
  }
4301
4310
  getByData(e) {
4302
4311
  if (e in this.data) return this.data[e];
@@ -4307,14 +4316,14 @@ var Jt = class {
4307
4316
  return t && (this.data[e] = t), t;
4308
4317
  }
4309
4318
  }
4310
- }, sn = class {
4311
- constructor(e = "/api/translate", t = "list", n = new on()) {
4312
- C(this, "url", void 0), C(this, "propsName", void 0), C(this, "files", void 0), C(this, "data", {}), C(this, "cache", []), C(this, "resolveList", []), C(this, "timeout", void 0), C(this, "isReadApi", !0), this.url = e, this.propsName = t, this.files = n;
4319
+ }, on = class {
4320
+ constructor(e = "/api/translate", t = "list", n = new an()) {
4321
+ w(this, "url", void 0), w(this, "propsName", void 0), w(this, "files", void 0), w(this, "data", {}), w(this, "cache", []), w(this, "resolveList", []), w(this, "timeout", void 0), w(this, "isReadApi", !0), this.url = e, this.propsName = t, this.files = n;
4313
4322
  }
4314
4323
  async get(e, t) {
4315
4324
  var n;
4316
4325
  let r = this.getText(e);
4317
- return r ? this.replacement(r, t) : (F.isLocalhost() || await this.add(e), this.replacement((n = this.getText(e)) == null ? e : n));
4326
+ return r ? this.replacement(r, t) : (L.isLocalhost() || await this.add(e), this.replacement((n = this.getText(e)) == null ? e : n));
4318
4327
  }
4319
4328
  getSync(e, t = !1, n) {
4320
4329
  let r = this.getText(e);
@@ -4355,7 +4364,7 @@ var Jt = class {
4355
4364
  });
4356
4365
  }
4357
4366
  async addNormalOrSync(e) {
4358
- if (l(e)) if (F.isLocalhost()) this.addSync(e);
4367
+ if (l(e)) if (L.isLocalhost()) this.addSync(e);
4359
4368
  else {
4360
4369
  let t = Object.keys(e);
4361
4370
  t.length > 0 && await this.add(t);
@@ -4397,16 +4406,16 @@ var Jt = class {
4397
4406
  return `${this.files.getLanguage()}-${e}`;
4398
4407
  }
4399
4408
  getNameByGlobal(e) {
4400
- return `${rn}-${e}`;
4409
+ return `${nn}-${e}`;
4401
4410
  }
4402
4411
  getNamesNone(e) {
4403
4412
  let t = [];
4404
- return j(e).forEach((e) => {
4413
+ return M(e).forEach((e) => {
4405
4414
  e !== "__TRANSLATE_START__" && e !== "__TRANSLATE_END__" && !this.hasName(e) && t.push(e);
4406
4415
  }), t;
4407
4416
  }
4408
4417
  async getResponse() {
4409
- let e = await F.get({
4418
+ let e = await L.get({
4410
4419
  api: !1,
4411
4420
  path: this.url,
4412
4421
  request: { [this.propsName]: this.cache },
@@ -4414,14 +4423,14 @@ var Jt = class {
4414
4423
  timeout: 12e3,
4415
4424
  global: !0
4416
4425
  });
4417
- return nn(e) || w.on({
4426
+ return tn(e) || T.on({
4418
4427
  group: "translate",
4419
4428
  code: "error",
4420
4429
  details: e
4421
4430
  }), e == null ? {} : e;
4422
4431
  }
4423
4432
  replacement(e, t) {
4424
- return t ? tn(e, t) : e;
4433
+ return t ? en(e, t) : e;
4425
4434
  }
4426
4435
  async make() {
4427
4436
  let e;
@@ -4433,12 +4442,12 @@ var Jt = class {
4433
4442
  this.data[this.getName(t)] = (n = e == null ? void 0 : e[t]) == null ? "" : n;
4434
4443
  }), this.cache = [];
4435
4444
  }
4436
- }, cn = class {
4445
+ }, sn = class {
4437
4446
  static async get(e, t) {
4438
4447
  return this.getItem().get(e, t);
4439
4448
  }
4440
4449
  static getItem() {
4441
- return this.item || (this.item = new sn()), this.item;
4450
+ return this.item || (this.item = new on()), this.item;
4442
4451
  }
4443
4452
  static getSync(e, t = !1, n) {
4444
4453
  return this.getItem().getSync(e, t, n);
@@ -4477,18 +4486,18 @@ var Jt = class {
4477
4486
  e.url && this.getItem().setUrl(e.url), e.propsName && this.getItem().setPropsName(e.propsName), typeof e.readApi == "boolean" && this.getItem().setReadApi(e.readApi);
4478
4487
  }
4479
4488
  };
4480
- C(cn, "item", void 0);
4489
+ w(sn, "item", void 0);
4481
4490
  //#endregion
4482
4491
  //#region src/functions/arrFill.ts
4483
- function ln(e, t) {
4492
+ function cn(e, t) {
4484
4493
  return Array(t).fill(e);
4485
4494
  }
4486
4495
  //#endregion
4487
4496
  //#region src/functions/blobToBase64.ts
4488
- var un = () => dn() !== void 0, dn = () => {
4497
+ var ln = () => un() !== void 0, un = () => {
4489
4498
  var e;
4490
4499
  return (e = globalThis) == null ? void 0 : e.Buffer;
4491
- }, fn = async (e) => new Promise((t, n) => {
4500
+ }, dn = async (e) => new Promise((t, n) => {
4492
4501
  if (typeof FileReader < "u") {
4493
4502
  let r = new FileReader();
4494
4503
  r.onloadend = () => {
@@ -4499,31 +4508,40 @@ var un = () => dn() !== void 0, dn = () => {
4499
4508
  t(r.result.replace(/^data:.*?,/, ""));
4500
4509
  }, r.onerror = n, r.readAsDataURL(e);
4501
4510
  } else n();
4502
- }), pn = (e) => {
4511
+ }), fn = (e) => {
4503
4512
  var t;
4504
4513
  return ((t = globalThis) == null ? void 0 : t.Buffer).from(e).toString("base64");
4505
4514
  };
4506
- async function mn(e, t = !1) {
4507
- let n = s() ? await fn(e) : un() ? pn(await e.arrayBuffer()) : void 0;
4515
+ async function pn(e, t = !1) {
4516
+ let n = s() ? await dn(e) : ln() ? fn(await e.arrayBuffer()) : void 0;
4508
4517
  if (n) return t ? n : `data:${e.type};base64,${n}`;
4509
4518
  }
4510
4519
  //#endregion
4511
4520
  //#region src/functions/capitalize.ts
4512
- function hn(e, t = !1) {
4521
+ function mn(e, t = !1) {
4513
4522
  let n = String(e);
4514
- return n.length > 0 ? t ? n.charAt(0).toLocaleUpperCase(k.getLocation()) + n.slice(1) : n.charAt(0).toUpperCase() + n.slice(1) : n;
4523
+ return n.length > 0 ? t ? n.charAt(0).toLocaleUpperCase(A.getLocation()) + n.slice(1) : n.charAt(0).toUpperCase() + n.slice(1) : n;
4515
4524
  }
4516
4525
  //#endregion
4517
4526
  //#region src/functions/copyObject.ts
4518
- function Z(e) {
4527
+ function Q(e) {
4519
4528
  return JSON.parse(JSON.stringify(e));
4520
4529
  }
4521
4530
  //#endregion
4522
4531
  //#region src/functions/copyObjectLite.ts
4523
- function gn(e, t) {
4532
+ function hn(e, t) {
4524
4533
  return Object.assign({}, e, t);
4525
4534
  }
4526
4535
  //#endregion
4536
+ //#region src/functions/domContentLoaded.ts
4537
+ async function gn(e) {
4538
+ return !s() || document.readyState !== "loading" ? I(e) : new Promise((t, n) => {
4539
+ document.addEventListener("DOMContentLoaded", () => {
4540
+ I(e).then(t, n);
4541
+ }, { once: !0 });
4542
+ });
4543
+ }
4544
+ //#endregion
4527
4545
  //#region src/functions/domQuerySelector.ts
4528
4546
  function _n(e) {
4529
4547
  if (s()) {
@@ -4539,7 +4557,7 @@ function vn(e) {
4539
4557
  //#endregion
4540
4558
  //#region src/functions/getElementImage.ts
4541
4559
  function yn(e) {
4542
- return d(e) ? U(void 0, "img", { src: e }) : e;
4560
+ return d(e) ? G(void 0, "img", { src: e }) : e;
4543
4561
  }
4544
4562
  //#endregion
4545
4563
  //#region src/functions/resizeImageByMax.ts
@@ -4572,7 +4590,7 @@ async function Sn(e, t = .56, n = "image/jpeg") {
4572
4590
  r(e == null ? "" : e), URL.revokeObjectURL(a);
4573
4591
  }, o.onerror = () => {
4574
4592
  URL.revokeObjectURL(a), r("");
4575
- }) : mn(i).then((e) => r(String(e == null ? "" : e)));
4593
+ }) : pn(i).then((e) => r(String(e == null ? "" : e)));
4576
4594
  });
4577
4595
  }
4578
4596
  //#endregion
@@ -4593,7 +4611,7 @@ function wn(e, t, n) {
4593
4611
  function Tn(e, t) {
4594
4612
  let n = a(e);
4595
4613
  if (l(n) && l(t)) {
4596
- let e = [], r = Rt(t), i = 0, a;
4614
+ let e = [], r = Lt(t), i = 0, a;
4597
4615
  for (; (a = r.exec(n)) !== null && a.index !== r.lastIndex;) a.index > i && e.push({
4598
4616
  text: n.substring(i, a.index),
4599
4617
  isMatch: !1
@@ -4614,7 +4632,7 @@ function Tn(e, t) {
4614
4632
  //#endregion
4615
4633
  //#region src/functions/getAttributes.ts
4616
4634
  function En(e) {
4617
- let t = {}, n = A(e);
4635
+ let t = {}, n = j(e);
4618
4636
  if (n) for (let e of n.attributes) {
4619
4637
  var r;
4620
4638
  t[e.name] = (r = (e == null ? void 0 : e.value) || (e == null ? void 0 : e.textContent)) == null ? void 0 : r;
@@ -4628,7 +4646,7 @@ async function Dn(e) {
4628
4646
  var t, n;
4629
4647
  return (t = e == null || (n = e.clipboardData) == null ? void 0 : n.getData("text")) == null ? await navigator.clipboard.readText() || "" : t;
4630
4648
  } catch (e) {
4631
- w.on({
4649
+ T.on({
4632
4650
  group: "clipboard",
4633
4651
  code: "error",
4634
4652
  details: e
@@ -4639,7 +4657,7 @@ async function Dn(e) {
4639
4657
  //#endregion
4640
4658
  //#region src/functions/getCurrentDate.ts
4641
4659
  function On(e = "datetime") {
4642
- return new at(void 0, e).standard();
4660
+ return new rt(void 0, e).standard();
4643
4661
  }
4644
4662
  //#endregion
4645
4663
  //#region src/functions/getCurrentTime.ts
@@ -4648,25 +4666,25 @@ function kn() {
4648
4666
  }
4649
4667
  //#endregion
4650
4668
  //#region src/functions/getElementId.ts
4651
- var Q, An = () => {
4652
- let e = Q == null ? void 0 : Q();
4669
+ var An, jn = () => {
4670
+ let e = An == null ? void 0 : An();
4653
4671
  if (e) return String(e);
4654
- let t = E.get("__ui:getElementId__", () => ({ id: 1e5 }));
4672
+ let t = D.get("__ui:getElementId__", () => ({ id: 1e5 }));
4655
4673
  return `id-${t.id++}`;
4656
4674
  };
4657
- function jn(e, t) {
4675
+ function Mn(e, t) {
4658
4676
  if (e) {
4659
- let n = A(e);
4660
- if (n) return l(n.id) || n.setAttribute("id", An()), t ? `#${n.id}${t}`.trim() : n.id;
4677
+ let n = j(e);
4678
+ if (n) return l(n.id) || n.setAttribute("id", jn()), t ? `#${n.id}${t}`.trim() : n.id;
4661
4679
  }
4662
- return An();
4680
+ return jn();
4663
4681
  }
4664
- function Mn(e) {
4665
- Q || (Q = e);
4682
+ function Nn(e) {
4683
+ An || (An = e);
4666
4684
  }
4667
4685
  //#endregion
4668
4686
  //#region src/functions/getFirst.ts
4669
- function Nn(e) {
4687
+ function Pn(e) {
4670
4688
  if (i(e)) return e == null ? void 0 : e[0];
4671
4689
  if (t(e)) {
4672
4690
  var n;
@@ -4676,13 +4694,13 @@ function Nn(e) {
4676
4694
  }
4677
4695
  //#endregion
4678
4696
  //#region src/functions/getKey.ts
4679
- function Pn(e) {
4697
+ function Fn(e) {
4680
4698
  var t, n, r;
4681
4699
  return (t = (n = e == null ? void 0 : e.key) == null ? e == null ? void 0 : e.code : n) == null ? e == null || (r = e.keyCode) == null ? void 0 : r.toString() : t;
4682
4700
  }
4683
4701
  //#endregion
4684
4702
  //#region src/functions/getLast.ts
4685
- function Fn(e) {
4703
+ function In(e) {
4686
4704
  if (i(e)) return e == null ? void 0 : e[e.length - 1];
4687
4705
  if (t(e)) {
4688
4706
  let t = Object.values(e);
@@ -4692,12 +4710,12 @@ function Fn(e) {
4692
4710
  }
4693
4711
  //#endregion
4694
4712
  //#region src/functions/getLength.ts
4695
- function In(e) {
4713
+ function Ln(e) {
4696
4714
  return e == null ? 0 : typeof e == "string" || Array.isArray(e) ? e.length : e instanceof Map || e instanceof Set ? e.size : t(e) ? Object.keys(e).length : 0;
4697
4715
  }
4698
4716
  //#endregion
4699
4717
  //#region src/functions/getLengthOfAllArray.ts
4700
- function Ln(e) {
4718
+ function Rn(e) {
4701
4719
  return r(e, (e) => {
4702
4720
  var t;
4703
4721
  return (t = e == null ? void 0 : e.length) == null ? 0 : t;
@@ -4705,41 +4723,41 @@ function Ln(e) {
4705
4723
  }
4706
4724
  //#endregion
4707
4725
  //#region src/functions/getMaxLengthAllArray.ts
4708
- function Rn(e) {
4726
+ function zn(e) {
4709
4727
  if (!l(e)) return 0;
4710
- let t = Ln(e);
4728
+ let t = Rn(e);
4711
4729
  return t.length > 1e4 ? t.reduce((e, t) => Math.max(e, t)) : Math.max(...t);
4712
4730
  }
4713
4731
  //#endregion
4714
4732
  //#region src/functions/getMinLengthAllArray.ts
4715
- function zn(e) {
4733
+ function Bn(e) {
4716
4734
  if (!l(e)) return 0;
4717
- let t = Ln(e);
4735
+ let t = Rn(e);
4718
4736
  return t.length > 1e4 ? t.reduce((e, t) => Math.min(e, t)) : Math.min(...t);
4719
4737
  }
4720
4738
  //#endregion
4721
4739
  //#region src/functions/getMouseClientX.ts
4722
- function Bn(e) {
4740
+ function Vn(e) {
4723
4741
  var t, n;
4724
4742
  return (e == null ? void 0 : e.clientX) || (e == null || (t = e.targetTouches) == null || (t = t[0]) == null ? void 0 : t.clientX) || (e == null || (n = e.touches) == null || (n = n[0]) == null ? void 0 : n.clientX) || 0;
4725
4743
  }
4726
4744
  //#endregion
4727
4745
  //#region src/functions/getMouseClientY.ts
4728
- function Vn(e) {
4746
+ function Hn(e) {
4729
4747
  var t, n;
4730
4748
  return (e == null ? void 0 : e.clientY) || (e == null || (t = e.targetTouches) == null || (t = t[0]) == null ? void 0 : t.clientY) || (e == null || (n = e.touches) == null || (n = n[0]) == null ? void 0 : n.clientY) || 0;
4731
4749
  }
4732
4750
  //#endregion
4733
4751
  //#region src/functions/getMouseClient.ts
4734
- function Hn(e) {
4752
+ function Un(e) {
4735
4753
  return {
4736
- x: Bn(e),
4737
- y: Vn(e)
4754
+ x: Vn(e),
4755
+ y: Hn(e)
4738
4756
  };
4739
4757
  }
4740
4758
  //#endregion
4741
4759
  //#region src/functions/getObjectByKeys.ts
4742
- function Un(e, t) {
4760
+ function Wn(e, t) {
4743
4761
  let r = {};
4744
4762
  return n(e) && t.forEach((t) => {
4745
4763
  t in e && e[t] !== void 0 && (r[t] = e[t]);
@@ -4747,7 +4765,7 @@ function Un(e, t) {
4747
4765
  }
4748
4766
  //#endregion
4749
4767
  //#region src/functions/getObjectNoUndefined.ts
4750
- function Wn(e, t = void 0) {
4768
+ function Gn(e, t = void 0) {
4751
4769
  let n = {};
4752
4770
  return r(e, (e, r) => {
4753
4771
  e !== t && (n[r] = e);
@@ -4755,42 +4773,52 @@ function Wn(e, t = void 0) {
4755
4773
  }
4756
4774
  //#endregion
4757
4775
  //#region src/functions/getObjectOrNone.ts
4758
- function Gn(e) {
4776
+ function Kn(e) {
4759
4777
  return n(e) ? e : {};
4760
4778
  }
4761
4779
  //#endregion
4762
4780
  //#region src/functions/getOnlyText.ts
4763
- function Kn(e) {
4764
- return x(e).replace(/[^\p{L}\p{N}\s]+/gu, "").trim();
4781
+ function qn(e) {
4782
+ return S(e).replace(/[^\p{L}\p{N}\s]+/gu, "").trim();
4783
+ }
4784
+ //#endregion
4785
+ //#region src/functions/getRandomItem.ts
4786
+ function Jn(e) {
4787
+ if (i(e)) return e.length === 0 ? void 0 : e[f(0, e.length - 1)];
4788
+ if (t(e)) {
4789
+ let t = Object.values(e);
4790
+ return t.length === 0 ? void 0 : t[f(0, t.length - 1)];
4791
+ }
4792
+ return e == null ? void 0 : e;
4765
4793
  }
4766
4794
  //#endregion
4767
4795
  //#region src/functions/strFill.ts
4768
- function qn(e, t) {
4796
+ function Yn(e, t) {
4769
4797
  return String(e).repeat(t);
4770
4798
  }
4771
4799
  //#endregion
4772
4800
  //#region src/functions/getRandomText.ts
4773
- function Jn(e, t, n = "#", r = 2, i = 12) {
4801
+ function Xn(e, t, n = "#", r = 2, i = 12) {
4774
4802
  let a = f(e, t), o = [];
4775
- for (let e = 0; e < a; e++) o.push(qn(n, f(r, i)));
4803
+ for (let e = 0; e < a; e++) o.push(Yn(n, f(r, i)));
4776
4804
  return o.join(" ");
4777
4805
  }
4778
4806
  //#endregion
4779
4807
  //#region src/functions/getStepPercent.ts
4780
- function Yn(e, t) {
4808
+ function Zn(e, t) {
4781
4809
  let n = e == null ? 0 : e;
4782
4810
  return t > n ? 100 / (t - n) : 0;
4783
4811
  }
4784
4812
  //#endregion
4785
4813
  //#region src/functions/getStepValue.ts
4786
- function Xn(e, t) {
4814
+ function Qn(e, t) {
4787
4815
  let n = e == null ? 0 : e;
4788
4816
  return t > n ? (t - n) / 100 : 0;
4789
4817
  }
4790
4818
  //#endregion
4791
4819
  //#region src/functions/goScroll.ts
4792
- var Zn = 0;
4793
- function Qn(e, t, n) {
4820
+ var $n = 0;
4821
+ function er(e, t, n) {
4794
4822
  if (!s()) return;
4795
4823
  let r = t == null ? void 0 : t.closest(e);
4796
4824
  if (t && r && r.scrollHeight !== r.offsetHeight) {
@@ -4798,12 +4826,12 @@ function Qn(e, t, n) {
4798
4826
  if (n) {
4799
4827
  let a = n.getBoundingClientRect();
4800
4828
  r.scrollTop = t.offsetTop - (a.top - e.top) - (a.height / 2 - i.height / 2), r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = t.offsetTop + t.offsetHeight - r.offsetHeight);
4801
- } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - Zn : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + Zn);
4829
+ } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - $n : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + $n);
4802
4830
  }
4803
4831
  }
4804
4832
  //#endregion
4805
4833
  //#region src/functions/goScrollSmooth.ts
4806
- function $n(e, t, n = 0) {
4834
+ function tr(e, t, n = 0) {
4807
4835
  if (!s()) return;
4808
4836
  let r = (t == null ? void 0 : t.behavior) || "smooth";
4809
4837
  if ("scrollIntoView" in e && !n) {
@@ -4825,7 +4853,7 @@ function $n(e, t, n = 0) {
4825
4853
  }
4826
4854
  //#endregion
4827
4855
  //#region src/functions/goScrollTo.ts
4828
- function er(e, t, n = "smooth") {
4856
+ function nr(e, t, n = "smooth") {
4829
4857
  if (!s() || !e || !t) return;
4830
4858
  let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
4831
4859
  e.scrollBy({
@@ -4836,16 +4864,16 @@ function er(e, t, n = "smooth") {
4836
4864
  }
4837
4865
  //#endregion
4838
4866
  //#region src/functions/isShare.ts
4839
- function tr() {
4867
+ function rr() {
4840
4868
  return s() && typeof navigator < "u" && !!navigator.share;
4841
4869
  }
4842
4870
  //#endregion
4843
4871
  //#region src/functions/handleShare.ts
4844
- async function nr(e) {
4845
- if (tr() && navigator.canShare && navigator.canShare(e)) try {
4872
+ async function ir(e) {
4873
+ if (rr() && navigator.canShare && navigator.canShare(e)) try {
4846
4874
  return await navigator.share(e), !0;
4847
4875
  } catch (e) {
4848
- w.on({
4876
+ T.on({
4849
4877
  group: "share",
4850
4878
  code: "error",
4851
4879
  details: e
@@ -4855,20 +4883,20 @@ async function nr(e) {
4855
4883
  }
4856
4884
  //#endregion
4857
4885
  //#region src/functions/inArray.ts
4858
- function rr(e, t) {
4886
+ function ar(e, t) {
4859
4887
  return e.includes(t);
4860
4888
  }
4861
4889
  //#endregion
4862
4890
  //#region src/functions/initScrollbarOffset.ts
4863
- async function ir() {
4891
+ async function or() {
4864
4892
  if (s()) {
4865
- let e = await Lt.get();
4893
+ let e = await Ft.get();
4866
4894
  document.body.style.setProperty("--sys-scrollbar-offset", `${e}px`);
4867
4895
  }
4868
4896
  }
4869
4897
  //#endregion
4870
4898
  //#region src/functions/intersectKey.ts
4871
- function ar(e, n) {
4899
+ function sr(e, n) {
4872
4900
  let i = {};
4873
4901
  return t(e) && t(n) && r(e, (e, t) => {
4874
4902
  t in n && (i[t] = e);
@@ -4876,7 +4904,7 @@ function ar(e, n) {
4876
4904
  }
4877
4905
  //#endregion
4878
4906
  //#region src/functions/isDifferent.ts
4879
- function or(e, t) {
4907
+ function cr(e, t) {
4880
4908
  let n = Object.keys(e).length !== Object.keys(t).length;
4881
4909
  return n || r(e, (e, r) => {
4882
4910
  e !== (t == null ? void 0 : t[r]) && (n = !0);
@@ -4884,25 +4912,25 @@ function or(e, t) {
4884
4912
  }
4885
4913
  //#endregion
4886
4914
  //#region src/functions/isElementVisible.ts
4887
- function sr(e) {
4915
+ function lr(e) {
4888
4916
  if (!s()) return !1;
4889
- let t = A(e);
4917
+ let t = j(e);
4890
4918
  if (!t || "isConnected" in t && t.isConnected === !1) return !1;
4891
4919
  let n = window.getComputedStyle(t);
4892
4920
  return n.display !== "none" && n.visibility !== "hidden" && n.opacity !== "0" && t.offsetWidth !== 0 && t.offsetHeight !== 0;
4893
4921
  }
4894
4922
  //#endregion
4895
4923
  //#region src/functions/isInput.ts
4896
- var cr = (e) => {
4924
+ var ur = (e) => {
4897
4925
  if (e instanceof HTMLElement) {
4898
4926
  let t = e.tagName.toLowerCase();
4899
4927
  return !!(t === "input" || t === "textarea" || t === "select" || e.isContentEditable || e.getAttribute("contenteditable") === "true") && !(e != null && e.readOnly) && !(e != null && e.disabled);
4900
4928
  }
4901
4929
  return !1;
4902
- }, lr = (e, t) => e.code === "Space" || e.code === "Enter" || e.key === " " || e.key === "Spacebar" || e.key === "Enter" || e.keyCode === 13 || e.keyCode === 32 ? t === void 0 ? !cr(e.target) : !t : !1;
4930
+ }, dr = (e, t) => e.code === "Space" || e.code === "Enter" || e.key === " " || e.key === "Spacebar" || e.key === "Enter" || e.keyCode === 13 || e.keyCode === 32 ? t === void 0 ? !ur(e.target) : !t : !1;
4903
4931
  //#endregion
4904
4932
  //#region src/functions/isFloat.ts
4905
- function ur(e) {
4933
+ function fr(e) {
4906
4934
  switch (typeof e) {
4907
4935
  case "number": return !0;
4908
4936
  case "string": return /^-?\d+(\.\d+)?$/.test(e);
@@ -4911,24 +4939,24 @@ function ur(e) {
4911
4939
  }
4912
4940
  //#endregion
4913
4941
  //#region src/functions/isIntegerBetween.ts
4914
- function dr(e, t) {
4942
+ function pr(e, t) {
4915
4943
  let n = Math.floor(t);
4916
4944
  return e >= n && e < n + 1;
4917
4945
  }
4918
4946
  //#endregion
4919
4947
  //#region src/functions/isMetaKey.ts
4920
- var fr = (e) => !!(e.metaKey || e.altKey || e.ctrlKey);
4948
+ var mr = (e) => !!(e.metaKey || e.altKey || e.ctrlKey);
4921
4949
  //#endregion
4922
4950
  //#region src/functions/isSelectedByList.ts
4923
- function pr(e, t) {
4924
- return Array.isArray(e) ? e.every((e) => b(e, t)) : b(e, t);
4951
+ function hr(e, t) {
4952
+ return Array.isArray(e) ? e.every((e) => x(e, t)) : x(e, t);
4925
4953
  }
4926
4954
  //#endregion
4927
4955
  //#region src/functions/isTab.ts
4928
- var mr = (e) => e.key === "Tab" || e.code === "Tab" || e.keyCode === 9;
4956
+ var gr = (e) => e.key === "Tab" || e.code === "Tab" || e.keyCode === 9;
4929
4957
  //#endregion
4930
4958
  //#region src/functions/removeCommonPrefix.ts
4931
- function hr(e, t) {
4959
+ function _r(e, t) {
4932
4960
  if (e.startsWith(t)) return e.slice(t.length).trim();
4933
4961
  let n = 0;
4934
4962
  for (; e[n] === t[n] && n < e.length && n < t.length;) n++;
@@ -4936,36 +4964,36 @@ function hr(e, t) {
4936
4964
  }
4937
4965
  //#endregion
4938
4966
  //#region src/functions/replaceComponentName.ts
4939
- var gr = (e, t, n) => {
4967
+ var vr = (e, t, n) => {
4940
4968
  var r;
4941
4969
  return e == null || (r = e.replace(RegExp(`<${t}`, "ig"), `<${n}`)) == null || (r = r.replace(RegExp(`</${t}`, "ig"), `</${n}`)) == null ? void 0 : r.trim();
4942
4970
  };
4943
4971
  //#endregion
4944
4972
  //#region src/functions/uniqueArray.ts
4945
- function _r(e) {
4973
+ function yr(e) {
4946
4974
  return [...new Set(e)];
4947
4975
  }
4948
4976
  //#endregion
4949
4977
  //#region src/functions/replaceRecursive.ts
4950
4978
  function $(e, n, i = !0) {
4951
- let a = Z(e);
4979
+ let a = Q(e);
4952
4980
  return t(e) && t(n) && r(n, (n, r) => {
4953
4981
  let o = e == null ? void 0 : e[r];
4954
- t(o) && t(n) ? i && Array.isArray(o) && Array.isArray(n) ? a[r] = Z(_r([...o, ...n])) : a[r] = $(Array.isArray(o) ? { ...o } : o, n, i) : a[r] = t(n) ? Z(n) : n;
4982
+ t(o) && t(n) ? i && Array.isArray(o) && Array.isArray(n) ? a[r] = Q(yr([...o, ...n])) : a[r] = $(Array.isArray(o) ? { ...o } : o, n, i) : a[r] = t(n) ? Q(n) : n;
4955
4983
  }), a;
4956
4984
  }
4957
4985
  //#endregion
4958
4986
  //#region src/functions/replaceTemplate.ts
4959
- function vr(e, t) {
4987
+ function br(e, t) {
4960
4988
  let n = e;
4961
4989
  return r(t, (e, t) => {
4962
- n = n.replace(Gt(`[${t}]`), m(e));
4990
+ n = n.replace(Wt(`[${t}]`), m(e));
4963
4991
  }), n;
4964
4992
  }
4965
4993
  //#endregion
4966
4994
  //#region src/functions/secondToTime.ts
4967
- function yr(e, t) {
4968
- let n = y(e);
4995
+ function xr(e, t) {
4996
+ let n = b(e);
4969
4997
  if (n > 0) {
4970
4998
  let e = String(Math.floor(n / 60)).padStart(2, "0"), r = String(n % 60).padStart(2, "0");
4971
4999
  return t && Number(e) >= 60 ? `${String(Math.floor(Number(e) / 60)).padStart(2, "0")}:${String(Number(e) % 60).padStart(2, "0")}:${r}` : `${e}:${r}`;
@@ -4974,7 +5002,7 @@ function yr(e, t) {
4974
5002
  }
4975
5003
  //#endregion
4976
5004
  //#region src/functions/setValues.ts
4977
- function br(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: a = !0, notEmpty: o = !1 }) {
5005
+ function Sr(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: a = !0, notEmpty: o = !1 }) {
4978
5006
  if (n) {
4979
5007
  if (i(e)) {
4980
5008
  let n = e.indexOf(t), i = [...e];
@@ -4985,49 +5013,88 @@ function br(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: a = !0, no
4985
5013
  return a || e !== t ? t : e;
4986
5014
  }
4987
5015
  //#endregion
5016
+ //#region src/functions/sortList.ts
5017
+ function Cr(e, t, n) {
5018
+ var r;
5019
+ if (t.length === 0 || e.length < 2) return e;
5020
+ let i = ((r = Intl) == null ? void 0 : r.Collator) === void 0 ? void 0 : new Intl.Collator(void 0, {
5021
+ numeric: !0,
5022
+ sensitivity: "base"
5023
+ });
5024
+ return [...e].sort((e, r) => {
5025
+ for (let { column: a, dir: o } of t) {
5026
+ if (!a) continue;
5027
+ if (n) {
5028
+ let t = n(e, r, a, o);
5029
+ if (t !== 0) return t;
5030
+ continue;
5031
+ }
5032
+ let t = H(e, a), s = H(r, a);
5033
+ if (t === s) continue;
5034
+ if (c(t)) return 1;
5035
+ if (c(s)) return -1;
5036
+ let l = o === "desc" ? -1 : 1;
5037
+ if (g(t) && g(s)) return (b(t) - b(s)) * l;
5038
+ if (typeof t == "boolean" && typeof s == "boolean") return (Number(t) - Number(s)) * l;
5039
+ let u = String(t), d = String(s);
5040
+ return (i ? i.compare(u, d) : u.localeCompare(d)) * l;
5041
+ }
5042
+ return 0;
5043
+ });
5044
+ }
5045
+ //#endregion
4988
5046
  //#region src/functions/splice.ts
4989
- function xr(e, n, i) {
5047
+ function wr(e, n, i) {
4990
5048
  if (t(e) && t(n)) {
4991
5049
  if (i) {
4992
5050
  let a = {}, o = !1;
4993
5051
  return r(e, (e, r) => {
4994
- !o && (i === r || i === e) ? (o = !0, a = $(a, n)) : o ? a = $(a, { [r]: e }) : a[r] = t(e) ? Z(e) : e;
5052
+ !o && (i === r || i === e) ? (o = !0, a = $(a, n)) : o ? a = $(a, { [r]: e }) : a[r] = t(e) ? Q(e) : e;
4995
5053
  }), o ? a : $(e, n);
4996
5054
  }
4997
5055
  if (t(n)) return $(e, n);
4998
5056
  }
4999
- return Z(e);
5057
+ return Q(e);
5000
5058
  }
5001
5059
  //#endregion
5002
5060
  //#region src/functions/toCamelCaseFirst.ts
5003
- function Sr(e) {
5004
- return ot(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
5061
+ function Tr(e) {
5062
+ return it(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
5005
5063
  }
5006
5064
  //#endregion
5007
5065
  //#region src/functions/toKebabCase.ts
5008
- function Cr(e) {
5066
+ function Er(e) {
5009
5067
  return e.toString().trim().replace(/[^\w-. ]+/g, "").replace(/[ .]+/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (e) => `${e.toLowerCase()}`).replace(/^[A-Z]/, (e) => e.toLowerCase()).replace(/(?<=[\w ])[A-Z]/g, (e) => `-${e.toLowerCase()}`).replace(/[A-Z]/g, (e) => e.toLowerCase());
5010
5068
  }
5011
5069
  //#endregion
5012
5070
  //#region src/functions/toNumberByMax.ts
5013
- function wr(e, t, n, r) {
5014
- let i = y(e), a = y(t);
5015
- return t && a < i ? `${Tr(a, n, r)}+` : Tr(i, n, r);
5071
+ function Dr(e, t, n, r) {
5072
+ let i = b(e), a = b(t);
5073
+ return t && a < i ? `${Or(a, n, r)}+` : Or(i, n, r);
5074
+ }
5075
+ var Or = (e, t, n) => t ? new z(n).number(e) : e;
5076
+ //#endregion
5077
+ //#region src/functions/toNumberPositive.ts
5078
+ function kr(e, t = 0) {
5079
+ if (l(e)) {
5080
+ let t = Number(e);
5081
+ if (Number.isFinite(t) && t > 0) return t;
5082
+ }
5083
+ return t;
5016
5084
  }
5017
- var Tr = (e, t, n) => t ? new L(n).number(e) : e;
5018
5085
  //#endregion
5019
5086
  //#region src/functions/toPercent.ts
5020
- function Er(e, t) {
5087
+ function Ar(e, t) {
5021
5088
  return e === 0 ? t : 1 / e * t;
5022
5089
  }
5023
5090
  //#endregion
5024
5091
  //#region src/functions/toPercentBy100.ts
5025
- function Dr(e, t) {
5026
- return Er(e, t) * 100;
5092
+ function jr(e, t) {
5093
+ return Ar(e, t) * 100;
5027
5094
  }
5028
5095
  //#endregion
5029
5096
  //#region src/functions/uint8ArrayToBase64.ts
5030
- function Or(e) {
5097
+ function Mr(e) {
5031
5098
  let t = "";
5032
5099
  for (let n of e) t += String.fromCharCode(n);
5033
5100
  if (s()) return window.btoa(t);
@@ -5039,7 +5106,7 @@ function Or(e) {
5039
5106
  }
5040
5107
  //#endregion
5041
5108
  //#region src/functions/writeClipboardData.ts
5042
- async function kr(e) {
5109
+ async function Nr(e) {
5043
5110
  if (s()) try {
5044
5111
  await navigator.clipboard.writeText(e);
5045
5112
  } catch (n) {
@@ -5048,4 +5115,4 @@ async function kr(e) {
5048
5115
  }
5049
5116
  }
5050
5117
  //#endregion
5051
- export { F as Api, N as ApiCache, Be as ApiDataReturn, Ve as ApiDefault, We as ApiError, He as ApiErrorItem, Ue as ApiErrorStorage, Ge as ApiHeaders, qe as ApiHydration, Qe as ApiInstance, P as ApiMethodItem, Je as ApiPreparation, Ze as ApiResponse, Re as ApiStatus, $e as BroadcastMessage, nt as Cache, tt as CacheItem, rt as CacheStatic, Ee as Cookie, Ce as CookieBlock, Se as CookieBlockInstance, O as CookieStorage, D as DataStorage, at as Datetime, w as ErrorCenter, ue as ErrorCenterHandler, de as ErrorCenterInstance, Ne as EventItem, st as Formatters, V as FormattersType, ct as GEO_FLAG_ICON_NAME, k as Geo, lt as GeoFlag, ke as GeoInstance, L as GeoIntl, ut as GeoPhone, ft as GeoUnit, pt as Global, gt as Hash, ht as HashInstance, yt as Icons, M as Loading, Fe as LoadingInstance, Mt as Meta, G as MetaManager, At as MetaOg, Dt as MetaOpenGraphAge, Tt as MetaOpenGraphAvailability, Et as MetaOpenGraphCondition, Ot as MetaOpenGraphGender, q as MetaOpenGraphTag, wt as MetaOpenGraphType, Ct as MetaRobots, Nt as MetaStatic, K as MetaTag, jt as MetaTwitter, kt as MetaTwitterCard, J as MetaTwitterTag, Ft as Query, Pt as QueryInstance, It as ResumableTimer, Lt as ScrollbarWidth, Xt as SearchList, Ut as SearchListData, Wt as SearchListItem, Jt as SearchListMatcher, Yt as SearchListOptions, E as ServerStorage, Qt as StorageCallback, rn as TRANSLATE_GLOBAL_PREFIX, an as TRANSLATE_TIME_OUT, cn as Translate, on as TranslateFile, sn as TranslateInstance, De as UI_GEO_COOKIE_KEY, mt as UrlInstanceAbstract, Y as UrlItem, Ht as addTagHighlightMatch, x as anyToString, tn as applyTemplate, ln as arrFill, mn as blobToBase64, hn as capitalize, Z as copyObject, gn as copyObjectLite, U as createElement, _n as domQuerySelector, vn as domQuerySelectorAll, W as encodeAttribute, me as encodeLiteAttribute, Sn as ensureMaxSize, X as escapeExp, Cn as eventStopPropagation, m as executeFunction, Ye as executePromise, r as forEach, wn as frame, Tn as getArrayHighlightMatch, En as getAttributes, Dn as getClipboardData, it as getColumn, On as getCurrentDate, kn as getCurrentTime, A as getElement, jn as getElementId, yn as getElementImage, bt as getElementItem, je as getElementOrWindow, he as getElementSafeScript, Kt as getExactSearchExp, Gt as getExp, Nn as getFirst, ge as getHydrationData, B as getItemByPath, Pn as getKey, Fn as getLast, In as getLength, Ln as getLengthOfAllArray, Rn as getMaxLengthAllArray, zn as getMinLengthAllArray, Hn as getMouseClient, Bn as getMouseClientX, Vn as getMouseClientY, Un as getObjectByKeys, Wn as getObjectNoUndefined, Gn as getObjectOrNone, Kn as getOnlyText, Jn as getRandomText, o as getRequestString, qt as getSearchExp, Rt as getSeparatingSearchExp, Yn as getStepPercent, Xn as getStepValue, Qn as goScroll, $n as goScrollSmooth, er as goScrollTo, nr as handleShare, rr as inArray, Mn as initGetElementId, ir as initScrollbarOffset, ar as intersectKey, nn as isApiSuccess, i as isArray, or as isDifferent, oe as isDomData, s as isDomRuntime, sr as isElementVisible, lr as isEnter, l as isFilled, ur as isFloat, p as isFunction, Me as isInDom, cr as isInput, dr as isIntegerBetween, fr as isMetaKey, c as isNull, h as isNumber, t as isObject, n as isObjectNotArray, u as isOnLine, b as isSelected, pr as isSelectedByList, tr as isShare, d as isString, mr as isTab, Ae as isWindow, f as random, hr as removeCommonPrefix, gr as replaceComponentName, $ as replaceRecursive, vr as replaceTemplate, xn as resizeImageByMax, yr as secondToTime, xt as setElementItem, br as setValues, ee as sleep, xr as splice, qn as strFill, se as strSplit, j as toArray, ot as toCamelCase, Sr as toCamelCaseFirst, I as toDate, Cr as toKebabCase, y as toNumber, wr as toNumberByMax, Er as toPercent, Dr as toPercentBy100, a as toString, T as transformation, Or as uint8ArrayToBase64, _r as uniqueArray, kr as writeClipboardData };
5118
+ export { L as Api, P as ApiCache, ze as ApiDataReturn, Be as ApiDefault, Ue as ApiError, Ve as ApiErrorItem, He as ApiErrorStorage, We as ApiHeaders, Ke as ApiHydration, Xe as ApiInstance, F as ApiMethodItem, qe as ApiPreparation, Ye as ApiResponse, Le as ApiStatus, Ze as BroadcastMessage, et as Cache, $e as CacheItem, tt as CacheStatic, Te as Cookie, Se as CookieBlock, xe as CookieBlockInstance, k as CookieStorage, O as DataStorage, rt as Datetime, T as ErrorCenter, le as ErrorCenterHandler, ue as ErrorCenterInstance, Me as EventItem, at as Formatters, U as FormattersType, ot as GEO_FLAG_ICON_NAME, A as Geo, st as GeoFlag, Oe as GeoInstance, z as GeoIntl, ct as GeoPhone, ut as GeoUnit, dt as Global, mt as Hash, pt as HashInstance, _t as Icons, N as Loading, Pe as LoadingInstance, At as Meta, q as MetaManager, Ot as MetaOg, Tt as MetaOpenGraphAge, Ct as MetaOpenGraphAvailability, wt as MetaOpenGraphCondition, Et as MetaOpenGraphGender, Y as MetaOpenGraphTag, St as MetaOpenGraphType, xt as MetaRobots, jt as MetaStatic, J as MetaTag, kt as MetaTwitter, Dt as MetaTwitterCard, X as MetaTwitterTag, Nt as Query, Mt as QueryInstance, Pt as ResumableTimer, Ft as ScrollbarWidth, Yt as SearchList, Ht as SearchListData, Ut as SearchListItem, qt as SearchListMatcher, Jt as SearchListOptions, D as ServerStorage, Zt as StorageCallback, nn as TRANSLATE_GLOBAL_PREFIX, rn as TRANSLATE_TIME_OUT, sn as Translate, an as TranslateFile, on as TranslateInstance, Ee as UI_GEO_COOKIE_KEY, ft as UrlInstanceAbstract, Z as UrlItem, Vt as addTagHighlightMatch, S as anyToString, en as applyTemplate, cn as arrFill, pn as blobToBase64, mn as capitalize, Q as copyObject, hn as copyObjectLite, G as createElement, gn as domContentLoaded, _n as domQuerySelector, vn as domQuerySelectorAll, K as encodeAttribute, pe as encodeLiteAttribute, Sn as ensureMaxSize, It as escapeExp, Cn as eventStopPropagation, m as executeFunction, I as executePromise, r as forEach, wn as frame, Tn as getArrayHighlightMatch, En as getAttributes, Dn as getClipboardData, nt as getColumn, On as getCurrentDate, kn as getCurrentTime, j as getElement, Mn as getElementId, yn as getElementImage, vt as getElementItem, Ae as getElementOrWindow, me as getElementSafeScript, Gt as getExactSearchExp, Wt as getExp, Pn as getFirst, he as getHydrationData, H as getItemByPath, Fn as getKey, In as getLast, Ln as getLength, Rn as getLengthOfAllArray, zn as getMaxLengthAllArray, Bn as getMinLengthAllArray, Un as getMouseClient, Vn as getMouseClientX, Hn as getMouseClientY, Wn as getObjectByKeys, Gn as getObjectNoUndefined, Kn as getObjectOrNone, qn as getOnlyText, Jn as getRandomItem, Xn as getRandomText, o as getRequestString, Kt as getSearchExp, Lt as getSeparatingSearchExp, Zn as getStepPercent, Qn as getStepValue, er as goScroll, tr as goScrollSmooth, nr as goScrollTo, ir as handleShare, ar as inArray, Nn as initGetElementId, or as initScrollbarOffset, sr as intersectKey, tn as isApiSuccess, i as isArray, cr as isDifferent, ae as isDomData, s as isDomRuntime, lr as isElementVisible, dr as isEnter, l as isFilled, fr as isFloat, p as isFunction, je as isInDom, ur as isInput, pr as isIntegerBetween, mr as isMetaKey, c as isNull, g as isNumber, t as isObject, n as isObjectNotArray, u as isOnLine, x as isSelected, hr as isSelectedByList, rr as isShare, d as isString, gr as isTab, ke as isWindow, f as random, _r as removeCommonPrefix, vr as replaceComponentName, $ as replaceRecursive, br as replaceTemplate, xn as resizeImageByMax, xr as secondToTime, yt as setElementItem, Sr as setValues, ee as sleep, Cr as sortList, wr as splice, Yn as strFill, oe as strSplit, M as toArray, it as toCamelCase, Tr as toCamelCaseFirst, R as toDate, Er as toKebabCase, b as toNumber, Dr as toNumberByMax, kr as toNumberPositive, Ar as toPercent, jr as toPercentBy100, a as toString, E as transformation, Mr as uint8ArrayToBase64, yr as uniqueArray, Nr as writeClipboardData };