@dxtmisha/functional-basic 1.3.15 → 1.4.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
@@ -450,7 +450,7 @@ var le = class {
450
450
  w(T, "item", new ue(de));
451
451
  //#endregion
452
452
  //#region src/functions/transformation.ts
453
- function fe(e, t = !1) {
453
+ function E(e, t = !1) {
454
454
  if (typeof e == "string") {
455
455
  let r = e.trim();
456
456
  switch (r) {
@@ -478,25 +478,25 @@ function fe(e, t = !1) {
478
478
  }
479
479
  //#endregion
480
480
  //#region src/functions/encodeLiteAttribute.ts
481
- var pe = {
481
+ var fe = {
482
482
  "<": "&lt;",
483
483
  ">": "&gt;",
484
484
  "&": "&amp;"
485
485
  };
486
- function me(e) {
486
+ function pe(e) {
487
487
  return String(e).replace(/[<>&]/g, (e) => {
488
488
  var t;
489
- return (t = pe == null ? void 0 : pe[e]) == null ? e : t;
489
+ return (t = fe == null ? void 0 : fe[e]) == null ? e : t;
490
490
  });
491
491
  }
492
492
  //#endregion
493
493
  //#region src/functions/getElementSafeScript.ts
494
- function he(e, t) {
494
+ function me(e, t) {
495
495
  return `<script id="${e.replace(/"/g, "&quot;")}" type="application/json">${JSON.stringify(t).replace(/<\/(script)>/gi, "<\\/$1>")}<\/script>`;
496
496
  }
497
497
  //#endregion
498
498
  //#region src/functions/getHydrationData.ts
499
- function ge(e, t, n = !0) {
499
+ function he(e, t, n = !0) {
500
500
  if (typeof document < "u") {
501
501
  let t = document.getElementById(e);
502
502
  if (t) try {
@@ -517,7 +517,7 @@ function ge(e, t, n = !0) {
517
517
  }
518
518
  //#endregion
519
519
  //#region src/classes/ServerStorage.ts
520
- var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
520
+ var ge = "__ui:server-storage__", _e = "__ui:server:storage:id__", D = class {
521
521
  static init(e) {
522
522
  return this.listener || (this.listener = e), this;
523
523
  }
@@ -547,7 +547,7 @@ var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
547
547
  e in t && delete t[e];
548
548
  }
549
549
  static toString() {
550
- return he(ve, this.getDataForHydration());
550
+ return me(_e, this.getDataForHydration());
551
551
  }
552
552
  static getStorage(e = !0, t) {
553
553
  var n;
@@ -561,11 +561,11 @@ var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
561
561
  details: { status: t }
562
562
  }), e && !this.storage && (this.storage = {}), (i = this.storage) == null ? {} : i;
563
563
  }
564
- return _e in r || (r[_e] = {}), r[_e];
564
+ return ge in r || (r[ge] = {}), r[ge];
565
565
  }
566
566
  static getStorageDom() {
567
567
  if (!this.storage) {
568
- let e = ge(ve, {});
568
+ let e = he(_e, {});
569
569
  this.storage = {}, r(e, (e, t) => {
570
570
  this.storage[t] = {
571
571
  value: e,
@@ -582,16 +582,16 @@ var _e = "__ui:server-storage__", ve = "__ui:server:storage:id__", E = class {
582
582
  }), t;
583
583
  }
584
584
  };
585
- w(E, "storage", void 0), w(E, "listener", void 0), w(E, "hideError", void 0);
585
+ w(D, "storage", void 0), w(D, "listener", void 0), w(D, "hideError", void 0);
586
586
  //#endregion
587
587
  //#region src/classes/DataStorage.ts
588
- var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D = class {
588
+ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O = class {
589
589
  static setPrefix(e) {
590
- ye = e;
590
+ ve = e;
591
591
  }
592
592
  constructor(e, t = !1, n = T.getItem()) {
593
593
  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;
594
- let r = `${t ? "session" : "storage"}#${e}`, i = be();
594
+ let r = `${t ? "session" : "storage"}#${e}`, i = ye();
595
595
  if (r in i) return i[r];
596
596
  this.make(), i[r] = this;
597
597
  }
@@ -603,7 +603,7 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
603
603
  if (this.value = m(e), this.age = Date.now(), this.value === void 0) this.remove();
604
604
  else {
605
605
  var t;
606
- (t = this.getMethod()) == null || t.setItem(this.getIndex(), me(JSON.stringify({
606
+ (t = this.getMethod()) == null || t.setItem(this.getIndex(), pe(JSON.stringify({
607
607
  value: this.value,
608
608
  age: this.age
609
609
  })));
@@ -628,7 +628,7 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
628
628
  }
629
629
  }
630
630
  getIndex() {
631
- return `${ye}__${this.name}`;
631
+ return `${ve}__${this.name}`;
632
632
  }
633
633
  getValue() {
634
634
  var e, t;
@@ -647,9 +647,9 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
647
647
  let e = this.getValue();
648
648
  return e ? (this.value = e.value, this.age = e.age) : (this.value = void 0, this.age = void 0), this;
649
649
  }
650
- }, xe = "__ui:cookie-block__", Se = class {
650
+ }, be = "__ui:cookie-block__", xe = class {
651
651
  constructor() {
652
- w(this, "storage", new D(xe));
652
+ w(this, "storage", new O(be));
653
653
  }
654
654
  get() {
655
655
  var e;
@@ -658,9 +658,9 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
658
658
  set(e) {
659
659
  this.storage.set(e);
660
660
  }
661
- }, Ce = class {
661
+ }, Se = class {
662
662
  static getItem() {
663
- return E.get("__ui:cookie-block__", () => new Se());
663
+ return D.get("__ui:cookie-block__", () => new xe());
664
664
  }
665
665
  static get() {
666
666
  return this.getItem().get();
@@ -668,7 +668,7 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
668
668
  static set(e) {
669
669
  this.getItem().set(e);
670
670
  }
671
- }, we = "__ui:cookie-storage__", O = class {
671
+ }, Ce = "__ui:cookie-storage__", k = class {
672
672
  static init(e, t, n) {
673
673
  this.getListener = e, this.getListenerRaw = t, this.setListener = n;
674
674
  }
@@ -678,11 +678,11 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
678
678
  static get(e, t) {
679
679
  var n, r;
680
680
  let i = (n = (r = this.getListener) == null ? void 0 : r.call(this, e)) == null ? this.initItems()[e] : n;
681
- return i === void 0 && t !== void 0 ? this.set(e, t) : fe(i);
681
+ return i === void 0 && t !== void 0 ? this.set(e, t) : E(i);
682
682
  }
683
683
  static set(e, t, n) {
684
684
  let r = m(t);
685
- if (Ce.get()) return r;
685
+ if (Se.get()) return r;
686
686
  let i = S(r, !1);
687
687
  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;
688
688
  }
@@ -690,7 +690,7 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
690
690
  this.set(e, "", { age: -1 });
691
691
  }
692
692
  static update() {
693
- s() && (E.remove(we), this.initItems());
693
+ s() && (D.remove(Ce), this.initItems());
694
694
  }
695
695
  static format(e, t, n) {
696
696
  return [
@@ -717,7 +717,7 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
717
717
  return t;
718
718
  }
719
719
  static initItems() {
720
- return E.get(we, () => {
720
+ return D.get(Ce, () => {
721
721
  var e;
722
722
  if (this.hasDom()) return this.parse(document.cookie);
723
723
  let t = (e = this.getListenerRaw) == null ? void 0 : e.call(this);
@@ -749,19 +749,19 @@ var ye = "ui-storage", be = () => E.get("__ui:data-storage__", () => ({})), D =
749
749
  return e === void 0 ? [] : Array.isArray(e) ? e : Object.entries(e).map(([e, t]) => `${e}=${S(t)}`);
750
750
  }
751
751
  };
752
- w(O, "getListener", void 0), w(O, "getListenerRaw", void 0), w(O, "setListener", void 0);
752
+ w(k, "getListener", void 0), w(k, "getListenerRaw", void 0), w(k, "setListener", void 0);
753
753
  //#endregion
754
754
  //#region src/classes/Cookie.ts
755
- var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
755
+ var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
756
756
  static getInstance(t) {
757
757
  var n, r;
758
- return (n = (r = Te()) == null ? void 0 : r[t]) == null ? new e(t) : n;
758
+ return (n = (r = we()) == null ? void 0 : r[t]) == null ? new e(t) : n;
759
759
  }
760
760
  constructor(e) {
761
761
  w(this, "name", void 0), w(this, "value", void 0), w(this, "options", {}), this.name = e;
762
- let t = Te();
762
+ let t = we();
763
763
  if (e in t) return t[e];
764
- this.value = O.get(this.name), t[e] = this;
764
+ this.value = k.get(this.name), t[e] = this;
765
765
  }
766
766
  get(e, t) {
767
767
  return this.value === void 0 && e && this.set(e, t), this.value;
@@ -773,11 +773,11 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
773
773
  this.set("");
774
774
  }
775
775
  update() {
776
- O.set(this.name, this.value, this.options);
776
+ k.set(this.name, this.value, this.options);
777
777
  }
778
- }, De = "ui-geo-code", Oe = "__ui:geo-code__", ke = class {
778
+ }, Ee = "ui-geo-code", De = "__ui:geo-code__", Oe = class {
779
779
  constructor() {
780
- w(this, "storage", new D(Oe)), 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);
780
+ 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);
781
781
  }
782
782
  get() {
783
783
  return this.item;
@@ -857,7 +857,7 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
857
857
  this.valueDefault = e, this.location = this.findLocation(), this.item = this.getByCode(this.location), this.language = this.findLanguage(this.location);
858
858
  }
859
859
  getCookie() {
860
- return Ee.getInstance(De);
860
+ return Te.getInstance(Ee);
861
861
  }
862
862
  findLocation() {
863
863
  return this.getCookie().get() || this.findLocationDom() || m(this.valueDefault) || "en-GB";
@@ -886,9 +886,9 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
886
886
  locationLanguage: n
887
887
  };
888
888
  }
889
- }, k = class {
889
+ }, A = class {
890
890
  static getObject() {
891
- return E.get("__ui:geo-instance__", () => new ke());
891
+ return D.get("__ui:geo-instance__", () => new Oe());
892
892
  }
893
893
  static get() {
894
894
  return this.getObject().get();
@@ -956,14 +956,14 @@ var Te = () => E.get("__ui:cookie-items__", () => ({})), Ee = class e {
956
956
  };
957
957
  //#endregion
958
958
  //#region src/functions/isWindow.ts
959
- function Ae(e) {
959
+ function ke(e) {
960
960
  return s() && e === window;
961
961
  }
962
962
  //#endregion
963
963
  //#region src/functions/getElement.ts
964
- function A(e) {
964
+ function j(e) {
965
965
  if (!s()) return d(e) ? void 0 : e;
966
- if (Ae(e)) return document.body;
966
+ if (ke(e)) return document.body;
967
967
  if (d(e)) {
968
968
  var t;
969
969
  return (t = document.querySelector(e)) == null ? void 0 : t;
@@ -972,30 +972,30 @@ function A(e) {
972
972
  }
973
973
  //#endregion
974
974
  //#region src/functions/getElementOrWindow.ts
975
- function je(e) {
976
- return Ae(e) ? e : A(e);
975
+ function Ae(e) {
976
+ return ke(e) ? e : j(e);
977
977
  }
978
978
  //#endregion
979
979
  //#region src/functions/isInDom.ts
980
- function Me(e) {
980
+ function je(e) {
981
981
  var t;
982
- return (e == null ? void 0 : e.isConnected) || !!((t = A(e)) != null && t.closest("html"));
982
+ return (e == null ? void 0 : e.isConnected) || !!((t = j(e)) != null && t.closest("html"));
983
983
  }
984
984
  //#endregion
985
985
  //#region src/functions/toArray.ts
986
- function j(e) {
986
+ function M(e) {
987
987
  return Array.isArray(e) ? e : [e];
988
988
  }
989
989
  //#endregion
990
990
  //#region src/classes/EventItem.ts
991
- var Ne = class {
991
+ var Me = class {
992
992
  constructor(e, n = ["click"], r, i, a) {
993
993
  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) => {
994
- if (Me(this.elementControl)) {
994
+ if (je(this.elementControl)) {
995
995
  var n, r;
996
996
  (n = this.listener) == null || n.call(this.element, e, this.detail), t(this.options) && (r = this.options) != null && r.once && this.stop();
997
997
  } else this.stop();
998
- }), w(this, "activity", !1), w(this, "activityItems", []), this.listener = r, this.options = i, this.detail = a, this.element = je(e), this.elementControl = A(e), this.type = j(n);
998
+ }), 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);
999
999
  }
1000
1000
  isActive() {
1001
1001
  return this.activity;
@@ -1004,14 +1004,14 @@ var Ne = class {
1004
1004
  return this.element;
1005
1005
  }
1006
1006
  setElement(e) {
1007
- let t = je(e);
1008
- return this.elementControlEdit || (this.elementControl = A(e)), this.element = t, this.reset(), this;
1007
+ let t = Ae(e);
1008
+ return this.elementControlEdit || (this.elementControl = j(e)), this.element = t, this.reset(), this;
1009
1009
  }
1010
1010
  setElementControl(e) {
1011
- return this.elementControl = A(e), this.elementControlEdit = !c(this.elementControl), this.elementControlEdit || (this.elementControl = A(this.element)), this;
1011
+ return this.elementControl = j(e), this.elementControlEdit = !c(this.elementControl), this.elementControlEdit || (this.elementControl = j(this.element)), this;
1012
1012
  }
1013
1013
  setType(e) {
1014
- return this.type = j(e), this.reset(), this;
1014
+ return this.type = M(e), this.reset(), this;
1015
1015
  }
1016
1016
  setListener(e) {
1017
1017
  return this.listener = e, this;
@@ -1080,9 +1080,9 @@ var Ne = class {
1080
1080
  }
1081
1081
  return !1;
1082
1082
  }
1083
- }, Pe = "ui-loading", Fe = class {
1084
- constructor(e = Pe) {
1085
- w(this, "eventName", void 0), w(this, "value", 0), w(this, "event", void 0), w(this, "registrationList", []), this.eventName = e, s() && (this.event = new Ne(window, this.eventName));
1083
+ }, Ne = "ui-loading", Pe = class {
1084
+ constructor(e = Ne) {
1085
+ 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));
1086
1086
  }
1087
1087
  is() {
1088
1088
  return this.value > 0;
@@ -1098,7 +1098,7 @@ var Ne = class {
1098
1098
  }
1099
1099
  registrationEvent(e, t) {
1100
1100
  if (s()) {
1101
- let n = new Ne(window, this.eventName, e).setElementControl(t).start();
1101
+ let n = new Me(window, this.eventName, e).setElementControl(t).start();
1102
1102
  this.registrationList.push({
1103
1103
  item: n,
1104
1104
  listener: e,
@@ -1113,7 +1113,7 @@ var Ne = class {
1113
1113
  var e;
1114
1114
  (e = this.event) == null || e.dispatch({ loading: this.is() });
1115
1115
  }
1116
- }, M = class {
1116
+ }, N = class {
1117
1117
  static is() {
1118
1118
  return this.getItem().is();
1119
1119
  }
@@ -1121,7 +1121,7 @@ var Ne = class {
1121
1121
  return this.getItem().get();
1122
1122
  }
1123
1123
  static getItem() {
1124
- return E.get("__ui:loading-instance__", () => new Fe());
1124
+ return D.get("__ui:loading-instance__", () => new Pe());
1125
1125
  }
1126
1126
  static show() {
1127
1127
  this.getItem().show();
@@ -1135,7 +1135,7 @@ var Ne = class {
1135
1135
  static unregistrationEvent(e, t) {
1136
1136
  this.getItem().unregistrationEvent(e, t);
1137
1137
  }
1138
- }, Ie, Le = 1440 * 60, N = class {
1138
+ }, Fe, Ie = 1440 * 60, P = class {
1139
1139
  static init(e, t, n, r) {
1140
1140
  this.getListener = e, this.setListener = t, this.removeListener = n, r && (this.cacheStepAgeClearOld = r, this.stepAgeClearOld = r);
1141
1141
  }
@@ -1157,7 +1157,7 @@ var Ne = class {
1157
1157
  let t = this.generateKey(e);
1158
1158
  return await this.get(t);
1159
1159
  }
1160
- static async set(e, t, n = Le) {
1160
+ static async set(e, t, n = Ie) {
1161
1161
  let r = {
1162
1162
  value: t,
1163
1163
  age: n,
@@ -1220,10 +1220,10 @@ var Ne = class {
1220
1220
  }
1221
1221
  }
1222
1222
  };
1223
- Ie = N, w(N, "items", void 0), w(N, "getListener", void 0), w(N, "setListener", void 0), w(N, "removeListener", void 0), w(N, "cacheStepAgeClearOld", 16384), w(N, "stepAgeClearOld", Ie.cacheStepAgeClearOld);
1223
+ 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);
1224
1224
  //#endregion
1225
1225
  //#region src/classes/ApiStatus.ts
1226
- var P = class {
1226
+ var Le = class {
1227
1227
  constructor() {
1228
1228
  w(this, "value", void 0);
1229
1229
  }
@@ -1404,7 +1404,7 @@ var P = class {
1404
1404
  };
1405
1405
  }
1406
1406
  add(e, t, n) {
1407
- return j(e).forEach((e) => {
1407
+ return M(e).forEach((e) => {
1408
1408
  let r = e.url || t, i = e.method || n;
1409
1409
  r && i && this.storage.push({
1410
1410
  ...e,
@@ -1441,7 +1441,7 @@ var P = class {
1441
1441
  }
1442
1442
  }, Ue = class {
1443
1443
  static getStorage() {
1444
- return E.get("__ui:api-error-storage__", () => new He());
1444
+ return D.get("__ui:api-error-storage__", () => new He());
1445
1445
  }
1446
1446
  static add(e, t, n) {
1447
1447
  this.getStorage().add(e, t, n);
@@ -1482,10 +1482,10 @@ var P = class {
1482
1482
  });
1483
1483
  }
1484
1484
  toString() {
1485
- return he(Ge, this.list);
1485
+ return me(Ge, this.list);
1486
1486
  }
1487
1487
  getListByClient() {
1488
- return ge(Ge, []);
1488
+ return he(Ge, []);
1489
1489
  }
1490
1490
  }, qe = class {
1491
1491
  constructor() {
@@ -1532,7 +1532,7 @@ var Ye = "d-response-loading", Xe = class {
1532
1532
  return this.response.filter((e) => e.isForGlobal !== !0);
1533
1533
  }
1534
1534
  add(e) {
1535
- return this.response.push(...j(e)), this;
1535
+ return this.response.push(...M(e)), this;
1536
1536
  }
1537
1537
  setDevMode(e) {
1538
1538
  return this.devMode = e, this;
@@ -1578,8 +1578,8 @@ var Ye = "d-response-loading", Xe = class {
1578
1578
  fetch(e, t) {
1579
1579
  return this.startResponseLoading(), new Promise((n) => {
1580
1580
  Je(p(e.response) ? e.response(t) : e.response).then((t) => {
1581
- e != null && e.lag ? (M.show(), setTimeout(() => {
1582
- this.stopResponseLoading(), n(t), M.hide();
1581
+ e != null && e.lag ? (N.show(), setTimeout(() => {
1582
+ this.stopResponseLoading(), n(t), N.hide();
1583
1583
  }, f(0, 2e3))) : (this.stopResponseLoading(), n(t));
1584
1584
  });
1585
1585
  });
@@ -1598,7 +1598,7 @@ var Ye = "d-response-loading", Xe = class {
1598
1598
  }, Ze = class {
1599
1599
  constructor(e = "/api/", t = {}) {
1600
1600
  w(this, "url", 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), this.url = e;
1601
- let { headersClass: n = We, requestDefaultClass: r = Be, statusClass: i = P, responseClass: a = Xe, preparationClass: o = qe, loadingClass: s = M.getItem(), errorCenterClass: c = T.getItem(), hydrationClass: l = Ke } = t;
1601
+ let { headersClass: n = We, requestDefaultClass: r = Be, statusClass: i = Le, responseClass: a = Xe, preparationClass: o = qe, loadingClass: s = N.getItem(), errorCenterClass: c = T.getItem(), hydrationClass: l = Ke } = t;
1602
1602
  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.hydration.initResponse(this.response);
1603
1603
  }
1604
1604
  isLocalhost() {
@@ -1617,7 +1617,7 @@ var Ye = "d-response-loading", Xe = class {
1617
1617
  return this.origin && /^\//.test(this.url) ? `${this.origin}${this.url}` : this.url;
1618
1618
  }
1619
1619
  getUrl(e, t = !0) {
1620
- return `${t ? this.getOrigin() : ""}${e}`.replace("{locale}", k.getLocation()).replace("{country}", k.getCountry()).replace("{language}", k.getLanguage());
1620
+ return `${t ? this.getOrigin() : ""}${e}`.replace("{locale}", A.getLocation()).replace("{country}", A.getCountry()).replace("{language}", A.getLanguage());
1621
1621
  }
1622
1622
  getBody(e = {}, t = F.get) {
1623
1623
  if (e instanceof FormData) return e;
@@ -1693,9 +1693,9 @@ var Ye = "d-response-loading", Xe = class {
1693
1693
  async fetch(e, t = 0) {
1694
1694
  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);
1695
1695
  if (m) return m;
1696
- let h = await N.getByFetch(e);
1696
+ let h = await P.getByFetch(e);
1697
1697
  if (h) return this.hydration.toClient(e, h), h;
1698
- let g = new P(), _, v;
1698
+ let g = new Le(), _, v;
1699
1699
  o || this.loading.show();
1700
1700
  try {
1701
1701
  await this.preparation.make(l, e);
@@ -1713,7 +1713,7 @@ var Ye = "d-response-loading", Xe = class {
1713
1713
  }
1714
1714
  g.setLastResponse(_.getData()), this.status.setLastResponse(_.getData());
1715
1715
  let y = _.getAndStatus(g);
1716
- return o || this.loading.hide(), this.hydration.toClient(e, y), await N.setByFetch(e, y), y;
1716
+ return o || this.loading.hide(), this.hydration.toClient(e, y), await P.setByFetch(e, y), y;
1717
1717
  }
1718
1718
  async makeQuery(e, t) {
1719
1719
  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 = {
@@ -1815,7 +1815,7 @@ var Ye = "d-response-loading", Xe = class {
1815
1815
  return this.getItem().isLocalhost();
1816
1816
  }
1817
1817
  static getItem() {
1818
- return E.get("__ui:api-instance__", () => new Ze());
1818
+ return D.get("__ui:api-instance__", () => new Ze());
1819
1819
  }
1820
1820
  static getStatus() {
1821
1821
  return this.getItem().getStatus();
@@ -1918,7 +1918,7 @@ var Ye = "d-response-loading", Xe = class {
1918
1918
  var e;
1919
1919
  return (e = this.channel) == null || e.close(), this.channel = void 0, this;
1920
1920
  }
1921
- }, $e = () => new D("__ui:broadcast-name__").get(() => `name_${f(1e6, 9999999)}`), et = class {
1921
+ }, $e = () => new O("__ui:broadcast-name__").get(() => `name_${f(1e6, 9999999)}`), et = class {
1922
1922
  constructor(e) {
1923
1923
  w(this, "callback", void 0), w(this, "cache", void 0), w(this, "cacheOld", void 0), w(this, "comparisons", []), this.callback = e;
1924
1924
  }
@@ -1955,7 +1955,7 @@ var Ye = "d-response-loading", Xe = class {
1955
1955
  }
1956
1956
  }, nt = class {
1957
1957
  static getItem() {
1958
- return E.get("__ui:cache-static__", () => new tt());
1958
+ return D.get("__ui:cache-static__", () => new tt());
1959
1959
  }
1960
1960
  static get(e, t, n) {
1961
1961
  return this.getItem().get(e, t, n);
@@ -1971,7 +1971,7 @@ function L(e) {
1971
1971
  if (e instanceof Date) return e;
1972
1972
  if (c(e)) return /* @__PURE__ */ new Date();
1973
1973
  if (typeof e == "number") return new Date(e);
1974
- let u = e, d = k.getTimezoneFormat().trim();
1974
+ let u = e, d = A.getTimezoneFormat().trim();
1975
1975
  e.replace(/^([\s\S]+)([-+]\d{2}:?\d{2})$/, (e, t, n) => (u = t, d = n.trim(), e));
1976
1976
  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;
1977
1977
  return /* @__PURE__ */ new Date(`${f.trim()}${d}`);
@@ -1984,20 +1984,20 @@ function rt(e, t) {
1984
1984
  //#endregion
1985
1985
  //#region src/classes/GeoIntl.ts
1986
1986
  var R = class e {
1987
- static isItem(e = k.getLocation()) {
1987
+ static isItem(e = A.getLocation()) {
1988
1988
  return this.getLocation(e) in B;
1989
1989
  }
1990
- static getLocation(e = k.getLocation()) {
1990
+ static getLocation(e = A.getLocation()) {
1991
1991
  if (e in z) return z[e];
1992
- let t = k.find(e);
1992
+ let t = A.find(e);
1993
1993
  return z[e] = t.standard, t.standard;
1994
1994
  }
1995
- static getInstance(t = k.getLocation()) {
1995
+ static getInstance(t = A.getLocation()) {
1996
1996
  let n = this.getLocation(t);
1997
1997
  return n in B ? B[n] : new e(t);
1998
1998
  }
1999
- constructor(e = k.getLocation(), t = T.getItem()) {
2000
- w(this, "errorCenter", void 0), w(this, "geo", void 0), this.errorCenter = t, this.geo = k.find(e);
1999
+ constructor(e = A.getLocation(), t = T.getItem()) {
2000
+ w(this, "errorCenter", void 0), w(this, "geo", void 0), this.errorCenter = t, this.geo = A.find(e);
2001
2001
  let n = this.getLocation();
2002
2002
  if (n in B) return B[n];
2003
2003
  z[e] = n, B[n] = this;
@@ -2031,7 +2031,7 @@ var R = class e {
2031
2031
  type: "language",
2032
2032
  style: t
2033
2033
  };
2034
- return this.display(k.getByCode(e).language, n);
2034
+ return this.display(A.getByCode(e).language, n);
2035
2035
  }
2036
2036
  countryName(e, t) {
2037
2037
  let n = {
@@ -2325,7 +2325,7 @@ var R = class e {
2325
2325
  ].indexOf(e) !== -1 && (n.second = "2-digit")), n;
2326
2326
  }
2327
2327
  }, z = {}, B = {}, it = class e {
2328
- constructor(e, t = "date", n = k.getLocation()) {
2328
+ constructor(e, t = "date", n = A.getLocation()) {
2329
2329
  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 = L(e), isNaN(this.date.getTime()) && T.on({
2330
2330
  group: "intl",
2331
2331
  code: "invalid"
@@ -2616,7 +2616,7 @@ var H = /* @__PURE__ */ function(e) {
2616
2616
  return this.list ? this.isArray() ? this.list.length : 1 : 0;
2617
2617
  }
2618
2618
  getList() {
2619
- return this.list ? j(this.list) : [];
2619
+ return this.list ? M(this.list) : [];
2620
2620
  }
2621
2621
  getOptions() {
2622
2622
  return this.options;
@@ -2673,17 +2673,19 @@ var H = /* @__PURE__ */ function(e) {
2673
2673
  return t && t.unit ? R.getInstance().unit(e, t.unit) : e;
2674
2674
  }
2675
2675
  }, st = "f", ct = class e {
2676
- constructor(e = k.getLocation()) {
2676
+ constructor(e = A.getLocation()) {
2677
2677
  w(this, "code", void 0), this.code = e;
2678
2678
  }
2679
2679
  get(t = this.getCode()) {
2680
- let n = k.find(t);
2680
+ let n = A.find(t);
2681
2681
  if (n) {
2682
2682
  var r;
2683
2683
  let t = this.getCountry(n);
2684
2684
  return {
2685
- language: this.getLanguage(n),
2685
+ language: this.getLanguageName(n),
2686
+ languageCode: n.language,
2686
2687
  country: t,
2688
+ countryCode: n.country,
2687
2689
  standard: n.standard,
2688
2690
  icon: (r = e.flags) == null ? void 0 : r[n.country],
2689
2691
  label: t,
@@ -2692,8 +2694,16 @@ var H = /* @__PURE__ */ function(e) {
2692
2694
  };
2693
2695
  }
2694
2696
  }
2697
+ getLanguage(e = this.getCode()) {
2698
+ let t = this.get(e);
2699
+ if (t) return {
2700
+ ...t,
2701
+ label: t.language,
2702
+ value: t.languageCode
2703
+ };
2704
+ }
2695
2705
  getCode() {
2696
- return this.code || k.getLocation();
2706
+ return this.code || A.getLocation();
2697
2707
  }
2698
2708
  getFlag(e = this.getCode()) {
2699
2709
  var t;
@@ -2703,6 +2713,13 @@ var H = /* @__PURE__ */ function(e) {
2703
2713
  let n = r(this.getCodes(e), (e) => this.get(e));
2704
2714
  return t ? new R().sort(n, (e, t) => [e.label, t.label]) : n;
2705
2715
  }
2716
+ getListLanguage(e, t = !0) {
2717
+ let n = [], i = /* @__PURE__ */ new Set();
2718
+ return r(this.getCodes(e), (e) => {
2719
+ let t = this.getLanguage(e);
2720
+ t && !i.has(t.value) && (n.push(t), i.add(t.value));
2721
+ }), t ? new R().sort(n, (e, t) => [e.label, t.label]) : n;
2722
+ }
2706
2723
  getNational(t, n = !0) {
2707
2724
  let i = r(this.getList(t, !1), (t) => {
2708
2725
  let n = new e(t.standard).get(t.standard);
@@ -2715,6 +2732,18 @@ var H = /* @__PURE__ */ function(e) {
2715
2732
  });
2716
2733
  return n ? new R().sort(i, (e, t) => [e.label, t.label]) : i;
2717
2734
  }
2735
+ getNationalLanguage(t, n = !0) {
2736
+ let i = r(this.getListLanguage(t, !1), (t) => {
2737
+ let n = new e(t.standard).getLanguage(t.standard);
2738
+ return {
2739
+ ...t,
2740
+ description: n == null ? void 0 : n.language,
2741
+ nationalLanguage: n == null ? void 0 : n.language,
2742
+ nationalCountry: n == null ? void 0 : n.country
2743
+ };
2744
+ });
2745
+ return n ? new R().sort(i, (e, t) => [e.label, t.label]) : i;
2746
+ }
2718
2747
  setCode(e) {
2719
2748
  return this.code = e, this;
2720
2749
  }
@@ -2724,7 +2753,7 @@ var H = /* @__PURE__ */ function(e) {
2724
2753
  getCodes(t) {
2725
2754
  return t == null ? Object.keys(e.flags) : t;
2726
2755
  }
2727
- getLanguage(e) {
2756
+ getLanguageName(e) {
2728
2757
  return this.getLocation().languageName(e.language);
2729
2758
  }
2730
2759
  getCountry(e) {
@@ -2732,13 +2761,62 @@ var H = /* @__PURE__ */ function(e) {
2732
2761
  }
2733
2762
  };
2734
2763
  w(ct, "flags", {
2764
+ RU: "f-ru",
2765
+ FR: "f-fr",
2766
+ GB: "f-gb",
2767
+ US: "f-us",
2768
+ DE: "f-de",
2769
+ ES: "f-es",
2770
+ VN: "f-vn",
2771
+ CN: "f-cn",
2772
+ IT: "f-it",
2773
+ JP: "f-jp",
2774
+ KR: "f-kr",
2775
+ PT: "f-pt",
2776
+ TR: "f-tr",
2777
+ PL: "f-pl",
2778
+ NL: "f-nl",
2779
+ UA: "f-ua",
2780
+ BY: "f-by",
2781
+ KZ: "f-kz",
2782
+ GR: "f-gr",
2783
+ CZ: "f-cz",
2784
+ HU: "f-hu",
2785
+ RO: "f-ro",
2786
+ BG: "f-bg",
2787
+ HR: "f-hr",
2788
+ RS: "f-rs",
2789
+ SK: "f-sk",
2790
+ SI: "f-si",
2791
+ LT: "f-lt",
2792
+ LV: "f-lv",
2793
+ EE: "f-ee",
2794
+ FI: "f-fi",
2795
+ SE: "f-se",
2796
+ NO: "f-no",
2797
+ DK: "f-dk",
2798
+ IL: "f-il",
2799
+ TH: "f-th",
2800
+ ID: "f-id",
2801
+ MY: "f-my",
2802
+ PH: "f-ph",
2803
+ SA: "f-sa",
2804
+ IR: "f-ir",
2805
+ PK: "f-pk",
2806
+ AM: "f-am",
2807
+ GE: "f-ge",
2808
+ AZ: "f-az",
2809
+ TJ: "f-tj",
2810
+ KG: "f-kg",
2811
+ UZ: "f-uz",
2812
+ TM: "f-tm",
2813
+ MN: "f-mn",
2735
2814
  AD: "f-ad",
2736
2815
  AE: "f-ae",
2737
2816
  AF: "f-af",
2738
2817
  AG: "f-ag",
2739
2818
  AI: "f-ai",
2740
2819
  AL: "f-al",
2741
- AM: "f-am",
2742
2820
  AN: "f-an",
2743
2821
  AO: "f-ao",
2744
2822
  AQ: "f-aq",
@@ -2747,13 +2825,11 @@ w(ct, "flags", {
2747
2825
  AT: "f-at",
2748
2826
  AU: "f-au",
2749
2827
  AW: "f-aw",
2750
- AZ: "f-az",
2751
2828
  BA: "f-ba",
2752
2829
  BB: "f-bb",
2753
2830
  BD: "f-bd",
2754
2831
  BE: "f-be",
2755
2832
  BF: "f-bf",
2756
- BG: "f-bg",
2757
2833
  BH: "f-bh",
2758
2834
  BI: "f-bi",
2759
2835
  BJ: "f-bj",
@@ -2765,7 +2841,6 @@ w(ct, "flags", {
2765
2841
  BS: "f-bs",
2766
2842
  BT: "f-bt",
2767
2843
  BW: "f-bw",
2768
- BY: "f-by",
2769
2844
  BZ: "f-bz",
2770
2845
  CA: "f-ca",
2771
2846
  CC: "f-cc",
@@ -2777,7 +2852,6 @@ w(ct, "flags", {
2777
2852
  CK: "f-ck",
2778
2853
  CL: "f-cl",
2779
2854
  CM: "f-cm",
2780
- CN: "f-cn",
2781
2855
  CO: "f-co",
2782
2856
  CR: "f-cr",
2783
2857
  CU: "f-cu",
@@ -2785,29 +2859,20 @@ w(ct, "flags", {
2785
2859
  CW: "f-cw",
2786
2860
  CX: "f-cx",
2787
2861
  CY: "f-cy",
2788
- CZ: "f-cz",
2789
- DE: "f-de",
2790
2862
  DJ: "f-dj",
2791
- DK: "f-dk",
2792
2863
  DM: "f-dm",
2793
2864
  DZ: "f-dz",
2794
2865
  EC: "f-ec",
2795
- EE: "f-ee",
2796
2866
  EG: "f-eg",
2797
2867
  EH: "f-eh",
2798
2868
  ER: "f-er",
2799
- ES: "f-es",
2800
2869
  ET: "f-et",
2801
- FI: "f-fi",
2802
2870
  FJ: "f-fj",
2803
2871
  FK: "f-fk",
2804
2872
  FM: "f-fm",
2805
2873
  FO: "f-fo",
2806
- FR: "f-fr",
2807
2874
  GA: "f-ga",
2808
- GB: "f-gb",
2809
2875
  GD: "f-gd",
2810
- GE: "f-ge",
2811
2876
  GF: "f-gf",
2812
2877
  GG: "f-gg",
2813
2878
  GH: "f-gh",
@@ -2816,41 +2881,29 @@ w(ct, "flags", {
2816
2881
  GM: "f-gm",
2817
2882
  GN: "f-gn",
2818
2883
  GQ: "f-gq",
2819
- GR: "f-gr",
2820
2884
  GT: "f-gt",
2821
2885
  GU: "f-gu",
2822
2886
  GW: "f-gw",
2823
2887
  GY: "f-gy",
2824
2888
  HK: "f-hk",
2825
2889
  HN: "f-hn",
2826
- HR: "f-hr",
2827
2890
  HT: "f-ht",
2828
- HU: "f-hu",
2829
- ID: "f-id",
2830
2891
  IE: "f-ie",
2831
- IL: "f-il",
2832
2892
  IM: "f-im",
2833
- IN: "f-in",
2834
2893
  IO: "f-io",
2835
2894
  IQ: "f-iq",
2836
- IR: "f-ir",
2837
2895
  IS: "f-is",
2838
- IT: "f-it",
2839
2896
  JE: "f-je",
2840
2897
  JM: "f-jm",
2841
2898
  JO: "f-jo",
2842
- JP: "f-jp",
2843
2899
  KE: "f-ke",
2844
- KG: "f-kg",
2845
2900
  KH: "f-kh",
2846
2901
  KI: "f-ki",
2847
2902
  KM: "f-km",
2848
2903
  KN: "f-kn",
2849
2904
  KP: "f-kp",
2850
- KR: "f-kr",
2851
2905
  KW: "f-kw",
2852
2906
  KY: "f-ky",
2853
- KZ: "f-kz",
2854
2907
  LA: "f-la",
2855
2908
  LB: "f-lb",
2856
2909
  LC: "f-lc",
@@ -2858,9 +2911,7 @@ w(ct, "flags", {
2858
2911
  LK: "f-lk",
2859
2912
  LR: "f-lr",
2860
2913
  LS: "f-ls",
2861
- LT: "f-lt",
2862
2914
  LU: "f-lu",
2863
- LV: "f-lv",
2864
2915
  LY: "f-ly",
2865
2916
  MA: "f-ma",
2866
2917
  MC: "f-mc",
@@ -2872,7 +2923,6 @@ w(ct, "flags", {
2872
2923
  MK: "f-mk",
2873
2924
  ML: "f-ml",
2874
2925
  MM: "f-mm",
2875
- MN: "f-mn",
2876
2926
  MO: "f-mo",
2877
2927
  MP: "f-mp",
2878
2928
  MQ: "f-mq",
@@ -2883,7 +2933,6 @@ w(ct, "flags", {
2883
2933
  MV: "f-mv",
2884
2934
  MW: "f-mw",
2885
2935
  MX: "f-mx",
2886
- MY: "f-my",
2887
2936
  MZ: "f-mz",
2888
2937
  NA: "f-na",
2889
2938
  NC: "f-nc",
@@ -2891,8 +2940,6 @@ w(ct, "flags", {
2891
2940
  NF: "f-nf",
2892
2941
  NG: "f-ng",
2893
2942
  NI: "f-ni",
2894
- NL: "f-nl",
2895
- NO: "f-no",
2896
2943
  NP: "f-np",
2897
2944
  NR: "f-nr",
2898
2945
  NU: "f-nu",
@@ -2902,32 +2949,21 @@ w(ct, "flags", {
2902
2949
  PE: "f-pe",
2903
2950
  PF: "f-pf",
2904
2951
  PG: "f-pg",
2905
- PH: "f-ph",
2906
- PK: "f-pk",
2907
- PL: "f-pl",
2908
2952
  PM: "f-pm",
2909
2953
  PN: "f-pn",
2910
2954
  PR: "f-pr",
2911
2955
  PS: "f-ps",
2912
- PT: "f-pt",
2913
2956
  PW: "f-pw",
2914
2957
  PY: "f-py",
2915
2958
  QA: "f-qa",
2916
2959
  RE: "f-re",
2917
- RO: "f-ro",
2918
- RS: "f-rs",
2919
- RU: "f-ru",
2920
2960
  RW: "f-rw",
2921
- SA: "f-sa",
2922
2961
  SB: "f-sb",
2923
2962
  SC: "f-sc",
2924
2963
  SD: "f-sd",
2925
- SE: "f-se",
2926
2964
  SG: "f-sg",
2927
2965
  SH: "f-sh",
2928
- SI: "f-si",
2929
2966
  SJ: "f-sj",
2930
- SK: "f-sk",
2931
2967
  SL: "f-sl",
2932
2968
  SM: "f-sm",
2933
2969
  SN: "f-sn",
@@ -2942,29 +2978,21 @@ w(ct, "flags", {
2942
2978
  TC: "f-tc",
2943
2979
  TD: "f-td",
2944
2980
  TG: "f-tg",
2945
- TH: "f-th",
2946
- TJ: "f-tj",
2947
2981
  TK: "f-tk",
2948
2982
  TL: "f-tl",
2949
- TM: "f-tm",
2950
2983
  TN: "f-tn",
2951
2984
  TO: "f-to",
2952
- TR: "f-tr",
2953
2985
  TT: "f-tt",
2954
2986
  TV: "f-tv",
2955
2987
  TW: "f-tw",
2956
2988
  TZ: "f-tz",
2957
- UA: "f-ua",
2958
2989
  UG: "f-ug",
2959
- US: "f-us",
2960
2990
  UY: "f-uy",
2961
- UZ: "f-uz",
2962
2991
  VA: "f-va",
2963
2992
  VC: "f-vc",
2964
2993
  VE: "f-ve",
2965
2994
  VG: "f-vg",
2966
2995
  VI: "f-vi",
2967
- VN: "f-vn",
2968
2996
  VU: "f-vu",
2969
2997
  WF: "f-wf",
2970
2998
  WS: "f-ws",
@@ -3032,11 +3060,11 @@ var lt = class {
3032
3060
  return (t = (n = e.match(/\*/g)) == null ? void 0 : n.length) == null ? 0 : t;
3033
3061
  }
3034
3062
  static makeList() {
3035
- let e = r(k.getList(), (e) => {
3063
+ let e = r(A.getList(), (e) => {
3036
3064
  if (e != null && e.phoneMask) return {
3037
3065
  phone: (e == null ? void 0 : e.phoneCode) && Number(e.phoneCode.replace(/[^0-9]+/g, "")) || void 0,
3038
3066
  within: (e == null ? void 0 : e.phoneWithin) || 0,
3039
- mask: j(e.phoneMask),
3067
+ mask: M(e.phoneMask),
3040
3068
  value: e.country
3041
3069
  };
3042
3070
  });
@@ -3080,7 +3108,7 @@ w(lt, "list", void 0), w(lt, "map", void 0);
3080
3108
  //#region src/classes/Global.ts
3081
3109
  var ut = class {
3082
3110
  static getItem() {
3083
- return E.get("__ui:global-instance__", () => ({}));
3111
+ return D.get("__ui:global-instance__", () => ({}));
3084
3112
  }
3085
3113
  static get(e) {
3086
3114
  var t;
@@ -3092,16 +3120,16 @@ var ut = class {
3092
3120
  }
3093
3121
  }, dt = class {
3094
3122
  constructor() {
3095
- w(this, "hash", void 0), w(this, "watch", {}), w(this, "block", !1), w(this, "time", void 0);
3123
+ w(this, "data", void 0), w(this, "watch", {}), w(this, "block", !1), w(this, "time", void 0);
3096
3124
  }
3097
3125
  get(e, t) {
3098
- let n = this.getHash();
3126
+ let n = this.getData();
3099
3127
  return !(e in n) && t && this.set(e, t), n[e];
3100
3128
  }
3101
3129
  set(e, t) {
3102
3130
  var n;
3103
3131
  let r = m(t);
3104
- return r !== ((n = this.hash) == null ? void 0 : n[e]) && (this.getHash()[e] = r, this.update()), this;
3132
+ return r !== ((n = this.data) == null ? void 0 : n[e]) && (this.getData()[e] = r, this.update()), this;
3105
3133
  }
3106
3134
  addWatch(e, t) {
3107
3135
  if (e in this.watch) {
@@ -3118,29 +3146,36 @@ var ut = class {
3118
3146
  reload() {
3119
3147
  return this.block ? setTimeout(() => this.reload(), 32) : this.initData(), this;
3120
3148
  }
3149
+ getData() {
3150
+ return this.data || this.init(), this.data;
3151
+ }
3152
+ initData() {
3153
+ let e = this.getLocation();
3154
+ return this.makeWatch(e), this.data = e, this;
3155
+ }
3156
+ makeWatch(e) {
3157
+ return r(this.watch, (t, n) => {
3158
+ var r;
3159
+ ((r = this.data) == null ? void 0 : r[n]) !== (e == null ? void 0 : e[n]) && t.forEach((t) => t(e[n]));
3160
+ }), this;
3161
+ }
3162
+ }, ft = class extends dt {
3163
+ init() {
3164
+ return this.initData(), s() && addEventListener("hashchange", () => this.reload()), this;
3165
+ }
3121
3166
  getLocation() {
3122
3167
  let e = {};
3123
3168
  if (s()) {
3124
3169
  let t = location.hash.matchAll(/([\w-]+)[:=]([^;]+)/gi);
3125
- for (let n of t) e[n[1]] = fe(n[2]);
3170
+ for (let n of t) e[n[1]] = E(n[2]);
3126
3171
  }
3127
3172
  return e;
3128
3173
  }
3129
- getHash() {
3130
- return this.hash || this.init(), this.hash;
3131
- }
3132
- init() {
3133
- return this.initData(), s() && addEventListener("hashchange", () => this.reload()), this;
3134
- }
3135
- initData() {
3136
- let e = this.getLocation();
3137
- return this.makeWatch(e), this.hash = e, this;
3138
- }
3139
3174
  update() {
3140
3175
  if (s()) {
3141
3176
  clearTimeout(this.time), this.block = !0;
3142
3177
  try {
3143
- let e = this.getHash();
3178
+ let e = this.getData();
3144
3179
  history.replaceState(null, "", `#${o(e, "=", ";")}`);
3145
3180
  } finally {
3146
3181
  this.time = setTimeout(() => {
@@ -3150,15 +3185,9 @@ var ut = class {
3150
3185
  }
3151
3186
  return this;
3152
3187
  }
3153
- makeWatch(e) {
3154
- return r(this.watch, (t, n) => {
3155
- var r;
3156
- ((r = this.hash) == null ? void 0 : r[n]) !== (e == null ? void 0 : e[n]) && t.forEach((t) => t(e[n]));
3157
- }), this;
3158
- }
3159
- }, ft = class {
3188
+ }, pt = class {
3160
3189
  static getItem() {
3161
- return E.get("__ui:hash-instance__", () => new dt());
3190
+ return D.get("__ui:hash-instance__", () => new ft());
3162
3191
  }
3163
3192
  static get(e, t) {
3164
3193
  return this.getItem().get(e, t);
@@ -3175,17 +3204,17 @@ var ut = class {
3175
3204
  static reload() {
3176
3205
  this.getItem().reload();
3177
3206
  }
3178
- }, pt = 320, mt = "--LOAD--", ht = class {
3207
+ }, mt = 320, ht = "--LOAD--", gt = class {
3179
3208
  static is(e) {
3180
3209
  return e in this.icons || this.getName(e) in this.icons;
3181
3210
  }
3182
3211
  static async get(e, t = "", n = 1e3 * 60 * 3) {
3183
3212
  let r = this.getRaw(e, t);
3184
- return typeof r == "string" ? r === mt && n > 0 ? (await this.wait(), this.get(e, t, n - pt)) : r : p(r) ? await r() : await r;
3213
+ return typeof r == "string" ? r === ht && n > 0 ? (await this.wait(), this.get(e, t, n - mt)) : r : p(r) ? await r() : await r;
3185
3214
  }
3186
3215
  static getAsync(e, t = "") {
3187
3216
  let n = this.getRaw(e, t);
3188
- return typeof n == "string" && n !== mt ? n : "";
3217
+ return typeof n == "string" && n !== ht ? n : "";
3189
3218
  }
3190
3219
  static getNameList() {
3191
3220
  return r(this.icons, (e, t) => t.replace(/^@/, ""));
@@ -3197,7 +3226,7 @@ var ut = class {
3197
3226
  this.icons[this.getName(e)] = t;
3198
3227
  }
3199
3228
  static addLoad(e) {
3200
- this.icons[this.getName(e)] = mt;
3229
+ this.icons[this.getName(e)] = ht;
3201
3230
  }
3202
3231
  static addGlobal(e, t) {
3203
3232
  this.icons[this.getName(e)] = `${this.getUrlGlobal()}${t}`;
@@ -3219,22 +3248,22 @@ var ut = class {
3219
3248
  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;
3220
3249
  }
3221
3250
  static wait() {
3222
- return new Promise((e) => setTimeout(() => e(), pt));
3251
+ return new Promise((e) => setTimeout(() => e(), mt));
3223
3252
  }
3224
3253
  };
3225
- w(ht, "icons", {}), w(ht, "url", "/icons/");
3254
+ w(gt, "icons", {}), w(gt, "url", "/icons/");
3226
3255
  //#endregion
3227
3256
  //#region src/functions/getElementItem.ts
3228
- function gt(e, t, n) {
3257
+ function _t(e, t, n) {
3229
3258
  var r, i;
3230
- return (r = (i = A(e)) == null ? void 0 : i[t]) == null ? n : r;
3259
+ return (r = (i = j(e)) == null ? void 0 : i[t]) == null ? n : r;
3231
3260
  }
3232
3261
  //#endregion
3233
3262
  //#region src/functions/setElementItem.ts
3234
- function _t(e, n, i) {
3235
- let a = A(e);
3263
+ function vt(e, n, i) {
3264
+ let a = j(e);
3236
3265
  if (a) {
3237
- let e = gt(a, n);
3266
+ let e = _t(a, n);
3238
3267
  if (t(e) && t(i)) r(i, (t, n) => {
3239
3268
  e[n] = m(t);
3240
3269
  });
@@ -3251,12 +3280,12 @@ function U(e, t = "div", i, a) {
3251
3280
  if (!s()) return;
3252
3281
  let o = document.createElement(t);
3253
3282
  return typeof i == "function" ? i(o) : n(i) && r(i, (e, t) => {
3254
- _t(o, t, e);
3283
+ vt(o, t, e);
3255
3284
  }), e == null || e.insertBefore(o, a == null ? null : a), o;
3256
3285
  }
3257
3286
  //#endregion
3258
3287
  //#region src/functions/encodeAttribute.ts
3259
- var vt = {
3288
+ var yt = {
3260
3289
  "&": "&amp;",
3261
3290
  "<": "&lt;",
3262
3291
  ">": "&gt;",
@@ -3266,7 +3295,7 @@ var vt = {
3266
3295
  function W(e) {
3267
3296
  return String(e).replace(/[&<>"']/g, (e) => {
3268
3297
  var t;
3269
- return (t = vt == null ? void 0 : vt[e]) == null ? e : t;
3298
+ return (t = yt == null ? void 0 : yt[e]) == null ? e : t;
3270
3299
  });
3271
3300
  }
3272
3301
  //#endregion
@@ -3323,7 +3352,7 @@ var G = class {
3323
3352
  return r ? `<meta ${this.getAttributeName()}="${e}" content="${r}">` : "";
3324
3353
  }
3325
3354
  toHtmlTitle(e) {
3326
- return me(e);
3355
+ return pe(e);
3327
3356
  }
3328
3357
  update() {
3329
3358
  return this.listMeta.forEach((e) => {
@@ -3333,25 +3362,25 @@ var G = class {
3333
3362
  }
3334
3363
  }, K = /* @__PURE__ */ function(e) {
3335
3364
  return e.title = "title", e.description = "description", e.keywords = "keywords", e.canonical = "canonical", e.robots = "robots", e.author = "author", e;
3336
- }({}), yt = /* @__PURE__ */ function(e) {
3365
+ }({}), bt = /* @__PURE__ */ function(e) {
3337
3366
  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;
3338
3367
  }({}), q = /* @__PURE__ */ function(e) {
3339
3368
  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;
3340
- }({}), bt = /* @__PURE__ */ function(e) {
3341
- 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;
3342
3369
  }({}), xt = /* @__PURE__ */ function(e) {
3343
- return e.inStock = "in stock", e.outOfStock = "out of stock", e.preorder = "preorder", e.backorder = "backorder", e.discontinued = "discontinued", e.pending = "pending", e;
3370
+ 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;
3344
3371
  }({}), St = /* @__PURE__ */ function(e) {
3345
- return e.new = "new", e.used = "used", e.refurbished = "refurbished", e;
3372
+ return e.inStock = "in stock", e.outOfStock = "out of stock", e.preorder = "preorder", e.backorder = "backorder", e.discontinued = "discontinued", e.pending = "pending", e;
3346
3373
  }({}), Ct = /* @__PURE__ */ function(e) {
3347
- return e.newborn = "newborn", e.infant = "infant", e.toddler = "toddler", e.kids = "kids", e.adult = "adult", e;
3374
+ return e.new = "new", e.used = "used", e.refurbished = "refurbished", e;
3348
3375
  }({}), wt = /* @__PURE__ */ function(e) {
3376
+ return e.newborn = "newborn", e.infant = "infant", e.toddler = "toddler", e.kids = "kids", e.adult = "adult", e;
3377
+ }({}), Tt = /* @__PURE__ */ function(e) {
3349
3378
  return e.female = "female", e.male = "male", e.unisex = "unisex", e;
3350
3379
  }({}), J = /* @__PURE__ */ function(e) {
3351
3380
  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;
3352
- }({}), Tt = /* @__PURE__ */ function(e) {
3381
+ }({}), Et = /* @__PURE__ */ function(e) {
3353
3382
  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;
3354
- }({}), Et = class extends G {
3383
+ }({}), Dt = class extends G {
3355
3384
  constructor() {
3356
3385
  super(Object.values(q), !0);
3357
3386
  }
@@ -3397,7 +3426,7 @@ var G = class {
3397
3426
  setSiteName(e) {
3398
3427
  return this.set(q.siteName, e);
3399
3428
  }
3400
- }, Dt = class extends G {
3429
+ }, Ot = class extends G {
3401
3430
  constructor() {
3402
3431
  super(Object.values(J));
3403
3432
  }
@@ -3443,9 +3472,9 @@ var G = class {
3443
3472
  setImage(e) {
3444
3473
  return this.set(J.image, e), this;
3445
3474
  }
3446
- }, Ot = class extends G {
3475
+ }, kt = class extends G {
3447
3476
  constructor() {
3448
- super(Object.values(K)), w(this, "suffix", void 0), w(this, "og", void 0), w(this, "twitter", void 0), this.og = new Et(), this.twitter = new Dt();
3477
+ super(Object.values(K)), w(this, "suffix", void 0), w(this, "og", void 0), w(this, "twitter", void 0), this.og = new Dt(), this.twitter = new Ot();
3449
3478
  }
3450
3479
  getOg() {
3451
3480
  return this.og;
@@ -3486,7 +3515,7 @@ var G = class {
3486
3515
  return s() && (document.title = t), this.set(K.title, t), this.og.setTitle(t), this.twitter.setTitle(t), this;
3487
3516
  }
3488
3517
  setKeywords(e) {
3489
- return this.set(K.keywords, j(e).join(", ")), this;
3518
+ return this.set(K.keywords, M(e).join(", ")), this;
3490
3519
  }
3491
3520
  setDescription(e) {
3492
3521
  return this.set(K.description, e), this;
@@ -3521,9 +3550,9 @@ var G = class {
3521
3550
  getSuffix() {
3522
3551
  return l(this.suffix) ? ` - ${this.suffix}` : "";
3523
3552
  }
3524
- }, kt = class {
3553
+ }, At = class {
3525
3554
  static getItem() {
3526
- return E.get("__ui:meta-instance__", () => new Ot());
3555
+ return D.get("__ui:meta-instance__", () => new kt());
3527
3556
  }
3528
3557
  static getOg() {
3529
3558
  return this.getItem().getOg();
@@ -3594,7 +3623,126 @@ var G = class {
3594
3623
  static htmlTitle() {
3595
3624
  return this.getItem().htmlTitle();
3596
3625
  }
3597
- }, At = class {
3626
+ }, Y = class e {
3627
+ static getInstance() {
3628
+ return D.get("__ui:url-item__", () => new e());
3629
+ }
3630
+ constructor(e) {
3631
+ w(this, "url", void 0), this.set(e);
3632
+ }
3633
+ get href() {
3634
+ return this.url.href;
3635
+ }
3636
+ get protocol() {
3637
+ return this.url.protocol;
3638
+ }
3639
+ get username() {
3640
+ return this.url.username;
3641
+ }
3642
+ get password() {
3643
+ return this.url.password;
3644
+ }
3645
+ get host() {
3646
+ return this.url.host;
3647
+ }
3648
+ get hostname() {
3649
+ return this.url.hostname;
3650
+ }
3651
+ get port() {
3652
+ return this.url.port;
3653
+ }
3654
+ get pathname() {
3655
+ return this.url.pathname;
3656
+ }
3657
+ get search() {
3658
+ return this.url.search;
3659
+ }
3660
+ get searchParams() {
3661
+ return this.url.searchParams;
3662
+ }
3663
+ get hash() {
3664
+ return this.url.hash;
3665
+ }
3666
+ get origin() {
3667
+ return this.url.origin;
3668
+ }
3669
+ hasParam(e) {
3670
+ return this.url.searchParams.has(e);
3671
+ }
3672
+ getParam(e) {
3673
+ var t;
3674
+ return (t = this.url.searchParams.get(e)) == null ? void 0 : t;
3675
+ }
3676
+ getParams() {
3677
+ let e = {};
3678
+ return this.url.searchParams.forEach((t, n) => {
3679
+ e[n] = E(t);
3680
+ }), e;
3681
+ }
3682
+ set(e) {
3683
+ return e ? e instanceof URL ? this.url = new URL(e.href) : /^[a-z0-9+.-]+:/i.test(e) ? this.url = new URL(e) : s() ? this.url = new URL(e, window.location.origin) : this.url = new URL(e, "http://localhost") : s() ? this.url = new URL(window.location.href) : this.url = new URL("http://localhost"), this;
3684
+ }
3685
+ setParam(e, t) {
3686
+ return this.url.searchParams.set(e, t), this;
3687
+ }
3688
+ setParams(e) {
3689
+ return Array.from(this.url.searchParams.keys()).forEach((e) => this.deleteParam(e)), r(e, (e, t) => {
3690
+ l(e) && this.setParam(t, String(e));
3691
+ }), this;
3692
+ }
3693
+ deleteParam(e) {
3694
+ return this.url.searchParams.delete(e), this;
3695
+ }
3696
+ toString() {
3697
+ return this.url.toString();
3698
+ }
3699
+ toJSON() {
3700
+ return this.url.toJSON();
3701
+ }
3702
+ }, jt = class extends dt {
3703
+ init() {
3704
+ return s() && addEventListener("popstate", () => {
3705
+ Y.getInstance().set(), this.reload();
3706
+ }), this.initData(), this;
3707
+ }
3708
+ getLocation() {
3709
+ return s() && Y.getInstance().set(), Y.getInstance().getParams();
3710
+ }
3711
+ update() {
3712
+ let e = this.getData(), t = Y.getInstance();
3713
+ if (t.setParams(e), s()) {
3714
+ clearTimeout(this.time), this.block = !0;
3715
+ try {
3716
+ let e = t.search, n = `${location.pathname}${e}${location.hash}`;
3717
+ history.replaceState(null, "", n);
3718
+ } finally {
3719
+ this.time = setTimeout(() => {
3720
+ this.block = !1;
3721
+ }, 120);
3722
+ }
3723
+ }
3724
+ return this;
3725
+ }
3726
+ }, Mt = class {
3727
+ static getItem() {
3728
+ return D.get("__ui:query-instance__", () => new jt());
3729
+ }
3730
+ static get(e, t) {
3731
+ return this.getItem().get(e, t);
3732
+ }
3733
+ static set(e, t) {
3734
+ this.getItem().set(e, t);
3735
+ }
3736
+ static addWatch(e, t) {
3737
+ this.getItem().addWatch(e, t);
3738
+ }
3739
+ static removeWatch(e, t) {
3740
+ this.getItem().removeWatch(e, t);
3741
+ }
3742
+ static reload() {
3743
+ this.getItem().reload();
3744
+ }
3745
+ }, Nt = class {
3598
3746
  constructor(e, t = 320, n = !1) {
3599
3747
  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();
3600
3748
  }
@@ -3632,7 +3780,7 @@ var G = class {
3632
3780
  stop() {
3633
3781
  return this.timerId && (clearTimeout(this.timerId), this.timerId = void 0), this;
3634
3782
  }
3635
- }, jt = class {
3783
+ }, Pt = class {
3636
3784
  static async is() {
3637
3785
  let e = await this.get();
3638
3786
  return e !== -1 && e <= 8;
@@ -3648,7 +3796,7 @@ var G = class {
3648
3796
  return t;
3649
3797
  }
3650
3798
  static getStorage() {
3651
- return new D("__ui:scrollbar__", !0);
3799
+ return new O("__ui:scrollbar__", !0);
3652
3800
  }
3653
3801
  static getCalculate() {
3654
3802
  return this.calculate;
@@ -3670,34 +3818,34 @@ var G = class {
3670
3818
  });
3671
3819
  }
3672
3820
  };
3673
- w(jt, "calculate", !1);
3821
+ w(Pt, "calculate", !1);
3674
3822
  //#endregion
3675
3823
  //#region src/functions/escapeExp.ts
3676
- function Y(e) {
3824
+ function X(e) {
3677
3825
  return String(e).replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
3678
3826
  }
3679
3827
  //#endregion
3680
3828
  //#region src/functions/getSeparatingSearchExp.ts
3681
- function Mt(e, t = 128) {
3829
+ function Ft(e, t = 128) {
3682
3830
  if (e instanceof RegExp) return e;
3683
3831
  if (!e || e.trim().length === 0 || e.length > t) return /^/;
3684
- let n = String(e).replace(/\s+/g, " ").trim().split(" ").map(Y).join("|");
3832
+ let n = String(e).replace(/\s+/g, " ").trim().split(" ").map(X).join("|");
3685
3833
  return RegExp(`(${n})`, "ig");
3686
3834
  }
3687
3835
  //#endregion
3688
3836
  //#region src/functions/addTagHighlightMatch.ts
3689
- var Nt = `___HIGHLIGHT_START_${f(1e5, 999999)}___`, Pt = `___HIGHLIGHT_END_${f(1e5, 999999)}___`, Ft = RegExp(`${Nt}|${Pt}`, "g");
3690
- function It(e, t, n = "sys-highlight-match", r = !1) {
3837
+ var It = `___HIGHLIGHT_START_${f(1e5, 999999)}___`, Lt = `___HIGHLIGHT_END_${f(1e5, 999999)}___`, Rt = RegExp(`${It}|${Lt}`, "g");
3838
+ function zt(e, t, n = "sys-highlight-match", r = !1) {
3691
3839
  let i = a(e);
3692
3840
  if (l(i) && l(t)) {
3693
- let e = i.replace(Mt(t), `${Nt}$1${Pt}`);
3694
- return r && (e = W(e)), e.replace(Ft, (e) => e === Nt ? `<span class="${n}">` : "</span>");
3841
+ let e = i.replace(Ft(t), `${It}$1${Lt}`);
3842
+ return r && (e = W(e)), e.replace(Rt, (e) => e === It ? `<span class="${n}">` : "</span>");
3695
3843
  }
3696
3844
  return r ? W(i) : i;
3697
3845
  }
3698
3846
  //#endregion
3699
3847
  //#region src/classes/SearchListData.ts
3700
- var Lt = class {
3848
+ var Bt = class {
3701
3849
  constructor(e, t, n, r) {
3702
3850
  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;
3703
3851
  }
@@ -3748,7 +3896,7 @@ var Lt = class {
3748
3896
  return e.replace(/\.([a-z0-9])/gi, (e, t) => t.toUpperCase()) + "Search";
3749
3897
  }
3750
3898
  addTag(e) {
3751
- return It(S(e), this.item.get(), this.options.getClassName());
3899
+ return zt(S(e), this.item.get(), this.options.getClassName());
3752
3900
  }
3753
3901
  generateCache() {
3754
3902
  if (!this.isList()) return [];
@@ -3772,7 +3920,7 @@ var Lt = class {
3772
3920
  resetCache() {
3773
3921
  this.listCache = void 0;
3774
3922
  }
3775
- }, Rt = class {
3923
+ }, Vt = class {
3776
3924
  constructor(e, t) {
3777
3925
  w(this, "value", void 0), w(this, "options", void 0), this.value = e, this.options = t;
3778
3926
  }
@@ -3792,28 +3940,28 @@ var Lt = class {
3792
3940
  };
3793
3941
  //#endregion
3794
3942
  //#region src/functions/getExp.ts
3795
- function zt(e, t = "ig", n = ":value") {
3796
- let r = Y(e);
3943
+ function Ht(e, t = "ig", n = ":value") {
3944
+ let r = X(e);
3797
3945
  return new RegExp(n.replace(/:value/g, r), t);
3798
3946
  }
3799
3947
  //#endregion
3800
3948
  //#region src/functions/getExactSearchExp.ts
3801
- function Bt(e) {
3802
- return zt(e, "i", "(:value)");
3949
+ function Ut(e) {
3950
+ return Ht(e, "i", "(:value)");
3803
3951
  }
3804
3952
  //#endregion
3805
3953
  //#region src/functions/getSearchExp.ts
3806
- function Vt(e, t = 128) {
3954
+ function Wt(e, t = 128) {
3807
3955
  if (!d(e) || e.trim().length === 0 || e.length > t) return /^/;
3808
3956
  let n = [];
3809
3957
  return a(e).split(" ").forEach((e) => {
3810
- let t = Y(e).trim();
3958
+ let t = X(e).trim();
3811
3959
  l(t) && n.push(`(?=.*?${t})`);
3812
3960
  }), RegExp(`^${n.join("")}`, "i");
3813
3961
  }
3814
3962
  //#endregion
3815
3963
  //#region src/classes/SearchListMatcher.ts
3816
- var Ht = class {
3964
+ var Gt = class {
3817
3965
  constructor(e, t) {
3818
3966
  w(this, "item", void 0), w(this, "options", void 0), w(this, "matcher", void 0), this.item = e, this.options = t, this.initMatcher();
3819
3967
  }
@@ -3830,9 +3978,9 @@ var Ht = class {
3830
3978
  this.initMatcher();
3831
3979
  }
3832
3980
  initMatcher() {
3833
- this.item.is() ? this.matcher = this.options.getFindExactMatch() ? Bt(this.item.get()) : Vt(this.item.get()) : this.matcher = void 0;
3981
+ this.item.is() ? this.matcher = this.options.getFindExactMatch() ? Ut(this.item.get()) : Wt(this.item.get()) : this.matcher = void 0;
3834
3982
  }
3835
- }, Ut = class {
3983
+ }, Kt = class {
3836
3984
  constructor(e) {
3837
3985
  w(this, "options", void 0), this.options = e;
3838
3986
  }
@@ -3862,12 +4010,12 @@ var Ht = class {
3862
4010
  setOptions(e) {
3863
4011
  return this.options = e, this;
3864
4012
  }
3865
- }, Wt = class {
4013
+ }, qt = class {
3866
4014
  constructor(e, t, n, r) {
3867
4015
  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) => {
3868
4016
  if (this.matcher.isSelection(t)) return this.data.toFormatItem(e, !0);
3869
4017
  if (this.options.getReturnEverything()) return this.data.toFormatItem(e, !1);
3870
- }), w(this, "callbackToNone", (e) => this.data.toFormatItem(e, !1)), this.options = new Ut(r), this.item = new Rt(n, this.options), this.matcher = new Ht(this.item, this.options), this.data = new Lt(e, t, this.item, this.options);
4018
+ }), w(this, "callbackToNone", (e) => this.data.toFormatItem(e, !1)), this.options = new Kt(r), this.item = new Vt(n, this.options), this.matcher = new Gt(this.item, this.options), this.data = new Bt(e, t, this.item, this.options);
3871
4019
  }
3872
4020
  getData() {
3873
4021
  return this.data;
@@ -3904,13 +4052,13 @@ var Ht = class {
3904
4052
  let e = this.data.getList();
3905
4053
  return e ? r(e, this.callbackToNone) : [];
3906
4054
  }
3907
- }, Gt = () => E.get("__ui:storage-callback__", () => ({})), Kt = class e {
4055
+ }, Jt = () => D.get("__ui:storage-callback__", () => ({})), Yt = class e {
3908
4056
  static getInstance(t, n = "main") {
3909
4057
  return new e(t, n);
3910
4058
  }
3911
4059
  constructor(e, t = "main") {
3912
4060
  w(this, "name", void 0), w(this, "group", void 0), w(this, "callbacks", []), w(this, "loading", !1), this.name = e, this.group = t;
3913
- let n = `${t}:${e}`, r = Gt();
4061
+ let n = `${t}:${e}`, r = Jt();
3914
4062
  if (n in r) return r[n];
3915
4063
  r[n] = this;
3916
4064
  }
@@ -3940,7 +4088,7 @@ var Ht = class {
3940
4088
  for (let { callback: t, isOnce: n } of this.callbacks) await Je(t, e), n && this.removeCallback(t);
3941
4089
  return this;
3942
4090
  }
3943
- }, qt = [
4091
+ }, Xt = [
3944
4092
  "d",
3945
4093
  "e",
3946
4094
  "f",
@@ -3960,10 +4108,10 @@ var Ht = class {
3960
4108
  "t",
3961
4109
  "u",
3962
4110
  "v"
3963
- ], Jt = RegExp(`%(${qt.join("|")})`, "g"), Yt = (e, t = {}) => {
4111
+ ], Zt = RegExp(`%(${Xt.join("|")})`, "g"), Qt = (e, t = {}) => {
3964
4112
  let r = String(e);
3965
- return Array.isArray(t) && e.match(/%[a-z]/) && (r = r.replace(Jt, (e, n) => {
3966
- let r = qt.indexOf(n);
4113
+ return Array.isArray(t) && e.match(/%[a-z]/) && (r = r.replace(Zt, (e, n) => {
4114
+ let r = Xt.indexOf(n);
3967
4115
  if (r !== -1) {
3968
4116
  var i;
3969
4117
  return String((i = t == null ? void 0 : t[r]) == null ? "" : i);
@@ -3982,11 +4130,11 @@ var Ht = class {
3982
4130
  }
3983
4131
  return e;
3984
4132
  })), r;
3985
- }, Xt = (e) => {
4133
+ }, $t = (e) => {
3986
4134
  var t;
3987
4135
  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(I.getStatus().getStatus()))));
3988
- }, Zt = "global", Qt = 160, $t = class {
3989
- constructor(e, t = () => k.getLanguage(), n = () => k.getLocation()) {
4136
+ }, en = "global", tn = 160, nn = class {
4137
+ constructor(e, t = () => A.getLanguage(), n = () => A.getLocation()) {
3990
4138
  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);
3991
4139
  }
3992
4140
  isFile() {
@@ -4015,7 +4163,7 @@ var Ht = class {
4015
4163
  if (e in this.files) return e;
4016
4164
  let t = this.getLanguage();
4017
4165
  if (t in this.files) return t;
4018
- if ("global" in this.files) return Zt;
4166
+ if ("global" in this.files) return en;
4019
4167
  }
4020
4168
  getByData(e) {
4021
4169
  if (e in this.data) return this.data[e];
@@ -4026,8 +4174,8 @@ var Ht = class {
4026
4174
  return t && (this.data[e] = t), t;
4027
4175
  }
4028
4176
  }
4029
- }, en = class {
4030
- constructor(e = "/api/translate", t = "list", n = new $t()) {
4177
+ }, rn = class {
4178
+ constructor(e = "/api/translate", t = "list", n = new nn()) {
4031
4179
  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;
4032
4180
  }
4033
4181
  async get(e, t) {
@@ -4116,11 +4264,11 @@ var Ht = class {
4116
4264
  return `${this.files.getLanguage()}-${e}`;
4117
4265
  }
4118
4266
  getNameByGlobal(e) {
4119
- return `${Zt}-${e}`;
4267
+ return `${en}-${e}`;
4120
4268
  }
4121
4269
  getNamesNone(e) {
4122
4270
  let t = [];
4123
- return j(e).forEach((e) => {
4271
+ return M(e).forEach((e) => {
4124
4272
  e !== "__TRANSLATE_START__" && e !== "__TRANSLATE_END__" && !this.hasName(e) && t.push(e);
4125
4273
  }), t;
4126
4274
  }
@@ -4133,14 +4281,14 @@ var Ht = class {
4133
4281
  timeout: 12e3,
4134
4282
  global: !0
4135
4283
  });
4136
- return Xt(e) || T.on({
4284
+ return $t(e) || T.on({
4137
4285
  group: "translate",
4138
4286
  code: "error",
4139
4287
  details: e
4140
4288
  }), e == null ? {} : e;
4141
4289
  }
4142
4290
  replacement(e, t) {
4143
- return t ? Yt(e, t) : e;
4291
+ return t ? Qt(e, t) : e;
4144
4292
  }
4145
4293
  async make() {
4146
4294
  let e;
@@ -4152,12 +4300,12 @@ var Ht = class {
4152
4300
  this.data[this.getName(t)] = (n = e == null ? void 0 : e[t]) == null ? "" : n;
4153
4301
  }), this.cache = [];
4154
4302
  }
4155
- }, tn = class {
4303
+ }, an = class {
4156
4304
  static async get(e, t) {
4157
4305
  return this.getItem().get(e, t);
4158
4306
  }
4159
4307
  static getItem() {
4160
- return this.item || (this.item = new en()), this.item;
4308
+ return this.item || (this.item = new rn()), this.item;
4161
4309
  }
4162
4310
  static getSync(e, t = !1, n) {
4163
4311
  return this.getItem().getSync(e, t, n);
@@ -4196,73 +4344,18 @@ var Ht = class {
4196
4344
  e.url && this.getItem().setUrl(e.url), e.propsName && this.getItem().setPropsName(e.propsName), typeof e.readApi == "boolean" && this.getItem().setReadApi(e.readApi);
4197
4345
  }
4198
4346
  };
4199
- w(tn, "item", void 0);
4200
- //#endregion
4201
- //#region src/classes/UrlItem.ts
4202
- var nn = class e {
4203
- static getInstance() {
4204
- return E.get("__ui:url-item__", () => new e());
4205
- }
4206
- constructor(e) {
4207
- w(this, "url", void 0), this.set(e);
4208
- }
4209
- get href() {
4210
- return this.url.href;
4211
- }
4212
- get protocol() {
4213
- return this.url.protocol;
4214
- }
4215
- get username() {
4216
- return this.url.username;
4217
- }
4218
- get password() {
4219
- return this.url.password;
4220
- }
4221
- get host() {
4222
- return this.url.host;
4223
- }
4224
- get hostname() {
4225
- return this.url.hostname;
4226
- }
4227
- get port() {
4228
- return this.url.port;
4229
- }
4230
- get pathname() {
4231
- return this.url.pathname;
4232
- }
4233
- get search() {
4234
- return this.url.search;
4235
- }
4236
- get searchParams() {
4237
- return this.url.searchParams;
4238
- }
4239
- get hash() {
4240
- return this.url.hash;
4241
- }
4242
- get origin() {
4243
- return this.url.origin;
4244
- }
4245
- set(e) {
4246
- return e ? e instanceof URL ? this.url = new URL(e.href) : /^[a-z0-9+.-]+:/i.test(e) ? this.url = new URL(e) : s() ? this.url = new URL(e, window.location.origin) : this.url = new URL(e, "http://localhost") : s() ? this.url = new URL(window.location.href) : this.url = new URL("http://localhost"), this;
4247
- }
4248
- toString() {
4249
- return this.url.toString();
4250
- }
4251
- toJSON() {
4252
- return this.url.toJSON();
4253
- }
4254
- };
4347
+ w(an, "item", void 0);
4255
4348
  //#endregion
4256
4349
  //#region src/functions/arrFill.ts
4257
- function rn(e, t) {
4350
+ function on(e, t) {
4258
4351
  return Array(t).fill(e);
4259
4352
  }
4260
4353
  //#endregion
4261
4354
  //#region src/functions/blobToBase64.ts
4262
- var an = () => on() !== void 0, on = () => {
4355
+ var sn = () => cn() !== void 0, cn = () => {
4263
4356
  var e;
4264
4357
  return (e = globalThis) == null ? void 0 : e.Buffer;
4265
- }, sn = async (e) => new Promise((t, n) => {
4358
+ }, ln = async (e) => new Promise((t, n) => {
4266
4359
  if (typeof FileReader < "u") {
4267
4360
  let r = new FileReader();
4268
4361
  r.onloadend = () => {
@@ -4273,33 +4366,33 @@ var an = () => on() !== void 0, on = () => {
4273
4366
  t(r.result.replace(/^data:.*?,/, ""));
4274
4367
  }, r.onerror = n, r.readAsDataURL(e);
4275
4368
  } else n();
4276
- }), cn = (e) => {
4369
+ }), un = (e) => {
4277
4370
  var t;
4278
4371
  return ((t = globalThis) == null ? void 0 : t.Buffer).from(e).toString("base64");
4279
4372
  };
4280
- async function ln(e, t = !1) {
4281
- let n = s() ? await sn(e) : an() ? cn(await e.arrayBuffer()) : void 0;
4373
+ async function dn(e, t = !1) {
4374
+ let n = s() ? await ln(e) : sn() ? un(await e.arrayBuffer()) : void 0;
4282
4375
  if (n) return t ? n : `data:${e.type};base64,${n}`;
4283
4376
  }
4284
4377
  //#endregion
4285
4378
  //#region src/functions/capitalize.ts
4286
- function un(e, t = !1) {
4379
+ function fn(e, t = !1) {
4287
4380
  let n = String(e);
4288
- return n.length > 0 ? t ? n.charAt(0).toLocaleUpperCase(k.getLocation()) + n.slice(1) : n.charAt(0).toUpperCase() + n.slice(1) : n;
4381
+ return n.length > 0 ? t ? n.charAt(0).toLocaleUpperCase(A.getLocation()) + n.slice(1) : n.charAt(0).toUpperCase() + n.slice(1) : n;
4289
4382
  }
4290
4383
  //#endregion
4291
4384
  //#region src/functions/copyObject.ts
4292
- function X(e) {
4385
+ function Z(e) {
4293
4386
  return JSON.parse(JSON.stringify(e));
4294
4387
  }
4295
4388
  //#endregion
4296
4389
  //#region src/functions/copyObjectLite.ts
4297
- function dn(e, t) {
4390
+ function pn(e, t) {
4298
4391
  return Object.assign({}, e, t);
4299
4392
  }
4300
4393
  //#endregion
4301
4394
  //#region src/functions/domQuerySelector.ts
4302
- function fn(e) {
4395
+ function mn(e) {
4303
4396
  if (s()) {
4304
4397
  var t;
4305
4398
  return (t = document.querySelector(e)) == null ? void 0 : t;
@@ -4307,67 +4400,67 @@ function fn(e) {
4307
4400
  }
4308
4401
  //#endregion
4309
4402
  //#region src/functions/domQuerySelectorAll.ts
4310
- function pn(e) {
4403
+ function hn(e) {
4311
4404
  if (s()) return document.querySelectorAll(e);
4312
4405
  }
4313
4406
  //#endregion
4314
4407
  //#region src/functions/getElementImage.ts
4315
- function Z(e) {
4408
+ function gn(e) {
4316
4409
  return d(e) ? U(void 0, "img", { src: e }) : e;
4317
4410
  }
4318
4411
  //#endregion
4319
4412
  //#region src/functions/resizeImageByMax.ts
4320
- function mn(e, t = "auto") {
4413
+ function _n(e, t = "auto") {
4321
4414
  switch (t) {
4322
4415
  case "auto": return e.naturalWidth >= e.naturalHeight;
4323
4416
  case "width": return !0;
4324
4417
  case "height": return !1;
4325
4418
  }
4326
4419
  }
4327
- function hn(e, t, n = "auto", r) {
4328
- let i = Z(e);
4420
+ function vn(e, t, n = "auto", r) {
4421
+ let i = gn(e);
4329
4422
  if (s() && i && i.naturalWidth && i.naturalHeight && (i.naturalWidth > t && (n === "auto" || n === "width") || i.naturalHeight > t && (n === "auto" || n === "height"))) {
4330
4423
  var a;
4331
- let e = mn(i, n), o = (a = document.createElement("canvas")) == null ? void 0 : a.getContext("2d");
4424
+ let e = _n(i, n), o = (a = document.createElement("canvas")) == null ? void 0 : a.getContext("2d");
4332
4425
  if (o) return o.canvas.width = e ? t : i.naturalWidth / i.naturalHeight * t, o.canvas.height = e ? i.naturalHeight / i.naturalWidth * t : t, o.drawImage(i, 0, 0, o.canvas.width, o.canvas.height), o.canvas.toDataURL(r);
4333
4426
  }
4334
4427
  }
4335
4428
  //#endregion
4336
4429
  //#region src/functions/ensureMaxSize.ts
4337
- async function gn(e, t = .56, n = "image/jpeg") {
4430
+ async function yn(e, t = .56, n = "image/jpeg") {
4338
4431
  return new Promise((r) => {
4339
4432
  if (!s()) {
4340
4433
  r("");
4341
4434
  return;
4342
4435
  }
4343
- let i = new Blob([e], { type: n }), a = URL.createObjectURL(i), o = Z(a);
4436
+ let i = new Blob([e], { type: n }), a = URL.createObjectURL(i), o = gn(a);
4344
4437
  o ? (o.onload = () => {
4345
- let e = hn(o, t * o.naturalWidth, "width", n);
4438
+ let e = vn(o, t * o.naturalWidth, "width", n);
4346
4439
  r(e == null ? "" : e), URL.revokeObjectURL(a);
4347
4440
  }, o.onerror = () => {
4348
4441
  URL.revokeObjectURL(a), r("");
4349
- }) : ln(i).then((e) => r(String(e == null ? "" : e)));
4442
+ }) : dn(i).then((e) => r(String(e == null ? "" : e)));
4350
4443
  });
4351
4444
  }
4352
4445
  //#endregion
4353
4446
  //#region src/functions/eventStopPropagation.ts
4354
- function _n(e) {
4447
+ function bn(e) {
4355
4448
  e.preventDefault(), e.stopPropagation();
4356
4449
  }
4357
4450
  //#endregion
4358
4451
  //#region src/functions/frame.ts
4359
- function vn(e, t, n) {
4452
+ function xn(e, t, n) {
4360
4453
  let r = () => {
4361
- e(), s() && t != null && t() ? vn(e, t, n) : n == null || n();
4454
+ e(), s() && t != null && t() ? xn(e, t, n) : n == null || n();
4362
4455
  };
4363
4456
  s() ? requestAnimationFrame(r) : r();
4364
4457
  }
4365
4458
  //#endregion
4366
4459
  //#region src/functions/getArrayHighlightMatch.ts
4367
- function yn(e, t) {
4460
+ function Sn(e, t) {
4368
4461
  let n = a(e);
4369
4462
  if (l(n) && l(t)) {
4370
- let e = [], r = Mt(t), i = 0, a;
4463
+ let e = [], r = Ft(t), i = 0, a;
4371
4464
  for (; (a = r.exec(n)) !== null && a.index !== r.lastIndex;) a.index > i && e.push({
4372
4465
  text: n.substring(i, a.index),
4373
4466
  isMatch: !1
@@ -4387,8 +4480,8 @@ function yn(e, t) {
4387
4480
  }
4388
4481
  //#endregion
4389
4482
  //#region src/functions/getAttributes.ts
4390
- function bn(e) {
4391
- let t = {}, n = A(e);
4483
+ function Cn(e) {
4484
+ let t = {}, n = j(e);
4392
4485
  if (n) for (let e of n.attributes) {
4393
4486
  var r;
4394
4487
  t[e.name] = (r = (e == null ? void 0 : e.value) || (e == null ? void 0 : e.textContent)) == null ? void 0 : r;
@@ -4397,7 +4490,7 @@ function bn(e) {
4397
4490
  }
4398
4491
  //#endregion
4399
4492
  //#region src/functions/getClipboardData.ts
4400
- async function xn(e) {
4493
+ async function wn(e) {
4401
4494
  if (s()) try {
4402
4495
  var t, n;
4403
4496
  return (t = e == null || (n = e.clipboardData) == null ? void 0 : n.getData("text")) == null ? await navigator.clipboard.readText() || "" : t;
@@ -4412,35 +4505,35 @@ async function xn(e) {
4412
4505
  }
4413
4506
  //#endregion
4414
4507
  //#region src/functions/getCurrentDate.ts
4415
- function Sn(e = "datetime") {
4508
+ function Tn(e = "datetime") {
4416
4509
  return new it(void 0, e).standard();
4417
4510
  }
4418
4511
  //#endregion
4419
4512
  //#region src/functions/getCurrentTime.ts
4420
- function Cn() {
4513
+ function En() {
4421
4514
  return Date.now();
4422
4515
  }
4423
4516
  //#endregion
4424
4517
  //#region src/functions/getElementId.ts
4425
- var Q, wn = () => {
4518
+ var Q, Dn = () => {
4426
4519
  let e = Q == null ? void 0 : Q();
4427
4520
  if (e) return String(e);
4428
- let t = E.get("__ui:getElementId__", () => ({ id: 1e5 }));
4521
+ let t = D.get("__ui:getElementId__", () => ({ id: 1e5 }));
4429
4522
  return `id-${t.id++}`;
4430
4523
  };
4431
- function Tn(e, t) {
4524
+ function On(e, t) {
4432
4525
  if (e) {
4433
- let n = A(e);
4434
- if (n) return l(n.id) || n.setAttribute("id", wn()), t ? `#${n.id}${t}`.trim() : n.id;
4526
+ let n = j(e);
4527
+ if (n) return l(n.id) || n.setAttribute("id", Dn()), t ? `#${n.id}${t}`.trim() : n.id;
4435
4528
  }
4436
- return wn();
4529
+ return Dn();
4437
4530
  }
4438
- function En(e) {
4531
+ function kn(e) {
4439
4532
  Q || (Q = e);
4440
4533
  }
4441
4534
  //#endregion
4442
4535
  //#region src/functions/getFirst.ts
4443
- function Dn(e) {
4536
+ function An(e) {
4444
4537
  if (i(e)) return e == null ? void 0 : e[0];
4445
4538
  if (t(e)) {
4446
4539
  var n;
@@ -4450,18 +4543,18 @@ function Dn(e) {
4450
4543
  }
4451
4544
  //#endregion
4452
4545
  //#region src/functions/getKey.ts
4453
- function On(e) {
4546
+ function jn(e) {
4454
4547
  var t, n, r;
4455
4548
  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;
4456
4549
  }
4457
4550
  //#endregion
4458
4551
  //#region src/functions/getLength.ts
4459
- function kn(e) {
4552
+ function Mn(e) {
4460
4553
  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;
4461
4554
  }
4462
4555
  //#endregion
4463
4556
  //#region src/functions/getLengthOfAllArray.ts
4464
- function An(e) {
4557
+ function Nn(e) {
4465
4558
  return r(e, (e) => {
4466
4559
  var t;
4467
4560
  return (t = e == null ? void 0 : e.length) == null ? 0 : t;
@@ -4469,41 +4562,41 @@ function An(e) {
4469
4562
  }
4470
4563
  //#endregion
4471
4564
  //#region src/functions/getMaxLengthAllArray.ts
4472
- function jn(e) {
4565
+ function Pn(e) {
4473
4566
  if (!l(e)) return 0;
4474
- let t = An(e);
4567
+ let t = Nn(e);
4475
4568
  return t.length > 1e4 ? t.reduce((e, t) => Math.max(e, t)) : Math.max(...t);
4476
4569
  }
4477
4570
  //#endregion
4478
4571
  //#region src/functions/getMinLengthAllArray.ts
4479
- function Mn(e) {
4572
+ function Fn(e) {
4480
4573
  if (!l(e)) return 0;
4481
- let t = An(e);
4574
+ let t = Nn(e);
4482
4575
  return t.length > 1e4 ? t.reduce((e, t) => Math.min(e, t)) : Math.min(...t);
4483
4576
  }
4484
4577
  //#endregion
4485
4578
  //#region src/functions/getMouseClientX.ts
4486
- function Nn(e) {
4579
+ function In(e) {
4487
4580
  var t, n;
4488
4581
  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;
4489
4582
  }
4490
4583
  //#endregion
4491
4584
  //#region src/functions/getMouseClientY.ts
4492
- function Pn(e) {
4585
+ function Ln(e) {
4493
4586
  var t, n;
4494
4587
  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;
4495
4588
  }
4496
4589
  //#endregion
4497
4590
  //#region src/functions/getMouseClient.ts
4498
- function Fn(e) {
4591
+ function Rn(e) {
4499
4592
  return {
4500
- x: Nn(e),
4501
- y: Pn(e)
4593
+ x: In(e),
4594
+ y: Ln(e)
4502
4595
  };
4503
4596
  }
4504
4597
  //#endregion
4505
4598
  //#region src/functions/getObjectByKeys.ts
4506
- function In(e, t) {
4599
+ function zn(e, t) {
4507
4600
  let r = {};
4508
4601
  return n(e) && t.forEach((t) => {
4509
4602
  t in e && e[t] !== void 0 && (r[t] = e[t]);
@@ -4511,7 +4604,7 @@ function In(e, t) {
4511
4604
  }
4512
4605
  //#endregion
4513
4606
  //#region src/functions/getObjectNoUndefined.ts
4514
- function Ln(e, t = void 0) {
4607
+ function Bn(e, t = void 0) {
4515
4608
  let n = {};
4516
4609
  return r(e, (e, r) => {
4517
4610
  e !== t && (n[r] = e);
@@ -4519,42 +4612,42 @@ function Ln(e, t = void 0) {
4519
4612
  }
4520
4613
  //#endregion
4521
4614
  //#region src/functions/getObjectOrNone.ts
4522
- function Rn(e) {
4615
+ function Vn(e) {
4523
4616
  return n(e) ? e : {};
4524
4617
  }
4525
4618
  //#endregion
4526
4619
  //#region src/functions/getOnlyText.ts
4527
- function zn(e) {
4620
+ function Hn(e) {
4528
4621
  return S(e).replace(/[^\p{L}\p{N}\s]+/gu, "").trim();
4529
4622
  }
4530
4623
  //#endregion
4531
4624
  //#region src/functions/strFill.ts
4532
- function Bn(e, t) {
4625
+ function Un(e, t) {
4533
4626
  return String(e).repeat(t);
4534
4627
  }
4535
4628
  //#endregion
4536
4629
  //#region src/functions/getRandomText.ts
4537
- function Vn(e, t, n = "#", r = 2, i = 12) {
4630
+ function Wn(e, t, n = "#", r = 2, i = 12) {
4538
4631
  let a = f(e, t), o = [];
4539
- for (let e = 0; e < a; e++) o.push(Bn(n, f(r, i)));
4632
+ for (let e = 0; e < a; e++) o.push(Un(n, f(r, i)));
4540
4633
  return o.join(" ");
4541
4634
  }
4542
4635
  //#endregion
4543
4636
  //#region src/functions/getStepPercent.ts
4544
- function Hn(e, t) {
4637
+ function Gn(e, t) {
4545
4638
  let n = e == null ? 0 : e;
4546
4639
  return t > n ? 100 / (t - n) : 0;
4547
4640
  }
4548
4641
  //#endregion
4549
4642
  //#region src/functions/getStepValue.ts
4550
- function Un(e, t) {
4643
+ function Kn(e, t) {
4551
4644
  let n = e == null ? 0 : e;
4552
4645
  return t > n ? (t - n) / 100 : 0;
4553
4646
  }
4554
4647
  //#endregion
4555
4648
  //#region src/functions/goScroll.ts
4556
- var Wn = 0;
4557
- function Gn(e, t, n) {
4649
+ var qn = 0;
4650
+ function Jn(e, t, n) {
4558
4651
  if (!s()) return;
4559
4652
  let r = t == null ? void 0 : t.closest(e);
4560
4653
  if (t && r && r.scrollHeight !== r.offsetHeight) {
@@ -4562,12 +4655,12 @@ function Gn(e, t, n) {
4562
4655
  if (n) {
4563
4656
  let a = n.getBoundingClientRect();
4564
4657
  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);
4565
- } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - Wn : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + Wn);
4658
+ } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - qn : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + qn);
4566
4659
  }
4567
4660
  }
4568
4661
  //#endregion
4569
4662
  //#region src/functions/goScrollSmooth.ts
4570
- function Kn(e, t, n = 0) {
4663
+ function Yn(e, t, n = 0) {
4571
4664
  if (!s()) return;
4572
4665
  let r = (t == null ? void 0 : t.behavior) || "smooth";
4573
4666
  if ("scrollIntoView" in e && !n) {
@@ -4589,7 +4682,7 @@ function Kn(e, t, n = 0) {
4589
4682
  }
4590
4683
  //#endregion
4591
4684
  //#region src/functions/goScrollTo.ts
4592
- function qn(e, t, n = "smooth") {
4685
+ function Xn(e, t, n = "smooth") {
4593
4686
  if (!s() || !e || !t) return;
4594
4687
  let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
4595
4688
  e.scrollBy({
@@ -4600,13 +4693,13 @@ function qn(e, t, n = "smooth") {
4600
4693
  }
4601
4694
  //#endregion
4602
4695
  //#region src/functions/isShare.ts
4603
- function Jn() {
4696
+ function Zn() {
4604
4697
  return s() && typeof navigator < "u" && !!navigator.share;
4605
4698
  }
4606
4699
  //#endregion
4607
4700
  //#region src/functions/handleShare.ts
4608
- async function Yn(e) {
4609
- if (Jn() && navigator.canShare && navigator.canShare(e)) try {
4701
+ async function Qn(e) {
4702
+ if (Zn() && navigator.canShare && navigator.canShare(e)) try {
4610
4703
  return await navigator.share(e), !0;
4611
4704
  } catch (e) {
4612
4705
  T.on({
@@ -4619,20 +4712,20 @@ async function Yn(e) {
4619
4712
  }
4620
4713
  //#endregion
4621
4714
  //#region src/functions/inArray.ts
4622
- function Xn(e, t) {
4715
+ function $n(e, t) {
4623
4716
  return e.includes(t);
4624
4717
  }
4625
4718
  //#endregion
4626
4719
  //#region src/functions/initScrollbarOffset.ts
4627
- async function Zn() {
4720
+ async function er() {
4628
4721
  if (s()) {
4629
- let e = await jt.get();
4722
+ let e = await Pt.get();
4630
4723
  document.body.style.setProperty("--sys-scrollbar-offset", `${e}px`);
4631
4724
  }
4632
4725
  }
4633
4726
  //#endregion
4634
4727
  //#region src/functions/intersectKey.ts
4635
- function Qn(e, n) {
4728
+ function tr(e, n) {
4636
4729
  let i = {};
4637
4730
  return t(e) && t(n) && r(e, (e, t) => {
4638
4731
  t in n && (i[t] = e);
@@ -4640,7 +4733,7 @@ function Qn(e, n) {
4640
4733
  }
4641
4734
  //#endregion
4642
4735
  //#region src/functions/isDifferent.ts
4643
- function $n(e, t) {
4736
+ function nr(e, t) {
4644
4737
  let n = Object.keys(e).length !== Object.keys(t).length;
4645
4738
  return n || r(e, (e, r) => {
4646
4739
  e !== (t == null ? void 0 : t[r]) && (n = !0);
@@ -4648,25 +4741,25 @@ function $n(e, t) {
4648
4741
  }
4649
4742
  //#endregion
4650
4743
  //#region src/functions/isElementVisible.ts
4651
- function er(e) {
4744
+ function rr(e) {
4652
4745
  if (!s()) return !1;
4653
- let t = A(e);
4746
+ let t = j(e);
4654
4747
  if (!t || "isConnected" in t && t.isConnected === !1) return !1;
4655
4748
  let n = window.getComputedStyle(t);
4656
4749
  return n.display !== "none" && n.visibility !== "hidden" && n.opacity !== "0" && t.offsetWidth !== 0 && t.offsetHeight !== 0;
4657
4750
  }
4658
4751
  //#endregion
4659
4752
  //#region src/functions/isInput.ts
4660
- var tr = (e) => {
4753
+ var ir = (e) => {
4661
4754
  if (e instanceof HTMLElement) {
4662
4755
  let t = e.tagName.toLowerCase();
4663
4756
  return !!(t === "input" || t === "textarea" || t === "select" || e.isContentEditable || e.getAttribute("contenteditable") === "true") && !(e != null && e.readOnly) && !(e != null && e.disabled);
4664
4757
  }
4665
4758
  return !1;
4666
- }, nr = (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 ? !tr(e.target) : !t : !1;
4759
+ }, ar = (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 ? !ir(e.target) : !t : !1;
4667
4760
  //#endregion
4668
4761
  //#region src/functions/isFloat.ts
4669
- function rr(e) {
4762
+ function or(e) {
4670
4763
  switch (typeof e) {
4671
4764
  case "number": return !0;
4672
4765
  case "string": return /^-?\d+(\.\d+)?$/.test(e);
@@ -4675,21 +4768,21 @@ function rr(e) {
4675
4768
  }
4676
4769
  //#endregion
4677
4770
  //#region src/functions/isIntegerBetween.ts
4678
- function ir(e, t) {
4771
+ function sr(e, t) {
4679
4772
  let n = Math.floor(t);
4680
4773
  return e >= n && e < n + 1;
4681
4774
  }
4682
4775
  //#endregion
4683
4776
  //#region src/functions/isSelectedByList.ts
4684
- function ar(e, t) {
4777
+ function cr(e, t) {
4685
4778
  return Array.isArray(e) ? e.every((e) => x(e, t)) : x(e, t);
4686
4779
  }
4687
4780
  //#endregion
4688
4781
  //#region src/functions/isTab.ts
4689
- var or = (e) => e.key === "Tab" || e.code === "Tab" || e.keyCode === 9;
4782
+ var lr = (e) => e.key === "Tab" || e.code === "Tab" || e.keyCode === 9;
4690
4783
  //#endregion
4691
4784
  //#region src/functions/removeCommonPrefix.ts
4692
- function sr(e, t) {
4785
+ function ur(e, t) {
4693
4786
  if (e.startsWith(t)) return e.slice(t.length).trim();
4694
4787
  let n = 0;
4695
4788
  for (; e[n] === t[n] && n < e.length && n < t.length;) n++;
@@ -4697,35 +4790,35 @@ function sr(e, t) {
4697
4790
  }
4698
4791
  //#endregion
4699
4792
  //#region src/functions/replaceComponentName.ts
4700
- var cr = (e, t, n) => {
4793
+ var dr = (e, t, n) => {
4701
4794
  var r;
4702
4795
  return e == null || (r = e.replace(RegExp(`<${t}`, "ig"), `<${n}`)) == null || (r = r.replace(RegExp(`</${t}`, "ig"), `</${n}`)) == null ? void 0 : r.trim();
4703
4796
  };
4704
4797
  //#endregion
4705
4798
  //#region src/functions/uniqueArray.ts
4706
- function lr(e) {
4799
+ function fr(e) {
4707
4800
  return [...new Set(e)];
4708
4801
  }
4709
4802
  //#endregion
4710
4803
  //#region src/functions/replaceRecursive.ts
4711
4804
  function $(e, n, i = !0) {
4712
- let a = X(e);
4805
+ let a = Z(e);
4713
4806
  return t(e) && t(n) && r(n, (n, r) => {
4714
4807
  let o = e == null ? void 0 : e[r];
4715
- t(o) && t(n) ? i && Array.isArray(o) && Array.isArray(n) ? a[r] = X(lr([...o, ...n])) : a[r] = $(Array.isArray(o) ? { ...o } : o, n, i) : a[r] = t(n) ? X(n) : n;
4808
+ t(o) && t(n) ? i && Array.isArray(o) && Array.isArray(n) ? a[r] = Z(fr([...o, ...n])) : a[r] = $(Array.isArray(o) ? { ...o } : o, n, i) : a[r] = t(n) ? Z(n) : n;
4716
4809
  }), a;
4717
4810
  }
4718
4811
  //#endregion
4719
4812
  //#region src/functions/replaceTemplate.ts
4720
- function ur(e, t) {
4813
+ function pr(e, t) {
4721
4814
  let n = e;
4722
4815
  return r(t, (e, t) => {
4723
- n = n.replace(zt(`[${t}]`), m(e));
4816
+ n = n.replace(Ht(`[${t}]`), m(e));
4724
4817
  }), n;
4725
4818
  }
4726
4819
  //#endregion
4727
4820
  //#region src/functions/secondToTime.ts
4728
- function dr(e, t) {
4821
+ function mr(e, t) {
4729
4822
  let n = b(e);
4730
4823
  if (n > 0) {
4731
4824
  let e = String(Math.floor(n / 60)).padStart(2, "0"), r = String(n % 60).padStart(2, "0");
@@ -4735,7 +4828,7 @@ function dr(e, t) {
4735
4828
  }
4736
4829
  //#endregion
4737
4830
  //#region src/functions/setValues.ts
4738
- function fr(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: a = !0, notEmpty: o = !1 }) {
4831
+ function hr(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: a = !0, notEmpty: o = !1 }) {
4739
4832
  if (n) {
4740
4833
  if (i(e)) {
4741
4834
  let n = e.indexOf(t), i = [...e];
@@ -4747,48 +4840,48 @@ function fr(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: a = !0, no
4747
4840
  }
4748
4841
  //#endregion
4749
4842
  //#region src/functions/splice.ts
4750
- function pr(e, n, i) {
4843
+ function gr(e, n, i) {
4751
4844
  if (t(e) && t(n)) {
4752
4845
  if (i) {
4753
4846
  let a = {}, o = !1;
4754
4847
  return r(e, (e, r) => {
4755
- !o && (i === r || i === e) ? (o = !0, a = $(a, n)) : o ? a = $(a, { [r]: e }) : a[r] = t(e) ? X(e) : e;
4848
+ !o && (i === r || i === e) ? (o = !0, a = $(a, n)) : o ? a = $(a, { [r]: e }) : a[r] = t(e) ? Z(e) : e;
4756
4849
  }), o ? a : $(e, n);
4757
4850
  }
4758
4851
  if (t(n)) return $(e, n);
4759
4852
  }
4760
- return X(e);
4853
+ return Z(e);
4761
4854
  }
4762
4855
  //#endregion
4763
4856
  //#region src/functions/toCamelCaseFirst.ts
4764
- function mr(e) {
4857
+ function _r(e) {
4765
4858
  return at(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
4766
4859
  }
4767
4860
  //#endregion
4768
4861
  //#region src/functions/toKebabCase.ts
4769
- function hr(e) {
4862
+ function vr(e) {
4770
4863
  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());
4771
4864
  }
4772
4865
  //#endregion
4773
4866
  //#region src/functions/toNumberByMax.ts
4774
- function gr(e, t, n, r) {
4867
+ function yr(e, t, n, r) {
4775
4868
  let i = b(e), a = b(t);
4776
- return t && a < i ? `${_r(a, n, r)}+` : _r(i, n, r);
4869
+ return t && a < i ? `${br(a, n, r)}+` : br(i, n, r);
4777
4870
  }
4778
- var _r = (e, t, n) => t ? new R(n).number(e) : e;
4871
+ var br = (e, t, n) => t ? new R(n).number(e) : e;
4779
4872
  //#endregion
4780
4873
  //#region src/functions/toPercent.ts
4781
- function vr(e, t) {
4874
+ function xr(e, t) {
4782
4875
  return e === 0 ? t : 1 / e * t;
4783
4876
  }
4784
4877
  //#endregion
4785
4878
  //#region src/functions/toPercentBy100.ts
4786
- function yr(e, t) {
4787
- return vr(e, t) * 100;
4879
+ function Sr(e, t) {
4880
+ return xr(e, t) * 100;
4788
4881
  }
4789
4882
  //#endregion
4790
4883
  //#region src/functions/uint8ArrayToBase64.ts
4791
- function br(e) {
4884
+ function Cr(e) {
4792
4885
  let t = "";
4793
4886
  for (let n of e) t += String.fromCharCode(n);
4794
4887
  if (s()) return window.btoa(t);
@@ -4800,7 +4893,7 @@ function br(e) {
4800
4893
  }
4801
4894
  //#endregion
4802
4895
  //#region src/functions/writeClipboardData.ts
4803
- async function xr(e) {
4896
+ async function wr(e) {
4804
4897
  if (s()) try {
4805
4898
  await navigator.clipboard.writeText(e);
4806
4899
  } catch (n) {
@@ -4809,4 +4902,4 @@ async function xr(e) {
4809
4902
  }
4810
4903
  }
4811
4904
  //#endregion
4812
- export { I as Api, N as ApiCache, ze as ApiDataReturn, Be as ApiDefault, Ue as ApiError, Ve as ApiErrorItem, He as ApiErrorStorage, We as ApiHeaders, Ke as ApiHydration, Ze as ApiInstance, F as ApiMethodItem, qe as ApiPreparation, Xe as ApiResponse, P as ApiStatus, Qe as BroadcastMessage, tt as Cache, et as CacheItem, nt as CacheStatic, Ee as Cookie, Ce as CookieBlock, Se as CookieBlockInstance, O as CookieStorage, D as DataStorage, it as Datetime, T as ErrorCenter, le as ErrorCenterHandler, ue as ErrorCenterInstance, Ne as EventItem, ot as Formatters, H as FormattersType, st as GEO_FLAG_ICON_NAME, k as Geo, ct as GeoFlag, ke as GeoInstance, R as GeoIntl, lt as GeoPhone, ut as Global, ft as Hash, dt as HashInstance, ht as Icons, M as Loading, Fe as LoadingInstance, Ot as Meta, G as MetaManager, Et as MetaOg, Ct as MetaOpenGraphAge, xt as MetaOpenGraphAvailability, St as MetaOpenGraphCondition, wt as MetaOpenGraphGender, q as MetaOpenGraphTag, bt as MetaOpenGraphType, yt as MetaRobots, kt as MetaStatic, K as MetaTag, Dt as MetaTwitter, Tt as MetaTwitterCard, J as MetaTwitterTag, At as ResumableTimer, jt as ScrollbarWidth, Wt as SearchList, Lt as SearchListData, Rt as SearchListItem, Ht as SearchListMatcher, Ut as SearchListOptions, E as ServerStorage, Kt as StorageCallback, Zt as TRANSLATE_GLOBAL_PREFIX, Qt as TRANSLATE_TIME_OUT, tn as Translate, $t as TranslateFile, en as TranslateInstance, De as UI_GEO_COOKIE_KEY, nn as UrlItem, It as addTagHighlightMatch, S as anyToString, Yt as applyTemplate, rn as arrFill, ln as blobToBase64, un as capitalize, X as copyObject, dn as copyObjectLite, U as createElement, fn as domQuerySelector, pn as domQuerySelectorAll, W as encodeAttribute, me as encodeLiteAttribute, gn as ensureMaxSize, Y as escapeExp, _n as eventStopPropagation, m as executeFunction, Je as executePromise, r as forEach, vn as frame, yn as getArrayHighlightMatch, bn as getAttributes, xn as getClipboardData, rt as getColumn, Sn as getCurrentDate, Cn as getCurrentTime, A as getElement, Tn as getElementId, Z as getElementImage, gt as getElementItem, je as getElementOrWindow, he as getElementSafeScript, Bt as getExactSearchExp, zt as getExp, Dn as getFirst, ge as getHydrationData, V as getItemByPath, On as getKey, kn as getLength, An as getLengthOfAllArray, jn as getMaxLengthAllArray, Mn as getMinLengthAllArray, Fn as getMouseClient, Nn as getMouseClientX, Pn as getMouseClientY, In as getObjectByKeys, Ln as getObjectNoUndefined, Rn as getObjectOrNone, zn as getOnlyText, Vn as getRandomText, o as getRequestString, Vt as getSearchExp, Mt as getSeparatingSearchExp, Hn as getStepPercent, Un as getStepValue, Gn as goScroll, Kn as goScrollSmooth, qn as goScrollTo, Yn as handleShare, Xn as inArray, En as initGetElementId, Zn as initScrollbarOffset, Qn as intersectKey, Xt as isApiSuccess, i as isArray, $n as isDifferent, ae as isDomData, s as isDomRuntime, er as isElementVisible, nr as isEnter, l as isFilled, rr as isFloat, p as isFunction, Me as isInDom, tr as isInput, ir as isIntegerBetween, c as isNull, g as isNumber, t as isObject, n as isObjectNotArray, u as isOnLine, x as isSelected, ar as isSelectedByList, Jn as isShare, d as isString, or as isTab, Ae as isWindow, f as random, sr as removeCommonPrefix, cr as replaceComponentName, $ as replaceRecursive, ur as replaceTemplate, hn as resizeImageByMax, dr as secondToTime, _t as setElementItem, fr as setValues, ee as sleep, pr as splice, Bn as strFill, oe as strSplit, j as toArray, at as toCamelCase, mr as toCamelCaseFirst, L as toDate, hr as toKebabCase, b as toNumber, gr as toNumberByMax, vr as toPercent, yr as toPercentBy100, a as toString, fe as transformation, br as uint8ArrayToBase64, lr as uniqueArray, xr as writeClipboardData };
4905
+ export { I 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, Ze as ApiInstance, F as ApiMethodItem, qe as ApiPreparation, Xe as ApiResponse, Le as ApiStatus, Qe as BroadcastMessage, tt as Cache, et as CacheItem, nt as CacheStatic, Te as Cookie, Se as CookieBlock, xe as CookieBlockInstance, k as CookieStorage, O as DataStorage, it as Datetime, T as ErrorCenter, le as ErrorCenterHandler, ue as ErrorCenterInstance, Me as EventItem, ot as Formatters, H as FormattersType, st as GEO_FLAG_ICON_NAME, A as Geo, ct as GeoFlag, Oe as GeoInstance, R as GeoIntl, lt as GeoPhone, ut as Global, pt as Hash, ft as HashInstance, gt as Icons, N as Loading, Pe as LoadingInstance, kt as Meta, G as MetaManager, Dt as MetaOg, wt as MetaOpenGraphAge, St as MetaOpenGraphAvailability, Ct as MetaOpenGraphCondition, Tt as MetaOpenGraphGender, q as MetaOpenGraphTag, xt as MetaOpenGraphType, bt as MetaRobots, At as MetaStatic, K as MetaTag, Ot as MetaTwitter, Et as MetaTwitterCard, J as MetaTwitterTag, Mt as Query, jt as QueryInstance, Nt as ResumableTimer, Pt as ScrollbarWidth, qt as SearchList, Bt as SearchListData, Vt as SearchListItem, Gt as SearchListMatcher, Kt as SearchListOptions, D as ServerStorage, Yt as StorageCallback, en as TRANSLATE_GLOBAL_PREFIX, tn as TRANSLATE_TIME_OUT, an as Translate, nn as TranslateFile, rn as TranslateInstance, Ee as UI_GEO_COOKIE_KEY, dt as UrlInstanceAbstract, Y as UrlItem, zt as addTagHighlightMatch, S as anyToString, Qt as applyTemplate, on as arrFill, dn as blobToBase64, fn as capitalize, Z as copyObject, pn as copyObjectLite, U as createElement, mn as domQuerySelector, hn as domQuerySelectorAll, W as encodeAttribute, pe as encodeLiteAttribute, yn as ensureMaxSize, X as escapeExp, bn as eventStopPropagation, m as executeFunction, Je as executePromise, r as forEach, xn as frame, Sn as getArrayHighlightMatch, Cn as getAttributes, wn as getClipboardData, rt as getColumn, Tn as getCurrentDate, En as getCurrentTime, j as getElement, On as getElementId, gn as getElementImage, _t as getElementItem, Ae as getElementOrWindow, me as getElementSafeScript, Ut as getExactSearchExp, Ht as getExp, An as getFirst, he as getHydrationData, V as getItemByPath, jn as getKey, Mn as getLength, Nn as getLengthOfAllArray, Pn as getMaxLengthAllArray, Fn as getMinLengthAllArray, Rn as getMouseClient, In as getMouseClientX, Ln as getMouseClientY, zn as getObjectByKeys, Bn as getObjectNoUndefined, Vn as getObjectOrNone, Hn as getOnlyText, Wn as getRandomText, o as getRequestString, Wt as getSearchExp, Ft as getSeparatingSearchExp, Gn as getStepPercent, Kn as getStepValue, Jn as goScroll, Yn as goScrollSmooth, Xn as goScrollTo, Qn as handleShare, $n as inArray, kn as initGetElementId, er as initScrollbarOffset, tr as intersectKey, $t as isApiSuccess, i as isArray, nr as isDifferent, ae as isDomData, s as isDomRuntime, rr as isElementVisible, ar as isEnter, l as isFilled, or as isFloat, p as isFunction, je as isInDom, ir as isInput, sr as isIntegerBetween, c as isNull, g as isNumber, t as isObject, n as isObjectNotArray, u as isOnLine, x as isSelected, cr as isSelectedByList, Zn as isShare, d as isString, lr as isTab, ke as isWindow, f as random, ur as removeCommonPrefix, dr as replaceComponentName, $ as replaceRecursive, pr as replaceTemplate, vn as resizeImageByMax, mr as secondToTime, vt as setElementItem, hr as setValues, ee as sleep, gr as splice, Un as strFill, oe as strSplit, M as toArray, at as toCamelCase, _r as toCamelCaseFirst, L as toDate, vr as toKebabCase, b as toNumber, yr as toNumberByMax, xr as toPercent, Sr as toPercentBy100, a as toString, E as transformation, Cr as uint8ArrayToBase64, fr as uniqueArray, wr as writeClipboardData };