@dxtmisha/functional-basic 1.8.9 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/ai-description.md +6 -13
  3. package/ai-mcp-resources.json +14 -2
  4. package/ai-resources/design-config.md +104 -0
  5. package/ai-resources/error-center.md +150 -0
  6. package/ai-types.md +1 -3233
  7. package/dist/library.d.ts +9991 -189
  8. package/dist/library.js +851 -835
  9. package/package.json +7 -2
  10. package/ai-resources/prompts.json +0 -8
  11. package/dist/classes/Api.d.ts +0 -209
  12. package/dist/classes/ApiCache.d.ts +0 -152
  13. package/dist/classes/ApiDataReturn.d.ts +0 -79
  14. package/dist/classes/ApiDefault.d.ts +0 -49
  15. package/dist/classes/ApiError.d.ts +0 -39
  16. package/dist/classes/ApiErrorItem.d.ts +0 -70
  17. package/dist/classes/ApiErrorStorage.d.ts +0 -92
  18. package/dist/classes/ApiHeaders.d.ts +0 -37
  19. package/dist/classes/ApiHydration.d.ts +0 -40
  20. package/dist/classes/ApiInstance.d.ts +0 -299
  21. package/dist/classes/ApiPreparation.d.ts +0 -58
  22. package/dist/classes/ApiResponse.d.ts +0 -154
  23. package/dist/classes/ApiStatus.d.ts +0 -131
  24. package/dist/classes/BroadcastMessage.d.ts +0 -76
  25. package/dist/classes/Cache.d.ts +0 -39
  26. package/dist/classes/CacheItem.d.ts +0 -65
  27. package/dist/classes/CacheStatic.d.ts +0 -36
  28. package/dist/classes/Cookie.d.ts +0 -54
  29. package/dist/classes/CookieBlock.d.ts +0 -30
  30. package/dist/classes/CookieBlockInstance.d.ts +0 -24
  31. package/dist/classes/CookieStorage.d.ts +0 -175
  32. package/dist/classes/DataStorage.d.ts +0 -107
  33. package/dist/classes/Datetime.d.ts +0 -571
  34. package/dist/classes/ErrorCenter.d.ts +0 -86
  35. package/dist/classes/ErrorCenterHandler.d.ts +0 -85
  36. package/dist/classes/ErrorCenterInstance.d.ts +0 -101
  37. package/dist/classes/EventItem.d.ts +0 -230
  38. package/dist/classes/Formatters.d.ts +0 -157
  39. package/dist/classes/Geo.d.ts +0 -172
  40. package/dist/classes/GeoFlag.d.ts +0 -135
  41. package/dist/classes/GeoInstance.d.ts +0 -264
  42. package/dist/classes/GeoIntl.d.ts +0 -291
  43. package/dist/classes/GeoPhone.d.ts +0 -110
  44. package/dist/classes/GeoUnit.d.ts +0 -207
  45. package/dist/classes/Global.d.ts +0 -29
  46. package/dist/classes/Hash.d.ts +0 -57
  47. package/dist/classes/HashInstance.d.ts +0 -29
  48. package/dist/classes/Icons.d.ts +0 -128
  49. package/dist/classes/Loading.d.ts +0 -62
  50. package/dist/classes/LoadingInstance.d.ts +0 -87
  51. package/dist/classes/Meta.d.ts +0 -189
  52. package/dist/classes/MetaManager.d.ts +0 -123
  53. package/dist/classes/MetaOg.d.ts +0 -120
  54. package/dist/classes/MetaStatic.d.ts +0 -179
  55. package/dist/classes/MetaTwitter.d.ts +0 -120
  56. package/dist/classes/Query.d.ts +0 -57
  57. package/dist/classes/QueryInstance.d.ts +0 -29
  58. package/dist/classes/ResumableTimer.d.ts +0 -85
  59. package/dist/classes/ScrollbarWidth.d.ts +0 -52
  60. package/dist/classes/SearchList.d.ts +0 -132
  61. package/dist/classes/SearchListData.d.ts +0 -144
  62. package/dist/classes/SearchListItem.d.ts +0 -49
  63. package/dist/classes/SearchListMatcher.d.ts +0 -58
  64. package/dist/classes/SearchListOptions.d.ts +0 -66
  65. package/dist/classes/ServerStorage.d.ts +0 -110
  66. package/dist/classes/StorageCallback.d.ts +0 -86
  67. package/dist/classes/Translate.d.ts +0 -117
  68. package/dist/classes/TranslateFile.d.ts +0 -81
  69. package/dist/classes/TranslateInstance.d.ts +0 -203
  70. package/dist/classes/UrlInstanceAbstract.d.ts +0 -98
  71. package/dist/classes/UrlItem.d.ts +0 -119
  72. package/dist/functions/addTagHighlightMatch.d.ts +0 -11
  73. package/dist/functions/anyToString.d.ts +0 -10
  74. package/dist/functions/applyTemplate.d.ts +0 -10
  75. package/dist/functions/arrFill.d.ts +0 -9
  76. package/dist/functions/blobToBase64.d.ts +0 -9
  77. package/dist/functions/capitalize.d.ts +0 -9
  78. package/dist/functions/copyObject.d.ts +0 -10
  79. package/dist/functions/copyObjectLite.d.ts +0 -9
  80. package/dist/functions/createElement.d.ts +0 -21
  81. package/dist/functions/domContentLoaded.d.ts +0 -13
  82. package/dist/functions/domQuerySelector.d.ts +0 -8
  83. package/dist/functions/domQuerySelectorAll.d.ts +0 -8
  84. package/dist/functions/encodeAttribute.d.ts +0 -8
  85. package/dist/functions/encodeLiteAttribute.d.ts +0 -8
  86. package/dist/functions/ensureMaxSize.d.ts +0 -10
  87. package/dist/functions/escapeExp.d.ts +0 -7
  88. package/dist/functions/eventStopPropagation.d.ts +0 -7
  89. package/dist/functions/executeFunction.d.ts +0 -12
  90. package/dist/functions/executePromise.d.ts +0 -11
  91. package/dist/functions/forEach.d.ts +0 -14
  92. package/dist/functions/frame.d.ts +0 -10
  93. package/dist/functions/getArrayHighlightMatch.d.ts +0 -10
  94. package/dist/functions/getAttributes.d.ts +0 -9
  95. package/dist/functions/getClipboardData.d.ts +0 -9
  96. package/dist/functions/getColumn.d.ts +0 -10
  97. package/dist/functions/getCurrentDate.d.ts +0 -19
  98. package/dist/functions/getCurrentTime.d.ts +0 -15
  99. package/dist/functions/getElement.d.ts +0 -9
  100. package/dist/functions/getElementId.d.ts +0 -26
  101. package/dist/functions/getElementImage.d.ts +0 -8
  102. package/dist/functions/getElementItem.d.ts +0 -12
  103. package/dist/functions/getElementOrWindow.d.ts +0 -8
  104. package/dist/functions/getElementSafeScript.d.ts +0 -9
  105. package/dist/functions/getExactSearchExp.d.ts +0 -8
  106. package/dist/functions/getExp.d.ts +0 -14
  107. package/dist/functions/getFirst.d.ts +0 -8
  108. package/dist/functions/getHydrationData.d.ts +0 -10
  109. package/dist/functions/getItemByPath.d.ts +0 -9
  110. package/dist/functions/getKey.d.ts +0 -8
  111. package/dist/functions/getLast.d.ts +0 -8
  112. package/dist/functions/getLength.d.ts +0 -10
  113. package/dist/functions/getLengthOfAllArray.d.ts +0 -8
  114. package/dist/functions/getMaxLengthAllArray.d.ts +0 -9
  115. package/dist/functions/getMinLengthAllArray.d.ts +0 -8
  116. package/dist/functions/getMouseClient.d.ts +0 -9
  117. package/dist/functions/getMouseClientX.d.ts +0 -8
  118. package/dist/functions/getMouseClientY.d.ts +0 -8
  119. package/dist/functions/getObjectByKeys.d.ts +0 -8
  120. package/dist/functions/getObjectNoUndefined.d.ts +0 -9
  121. package/dist/functions/getObjectOrNone.d.ts +0 -8
  122. package/dist/functions/getOnlyText.d.ts +0 -8
  123. package/dist/functions/getRandomItem.d.ts +0 -10
  124. package/dist/functions/getRandomText.d.ts +0 -12
  125. package/dist/functions/getRequestString.d.ts +0 -11
  126. package/dist/functions/getSearchExp.d.ts +0 -12
  127. package/dist/functions/getSeparatingSearchExp.d.ts +0 -9
  128. package/dist/functions/getStepPercent.d.ts +0 -9
  129. package/dist/functions/getStepValue.d.ts +0 -9
  130. package/dist/functions/goScroll.d.ts +0 -10
  131. package/dist/functions/goScrollSmooth.d.ts +0 -10
  132. package/dist/functions/goScrollTo.d.ts +0 -10
  133. package/dist/functions/handleShare.d.ts +0 -10
  134. package/dist/functions/inArray.d.ts +0 -9
  135. package/dist/functions/initScrollbarOffset.d.ts +0 -7
  136. package/dist/functions/intersectKey.d.ts +0 -9
  137. package/dist/functions/isApiSuccess.d.ts +0 -9
  138. package/dist/functions/isArray.d.ts +0 -8
  139. package/dist/functions/isDifferent.d.ts +0 -10
  140. package/dist/functions/isDomData.d.ts +0 -7
  141. package/dist/functions/isDomRuntime.d.ts +0 -10
  142. package/dist/functions/isElementVisible.d.ts +0 -11
  143. package/dist/functions/isEnter.d.ts +0 -9
  144. package/dist/functions/isFilled.d.ts +0 -10
  145. package/dist/functions/isFloat.d.ts +0 -8
  146. package/dist/functions/isFunction.d.ts +0 -9
  147. package/dist/functions/isInDom.d.ts +0 -9
  148. package/dist/functions/isInput.d.ts +0 -8
  149. package/dist/functions/isIntegerBetween.d.ts +0 -9
  150. package/dist/functions/isMetaKey.d.ts +0 -8
  151. package/dist/functions/isNull.d.ts +0 -9
  152. package/dist/functions/isNumber.d.ts +0 -8
  153. package/dist/functions/isObject.d.ts +0 -8
  154. package/dist/functions/isObjectNotArray.d.ts +0 -8
  155. package/dist/functions/isOnLine.d.ts +0 -7
  156. package/dist/functions/isSelected.d.ts +0 -9
  157. package/dist/functions/isSelectedByList.d.ts +0 -9
  158. package/dist/functions/isShare.d.ts +0 -7
  159. package/dist/functions/isString.d.ts +0 -8
  160. package/dist/functions/isTab.d.ts +0 -8
  161. package/dist/functions/isWindow.d.ts +0 -7
  162. package/dist/functions/random.d.ts +0 -9
  163. package/dist/functions/removeCommonPrefix.d.ts +0 -9
  164. package/dist/functions/replaceComponentName.d.ts +0 -9
  165. package/dist/functions/replaceRecursive.d.ts +0 -11
  166. package/dist/functions/replaceTemplate.d.ts +0 -10
  167. package/dist/functions/resizeImageByMax.d.ts +0 -19
  168. package/dist/functions/secondToTime.d.ts +0 -9
  169. package/dist/functions/setElementItem.d.ts +0 -11
  170. package/dist/functions/setValues.d.ts +0 -18
  171. package/dist/functions/sleep.d.ts +0 -8
  172. package/dist/functions/sortList.d.ts +0 -11
  173. package/dist/functions/splice.d.ts +0 -13
  174. package/dist/functions/strFill.d.ts +0 -9
  175. package/dist/functions/strSplit.d.ts +0 -12
  176. package/dist/functions/toArray.d.ts +0 -17
  177. package/dist/functions/toCamelCase.d.ts +0 -8
  178. package/dist/functions/toCamelCaseFirst.d.ts +0 -8
  179. package/dist/functions/toDate.d.ts +0 -8
  180. package/dist/functions/toKebabCase.d.ts +0 -15
  181. package/dist/functions/toNumber.d.ts +0 -19
  182. package/dist/functions/toNumberByMax.d.ts +0 -11
  183. package/dist/functions/toNumberPositive.d.ts +0 -9
  184. package/dist/functions/toPercent.d.ts +0 -9
  185. package/dist/functions/toPercentBy100.d.ts +0 -9
  186. package/dist/functions/toString.d.ts +0 -8
  187. package/dist/functions/transformation.d.ts +0 -21
  188. package/dist/functions/uint8ArrayToBase64.d.ts +0 -8
  189. package/dist/functions/uniqueArray.d.ts +0 -8
  190. package/dist/functions/writeClipboardData.d.ts +0 -8
  191. package/dist/media/errorCauseList.d.ts +0 -2
  192. package/dist/types/apiTypes.d.ts +0 -259
  193. package/dist/types/basicTypes.d.ts +0 -131
  194. package/dist/types/errorCenterTypes.d.ts +0 -50
  195. package/dist/types/formattersTypes.d.ts +0 -224
  196. package/dist/types/geoTypes.d.ts +0 -142
  197. package/dist/types/metaTypes.d.ts +0 -586
  198. package/dist/types/searchTypes.d.ts +0 -53
  199. package/dist/types/sortTypes.d.ts +0 -20
  200. package/dist/types/translateTypes.d.ts +0 -54
package/dist/library.js CHANGED
@@ -1,69 +1,70 @@
1
- import { geo as e } from "@dxtmisha/media";
1
+ import e from "@oxc-project/runtime/helpers/defineProperty";
2
+ import { geo as t } from "@dxtmisha/media";
2
3
  //#region src/functions/isObject.ts
3
- function t(e) {
4
+ function n(e) {
4
5
  return !!(e && typeof e == "object");
5
6
  }
6
7
  //#endregion
7
8
  //#region src/functions/isObjectNotArray.ts
8
- function n(e) {
9
- return t(e) && !Array.isArray(e);
9
+ function r(e) {
10
+ return n(e) && !Array.isArray(e);
10
11
  }
11
12
  //#endregion
12
13
  //#region src/functions/forEach.ts
13
- function r(e, n, r) {
14
- if (t(e)) {
15
- let t = [], i = (e, i, a) => {
16
- let o = n(e, i, a);
17
- (r || o !== void 0) && t.push(o);
14
+ function i(e, t, r) {
15
+ if (n(e)) {
16
+ let n = [], i = (e, i, a) => {
17
+ let o = t(e, i, a);
18
+ (r || o !== void 0) && n.push(o);
18
19
  };
19
20
  if (Array.isArray(e)) e.forEach((t, n) => i(t, n, e));
20
21
  else if (e instanceof Map) e.forEach((t, n) => i(t, n, e));
21
22
  else if (e instanceof Set) e.forEach((t) => i(t, t, e));
22
23
  else for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && i(e[t], t, e);
23
- return t;
24
+ return n;
24
25
  }
25
26
  return [];
26
27
  }
27
28
  //#endregion
28
29
  //#region src/functions/isArray.ts
29
- function i(e) {
30
+ function a(e) {
30
31
  return Array.isArray(e);
31
32
  }
32
33
  //#endregion
33
34
  //#region src/functions/toString.ts
34
- function a(e) {
35
+ function o(e) {
35
36
  return String(e == null ? "" : e);
36
37
  }
37
38
  //#endregion
38
39
  //#region src/functions/getRequestString.ts
39
- function o(e, n = "=", s = "&", c) {
40
- return r(e, (r, l) => {
41
- let u = encodeURIComponent(a(l).trim());
40
+ function s(e, t = "=", r = "&", c) {
41
+ return i(e, (i, l) => {
42
+ let u = encodeURIComponent(o(l).trim());
42
43
  if (u !== "") {
43
- let l = c ? `${c}[${i(e) ? "" : u}]` : u;
44
- return t(r) ? o(r, n, s, l) : `${l}${n}${encodeURIComponent(a(r))}`;
44
+ let l = c ? `${c}[${a(e) ? "" : u}]` : u;
45
+ return n(i) ? s(i, t, r, l) : `${l}${t}${encodeURIComponent(o(i))}`;
45
46
  }
46
- }).sort().join(s);
47
+ }).sort().join(r);
47
48
  }
48
49
  //#endregion
49
50
  //#region src/functions/isDomRuntime.ts
50
- function s() {
51
+ function c() {
51
52
  return typeof window < "u" && !!window.document;
52
53
  }
53
54
  //#endregion
54
55
  //#region src/functions/isNull.ts
55
- function c(e) {
56
+ function l(e) {
56
57
  return e == null;
57
58
  }
58
59
  //#endregion
59
60
  //#region src/functions/isFilled.ts
60
- function l(e, t) {
61
+ function u(e, t) {
61
62
  if (e) {
62
63
  if (t && e === "0") return !0;
63
64
  switch (typeof e) {
64
65
  case "function":
65
66
  case "symbol": return !0;
66
- case "object": return Array.isArray(e) ? e.length > 0 : e instanceof RegExp ? !0 : e instanceof Map || e instanceof Set ? e.size > 0 : Object.values(e).some((e) => !c(e));
67
+ case "object": return Array.isArray(e) ? e.length > 0 : e instanceof RegExp ? !0 : e instanceof Map || e instanceof Set ? e.size > 0 : Object.values(e).some((e) => !l(e));
67
68
  case "string": return ![
68
69
  "",
69
70
  "undefined",
@@ -79,17 +80,17 @@ function l(e, t) {
79
80
  }
80
81
  //#endregion
81
82
  //#region src/functions/isOnLine.ts
82
- function u() {
83
- return !s() || typeof navigator > "u" || navigator.onLine;
83
+ function d() {
84
+ return !c() || typeof navigator > "u" || navigator.onLine;
84
85
  }
85
86
  //#endregion
86
87
  //#region src/functions/isString.ts
87
- function d(e) {
88
+ function f(e) {
88
89
  return typeof e == "string";
89
90
  }
90
91
  //#endregion
91
92
  //#region src/functions/random.ts
92
- function f(e, t) {
93
+ function p(e, t) {
93
94
  return Math.floor(Math.random() * (t - e + 1) + e);
94
95
  }
95
96
  //#endregion
@@ -99,111 +100,73 @@ function ee(e) {
99
100
  }
100
101
  //#endregion
101
102
  //#region src/functions/isFunction.ts
102
- function p(e) {
103
+ function m(e) {
103
104
  return e instanceof Function || typeof e == "function";
104
105
  }
105
106
  //#endregion
106
107
  //#region src/functions/executeFunction.ts
107
- function m(e, ...t) {
108
- return p(e) ? e(...t) : e;
108
+ function h(e, ...t) {
109
+ return m(e) ? e(...t) : e;
109
110
  }
110
111
  //#endregion
111
112
  //#region src/functions/isNumber.ts
112
- var h = /^-?[0-9]+(\.[0-9]+)?$/;
113
- function g(e) {
113
+ var g = /^-?[0-9]+(\.[0-9]+)?$/;
114
+ function _(e) {
114
115
  switch (typeof e) {
115
116
  case "number": return Number.isFinite(e);
116
117
  case "bigint": return !0;
117
- case "string": return h.test(e.trim());
118
+ case "string": return g.test(e.trim());
118
119
  default: return !1;
119
120
  }
120
121
  }
121
122
  //#endregion
122
123
  //#region src/functions/toNumber.ts
123
- var _ = /[^-+\d., ]+/g, v = /( [0-9]{3}[ ,.]|[0-9] [0-9])/, te = / /g, y = /,/g, ne = /,[0-9]{3}[,.]/, re = /[.][0-9]{3}[,.]/, ie = /[.]/g;
124
- function b(e) {
124
+ var v = /[^-+\d., ]+/g, te = /( [0-9]{3}[ ,.]|[0-9] [0-9])/, y = / /g, b = /,/g, ne = /,[0-9]{3}[,.]/, re = /[.][0-9]{3}[,.]/, ie = /[.]/g;
125
+ function x(e) {
125
126
  if (typeof e == "number") return Number.isFinite(e) && e || 0;
126
- if (l(e) && d(e)) {
127
- let t = e.replace(_, "");
128
- return t = v.test(t) ? t.replace(te, "").replace(y, ".") : ne.test(t) ? t.replace(y, "") : re.test(t) ? t.replace(ie, "").replace(y, ".") : t.replace(y, "."), parseFloat(t) || 0;
127
+ if (u(e) && f(e)) {
128
+ let t = e.replace(v, "");
129
+ return t = te.test(t) ? t.replace(y, "").replace(b, ".") : ne.test(t) ? t.replace(b, "") : re.test(t) ? t.replace(ie, "").replace(b, ".") : t.replace(b, "."), parseFloat(t) || 0;
129
130
  }
130
131
  return 0;
131
132
  }
132
133
  //#endregion
133
134
  //#region src/functions/isSelected.ts
134
- function x(e, t) {
135
- return c(e) ? !1 : Array.isArray(t) ? t.includes(e) : g(e) && g(t) ? b(e) === b(t) : e === t;
135
+ function ae(e, t) {
136
+ return l(e) ? !1 : Array.isArray(t) ? t.includes(e) : _(e) && _(t) ? x(e) === x(t) : e === t;
136
137
  }
137
138
  //#endregion
138
139
  //#region src/functions/anyToString.ts
139
- function S(e, n = !0, r = !0) {
140
- var a;
141
- if (d(e)) return r ? e.trim() : e;
142
- if (c(e)) return "";
143
- if (i(e) && !e.some((e) => t(e)) && n) return e.join(",");
144
- if (t(e)) try {
140
+ function S(e, t = !0, r = !0) {
141
+ var i;
142
+ if (f(e)) return r ? e.trim() : e;
143
+ if (l(e)) return "";
144
+ if (a(e) && !e.some((e) => n(e)) && t) return e.join(",");
145
+ if (n(e)) try {
145
146
  return JSON.stringify(e);
146
147
  } catch (t) {
147
148
  return String(e);
148
149
  }
149
- return e === !0 ? "1" : e === !1 ? "0" : (a = e == null ? void 0 : e.toString()) == null ? "" : a;
150
+ return e === !0 ? "1" : e === !1 ? "0" : (i = e == null ? void 0 : e.toString()) == null ? "" : i;
150
151
  }
151
152
  //#endregion
152
153
  //#region src/functions/isDomData.ts
153
- function ae() {
154
- return s() && location.href.startsWith("data:");
154
+ function oe() {
155
+ return c() && location.href.startsWith("data:");
155
156
  }
156
157
  //#endregion
157
158
  //#region src/functions/strSplit.ts
158
- function oe(e, t, n) {
159
+ function se(e, t, n) {
159
160
  let r = S(e);
160
161
  if (!n || n <= 0) return r.split(t);
161
162
  let i = r.split(t, n), a = r.split(t);
162
163
  return i.length === a.length ? i : (i.pop(), [...i, a.slice(n - 1).join(t)]);
163
164
  }
164
165
  //#endregion
165
- //#region \0@oxc-project+runtime@0.144.0/helpers/esm/typeof.js
166
- function C(e) {
167
- "@babel/helpers - typeof";
168
- return C = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
169
- return typeof e;
170
- } : function(e) {
171
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
172
- }, C(e);
173
- }
174
- //#endregion
175
- //#region \0@oxc-project+runtime@0.144.0/helpers/esm/toPrimitive.js
176
- function se(e, t) {
177
- if (C(e) != "object" || !e) return e;
178
- var n = e[Symbol.toPrimitive];
179
- if (n !== void 0) {
180
- var r = n.call(e, t || "default");
181
- if (C(r) != "object") return r;
182
- throw TypeError("@@toPrimitive must return a primitive value.");
183
- }
184
- return (t === "string" ? String : Number)(e);
185
- }
186
- //#endregion
187
- //#region \0@oxc-project+runtime@0.144.0/helpers/esm/toPropertyKey.js
188
- function ce(e) {
189
- var t = se(e, "string");
190
- return C(t) == "symbol" ? t : t + "";
191
- }
192
- //#endregion
193
- //#region \0@oxc-project+runtime@0.144.0/helpers/esm/defineProperty.js
194
- function w(e, t, n) {
195
- return (t = ce(t)) in e ? Object.defineProperty(e, t, {
196
- value: n,
197
- enumerable: !0,
198
- configurable: !0,
199
- writable: !0
200
- }) : e[t] = n, e;
201
- }
202
- //#endregion
203
166
  //#region src/classes/ErrorCenterHandler.ts
204
- var le = class {
205
- constructor(e, t = !0) {
206
- w(this, "handlers", []), w(this, "callbacks", []), w(this, "isConsole", !0), this.isConsole = t, e && this.addList(e);
167
+ var ce = class {
168
+ constructor(t, n = !0) {
169
+ e(this, "handlers", []), e(this, "callbacks", []), e(this, "isConsole", !0), this.isConsole = n, t && this.addList(t);
207
170
  }
208
171
  has(e) {
209
172
  return !!this.get(e);
@@ -233,15 +196,15 @@ var le = class {
233
196
  return n && n.handlers.forEach((t) => t(e)), this.callbacks.forEach((t) => t(e)), this.toConsole(e), this;
234
197
  }
235
198
  toConsole(e) {
236
- if (m(this.isConsole, e) && (console.error(`Error Center: ${e.code}`), console.error("Error Center/message: ", e.message), console.error("Error Center/details: ", e.details), !s())) {
199
+ if (h(this.isConsole, e) && (console.error(`Error Center: ${e.code}`), console.error("Error Center/message: ", e.message), console.error("Error Center/details: ", e.details), !c())) {
237
200
  let e = (/* @__PURE__ */ Error()).stack;
238
201
  console.error("Error Center/trace: ", e);
239
202
  }
240
203
  return this;
241
204
  }
242
- }, ue = class {
243
- constructor(e, t = new le()) {
244
- w(this, "handler", void 0), w(this, "causes", []), this.handler = t, e && this.addList(e);
205
+ }, le = class {
206
+ constructor(t, n = new ce()) {
207
+ e(this, "handler", void 0), e(this, "causes", []), this.handler = n, t && this.addList(t);
245
208
  }
246
209
  has(e, t) {
247
210
  return !!this.get(e, t);
@@ -284,7 +247,7 @@ var le = class {
284
247
  }
285
248
  return e;
286
249
  }
287
- }, de = [
250
+ }, ue = [
288
251
  {
289
252
  group: "api",
290
253
  code: "cacheClear",
@@ -435,7 +398,7 @@ var le = class {
435
398
  label: "Translate Error",
436
399
  message: "An error occurred while loading translations."
437
400
  }
438
- ], T = class {
401
+ ], C = class {
439
402
  static getItem() {
440
403
  return this.item;
441
404
  }
@@ -467,10 +430,10 @@ var le = class {
467
430
  this.getItem().on(e);
468
431
  }
469
432
  };
470
- w(T, "item", new ue(de));
433
+ e(C, "item", new le(ue));
471
434
  //#endregion
472
435
  //#region src/functions/transformation.ts
473
- function E(e, t = !1) {
436
+ function w(e, t = !1) {
474
437
  if (typeof e == "string") {
475
438
  let r = e.trim();
476
439
  switch (r) {
@@ -483,7 +446,7 @@ function E(e, t = !1) {
483
446
  if (/^[{[]/.exec(r)) try {
484
447
  return JSON.parse(r);
485
448
  } catch (e) {
486
- T.on({
449
+ C.on({
487
450
  group: "transformation",
488
451
  code: "error",
489
452
  details: e
@@ -491,39 +454,39 @@ function E(e, t = !1) {
491
454
  }
492
455
  else if (/^-?[0-9]+\.[0-9]+$/.exec(r)) return parseFloat(r);
493
456
  else if (/^-?[0-9]+$/.exec(r)) return parseInt(r, 10);
494
- else if (t && s() && typeof ((n = window) == null ? void 0 : n[r]) == "function") return window[r];
457
+ else if (t && c() && typeof ((n = window) == null ? void 0 : n[r]) == "function") return window[r];
495
458
  }
496
459
  }
497
460
  return e;
498
461
  }
499
462
  //#endregion
500
463
  //#region src/functions/encodeLiteAttribute.ts
501
- var fe = {
464
+ var de = {
502
465
  "<": "&lt;",
503
466
  ">": "&gt;",
504
467
  "&": "&amp;"
505
468
  };
506
- function pe(e) {
469
+ function fe(e) {
507
470
  return String(e).replace(/[<>&]/g, (e) => {
508
471
  var t;
509
- return (t = fe == null ? void 0 : fe[e]) == null ? e : t;
472
+ return (t = de == null ? void 0 : de[e]) == null ? e : t;
510
473
  });
511
474
  }
512
475
  //#endregion
513
476
  //#region src/functions/getElementSafeScript.ts
514
- function me(e, t) {
477
+ function pe(e, t) {
515
478
  return `<script id="${e.replace(/"/g, "&quot;")}" type="application/json">${JSON.stringify(t).replace(/<\/(script)>/gi, "<\\/$1>")}<\/script>`;
516
479
  }
517
480
  //#endregion
518
481
  //#region src/functions/getHydrationData.ts
519
- function he(e, t, n = !0) {
482
+ function me(e, t, n = !0) {
520
483
  if (typeof document < "u") {
521
484
  let t = document.getElementById(e);
522
485
  if (t) try {
523
486
  let e = JSON.parse(t.textContent || "");
524
487
  return n && t.remove(), e;
525
488
  } catch (t) {
526
- T.on({
489
+ C.on({
527
490
  group: "hydration",
528
491
  code: "error",
529
492
  details: {
@@ -537,7 +500,7 @@ function he(e, t, n = !0) {
537
500
  }
538
501
  //#endregion
539
502
  //#region src/classes/ServerStorage.ts
540
- var ge = "__ui:server-storage__", _e = "__ui:server:storage:id__", D = class {
503
+ var he = "__ui:server-storage__", ge = "__ui:server:storage:id__", T = class {
541
504
  static init(e) {
542
505
  return this.listener || (this.listener = e), this;
543
506
  }
@@ -567,26 +530,26 @@ var ge = "__ui:server-storage__", _e = "__ui:server:storage:id__", D = class {
567
530
  e in t && delete t[e];
568
531
  }
569
532
  static toString() {
570
- return me(_e, this.getDataForHydration());
533
+ return pe(ge, this.getDataForHydration());
571
534
  }
572
535
  static getStorage(e = !0, t) {
573
536
  var n;
574
- if (s()) return this.getStorageDom();
537
+ if (c()) return this.getStorageDom();
575
538
  let r = (n = this.listener) == null ? void 0 : n.call(this);
576
539
  if (!r) {
577
540
  var i;
578
- return this.hideError || T.on({
541
+ return this.hideError || C.on({
579
542
  group: "storage",
580
543
  code: "context",
581
544
  details: { status: t }
582
545
  }), e && !this.storage && (this.storage = {}), (i = this.storage) == null ? {} : i;
583
546
  }
584
- return ge in r || (r[ge] = {}), r[ge];
547
+ return he in r || (r[he] = {}), r[he];
585
548
  }
586
549
  static getStorageDom() {
587
550
  if (!this.storage) {
588
- let e = he(_e, {});
589
- this.storage = {}, r(e, (e, t) => {
551
+ let e = me(ge, {});
552
+ this.storage = {}, i(e, (e, t) => {
590
553
  this.storage[t] = {
591
554
  value: e,
592
555
  hydration: !0
@@ -597,33 +560,33 @@ var ge = "__ui:server-storage__", _e = "__ui:server:storage:id__", D = class {
597
560
  }
598
561
  static getDataForHydration() {
599
562
  let e = this.getStorage(void 0, "hydration"), t = {};
600
- return r(e, (e, n) => {
563
+ return i(e, (e, n) => {
601
564
  e.hydration && (t[n] = e.value);
602
565
  }), t;
603
566
  }
604
567
  };
605
- w(D, "storage", void 0), w(D, "listener", void 0), w(D, "hideError", void 0);
568
+ e(T, "storage", void 0), e(T, "listener", void 0), e(T, "hideError", void 0);
606
569
  //#endregion
607
570
  //#region src/classes/DataStorage.ts
608
- var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O = class {
571
+ var _e = "ui-storage", ve = () => T.get("__ui:data-storage__", () => ({})), E = class {
609
572
  static setPrefix(e) {
610
- ve = e;
573
+ _e = e;
611
574
  }
612
- constructor(e, t = !1, n = T.getItem()) {
613
- 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;
614
- let r = `${t ? "session" : "storage"}#${e}`, i = ye();
615
- if (r in i) return i[r];
616
- this.make(), i[r] = this;
575
+ constructor(t, n = !1, r = C.getItem()) {
576
+ e(this, "name", void 0), e(this, "isSession", void 0), e(this, "errorCenter", void 0), e(this, "value", void 0), e(this, "age", void 0), this.name = t, this.isSession = n, this.errorCenter = r;
577
+ let i = `${n ? "session" : "storage"}#${t}`, a = ve();
578
+ if (i in a) return a[i];
579
+ this.make(), a[i] = this;
617
580
  }
618
581
  get(e, t) {
619
- if (!c(this.value) && this.isCache(t)) return this.value;
582
+ if (!l(this.value) && this.isCache(t)) return this.value;
620
583
  if (e !== void 0) return this.set(e);
621
584
  }
622
585
  set(e) {
623
- if (this.value = m(e), this.age = Date.now(), this.value === void 0) this.remove();
586
+ if (this.value = h(e), this.age = Date.now(), this.value === void 0) this.remove();
624
587
  else {
625
588
  var t;
626
- (t = this.getMethod()) == null || t.setItem(this.getIndex(), pe(JSON.stringify({
589
+ (t = this.getMethod()) == null || t.setItem(this.getIndex(), fe(JSON.stringify({
627
590
  value: this.value,
628
591
  age: this.age
629
592
  })));
@@ -638,17 +601,17 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
638
601
  return this.make(), this;
639
602
  }
640
603
  isCache(e) {
641
- return c(e) || this.age && this.age + e * 1e3 >= Date.now();
604
+ return l(e) || this.age && this.age + e * 1e3 >= Date.now();
642
605
  }
643
606
  getMethod() {
644
- if (s() && !ae()) {
607
+ if (c() && !oe()) {
645
608
  var e, t;
646
609
  let n = this.isSession ? (e = window) == null ? void 0 : e.sessionStorage : (t = window) == null ? void 0 : t.localStorage;
647
610
  if (n) return n;
648
611
  }
649
612
  }
650
613
  getIndex() {
651
- return `${ve}__${this.name}`;
614
+ return `${_e}__${this.name}`;
652
615
  }
653
616
  getValue() {
654
617
  var e, t;
@@ -667,9 +630,9 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
667
630
  let e = this.getValue();
668
631
  return e ? (this.value = e.value, this.age = e.age) : (this.value = void 0, this.age = void 0), this;
669
632
  }
670
- }, be = "__ui:cookie-block__", xe = class {
633
+ }, ye = "__ui:cookie-block__", be = class {
671
634
  constructor() {
672
- w(this, "storage", new O(be));
635
+ e(this, "storage", new E(ye));
673
636
  }
674
637
  get() {
675
638
  var e;
@@ -678,9 +641,9 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
678
641
  set(e) {
679
642
  this.storage.set(e);
680
643
  }
681
- }, Se = class {
644
+ }, xe = class {
682
645
  static getItem() {
683
- return D.get("__ui:cookie-block__", () => new xe());
646
+ return T.get("__ui:cookie-block__", () => new be());
684
647
  }
685
648
  static get() {
686
649
  return this.getItem().get();
@@ -688,7 +651,7 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
688
651
  static set(e) {
689
652
  this.getItem().set(e);
690
653
  }
691
- }, Ce = "__ui:cookie-storage__", k = class {
654
+ }, Se = "__ui:cookie-storage__", D = class {
692
655
  static init(e, t, n) {
693
656
  this.getListener = e, this.getListenerRaw = t, this.setListener = n;
694
657
  }
@@ -698,11 +661,11 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
698
661
  static get(e, t) {
699
662
  var n, r;
700
663
  let i = (n = (r = this.getListener) == null ? void 0 : r.call(this, e)) == null ? this.initItems()[e] : n;
701
- return i === void 0 && t !== void 0 ? this.set(e, t) : E(i);
664
+ return i === void 0 && t !== void 0 ? this.set(e, t) : w(i);
702
665
  }
703
666
  static set(e, t, n) {
704
- let r = m(t);
705
- if (Se.get()) return r;
667
+ let r = h(t);
668
+ if (xe.get()) return r;
706
669
  let i = S(r, !1);
707
670
  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;
708
671
  }
@@ -710,7 +673,7 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
710
673
  this.set(e, "", { age: -1 });
711
674
  }
712
675
  static update() {
713
- s() && (D.remove(Ce), this.initItems());
676
+ c() && (T.remove(Se), this.initItems());
714
677
  }
715
678
  static format(e, t, n) {
716
679
  return [
@@ -726,22 +689,22 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
726
689
  ].filter(Boolean).join("; ");
727
690
  }
728
691
  static hasDom() {
729
- return s() && !ae();
692
+ return c() && !oe();
730
693
  }
731
694
  static parse(e) {
732
695
  let t = {};
733
696
  for (let n of e.split(";")) {
734
- let [e, r] = oe(n.trim(), "=", 2);
735
- e && l(r) && (t[e] = r);
697
+ let [e, r] = se(n.trim(), "=", 2);
698
+ e && u(r) && (t[e] = r);
736
699
  }
737
700
  return t;
738
701
  }
739
702
  static initItems() {
740
- return D.get(Ce, () => {
703
+ return T.get(Se, () => {
741
704
  var e;
742
705
  if (this.hasDom()) return this.parse(document.cookie);
743
706
  let t = (e = this.getListenerRaw) == null ? void 0 : e.call(this);
744
- return l(t) ? this.parse(t) : {};
707
+ return u(t) ? this.parse(t) : {};
745
708
  });
746
709
  }
747
710
  static toMaxAge(e, t) {
@@ -769,35 +732,35 @@ var ve = "ui-storage", ye = () => D.get("__ui:data-storage__", () => ({})), O =
769
732
  return e === void 0 ? [] : Array.isArray(e) ? e : Object.entries(e).map(([e, t]) => `${e}=${S(t)}`);
770
733
  }
771
734
  };
772
- w(k, "getListener", void 0), w(k, "getListenerRaw", void 0), w(k, "setListener", void 0);
735
+ e(D, "getListener", void 0), e(D, "getListenerRaw", void 0), e(D, "setListener", void 0);
773
736
  //#endregion
774
737
  //#region src/classes/Cookie.ts
775
- var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
776
- static getInstance(t) {
738
+ var Ce = () => T.get("__ui:cookie-items__", () => ({})), we = class t {
739
+ static getInstance(e) {
777
740
  var n, r;
778
- return (n = (r = we()) == null ? void 0 : r[t]) == null ? new e(t) : n;
741
+ return (n = (r = Ce()) == null ? void 0 : r[e]) == null ? new t(e) : n;
779
742
  }
780
- constructor(e) {
781
- w(this, "name", void 0), w(this, "value", void 0), w(this, "options", {}), this.name = e;
782
- let t = we();
783
- if (e in t) return t[e];
784
- this.value = k.get(this.name), t[e] = this;
743
+ constructor(t) {
744
+ e(this, "name", void 0), e(this, "value", void 0), e(this, "options", {}), this.name = t;
745
+ let n = Ce();
746
+ if (t in n) return n[t];
747
+ this.value = D.get(this.name), n[t] = this;
785
748
  }
786
749
  get(e, t) {
787
750
  return this.value === void 0 && e && this.set(e, t), this.value;
788
751
  }
789
752
  set(e, t) {
790
- this.value = m(e), Object.assign(this.options, t), this.update();
753
+ this.value = h(e), Object.assign(this.options, t), this.update();
791
754
  }
792
755
  remove() {
793
756
  this.set("");
794
757
  }
795
758
  update() {
796
- k.set(this.name, this.value, this.options);
759
+ D.set(this.name, this.value, this.options);
797
760
  }
798
- }, Ee = "ui-geo-code", De = "__ui:geo-code__", Oe = class {
761
+ }, Te = "ui-geo-code", Ee = "__ui:geo-code__", De = class {
799
762
  constructor() {
800
- 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);
763
+ e(this, "list", [...t]), e(this, "storage", new E(Ee)), e(this, "location", void 0), e(this, "valueDefault", void 0), e(this, "item", void 0), e(this, "language", void 0), e(this, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), this.location = this.findLocation(), this.item = this.getByCode(this.location), this.language = this.findLanguage(this.location);
801
764
  }
802
765
  get() {
803
766
  return this.item;
@@ -827,7 +790,7 @@ var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
827
790
  return this.item;
828
791
  }
829
792
  getList() {
830
- return e;
793
+ return this.list;
831
794
  }
832
795
  getByCode(e) {
833
796
  var t;
@@ -835,7 +798,7 @@ var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
835
798
  return e && (/([A-Z]{2}-[a-z]{2})|([a-z]{2}-[A-Z]{2})/.test(e) && (n = this.getByCodeFull(e)), !n && /[A-Z]{2}/.test(e) && (n = this.getByCountry(this.toCountry(e))), !n && /[a-z]{2}/.test(e) && (n = this.getByLanguage(this.toLanguage(e)))), this.toFull((t = n) == null ? this.getList()[0] : t, e);
836
799
  }
837
800
  getByCodeFull(e) {
838
- return this.getList().find((t) => x(e, [`${t.language}-${t.country}`, `${t.country}-${t.language}`]));
801
+ return this.getList().find((t) => ae(e, [`${t.language}-${t.country}`, `${t.country}-${t.language}`]));
839
802
  }
840
803
  getByCountry(e) {
841
804
  return this.getList().find((t) => {
@@ -876,15 +839,35 @@ var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
876
839
  setValueDefault(e) {
877
840
  this.valueDefault = e, this.location = this.findLocation(), this.item = this.getByCode(this.location), this.language = this.findLanguage(this.location);
878
841
  }
842
+ add(e, t) {
843
+ let n = this.list.findIndex((t) => t.country === e);
844
+ if (n !== -1) {
845
+ let e = this.list[n];
846
+ this.list[n] = {
847
+ ...e,
848
+ ...t
849
+ };
850
+ } else this.list.push({
851
+ language: "en",
852
+ ...t,
853
+ country: e
854
+ });
855
+ return (this.item.country === e || this.toCountry(this.location) === e) && (this.item = this.getByCode(this.location), this.language = this.findLanguage(this.location)), this;
856
+ }
857
+ addList(e) {
858
+ return i(e, (e, t) => {
859
+ this.add(t, e);
860
+ }), this;
861
+ }
879
862
  getCookie() {
880
- return Te.getInstance(Ee);
863
+ return we.getInstance(Te);
881
864
  }
882
865
  findLocation() {
883
- return this.getCookie().get() || this.findLocationDom() || m(this.valueDefault) || "en-GB";
866
+ return this.getCookie().get() || this.findLocationDom() || h(this.valueDefault) || "en-GB";
884
867
  }
885
868
  findLocationDom() {
886
869
  var e;
887
- return s() && (this.storage.get() || ((e = document.querySelector("html")) == null ? void 0 : e.lang) || navigator.language || navigator.languages[0] || void 0) || void 0;
870
+ return c() && (this.storage.get() || ((e = document.querySelector("html")) == null ? void 0 : e.lang) || navigator.language || navigator.languages[0] || void 0) || void 0;
888
871
  }
889
872
  findLanguage(e) {
890
873
  if (e) {
@@ -913,9 +896,9 @@ var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
913
896
  locationLanguage: n
914
897
  };
915
898
  }
916
- }, A = class {
899
+ }, O = class {
917
900
  static getObject() {
918
- return D.get("__ui:geo-instance__", () => new Oe());
901
+ return T.get("__ui:geo-instance__", () => new De());
919
902
  }
920
903
  static get() {
921
904
  return this.getObject().get();
@@ -980,18 +963,24 @@ var we = () => D.get("__ui:cookie-items__", () => ({})), Te = class e {
980
963
  static setValueDefault(e) {
981
964
  this.getObject().setValueDefault(e);
982
965
  }
966
+ static add(e, t) {
967
+ return this.getObject().add(e, t);
968
+ }
969
+ static addList(e) {
970
+ return this.getObject().addList(e);
971
+ }
983
972
  };
984
973
  //#endregion
985
974
  //#region src/functions/isWindow.ts
986
- function ke(e) {
987
- return s() && e === window;
975
+ function Oe(e) {
976
+ return c() && e === window;
988
977
  }
989
978
  //#endregion
990
979
  //#region src/functions/getElement.ts
991
- function j(e) {
992
- if (!s()) return d(e) ? void 0 : e;
993
- if (ke(e)) return document.body;
994
- if (d(e)) {
980
+ function k(e) {
981
+ if (!c()) return f(e) ? void 0 : e;
982
+ if (Oe(e)) return document.body;
983
+ if (f(e)) {
995
984
  var t;
996
985
  return (t = document.querySelector(e)) == null ? void 0 : t;
997
986
  }
@@ -999,30 +988,30 @@ function j(e) {
999
988
  }
1000
989
  //#endregion
1001
990
  //#region src/functions/getElementOrWindow.ts
1002
- function Ae(e) {
1003
- return ke(e) ? e : j(e);
991
+ function ke(e) {
992
+ return Oe(e) ? e : k(e);
1004
993
  }
1005
994
  //#endregion
1006
995
  //#region src/functions/isInDom.ts
1007
- function je(e) {
996
+ function Ae(e) {
1008
997
  var t;
1009
- return (e == null ? void 0 : e.isConnected) || !!((t = j(e)) != null && t.closest("html"));
998
+ return (e == null ? void 0 : e.isConnected) || !!((t = k(e)) != null && t.closest("html"));
1010
999
  }
1011
1000
  //#endregion
1012
1001
  //#region src/functions/toArray.ts
1013
- function M(e) {
1002
+ function A(e) {
1014
1003
  return Array.isArray(e) ? e : [e];
1015
1004
  }
1016
1005
  //#endregion
1017
1006
  //#region src/classes/EventItem.ts
1018
- var Me = class {
1019
- constructor(e, n = ["click"], r, i, a) {
1020
- 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) => {
1021
- if (je(this.elementControl)) {
1022
- var n, r;
1023
- (n = this.listener) == null || n.call(this.element, e, this.detail), t(this.options) && (r = this.options) != null && r.once && this.stop();
1007
+ var je = class {
1008
+ constructor(t, r = ["click"], i, a, o) {
1009
+ e(this, "listener", void 0), e(this, "options", void 0), e(this, "detail", void 0), e(this, "element", void 0), e(this, "elementControl", void 0), e(this, "elementControlEdit", void 0), e(this, "type", void 0), e(this, "listenerRecent", (e) => {
1010
+ if (Ae(this.elementControl)) {
1011
+ var t, r;
1012
+ (t = this.listener) == null || t.call(this.element, e, this.detail), n(this.options) && (r = this.options) != null && r.once && this.stop();
1024
1013
  } else this.stop();
1025
- }), 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);
1014
+ }), e(this, "activity", !1), e(this, "activityItems", []), this.listener = i, this.options = a, this.detail = o, this.element = ke(t), this.elementControl = k(t), this.type = A(r);
1026
1015
  }
1027
1016
  isActive() {
1028
1017
  return this.activity;
@@ -1031,14 +1020,14 @@ var Me = class {
1031
1020
  return this.element;
1032
1021
  }
1033
1022
  setElement(e) {
1034
- let t = Ae(e);
1035
- return this.elementControlEdit || (this.elementControl = j(e)), this.element = t, this.reset(), this;
1023
+ let t = ke(e);
1024
+ return this.elementControlEdit || (this.elementControl = k(e)), this.element = t, this.reset(), this;
1036
1025
  }
1037
1026
  setElementControl(e) {
1038
- return this.elementControl = j(e), this.elementControlEdit = !c(this.elementControl), this.elementControlEdit || (this.elementControl = j(this.element)), this;
1027
+ return this.elementControl = k(e), this.elementControlEdit = !l(this.elementControl), this.elementControlEdit || (this.elementControl = k(this.element)), this;
1039
1028
  }
1040
1029
  setType(e) {
1041
- return this.type = M(e), this.reset(), this;
1030
+ return this.type = A(e), this.reset(), this;
1042
1031
  }
1043
1032
  setListener(e) {
1044
1033
  return this.listener = e, this;
@@ -1056,7 +1045,7 @@ var Me = class {
1056
1045
  }), this;
1057
1046
  }
1058
1047
  start() {
1059
- return !this.activity && s() && (this.activity = !0, this.activityItems = [], this.type.forEach((e) => {
1048
+ return !this.activity && c() && (this.activity = !0, this.activityItems = [], this.type.forEach((e) => {
1060
1049
  this.element && !(e === "resize" && this.makeResize()) && !(e === "scroll-sync" && this.makeScroll()) && (this.element.addEventListener(e, this.listenerRecent, this.options), this.activityItems.push({
1061
1050
  element: this.element,
1062
1051
  type: e
@@ -1075,7 +1064,7 @@ var Me = class {
1075
1064
  return this.activity && (this.stop(), this.start()), this;
1076
1065
  }
1077
1066
  isObserver() {
1078
- return s() && "ResizeObserver" in window;
1067
+ return c() && "ResizeObserver" in window;
1079
1068
  }
1080
1069
  makeResize() {
1081
1070
  if (this.element && this.element instanceof HTMLElement && this.element !== document.body && this.isObserver()) {
@@ -1107,9 +1096,9 @@ var Me = class {
1107
1096
  }
1108
1097
  return !1;
1109
1098
  }
1110
- }, Ne = "ui-loading", Pe = class {
1111
- constructor(e = Ne) {
1112
- 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));
1099
+ }, Me = "ui-loading", Ne = class {
1100
+ constructor(t = Me) {
1101
+ e(this, "eventName", void 0), e(this, "value", 0), e(this, "event", void 0), e(this, "registrationList", []), this.eventName = t, c() && (this.event = new je(window, this.eventName));
1113
1102
  }
1114
1103
  is() {
1115
1104
  return this.value > 0;
@@ -1124,8 +1113,8 @@ var Me = class {
1124
1113
  this.is() && (this.value--, this.dispatch());
1125
1114
  }
1126
1115
  registrationEvent(e, t) {
1127
- if (s()) {
1128
- let n = new Me(window, this.eventName, e).setElementControl(t).start();
1116
+ if (c()) {
1117
+ let n = new je(window, this.eventName, e).setElementControl(t).start();
1129
1118
  this.registrationList.push({
1130
1119
  item: n,
1131
1120
  listener: e,
@@ -1140,7 +1129,7 @@ var Me = class {
1140
1129
  var e;
1141
1130
  (e = this.event) == null || e.dispatch({ loading: this.is() });
1142
1131
  }
1143
- }, N = class {
1132
+ }, j = class {
1144
1133
  static is() {
1145
1134
  return this.getItem().is();
1146
1135
  }
@@ -1148,7 +1137,7 @@ var Me = class {
1148
1137
  return this.getItem().get();
1149
1138
  }
1150
1139
  static getItem() {
1151
- return D.get("__ui:loading-instance__", () => new Pe());
1140
+ return T.get("__ui:loading-instance__", () => new Ne());
1152
1141
  }
1153
1142
  static show() {
1154
1143
  this.getItem().show();
@@ -1162,7 +1151,7 @@ var Me = class {
1162
1151
  static unregistrationEvent(e, t) {
1163
1152
  this.getItem().unregistrationEvent(e, t);
1164
1153
  }
1165
- }, Fe, Ie = 86400, P = class {
1154
+ }, Pe, Fe = 86400, M = class {
1166
1155
  static init(e, t, n, r) {
1167
1156
  this.getListener = e, this.setListener = t, this.removeListener = n, r && (this.cacheStepAgeClearOld = r, this.stepAgeClearOld = r);
1168
1157
  }
@@ -1172,7 +1161,7 @@ var Me = class {
1172
1161
  static async get(e) {
1173
1162
  let t = await this.getItemOrListener(e);
1174
1163
  return this.clearOld().catch((e) => {
1175
- T.on({
1164
+ C.on({
1176
1165
  group: "api",
1177
1166
  code: "cacheClear",
1178
1167
  details: e
@@ -1184,7 +1173,7 @@ var Me = class {
1184
1173
  let t = this.generateKey(e);
1185
1174
  return await this.get(t);
1186
1175
  }
1187
- static async set(e, t, n = Ie) {
1176
+ static async set(e, t, n = Fe) {
1188
1177
  let r = {
1189
1178
  value: t,
1190
1179
  age: n,
@@ -1203,7 +1192,7 @@ var Me = class {
1203
1192
  }
1204
1193
  static isCache(e) {
1205
1194
  let { cache: t, enableClientCache: n } = e;
1206
- return s() && !n ? !1 : !!t;
1195
+ return c() && !n ? !1 : !!t;
1207
1196
  }
1208
1197
  static isAge(e) {
1209
1198
  return e ? !e.age || e.age * 1e3 + e.cacheAge >= Date.now() : !1;
@@ -1247,12 +1236,12 @@ var Me = class {
1247
1236
  }
1248
1237
  }
1249
1238
  };
1250
- 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);
1239
+ Pe = M, e(M, "items", void 0), e(M, "getListener", void 0), e(M, "setListener", void 0), e(M, "removeListener", void 0), e(M, "cacheStepAgeClearOld", 16384), e(M, "stepAgeClearOld", Pe.cacheStepAgeClearOld);
1251
1240
  //#endregion
1252
1241
  //#region src/classes/ApiStatus.ts
1253
- var Le = class {
1242
+ var Ie = class {
1254
1243
  constructor() {
1255
- w(this, "value", void 0);
1244
+ e(this, "value", void 0);
1256
1245
  }
1257
1246
  get() {
1258
1247
  return this.value;
@@ -1298,7 +1287,7 @@ var Le = class {
1298
1287
  return this.set({ error: e }), this;
1299
1288
  }
1300
1289
  setLastResponse(e) {
1301
- return e && n(e) && ("message" in e && this.setLastMessage(String(e.message)), "status" in e && this.setLastStatus(String(e.status)), "code" in e && this.setLastCode(String(e.code))), this.set({ lastResponse: e }), this;
1290
+ return e && r(e) && ("message" in e && this.setLastMessage(String(e.message)), "status" in e && this.setLastStatus(String(e.status)), "code" in e && this.setLastCode(String(e.code))), this.set({ lastResponse: e }), this;
1302
1291
  }
1303
1292
  setLastStatus(e) {
1304
1293
  return this.set({ lastStatus: e }), this;
@@ -1312,15 +1301,15 @@ var Le = class {
1312
1301
  setValue(e, t) {
1313
1302
  this.value || (this.value = {}), this.value[e] = t;
1314
1303
  }
1315
- }, Re = [
1304
+ }, Le = [
1316
1305
  "success",
1317
1306
  "status",
1318
1307
  "code",
1319
1308
  "message",
1320
1309
  "error"
1321
- ], ze = class {
1322
- constructor(e, t, n, r) {
1323
- w(this, "apiFetch", void 0), w(this, "query", void 0), w(this, "end", void 0), w(this, "error", void 0), w(this, "data", void 0), w(this, "dataMod", void 0), this.apiFetch = e, this.query = t, this.end = n, this.error = r;
1310
+ ], Re = class {
1311
+ constructor(t, n, r, i) {
1312
+ e(this, "apiFetch", void 0), e(this, "query", void 0), e(this, "end", void 0), e(this, "error", void 0), e(this, "data", void 0), e(this, "dataMod", void 0), this.apiFetch = t, this.query = n, this.end = r, this.error = i;
1324
1313
  }
1325
1314
  async init() {
1326
1315
  return this.data = await this.readData(), this;
@@ -1330,7 +1319,7 @@ var Le = class {
1330
1319
  }
1331
1320
  getAndStatus(e) {
1332
1321
  let t = this.get();
1333
- return t && n(t) ? {
1322
+ return t && r(t) ? {
1334
1323
  ...t,
1335
1324
  statusObject: e.get(),
1336
1325
  errorObject: this.error
@@ -1346,34 +1335,34 @@ var Le = class {
1346
1335
  }
1347
1336
  initData() {
1348
1337
  let { toData: e = !0 } = this.apiFetch, t = this.getData();
1349
- return t ? !e || !t || !n(t) || !("data" in t) ? t : t.data !== null && typeof t.data != "object" || i(t.data) ? t.data : this.initItem(t) : {};
1338
+ return t ? !e || !t || !r(t) || !("data" in t) ? t : t.data !== null && typeof t.data != "object" || a(t.data) ? t.data : this.initItem(t) : {};
1350
1339
  }
1351
1340
  initItem(e) {
1352
1341
  let t = { ...e.data };
1353
- return Re.forEach((r) => {
1354
- if (r in e && !(r in t) && (t[r] = e[r], r === "error" && n(e[r]))) {
1342
+ return Le.forEach((n) => {
1343
+ if (n in e && !(n in t) && (t[n] = e[n], n === "error" && r(e[n]))) {
1355
1344
  var i, a, o, s;
1356
- t.code = (i = (a = e[r]) == null ? void 0 : a.code) == null ? e.code : i, t.message = (o = (s = e[r]) == null ? void 0 : s.message) == null ? e.message : o;
1345
+ t.code = (i = (a = e[n]) == null ? void 0 : a.code) == null ? e.code : i, t.message = (o = (s = e[n]) == null ? void 0 : s.message) == null ? e.message : o;
1357
1346
  }
1358
1347
  }), t;
1359
1348
  }
1360
- }, F = /* @__PURE__ */ function(e) {
1349
+ }, N = /* @__PURE__ */ function(e) {
1361
1350
  return e.delete = "DELETE", e.get = "GET", e.post = "POST", e.put = "PUT", e.patch = "PATCH", e;
1362
- }({}), Be = class {
1351
+ }({}), ze = class {
1363
1352
  constructor() {
1364
- w(this, "value", void 0);
1353
+ e(this, "value", void 0);
1365
1354
  }
1366
1355
  is() {
1367
1356
  return !!this.value;
1368
1357
  }
1369
1358
  get() {
1370
- return m(this.value);
1359
+ return h(this.value);
1371
1360
  }
1372
1361
  request(e) {
1373
1362
  let t = this.get();
1374
- if (l(t)) {
1363
+ if (u(t)) {
1375
1364
  if (e instanceof FormData) this.addByFormData(e, t);
1376
- else if (n(e)) return {
1365
+ else if (r(e)) return {
1377
1366
  ...t,
1378
1367
  ...e
1379
1368
  };
@@ -1388,9 +1377,9 @@ var Le = class {
1388
1377
  e.has(t) || e.set(t, n);
1389
1378
  }), this;
1390
1379
  }
1391
- }, Ve = class {
1392
- constructor(e, t, n) {
1393
- w(this, "method", void 0), w(this, "response", void 0), w(this, "error", void 0), w(this, "jsonResponse", void 0), this.method = e, this.response = t, this.error = n;
1380
+ }, Be = class {
1381
+ constructor(t, n, r) {
1382
+ e(this, "method", void 0), e(this, "response", void 0), e(this, "error", void 0), e(this, "jsonResponse", void 0), this.method = t, this.response = n, this.error = r;
1394
1383
  }
1395
1384
  getMethod() {
1396
1385
  return this.method;
@@ -1407,14 +1396,14 @@ var Le = class {
1407
1396
  }
1408
1397
  getMessage() {
1409
1398
  var e;
1410
- return m((e = this.error) == null ? void 0 : e.message, this.getResponse());
1399
+ return h((e = this.error) == null ? void 0 : e.message, this.getResponse());
1411
1400
  }
1412
1401
  getStatus() {
1413
1402
  return this.response.status;
1414
1403
  }
1415
- }, He = class {
1404
+ }, Ve = class {
1416
1405
  constructor() {
1417
- w(this, "storage", []);
1406
+ e(this, "storage", []);
1418
1407
  }
1419
1408
  async find(e, t) {
1420
1409
  let n = await this.getBody(t), r = this.getCode(n), i = this.getMessage(n) || t.statusText, a = this.findItem(e, t, r);
@@ -1431,7 +1420,7 @@ var Le = class {
1431
1420
  };
1432
1421
  }
1433
1422
  add(e, t, n) {
1434
- return M(e).forEach((e) => {
1423
+ return A(e).forEach((e) => {
1435
1424
  let r = e.url || t, i = e.method || n;
1436
1425
  r && i && this.storage.push({
1437
1426
  ...e,
@@ -1457,8 +1446,8 @@ var Le = class {
1457
1446
  }
1458
1447
  }
1459
1448
  getDataByKey(e, t) {
1460
- if (d(e == null ? void 0 : e[t])) return e[t];
1461
- if (n(e == null ? void 0 : e.error) && d(e.error[t])) return e.error[t];
1449
+ if (f(e == null ? void 0 : e[t])) return e[t];
1450
+ if (r(e == null ? void 0 : e.error) && f(e.error[t])) return e.error[t];
1462
1451
  }
1463
1452
  getCode(e) {
1464
1453
  return this.getDataByKey(e, "code");
@@ -1466,25 +1455,25 @@ var Le = class {
1466
1455
  getMessage(e) {
1467
1456
  return this.getDataByKey(e, "message");
1468
1457
  }
1469
- }, Ue = class {
1458
+ }, He = class {
1470
1459
  static getStorage() {
1471
- return D.get("__ui:api-error-storage__", () => new He());
1460
+ return T.get("__ui:api-error-storage__", () => new Ve());
1472
1461
  }
1473
1462
  static add(e, t, n) {
1474
1463
  this.getStorage().add(e, t, n);
1475
1464
  }
1476
1465
  static async getItem(e, t) {
1477
- return new Ve(e, t, await this.getStorage().find(e, t));
1466
+ return new Be(e, t, await this.getStorage().find(e, t));
1478
1467
  }
1479
- }, We = class {
1468
+ }, Ue = class {
1480
1469
  constructor() {
1481
- w(this, "headers", {});
1470
+ e(this, "headers", {});
1482
1471
  }
1483
1472
  get(e, t = "application/json;charset=UTF-8") {
1484
1473
  if (e === null) return;
1485
- let r = { ...m(this.headers) };
1486
- if (n(e)) for (let t in e) r[t.toLowerCase()] = e[t];
1487
- return l(t) && (r["content-type"] = t), r;
1474
+ let n = { ...h(this.headers) };
1475
+ if (r(e)) for (let t in e) n[t.toLowerCase()] = e[t];
1476
+ return u(t) && (n["content-type"] = t), n;
1488
1477
  }
1489
1478
  getByRequest(e, t, n = "application/json;charset=UTF-8") {
1490
1479
  return e instanceof FormData ? this.get(t, null) : this.get(t, n);
@@ -1492,16 +1481,16 @@ var Le = class {
1492
1481
  set(e) {
1493
1482
  return this.headers = e, this;
1494
1483
  }
1495
- }, Ge = "__ui:api:hydration:id__", Ke = class {
1484
+ }, We = "__ui:api:hydration:id__", Ge = class {
1496
1485
  constructor() {
1497
- w(this, "list", []);
1486
+ e(this, "list", []);
1498
1487
  }
1499
1488
  initResponse(e) {
1500
- s() && e.add(this.getListByClient());
1489
+ c() && e.add(this.getListByClient());
1501
1490
  }
1502
1491
  toClient(e, t) {
1503
- let { path: n, method: r = F.get, request: i, global: a = r === F.get } = e;
1504
- !a || !n || s() || this.list.push({
1492
+ let { path: n, method: r = N.get, request: i, global: a = r === N.get } = e;
1493
+ !a || !n || c() || this.list.push({
1505
1494
  path: n,
1506
1495
  method: r,
1507
1496
  request: i,
@@ -1509,14 +1498,14 @@ var Le = class {
1509
1498
  });
1510
1499
  }
1511
1500
  toString() {
1512
- return me(Ge, this.list);
1501
+ return pe(We, this.list);
1513
1502
  }
1514
1503
  getListByClient() {
1515
- return he(Ge, []);
1504
+ return me(We, []);
1516
1505
  }
1517
- }, qe = class {
1506
+ }, Ke = class {
1518
1507
  constructor() {
1519
- w(this, "callback", void 0), w(this, "callbackEnd", void 0), w(this, "loading", !1);
1508
+ e(this, "callback", void 0), e(this, "callbackEnd", void 0), e(this, "loading", !1);
1520
1509
  }
1521
1510
  async make(e, t) {
1522
1511
  if (e && this.callback) return this.go(t);
@@ -1542,15 +1531,15 @@ var Le = class {
1542
1531
  };
1543
1532
  //#endregion
1544
1533
  //#region src/functions/executePromise.ts
1545
- async function I(e, ...t) {
1546
- let n = m(e, ...t);
1534
+ async function P(e, ...t) {
1535
+ let n = h(e, ...t);
1547
1536
  return n instanceof Promise ? await n : n;
1548
1537
  }
1549
1538
  //#endregion
1550
1539
  //#region src/classes/ApiResponse.ts
1551
- var Je = "d-response-loading", Ye = class {
1552
- constructor(e) {
1553
- w(this, "requestDefault", void 0), w(this, "first", []), w(this, "response", []), w(this, "loading", void 0), w(this, "devMode", !1), this.requestDefault = e;
1540
+ var qe = "d-response-loading", Je = class {
1541
+ constructor(t) {
1542
+ e(this, "requestDefault", void 0), e(this, "first", []), e(this, "response", []), e(this, "loading", void 0), e(this, "devMode", !1), this.requestDefault = t;
1554
1543
  }
1555
1544
  get(e = "", t, n, r) {
1556
1545
  return this.response.find((i) => !this.isDisable(i) && this.isPath(i, e) && t === i.method && this.isFirst(i, r) && this.isResponse(i, n) ? (this.isDevMode(r) && console.warn(`Response type: ${i.path}`), this.first.push(i), !0) : !1);
@@ -1559,7 +1548,7 @@ var Je = "d-response-loading", Ye = class {
1559
1548
  return this.response.filter((e) => e.isForGlobal !== !0);
1560
1549
  }
1561
1550
  add(e) {
1562
- return this.response.push(...M(e)), this;
1551
+ return this.response.push(...A(e)), this;
1563
1552
  }
1564
1553
  setDevMode(e) {
1565
1554
  return this.devMode = e, this;
@@ -1576,7 +1565,7 @@ var Je = "d-response-loading", Ye = class {
1576
1565
  if (t) return this.fetchAsync(t.response);
1577
1566
  }
1578
1567
  isDisable(e) {
1579
- return !!m(e == null ? void 0 : e.disable);
1568
+ return !!h(e == null ? void 0 : e.disable);
1580
1569
  }
1581
1570
  isPath(e, t) {
1582
1571
  return t === e.path || !!(e.path instanceof RegExp && e.path.test(t));
@@ -1588,12 +1577,12 @@ var Je = "d-response-loading", Ye = class {
1588
1577
  return this.first.indexOf(e) === -1 || this.isDevMode(t);
1589
1578
  }
1590
1579
  isResponse(e, t) {
1591
- let r = this.requestDefault.request(e == null ? void 0 : e.request);
1592
- return t === r || r === "*any" || l(t) && l(r) && n(t) && n(r) && !(t instanceof FormData) && !(r instanceof FormData) && Object.values(t).length === Object.values(r).length && Object.entries(r).every(([e, n]) => n === (t == null ? void 0 : t[e]) || n === "*any");
1580
+ let n = this.requestDefault.request(e == null ? void 0 : e.request);
1581
+ return t === n || n === "*any" || u(t) && u(n) && r(t) && r(n) && !(t instanceof FormData) && !(n instanceof FormData) && Object.values(t).length === Object.values(n).length && Object.entries(n).every(([e, n]) => n === (t == null ? void 0 : t[e]) || n === "*any");
1593
1582
  }
1594
1583
  readData(e) {
1595
- if (!s()) return;
1596
- let { path: t = "", method: n = F.get, global: r = n === F.get, devMode: i = !1 } = e;
1584
+ if (!c()) return;
1585
+ let { path: t = "", method: n = N.get, global: r = n === N.get, devMode: i = !1 } = e;
1597
1586
  if (r || this.isDevMode(i)) {
1598
1587
  let r = this.requestDefault.request(e.request), a = this.get(t, n, r, i);
1599
1588
  if (a) return {
@@ -1604,10 +1593,10 @@ var Je = "d-response-loading", Ye = class {
1604
1593
  }
1605
1594
  fetch(e, t) {
1606
1595
  return this.startResponseLoading(), new Promise((n) => {
1607
- I(p(e.response) ? e.response(t) : e.response).then((t) => {
1608
- e != null && e.lag ? (N.show(), setTimeout(() => {
1609
- this.stopResponseLoading(), n(t), N.hide();
1610
- }, f(0, 2e3))) : (this.stopResponseLoading(), n(t));
1596
+ P(m(e.response) ? e.response(t) : e.response).then((t) => {
1597
+ e != null && e.lag ? (j.show(), setTimeout(() => {
1598
+ this.stopResponseLoading(), n(t), j.hide();
1599
+ }, p(0, 2e3))) : (this.stopResponseLoading(), n(t));
1611
1600
  });
1612
1601
  });
1613
1602
  }
@@ -1615,21 +1604,21 @@ var Je = "d-response-loading", Ye = class {
1615
1604
  return e.response;
1616
1605
  }
1617
1606
  startResponseLoading() {
1618
- this.loading && clearTimeout(this.loading), s() && document.body.classList.add(Je);
1607
+ this.loading && clearTimeout(this.loading), c() && document.body.classList.add(qe);
1619
1608
  }
1620
1609
  stopResponseLoading() {
1621
- s() && (this.loading = setTimeout(() => {
1622
- this.loading = void 0, document.body.classList.remove(Je);
1610
+ c() && (this.loading = setTimeout(() => {
1611
+ this.loading = void 0, document.body.classList.remove(qe);
1623
1612
  }, 2400));
1624
1613
  }
1625
- }, Xe = class {
1626
- constructor(e = "/api/", t = {}) {
1627
- w(this, "url", void 0), w(this, "geo", void 0), w(this, "headers", void 0), w(this, "requestDefault", void 0), w(this, "status", void 0), w(this, "response", void 0), w(this, "preparation", void 0), w(this, "loading", void 0), w(this, "errorCenter", void 0), w(this, "hydration", void 0), w(this, "timeout", 16e3), w(this, "origin", void 0), w(this, "wrapper", void 0), this.url = e;
1628
- let { headersClass: n = We, requestDefaultClass: r = Be, statusClass: i = Le, responseClass: a = Ye, preparationClass: o = qe, loadingClass: s = N.getItem(), errorCenterClass: c = T.getItem(), hydrationClass: l = Ke, wrapper: u } = t;
1629
- this.geo = A.getObject(), this.headers = new n(), this.requestDefault = new r(), this.status = new i(), this.response = new a(this.requestDefault), this.preparation = new o(), this.loading = s, this.errorCenter = c, this.hydration = new l(), this.wrapper = u, this.hydration.initResponse(this.response);
1614
+ }, Ye = class {
1615
+ constructor(t = "/api/", n = {}) {
1616
+ e(this, "url", void 0), e(this, "geo", void 0), e(this, "headers", void 0), e(this, "requestDefault", void 0), e(this, "status", void 0), e(this, "response", void 0), e(this, "preparation", void 0), e(this, "loading", void 0), e(this, "errorCenter", void 0), e(this, "hydration", void 0), e(this, "timeout", 16e3), e(this, "origin", void 0), e(this, "wrapper", void 0), this.url = t;
1617
+ let { headersClass: r = Ue, requestDefaultClass: i = ze, statusClass: a = Ie, responseClass: o = Je, preparationClass: s = Ke, loadingClass: c = j.getItem(), errorCenterClass: l = C.getItem(), hydrationClass: u = Ge, wrapper: d } = n;
1618
+ this.geo = O.getObject(), this.headers = new r(), this.requestDefault = new i(), this.status = new a(), this.response = new o(this.requestDefault), this.preparation = new s(), this.loading = c, this.errorCenter = l, this.hydration = new u(), this.wrapper = d, this.hydration.initResponse(this.response);
1630
1619
  }
1631
1620
  isLocalhost() {
1632
- return s() && typeof location < "u" && location.hostname === "localhost";
1621
+ return c() && typeof location < "u" && location.hostname === "localhost";
1633
1622
  }
1634
1623
  getStatus() {
1635
1624
  return this.status;
@@ -1646,14 +1635,14 @@ var Je = "d-response-loading", Ye = class {
1646
1635
  getUrl(e, t = !0) {
1647
1636
  return `${t ? this.getOrigin() : ""}${e}`.replace("{locale}", this.geo.getLocation()).replace("{country}", this.geo.getCountry()).replace("{language}", this.geo.getLanguage());
1648
1637
  }
1649
- getBody(e = {}, t = F.get) {
1638
+ getBody(e = {}, t = N.get) {
1650
1639
  if (e instanceof FormData) return e;
1651
- if (t !== F.get && l(e)) return d(e) ? e : JSON.stringify(e);
1640
+ if (t !== N.get && u(e)) return f(e) ? e : JSON.stringify(e);
1652
1641
  }
1653
- getBodyForGet(e, t = "", n = F.get) {
1654
- if (n === F.get) {
1655
- let n = t.match(/\?/) ? "&" : "?", r = typeof e == "object" ? o(e) : e;
1656
- if (l(r)) return `${n}${r}`;
1642
+ getBodyForGet(e, t = "", n = N.get) {
1643
+ if (n === N.get) {
1644
+ let n = t.match(/\?/) ? "&" : "?", r = typeof e == "object" ? s(e) : e;
1645
+ if (u(r)) return `${n}${r}`;
1657
1646
  }
1658
1647
  return "";
1659
1648
  }
@@ -1686,48 +1675,48 @@ var Je = "d-response-loading", Ye = class {
1686
1675
  }
1687
1676
  async request(e) {
1688
1677
  var t;
1689
- let n = d(e) ? { path: e } : e, r = (t = n.wrapper) == null ? this.wrapper : t;
1678
+ let n = f(e) ? { path: e } : e, r = (t = n.wrapper) == null ? this.wrapper : t;
1690
1679
  return r ? await r(() => this.fetch(n), n) : await this.fetch(n);
1691
1680
  }
1692
1681
  get(e) {
1693
1682
  return this.request({
1694
1683
  ...e,
1695
- method: F.get
1684
+ method: N.get
1696
1685
  });
1697
1686
  }
1698
1687
  post(e) {
1699
1688
  return this.request({
1700
1689
  ...e,
1701
- method: F.post
1690
+ method: N.post
1702
1691
  });
1703
1692
  }
1704
1693
  put(e) {
1705
1694
  return this.request({
1706
1695
  ...e,
1707
- method: F.put
1696
+ method: N.put
1708
1697
  });
1709
1698
  }
1710
1699
  patch(e) {
1711
1700
  return this.request({
1712
1701
  ...e,
1713
- method: F.patch
1702
+ method: N.patch
1714
1703
  });
1715
1704
  }
1716
1705
  delete(e) {
1717
1706
  return this.request({
1718
1707
  ...e,
1719
- method: F.delete
1708
+ method: N.delete
1720
1709
  });
1721
1710
  }
1722
1711
  getRetryDelay(e, t) {
1723
- return f(t, t + e * t);
1712
+ return p(t, t + e * t);
1724
1713
  }
1725
1714
  async fetch(e, t = 0) {
1726
- 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);
1715
+ let { method: n = N.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);
1727
1716
  if (m) return m;
1728
- let h = await P.getByFetch(e);
1717
+ let h = await M.getByFetch(e);
1729
1718
  if (h) return this.hydration.toClient(e, h), h;
1730
- let g = new Le(), _, v;
1719
+ let g = new Ie(), _, v;
1731
1720
  o || this.loading.show();
1732
1721
  try {
1733
1722
  await this.preparation.make(l, e);
@@ -1736,19 +1725,19 @@ var Je = "d-response-loading", Ye = class {
1736
1725
  let m = await this.preparation.makeEnd(u, r, e);
1737
1726
  if (g.setStatus(r.status, r.statusText), this.status.setStatus(r.status, r.statusText), !a && r.status >= 400) {
1738
1727
  var te;
1739
- d && (v = await Ue.getItem(n, r)), this.makeErrorQuery((te = v) == null ? r : te);
1728
+ d && (v = await He.getItem(n, r)), this.makeErrorQuery((te = v) == null ? r : te);
1740
1729
  }
1741
1730
  if (m != null && m.reset && t < f || t < s) return await ee(this.getRetryDelay(t, c)), o || this.loading.hide(), await this.fetch(e, t + 1);
1742
- _ = new ze(e, r, m, v), await _.init();
1731
+ _ = new Re(e, r, m, v), await _.init();
1743
1732
  } catch (e) {
1744
1733
  throw a || this.makeError(e), g.setError(String(e)), this.status.setError(String(e)), o || this.loading.hide(), e;
1745
1734
  }
1746
1735
  g.setLastResponse(_.getData()), this.status.setLastResponse(_.getData());
1747
1736
  let y = _.getAndStatus(g);
1748
- return o || this.loading.hide(), this.hydration.toClient(e, y), await P.setByFetch(e, y), y;
1737
+ return o || this.loading.hide(), this.hydration.toClient(e, y), await M.setByFetch(e, y), y;
1749
1738
  }
1750
1739
  async makeQuery(e, t) {
1751
- 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 = {
1740
+ let n = this.requestDefault.request(e.request), { pathFull: r = void 0, method: i = N.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 = {
1752
1741
  ...s,
1753
1742
  method: i,
1754
1743
  body: this.getBody(n, i)
@@ -1760,10 +1749,10 @@ var Je = "d-response-loading", Ye = class {
1760
1749
  ...(f = s.headers) == null ? {} : f
1761
1750
  };
1762
1751
  }
1763
- let ee = this.initController(e, d);
1752
+ let p = this.initController(e, d);
1764
1753
  return {
1765
1754
  query: await fetch(l, d),
1766
- timeoutId: ee
1755
+ timeoutId: p
1767
1756
  };
1768
1757
  }
1769
1758
  makeError(e, t = "api") {
@@ -1776,7 +1765,7 @@ var Je = "d-response-loading", Ye = class {
1776
1765
  });
1777
1766
  break;
1778
1767
  case "AbortError": break;
1779
- default: u() ? this.errorCenter.on({
1768
+ default: d() ? this.errorCenter.on({
1780
1769
  group: t,
1781
1770
  code: "unknown",
1782
1771
  details: e
@@ -1842,12 +1831,12 @@ var Je = "d-response-loading", Ye = class {
1842
1831
  }, n);
1843
1832
  }
1844
1833
  }
1845
- }, L = class {
1834
+ }, F = class {
1846
1835
  static isLocalhost() {
1847
1836
  return this.getItem().isLocalhost();
1848
1837
  }
1849
1838
  static getItem() {
1850
- return D.get("__ui:api-instance__", () => new Xe());
1839
+ return T.get("__ui:api-instance__", () => new Ye());
1851
1840
  }
1852
1841
  static getStatus() {
1853
1842
  return this.getItem().getStatus();
@@ -1867,10 +1856,10 @@ var Je = "d-response-loading", Ye = class {
1867
1856
  static getUrl(e, t = !0) {
1868
1857
  return this.getItem().getUrl(e, t);
1869
1858
  }
1870
- static getBody(e = {}, t = F.get) {
1859
+ static getBody(e = {}, t = N.get) {
1871
1860
  return this.getItem().getBody(e, t);
1872
1861
  }
1873
- static getBodyForGet(e, t = "", n = F.get) {
1862
+ static getBodyForGet(e, t = "", n = N.get) {
1874
1863
  return this.getItem().getBodyForGet(e, t, n);
1875
1864
  }
1876
1865
  static setHeaders(e) {
@@ -1898,7 +1887,7 @@ var Je = "d-response-loading", Ye = class {
1898
1887
  this.getItem().setWrapper(e);
1899
1888
  }
1900
1889
  static setConfig(e) {
1901
- e && n(e) && (e.urlRoot && this.setUrl(e.urlRoot), e.headers && this.setHeaders(e.headers), e.requestDefault && this.setRequestDefault(e.requestDefault), e.preparation && this.setPreparation(e.preparation), e.end && this.setEnd(e.end), e.timeout && this.setTimeout(e.timeout), e.devMode && this.getResponse().setDevMode(e.devMode), e.origin && this.setOrigin(e.origin), e.wrapper && this.setWrapper(e.wrapper));
1890
+ e && r(e) && (e.urlRoot && this.setUrl(e.urlRoot), e.headers && this.setHeaders(e.headers), e.requestDefault && this.setRequestDefault(e.requestDefault), e.preparation && this.setPreparation(e.preparation), e.end && this.setEnd(e.end), e.timeout && this.setTimeout(e.timeout), e.devMode && this.getResponse().setDevMode(e.devMode), e.origin && this.setOrigin(e.origin), e.wrapper && this.setWrapper(e.wrapper));
1902
1891
  }
1903
1892
  static async request(e) {
1904
1893
  return this.getItem().request(e);
@@ -1918,18 +1907,18 @@ var Je = "d-response-loading", Ye = class {
1918
1907
  static delete(e) {
1919
1908
  return this.getItem().delete(e);
1920
1909
  }
1921
- }, Ze = class {
1922
- constructor(e, t, n, r = T.getItem()) {
1923
- if (w(this, "callback", void 0), w(this, "callbackError", void 0), w(this, "channel", void 0), w(this, "update", (e) => {
1910
+ }, Xe = class {
1911
+ constructor(t, n, r, i = C.getItem()) {
1912
+ if (e(this, "callback", void 0), e(this, "callbackError", void 0), e(this, "channel", void 0), e(this, "update", (e) => {
1924
1913
  var t;
1925
1914
  return (t = this.callback) == null || t.call(this, e), this;
1926
- }), w(this, "updateError", (e) => {
1915
+ }), e(this, "updateError", (e) => {
1927
1916
  var t;
1928
1917
  return (t = this.callbackError) == null || t.call(this, e), this;
1929
- }), this.callback = t, this.callbackError = n, s()) try {
1930
- this.channel = new BroadcastChannel(`${Qe()}__${e}`), this.channel.onmessage = this.update, this.channel.onmessageerror = this.updateError;
1918
+ }), this.callback = n, this.callbackError = r, c()) try {
1919
+ this.channel = new BroadcastChannel(`${Ze()}__${t}`), this.channel.onmessage = this.update, this.channel.onmessageerror = this.updateError;
1931
1920
  } catch (e) {
1932
- r.on({
1921
+ i.on({
1933
1922
  group: "broadcast",
1934
1923
  code: "error",
1935
1924
  details: e
@@ -1953,9 +1942,9 @@ var Je = "d-response-loading", Ye = class {
1953
1942
  var e;
1954
1943
  return (e = this.channel) == null || e.close(), this.channel = void 0, this;
1955
1944
  }
1956
- }, Qe = () => new O("__ui:broadcast-name__").get(() => `name_${f(1e6, 9999999)}`), $e = class {
1957
- constructor(e) {
1958
- w(this, "callback", void 0), w(this, "cache", void 0), w(this, "cacheOld", void 0), w(this, "comparisons", []), this.callback = e;
1945
+ }, Ze = () => new E("__ui:broadcast-name__").get(() => `name_${p(1e6, 9999999)}`), Qe = class {
1946
+ constructor(t) {
1947
+ e(this, "callback", void 0), e(this, "cache", void 0), e(this, "cacheOld", void 0), e(this, "comparisons", []), this.callback = t;
1959
1948
  }
1960
1949
  getCache(e) {
1961
1950
  return this.isUpdate(e) && (this.cacheOld = this.cache, this.setCache()), this.cache;
@@ -1975,9 +1964,9 @@ var Je = "d-response-loading", Ye = class {
1975
1964
  isUpdate(e) {
1976
1965
  return this.cache === void 0 || this.comparisons.length !== e.length || this.comparisons.findIndex((t, n) => t !== e[n]) >= 0 ? (this.comparisons = [...e], !0) : !1;
1977
1966
  }
1978
- }, et = class {
1967
+ }, $e = class {
1979
1968
  constructor() {
1980
- w(this, "cache", {});
1969
+ e(this, "cache", {});
1981
1970
  }
1982
1971
  get(e, t, n) {
1983
1972
  return this.getCacheItem(e, t).getCache(n == null ? [] : n);
@@ -1986,11 +1975,11 @@ var Je = "d-response-loading", Ye = class {
1986
1975
  return await this.getCacheItem(e, t).getCacheAsync(n == null ? [] : n);
1987
1976
  }
1988
1977
  getCacheItem(e, t) {
1989
- return e in this.cache || (this.cache[e] = new $e(t)), this.cache[e];
1978
+ return e in this.cache || (this.cache[e] = new Qe(t)), this.cache[e];
1990
1979
  }
1991
- }, tt = class {
1980
+ }, et = class {
1992
1981
  static getItem() {
1993
- return D.get("__ui:cache-static__", () => new et());
1982
+ return T.get("__ui:cache-static__", () => new $e());
1994
1983
  }
1995
1984
  static get(e, t, n) {
1996
1985
  return this.getItem().get(e, t, n);
@@ -2001,41 +1990,41 @@ var Je = "d-response-loading", Ye = class {
2001
1990
  };
2002
1991
  //#endregion
2003
1992
  //#region src/functions/toDate.ts
2004
- function R(e) {
2005
- var t, n, r, i, a, o, s, l;
1993
+ function I(e) {
1994
+ var t, n, r, i, a, o, s, c;
2006
1995
  if (e instanceof Date) return e;
2007
- if (c(e)) return /* @__PURE__ */ new Date();
1996
+ if (l(e)) return /* @__PURE__ */ new Date();
2008
1997
  if (typeof e == "number") return new Date(e);
2009
- let u = e, d = A.getTimezoneFormat().trim();
1998
+ let u = e, d = O.getTimezoneFormat().trim();
2010
1999
  e.replace(/^([\s\S]+)([-+]\d{2}:?\d{2})$/, (e, t, n) => (u = t, d = n.trim(), e));
2011
- 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;
2000
+ let f = (t = (n = (r = (i = (a = (o = (s = (c = /^\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` : c) == 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;
2012
2001
  return /* @__PURE__ */ new Date(`${f.trim()}${d}`);
2013
2002
  }
2014
2003
  //#endregion
2015
2004
  //#region src/functions/getColumn.ts
2016
- function nt(e, t) {
2017
- return r(e, (e) => e == null ? void 0 : e[t], !0);
2005
+ function tt(e, t) {
2006
+ return i(e, (e) => e == null ? void 0 : e[t], !0);
2018
2007
  }
2019
2008
  //#endregion
2020
2009
  //#region src/classes/GeoIntl.ts
2021
- var z = class e {
2022
- static isItem(e = A.getLocation()) {
2023
- return this.getLocation(e) in V;
2010
+ var L = class t {
2011
+ static isItem(e = O.getLocation()) {
2012
+ return this.getLocation(e) in z;
2024
2013
  }
2025
- static getLocation(e = A.getLocation()) {
2026
- if (e in B) return B[e];
2027
- let t = A.find(e);
2028
- return B[e] = t.standard, t.standard;
2014
+ static getLocation(e = O.getLocation()) {
2015
+ if (e in R) return R[e];
2016
+ let t = O.find(e);
2017
+ return R[e] = t.standard, t.standard;
2029
2018
  }
2030
- static getInstance(t = A.getLocation()) {
2031
- let n = this.getLocation(t);
2032
- return n in V ? V[n] : new e(t);
2019
+ static getInstance(e = O.getLocation()) {
2020
+ let n = this.getLocation(e);
2021
+ return n in z ? z[n] : new t(e);
2033
2022
  }
2034
- constructor(e = A.getLocation(), t = T.getItem()) {
2035
- w(this, "errorCenter", void 0), w(this, "geo", void 0), this.errorCenter = t, this.geo = A.find(e);
2036
- let n = this.getLocation();
2037
- if (n in V) return V[n];
2038
- B[e] = n, V[n] = this;
2023
+ constructor(t = O.getLocation(), n = C.getItem()) {
2024
+ e(this, "errorCenter", void 0), e(this, "geo", void 0), this.errorCenter = n, this.geo = O.find(t);
2025
+ let r = this.getLocation();
2026
+ if (r in z) return z[r];
2027
+ R[t] = r, z[r] = this;
2039
2028
  }
2040
2029
  getLocation() {
2041
2030
  return this.geo.standard;
@@ -2066,7 +2055,7 @@ var z = class e {
2066
2055
  type: "language",
2067
2056
  style: t
2068
2057
  };
2069
- return this.display(A.getByCode(e).language, n);
2058
+ return this.display(O.getByCode(e).language, n);
2070
2059
  }
2071
2060
  countryName(e, t) {
2072
2061
  let n = {
@@ -2094,7 +2083,7 @@ var z = class e {
2094
2083
  }
2095
2084
  number(e, t) {
2096
2085
  var n, r;
2097
- return ((n = this.numberObject(t)) == null || (r = n.format) == null ? void 0 : r.call(n, b(e))) || e.toString();
2086
+ return ((n = this.numberObject(t)) == null || (r = n.format) == null ? void 0 : r.call(n, x(e))) || e.toString();
2098
2087
  }
2099
2088
  decimal() {
2100
2089
  var e, t, n;
@@ -2108,7 +2097,7 @@ var z = class e {
2108
2097
  }, i = e.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]{3})$/i, (...e) => (r.currency = String(e[2]).toUpperCase(), String(e[1])));
2109
2098
  if (n) {
2110
2099
  let t = this.numberObject(r);
2111
- return t ? nt(t.formatToParts(b(e)).filter((e) => ["literal", "currency"].indexOf(e.type) === -1), "value").join("") : e.toString();
2100
+ return t ? tt(t.formatToParts(x(e)).filter((e) => ["literal", "currency"].indexOf(e.type) === -1), "value").join("") : e.toString();
2112
2101
  }
2113
2102
  return "currency" in r ? this.number(typeof e == "number" ? e : i, r) : this.number(typeof e == "number" ? e : i, {
2114
2103
  ...r,
@@ -2131,8 +2120,8 @@ var z = class e {
2131
2120
  return this.number(r, n);
2132
2121
  }
2133
2122
  sizeFile(e, t = "byte") {
2134
- let n = b(e);
2135
- if (n > 1024 && d(t)) switch (t) {
2123
+ let n = x(e);
2124
+ if (n > 1024 && f(t)) switch (t) {
2136
2125
  case "byte": return this.sizeFile(n / 1024, "kilobyte");
2137
2126
  case "kilobyte": return this.sizeFile(n / 1024, "megabyte");
2138
2127
  case "megabyte": return this.sizeFile(n / 1024, "gigabyte");
@@ -2148,11 +2137,11 @@ var z = class e {
2148
2137
  });
2149
2138
  }
2150
2139
  percentBy100(e, t) {
2151
- return this.percent(b(e) / 100, t);
2140
+ return this.percent(x(e) / 100, t);
2152
2141
  }
2153
2142
  plural(e, t, n, r) {
2154
2143
  var i;
2155
- let a = b(e), o = t.split("|");
2144
+ let a = x(e), o = t.split("|");
2156
2145
  if (o.length > 1) try {
2157
2146
  if (typeof Intl < "u") {
2158
2147
  var s;
@@ -2187,18 +2176,18 @@ var z = class e {
2187
2176
  return `${this.number(a, r)} ${(i = o == null ? void 0 : o[0]) == null ? "" : i}`.trim();
2188
2177
  }
2189
2178
  date(e, t, n, r) {
2190
- let i = R(e), a = typeof n == "string", o = this.dateOptions(t, a ? n : "short");
2179
+ let i = I(e), a = typeof n == "string", o = this.dateOptions(t, a ? n : "short");
2191
2180
  return r && (o.hour12 = !1), a || Object.assign(o, n), i.toLocaleString(this.getLocation(), o);
2192
2181
  }
2193
2182
  relative(e, t, n) {
2194
- let r = R(e), i = n || /* @__PURE__ */ new Date(), a = {
2183
+ let r = I(e), i = n || /* @__PURE__ */ new Date(), a = {
2195
2184
  numeric: "auto",
2196
2185
  ...typeof t == "string" ? { style: t } : t || {}
2197
2186
  }, o = "second", s = (r.getTime() - i.getTime()) / 1e3;
2198
2187
  return Math.abs(s) >= 60 && (o = "minute", s /= 60, Math.abs(s) >= 60 && (o = "hour", s /= 60, Math.abs(s) >= 24 && (o = "day", s /= 24, Math.abs(s) >= 30 && (o = "month", s /= 30, Math.abs(s) >= 12 && (o = "year", s /= 12))))), this.relativeByValue(s, o, a);
2199
2188
  }
2200
2189
  relativeLimit(e, t, n, r, i, a, o) {
2201
- let s = R(e), c = n || /* @__PURE__ */ new Date(), l = new Date(c), u = new Date(c);
2190
+ let s = I(e), c = n || /* @__PURE__ */ new Date(), l = new Date(c), u = new Date(c);
2202
2191
  return l.setDate(c.getDate() - t), u.setDate(c.getDate() + t), s >= l && s <= u ? this.relative(s, r, c) : this.date(s, a, i, o);
2203
2192
  }
2204
2193
  relativeByValue(e, t, n) {
@@ -2207,7 +2196,7 @@ var z = class e {
2207
2196
  ...typeof n == "string" ? { style: n } : n || {}
2208
2197
  };
2209
2198
  try {
2210
- if (this.hasIntl() && Intl.RelativeTimeFormat !== void 0) return new Intl.RelativeTimeFormat(this.getLocation(), r).format(Math.round(b(e)), t);
2199
+ if (this.hasIntl() && Intl.RelativeTimeFormat !== void 0) return new Intl.RelativeTimeFormat(this.getLocation(), r).format(Math.round(x(e)), t);
2211
2200
  } catch (e) {
2212
2201
  this.errorCenter.on({
2213
2202
  group: "intl",
@@ -2219,7 +2208,7 @@ var z = class e {
2219
2208
  }
2220
2209
  month(e, t) {
2221
2210
  try {
2222
- if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { month: t || "long" }).format(R(e));
2211
+ if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { month: t || "long" }).format(I(e));
2223
2212
  } catch (e) {
2224
2213
  this.errorCenter.on({
2225
2214
  group: "intl",
@@ -2253,7 +2242,7 @@ var z = class e {
2253
2242
  }
2254
2243
  weekday(e, t) {
2255
2244
  try {
2256
- if (this.hasIntlDateTimeFormat()) return new Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }).format(R(e));
2245
+ if (this.hasIntlDateTimeFormat()) return new Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }).format(I(e));
2257
2246
  } catch (e) {
2258
2247
  this.errorCenter.on({
2259
2248
  group: "intl",
@@ -2355,15 +2344,15 @@ var z = class e {
2355
2344
  "second"
2356
2345
  ].indexOf(e) !== -1 && (n.second = "2-digit")), n;
2357
2346
  }
2358
- }, B = {}, V = {}, rt = class e {
2359
- constructor(e, t = "date", n = A.getLocation()) {
2360
- w(this, "type", void 0), w(this, "code", void 0), w(this, "date", void 0), w(this, "hour24", !1), w(this, "watch", void 0), this.type = t, this.code = n, this.date = R(e), isNaN(this.date.getTime()) && T.on({
2347
+ }, R = {}, z = {}, nt = class t {
2348
+ constructor(t, n = "date", r = O.getLocation()) {
2349
+ e(this, "type", void 0), e(this, "code", void 0), e(this, "date", void 0), e(this, "hour24", !1), e(this, "watch", void 0), this.type = n, this.code = r, this.date = I(t), isNaN(this.date.getTime()) && C.on({
2361
2350
  group: "intl",
2362
2351
  code: "invalid"
2363
2352
  });
2364
2353
  }
2365
2354
  getIntl() {
2366
- return z.getInstance(this.code);
2355
+ return L.getInstance(this.code);
2367
2356
  }
2368
2357
  getDate() {
2369
2358
  return this.date;
@@ -2435,8 +2424,8 @@ var z = class e {
2435
2424
  localeSecond(e = "numeric") {
2436
2425
  return this.locale("second", { second: e });
2437
2426
  }
2438
- standard(t = !0) {
2439
- let n = new e(this.date, this.type, "en-GB"), r = [], i;
2427
+ standard(e = !0) {
2428
+ let n = new t(this.date, this.type, "en-GB"), r = [], i;
2440
2429
  return n.setHour24(!0), this.type === "hour-minute" ? i = n.locale(this.type, {
2441
2430
  year: "numeric",
2442
2431
  month: "2-digit",
@@ -2463,10 +2452,10 @@ var z = class e {
2463
2452
  "hour",
2464
2453
  "minute",
2465
2454
  "second"
2466
- ].indexOf(this.type) !== -1 && (i = n.locale("time"))), `${r.join("-")}${i ? `T${i}${t ? n.getTimeZone() : ""}` : ""}`;
2455
+ ].indexOf(this.type) !== -1 && (i = n.locale("time"))), `${r.join("-")}${i ? `T${i}${e ? n.getTimeZone() : ""}` : ""}`;
2467
2456
  }
2468
2457
  setDate(e) {
2469
- return this.date = R(e), this.update(), this;
2458
+ return this.date = I(e), this.update(), this;
2470
2459
  }
2471
2460
  setType(e) {
2472
2461
  return this.type = e, this.update(), this;
@@ -2618,24 +2607,24 @@ var z = class e {
2618
2607
  };
2619
2608
  //#endregion
2620
2609
  //#region src/functions/getItemByPath.ts
2621
- function H(e, n) {
2610
+ function B(e, t) {
2622
2611
  var r;
2623
- if (!l(n, !0)) return;
2624
- let i = oe(n, ".", 2), a = i[0];
2625
- return a && e != null && e[a] && t(e[a]) && i != null && i[1] ? H(e[a], i[1]) : (r = e == null ? void 0 : e[a]) == null ? void 0 : r;
2612
+ if (!u(t, !0)) return;
2613
+ let i = se(t, ".", 2), a = i[0];
2614
+ return a && e != null && e[a] && n(e[a]) && i != null && i[1] ? B(e[a], i[1]) : (r = e == null ? void 0 : e[a]) == null ? void 0 : r;
2626
2615
  }
2627
2616
  //#endregion
2628
2617
  //#region src/functions/toCamelCase.ts
2629
- function it(e) {
2618
+ function rt(e) {
2630
2619
  return e.toString().trim().replace(/[^\w-. ]+/g, "").replace(/[ .]+/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (e) => `${e.toLowerCase()}`).replace(/-+([a-zA-Z0-9])/g, (...e) => `${String(e[1]).toUpperCase()}`).replace(/^([A-Z])/, (e) => `${e.toLowerCase()}`);
2631
2620
  }
2632
2621
  //#endregion
2633
2622
  //#region src/types/formattersTypes.ts
2634
- var U = /* @__PURE__ */ function(e) {
2623
+ var V = /* @__PURE__ */ function(e) {
2635
2624
  return e.currency = "currency", e.date = "date", e.name = "name", e.number = "number", e.plural = "plural", e.unit = "unit", e;
2636
- }({}), at = class {
2637
- constructor(e, t) {
2638
- w(this, "options", void 0), w(this, "list", void 0), this.options = e, this.list = t;
2625
+ }({}), it = class {
2626
+ constructor(t, n) {
2627
+ e(this, "options", void 0), e(this, "list", void 0), this.options = t, this.list = n;
2639
2628
  }
2640
2629
  is() {
2641
2630
  return !!this.list;
@@ -2647,7 +2636,7 @@ var U = /* @__PURE__ */ function(e) {
2647
2636
  return this.list ? this.isArray() ? this.list.length : 1 : 0;
2648
2637
  }
2649
2638
  getList() {
2650
- return this.list ? M(this.list) : [];
2639
+ return this.list ? A(this.list) : [];
2651
2640
  }
2652
2641
  getOptions() {
2653
2642
  return this.options;
@@ -2656,7 +2645,7 @@ var U = /* @__PURE__ */ function(e) {
2656
2645
  return this.list = e, this;
2657
2646
  }
2658
2647
  to() {
2659
- let e = r(this.getList(), (e) => ({
2648
+ let e = i(this.getList(), (e) => ({
2660
2649
  ...e,
2661
2650
  ...this.getFormatData(e)
2662
2651
  }));
@@ -2664,62 +2653,62 @@ var U = /* @__PURE__ */ function(e) {
2664
2653
  }
2665
2654
  getFormatData(e) {
2666
2655
  let t = {};
2667
- return r(this.options, (n, r) => {
2668
- let i = `${it(r)}Format`, a = H(e, r);
2669
- n != null && n.transformation ? l(a) ? t[i] = n.transformation(a, e, n.options) : t[i] = "" : t[i] = this.transformation(a, e, n.type, n.options);
2656
+ return i(this.options, (n, r) => {
2657
+ let i = `${rt(r)}Format`, a = B(e, r);
2658
+ n != null && n.transformation ? u(a) ? t[i] = n.transformation(a, e, n.options) : t[i] = "" : t[i] = this.transformation(a, e, n.type, n.options);
2670
2659
  }), t;
2671
2660
  }
2672
2661
  transformation(e, t, n, r) {
2673
- if (l(e) || n === U.name) switch (n) {
2674
- case U.currency: return this.formatCurrency(e, t, r);
2675
- case U.date: return this.formatDate(e, r);
2676
- case U.name: return this.formatName(t, r);
2677
- case U.number: return this.formatNumber(e, r);
2678
- case U.plural: return this.formatPlural(e, r);
2679
- case U.unit: return this.formatUnit(e, r);
2662
+ if (u(e) || n === V.name) switch (n) {
2663
+ case V.currency: return this.formatCurrency(e, t, r);
2664
+ case V.date: return this.formatDate(e, r);
2665
+ case V.name: return this.formatName(t, r);
2666
+ case V.number: return this.formatNumber(e, r);
2667
+ case V.plural: return this.formatPlural(e, r);
2668
+ case V.unit: return this.formatUnit(e, r);
2680
2669
  default: return String(e);
2681
2670
  }
2682
2671
  return "";
2683
2672
  }
2684
2673
  formatCurrency(e, t, n) {
2685
2674
  var r;
2686
- let i = n != null && n.currencyPropName ? H(t, n.currencyPropName) : t == null ? void 0 : t.currency;
2687
- return z.getInstance().currency(e, (r = n == null ? void 0 : n.options) == null ? i : r, n == null ? void 0 : n.numberOnly);
2675
+ let i = n != null && n.currencyPropName ? B(t, n.currencyPropName) : t == null ? void 0 : t.currency;
2676
+ return L.getInstance().currency(e, (r = n == null ? void 0 : n.options) == null ? i : r, n == null ? void 0 : n.numberOnly);
2688
2677
  }
2689
2678
  formatDate(e, t) {
2690
- return z.getInstance().date(e, t == null ? void 0 : t.type, t == null ? void 0 : t.options, t == null ? void 0 : t.hour24);
2679
+ return L.getInstance().date(e, t == null ? void 0 : t.type, t == null ? void 0 : t.options, t == null ? void 0 : t.hour24);
2691
2680
  }
2692
2681
  formatName(e, t) {
2693
2682
  var n, r, i;
2694
- let a = H(e, (n = t == null ? void 0 : t.lastPropName) == null ? "lastName" : n), o = H(e, (r = t == null ? void 0 : t.firstPropName) == null ? "firstName" : r), s = H(e, (i = t == null ? void 0 : t.surname) == null ? "surname" : i);
2695
- return a && o ? z.getInstance().fullName(a, o, s, t == null ? void 0 : t.short) : "";
2683
+ let a = B(e, (n = t == null ? void 0 : t.lastPropName) == null ? "lastName" : n), o = B(e, (r = t == null ? void 0 : t.firstPropName) == null ? "firstName" : r), s = B(e, (i = t == null ? void 0 : t.surname) == null ? "surname" : i);
2684
+ return a && o ? L.getInstance().fullName(a, o, s, t == null ? void 0 : t.short) : "";
2696
2685
  }
2697
2686
  formatNumber(e, t) {
2698
- return z.getInstance().number(e, t == null ? void 0 : t.options);
2687
+ return L.getInstance().number(e, t == null ? void 0 : t.options);
2699
2688
  }
2700
2689
  formatPlural(e, t) {
2701
- return t && t.words ? z.getInstance().plural(e, t == null ? void 0 : t.words, t == null ? void 0 : t.options, t == null ? void 0 : t.optionsNumber) : e;
2690
+ return t && t.words ? L.getInstance().plural(e, t == null ? void 0 : t.words, t == null ? void 0 : t.options, t == null ? void 0 : t.optionsNumber) : e;
2702
2691
  }
2703
2692
  formatUnit(e, t) {
2704
- return t && t.unit ? z.getInstance().unit(e, t.unit) : e;
2693
+ return t && t.unit ? L.getInstance().unit(e, t.unit) : e;
2705
2694
  }
2706
- }, ot = "f", st = class e {
2707
- constructor(e = A.getLocation()) {
2708
- w(this, "code", void 0), this.code = e;
2695
+ }, at = "f", ot = class t {
2696
+ constructor(t = O.getLocation()) {
2697
+ e(this, "code", void 0), this.code = t;
2709
2698
  }
2710
- get(t = this.getCode()) {
2711
- let n = A.find(t);
2699
+ get(e = this.getCode()) {
2700
+ let n = O.find(e);
2712
2701
  if (n) {
2713
2702
  var r;
2714
- let t = this.getCountry(n);
2703
+ let e = this.getCountry(n);
2715
2704
  return {
2716
2705
  language: this.getLanguageName(n),
2717
2706
  languageCode: n.language,
2718
- country: t,
2707
+ country: e,
2719
2708
  countryCode: n.country,
2720
2709
  standard: n.standard,
2721
- icon: (r = e.flags) == null ? void 0 : r[n.country],
2722
- label: t,
2710
+ icon: (r = t.flags) == null ? void 0 : r[n.country],
2711
+ label: e,
2723
2712
  value: n.country,
2724
2713
  phoneCode: n.phoneCode
2725
2714
  };
@@ -2734,55 +2723,55 @@ var U = /* @__PURE__ */ function(e) {
2734
2723
  };
2735
2724
  }
2736
2725
  getCode() {
2737
- return this.code || A.getLocation();
2726
+ return this.code || O.getLocation();
2738
2727
  }
2739
2728
  getFlag(e = this.getCode()) {
2740
2729
  var t;
2741
2730
  return (t = this.get(e)) == null ? void 0 : t.icon;
2742
2731
  }
2743
2732
  getList(e, t = !0) {
2744
- let n = r(this.getCodes(e), (e) => this.get(e));
2745
- return t ? new z().sort(n, (e, t) => [e.label, t.label]) : n;
2733
+ let n = i(this.getCodes(e), (e) => this.get(e));
2734
+ return t ? new L().sort(n, (e, t) => [e.label, t.label]) : n;
2746
2735
  }
2747
2736
  getListLanguage(e, t = !0) {
2748
- let n = [], i = /* @__PURE__ */ new Set();
2749
- return r(this.getCodes(e), (e) => {
2737
+ let n = [], r = /* @__PURE__ */ new Set();
2738
+ return i(this.getCodes(e), (e) => {
2750
2739
  let t = this.getLanguage(e);
2751
- t && !i.has(t.value) && (n.push(t), i.add(t.value));
2752
- }), t ? new z().sort(n, (e, t) => [e.label, t.label]) : n;
2740
+ t && !r.has(t.value) && (n.push(t), r.add(t.value));
2741
+ }), t ? new L().sort(n, (e, t) => [e.label, t.label]) : n;
2753
2742
  }
2754
- getNational(t, n = !0) {
2755
- let i = r(this.getList(t, !1), (t) => {
2756
- let n = new e(t.standard).get(t.standard);
2743
+ getNational(e, n = !0) {
2744
+ let r = i(this.getList(e, !1), (e) => {
2745
+ let n = new t(e.standard).get(e.standard);
2757
2746
  return {
2758
- ...t,
2747
+ ...e,
2759
2748
  description: n == null ? void 0 : n.country,
2760
2749
  nationalLanguage: n == null ? void 0 : n.language,
2761
2750
  nationalCountry: n == null ? void 0 : n.country
2762
2751
  };
2763
2752
  });
2764
- return n ? new z().sort(i, (e, t) => [e.label, t.label]) : i;
2753
+ return n ? new L().sort(r, (e, t) => [e.label, t.label]) : r;
2765
2754
  }
2766
- getNationalLanguage(t, n = !0) {
2767
- let i = r(this.getListLanguage(t, !1), (t) => {
2768
- let n = new e(t.standard).getLanguage(t.standard);
2755
+ getNationalLanguage(e, n = !0) {
2756
+ let r = i(this.getListLanguage(e, !1), (e) => {
2757
+ let n = new t(e.standard).getLanguage(e.standard);
2769
2758
  return {
2770
- ...t,
2759
+ ...e,
2771
2760
  description: n == null ? void 0 : n.language,
2772
2761
  nationalLanguage: n == null ? void 0 : n.language,
2773
2762
  nationalCountry: n == null ? void 0 : n.country
2774
2763
  };
2775
2764
  });
2776
- return n ? new z().sort(i, (e, t) => [e.label, t.label]) : i;
2765
+ return n ? new L().sort(r, (e, t) => [e.label, t.label]) : r;
2777
2766
  }
2778
2767
  setCode(e) {
2779
2768
  return this.code = e, this;
2780
2769
  }
2781
2770
  getLocation() {
2782
- return new z(this.code);
2771
+ return new L(this.code);
2783
2772
  }
2784
- getCodes(t) {
2785
- return t == null ? Object.keys(e.flags) : t;
2773
+ getCodes(e) {
2774
+ return e == null ? Object.keys(t.flags) : e;
2786
2775
  }
2787
2776
  getLanguageName(e) {
2788
2777
  return this.getLocation().languageName(e.language);
@@ -2791,7 +2780,7 @@ var U = /* @__PURE__ */ function(e) {
2791
2780
  return this.getLocation().countryName(e.country);
2792
2781
  }
2793
2782
  };
2794
- w(st, "flags", {
2783
+ e(ot, "flags", {
2795
2784
  RU: "f-ru",
2796
2785
  FR: "f-fr",
2797
2786
  GB: "f-gb",
@@ -3035,7 +3024,7 @@ w(st, "flags", {
3035
3024
  });
3036
3025
  //#endregion
3037
3026
  //#region src/classes/GeoPhone.ts
3038
- var ct = class {
3027
+ var st = class {
3039
3028
  static get(e) {
3040
3029
  return this.getList().find((t) => e === t.value);
3041
3030
  }
@@ -3069,7 +3058,7 @@ var ct = class {
3069
3058
  return this.map || this.makeMap(), (e = this.map) == null ? {} : e;
3070
3059
  }
3071
3060
  static toMask(e, t) {
3072
- if (l(e) && Array.isArray(t) && t.length > 0) {
3061
+ if (u(e) && Array.isArray(t) && t.length > 0) {
3073
3062
  let n = this.removeZero(e), r = n.length;
3074
3063
  for (let e of t) if (this.getUnnecessaryLength(e) === r) return this.toStandard(n, e);
3075
3064
  }
@@ -3091,11 +3080,11 @@ var ct = class {
3091
3080
  return (t = (n = e.match(/\*/g)) == null ? void 0 : n.length) == null ? 0 : t;
3092
3081
  }
3093
3082
  static makeList() {
3094
- let e = r(A.getList(), (e) => {
3083
+ let e = i(O.getList(), (e) => {
3095
3084
  if (e != null && e.phoneMask) return {
3096
3085
  phone: (e == null ? void 0 : e.phoneCode) && Number(e.phoneCode.replace(/[^0-9]+/g, "")) || void 0,
3097
3086
  within: (e == null ? void 0 : e.phoneWithin) || 0,
3098
- mask: M(e.phoneMask),
3087
+ mask: A(e.phoneMask),
3099
3088
  value: e.country
3100
3089
  };
3101
3090
  });
@@ -3134,10 +3123,10 @@ var ct = class {
3134
3123
  return e.replace(/\*/, this.getWithinSymbol(t));
3135
3124
  }
3136
3125
  };
3137
- w(ct, "list", void 0), w(ct, "map", void 0);
3126
+ e(st, "list", void 0), e(st, "map", void 0);
3138
3127
  //#endregion
3139
3128
  //#region src/classes/GeoUnit.ts
3140
- var W = {}, lt = {
3129
+ var H = {}, ct = {
3141
3130
  "millimeter->inch": .03937007874,
3142
3131
  "centimeter->inch": .3937007874,
3143
3132
  "meter->foot": 3.280839895,
@@ -3150,16 +3139,16 @@ var W = {}, lt = {
3150
3139
  "milliliter->fluid-ounce": .0338140227,
3151
3140
  "liter->gallon": .2641720524,
3152
3141
  "kilometer-per-hour->mile-per-hour": .621371192
3153
- }, ut = class e {
3154
- static getInstance(t = A.getLocation()) {
3155
- let n = A.find(t).standard;
3156
- return n in W ? W[n] : new e(t);
3142
+ }, lt = class t {
3143
+ static getInstance(e = O.getLocation()) {
3144
+ let n = O.find(e).standard;
3145
+ return n in H ? H[n] : new t(e);
3157
3146
  }
3158
- constructor(e = A.getLocation()) {
3159
- w(this, "geo", void 0), this.geo = A.find(e);
3160
- let t = this.getLocation();
3161
- if (t in W) return W[t];
3162
- W[t] = this;
3147
+ constructor(t = O.getLocation()) {
3148
+ e(this, "geo", void 0), this.geo = O.find(t);
3149
+ let n = this.getLocation();
3150
+ if (n in H) return H[n];
3151
+ H[n] = this;
3163
3152
  }
3164
3153
  getLocation() {
3165
3154
  return this.geo.standard;
@@ -3229,8 +3218,8 @@ var W = {}, lt = {
3229
3218
  return ((t = this.geo.unit) == null ? void 0 : t[e]) || e;
3230
3219
  }
3231
3220
  formatUnit(e, t, n) {
3232
- let r = b(e), i = this.getTargetUnit(t), a = this.convert(r, t, i);
3233
- return z.getInstance(this.getLocation()).unit(a, {
3221
+ let r = x(e), i = this.getTargetUnit(t), a = this.convert(r, t, i);
3222
+ return L.getInstance(this.getLocation()).unit(a, {
3234
3223
  unit: i,
3235
3224
  ...n
3236
3225
  });
@@ -3239,16 +3228,16 @@ var W = {}, lt = {
3239
3228
  if (t !== n) {
3240
3229
  if (this.isCelsiusToFahrenheit(t, n)) return this.celsiusToFahrenheit(e);
3241
3230
  let r = `${t}->${n}`;
3242
- if (r in lt) return e * lt[r];
3231
+ if (r in ct) return e * ct[r];
3243
3232
  }
3244
3233
  return e;
3245
3234
  }
3246
3235
  celsiusToFahrenheit(e) {
3247
3236
  return e * 1.8 + 32;
3248
3237
  }
3249
- }, dt = class {
3238
+ }, ut = class {
3250
3239
  static getItem() {
3251
- return D.get("__ui:global-instance__", () => ({}));
3240
+ return T.get("__ui:global-instance__", () => ({}));
3252
3241
  }
3253
3242
  static get(e) {
3254
3243
  var t;
@@ -3258,9 +3247,9 @@ var W = {}, lt = {
3258
3247
  let t = this.getItem();
3259
3248
  Object.keys(t).length > 0 || Object.assign(t, e);
3260
3249
  }
3261
- }, ft = class {
3250
+ }, dt = class {
3262
3251
  constructor() {
3263
- w(this, "data", void 0), w(this, "watch", {}), w(this, "block", !1), w(this, "time", void 0);
3252
+ e(this, "data", void 0), e(this, "watch", {}), e(this, "block", !1), e(this, "time", void 0);
3264
3253
  }
3265
3254
  get(e, t) {
3266
3255
  let n = this.getData();
@@ -3268,7 +3257,7 @@ var W = {}, lt = {
3268
3257
  }
3269
3258
  set(e, t) {
3270
3259
  var n;
3271
- let r = m(t);
3260
+ let r = h(t);
3272
3261
  return r !== ((n = this.data) == null ? void 0 : n[e]) && (this.getData()[e] = r, this.update()), this;
3273
3262
  }
3274
3263
  addWatch(e, t) {
@@ -3294,29 +3283,29 @@ var W = {}, lt = {
3294
3283
  return this.makeWatch(e), this.data = e, this;
3295
3284
  }
3296
3285
  makeWatch(e) {
3297
- return r(this.watch, (t, n) => {
3286
+ return i(this.watch, (t, n) => {
3298
3287
  var r;
3299
3288
  ((r = this.data) == null ? void 0 : r[n]) !== (e == null ? void 0 : e[n]) && t.forEach((t) => t(e[n]));
3300
3289
  }), this;
3301
3290
  }
3302
- }, pt = class extends ft {
3291
+ }, ft = class extends dt {
3303
3292
  init() {
3304
- return this.initData(), s() && addEventListener("hashchange", () => this.reload()), this;
3293
+ return this.initData(), c() && addEventListener("hashchange", () => this.reload()), this;
3305
3294
  }
3306
3295
  getLocation() {
3307
3296
  let e = {};
3308
- if (s()) {
3297
+ if (c()) {
3309
3298
  let t = location.hash.matchAll(/([\w-]+)[:=]([^;]+)/gi);
3310
- for (let n of t) e[n[1]] = E(n[2]);
3299
+ for (let n of t) e[n[1]] = w(n[2]);
3311
3300
  }
3312
3301
  return e;
3313
3302
  }
3314
3303
  update() {
3315
- if (s()) {
3304
+ if (c()) {
3316
3305
  clearTimeout(this.time), this.block = !0;
3317
3306
  try {
3318
3307
  let e = this.getData();
3319
- history.replaceState(null, "", `#${o(e, "=", ";")}`);
3308
+ history.replaceState(null, "", `#${s(e, "=", ";")}`);
3320
3309
  } finally {
3321
3310
  this.time = setTimeout(() => {
3322
3311
  this.block = !1;
@@ -3325,9 +3314,9 @@ var W = {}, lt = {
3325
3314
  }
3326
3315
  return this;
3327
3316
  }
3328
- }, mt = class {
3317
+ }, pt = class {
3329
3318
  static getItem() {
3330
- return D.get("__ui:hash-instance__", () => new pt());
3319
+ return T.get("__ui:hash-instance__", () => new ft());
3331
3320
  }
3332
3321
  static get(e, t) {
3333
3322
  return this.getItem().get(e, t);
@@ -3344,35 +3333,35 @@ var W = {}, lt = {
3344
3333
  static reload() {
3345
3334
  this.getItem().reload();
3346
3335
  }
3347
- }, ht = 320, gt = "--LOAD--", _t = class {
3336
+ }, mt = 320, ht = "--LOAD--", gt = class {
3348
3337
  static is(e) {
3349
3338
  return e in this.icons || this.getName(e) in this.icons;
3350
3339
  }
3351
3340
  static async get(e, t = "", n = 18e4) {
3352
3341
  let r = this.getRaw(e, t);
3353
- return typeof r == "string" ? r === gt && n > 0 ? (await this.wait(), this.get(e, t, n - ht)) : r : p(r) ? await r() : await r;
3342
+ return typeof r == "string" ? r === ht && n > 0 ? (await this.wait(), this.get(e, t, n - mt)) : r : m(r) ? await r() : await r;
3354
3343
  }
3355
3344
  static getAsync(e, t = "") {
3356
3345
  let n = this.getRaw(e, t);
3357
- return typeof n == "string" && n !== gt ? n : "";
3346
+ return typeof n == "string" && n !== ht ? n : "";
3358
3347
  }
3359
3348
  static getNameList() {
3360
- return r(this.icons, (e, t) => t.replace(/^@/, ""));
3349
+ return i(this.icons, (e, t) => t.replace(/^@/, ""));
3361
3350
  }
3362
3351
  static getUrlGlobal() {
3363
- return `${L.isLocalhost(), ""}${this.url}`;
3352
+ return `${F.isLocalhost(), ""}${this.url}`;
3364
3353
  }
3365
3354
  static add(e, t) {
3366
3355
  this.icons[this.getName(e)] = t;
3367
3356
  }
3368
3357
  static addLoad(e) {
3369
- this.icons[this.getName(e)] = gt;
3358
+ this.icons[this.getName(e)] = ht;
3370
3359
  }
3371
3360
  static addGlobal(e, t) {
3372
3361
  this.icons[this.getName(e)] = `${this.getUrlGlobal()}${t}`;
3373
3362
  }
3374
3363
  static addByList(e) {
3375
- r(e, (e, t) => this.add(t, e));
3364
+ i(e, (e, t) => this.add(t, e));
3376
3365
  }
3377
3366
  static setUrl(e) {
3378
3367
  this.url = e;
@@ -3388,61 +3377,61 @@ var W = {}, lt = {
3388
3377
  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;
3389
3378
  }
3390
3379
  static wait() {
3391
- return new Promise((e) => setTimeout(() => e(), ht));
3380
+ return new Promise((e) => setTimeout(() => e(), mt));
3392
3381
  }
3393
3382
  };
3394
- w(_t, "icons", {}), w(_t, "url", "/icons/");
3383
+ e(gt, "icons", {}), e(gt, "url", "/icons/");
3395
3384
  //#endregion
3396
3385
  //#region src/functions/getElementItem.ts
3397
- function vt(e, t, n) {
3386
+ function _t(e, t, n) {
3398
3387
  var r, i;
3399
- return (r = (i = j(e)) == null ? void 0 : i[t]) == null ? n : r;
3388
+ return (r = (i = k(e)) == null ? void 0 : i[t]) == null ? n : r;
3400
3389
  }
3401
3390
  //#endregion
3402
3391
  //#region src/functions/setElementItem.ts
3403
- function yt(e, n, i) {
3404
- let a = j(e);
3392
+ function vt(e, t, r) {
3393
+ let a = k(e);
3405
3394
  if (a) {
3406
- let e = vt(a, n);
3407
- if (t(e) && t(i)) r(i, (t, n) => {
3408
- e[n] = m(t);
3395
+ let e = _t(a, t);
3396
+ if (n(e) && n(r)) i(r, (t, n) => {
3397
+ e[n] = h(t);
3409
3398
  });
3410
3399
  else {
3411
- let e = m(i);
3412
- !(n in a) && typeof e == "string" ? a.setAttribute(n.toString(), e) : a[n] = e;
3400
+ let e = h(r);
3401
+ !(t in a) && typeof e == "string" ? a.setAttribute(t.toString(), e) : a[t] = e;
3413
3402
  }
3414
3403
  }
3415
3404
  return a;
3416
3405
  }
3417
3406
  //#endregion
3418
3407
  //#region src/functions/createElement.ts
3419
- function G(e, t = "div", i, a) {
3420
- if (!s()) return;
3408
+ function U(e, t = "div", n, a) {
3409
+ if (!c()) return;
3421
3410
  let o = document.createElement(t);
3422
- return typeof i == "function" ? i(o) : n(i) && r(i, (e, t) => {
3423
- yt(o, t, e);
3411
+ return typeof n == "function" ? n(o) : r(n) && i(n, (e, t) => {
3412
+ vt(o, t, e);
3424
3413
  }), e == null || e.insertBefore(o, a == null ? null : a), o;
3425
3414
  }
3426
3415
  //#endregion
3427
3416
  //#region src/functions/encodeAttribute.ts
3428
- var bt = {
3417
+ var yt = {
3429
3418
  "&": "&amp;",
3430
3419
  "<": "&lt;",
3431
3420
  ">": "&gt;",
3432
3421
  "\"": "&quot;",
3433
3422
  "'": "&#39;"
3434
3423
  };
3435
- function K(e) {
3424
+ function W(e) {
3436
3425
  return String(e).replace(/[&<>"']/g, (e) => {
3437
3426
  var t;
3438
- return (t = bt == null ? void 0 : bt[e]) == null ? e : t;
3427
+ return (t = yt == null ? void 0 : yt[e]) == null ? e : t;
3439
3428
  });
3440
3429
  }
3441
3430
  //#endregion
3442
3431
  //#region src/classes/MetaManager.ts
3443
- var q = class {
3444
- constructor(e, t = !1) {
3445
- w(this, "listMeta", void 0), w(this, "isProperty", void 0), w(this, "items", {}), this.listMeta = e, this.isProperty = t, this.update();
3432
+ var G = class {
3433
+ constructor(t, n = !1) {
3434
+ e(this, "listMeta", void 0), e(this, "isProperty", void 0), e(this, "items", {}), this.listMeta = t, this.isProperty = n, this.update();
3446
3435
  }
3447
3436
  getListMeta() {
3448
3437
  return this.listMeta;
@@ -3455,19 +3444,19 @@ var q = class {
3455
3444
  return this.items;
3456
3445
  }
3457
3446
  html() {
3458
- return r(this.listMeta, (e) => this.toHtmlString(e)).join("");
3447
+ return i(this.listMeta, (e) => this.toHtmlString(e)).join("");
3459
3448
  }
3460
3449
  set(e, t) {
3461
3450
  return this.get(e) !== t && this.setItem(e, t).setMeta(e), this;
3462
3451
  }
3463
3452
  setByList(e) {
3464
- return r(e, (e, t) => this.set(t, String(e))), this;
3453
+ return i(e, (e, t) => this.set(t, String(e))), this;
3465
3454
  }
3466
3455
  getAttributeName() {
3467
3456
  return this.isProperty ? "property" : "name";
3468
3457
  }
3469
3458
  findMetaElement(e) {
3470
- if (!s()) return;
3459
+ if (!c()) return;
3471
3460
  let t = `meta[${this.getAttributeName()}="${e}"]`;
3472
3461
  return document.querySelector(t) || void 0;
3473
3462
  }
@@ -3476,23 +3465,23 @@ var q = class {
3476
3465
  }
3477
3466
  setMeta(e) {
3478
3467
  var t;
3479
- if (!s()) return this;
3468
+ if (!c()) return this;
3480
3469
  let n = (t = this.items[e]) == null ? "" : t;
3481
3470
  if (e === "title") return document.title = n, this;
3482
3471
  let r = this.findMetaElement(e);
3483
3472
  if (r) return r.content = n, this;
3484
3473
  let i = { content: n };
3485
- return this.isProperty ? i.property = e : i.name = e, G(document.head, "meta", i), this;
3474
+ return this.isProperty ? i.property = e : i.name = e, U(document.head, "meta", i), this;
3486
3475
  }
3487
3476
  toHtmlString(e) {
3488
3477
  var t;
3489
3478
  let n = (t = this.items[e]) == null ? "" : t;
3490
3479
  if (e === "title") return "";
3491
- let r = K(n);
3480
+ let r = W(n);
3492
3481
  return r ? `<meta ${this.getAttributeName()}="${e}" content="${r}">` : "";
3493
3482
  }
3494
3483
  toHtmlTitle(e) {
3495
- return pe(e);
3484
+ return fe(e);
3496
3485
  }
3497
3486
  update() {
3498
3487
  return this.listMeta.forEach((e) => {
@@ -3500,121 +3489,121 @@ var q = class {
3500
3489
  this.items[e] = (t = (n = this.findMetaElement(e)) == null ? void 0 : n.content) == null ? "" : t;
3501
3490
  }), this;
3502
3491
  }
3503
- }, J = /* @__PURE__ */ function(e) {
3492
+ }, K = /* @__PURE__ */ function(e) {
3504
3493
  return e.title = "title", e.description = "description", e.keywords = "keywords", e.canonical = "canonical", e.robots = "robots", e.author = "author", e;
3505
- }({}), xt = /* @__PURE__ */ function(e) {
3494
+ }({}), bt = /* @__PURE__ */ function(e) {
3506
3495
  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;
3507
- }({}), Y = /* @__PURE__ */ function(e) {
3496
+ }({}), q = /* @__PURE__ */ function(e) {
3508
3497
  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;
3509
- }({}), St = /* @__PURE__ */ function(e) {
3498
+ }({}), xt = /* @__PURE__ */ function(e) {
3510
3499
  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;
3511
- }({}), Ct = /* @__PURE__ */ function(e) {
3500
+ }({}), St = /* @__PURE__ */ function(e) {
3512
3501
  return e.inStock = "in stock", e.outOfStock = "out of stock", e.preorder = "preorder", e.backorder = "backorder", e.discontinued = "discontinued", e.pending = "pending", e;
3513
- }({}), wt = /* @__PURE__ */ function(e) {
3502
+ }({}), Ct = /* @__PURE__ */ function(e) {
3514
3503
  return e.new = "new", e.used = "used", e.refurbished = "refurbished", e;
3515
- }({}), Tt = /* @__PURE__ */ function(e) {
3504
+ }({}), wt = /* @__PURE__ */ function(e) {
3516
3505
  return e.newborn = "newborn", e.infant = "infant", e.toddler = "toddler", e.kids = "kids", e.adult = "adult", e;
3517
- }({}), Et = /* @__PURE__ */ function(e) {
3506
+ }({}), Tt = /* @__PURE__ */ function(e) {
3518
3507
  return e.female = "female", e.male = "male", e.unisex = "unisex", e;
3519
- }({}), X = /* @__PURE__ */ function(e) {
3508
+ }({}), J = /* @__PURE__ */ function(e) {
3520
3509
  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;
3521
- }({}), Dt = /* @__PURE__ */ function(e) {
3510
+ }({}), Et = /* @__PURE__ */ function(e) {
3522
3511
  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;
3523
- }({}), Ot = class extends q {
3512
+ }({}), Dt = class extends G {
3524
3513
  constructor() {
3525
- super(Object.values(Y), !0);
3514
+ super(Object.values(q), !0);
3526
3515
  }
3527
3516
  getTitle() {
3528
- return this.get(Y.title);
3517
+ return this.get(q.title);
3529
3518
  }
3530
3519
  getType() {
3531
- return this.get(Y.type);
3520
+ return this.get(q.type);
3532
3521
  }
3533
3522
  getUrl() {
3534
- return this.get(Y.url);
3523
+ return this.get(q.url);
3535
3524
  }
3536
3525
  getImage() {
3537
- return this.get(Y.image);
3526
+ return this.get(q.image);
3538
3527
  }
3539
3528
  getDescription() {
3540
- return this.get(Y.description);
3529
+ return this.get(q.description);
3541
3530
  }
3542
3531
  getLocale() {
3543
- return this.get(Y.locale);
3532
+ return this.get(q.locale);
3544
3533
  }
3545
3534
  getSiteName() {
3546
- return this.get(Y.siteName);
3535
+ return this.get(q.siteName);
3547
3536
  }
3548
3537
  setTitle(e) {
3549
- return this.set(Y.title, e);
3538
+ return this.set(q.title, e);
3550
3539
  }
3551
3540
  setType(e) {
3552
- return this.set(Y.type, e);
3541
+ return this.set(q.type, e);
3553
3542
  }
3554
3543
  setUrl(e) {
3555
- return this.set(Y.url, e);
3544
+ return this.set(q.url, e);
3556
3545
  }
3557
3546
  setImage(e) {
3558
- return this.set(Y.image, e);
3547
+ return this.set(q.image, e);
3559
3548
  }
3560
3549
  setDescription(e) {
3561
- return this.set(Y.description, e);
3550
+ return this.set(q.description, e);
3562
3551
  }
3563
3552
  setLocale(e) {
3564
- return this.set(Y.locale, e);
3553
+ return this.set(q.locale, e);
3565
3554
  }
3566
3555
  setSiteName(e) {
3567
- return this.set(Y.siteName, e);
3556
+ return this.set(q.siteName, e);
3568
3557
  }
3569
- }, kt = class extends q {
3558
+ }, Ot = class extends G {
3570
3559
  constructor() {
3571
- super(Object.values(X));
3560
+ super(Object.values(J));
3572
3561
  }
3573
3562
  getCard() {
3574
- return this.get(X.card);
3563
+ return this.get(J.card);
3575
3564
  }
3576
3565
  getSite() {
3577
- return this.get(X.site);
3566
+ return this.get(J.site);
3578
3567
  }
3579
3568
  getCreator() {
3580
- return this.get(X.creator);
3569
+ return this.get(J.creator);
3581
3570
  }
3582
3571
  getUrl() {
3583
- return this.get(X.url);
3572
+ return this.get(J.url);
3584
3573
  }
3585
3574
  getTitle() {
3586
- return this.get(X.title);
3575
+ return this.get(J.title);
3587
3576
  }
3588
3577
  getDescription() {
3589
- return this.get(X.description);
3578
+ return this.get(J.description);
3590
3579
  }
3591
3580
  getImage() {
3592
- return this.get(X.image);
3581
+ return this.get(J.image);
3593
3582
  }
3594
3583
  setCard(e) {
3595
- return this.set(X.card, e), this;
3584
+ return this.set(J.card, e), this;
3596
3585
  }
3597
3586
  setSite(e) {
3598
- return this.set(X.site, e), this;
3587
+ return this.set(J.site, e), this;
3599
3588
  }
3600
3589
  setCreator(e) {
3601
- return this.set(X.creator, e), this;
3590
+ return this.set(J.creator, e), this;
3602
3591
  }
3603
3592
  setUrl(e) {
3604
- return this.set(X.url, e), this;
3593
+ return this.set(J.url, e), this;
3605
3594
  }
3606
3595
  setTitle(e) {
3607
- return this.set(X.title, e), this;
3596
+ return this.set(J.title, e), this;
3608
3597
  }
3609
3598
  setDescription(e) {
3610
- return this.set(X.description, e), this;
3599
+ return this.set(J.description, e), this;
3611
3600
  }
3612
3601
  setImage(e) {
3613
- return this.set(X.image, e), this;
3602
+ return this.set(J.image, e), this;
3614
3603
  }
3615
- }, At = class extends q {
3604
+ }, kt = class extends G {
3616
3605
  constructor() {
3617
- super(Object.values(J)), w(this, "suffix", void 0), w(this, "og", void 0), w(this, "twitter", void 0), this.og = new Ot(), this.twitter = new kt();
3606
+ super(Object.values(K)), e(this, "suffix", void 0), e(this, "og", void 0), e(this, "twitter", void 0), this.og = new Dt(), this.twitter = new Ot();
3618
3607
  }
3619
3608
  getOg() {
3620
3609
  return this.og;
@@ -3623,26 +3612,26 @@ var q = class {
3623
3612
  return this.twitter;
3624
3613
  }
3625
3614
  getTitle() {
3626
- let e = this.get(J.title);
3627
- return !l(e) && s() && (e = document.title), e.replace(this.getSuffix(), "").trim();
3615
+ let e = this.get(K.title);
3616
+ return !u(e) && c() && (e = document.title), e.replace(this.getSuffix(), "").trim();
3628
3617
  }
3629
3618
  getKeywords() {
3630
- return this.get(J.keywords);
3619
+ return this.get(K.keywords);
3631
3620
  }
3632
3621
  getDescription() {
3633
- return this.get(J.description);
3622
+ return this.get(K.description);
3634
3623
  }
3635
3624
  getImage() {
3636
3625
  return this.og.getImage();
3637
3626
  }
3638
3627
  getCanonical() {
3639
- return this.get(J.canonical);
3628
+ return this.get(K.canonical);
3640
3629
  }
3641
3630
  getRobots() {
3642
- return this.get(J.robots);
3631
+ return this.get(K.robots);
3643
3632
  }
3644
3633
  getAuthor() {
3645
- return this.get(J.author);
3634
+ return this.get(K.author);
3646
3635
  }
3647
3636
  getSiteName() {
3648
3637
  return this.og.getSiteName();
@@ -3651,26 +3640,26 @@ var q = class {
3651
3640
  return this.og.getLocale();
3652
3641
  }
3653
3642
  setTitle(e) {
3654
- let t = l(e) ? `${e}${this.getSuffix()}` : this.suffix ? this.suffix : "";
3655
- return s() && (document.title = t), this.set(J.title, t), this.og.setTitle(t), this.twitter.setTitle(t), this;
3643
+ let t = u(e) ? `${e}${this.getSuffix()}` : this.suffix ? this.suffix : "";
3644
+ return c() && (document.title = t), this.set(K.title, t), this.og.setTitle(t), this.twitter.setTitle(t), this;
3656
3645
  }
3657
3646
  setKeywords(e) {
3658
- return this.set(J.keywords, M(e).join(", ")), this;
3647
+ return this.set(K.keywords, A(e).join(", ")), this;
3659
3648
  }
3660
3649
  setDescription(e) {
3661
- return this.set(J.description, e), this;
3650
+ return this.set(K.description, e), this;
3662
3651
  }
3663
3652
  setImage(e) {
3664
3653
  return this.og.setImage(e), this.twitter.setImage(e), this;
3665
3654
  }
3666
3655
  setCanonical(e) {
3667
- return this.set(J.canonical, e), this.og.setUrl(e), this.twitter.setUrl(e), this;
3656
+ return this.set(K.canonical, e), this.og.setUrl(e), this.twitter.setUrl(e), this;
3668
3657
  }
3669
3658
  setRobots(e) {
3670
- return this.set(J.robots, e), this;
3659
+ return this.set(K.robots, e), this;
3671
3660
  }
3672
3661
  setAuthor(e) {
3673
- return this.set(J.author, e), this;
3662
+ return this.set(K.author, e), this;
3674
3663
  }
3675
3664
  setSiteName(e) {
3676
3665
  return this.og.setSiteName(e), this.twitter.setSite(e), this;
@@ -3685,14 +3674,14 @@ var q = class {
3685
3674
  return `${super.html()}${this.og.html()}${this.twitter.html()}`;
3686
3675
  }
3687
3676
  htmlTitle() {
3688
- return this.toHtmlTitle(this.get(J.title));
3677
+ return this.toHtmlTitle(this.get(K.title));
3689
3678
  }
3690
3679
  getSuffix() {
3691
- return l(this.suffix) ? ` - ${this.suffix}` : "";
3680
+ return u(this.suffix) ? ` - ${this.suffix}` : "";
3692
3681
  }
3693
- }, jt = class {
3682
+ }, At = class {
3694
3683
  static getItem() {
3695
- return D.get("__ui:meta-instance__", () => new At());
3684
+ return T.get("__ui:meta-instance__", () => new kt());
3696
3685
  }
3697
3686
  static getOg() {
3698
3687
  return this.getItem().getOg();
@@ -3763,12 +3752,12 @@ var q = class {
3763
3752
  static htmlTitle() {
3764
3753
  return this.getItem().htmlTitle();
3765
3754
  }
3766
- }, Z = class e {
3755
+ }, Y = class t {
3767
3756
  static getInstance() {
3768
- return D.get("__ui:url-item__", () => new e());
3757
+ return T.get("__ui:url-item__", () => new t());
3769
3758
  }
3770
- constructor(e) {
3771
- w(this, "url", void 0), this.set(e);
3759
+ constructor(t) {
3760
+ e(this, "url", void 0), this.set(t);
3772
3761
  }
3773
3762
  get href() {
3774
3763
  return this.url.href;
@@ -3816,18 +3805,18 @@ var q = class {
3816
3805
  getParams() {
3817
3806
  let e = {};
3818
3807
  return this.url.searchParams.forEach((t, n) => {
3819
- e[n] = E(t);
3808
+ e[n] = w(t);
3820
3809
  }), e;
3821
3810
  }
3822
3811
  set(e) {
3823
- return this.url = e ? e instanceof URL ? new URL(e.href) : /^[a-z0-9+.-]+:/i.test(e) ? new URL(e) : s() ? new URL(e, window.location.origin) : new URL(e, "http://localhost") : s() ? new URL(window.location.href) : new URL("http://localhost"), this;
3812
+ return this.url = e ? e instanceof URL ? new URL(e.href) : /^[a-z0-9+.-]+:/i.test(e) ? new URL(e) : c() ? new URL(e, window.location.origin) : new URL(e, "http://localhost") : c() ? new URL(window.location.href) : new URL("http://localhost"), this;
3824
3813
  }
3825
3814
  setParam(e, t) {
3826
3815
  return this.url.searchParams.set(e, t), this;
3827
3816
  }
3828
3817
  setParams(e) {
3829
- return Array.from(this.url.searchParams.keys()).forEach((e) => this.deleteParam(e)), r(e, (e, t) => {
3830
- l(e) && this.setParam(t, String(e));
3818
+ return Array.from(this.url.searchParams.keys()).forEach((e) => this.deleteParam(e)), i(e, (e, t) => {
3819
+ u(e) && this.setParam(t, String(e));
3831
3820
  }), this;
3832
3821
  }
3833
3822
  deleteParam(e) {
@@ -3839,18 +3828,18 @@ var q = class {
3839
3828
  toJSON() {
3840
3829
  return this.url.toJSON();
3841
3830
  }
3842
- }, Mt = class extends ft {
3831
+ }, jt = class extends dt {
3843
3832
  init() {
3844
- return s() && addEventListener("popstate", () => {
3845
- Z.getInstance().set(), this.reload();
3833
+ return c() && addEventListener("popstate", () => {
3834
+ Y.getInstance().set(), this.reload();
3846
3835
  }), this.initData(), this;
3847
3836
  }
3848
3837
  getLocation() {
3849
- return s() && Z.getInstance().set(), Z.getInstance().getParams();
3838
+ return c() && Y.getInstance().set(), Y.getInstance().getParams();
3850
3839
  }
3851
3840
  update() {
3852
- let e = this.getData(), t = Z.getInstance();
3853
- if (t.setParams(e), s()) {
3841
+ let e = this.getData(), t = Y.getInstance();
3842
+ if (t.setParams(e), c()) {
3854
3843
  clearTimeout(this.time), this.block = !0;
3855
3844
  try {
3856
3845
  let e = t.search, n = `${location.pathname}${e}${location.hash}`;
@@ -3863,9 +3852,9 @@ var q = class {
3863
3852
  }
3864
3853
  return this;
3865
3854
  }
3866
- }, Nt = class {
3855
+ }, Mt = class {
3867
3856
  static getItem() {
3868
- return D.get("__ui:query-instance__", () => new Mt());
3857
+ return T.get("__ui:query-instance__", () => new jt());
3869
3858
  }
3870
3859
  static get(e, t) {
3871
3860
  return this.getItem().get(e, t);
@@ -3882,9 +3871,9 @@ var q = class {
3882
3871
  static reload() {
3883
3872
  this.getItem().reload();
3884
3873
  }
3885
- }, Pt = class {
3886
- constructor(e, t = 320, n = !1) {
3887
- 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();
3874
+ }, Nt = class {
3875
+ constructor(t, n = 320, r = !1) {
3876
+ e(this, "callback", void 0), e(this, "delay", void 0), e(this, "timerId", void 0), e(this, "startTime", void 0), e(this, "remaining", void 0), e(this, "completed", !1), this.callback = t, this.delay = n, r || this.resume();
3888
3877
  }
3889
3878
  resume() {
3890
3879
  if (this.timerId || this.completed) return this;
@@ -3920,14 +3909,14 @@ var q = class {
3920
3909
  stop() {
3921
3910
  return this.timerId && (clearTimeout(this.timerId), this.timerId = void 0), this;
3922
3911
  }
3923
- }, Ft = class {
3912
+ }, Pt = class {
3924
3913
  static async is() {
3925
3914
  let e = await this.get();
3926
3915
  return e !== -1 && e <= 8;
3927
3916
  }
3928
3917
  static async get() {
3929
3918
  var e;
3930
- if (!s()) return 0;
3919
+ if (!c()) return 0;
3931
3920
  let t = (e = this.getStorage().get()) == null ? -1 : e;
3932
3921
  if (!this.calculate && t === -1) {
3933
3922
  let e = await this.init();
@@ -3936,14 +3925,14 @@ var q = class {
3936
3925
  return t;
3937
3926
  }
3938
3927
  static getStorage() {
3939
- return new O("__ui:scrollbar__", !0);
3928
+ return new E("__ui:scrollbar__", !0);
3940
3929
  }
3941
3930
  static getCalculate() {
3942
3931
  return this.calculate;
3943
3932
  }
3944
3933
  static createElement() {
3945
- return G(document.body, "div", (e) => {
3946
- e.style.height = "24px", e.style.overflowY = "scroll", e.style.position = "fixed", e.style.width = "100%", G(e, "div", (e) => {
3934
+ return U(document.body, "div", (e) => {
3935
+ e.style.height = "24px", e.style.overflowY = "scroll", e.style.position = "fixed", e.style.width = "100%", U(e, "div", (e) => {
3947
3936
  e.style.height = "100px";
3948
3937
  });
3949
3938
  });
@@ -3958,36 +3947,36 @@ var q = class {
3958
3947
  });
3959
3948
  }
3960
3949
  };
3961
- w(Ft, "calculate", !1);
3950
+ e(Pt, "calculate", !1);
3962
3951
  //#endregion
3963
3952
  //#region src/functions/escapeExp.ts
3964
- function It(e) {
3953
+ function X(e) {
3965
3954
  return String(e).replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
3966
3955
  }
3967
3956
  //#endregion
3968
3957
  //#region src/functions/getSeparatingSearchExp.ts
3969
- function Lt(e, t = 128) {
3958
+ function Ft(e, t = 128) {
3970
3959
  if (e instanceof RegExp) return e;
3971
3960
  if (!e || e.trim().length === 0 || e.length > t) return /^/;
3972
- let n = String(e).replace(/\s+/g, " ").trim().split(" ").map(It).join("|");
3961
+ let n = String(e).replace(/\s+/g, " ").trim().split(" ").map(X).join("|");
3973
3962
  return RegExp(`(${n})`, "ig");
3974
3963
  }
3975
3964
  //#endregion
3976
3965
  //#region src/functions/addTagHighlightMatch.ts
3977
- var Rt = `___HIGHLIGHT_START_${f(1e5, 999999)}___`, zt = `___HIGHLIGHT_END_${f(1e5, 999999)}___`, Bt = RegExp(`${Rt}|${zt}`, "g");
3978
- function Vt(e, t, n = "sys-highlight-match", r = !1) {
3979
- let i = a(e);
3980
- if (l(i) && l(t)) {
3981
- let e = i.replace(Lt(t), `${Rt}$1${zt}`);
3982
- return r && (e = K(e)), e.replace(Bt, (e) => e === Rt ? `<span class="${n}">` : "</span>");
3983
- }
3984
- return r ? K(i) : i;
3966
+ var It = `___HIGHLIGHT_START_${p(1e5, 999999)}___`, Lt = `___HIGHLIGHT_END_${p(1e5, 999999)}___`, Rt = RegExp(`${It}|${Lt}`, "g");
3967
+ function zt(e, t, n = "sys-highlight-match", r = !1) {
3968
+ let i = o(e);
3969
+ if (u(i) && u(t)) {
3970
+ let e = i.replace(Ft(t), `${It}$1${Lt}`);
3971
+ return r && (e = W(e)), e.replace(Rt, (e) => e === It ? `<span class="${n}">` : "</span>");
3972
+ }
3973
+ return r ? W(i) : i;
3985
3974
  }
3986
3975
  //#endregion
3987
3976
  //#region src/classes/SearchListData.ts
3988
- var Ht = class {
3989
- constructor(e, t, n, r) {
3990
- 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;
3977
+ var Bt = class {
3978
+ constructor(t, n, r, i) {
3979
+ e(this, "list", void 0), e(this, "columns", void 0), e(this, "item", void 0), e(this, "options", void 0), e(this, "listCache", void 0), this.list = t, this.columns = n, this.item = r, this.options = i;
3991
3980
  }
3992
3981
  is() {
3993
3982
  return !!(this.list && this.columns);
@@ -4024,8 +4013,8 @@ var Ht = class {
4024
4013
  toFormatItem(e, t) {
4025
4014
  let n = {};
4026
4015
  return this.columns && this.columns.forEach((r) => {
4027
- let i = this.getColumnName(r), a = H(e, r);
4028
- n[i] = l(a) && t ? this.addTag(a) : S(a);
4016
+ let i = this.getColumnName(r), a = B(e, r);
4017
+ n[i] = u(a) && t ? this.addTag(a) : S(a);
4029
4018
  }), {
4030
4019
  ...e,
4031
4020
  ...n,
@@ -4036,7 +4025,7 @@ var Ht = class {
4036
4025
  return e.replace(/\.([a-z0-9])/gi, (e, t) => t.toUpperCase()) + "Search";
4037
4026
  }
4038
4027
  addTag(e) {
4039
- return Vt(S(e), this.item.get(), this.options.getClassName());
4028
+ return zt(S(e), this.item.get(), this.options.getClassName());
4040
4029
  }
4041
4030
  generateCache() {
4042
4031
  if (!this.isList()) return [];
@@ -4044,8 +4033,8 @@ var Ht = class {
4044
4033
  for (let t of this.list) {
4045
4034
  let n = "";
4046
4035
  if (this.columns) for (let e of this.columns) {
4047
- let r = H(t, e);
4048
- l(r) && (n += ` ${S(r)}`);
4036
+ let r = B(t, e);
4037
+ u(r) && (n += ` ${S(r)}`);
4049
4038
  }
4050
4039
  e.push({
4051
4040
  item: t,
@@ -4060,9 +4049,9 @@ var Ht = class {
4060
4049
  resetCache() {
4061
4050
  this.listCache = void 0;
4062
4051
  }
4063
- }, Ut = class {
4064
- constructor(e, t) {
4065
- w(this, "value", void 0), w(this, "options", void 0), this.value = e, this.options = t;
4052
+ }, Vt = class {
4053
+ constructor(t, n) {
4054
+ e(this, "value", void 0), e(this, "options", void 0), this.value = t, this.options = n;
4066
4055
  }
4067
4056
  is() {
4068
4057
  return !!this.value;
@@ -4080,30 +4069,30 @@ var Ht = class {
4080
4069
  };
4081
4070
  //#endregion
4082
4071
  //#region src/functions/getExp.ts
4083
- function Wt(e, t = "ig", n = ":value") {
4084
- let r = It(e);
4072
+ function Ht(e, t = "ig", n = ":value") {
4073
+ let r = X(e);
4085
4074
  return new RegExp(n.replace(/:value/g, r), t);
4086
4075
  }
4087
4076
  //#endregion
4088
4077
  //#region src/functions/getExactSearchExp.ts
4089
- function Gt(e) {
4090
- return Wt(e, "i", "(:value)");
4078
+ function Ut(e) {
4079
+ return Ht(e, "i", "(:value)");
4091
4080
  }
4092
4081
  //#endregion
4093
4082
  //#region src/functions/getSearchExp.ts
4094
- function Kt(e, t = 128) {
4095
- if (!d(e) || e.trim().length === 0 || e.length > t) return /^/;
4083
+ function Wt(e, t = 128) {
4084
+ if (!f(e) || e.trim().length === 0 || e.length > t) return /^/;
4096
4085
  let n = [];
4097
- return a(e).split(" ").forEach((e) => {
4098
- let t = It(e).trim();
4099
- l(t) && n.push(`(?=.*?${t})`);
4086
+ return o(e).split(" ").forEach((e) => {
4087
+ let t = X(e).trim();
4088
+ u(t) && n.push(`(?=.*?${t})`);
4100
4089
  }), RegExp(`^${n.join("")}`, "i");
4101
4090
  }
4102
4091
  //#endregion
4103
4092
  //#region src/classes/SearchListMatcher.ts
4104
- var qt = class {
4105
- constructor(e, t) {
4106
- w(this, "item", void 0), w(this, "options", void 0), w(this, "matcher", void 0), this.item = e, this.options = t, this.initMatcher();
4093
+ var Gt = class {
4094
+ constructor(t, n) {
4095
+ e(this, "item", void 0), e(this, "options", void 0), e(this, "matcher", void 0), this.item = t, this.options = n, this.initMatcher();
4107
4096
  }
4108
4097
  is() {
4109
4098
  return !!this.matcher;
@@ -4118,11 +4107,11 @@ var qt = class {
4118
4107
  this.initMatcher();
4119
4108
  }
4120
4109
  initMatcher() {
4121
- this.matcher = this.item.is() ? this.options.getFindExactMatch() ? Gt(this.item.get()) : Kt(this.item.get()) : void 0;
4110
+ this.matcher = this.item.is() ? this.options.getFindExactMatch() ? Ut(this.item.get()) : Wt(this.item.get()) : void 0;
4122
4111
  }
4123
- }, Jt = class {
4124
- constructor(e) {
4125
- w(this, "options", void 0), this.options = e;
4112
+ }, Kt = class {
4113
+ constructor(t) {
4114
+ e(this, "options", void 0), this.options = t;
4126
4115
  }
4127
4116
  getOptions() {
4128
4117
  return this.options || {};
@@ -4150,12 +4139,12 @@ var qt = class {
4150
4139
  setOptions(e) {
4151
4140
  return this.options = e, this;
4152
4141
  }
4153
- }, Yt = class {
4154
- constructor(e, t, n, r) {
4155
- 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) => {
4142
+ }, qt = class {
4143
+ constructor(t, n, r, i) {
4144
+ e(this, "options", void 0), e(this, "item", void 0), e(this, "matcher", void 0), e(this, "data", void 0), e(this, "callbackToSelection", (e, t) => {
4156
4145
  if (this.matcher.isSelection(t)) return this.data.toFormatItem(e, !0);
4157
4146
  if (this.options.getReturnEverything()) return this.data.toFormatItem(e, !1);
4158
- }), w(this, "callbackToNone", (e) => this.data.toFormatItem(e, !1)), this.options = new Jt(r), this.item = new Ut(n, this.options), this.matcher = new qt(this.item, this.options), this.data = new Ht(e, t, this.item, this.options);
4147
+ }), e(this, "callbackToNone", (e) => this.data.toFormatItem(e, !1)), this.options = new Kt(i), this.item = new Vt(r, this.options), this.matcher = new Gt(this.item, this.options), this.data = new Bt(t, n, this.item, this.options);
4159
4148
  }
4160
4149
  getData() {
4161
4150
  return this.data;
@@ -4190,17 +4179,17 @@ var qt = class {
4190
4179
  to() {
4191
4180
  if (this.item.isSearch()) return this.data.forEach(this.callbackToSelection);
4192
4181
  let e = this.data.getList();
4193
- return e ? r(e, this.callbackToNone) : [];
4182
+ return e ? i(e, this.callbackToNone) : [];
4194
4183
  }
4195
- }, Xt = () => D.get("__ui:storage-callback__", () => ({})), Zt = class e {
4196
- static getInstance(t, n = "main") {
4197
- return new e(t, n);
4184
+ }, Jt = () => T.get("__ui:storage-callback__", () => ({})), Yt = class t {
4185
+ static getInstance(e, n = "main") {
4186
+ return new t(e, n);
4198
4187
  }
4199
- constructor(e, t = "main") {
4200
- w(this, "name", void 0), w(this, "group", void 0), w(this, "callbacks", []), w(this, "loading", !1), this.name = e, this.group = t;
4201
- let n = `${t}:${e}`, r = Xt();
4202
- if (n in r) return r[n];
4203
- r[n] = this;
4188
+ constructor(t, n = "main") {
4189
+ e(this, "name", void 0), e(this, "group", void 0), e(this, "callbacks", []), e(this, "loading", !1), this.name = t, this.group = n;
4190
+ let r = `${n}:${t}`, i = Jt();
4191
+ if (r in i) return i[r];
4192
+ i[r] = this;
4204
4193
  }
4205
4194
  isLoading() {
4206
4195
  return this.loading;
@@ -4225,10 +4214,10 @@ var qt = class {
4225
4214
  }
4226
4215
  async run(e) {
4227
4216
  this.loading = !1;
4228
- for (let { callback: t, isOnce: n } of this.callbacks) await I(t, e), n && this.removeCallback(t);
4217
+ for (let { callback: t, isOnce: n } of this.callbacks) await P(t, e), n && this.removeCallback(t);
4229
4218
  return this;
4230
4219
  }
4231
- }, Qt = [
4220
+ }, Xt = [
4232
4221
  "d",
4233
4222
  "e",
4234
4223
  "f",
@@ -4248,43 +4237,43 @@ var qt = class {
4248
4237
  "t",
4249
4238
  "u",
4250
4239
  "v"
4251
- ], $t = RegExp(`%(${Qt.join("|")})`, "g"), en = (e, t = {}) => {
4252
- let r = String(e);
4253
- return Array.isArray(t) && e.match(/%[a-z]/) && (r = r.replace($t, (e, n) => {
4254
- let r = Qt.indexOf(n);
4240
+ ], Zt = RegExp(`%(${Xt.join("|")})`, "g"), Qt = (e, t = {}) => {
4241
+ let n = String(e);
4242
+ return Array.isArray(t) && e.match(/%[a-z]/) && (n = n.replace(Zt, (e, n) => {
4243
+ let r = Xt.indexOf(n);
4255
4244
  if (r !== -1) {
4256
4245
  var i;
4257
4246
  return String((i = t == null ? void 0 : t[r]) == null ? "" : i);
4258
4247
  }
4259
4248
  return e;
4260
- })), n(t) && (r = r.replace(/[[{](.*?)[\]}](.*?)[[{]\/\1[\]}]/g, (e, n, r) => {
4249
+ })), r(t) && (n = n.replace(/[[{](.*?)[\]}](.*?)[[{]\/\1[\]}]/g, (e, n, r) => {
4261
4250
  if (n in t) {
4262
4251
  var i;
4263
4252
  return String((i = t[n]) == null ? "" : i).replace(/[[{]content[\]}]/g, () => r);
4264
4253
  }
4265
4254
  return e;
4266
- }), r = r.replace(/[[{](.*?)[\]}]/g, (e, n) => {
4255
+ }), n = n.replace(/[[{](.*?)[\]}]/g, (e, n) => {
4267
4256
  if (n in t) {
4268
4257
  var r;
4269
4258
  return String((r = t[n]) == null ? "" : r);
4270
4259
  }
4271
4260
  return e;
4272
- })), r;
4273
- }, tn = (e) => {
4261
+ })), n;
4262
+ }, $t = (e) => {
4274
4263
  var t;
4275
- return i(e) ? !0 : !!(e && n(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || e != null && (t = e.statusObject) != null && t.status && /^2/.test(String(e.statusObject.status)) || !("status" in e) && !("success" in e) && !("statusObject" in e) && /^2/.test(String(L.getStatus().getStatus()))));
4276
- }, nn = "global", rn = 160, an = class {
4277
- constructor(e, t = () => A.getLanguage(), n = () => A.getLocation()) {
4278
- 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);
4264
+ return a(e) ? !0 : !!(e && r(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || e != null && (t = e.statusObject) != null && t.status && /^2/.test(String(e.statusObject.status)) || !("status" in e) && !("success" in e) && !("statusObject" in e) && /^2/.test(String(F.getStatus().getStatus()))));
4265
+ }, en = "global", tn = 160, nn = class {
4266
+ constructor(t, n = () => O.getLanguage(), r = () => O.getLocation()) {
4267
+ e(this, "language", void 0), e(this, "location", void 0), e(this, "files", {}), e(this, "data", {}), this.language = n, this.location = r, t && this.add(t);
4279
4268
  }
4280
4269
  isFile() {
4281
4270
  return Object.keys(this.files).length > 0 && this.getIndex() !== void 0;
4282
4271
  }
4283
4272
  getLocation() {
4284
- return m(this.location);
4273
+ return h(this.location);
4285
4274
  }
4286
4275
  getLanguage() {
4287
- return m(this.language);
4276
+ return h(this.language);
4288
4277
  }
4289
4278
  async getList() {
4290
4279
  let e = this.getIndex();
@@ -4294,8 +4283,8 @@ var qt = class {
4294
4283
  }
4295
4284
  }
4296
4285
  add(e) {
4297
- r(e, (e, t) => {
4298
- p(e) && (this.files[t] = e);
4286
+ i(e, (e, t) => {
4287
+ m(e) && (this.files[t] = e);
4299
4288
  });
4300
4289
  }
4301
4290
  getIndex() {
@@ -4303,25 +4292,25 @@ var qt = class {
4303
4292
  if (e in this.files) return e;
4304
4293
  let t = this.getLanguage();
4305
4294
  if (t in this.files) return t;
4306
- if ("global" in this.files) return nn;
4295
+ if ("global" in this.files) return en;
4307
4296
  }
4308
4297
  getByData(e) {
4309
4298
  if (e in this.data) return this.data[e];
4310
4299
  }
4311
4300
  async getByFile(e) {
4312
4301
  if (e in this.files) {
4313
- let t = await m(this.files[e]);
4302
+ let t = await h(this.files[e]);
4314
4303
  return t && (this.data[e] = t), t;
4315
4304
  }
4316
4305
  }
4317
- }, on = class {
4318
- constructor(e = "/api/translate", t = "list", n = new an()) {
4319
- 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;
4306
+ }, rn = class {
4307
+ constructor(t = "/api/translate", n = "list", r = new nn()) {
4308
+ e(this, "url", void 0), e(this, "propsName", void 0), e(this, "files", void 0), e(this, "data", {}), e(this, "cache", []), e(this, "resolveList", []), e(this, "timeout", void 0), e(this, "isReadApi", !0), this.url = t, this.propsName = n, this.files = r;
4320
4309
  }
4321
4310
  async get(e, t) {
4322
4311
  var n;
4323
4312
  let r = this.getText(e);
4324
- return r ? this.replacement(r, t) : (L.isLocalhost() || await this.add(e), this.replacement((n = this.getText(e)) == null ? e : n));
4313
+ return r ? this.replacement(r, t) : (F.isLocalhost() || await this.add(e), this.replacement((n = this.getText(e)) == null ? e : n));
4325
4314
  }
4326
4315
  getSync(e, t = !1, n) {
4327
4316
  let r = this.getText(e);
@@ -4357,13 +4346,13 @@ var qt = class {
4357
4346
  });
4358
4347
  }
4359
4348
  addSync(e) {
4360
- r(e, (e, t) => {
4361
- d(e) && l(e) && (this.data[this.getName(t)] = e);
4349
+ i(e, (e, t) => {
4350
+ f(e) && u(e) && (this.data[this.getName(t)] = e);
4362
4351
  });
4363
4352
  }
4364
4353
  async addNormalOrSync(e) {
4365
- if (l(e)) {
4366
- if (L.isLocalhost()) this.addSync(e);
4354
+ if (u(e)) {
4355
+ if (F.isLocalhost()) this.addSync(e);
4367
4356
  else {
4368
4357
  let t = Object.keys(e);
4369
4358
  t.length > 0 && await this.add(t);
@@ -4371,7 +4360,7 @@ var qt = class {
4371
4360
  }
4372
4361
  }
4373
4362
  addSyncByLocation(e) {
4374
- r(e, (e, t) => r(e, (e, n) => {
4363
+ i(e, (e, t) => i(e, (e, n) => {
4375
4364
  let r = `${t}-${n}`;
4376
4365
  r in this.data || (this.data[r] = e);
4377
4366
  }));
@@ -4406,16 +4395,16 @@ var qt = class {
4406
4395
  return `${this.files.getLanguage()}-${e}`;
4407
4396
  }
4408
4397
  getNameByGlobal(e) {
4409
- return `${nn}-${e}`;
4398
+ return `${en}-${e}`;
4410
4399
  }
4411
4400
  getNamesNone(e) {
4412
4401
  let t = [];
4413
- return M(e).forEach((e) => {
4402
+ return A(e).forEach((e) => {
4414
4403
  e !== "__TRANSLATE_START__" && e !== "__TRANSLATE_END__" && !this.hasName(e) && t.push(e);
4415
4404
  }), t;
4416
4405
  }
4417
4406
  async getResponse() {
4418
- let e = await L.get({
4407
+ let e = await F.get({
4419
4408
  api: !1,
4420
4409
  path: this.url,
4421
4410
  request: { [this.propsName]: this.cache },
@@ -4423,14 +4412,14 @@ var qt = class {
4423
4412
  timeout: 12e3,
4424
4413
  global: !0
4425
4414
  });
4426
- return tn(e) || T.on({
4415
+ return $t(e) || C.on({
4427
4416
  group: "translate",
4428
4417
  code: "error",
4429
4418
  details: e
4430
4419
  }), e == null ? {} : e;
4431
4420
  }
4432
4421
  replacement(e, t) {
4433
- return t ? en(e, t) : e;
4422
+ return t ? Qt(e, t) : e;
4434
4423
  }
4435
4424
  async make() {
4436
4425
  let e;
@@ -4442,12 +4431,12 @@ var qt = class {
4442
4431
  this.data[this.getName(t)] = (n = e == null ? void 0 : e[t]) == null ? "" : n;
4443
4432
  }), this.cache = [];
4444
4433
  }
4445
- }, sn = class {
4434
+ }, an = class {
4446
4435
  static async get(e, t) {
4447
4436
  return this.getItem().get(e, t);
4448
4437
  }
4449
4438
  static getItem() {
4450
- return this.item || (this.item = new on()), this.item;
4439
+ return this.item || (this.item = new rn()), this.item;
4451
4440
  }
4452
4441
  static getSync(e, t = !1, n) {
4453
4442
  return this.getItem().getSync(e, t, n);
@@ -4486,18 +4475,18 @@ var qt = class {
4486
4475
  e.url && this.getItem().setUrl(e.url), e.propsName && this.getItem().setPropsName(e.propsName), typeof e.readApi == "boolean" && this.getItem().setReadApi(e.readApi);
4487
4476
  }
4488
4477
  };
4489
- w(sn, "item", void 0);
4478
+ e(an, "item", void 0);
4490
4479
  //#endregion
4491
4480
  //#region src/functions/arrFill.ts
4492
- function cn(e, t) {
4481
+ function on(e, t) {
4493
4482
  return Array(t).fill(e);
4494
4483
  }
4495
4484
  //#endregion
4496
4485
  //#region src/functions/blobToBase64.ts
4497
- var ln = () => un() !== void 0, un = () => {
4486
+ var sn = () => cn() !== void 0, cn = () => {
4498
4487
  var e;
4499
4488
  return (e = globalThis) == null ? void 0 : e.Buffer;
4500
- }, dn = async (e) => new Promise((t, n) => {
4489
+ }, ln = async (e) => new Promise((t, n) => {
4501
4490
  if (typeof FileReader < "u") {
4502
4491
  let r = new FileReader();
4503
4492
  r.onloadend = () => {
@@ -4508,110 +4497,110 @@ var ln = () => un() !== void 0, un = () => {
4508
4497
  t(r.result.replace(/^data:.*?,/, ""));
4509
4498
  }, r.onerror = n, r.readAsDataURL(e);
4510
4499
  } else n();
4511
- }), fn = (e) => {
4500
+ }), un = (e) => {
4512
4501
  var t;
4513
4502
  return ((t = globalThis) == null ? void 0 : t.Buffer).from(e).toString("base64");
4514
4503
  };
4515
- async function pn(e, t = !1) {
4516
- let n = s() ? await dn(e) : ln() ? fn(await e.arrayBuffer()) : void 0;
4504
+ async function dn(e, t = !1) {
4505
+ let n = c() ? await ln(e) : sn() ? un(await e.arrayBuffer()) : void 0;
4517
4506
  if (n) return t ? n : `data:${e.type};base64,${n}`;
4518
4507
  }
4519
4508
  //#endregion
4520
4509
  //#region src/functions/capitalize.ts
4521
- function mn(e, t = !1) {
4510
+ function fn(e, t = !1) {
4522
4511
  let n = String(e);
4523
- return n.length > 0 ? t ? n.charAt(0).toLocaleUpperCase(A.getLocation()) + n.slice(1) : n.charAt(0).toUpperCase() + n.slice(1) : n;
4512
+ return n.length > 0 ? t ? n.charAt(0).toLocaleUpperCase(O.getLocation()) + n.slice(1) : n.charAt(0).toUpperCase() + n.slice(1) : n;
4524
4513
  }
4525
4514
  //#endregion
4526
4515
  //#region src/functions/copyObject.ts
4527
- function Q(e) {
4516
+ function Z(e) {
4528
4517
  return JSON.parse(JSON.stringify(e));
4529
4518
  }
4530
4519
  //#endregion
4531
4520
  //#region src/functions/copyObjectLite.ts
4532
- function hn(e, t) {
4521
+ function pn(e, t) {
4533
4522
  return Object.assign({}, e, t);
4534
4523
  }
4535
4524
  //#endregion
4536
4525
  //#region src/functions/domContentLoaded.ts
4537
- async function gn(e) {
4538
- return !s() || document.readyState !== "loading" ? I(e) : new Promise((t, n) => {
4526
+ async function mn(e) {
4527
+ return !c() || document.readyState !== "loading" ? P(e) : new Promise((t, n) => {
4539
4528
  document.addEventListener("DOMContentLoaded", () => {
4540
- I(e).then(t, n);
4529
+ P(e).then(t, n);
4541
4530
  }, { once: !0 });
4542
4531
  });
4543
4532
  }
4544
4533
  //#endregion
4545
4534
  //#region src/functions/domQuerySelector.ts
4546
- function _n(e) {
4547
- if (s()) {
4535
+ function hn(e) {
4536
+ if (c()) {
4548
4537
  var t;
4549
4538
  return (t = document.querySelector(e)) == null ? void 0 : t;
4550
4539
  }
4551
4540
  }
4552
4541
  //#endregion
4553
4542
  //#region src/functions/domQuerySelectorAll.ts
4554
- function vn(e) {
4555
- if (s()) return document.querySelectorAll(e);
4543
+ function gn(e) {
4544
+ if (c()) return document.querySelectorAll(e);
4556
4545
  }
4557
4546
  //#endregion
4558
4547
  //#region src/functions/getElementImage.ts
4559
- function yn(e) {
4560
- return d(e) ? G(void 0, "img", { src: e }) : e;
4548
+ function _n(e) {
4549
+ return f(e) ? U(void 0, "img", { src: e }) : e;
4561
4550
  }
4562
4551
  //#endregion
4563
4552
  //#region src/functions/resizeImageByMax.ts
4564
- function bn(e, t = "auto") {
4553
+ function vn(e, t = "auto") {
4565
4554
  switch (t) {
4566
4555
  case "auto": return e.naturalWidth >= e.naturalHeight;
4567
4556
  case "width": return !0;
4568
4557
  case "height": return !1;
4569
4558
  }
4570
4559
  }
4571
- function xn(e, t, n = "auto", r) {
4572
- let i = yn(e);
4573
- if (s() && i && i.naturalWidth && i.naturalHeight && (i.naturalWidth > t && (n === "auto" || n === "width") || i.naturalHeight > t && (n === "auto" || n === "height"))) {
4560
+ function Q(e, t, n = "auto", r) {
4561
+ let i = _n(e);
4562
+ if (c() && i && i.naturalWidth && i.naturalHeight && (i.naturalWidth > t && (n === "auto" || n === "width") || i.naturalHeight > t && (n === "auto" || n === "height"))) {
4574
4563
  var a;
4575
- let e = bn(i, n), o = (a = document.createElement("canvas")) == null ? void 0 : a.getContext("2d");
4564
+ let e = vn(i, n), o = (a = document.createElement("canvas")) == null ? void 0 : a.getContext("2d");
4576
4565
  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);
4577
4566
  }
4578
4567
  }
4579
4568
  //#endregion
4580
4569
  //#region src/functions/ensureMaxSize.ts
4581
- async function Sn(e, t = .56, n = "image/jpeg") {
4570
+ async function yn(e, t = .56, n = "image/jpeg") {
4582
4571
  return new Promise((r) => {
4583
- if (!s()) {
4572
+ if (!c()) {
4584
4573
  r("");
4585
4574
  return;
4586
4575
  }
4587
- let i = new Blob([e], { type: n }), a = URL.createObjectURL(i), o = yn(a);
4576
+ let i = new Blob([e], { type: n }), a = URL.createObjectURL(i), o = _n(a);
4588
4577
  o ? (o.onload = () => {
4589
- let e = xn(o, t * o.naturalWidth, "width", n);
4578
+ let e = Q(o, t * o.naturalWidth, "width", n);
4590
4579
  r(e == null ? "" : e), URL.revokeObjectURL(a);
4591
4580
  }, o.onerror = () => {
4592
4581
  URL.revokeObjectURL(a), r("");
4593
- }) : pn(i).then((e) => r(String(e == null ? "" : e)));
4582
+ }) : dn(i).then((e) => r(String(e == null ? "" : e)));
4594
4583
  });
4595
4584
  }
4596
4585
  //#endregion
4597
4586
  //#region src/functions/eventStopPropagation.ts
4598
- function Cn(e) {
4587
+ function bn(e) {
4599
4588
  e.preventDefault(), e.stopPropagation();
4600
4589
  }
4601
4590
  //#endregion
4602
4591
  //#region src/functions/frame.ts
4603
- function wn(e, t, n) {
4592
+ function xn(e, t, n) {
4604
4593
  let r = () => {
4605
- e(), s() && t != null && t() ? wn(e, t, n) : n == null || n();
4594
+ e(), c() && t != null && t() ? xn(e, t, n) : n == null || n();
4606
4595
  };
4607
- s() ? requestAnimationFrame(r) : r();
4596
+ c() ? requestAnimationFrame(r) : r();
4608
4597
  }
4609
4598
  //#endregion
4610
4599
  //#region src/functions/getArrayHighlightMatch.ts
4611
- function Tn(e, t) {
4612
- let n = a(e);
4613
- if (l(n) && l(t)) {
4614
- let e = [], r = Lt(t), i = 0, a;
4600
+ function Sn(e, t) {
4601
+ let n = o(e);
4602
+ if (u(n) && u(t)) {
4603
+ let e = [], r = Ft(t), i = 0, a;
4615
4604
  for (; (a = r.exec(n)) !== null && a.index !== r.lastIndex;) a.index > i && e.push({
4616
4605
  text: n.substring(i, a.index),
4617
4606
  isMatch: !1
@@ -4631,8 +4620,8 @@ function Tn(e, t) {
4631
4620
  }
4632
4621
  //#endregion
4633
4622
  //#region src/functions/getAttributes.ts
4634
- function En(e) {
4635
- let t = {}, n = j(e);
4623
+ function Cn(e) {
4624
+ let t = {}, n = k(e);
4636
4625
  if (n) for (let e of n.attributes) {
4637
4626
  var r;
4638
4627
  t[e.name] = (r = (e == null ? void 0 : e.value) || (e == null ? void 0 : e.textContent)) == null ? void 0 : r;
@@ -4641,12 +4630,12 @@ function En(e) {
4641
4630
  }
4642
4631
  //#endregion
4643
4632
  //#region src/functions/getClipboardData.ts
4644
- async function Dn(e) {
4645
- if (s()) try {
4633
+ async function wn(e) {
4634
+ if (c()) try {
4646
4635
  var t, n;
4647
4636
  return (t = e == null || (n = e.clipboardData) == null ? void 0 : n.getData("text")) == null ? await navigator.clipboard.readText() || "" : t;
4648
4637
  } catch (e) {
4649
- T.on({
4638
+ C.on({
4650
4639
  group: "clipboard",
4651
4640
  code: "error",
4652
4641
  details: e
@@ -4656,53 +4645,63 @@ async function Dn(e) {
4656
4645
  }
4657
4646
  //#endregion
4658
4647
  //#region src/functions/getCurrentDate.ts
4659
- function On(e = "datetime") {
4660
- return new rt(void 0, e).standard();
4648
+ function Tn(e = "datetime") {
4649
+ return new nt(void 0, e).standard();
4661
4650
  }
4662
4651
  //#endregion
4663
4652
  //#region src/functions/getCurrentTime.ts
4664
- function kn() {
4653
+ function En() {
4665
4654
  return Date.now();
4666
4655
  }
4667
4656
  //#endregion
4668
4657
  //#region src/functions/getElementId.ts
4669
- var An, jn = () => {
4670
- let e = An == null ? void 0 : An();
4658
+ var Dn, On = () => {
4659
+ let e = Dn == null ? void 0 : Dn();
4671
4660
  if (e) return String(e);
4672
- let t = D.get("__ui:getElementId__", () => ({ id: 1e5 }));
4661
+ let t = T.get("__ui:getElementId__", () => ({ id: 1e5 }));
4673
4662
  return `id-${t.id++}`;
4674
4663
  };
4675
- function Mn(e, t) {
4664
+ function kn(e, t) {
4676
4665
  if (e) {
4677
- let n = j(e);
4678
- if (n) return l(n.id) || n.setAttribute("id", jn()), t ? `#${n.id}${t}`.trim() : n.id;
4666
+ let n = k(e);
4667
+ if (n) return u(n.id) || n.setAttribute("id", On()), t ? `#${n.id}${t}`.trim() : n.id;
4679
4668
  }
4680
- return jn();
4669
+ return On();
4681
4670
  }
4682
- function Nn(e) {
4683
- An || (An = e);
4671
+ function An(e) {
4672
+ Dn || (Dn = e);
4684
4673
  }
4685
4674
  //#endregion
4686
4675
  //#region src/functions/getFirst.ts
4687
- function Pn(e) {
4688
- if (i(e)) return e == null ? void 0 : e[0];
4689
- if (t(e)) {
4690
- var n;
4691
- return (n = Object.values(e)) == null ? void 0 : n[0];
4676
+ function jn(e) {
4677
+ if (a(e)) return e == null ? void 0 : e[0];
4678
+ if (n(e)) {
4679
+ var t;
4680
+ return (t = Object.values(e)) == null ? void 0 : t[0];
4692
4681
  }
4693
4682
  return e;
4694
4683
  }
4695
4684
  //#endregion
4685
+ //#region src/functions/getImageSrc.ts
4686
+ function Mn(e) {
4687
+ if (f(e)) return e;
4688
+ if (e && "src" in e) {
4689
+ var t;
4690
+ return (t = e.src) == null ? "" : t;
4691
+ }
4692
+ return "";
4693
+ }
4694
+ //#endregion
4696
4695
  //#region src/functions/getKey.ts
4697
- function Fn(e) {
4696
+ function Nn(e) {
4698
4697
  var t, n, r;
4699
4698
  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;
4700
4699
  }
4701
4700
  //#endregion
4702
4701
  //#region src/functions/getLast.ts
4703
- function In(e) {
4704
- if (i(e)) return e == null ? void 0 : e[e.length - 1];
4705
- if (t(e)) {
4702
+ function Pn(e) {
4703
+ if (a(e)) return e == null ? void 0 : e[e.length - 1];
4704
+ if (n(e)) {
4706
4705
  let t = Object.values(e);
4707
4706
  return t == null ? void 0 : t[t.length - 1];
4708
4707
  }
@@ -4710,129 +4709,129 @@ function In(e) {
4710
4709
  }
4711
4710
  //#endregion
4712
4711
  //#region src/functions/getLength.ts
4713
- function Ln(e) {
4714
- return e == null ? 0 : typeof e == "string" || Array.isArray(e) ? e.length : e instanceof Map || e instanceof Set ? e.size : t(e) ? Object.keys(e).length : 0;
4712
+ function Fn(e) {
4713
+ return e == null ? 0 : typeof e == "string" || Array.isArray(e) ? e.length : e instanceof Map || e instanceof Set ? e.size : n(e) ? Object.keys(e).length : 0;
4715
4714
  }
4716
4715
  //#endregion
4717
4716
  //#region src/functions/getLengthOfAllArray.ts
4718
- function Rn(e) {
4719
- return r(e, (e) => {
4717
+ function In(e) {
4718
+ return i(e, (e) => {
4720
4719
  var t;
4721
4720
  return (t = e == null ? void 0 : e.length) == null ? 0 : t;
4722
4721
  });
4723
4722
  }
4724
4723
  //#endregion
4725
4724
  //#region src/functions/getMaxLengthAllArray.ts
4726
- function zn(e) {
4727
- if (!l(e)) return 0;
4728
- let t = Rn(e);
4725
+ function Ln(e) {
4726
+ if (!u(e)) return 0;
4727
+ let t = In(e);
4729
4728
  return t.length > 1e4 ? t.reduce((e, t) => Math.max(e, t)) : Math.max(...t);
4730
4729
  }
4731
4730
  //#endregion
4732
4731
  //#region src/functions/getMinLengthAllArray.ts
4733
- function Bn(e) {
4734
- if (!l(e)) return 0;
4735
- let t = Rn(e);
4732
+ function Rn(e) {
4733
+ if (!u(e)) return 0;
4734
+ let t = In(e);
4736
4735
  return t.length > 1e4 ? t.reduce((e, t) => Math.min(e, t)) : Math.min(...t);
4737
4736
  }
4738
4737
  //#endregion
4739
4738
  //#region src/functions/getMouseClientX.ts
4740
- function Vn(e) {
4739
+ function zn(e) {
4741
4740
  var t, n;
4742
4741
  return "clientX" in e ? 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;
4743
4742
  }
4744
4743
  //#endregion
4745
4744
  //#region src/functions/getMouseClientY.ts
4746
- function Hn(e) {
4745
+ function Bn(e) {
4747
4746
  var t, n;
4748
4747
  return "clientY" in e ? 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;
4749
4748
  }
4750
4749
  //#endregion
4751
4750
  //#region src/functions/getMouseClient.ts
4752
- function Un(e) {
4751
+ function Vn(e) {
4753
4752
  return {
4754
- x: Vn(e),
4755
- y: Hn(e)
4753
+ x: zn(e),
4754
+ y: Bn(e)
4756
4755
  };
4757
4756
  }
4758
4757
  //#endregion
4759
4758
  //#region src/functions/getObjectByKeys.ts
4760
- function Wn(e, t) {
4761
- let r = {};
4762
- return n(e) && t.forEach((t) => {
4763
- t in e && e[t] !== void 0 && (r[t] = e[t]);
4764
- }), r;
4759
+ function Hn(e, t) {
4760
+ let n = {};
4761
+ return r(e) && t.forEach((t) => {
4762
+ t in e && e[t] !== void 0 && (n[t] = e[t]);
4763
+ }), n;
4765
4764
  }
4766
4765
  //#endregion
4767
4766
  //#region src/functions/getObjectNoUndefined.ts
4768
- function Gn(e, t = void 0) {
4767
+ function Un(e, t = void 0) {
4769
4768
  let n = {};
4770
- return r(e, (e, r) => {
4769
+ return i(e, (e, r) => {
4771
4770
  e !== t && (n[r] = e);
4772
4771
  }), n;
4773
4772
  }
4774
4773
  //#endregion
4775
4774
  //#region src/functions/getObjectOrNone.ts
4776
- function Kn(e) {
4777
- return n(e) ? e : {};
4775
+ function Wn(e) {
4776
+ return r(e) ? e : {};
4778
4777
  }
4779
4778
  //#endregion
4780
4779
  //#region src/functions/getOnlyText.ts
4781
- function qn(e) {
4780
+ function Gn(e) {
4782
4781
  return S(e).replace(/[^\p{L}\p{N}\s]+/gu, "").trim();
4783
4782
  }
4784
4783
  //#endregion
4785
4784
  //#region src/functions/getRandomItem.ts
4786
- function Jn(e) {
4787
- if (i(e)) return e.length === 0 ? void 0 : e[f(0, e.length - 1)];
4788
- if (t(e)) {
4785
+ function Kn(e) {
4786
+ if (a(e)) return e.length === 0 ? void 0 : e[p(0, e.length - 1)];
4787
+ if (n(e)) {
4789
4788
  let t = Object.values(e);
4790
- return t.length === 0 ? void 0 : t[f(0, t.length - 1)];
4789
+ return t.length === 0 ? void 0 : t[p(0, t.length - 1)];
4791
4790
  }
4792
4791
  return e == null ? void 0 : e;
4793
4792
  }
4794
4793
  //#endregion
4795
4794
  //#region src/functions/strFill.ts
4796
- function Yn(e, t) {
4795
+ function qn(e, t) {
4797
4796
  return String(e).repeat(t);
4798
4797
  }
4799
4798
  //#endregion
4800
4799
  //#region src/functions/getRandomText.ts
4801
- function Xn(e, t, n = "#", r = 2, i = 12) {
4802
- let a = f(e, t), o = [];
4803
- for (let e = 0; e < a; e++) o.push(Yn(n, f(r, i)));
4800
+ function Jn(e, t, n = "#", r = 2, i = 12) {
4801
+ let a = p(e, t), o = [];
4802
+ for (let e = 0; e < a; e++) o.push(qn(n, p(r, i)));
4804
4803
  return o.join(" ");
4805
4804
  }
4806
4805
  //#endregion
4807
4806
  //#region src/functions/getStepPercent.ts
4808
- function Zn(e, t) {
4807
+ function Yn(e, t) {
4809
4808
  let n = e == null ? 0 : e;
4810
4809
  return t > n ? 100 / (t - n) : 0;
4811
4810
  }
4812
4811
  //#endregion
4813
4812
  //#region src/functions/getStepValue.ts
4814
- function Qn(e, t) {
4813
+ function Xn(e, t) {
4815
4814
  let n = e == null ? 0 : e;
4816
4815
  return t > n ? (t - n) / 100 : 0;
4817
4816
  }
4818
4817
  //#endregion
4819
4818
  //#region src/functions/goScroll.ts
4820
- var $n = 0;
4821
- function er(e, t, n) {
4822
- if (!s()) return;
4819
+ var Zn = 0;
4820
+ function Qn(e, t, n) {
4821
+ if (!c()) return;
4823
4822
  let r = t == null ? void 0 : t.closest(e);
4824
4823
  if (t && r && r.scrollHeight !== r.offsetHeight) {
4825
4824
  let e = r.getBoundingClientRect(), i = t.getBoundingClientRect();
4826
4825
  if (n) {
4827
4826
  let a = n.getBoundingClientRect();
4828
4827
  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);
4829
- } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - $n : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + $n);
4828
+ } else r.scrollTop > t.offsetTop ? r.scrollTop = i.top - e.top - Zn : r.scrollTop + r.offsetHeight < t.offsetTop + t.offsetHeight && (r.scrollTop = i.top - e.top + i.height - e.height + Zn);
4830
4829
  }
4831
4830
  }
4832
4831
  //#endregion
4833
4832
  //#region src/functions/goScrollSmooth.ts
4834
- function tr(e, t, n = 0) {
4835
- if (!s()) return;
4833
+ function $n(e, t, n = 0) {
4834
+ if (!c()) return;
4836
4835
  let r = (t == null ? void 0 : t.behavior) || "smooth";
4837
4836
  if ("scrollIntoView" in e && !n) {
4838
4837
  e.scrollIntoView({
@@ -4853,8 +4852,8 @@ function tr(e, t, n = 0) {
4853
4852
  }
4854
4853
  //#endregion
4855
4854
  //#region src/functions/goScrollTo.ts
4856
- function nr(e, t, n = "smooth") {
4857
- if (!s() || !e || !t) return;
4855
+ function er(e, t, n = "smooth") {
4856
+ if (!c() || !e || !t) return;
4858
4857
  let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
4859
4858
  e.scrollBy({
4860
4859
  top: i.top - r.top,
@@ -4864,16 +4863,16 @@ function nr(e, t, n = "smooth") {
4864
4863
  }
4865
4864
  //#endregion
4866
4865
  //#region src/functions/isShare.ts
4867
- function rr() {
4868
- return s() && typeof navigator < "u" && !!navigator.share;
4866
+ function tr() {
4867
+ return c() && typeof navigator < "u" && !!navigator.share;
4869
4868
  }
4870
4869
  //#endregion
4871
4870
  //#region src/functions/handleShare.ts
4872
- async function ir(e) {
4873
- if (rr() && navigator.canShare && navigator.canShare(e)) try {
4871
+ async function nr(e) {
4872
+ if (tr() && navigator.canShare && navigator.canShare(e)) try {
4874
4873
  return await navigator.share(e), !0;
4875
4874
  } catch (e) {
4876
- T.on({
4875
+ C.on({
4877
4876
  group: "share",
4878
4877
  code: "error",
4879
4878
  details: e
@@ -4883,54 +4882,54 @@ async function ir(e) {
4883
4882
  }
4884
4883
  //#endregion
4885
4884
  //#region src/functions/inArray.ts
4886
- function ar(e, t) {
4885
+ function rr(e, t) {
4887
4886
  return e.includes(t);
4888
4887
  }
4889
4888
  //#endregion
4890
4889
  //#region src/functions/initScrollbarOffset.ts
4891
- async function or() {
4892
- if (s()) {
4893
- let e = await Ft.get();
4890
+ async function ir() {
4891
+ if (c()) {
4892
+ let e = await Pt.get();
4894
4893
  document.body.style.setProperty("--sys-scrollbar-offset", `${e}px`);
4895
4894
  }
4896
4895
  }
4897
4896
  //#endregion
4898
4897
  //#region src/functions/intersectKey.ts
4899
- function sr(e, n) {
4900
- let i = {};
4901
- return t(e) && t(n) && r(e, (e, t) => {
4902
- t in n && (i[t] = e);
4903
- }), i;
4898
+ function ar(e, t) {
4899
+ let r = {};
4900
+ return n(e) && n(t) && i(e, (e, n) => {
4901
+ n in t && (r[n] = e);
4902
+ }), r;
4904
4903
  }
4905
4904
  //#endregion
4906
4905
  //#region src/functions/isDifferent.ts
4907
- function cr(e, t) {
4906
+ function or(e, t) {
4908
4907
  let n = Object.keys(e).length !== Object.keys(t).length;
4909
- return n || r(e, (e, r) => {
4908
+ return n || i(e, (e, r) => {
4910
4909
  e !== (t == null ? void 0 : t[r]) && (n = !0);
4911
4910
  }), n;
4912
4911
  }
4913
4912
  //#endregion
4914
4913
  //#region src/functions/isElementVisible.ts
4915
- function lr(e) {
4916
- if (!s()) return !1;
4917
- let t = j(e);
4914
+ function sr(e) {
4915
+ if (!c()) return !1;
4916
+ let t = k(e);
4918
4917
  if (!t || "isConnected" in t && t.isConnected === !1) return !1;
4919
4918
  let n = window.getComputedStyle(t);
4920
4919
  return n.display !== "none" && n.visibility !== "hidden" && n.opacity !== "0" && t.offsetWidth !== 0 && t.offsetHeight !== 0;
4921
4920
  }
4922
4921
  //#endregion
4923
4922
  //#region src/functions/isInput.ts
4924
- var ur = (e) => {
4923
+ var cr = (e) => {
4925
4924
  if (e instanceof HTMLElement) {
4926
4925
  let t = e.tagName.toLowerCase();
4927
4926
  return !!(t === "input" || t === "textarea" || t === "select" || e.isContentEditable || e.getAttribute("contenteditable") === "true") && !(e != null && e.readOnly) && !(e != null && e.disabled);
4928
4927
  }
4929
4928
  return !1;
4930
- }, dr = (e, t) => e.code !== "Space" && e.code !== "Enter" && e.key !== " " && e.key !== "Spacebar" && e.key !== "Enter" && e.keyCode !== 13 && e.keyCode !== 32 ? !1 : t === void 0 ? !ur(e.target) : !t;
4929
+ }, lr = (e, t) => e.code !== "Space" && e.code !== "Enter" && e.key !== " " && e.key !== "Spacebar" && e.key !== "Enter" && e.keyCode !== 13 && e.keyCode !== 32 ? !1 : t === void 0 ? !cr(e.target) : !t;
4931
4930
  //#endregion
4932
4931
  //#region src/functions/isFloat.ts
4933
- function fr(e) {
4932
+ function ur(e) {
4934
4933
  switch (typeof e) {
4935
4934
  case "number": return !0;
4936
4935
  case "string": return /^-?\d+(\.\d+)?$/.test(e);
@@ -4939,24 +4938,24 @@ function fr(e) {
4939
4938
  }
4940
4939
  //#endregion
4941
4940
  //#region src/functions/isIntegerBetween.ts
4942
- function pr(e, t) {
4941
+ function dr(e, t) {
4943
4942
  let n = Math.floor(t);
4944
4943
  return e >= n && e < n + 1;
4945
4944
  }
4946
4945
  //#endregion
4947
4946
  //#region src/functions/isMetaKey.ts
4948
- var mr = (e) => !!(e.metaKey || e.altKey || e.ctrlKey);
4947
+ var fr = (e) => !!(e.metaKey || e.altKey || e.ctrlKey);
4949
4948
  //#endregion
4950
4949
  //#region src/functions/isSelectedByList.ts
4951
- function hr(e, t) {
4952
- return Array.isArray(e) ? e.every((e) => x(e, t)) : x(e, t);
4950
+ function pr(e, t) {
4951
+ return Array.isArray(e) ? e.every((e) => ae(e, t)) : ae(e, t);
4953
4952
  }
4954
4953
  //#endregion
4955
4954
  //#region src/functions/isTab.ts
4956
- var gr = (e) => e.key === "Tab" || e.code === "Tab" || e.keyCode === 9;
4955
+ var mr = (e) => e.key === "Tab" || e.code === "Tab" || e.keyCode === 9;
4957
4956
  //#endregion
4958
4957
  //#region src/functions/removeCommonPrefix.ts
4959
- function _r(e, t) {
4958
+ function hr(e, t) {
4960
4959
  if (e.startsWith(t)) return e.slice(t.length).trim();
4961
4960
  let n = 0;
4962
4961
  for (; e[n] === t[n] && n < e.length && n < t.length;) n++;
@@ -4964,36 +4963,53 @@ function _r(e, t) {
4964
4963
  }
4965
4964
  //#endregion
4966
4965
  //#region src/functions/replaceComponentName.ts
4967
- var vr = (e, t, n) => {
4966
+ var gr = (e, t, n) => {
4968
4967
  var r;
4969
4968
  return e == null || (r = e.replace(RegExp(`<${t}`, "ig"), `<${n}`)) == null || (r = r.replace(RegExp(`</${t}`, "ig"), `</${n}`)) == null ? void 0 : r.trim();
4970
4969
  };
4971
4970
  //#endregion
4972
4971
  //#region src/functions/uniqueArray.ts
4973
- function yr(e) {
4972
+ function _r(e) {
4974
4973
  return [...new Set(e)];
4975
4974
  }
4976
4975
  //#endregion
4977
4976
  //#region src/functions/replaceRecursive.ts
4978
- function $(e, n, i = !0) {
4979
- let a = Q(e);
4980
- return t(e) && t(n) && r(n, (n, r) => {
4981
- let o = e == null ? void 0 : e[r];
4982
- t(o) && t(n) ? i && Array.isArray(o) && Array.isArray(n) ? a[r] = Q(yr([...o, ...n])) : a[r] = $(Array.isArray(o) ? { ...o } : o, n, i) : a[r] = t(n) ? Q(n) : n;
4977
+ function $(e, t, r = !0) {
4978
+ let a = Z(e);
4979
+ return n(e) && n(t) && i(t, (t, i) => {
4980
+ let o = e == null ? void 0 : e[i];
4981
+ n(o) && n(t) ? r && Array.isArray(o) && Array.isArray(t) ? a[i] = Z(_r([...o, ...t])) : a[i] = $(Array.isArray(o) ? { ...o } : o, t, r) : a[i] = n(t) ? Z(t) : t;
4983
4982
  }), a;
4984
4983
  }
4985
4984
  //#endregion
4986
4985
  //#region src/functions/replaceTemplate.ts
4987
- function br(e, t) {
4986
+ function vr(e, t) {
4988
4987
  let n = e;
4989
- return r(t, (e, t) => {
4990
- n = n.replace(Wt(`[${t}]`), m(e));
4988
+ return i(t, (e, t) => {
4989
+ n = n.replace(Ht(`[${t}]`), h(e));
4991
4990
  }), n;
4992
4991
  }
4993
4992
  //#endregion
4993
+ //#region src/functions/resizeImage.ts
4994
+ async function yr(e, t = 1280, n) {
4995
+ let r = Mn(e);
4996
+ if (!c() || !r || t <= 0) return r;
4997
+ if (typeof e != "string" && e.complete && e.naturalWidth) {
4998
+ var i;
4999
+ return (i = Q(e, t, "auto", n)) == null ? r : i;
5000
+ }
5001
+ return new Promise((e) => {
5002
+ let i = new Image();
5003
+ i.onerror = () => e(r), i.onload = () => {
5004
+ var a;
5005
+ e((a = Q(i, t, "auto", n)) == null ? r : a);
5006
+ }, i.src = r;
5007
+ });
5008
+ }
5009
+ //#endregion
4994
5010
  //#region src/functions/secondToTime.ts
4995
- function xr(e, t) {
4996
- let n = b(e);
5011
+ function br(e, t) {
5012
+ let n = x(e);
4997
5013
  if (n > 0) {
4998
5014
  let e = String(Math.floor(n / 60)).padStart(2, "0"), r = String(n % 60).padStart(2, "0");
4999
5015
  return t && Number(e) >= 60 ? `${String(Math.floor(Number(e) / 60)).padStart(2, "0")}:${String(Number(e) % 60).padStart(2, "0")}:${r}` : `${e}:${r}`;
@@ -5002,19 +5018,19 @@ function xr(e, t) {
5002
5018
  }
5003
5019
  //#endregion
5004
5020
  //#region src/functions/setValues.ts
5005
- function Sr(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: a = !0, notEmpty: o = !1 }) {
5021
+ function xr(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: i = !0, notEmpty: o = !1 }) {
5006
5022
  if (n) {
5007
- if (i(e)) {
5023
+ if (a(e)) {
5008
5024
  let n = e.indexOf(t), i = [...e];
5009
5025
  return n === -1 ? (!r || e.length < r) && i.push(t) : (!o || i.length > 1) && i.splice(n, 1), i;
5010
5026
  }
5011
5027
  return e === t ? [] : e ? [e, t] : [t];
5012
5028
  }
5013
- return a || e !== t ? t : e;
5029
+ return i || e !== t ? t : e;
5014
5030
  }
5015
5031
  //#endregion
5016
5032
  //#region src/functions/sortList.ts
5017
- function Cr(e, t, n) {
5033
+ function Sr(e, t, n) {
5018
5034
  var r;
5019
5035
  if (t.length === 0 || e.length < 2) return e;
5020
5036
  let i = ((r = Intl) == null ? void 0 : r.Collator) === void 0 ? void 0 : new Intl.Collator(void 0, {
@@ -5029,54 +5045,54 @@ function Cr(e, t, n) {
5029
5045
  if (t !== 0) return t;
5030
5046
  continue;
5031
5047
  }
5032
- let t = H(e, a), s = H(r, a);
5048
+ let t = B(e, a), s = B(r, a);
5033
5049
  if (t === s) continue;
5034
- if (c(t)) return 1;
5035
- if (c(s)) return -1;
5036
- let l = o === "desc" ? -1 : 1;
5037
- if (g(t) && g(s)) return (b(t) - b(s)) * l;
5038
- if (typeof t == "boolean" && typeof s == "boolean") return (Number(t) - Number(s)) * l;
5050
+ if (l(t)) return 1;
5051
+ if (l(s)) return -1;
5052
+ let c = o === "desc" ? -1 : 1;
5053
+ if (_(t) && _(s)) return (x(t) - x(s)) * c;
5054
+ if (typeof t == "boolean" && typeof s == "boolean") return (Number(t) - Number(s)) * c;
5039
5055
  let u = String(t), d = String(s);
5040
- return (i ? i.compare(u, d) : u.localeCompare(d)) * l;
5056
+ return (i ? i.compare(u, d) : u.localeCompare(d)) * c;
5041
5057
  }
5042
5058
  return 0;
5043
5059
  });
5044
5060
  }
5045
5061
  //#endregion
5046
5062
  //#region src/functions/splice.ts
5047
- function wr(e, n, i) {
5048
- if (t(e) && t(n)) {
5049
- if (i) {
5063
+ function Cr(e, t, r) {
5064
+ if (n(e) && n(t)) {
5065
+ if (r) {
5050
5066
  let a = {}, o = !1;
5051
- return r(e, (e, r) => {
5052
- !o && (i === r || i === e) ? (o = !0, a = $(a, n)) : o ? a = $(a, { [r]: e }) : a[r] = t(e) ? Q(e) : e;
5053
- }), o ? a : $(e, n);
5067
+ return i(e, (e, i) => {
5068
+ !o && (r === i || r === e) ? (o = !0, a = $(a, t)) : o ? a = $(a, { [i]: e }) : a[i] = n(e) ? Z(e) : e;
5069
+ }), o ? a : $(e, t);
5054
5070
  }
5055
- if (t(n)) return $(e, n);
5071
+ if (n(t)) return $(e, t);
5056
5072
  }
5057
- return Q(e);
5073
+ return Z(e);
5058
5074
  }
5059
5075
  //#endregion
5060
5076
  //#region src/functions/toCamelCaseFirst.ts
5061
- function Tr(e) {
5062
- return it(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
5077
+ function wr(e) {
5078
+ return rt(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
5063
5079
  }
5064
5080
  //#endregion
5065
5081
  //#region src/functions/toKebabCase.ts
5066
- function Er(e) {
5082
+ function Tr(e) {
5067
5083
  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());
5068
5084
  }
5069
5085
  //#endregion
5070
5086
  //#region src/functions/toNumberByMax.ts
5071
- function Dr(e, t, n, r) {
5072
- let i = b(e), a = b(t);
5073
- return t && a < i ? `${Or(a, n, r)}+` : Or(i, n, r);
5087
+ function Er(e, t, n, r) {
5088
+ let i = x(e), a = x(t);
5089
+ return t && a < i ? `${Dr(a, n, r)}+` : Dr(i, n, r);
5074
5090
  }
5075
- var Or = (e, t, n) => t ? new z(n).number(e) : e;
5091
+ var Dr = (e, t, n) => t ? new L(n).number(e) : e;
5076
5092
  //#endregion
5077
5093
  //#region src/functions/toNumberPositive.ts
5078
- function kr(e, t = 0) {
5079
- if (l(e)) {
5094
+ function Or(e, t = 0) {
5095
+ if (u(e)) {
5080
5096
  let t = Number(e);
5081
5097
  if (Number.isFinite(t) && t > 0) return t;
5082
5098
  }
@@ -5084,20 +5100,20 @@ function kr(e, t = 0) {
5084
5100
  }
5085
5101
  //#endregion
5086
5102
  //#region src/functions/toPercent.ts
5087
- function Ar(e, t) {
5103
+ function kr(e, t) {
5088
5104
  return e === 0 ? t : 1 / e * t;
5089
5105
  }
5090
5106
  //#endregion
5091
5107
  //#region src/functions/toPercentBy100.ts
5092
- function jr(e, t) {
5093
- return Ar(e, t) * 100;
5108
+ function Ar(e, t) {
5109
+ return kr(e, t) * 100;
5094
5110
  }
5095
5111
  //#endregion
5096
5112
  //#region src/functions/uint8ArrayToBase64.ts
5097
- function Mr(e) {
5113
+ function jr(e) {
5098
5114
  let t = "";
5099
5115
  for (let n of e) t += String.fromCharCode(n);
5100
- if (s()) return window.btoa(t);
5116
+ if (c()) return window.btoa(t);
5101
5117
  if (globalThis && globalThis.Buffer) {
5102
5118
  var n;
5103
5119
  return (n = globalThis) == null ? void 0 : n.Buffer.from(e).toString("base64");
@@ -5106,8 +5122,8 @@ function Mr(e) {
5106
5122
  }
5107
5123
  //#endregion
5108
5124
  //#region src/functions/writeClipboardData.ts
5109
- async function Nr(e) {
5110
- if (s()) try {
5125
+ async function Mr(e) {
5126
+ if (c()) try {
5111
5127
  await navigator.clipboard.writeText(e);
5112
5128
  } catch (n) {
5113
5129
  var t;
@@ -5115,4 +5131,4 @@ async function Nr(e) {
5115
5131
  }
5116
5132
  }
5117
5133
  //#endregion
5118
- export { L as Api, P as ApiCache, ze as ApiDataReturn, Be as ApiDefault, Ue as ApiError, Ve as ApiErrorItem, He as ApiErrorStorage, We as ApiHeaders, Ke as ApiHydration, Xe as ApiInstance, F as ApiMethodItem, qe as ApiPreparation, Ye as ApiResponse, Le as ApiStatus, Ze as BroadcastMessage, et as Cache, $e as CacheItem, tt as CacheStatic, Te as Cookie, Se as CookieBlock, xe as CookieBlockInstance, k as CookieStorage, O as DataStorage, rt as Datetime, T as ErrorCenter, le as ErrorCenterHandler, ue as ErrorCenterInstance, Me as EventItem, at as Formatters, U as FormattersType, ot as GEO_FLAG_ICON_NAME, A as Geo, st as GeoFlag, Oe as GeoInstance, z as GeoIntl, ct as GeoPhone, ut as GeoUnit, dt as Global, mt as Hash, pt as HashInstance, _t as Icons, N as Loading, Pe as LoadingInstance, At as Meta, q as MetaManager, Ot as MetaOg, Tt as MetaOpenGraphAge, Ct as MetaOpenGraphAvailability, wt as MetaOpenGraphCondition, Et as MetaOpenGraphGender, Y as MetaOpenGraphTag, St as MetaOpenGraphType, xt as MetaRobots, jt as MetaStatic, J as MetaTag, kt as MetaTwitter, Dt as MetaTwitterCard, X as MetaTwitterTag, Nt as Query, Mt as QueryInstance, Pt as ResumableTimer, Ft as ScrollbarWidth, Yt as SearchList, Ht as SearchListData, Ut as SearchListItem, qt as SearchListMatcher, Jt as SearchListOptions, D as ServerStorage, Zt as StorageCallback, nn as TRANSLATE_GLOBAL_PREFIX, rn as TRANSLATE_TIME_OUT, sn as Translate, an as TranslateFile, on as TranslateInstance, Ee as UI_GEO_COOKIE_KEY, ft as UrlInstanceAbstract, Z as UrlItem, Vt as addTagHighlightMatch, S as anyToString, en as applyTemplate, cn as arrFill, pn as blobToBase64, mn as capitalize, Q as copyObject, hn as copyObjectLite, G as createElement, gn as domContentLoaded, _n as domQuerySelector, vn as domQuerySelectorAll, K as encodeAttribute, pe as encodeLiteAttribute, Sn as ensureMaxSize, It as escapeExp, Cn as eventStopPropagation, m as executeFunction, I as executePromise, r as forEach, wn as frame, Tn as getArrayHighlightMatch, En as getAttributes, Dn as getClipboardData, nt as getColumn, On as getCurrentDate, kn as getCurrentTime, j as getElement, Mn as getElementId, yn as getElementImage, vt as getElementItem, Ae as getElementOrWindow, me as getElementSafeScript, Gt as getExactSearchExp, Wt as getExp, Pn as getFirst, he as getHydrationData, H as getItemByPath, Fn as getKey, In as getLast, Ln as getLength, Rn as getLengthOfAllArray, zn as getMaxLengthAllArray, Bn as getMinLengthAllArray, Un as getMouseClient, Vn as getMouseClientX, Hn as getMouseClientY, Wn as getObjectByKeys, Gn as getObjectNoUndefined, Kn as getObjectOrNone, qn as getOnlyText, Jn as getRandomItem, Xn as getRandomText, o as getRequestString, Kt as getSearchExp, Lt as getSeparatingSearchExp, Zn as getStepPercent, Qn as getStepValue, er as goScroll, tr as goScrollSmooth, nr as goScrollTo, ir as handleShare, ar as inArray, Nn as initGetElementId, or as initScrollbarOffset, sr as intersectKey, tn as isApiSuccess, i as isArray, cr as isDifferent, ae as isDomData, s as isDomRuntime, lr as isElementVisible, dr as isEnter, l as isFilled, fr as isFloat, p as isFunction, je as isInDom, ur as isInput, pr as isIntegerBetween, mr as isMetaKey, c as isNull, g as isNumber, t as isObject, n as isObjectNotArray, u as isOnLine, x as isSelected, hr as isSelectedByList, rr as isShare, d as isString, gr as isTab, ke as isWindow, f as random, _r as removeCommonPrefix, vr as replaceComponentName, $ as replaceRecursive, br as replaceTemplate, xn as resizeImageByMax, xr as secondToTime, yt as setElementItem, Sr as setValues, ee as sleep, Cr as sortList, wr as splice, Yn as strFill, oe as strSplit, M as toArray, it as toCamelCase, Tr as toCamelCaseFirst, R as toDate, Er as toKebabCase, b as toNumber, Dr as toNumberByMax, kr as toNumberPositive, Ar as toPercent, jr as toPercentBy100, a as toString, E as transformation, Mr as uint8ArrayToBase64, yr as uniqueArray, Nr as writeClipboardData };
5134
+ export { F as Api, M as ApiCache, Re as ApiDataReturn, ze as ApiDefault, He as ApiError, Be as ApiErrorItem, Ve as ApiErrorStorage, Ue as ApiHeaders, Ge as ApiHydration, Ye as ApiInstance, N as ApiMethodItem, Ke as ApiPreparation, Je as ApiResponse, Ie as ApiStatus, Xe as BroadcastMessage, $e as Cache, Qe as CacheItem, et as CacheStatic, we as Cookie, xe as CookieBlock, be as CookieBlockInstance, D as CookieStorage, E as DataStorage, nt as Datetime, C as ErrorCenter, ce as ErrorCenterHandler, le as ErrorCenterInstance, je as EventItem, it as Formatters, V as FormattersType, at as GEO_FLAG_ICON_NAME, O as Geo, ot as GeoFlag, De as GeoInstance, L as GeoIntl, st as GeoPhone, lt as GeoUnit, ut as Global, pt as Hash, ft as HashInstance, gt as Icons, j as Loading, Ne 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, T as ServerStorage, Yt as StorageCallback, en as TRANSLATE_GLOBAL_PREFIX, tn as TRANSLATE_TIME_OUT, an as Translate, nn as TranslateFile, rn as TranslateInstance, Te 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 domContentLoaded, hn as domQuerySelector, gn as domQuerySelectorAll, W as encodeAttribute, fe as encodeLiteAttribute, yn as ensureMaxSize, X as escapeExp, bn as eventStopPropagation, h as executeFunction, P as executePromise, i as forEach, xn as frame, Sn as getArrayHighlightMatch, Cn as getAttributes, wn as getClipboardData, tt as getColumn, Tn as getCurrentDate, En as getCurrentTime, k as getElement, kn as getElementId, _n as getElementImage, _t as getElementItem, ke as getElementOrWindow, pe as getElementSafeScript, Ut as getExactSearchExp, Ht as getExp, jn as getFirst, me as getHydrationData, Mn as getImageSrc, B as getItemByPath, Nn as getKey, Pn as getLast, Fn as getLength, In as getLengthOfAllArray, Ln as getMaxLengthAllArray, Rn as getMinLengthAllArray, Vn as getMouseClient, zn as getMouseClientX, Bn as getMouseClientY, Hn as getObjectByKeys, Un as getObjectNoUndefined, Wn as getObjectOrNone, Gn as getOnlyText, Kn as getRandomItem, Jn as getRandomText, s as getRequestString, Wt as getSearchExp, Ft as getSeparatingSearchExp, Yn as getStepPercent, Xn as getStepValue, Qn as goScroll, $n as goScrollSmooth, er as goScrollTo, nr as handleShare, rr as inArray, An as initGetElementId, ir as initScrollbarOffset, ar as intersectKey, $t as isApiSuccess, a as isArray, or as isDifferent, oe as isDomData, c as isDomRuntime, sr as isElementVisible, lr as isEnter, u as isFilled, ur as isFloat, m as isFunction, Ae as isInDom, cr as isInput, dr as isIntegerBetween, fr as isMetaKey, l as isNull, _ as isNumber, n as isObject, r as isObjectNotArray, d as isOnLine, ae as isSelected, pr as isSelectedByList, tr as isShare, f as isString, mr as isTab, Oe as isWindow, p as random, hr as removeCommonPrefix, gr as replaceComponentName, $ as replaceRecursive, vr as replaceTemplate, yr as resizeImage, Q as resizeImageByMax, br as secondToTime, vt as setElementItem, xr as setValues, ee as sleep, Sr as sortList, Cr as splice, qn as strFill, se as strSplit, A as toArray, rt as toCamelCase, wr as toCamelCaseFirst, I as toDate, Tr as toKebabCase, x as toNumber, Er as toNumberByMax, Or as toNumberPositive, kr as toPercent, Ar as toPercentBy100, o as toString, w as transformation, jr as uint8ArrayToBase64, _r as uniqueArray, Mr as writeClipboardData };