@topvisor/ui 1.5.0-updates.0 → 1.5.0-updates.5

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 (305) hide show
  1. package/.chunks/api-CawzY1Cw.amd.js +2 -0
  2. package/.chunks/api-CawzY1Cw.amd.js.map +1 -0
  3. package/.chunks/api-CawzY1Cw.esm.js +208 -0
  4. package/.chunks/api-CawzY1Cw.esm.js.map +1 -0
  5. package/.chunks/app-CCX-gNqz.amd.js +2 -0
  6. package/.chunks/app-CCX-gNqz.amd.js.map +1 -0
  7. package/.chunks/app-CCX-gNqz.esm.js +396 -0
  8. package/.chunks/app-CCX-gNqz.esm.js.map +1 -0
  9. package/.chunks/datepicker-BTkZOq7d.amd.js +2 -0
  10. package/.chunks/datepicker-BTkZOq7d.amd.js.map +1 -0
  11. package/.chunks/datepicker-BTkZOq7d.esm.js +38 -0
  12. package/.chunks/datepicker-BTkZOq7d.esm.js.map +1 -0
  13. package/.chunks/dialog-DeM4SApg.amd.js +2 -0
  14. package/.chunks/dialog-DeM4SApg.amd.js.map +1 -0
  15. package/.chunks/dialog-DeM4SApg.esm.js +117 -0
  16. package/.chunks/dialog-DeM4SApg.esm.js.map +1 -0
  17. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.amd.js +2 -0
  18. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.amd.js.map +1 -0
  19. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.esm.js +169 -0
  20. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.esm.js.map +1 -0
  21. package/.chunks/dialogs-CMrERMI7.amd.js +2 -0
  22. package/.chunks/dialogs-CMrERMI7.amd.js.map +1 -0
  23. package/.chunks/dialogs-CMrERMI7.esm.js +237 -0
  24. package/.chunks/dialogs-CMrERMI7.esm.js.map +1 -0
  25. package/.chunks/field-CjkpGeA7.amd.js +2 -0
  26. package/.chunks/field-CjkpGeA7.amd.js.map +1 -0
  27. package/.chunks/field-CjkpGeA7.esm.js +16 -0
  28. package/.chunks/field-CjkpGeA7.esm.js.map +1 -0
  29. package/.chunks/forms-CbUt-6Ff.amd.js +2 -0
  30. package/.chunks/forms-CbUt-6Ff.amd.js.map +1 -0
  31. package/.chunks/forms-CbUt-6Ff.esm.js +1991 -0
  32. package/.chunks/forms-CbUt-6Ff.esm.js.map +1 -0
  33. package/.chunks/formsExt-CrTmBhja.amd.js +2 -0
  34. package/.chunks/formsExt-CrTmBhja.amd.js.map +1 -0
  35. package/.chunks/formsExt-CrTmBhja.esm.js +807 -0
  36. package/.chunks/formsExt-CrTmBhja.esm.js.map +1 -0
  37. package/.chunks/lazy-CGswTOPj.amd.js +2 -0
  38. package/.chunks/lazy-CGswTOPj.amd.js.map +1 -0
  39. package/.chunks/lazy-CGswTOPj.esm.js +68 -0
  40. package/.chunks/lazy-CGswTOPj.esm.js.map +1 -0
  41. package/.chunks/mocker-CwZe-g4N.amd.js +2 -0
  42. package/.chunks/mocker-CwZe-g4N.amd.js.map +1 -0
  43. package/.chunks/mocker-CwZe-g4N.esm.js +45 -0
  44. package/.chunks/mocker-CwZe-g4N.esm.js.map +1 -0
  45. package/.chunks/notice-CslVdVNm.amd.js +4 -0
  46. package/.chunks/notice-CslVdVNm.amd.js.map +1 -0
  47. package/.chunks/notice-CslVdVNm.esm.js +191 -0
  48. package/.chunks/notice-CslVdVNm.esm.js.map +1 -0
  49. package/.chunks/popup-DrByVU-k.amd.js +2 -0
  50. package/.chunks/popup-DrByVU-k.amd.js.map +1 -0
  51. package/.chunks/popup-DrByVU-k.esm.js +444 -0
  52. package/.chunks/popup-DrByVU-k.esm.js.map +1 -0
  53. package/.chunks/popup-dNrN-eKi.amd.js +2 -0
  54. package/.chunks/popup-dNrN-eKi.amd.js.map +1 -0
  55. package/.chunks/popup-dNrN-eKi.esm.js +323 -0
  56. package/.chunks/popup-dNrN-eKi.esm.js.map +1 -0
  57. package/.chunks/punycode.es6-B-5kB2YI.amd.js +2 -0
  58. package/.chunks/{punycode.es6-CgGegfA_.es.js.map → punycode.es6-B-5kB2YI.amd.js.map} +1 -1
  59. package/.chunks/punycode.es6-B-5kB2YI.esm.js +105 -0
  60. package/.chunks/punycode.es6-B-5kB2YI.esm.js.map +1 -0
  61. package/.chunks/store-DuQpSSLL.amd.js +2 -0
  62. package/.chunks/{store-CX_6ZXhO.es.js.map → store-DuQpSSLL.amd.js.map} +1 -1
  63. package/.chunks/store-DuQpSSLL.esm.js +27 -0
  64. package/.chunks/store-DuQpSSLL.esm.js.map +1 -0
  65. package/.chunks/utils-BwiXsV0S.amd.js +2 -0
  66. package/.chunks/utils-BwiXsV0S.amd.js.map +1 -0
  67. package/.chunks/utils-BwiXsV0S.esm.js +43 -0
  68. package/.chunks/utils-BwiXsV0S.esm.js.map +1 -0
  69. package/.chunks/utils-Dd0MZgyw.amd.js +2 -0
  70. package/.chunks/utils-Dd0MZgyw.amd.js.map +1 -0
  71. package/.chunks/utils-Dd0MZgyw.esm.js +287 -0
  72. package/.chunks/utils-Dd0MZgyw.esm.js.map +1 -0
  73. package/.chunks/worker-Db8YrEHo.amd.js +2 -0
  74. package/.chunks/worker-Db8YrEHo.amd.js.map +1 -0
  75. package/.chunks/worker-Db8YrEHo.esm.js +100 -0
  76. package/.chunks/worker-Db8YrEHo.esm.js.map +1 -0
  77. package/api/additional.amd.js +2 -2
  78. package/api/additional.amd.js.map +1 -1
  79. package/api/additional.js +70 -66
  80. package/api/additional.js.map +1 -1
  81. package/api/index.amd.js +2 -2
  82. package/api/index.amd.js.map +1 -1
  83. package/api/index.js +3 -285
  84. package/assets/charts.css +1 -1
  85. package/assets/core.css +1 -1
  86. package/assets/dialog_regionSelectorRegions.css +1 -1
  87. package/assets/extra.css +1 -1
  88. package/assets/forms.css +1 -1
  89. package/assets/formsExt.css +1 -0
  90. package/assets/layout.css +1 -1
  91. package/assets/notice.css +1 -1
  92. package/assets/popup.css +1 -0
  93. package/assets/project.css +1 -1
  94. package/assets/tabs.css +1 -1
  95. package/assets/tabsView.css +1 -1
  96. package/assets/themes/dark-th.css +1 -1
  97. package/assets/themes/dark.css +1 -1
  98. package/assets/themes/light.css +1 -1
  99. package/autoload-css-manifest.amd.json +79 -0
  100. package/autoload-css-manifest.json +90 -0
  101. package/charts/charts.amd.js +2 -2
  102. package/charts/charts.amd.js.map +1 -1
  103. package/charts/charts.js +146 -174
  104. package/charts/charts.js.map +1 -1
  105. package/core/app.amd.js +2 -2
  106. package/core/app.amd.js.map +1 -1
  107. package/core/app.js +5 -213
  108. package/dialog/dialog.amd.js +2 -2
  109. package/dialog/dialog.amd.js.map +1 -1
  110. package/dialog/dialog.js +4 -60
  111. package/extra/extra.amd.js +2 -2
  112. package/extra/extra.amd.js.map +1 -1
  113. package/extra/extra.js +73 -69
  114. package/extra/extra.js.map +1 -1
  115. package/forms/forms.amd.js +2 -2
  116. package/forms/forms.amd.js.map +1 -1
  117. package/forms/forms.js +2 -19
  118. package/forms/helpers.amd.js +2 -2
  119. package/forms/helpers.amd.js.map +1 -1
  120. package/forms/helpers.js +0 -2
  121. package/formsExt/formsExt.amd.js +2 -2
  122. package/formsExt/formsExt.amd.js.map +1 -1
  123. package/formsExt/formsExt.js +2 -373
  124. package/icomoon/demo-files/demo.amd.js +2 -0
  125. package/icomoon/demo-files/demo.amd.js.map +1 -0
  126. package/icomoon/demo.amd.js +2 -0
  127. package/icomoon/demo.amd.js.map +1 -0
  128. package/layout/layout.amd.js +2 -2
  129. package/layout/layout.amd.js.map +1 -1
  130. package/layout/layout.js +41 -57
  131. package/layout/layout.js.map +1 -1
  132. package/package.json +1 -1
  133. package/popup/popup.amd.js +2 -2
  134. package/popup/popup.amd.js.map +1 -1
  135. package/popup/popup.js +2 -282
  136. package/popup/worker.amd.js +2 -2
  137. package/popup/worker.amd.js.map +1 -1
  138. package/popup/worker.js +2 -144
  139. package/project/project.amd.js +2 -2
  140. package/project/project.amd.js.map +1 -1
  141. package/project/project.js +1666 -1643
  142. package/project/project.js.map +1 -1
  143. package/src/src/components/project/groupSelector/folders/types.d.ts +1 -1
  144. package/src/src/components/project/groupSelector/folders/utils.d.ts +35 -400
  145. package/src/src/components/project/groupSelector/groupSelector.vue.d.ts +1 -1
  146. package/src/src/components/project/groupSelector/groups/types.d.ts +1 -1
  147. package/src/src/components/project/groupSelector/groups/utils.d.ts +44 -757
  148. package/src/src/components/project/projectSelector/utils.d.ts +40 -39
  149. package/tabs/tabs.amd.js +2 -2
  150. package/tabs/tabs.amd.js.map +1 -1
  151. package/tabs/tabs.js +63 -77
  152. package/tabs/tabs.js.map +1 -1
  153. package/tabsView/tabsView.amd.js +2 -2
  154. package/tabsView/tabsView.amd.js.map +1 -1
  155. package/tabsView/tabsView.js +245 -288
  156. package/tabsView/tabsView.js.map +1 -1
  157. package/utils/check.amd.js +2 -2
  158. package/utils/check.amd.js.map +1 -1
  159. package/utils/check.js +15 -19
  160. package/utils/check.js.map +1 -1
  161. package/utils/clipboard.amd.js +6 -6
  162. package/utils/clipboard.amd.js.map +1 -1
  163. package/utils/clipboard.js +26 -31
  164. package/utils/clipboard.js.map +1 -1
  165. package/utils/date.amd.js +2 -2
  166. package/utils/date.amd.js.map +1 -1
  167. package/utils/date.js +2 -12
  168. package/utils/device.amd.js +2 -2
  169. package/utils/device.amd.js.map +1 -1
  170. package/utils/device.js +2 -15
  171. package/utils/dom.amd.js +2 -2
  172. package/utils/dom.amd.js.map +1 -1
  173. package/utils/dom.js +53 -67
  174. package/utils/dom.js.map +1 -1
  175. package/utils/image.amd.js +3 -3
  176. package/utils/image.amd.js.map +1 -1
  177. package/utils/image.js +12 -22
  178. package/utils/image.js.map +1 -1
  179. package/utils/keyboard.amd.js +2 -2
  180. package/utils/keyboard.amd.js.map +1 -1
  181. package/utils/keyboard.js +10 -11
  182. package/utils/keyboard.js.map +1 -1
  183. package/utils/lodash.amd.js +2 -2
  184. package/utils/lodash.amd.js.map +1 -1
  185. package/utils/lodash.js +2 -9
  186. package/utils/number.amd.js +2 -2
  187. package/utils/number.amd.js.map +1 -1
  188. package/utils/number.js +12 -12
  189. package/utils/number.js.map +1 -1
  190. package/utils/price.amd.js +2 -2
  191. package/utils/price.amd.js.map +1 -1
  192. package/utils/price.js +14 -9
  193. package/utils/price.js.map +1 -1
  194. package/utils/route.amd.js +2 -2
  195. package/utils/route.amd.js.map +1 -1
  196. package/utils/route.js +33 -37
  197. package/utils/route.js.map +1 -1
  198. package/utils/scroll.amd.js +2 -2
  199. package/utils/scroll.amd.js.map +1 -1
  200. package/utils/scroll.js +39 -43
  201. package/utils/scroll.js.map +1 -1
  202. package/utils/searchers.amd.js +2 -2
  203. package/utils/searchers.amd.js.map +1 -1
  204. package/utils/searchers.js +128 -133
  205. package/utils/searchers.js.map +1 -1
  206. package/utils/store.amd.js +2 -2
  207. package/utils/store.amd.js.map +1 -1
  208. package/utils/store.js +2 -7
  209. package/utils/string.amd.js +2 -2
  210. package/utils/string.amd.js.map +1 -1
  211. package/utils/string.js +120 -147
  212. package/utils/string.js.map +1 -1
  213. package/utils/system.amd.js +2 -2
  214. package/utils/system.amd.js.map +1 -1
  215. package/utils/system.js +25 -28
  216. package/utils/system.js.map +1 -1
  217. package/utils/url.amd.js +3 -3
  218. package/utils/url.amd.js.map +1 -1
  219. package/utils/url.js +36 -47
  220. package/utils/url.js.map +1 -1
  221. package/.chunks/core-Dgj_YGWh.es.js +0 -268
  222. package/.chunks/core-Dgj_YGWh.es.js.map +0 -1
  223. package/.chunks/core-DzDFXOdI.amd.js +0 -2
  224. package/.chunks/core-DzDFXOdI.amd.js.map +0 -1
  225. package/.chunks/datepicker-oa8ZwRhq.amd.js +0 -2
  226. package/.chunks/datepicker-oa8ZwRhq.amd.js.map +0 -1
  227. package/.chunks/datepicker-qToxk2nN.es.js +0 -41
  228. package/.chunks/datepicker-qToxk2nN.es.js.map +0 -1
  229. package/.chunks/dialog_regionSelectorRegions-CZ0tMVSq.amd.js +0 -2
  230. package/.chunks/dialog_regionSelectorRegions-CZ0tMVSq.amd.js.map +0 -1
  231. package/.chunks/dialog_regionSelectorRegions-qDW2Ejsv.es.js +0 -180
  232. package/.chunks/dialog_regionSelectorRegions-qDW2Ejsv.es.js.map +0 -1
  233. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BBix_8WK.amd.js +0 -2
  234. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BBix_8WK.amd.js.map +0 -1
  235. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CJ97l1ST.es.js +0 -323
  236. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CJ97l1ST.es.js.map +0 -1
  237. package/.chunks/field-Cvv0SRcJ.amd.js +0 -2
  238. package/.chunks/field-Cvv0SRcJ.amd.js.map +0 -1
  239. package/.chunks/field-CyyFzM-Y.es.js +0 -16
  240. package/.chunks/field-CyyFzM-Y.es.js.map +0 -1
  241. package/.chunks/forms-DDNzqU6o.amd.js +0 -3
  242. package/.chunks/forms-DDNzqU6o.amd.js.map +0 -1
  243. package/.chunks/forms-DtC-EKJL.es.js +0 -2053
  244. package/.chunks/forms-DtC-EKJL.es.js.map +0 -1
  245. package/.chunks/index-DLUtoTUg.amd.js +0 -2
  246. package/.chunks/index-DLUtoTUg.amd.js.map +0 -1
  247. package/.chunks/index-DkQWJkMc.es.js +0 -54
  248. package/.chunks/index-DkQWJkMc.es.js.map +0 -1
  249. package/.chunks/lazy-DDNqYkXn.amd.js +0 -2
  250. package/.chunks/lazy-DDNqYkXn.amd.js.map +0 -1
  251. package/.chunks/lazy-HKSyLh72.es.js +0 -75
  252. package/.chunks/lazy-HKSyLh72.es.js.map +0 -1
  253. package/.chunks/notice-BvQl911b.es.js +0 -191
  254. package/.chunks/notice-BvQl911b.es.js.map +0 -1
  255. package/.chunks/notice-CJ3WOTCM.amd.js +0 -4
  256. package/.chunks/notice-CJ3WOTCM.amd.js.map +0 -1
  257. package/.chunks/page.vue_vue_type_script_setup_true_lang-Dd5-B4Ss.es.js +0 -139
  258. package/.chunks/page.vue_vue_type_script_setup_true_lang-Dd5-B4Ss.es.js.map +0 -1
  259. package/.chunks/page.vue_vue_type_script_setup_true_lang-fl6-Ql4d.amd.js +0 -2
  260. package/.chunks/page.vue_vue_type_script_setup_true_lang-fl6-Ql4d.amd.js.map +0 -1
  261. package/.chunks/policy.vue_vue_type_style_index_0_lang-Bv3LwNDC.es.js +0 -519
  262. package/.chunks/policy.vue_vue_type_style_index_0_lang-Bv3LwNDC.es.js.map +0 -1
  263. package/.chunks/policy.vue_vue_type_style_index_0_lang-Da7rztT5.amd.js +0 -2
  264. package/.chunks/policy.vue_vue_type_style_index_0_lang-Da7rztT5.amd.js.map +0 -1
  265. package/.chunks/popup-OuDglAOF.es.js +0 -470
  266. package/.chunks/popup-OuDglAOF.es.js.map +0 -1
  267. package/.chunks/popup-yXIpyok3.amd.js +0 -2
  268. package/.chunks/popup-yXIpyok3.amd.js.map +0 -1
  269. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-Bu_HvFoW.amd.js +0 -2
  270. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-Bu_HvFoW.amd.js.map +0 -1
  271. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js +0 -209
  272. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js.map +0 -1
  273. package/.chunks/punycode.es6-CNOnFR2-.amd.js +0 -2
  274. package/.chunks/punycode.es6-CNOnFR2-.amd.js.map +0 -1
  275. package/.chunks/punycode.es6-CgGegfA_.es.js +0 -134
  276. package/.chunks/store-CX_6ZXhO.es.js +0 -29
  277. package/.chunks/store-YRW59xEF.amd.js +0 -2
  278. package/.chunks/store-YRW59xEF.amd.js.map +0 -1
  279. package/.chunks/utils-BNzP9anP.es.js +0 -78
  280. package/.chunks/utils-BNzP9anP.es.js.map +0 -1
  281. package/.chunks/utils-CWn_G7OO.amd.js +0 -2
  282. package/.chunks/utils-CWn_G7OO.amd.js.map +0 -1
  283. package/.chunks/utils-DIviuVEw.amd.js +0 -2
  284. package/.chunks/utils-DIviuVEw.amd.js.map +0 -1
  285. package/.chunks/utils-Dma85ehT.es.js +0 -288
  286. package/.chunks/utils-Dma85ehT.es.js.map +0 -1
  287. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CX_BOcVY.es.js +0 -39
  288. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CX_BOcVY.es.js.map +0 -1
  289. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CkOmb3VD.amd.js +0 -2
  290. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CkOmb3VD.amd.js.map +0 -1
  291. package/api/index.js.map +0 -1
  292. package/assets/policy.css +0 -1
  293. package/assets/popupHint.css +0 -1
  294. package/core/app.js.map +0 -1
  295. package/dialog/dialog.js.map +0 -1
  296. package/forms/forms.js.map +0 -1
  297. package/forms/helpers.js.map +0 -1
  298. package/formsExt/formsExt.js.map +0 -1
  299. package/popup/popup.js.map +0 -1
  300. package/popup/worker.js.map +0 -1
  301. package/src/src/components/project/groupSelector/utils.d.ts +0 -37
  302. package/utils/date.js.map +0 -1
  303. package/utils/device.js.map +0 -1
  304. package/utils/lodash.js.map +0 -1
  305. package/utils/store.js.map +0 -1
@@ -0,0 +1,1991 @@
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, getCurrentInstance as c, inject as l, mergeModels as u, mergeProps as d, normalizeClass as f, onUnmounted as p, openBlock as m, reactive as h, ref as g, renderList as _, renderSlot as v, resolveDirective as y, resolveDynamicComponent as ee, toDisplayString as b, unref as te, useCssVars as ne, useModel as re, vModelCheckbox as ie, vModelRadio as ae, vModelSelect as oe, vModelText as se, watch as ce, withCtx as x, withDirectives as S, withKeys as le, withModifiers as ue } from "vue";
2
+ //#region \0@oxc-project+runtime@0.124.0/helpers/typeof.js
3
+ function C(e) {
4
+ "@babel/helpers - typeof";
5
+ return C = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
6
+ return typeof e;
7
+ } : function(e) {
8
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
9
+ }, C(e);
10
+ }
11
+ //#endregion
12
+ //#region \0@oxc-project+runtime@0.124.0/helpers/toPrimitive.js
13
+ function de(e, t) {
14
+ if (C(e) != "object" || !e) return e;
15
+ var n = e[Symbol.toPrimitive];
16
+ if (n !== void 0) {
17
+ var r = n.call(e, t || "default");
18
+ if (C(r) != "object") return r;
19
+ throw TypeError("@@toPrimitive must return a primitive value.");
20
+ }
21
+ return (t === "string" ? String : Number)(e);
22
+ }
23
+ //#endregion
24
+ //#region \0@oxc-project+runtime@0.124.0/helpers/toPropertyKey.js
25
+ function fe(e) {
26
+ var t = de(e, "string");
27
+ return C(t) == "symbol" ? t : t + "";
28
+ }
29
+ //#endregion
30
+ //#region \0@oxc-project+runtime@0.124.0/helpers/defineProperty.js
31
+ function w(e, t, n) {
32
+ return (t = fe(t)) in e ? Object.defineProperty(e, t, {
33
+ value: n,
34
+ enumerable: !0,
35
+ configurable: !0,
36
+ writable: !0
37
+ }) : e[t] = n, e;
38
+ }
39
+ //#endregion
40
+ //#region src/core/utils/device.ts
41
+ function pe() {
42
+ return "devicePixelRatio" in window && window.devicePixelRatio > 1;
43
+ }
44
+ function me() {
45
+ return !!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|IEMobile|Opera Mini/i);
46
+ }
47
+ function he() {
48
+ return navigator.userAgent.indexOf("Topvisor_App") != -1;
49
+ }
50
+ function ge() {
51
+ return navigator.userAgent.indexOf("Mac OS X") !== -1;
52
+ }
53
+ function _e() {
54
+ let e = /Chrome|Android/.test(navigator.userAgent), t = /Safari/.test(navigator.userAgent);
55
+ return e && t && (t = !1), t;
56
+ }
57
+ function ve() {
58
+ return ge() ? "⌘" : "Ctrl";
59
+ }
60
+ var ye = () => $(document).scrollTop(), be = () => $(document), xe = () => [document], Se = () => {
61
+ let e = [
62
+ ["iOS", /(iPhone|iPad)/i],
63
+ ["Android", /(Android)/i],
64
+ ["Windows Phone", /(IEMobile)/i],
65
+ ["Windows 3.11", /Win16/i],
66
+ ["Windows 95", /(Windows 95)|(Win95)|(Windows_95)/i],
67
+ ["Windows 98", /(Windows 98)|(Win98)/i],
68
+ ["Windows 2000", /(Windows NT 5.0)|(Windows 2000)/i],
69
+ ["Windows XP", /(Windows NT 5.1)|(Windows XP)/i],
70
+ ["Windows Server 2003", /(Windows NT 5.2)/i],
71
+ ["Windows Vista", /(Windows NT 6.0)/i],
72
+ ["Windows 7", /(Windows NT 6.1)/i],
73
+ ["Windows 8", /(Windows NT 6.[23])|(Windows 8)/i],
74
+ ["Windows 10", /(Windows NT 10)/i],
75
+ ["Windows NT 4.0", /(Windows NT 4.0)|(WinNT4.0)|(WinNT)|(Windows NT)/i],
76
+ ["Windows ME", /Windows ME/i],
77
+ ["Windows", /Windows/i],
78
+ ["Open BSD", /OpenBSD/i],
79
+ ["Sun OS", /SunOS/i],
80
+ ["Linux", /(Linux)|(X11)/i],
81
+ ["Macintosh", /(Mac_PowerPC)|(Macintosh)|(Mac OS X 10.4)|(Mac OS X 10.5)|(Mac OS X 10.6)/i],
82
+ ["QNX", /QNX/i],
83
+ ["BeOS", /BeOS/i],
84
+ ["OS/2", /OS\/2/i]
85
+ ], t = "";
86
+ for (let n = 0; n < e.length; n++) if (e[n][1].test(navigator.userAgent)) {
87
+ t = e[n][0];
88
+ break;
89
+ }
90
+ return t;
91
+ }, Ce = async () => {
92
+ let e = Se();
93
+ if (e === "Windows 10") {
94
+ let t = await navigator?.userAgentData?.getHighEntropyValues(["platformVersion"]);
95
+ t && t.platformVersion >= "13" && (e = "Windows 11");
96
+ }
97
+ return e;
98
+ };
99
+ //#endregion
100
+ //#region node_modules/lodash-es/isObject.js
101
+ function T(e) {
102
+ var t = typeof e;
103
+ return e != null && (t == "object" || t == "function");
104
+ }
105
+ //#endregion
106
+ //#region node_modules/lodash-es/_freeGlobal.js
107
+ var we = typeof global == "object" && global && global.Object === Object && global, Te = typeof self == "object" && self && self.Object === Object && self, E = we || Te || Function("return this")(), Ee = function() {
108
+ return E.Date.now();
109
+ }, De = /\s/;
110
+ function Oe(e) {
111
+ for (var t = e.length; t-- && De.test(e.charAt(t)););
112
+ return t;
113
+ }
114
+ //#endregion
115
+ //#region node_modules/lodash-es/_baseTrim.js
116
+ var ke = /^\s+/;
117
+ function Ae(e) {
118
+ return e && e.slice(0, Oe(e) + 1).replace(ke, "");
119
+ }
120
+ //#endregion
121
+ //#region node_modules/lodash-es/_Symbol.js
122
+ var D = E.Symbol, je = Object.prototype, Me = je.hasOwnProperty, Ne = je.toString, O = D ? D.toStringTag : void 0;
123
+ function Pe(e) {
124
+ var t = Me.call(e, O), n = e[O];
125
+ try {
126
+ e[O] = void 0;
127
+ var r = !0;
128
+ } catch {}
129
+ var i = Ne.call(e);
130
+ return r && (t ? e[O] = n : delete e[O]), i;
131
+ }
132
+ //#endregion
133
+ //#region node_modules/lodash-es/_objectToString.js
134
+ var Fe = Object.prototype.toString;
135
+ function Ie(e) {
136
+ return Fe.call(e);
137
+ }
138
+ //#endregion
139
+ //#region node_modules/lodash-es/_baseGetTag.js
140
+ var Le = "[object Null]", Re = "[object Undefined]", ze = D ? D.toStringTag : void 0;
141
+ function k(e) {
142
+ return e == null ? e === void 0 ? Re : Le : ze && ze in Object(e) ? Pe(e) : Ie(e);
143
+ }
144
+ //#endregion
145
+ //#region node_modules/lodash-es/isObjectLike.js
146
+ function A(e) {
147
+ return typeof e == "object" && !!e;
148
+ }
149
+ //#endregion
150
+ //#region node_modules/lodash-es/isSymbol.js
151
+ var Be = "[object Symbol]";
152
+ function Ve(e) {
153
+ return typeof e == "symbol" || A(e) && k(e) == Be;
154
+ }
155
+ //#endregion
156
+ //#region node_modules/lodash-es/toNumber.js
157
+ var He = NaN, Ue = /^[-+]0x[0-9a-f]+$/i, We = /^0b[01]+$/i, Ge = /^0o[0-7]+$/i, Ke = parseInt;
158
+ function qe(e) {
159
+ if (typeof e == "number") return e;
160
+ if (Ve(e)) return He;
161
+ if (T(e)) {
162
+ var t = typeof e.valueOf == "function" ? e.valueOf() : e;
163
+ e = T(t) ? t + "" : t;
164
+ }
165
+ if (typeof e != "string") return e === 0 ? e : +e;
166
+ e = Ae(e);
167
+ var n = We.test(e);
168
+ return n || Ge.test(e) ? Ke(e.slice(2), n ? 2 : 8) : Ue.test(e) ? He : +e;
169
+ }
170
+ //#endregion
171
+ //#region node_modules/lodash-es/debounce.js
172
+ var Je = "Expected a function", Ye = Math.max, Xe = Math.min;
173
+ function Ze(e, t, n) {
174
+ var r, i, a, o, s, c, l = 0, u = !1, d = !1, f = !0;
175
+ if (typeof e != "function") throw TypeError(Je);
176
+ t = qe(t) || 0, T(n) && (u = !!n.leading, d = "maxWait" in n, a = d ? Ye(qe(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f);
177
+ function p(t) {
178
+ var n = r, a = i;
179
+ return r = i = void 0, l = t, o = e.apply(a, n), o;
180
+ }
181
+ function m(e) {
182
+ return l = e, s = setTimeout(_, t), u ? p(e) : o;
183
+ }
184
+ function h(e) {
185
+ var n = e - c, r = e - l, i = t - n;
186
+ return d ? Xe(i, a - r) : i;
187
+ }
188
+ function g(e) {
189
+ var n = e - c, r = e - l;
190
+ return c === void 0 || n >= t || n < 0 || d && r >= a;
191
+ }
192
+ function _() {
193
+ var e = Ee();
194
+ if (g(e)) return v(e);
195
+ s = setTimeout(_, h(e));
196
+ }
197
+ function v(e) {
198
+ return s = void 0, f && r ? p(e) : (r = i = void 0, o);
199
+ }
200
+ function y() {
201
+ s !== void 0 && clearTimeout(s), l = 0, r = c = i = s = void 0;
202
+ }
203
+ function ee() {
204
+ return s === void 0 ? o : v(Ee());
205
+ }
206
+ function b() {
207
+ var e = Ee(), n = g(e);
208
+ if (r = arguments, i = this, c = e, n) {
209
+ if (s === void 0) return m(c);
210
+ if (d) return clearTimeout(s), s = setTimeout(_, t), p(c);
211
+ }
212
+ return s === void 0 && (s = setTimeout(_, t)), o;
213
+ }
214
+ return b.cancel = y, b.flush = ee, b;
215
+ }
216
+ //#endregion
217
+ //#region node_modules/lodash-es/_listCacheClear.js
218
+ function Qe() {
219
+ this.__data__ = [], this.size = 0;
220
+ }
221
+ //#endregion
222
+ //#region node_modules/lodash-es/eq.js
223
+ function $e(e, t) {
224
+ return e === t || e !== e && t !== t;
225
+ }
226
+ //#endregion
227
+ //#region node_modules/lodash-es/_assocIndexOf.js
228
+ function et(e, t) {
229
+ for (var n = e.length; n--;) if ($e(e[n][0], t)) return n;
230
+ return -1;
231
+ }
232
+ //#endregion
233
+ //#region node_modules/lodash-es/_listCacheDelete.js
234
+ var tt = Array.prototype.splice;
235
+ function nt(e) {
236
+ var t = this.__data__, n = et(t, e);
237
+ return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : tt.call(t, n, 1), --this.size, !0);
238
+ }
239
+ //#endregion
240
+ //#region node_modules/lodash-es/_listCacheGet.js
241
+ function rt(e) {
242
+ var t = this.__data__, n = et(t, e);
243
+ return n < 0 ? void 0 : t[n][1];
244
+ }
245
+ //#endregion
246
+ //#region node_modules/lodash-es/_listCacheHas.js
247
+ function it(e) {
248
+ return et(this.__data__, e) > -1;
249
+ }
250
+ //#endregion
251
+ //#region node_modules/lodash-es/_listCacheSet.js
252
+ function at(e, t) {
253
+ var n = this.__data__, r = et(n, e);
254
+ return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
255
+ }
256
+ //#endregion
257
+ //#region node_modules/lodash-es/_ListCache.js
258
+ function j(e) {
259
+ var t = -1, n = e == null ? 0 : e.length;
260
+ for (this.clear(); ++t < n;) {
261
+ var r = e[t];
262
+ this.set(r[0], r[1]);
263
+ }
264
+ }
265
+ j.prototype.clear = Qe, j.prototype.delete = nt, j.prototype.get = rt, j.prototype.has = it, j.prototype.set = at;
266
+ //#endregion
267
+ //#region node_modules/lodash-es/_stackClear.js
268
+ function ot() {
269
+ this.__data__ = new j(), this.size = 0;
270
+ }
271
+ //#endregion
272
+ //#region node_modules/lodash-es/_stackDelete.js
273
+ function st(e) {
274
+ var t = this.__data__, n = t.delete(e);
275
+ return this.size = t.size, n;
276
+ }
277
+ //#endregion
278
+ //#region node_modules/lodash-es/_stackGet.js
279
+ function ct(e) {
280
+ return this.__data__.get(e);
281
+ }
282
+ //#endregion
283
+ //#region node_modules/lodash-es/_stackHas.js
284
+ function lt(e) {
285
+ return this.__data__.has(e);
286
+ }
287
+ //#endregion
288
+ //#region node_modules/lodash-es/isFunction.js
289
+ var ut = "[object AsyncFunction]", dt = "[object Function]", ft = "[object GeneratorFunction]", pt = "[object Proxy]";
290
+ function mt(e) {
291
+ if (!T(e)) return !1;
292
+ var t = k(e);
293
+ return t == dt || t == ft || t == ut || t == pt;
294
+ }
295
+ //#endregion
296
+ //#region node_modules/lodash-es/_coreJsData.js
297
+ var ht = E["__core-js_shared__"], gt = function() {
298
+ var e = /[^.]+$/.exec(ht && ht.keys && ht.keys.IE_PROTO || "");
299
+ return e ? "Symbol(src)_1." + e : "";
300
+ }();
301
+ function _t(e) {
302
+ return !!gt && gt in e;
303
+ }
304
+ //#endregion
305
+ //#region node_modules/lodash-es/_toSource.js
306
+ var vt = Function.prototype.toString;
307
+ function M(e) {
308
+ if (e != null) {
309
+ try {
310
+ return vt.call(e);
311
+ } catch {}
312
+ try {
313
+ return e + "";
314
+ } catch {}
315
+ }
316
+ return "";
317
+ }
318
+ //#endregion
319
+ //#region node_modules/lodash-es/_baseIsNative.js
320
+ var yt = /[\\^$.*+?()[\]{}|]/g, bt = /^\[object .+?Constructor\]$/, xt = Function.prototype, St = Object.prototype, Ct = xt.toString, wt = St.hasOwnProperty, Tt = RegExp("^" + Ct.call(wt).replace(yt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
321
+ function Et(e) {
322
+ return !T(e) || _t(e) ? !1 : (mt(e) ? Tt : bt).test(M(e));
323
+ }
324
+ //#endregion
325
+ //#region node_modules/lodash-es/_getValue.js
326
+ function Dt(e, t) {
327
+ return e?.[t];
328
+ }
329
+ //#endregion
330
+ //#region node_modules/lodash-es/_getNative.js
331
+ function N(e, t) {
332
+ var n = Dt(e, t);
333
+ return Et(n) ? n : void 0;
334
+ }
335
+ //#endregion
336
+ //#region node_modules/lodash-es/_Map.js
337
+ var P = N(E, "Map"), F = N(Object, "create");
338
+ //#endregion
339
+ //#region node_modules/lodash-es/_hashClear.js
340
+ function Ot() {
341
+ this.__data__ = F ? F(null) : {}, this.size = 0;
342
+ }
343
+ //#endregion
344
+ //#region node_modules/lodash-es/_hashDelete.js
345
+ function kt(e) {
346
+ var t = this.has(e) && delete this.__data__[e];
347
+ return this.size -= +!!t, t;
348
+ }
349
+ //#endregion
350
+ //#region node_modules/lodash-es/_hashGet.js
351
+ var At = "__lodash_hash_undefined__", jt = Object.prototype.hasOwnProperty;
352
+ function Mt(e) {
353
+ var t = this.__data__;
354
+ if (F) {
355
+ var n = t[e];
356
+ return n === At ? void 0 : n;
357
+ }
358
+ return jt.call(t, e) ? t[e] : void 0;
359
+ }
360
+ //#endregion
361
+ //#region node_modules/lodash-es/_hashHas.js
362
+ var Nt = Object.prototype.hasOwnProperty;
363
+ function Pt(e) {
364
+ var t = this.__data__;
365
+ return F ? t[e] !== void 0 : Nt.call(t, e);
366
+ }
367
+ //#endregion
368
+ //#region node_modules/lodash-es/_hashSet.js
369
+ var Ft = "__lodash_hash_undefined__";
370
+ function It(e, t) {
371
+ var n = this.__data__;
372
+ return this.size += +!this.has(e), n[e] = F && t === void 0 ? Ft : t, this;
373
+ }
374
+ //#endregion
375
+ //#region node_modules/lodash-es/_Hash.js
376
+ function I(e) {
377
+ var t = -1, n = e == null ? 0 : e.length;
378
+ for (this.clear(); ++t < n;) {
379
+ var r = e[t];
380
+ this.set(r[0], r[1]);
381
+ }
382
+ }
383
+ I.prototype.clear = Ot, I.prototype.delete = kt, I.prototype.get = Mt, I.prototype.has = Pt, I.prototype.set = It;
384
+ //#endregion
385
+ //#region node_modules/lodash-es/_mapCacheClear.js
386
+ function Lt() {
387
+ this.size = 0, this.__data__ = {
388
+ hash: new I(),
389
+ map: new (P || j)(),
390
+ string: new I()
391
+ };
392
+ }
393
+ //#endregion
394
+ //#region node_modules/lodash-es/_isKeyable.js
395
+ function Rt(e) {
396
+ var t = typeof e;
397
+ return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
398
+ }
399
+ //#endregion
400
+ //#region node_modules/lodash-es/_getMapData.js
401
+ function L(e, t) {
402
+ var n = e.__data__;
403
+ return Rt(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
404
+ }
405
+ //#endregion
406
+ //#region node_modules/lodash-es/_mapCacheDelete.js
407
+ function zt(e) {
408
+ var t = L(this, e).delete(e);
409
+ return this.size -= +!!t, t;
410
+ }
411
+ //#endregion
412
+ //#region node_modules/lodash-es/_mapCacheGet.js
413
+ function Bt(e) {
414
+ return L(this, e).get(e);
415
+ }
416
+ //#endregion
417
+ //#region node_modules/lodash-es/_mapCacheHas.js
418
+ function Vt(e) {
419
+ return L(this, e).has(e);
420
+ }
421
+ //#endregion
422
+ //#region node_modules/lodash-es/_mapCacheSet.js
423
+ function Ht(e, t) {
424
+ var n = L(this, e), r = n.size;
425
+ return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
426
+ }
427
+ //#endregion
428
+ //#region node_modules/lodash-es/_MapCache.js
429
+ function R(e) {
430
+ var t = -1, n = e == null ? 0 : e.length;
431
+ for (this.clear(); ++t < n;) {
432
+ var r = e[t];
433
+ this.set(r[0], r[1]);
434
+ }
435
+ }
436
+ R.prototype.clear = Lt, R.prototype.delete = zt, R.prototype.get = Bt, R.prototype.has = Vt, R.prototype.set = Ht;
437
+ //#endregion
438
+ //#region node_modules/lodash-es/_stackSet.js
439
+ var Ut = 200;
440
+ function Wt(e, t) {
441
+ var n = this.__data__;
442
+ if (n instanceof j) {
443
+ var r = n.__data__;
444
+ if (!P || r.length < Ut - 1) return r.push([e, t]), this.size = ++n.size, this;
445
+ n = this.__data__ = new R(r);
446
+ }
447
+ return n.set(e, t), this.size = n.size, this;
448
+ }
449
+ //#endregion
450
+ //#region node_modules/lodash-es/_Stack.js
451
+ function z(e) {
452
+ this.size = (this.__data__ = new j(e)).size;
453
+ }
454
+ z.prototype.clear = ot, z.prototype.delete = st, z.prototype.get = ct, z.prototype.has = lt, z.prototype.set = Wt;
455
+ //#endregion
456
+ //#region node_modules/lodash-es/_arrayEach.js
457
+ function Gt(e, t) {
458
+ for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
459
+ return e;
460
+ }
461
+ //#endregion
462
+ //#region node_modules/lodash-es/_defineProperty.js
463
+ var Kt = function() {
464
+ try {
465
+ var e = N(Object, "defineProperty");
466
+ return e({}, "", {}), e;
467
+ } catch {}
468
+ }();
469
+ //#endregion
470
+ //#region node_modules/lodash-es/_baseAssignValue.js
471
+ function qt(e, t, n) {
472
+ t == "__proto__" && Kt ? Kt(e, t, {
473
+ configurable: !0,
474
+ enumerable: !0,
475
+ value: n,
476
+ writable: !0
477
+ }) : e[t] = n;
478
+ }
479
+ //#endregion
480
+ //#region node_modules/lodash-es/_assignValue.js
481
+ var Jt = Object.prototype.hasOwnProperty;
482
+ function Yt(e, t, n) {
483
+ var r = e[t];
484
+ (!(Jt.call(e, t) && $e(r, n)) || n === void 0 && !(t in e)) && qt(e, t, n);
485
+ }
486
+ //#endregion
487
+ //#region node_modules/lodash-es/_copyObject.js
488
+ function B(e, t, n, r) {
489
+ var i = !n;
490
+ n ||= {};
491
+ for (var a = -1, o = t.length; ++a < o;) {
492
+ var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
493
+ c === void 0 && (c = e[s]), i ? qt(n, s, c) : Yt(n, s, c);
494
+ }
495
+ return n;
496
+ }
497
+ //#endregion
498
+ //#region node_modules/lodash-es/_baseTimes.js
499
+ function Xt(e, t) {
500
+ for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
501
+ return r;
502
+ }
503
+ //#endregion
504
+ //#region node_modules/lodash-es/_baseIsArguments.js
505
+ var Zt = "[object Arguments]";
506
+ function Qt(e) {
507
+ return A(e) && k(e) == Zt;
508
+ }
509
+ //#endregion
510
+ //#region node_modules/lodash-es/isArguments.js
511
+ var $t = Object.prototype, en = $t.hasOwnProperty, tn = $t.propertyIsEnumerable, nn = Qt(function() {
512
+ return arguments;
513
+ }()) ? Qt : function(e) {
514
+ return A(e) && en.call(e, "callee") && !tn.call(e, "callee");
515
+ }, V = Array.isArray;
516
+ //#endregion
517
+ //#region node_modules/lodash-es/stubFalse.js
518
+ function rn() {
519
+ return !1;
520
+ }
521
+ //#endregion
522
+ //#region node_modules/lodash-es/isBuffer.js
523
+ var an = typeof exports == "object" && exports && !exports.nodeType && exports, on = an && typeof module == "object" && module && !module.nodeType && module, sn = on && on.exports === an ? E.Buffer : void 0, cn = (sn ? sn.isBuffer : void 0) || rn, ln = 9007199254740991, un = /^(?:0|[1-9]\d*)$/;
524
+ function dn(e, t) {
525
+ var n = typeof e;
526
+ return t ??= ln, !!t && (n == "number" || n != "symbol" && un.test(e)) && e > -1 && e % 1 == 0 && e < t;
527
+ }
528
+ //#endregion
529
+ //#region node_modules/lodash-es/isLength.js
530
+ var fn = 9007199254740991;
531
+ function pn(e) {
532
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= fn;
533
+ }
534
+ //#endregion
535
+ //#region node_modules/lodash-es/_baseIsTypedArray.js
536
+ var mn = "[object Arguments]", hn = "[object Array]", gn = "[object Boolean]", _n = "[object Date]", vn = "[object Error]", yn = "[object Function]", bn = "[object Map]", xn = "[object Number]", Sn = "[object Object]", Cn = "[object RegExp]", wn = "[object Set]", Tn = "[object String]", En = "[object WeakMap]", Dn = "[object ArrayBuffer]", On = "[object DataView]", kn = "[object Float32Array]", An = "[object Float64Array]", jn = "[object Int8Array]", Mn = "[object Int16Array]", Nn = "[object Int32Array]", Pn = "[object Uint8Array]", Fn = "[object Uint8ClampedArray]", In = "[object Uint16Array]", Ln = "[object Uint32Array]", H = {};
537
+ H[kn] = H[An] = H[jn] = H[Mn] = H[Nn] = H[Pn] = H[Fn] = H[In] = H[Ln] = !0, H[mn] = H[hn] = H[Dn] = H[gn] = H[On] = H[_n] = H[vn] = H[yn] = H[bn] = H[xn] = H[Sn] = H[Cn] = H[wn] = H[Tn] = H[En] = !1;
538
+ function Rn(e) {
539
+ return A(e) && pn(e.length) && !!H[k(e)];
540
+ }
541
+ //#endregion
542
+ //#region node_modules/lodash-es/_baseUnary.js
543
+ function zn(e) {
544
+ return function(t) {
545
+ return e(t);
546
+ };
547
+ }
548
+ //#endregion
549
+ //#region node_modules/lodash-es/_nodeUtil.js
550
+ var Bn = typeof exports == "object" && exports && !exports.nodeType && exports, U = Bn && typeof module == "object" && module && !module.nodeType && module, Vn = U && U.exports === Bn && we.process, W = function() {
551
+ try {
552
+ return U && U.require && U.require("util").types || Vn && Vn.binding && Vn.binding("util");
553
+ } catch {}
554
+ }(), Hn = W && W.isTypedArray, Un = Hn ? zn(Hn) : Rn, Wn = Object.prototype.hasOwnProperty;
555
+ function Gn(e, t) {
556
+ var n = V(e), r = !n && nn(e), i = !n && !r && cn(e), a = !n && !r && !i && Un(e), o = n || r || i || a, s = o ? Xt(e.length, String) : [], c = s.length;
557
+ for (var l in e) (t || Wn.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || dn(l, c))) && s.push(l);
558
+ return s;
559
+ }
560
+ //#endregion
561
+ //#region node_modules/lodash-es/_isPrototype.js
562
+ var Kn = Object.prototype;
563
+ function qn(e) {
564
+ var t = e && e.constructor;
565
+ return e === (typeof t == "function" && t.prototype || Kn);
566
+ }
567
+ //#endregion
568
+ //#region node_modules/lodash-es/_overArg.js
569
+ function Jn(e, t) {
570
+ return function(n) {
571
+ return e(t(n));
572
+ };
573
+ }
574
+ //#endregion
575
+ //#region node_modules/lodash-es/_nativeKeys.js
576
+ var Yn = Jn(Object.keys, Object), Xn = Object.prototype.hasOwnProperty;
577
+ function Zn(e) {
578
+ if (!qn(e)) return Yn(e);
579
+ var t = [];
580
+ for (var n in Object(e)) Xn.call(e, n) && n != "constructor" && t.push(n);
581
+ return t;
582
+ }
583
+ //#endregion
584
+ //#region node_modules/lodash-es/isArrayLike.js
585
+ function Qn(e) {
586
+ return e != null && pn(e.length) && !mt(e);
587
+ }
588
+ //#endregion
589
+ //#region node_modules/lodash-es/keys.js
590
+ function $n(e) {
591
+ return Qn(e) ? Gn(e) : Zn(e);
592
+ }
593
+ //#endregion
594
+ //#region node_modules/lodash-es/_baseAssign.js
595
+ function er(e, t) {
596
+ return e && B(t, $n(t), e);
597
+ }
598
+ //#endregion
599
+ //#region node_modules/lodash-es/_nativeKeysIn.js
600
+ function tr(e) {
601
+ var t = [];
602
+ if (e != null) for (var n in Object(e)) t.push(n);
603
+ return t;
604
+ }
605
+ //#endregion
606
+ //#region node_modules/lodash-es/_baseKeysIn.js
607
+ var nr = Object.prototype.hasOwnProperty;
608
+ function rr(e) {
609
+ if (!T(e)) return tr(e);
610
+ var t = qn(e), n = [];
611
+ for (var r in e) r == "constructor" && (t || !nr.call(e, r)) || n.push(r);
612
+ return n;
613
+ }
614
+ //#endregion
615
+ //#region node_modules/lodash-es/keysIn.js
616
+ function G(e) {
617
+ return Qn(e) ? Gn(e, !0) : rr(e);
618
+ }
619
+ //#endregion
620
+ //#region node_modules/lodash-es/_baseAssignIn.js
621
+ function ir(e, t) {
622
+ return e && B(t, G(t), e);
623
+ }
624
+ //#endregion
625
+ //#region node_modules/lodash-es/_cloneBuffer.js
626
+ var ar = typeof exports == "object" && exports && !exports.nodeType && exports, or = ar && typeof module == "object" && module && !module.nodeType && module, sr = or && or.exports === ar ? E.Buffer : void 0, cr = sr ? sr.allocUnsafe : void 0;
627
+ function lr(e, t) {
628
+ if (t) return e.slice();
629
+ var n = e.length, r = cr ? cr(n) : new e.constructor(n);
630
+ return e.copy(r), r;
631
+ }
632
+ //#endregion
633
+ //#region node_modules/lodash-es/_copyArray.js
634
+ function ur(e, t) {
635
+ var n = -1, r = e.length;
636
+ for (t ||= Array(r); ++n < r;) t[n] = e[n];
637
+ return t;
638
+ }
639
+ //#endregion
640
+ //#region node_modules/lodash-es/_arrayFilter.js
641
+ function dr(e, t) {
642
+ for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
643
+ var o = e[n];
644
+ t(o, n, e) && (a[i++] = o);
645
+ }
646
+ return a;
647
+ }
648
+ //#endregion
649
+ //#region node_modules/lodash-es/stubArray.js
650
+ function fr() {
651
+ return [];
652
+ }
653
+ //#endregion
654
+ //#region node_modules/lodash-es/_getSymbols.js
655
+ var pr = Object.prototype.propertyIsEnumerable, mr = Object.getOwnPropertySymbols, hr = mr ? function(e) {
656
+ return e == null ? [] : (e = Object(e), dr(mr(e), function(t) {
657
+ return pr.call(e, t);
658
+ }));
659
+ } : fr;
660
+ //#endregion
661
+ //#region node_modules/lodash-es/_copySymbols.js
662
+ function gr(e, t) {
663
+ return B(e, hr(e), t);
664
+ }
665
+ //#endregion
666
+ //#region node_modules/lodash-es/_arrayPush.js
667
+ function _r(e, t) {
668
+ for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
669
+ return e;
670
+ }
671
+ //#endregion
672
+ //#region node_modules/lodash-es/_getPrototype.js
673
+ var vr = Jn(Object.getPrototypeOf, Object), yr = Object.getOwnPropertySymbols ? function(e) {
674
+ for (var t = []; e;) _r(t, hr(e)), e = vr(e);
675
+ return t;
676
+ } : fr;
677
+ //#endregion
678
+ //#region node_modules/lodash-es/_copySymbolsIn.js
679
+ function br(e, t) {
680
+ return B(e, yr(e), t);
681
+ }
682
+ //#endregion
683
+ //#region node_modules/lodash-es/_baseGetAllKeys.js
684
+ function xr(e, t, n) {
685
+ var r = t(e);
686
+ return V(e) ? r : _r(r, n(e));
687
+ }
688
+ //#endregion
689
+ //#region node_modules/lodash-es/_getAllKeys.js
690
+ function Sr(e) {
691
+ return xr(e, $n, hr);
692
+ }
693
+ //#endregion
694
+ //#region node_modules/lodash-es/_getAllKeysIn.js
695
+ function Cr(e) {
696
+ return xr(e, G, yr);
697
+ }
698
+ //#endregion
699
+ //#region node_modules/lodash-es/_DataView.js
700
+ var wr = N(E, "DataView"), Tr = N(E, "Promise"), Er = N(E, "Set"), Dr = N(E, "WeakMap"), Or = "[object Map]", kr = "[object Object]", Ar = "[object Promise]", jr = "[object Set]", Mr = "[object WeakMap]", Nr = "[object DataView]", Pr = M(wr), Fr = M(P), Ir = M(Tr), Lr = M(Er), Rr = M(Dr), K = k;
701
+ (wr && K(new wr(/* @__PURE__ */ new ArrayBuffer(1))) != Nr || P && K(new P()) != Or || Tr && K(Tr.resolve()) != Ar || Er && K(new Er()) != jr || Dr && K(new Dr()) != Mr) && (K = function(e) {
702
+ var t = k(e), n = t == kr ? e.constructor : void 0, r = n ? M(n) : "";
703
+ if (r) switch (r) {
704
+ case Pr: return Nr;
705
+ case Fr: return Or;
706
+ case Ir: return Ar;
707
+ case Lr: return jr;
708
+ case Rr: return Mr;
709
+ }
710
+ return t;
711
+ });
712
+ var zr = K, Br = Object.prototype.hasOwnProperty;
713
+ function Vr(e) {
714
+ var t = e.length, n = new e.constructor(t);
715
+ return t && typeof e[0] == "string" && Br.call(e, "index") && (n.index = e.index, n.input = e.input), n;
716
+ }
717
+ //#endregion
718
+ //#region node_modules/lodash-es/_Uint8Array.js
719
+ var Hr = E.Uint8Array;
720
+ //#endregion
721
+ //#region node_modules/lodash-es/_cloneArrayBuffer.js
722
+ function Ur(e) {
723
+ var t = new e.constructor(e.byteLength);
724
+ return new Hr(t).set(new Hr(e)), t;
725
+ }
726
+ //#endregion
727
+ //#region node_modules/lodash-es/_cloneDataView.js
728
+ function Wr(e, t) {
729
+ var n = t ? Ur(e.buffer) : e.buffer;
730
+ return new e.constructor(n, e.byteOffset, e.byteLength);
731
+ }
732
+ //#endregion
733
+ //#region node_modules/lodash-es/_cloneRegExp.js
734
+ var Gr = /\w*$/;
735
+ function Kr(e) {
736
+ var t = new e.constructor(e.source, Gr.exec(e));
737
+ return t.lastIndex = e.lastIndex, t;
738
+ }
739
+ //#endregion
740
+ //#region node_modules/lodash-es/_cloneSymbol.js
741
+ var qr = D ? D.prototype : void 0, Jr = qr ? qr.valueOf : void 0;
742
+ function Yr(e) {
743
+ return Jr ? Object(Jr.call(e)) : {};
744
+ }
745
+ //#endregion
746
+ //#region node_modules/lodash-es/_cloneTypedArray.js
747
+ function Xr(e, t) {
748
+ var n = t ? Ur(e.buffer) : e.buffer;
749
+ return new e.constructor(n, e.byteOffset, e.length);
750
+ }
751
+ //#endregion
752
+ //#region node_modules/lodash-es/_initCloneByTag.js
753
+ var Zr = "[object Boolean]", Qr = "[object Date]", $r = "[object Map]", ei = "[object Number]", ti = "[object RegExp]", ni = "[object Set]", ri = "[object String]", ii = "[object Symbol]", ai = "[object ArrayBuffer]", oi = "[object DataView]", si = "[object Float32Array]", ci = "[object Float64Array]", li = "[object Int8Array]", ui = "[object Int16Array]", di = "[object Int32Array]", fi = "[object Uint8Array]", pi = "[object Uint8ClampedArray]", mi = "[object Uint16Array]", hi = "[object Uint32Array]";
754
+ function gi(e, t, n) {
755
+ var r = e.constructor;
756
+ switch (t) {
757
+ case ai: return Ur(e);
758
+ case Zr:
759
+ case Qr: return new r(+e);
760
+ case oi: return Wr(e, n);
761
+ case si:
762
+ case ci:
763
+ case li:
764
+ case ui:
765
+ case di:
766
+ case fi:
767
+ case pi:
768
+ case mi:
769
+ case hi: return Xr(e, n);
770
+ case $r: return new r();
771
+ case ei:
772
+ case ri: return new r(e);
773
+ case ti: return Kr(e);
774
+ case ni: return new r();
775
+ case ii: return Yr(e);
776
+ }
777
+ }
778
+ //#endregion
779
+ //#region node_modules/lodash-es/_baseCreate.js
780
+ var _i = Object.create, vi = function() {
781
+ function e() {}
782
+ return function(t) {
783
+ if (!T(t)) return {};
784
+ if (_i) return _i(t);
785
+ e.prototype = t;
786
+ var n = new e();
787
+ return e.prototype = void 0, n;
788
+ };
789
+ }();
790
+ //#endregion
791
+ //#region node_modules/lodash-es/_initCloneObject.js
792
+ function yi(e) {
793
+ return typeof e.constructor == "function" && !qn(e) ? vi(vr(e)) : {};
794
+ }
795
+ //#endregion
796
+ //#region node_modules/lodash-es/_baseIsMap.js
797
+ var bi = "[object Map]";
798
+ function xi(e) {
799
+ return A(e) && zr(e) == bi;
800
+ }
801
+ //#endregion
802
+ //#region node_modules/lodash-es/isMap.js
803
+ var Si = W && W.isMap, Ci = Si ? zn(Si) : xi, wi = "[object Set]";
804
+ function Ti(e) {
805
+ return A(e) && zr(e) == wi;
806
+ }
807
+ //#endregion
808
+ //#region node_modules/lodash-es/isSet.js
809
+ var Ei = W && W.isSet, Di = Ei ? zn(Ei) : Ti, Oi = 1, ki = 2, Ai = 4, ji = "[object Arguments]", Mi = "[object Array]", Ni = "[object Boolean]", Pi = "[object Date]", Fi = "[object Error]", Ii = "[object Function]", Li = "[object GeneratorFunction]", Ri = "[object Map]", zi = "[object Number]", Bi = "[object Object]", Vi = "[object RegExp]", Hi = "[object Set]", Ui = "[object String]", Wi = "[object Symbol]", Gi = "[object WeakMap]", Ki = "[object ArrayBuffer]", qi = "[object DataView]", Ji = "[object Float32Array]", Yi = "[object Float64Array]", Xi = "[object Int8Array]", Zi = "[object Int16Array]", Qi = "[object Int32Array]", $i = "[object Uint8Array]", ea = "[object Uint8ClampedArray]", ta = "[object Uint16Array]", na = "[object Uint32Array]", q = {};
810
+ q[ji] = q[Mi] = q[Ki] = q[qi] = q[Ni] = q[Pi] = q[Ji] = q[Yi] = q[Xi] = q[Zi] = q[Qi] = q[Ri] = q[zi] = q[Bi] = q[Vi] = q[Hi] = q[Ui] = q[Wi] = q[$i] = q[ea] = q[ta] = q[na] = !0, q[Fi] = q[Ii] = q[Gi] = !1;
811
+ function ra(e, t, n, r, i, a) {
812
+ var o, s = t & Oi, c = t & ki, l = t & Ai;
813
+ if (n && (o = i ? n(e, r, i, a) : n(e)), o !== void 0) return o;
814
+ if (!T(e)) return e;
815
+ var u = V(e);
816
+ if (u) {
817
+ if (o = Vr(e), !s) return ur(e, o);
818
+ } else {
819
+ var d = zr(e), f = d == Ii || d == Li;
820
+ if (cn(e)) return lr(e, s);
821
+ if (d == Bi || d == ji || f && !i) {
822
+ if (o = c || f ? {} : yi(e), !s) return c ? br(e, ir(o, e)) : gr(e, er(o, e));
823
+ } else {
824
+ if (!q[d]) return i ? e : {};
825
+ o = gi(e, d, s);
826
+ }
827
+ }
828
+ a ||= new z();
829
+ var p = a.get(e);
830
+ if (p) return p;
831
+ a.set(e, o), Di(e) ? e.forEach(function(r) {
832
+ o.add(ra(r, t, n, r, e, a));
833
+ }) : Ci(e) && e.forEach(function(r, i) {
834
+ o.set(i, ra(r, t, n, i, e, a));
835
+ });
836
+ var m = u ? void 0 : (l ? c ? Cr : Sr : c ? G : $n)(e);
837
+ return Gt(m || e, function(r, i) {
838
+ m && (i = r, r = e[i]), Yt(o, i, ra(r, t, n, i, e, a));
839
+ }), o;
840
+ }
841
+ //#endregion
842
+ //#region node_modules/lodash-es/cloneDeep.js
843
+ var ia = 1, aa = 4;
844
+ function oa(e) {
845
+ return ra(e, ia | aa);
846
+ }
847
+ //#endregion
848
+ //#region node_modules/lodash-es/memoize.js
849
+ var sa = "Expected a function";
850
+ function ca(e, t) {
851
+ if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(sa);
852
+ var n = function() {
853
+ var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
854
+ if (a.has(i)) return a.get(i);
855
+ var o = e.apply(this, r);
856
+ return n.cache = a.set(i, o) || a, o;
857
+ };
858
+ return n.cache = new (ca.Cache || R)(), n;
859
+ }
860
+ ca.Cache = R;
861
+ //#endregion
862
+ //#region node_modules/lodash-es/throttle.js
863
+ var la = "Expected a function";
864
+ function ua(e, t, n) {
865
+ var r = !0, i = !0;
866
+ if (typeof e != "function") throw TypeError(la);
867
+ return T(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Ze(e, t, {
868
+ leading: r,
869
+ maxWait: t,
870
+ trailing: i
871
+ });
872
+ }
873
+ //#endregion
874
+ //#region node_modules/lodash-es/_assignMergeValue.js
875
+ function da(e, t, n) {
876
+ (n !== void 0 && !$e(e[t], n) || n === void 0 && !(t in e)) && qt(e, t, n);
877
+ }
878
+ //#endregion
879
+ //#region node_modules/lodash-es/_createBaseFor.js
880
+ function fa(e) {
881
+ return function(t, n, r) {
882
+ for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
883
+ var c = o[e ? s : ++i];
884
+ if (n(a[c], c, a) === !1) break;
885
+ }
886
+ return t;
887
+ };
888
+ }
889
+ //#endregion
890
+ //#region node_modules/lodash-es/_baseFor.js
891
+ var pa = fa();
892
+ //#endregion
893
+ //#region node_modules/lodash-es/isArrayLikeObject.js
894
+ function ma(e) {
895
+ return A(e) && Qn(e);
896
+ }
897
+ //#endregion
898
+ //#region node_modules/lodash-es/isPlainObject.js
899
+ var ha = "[object Object]", ga = Function.prototype, _a = Object.prototype, va = ga.toString, ya = _a.hasOwnProperty, ba = va.call(Object);
900
+ function xa(e) {
901
+ if (!A(e) || k(e) != ha) return !1;
902
+ var t = vr(e);
903
+ if (t === null) return !0;
904
+ var n = ya.call(t, "constructor") && t.constructor;
905
+ return typeof n == "function" && n instanceof n && va.call(n) == ba;
906
+ }
907
+ //#endregion
908
+ //#region node_modules/lodash-es/_safeGet.js
909
+ function Sa(e, t) {
910
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
911
+ }
912
+ //#endregion
913
+ //#region node_modules/lodash-es/toPlainObject.js
914
+ function Ca(e) {
915
+ return B(e, G(e));
916
+ }
917
+ //#endregion
918
+ //#region node_modules/lodash-es/_baseMergeDeep.js
919
+ function wa(e, t, n, r, i, a, o) {
920
+ var s = Sa(e, n), c = Sa(t, n), l = o.get(c);
921
+ if (l) {
922
+ da(e, n, l);
923
+ return;
924
+ }
925
+ var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
926
+ if (d) {
927
+ var f = V(c), p = !f && cn(c), m = !f && !p && Un(c);
928
+ u = c, f || p || m ? V(s) ? u = s : ma(s) ? u = ur(s) : p ? (d = !1, u = lr(c, !0)) : m ? (d = !1, u = Xr(c, !0)) : u = [] : xa(c) || nn(c) ? (u = s, nn(s) ? u = Ca(s) : (!T(s) || mt(s)) && (u = yi(c))) : d = !1;
929
+ }
930
+ d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), da(e, n, u);
931
+ }
932
+ //#endregion
933
+ //#region node_modules/lodash-es/_baseMerge.js
934
+ function Ta(e, t, n, r, i) {
935
+ e !== t && pa(t, function(a, o) {
936
+ if (i ||= new z(), T(a)) wa(e, t, o, n, Ta, r, i);
937
+ else {
938
+ var s = r ? r(Sa(e, o), a, o + "", e, t, i) : void 0;
939
+ s === void 0 && (s = a), da(e, o, s);
940
+ }
941
+ }, G);
942
+ }
943
+ //#endregion
944
+ //#region node_modules/lodash-es/identity.js
945
+ function Ea(e) {
946
+ return e;
947
+ }
948
+ //#endregion
949
+ //#region node_modules/lodash-es/_apply.js
950
+ function Da(e, t, n) {
951
+ switch (n.length) {
952
+ case 0: return e.call(t);
953
+ case 1: return e.call(t, n[0]);
954
+ case 2: return e.call(t, n[0], n[1]);
955
+ case 3: return e.call(t, n[0], n[1], n[2]);
956
+ }
957
+ return e.apply(t, n);
958
+ }
959
+ //#endregion
960
+ //#region node_modules/lodash-es/_overRest.js
961
+ var Oa = Math.max;
962
+ function ka(e, t, n) {
963
+ return t = Oa(t === void 0 ? e.length - 1 : t, 0), function() {
964
+ for (var r = arguments, i = -1, a = Oa(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
965
+ i = -1;
966
+ for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
967
+ return s[t] = n(o), Da(e, this, s);
968
+ };
969
+ }
970
+ //#endregion
971
+ //#region node_modules/lodash-es/constant.js
972
+ function Aa(e) {
973
+ return function() {
974
+ return e;
975
+ };
976
+ }
977
+ //#endregion
978
+ //#region node_modules/lodash-es/_baseSetToString.js
979
+ var ja = Kt ? function(e, t) {
980
+ return Kt(e, "toString", {
981
+ configurable: !0,
982
+ enumerable: !1,
983
+ value: Aa(t),
984
+ writable: !0
985
+ });
986
+ } : Ea, Ma = 800, Na = 16, Pa = Date.now;
987
+ function Fa(e) {
988
+ var t = 0, n = 0;
989
+ return function() {
990
+ var r = Pa(), i = Na - (r - n);
991
+ if (n = r, i > 0) {
992
+ if (++t >= Ma) return arguments[0];
993
+ } else t = 0;
994
+ return e.apply(void 0, arguments);
995
+ };
996
+ }
997
+ //#endregion
998
+ //#region node_modules/lodash-es/_setToString.js
999
+ var Ia = Fa(ja);
1000
+ //#endregion
1001
+ //#region node_modules/lodash-es/_baseRest.js
1002
+ function La(e, t) {
1003
+ return Ia(ka(e, t, Ea), e + "");
1004
+ }
1005
+ //#endregion
1006
+ //#region node_modules/lodash-es/_isIterateeCall.js
1007
+ function Ra(e, t, n) {
1008
+ if (!T(n)) return !1;
1009
+ var r = typeof t;
1010
+ return (r == "number" ? Qn(n) && dn(t, n.length) : r == "string" && t in n) ? $e(n[t], e) : !1;
1011
+ }
1012
+ //#endregion
1013
+ //#region node_modules/lodash-es/_createAssigner.js
1014
+ function za(e) {
1015
+ return La(function(t, n) {
1016
+ var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
1017
+ for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && Ra(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
1018
+ var s = n[r];
1019
+ s && e(t, s, r, a);
1020
+ }
1021
+ return t;
1022
+ });
1023
+ }
1024
+ //#endregion
1025
+ //#region node_modules/lodash-es/merge.js
1026
+ var Ba = za(function(e, t, n) {
1027
+ Ta(e, t, n);
1028
+ }), Va = 100, Ha = /* @__PURE__ */ new Map(), Ua = {
1029
+ width: window.innerWidth,
1030
+ height: window.innerHeight
1031
+ }, Wa = (e) => {
1032
+ Ha.set(e, e);
1033
+ }, Ga = (e) => {
1034
+ Ha.delete(e);
1035
+ }, Ka = Ze((e) => {
1036
+ let t = e;
1037
+ t.topEvent = {
1038
+ widthDiff: Ua.width - window.innerWidth,
1039
+ hightDiff: Ua.height - window.innerHeight
1040
+ }, Ua.width = window.innerWidth, Ua.height = window.innerHeight, Ha.forEach((e) => e(t));
1041
+ }, Va);
1042
+ window.addEventListener("resize", Ka);
1043
+ //#endregion
1044
+ //#region src/core/core/events.ts
1045
+ var qa = {
1046
+ addOnReize: Wa,
1047
+ removeOnResize: Ga
1048
+ }, J = {
1049
+ themeName: "light",
1050
+ documentClassModificators: /* @__PURE__ */ new Map(),
1051
+ widthForMobile: 900,
1052
+ dateFormat: "Y-m-d",
1053
+ currency: "USD",
1054
+ timezoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset()
1055
+ }, Ja = {
1056
+ documentClassModificators: J.documentClassModificators,
1057
+ dateFormat: J.dateFormat,
1058
+ currency: J.currency,
1059
+ timezoneOffset: J.timezoneOffset,
1060
+ isMobile: !1,
1061
+ isMobileUA: !1,
1062
+ isRetina: !1,
1063
+ isApp: !1,
1064
+ isLandscape: !0,
1065
+ isPortrait: !1,
1066
+ size: 0,
1067
+ isHidden: !1
1068
+ }, Ya = class {
1069
+ static async TopNotice() {
1070
+ await import("./notice-CslVdVNm.esm.js");
1071
+ }
1072
+ static async TopPopup() {
1073
+ await import("./popup-dNrN-eKi.esm.js");
1074
+ }
1075
+ static async TopDialog() {
1076
+ let { TopDialogWorker: e } = await import("../core/app.js");
1077
+ await e.getDialogsUtils();
1078
+ }
1079
+ }, Y, X = class e {
1080
+ static _setState() {
1081
+ this.$ = $, e.matchMediaIsMobile = window.matchMedia(`(max-width: ${e.widthForMobile}px)`), e.state.isMobileUA = me(), e.state.isRetina = pe(), e.state.isApp = he(), e.useDocumentClassModificators(), e.useIsHidden(), e.setStateByWindowSize(), e.Events.addOnReize(e.onResize), e.onResize(), e.saveToCookie(), e.useCtrlClasses();
1082
+ }
1083
+ static useDocumentClassModificators() {
1084
+ ce(() => [...e.state.documentClassModificators], (e, t) => {
1085
+ let n = /* @__PURE__ */ new Set();
1086
+ t?.forEach(([e, t]) => n.add(t)), e.forEach(([e, t]) => n.delete(t)), n.forEach((e) => document.documentElement.classList.remove(e)), e.forEach(([e, t]) => document.documentElement.classList.add(t));
1087
+ }, { immediate: !0 });
1088
+ }
1089
+ static useIsHidden() {
1090
+ document.addEventListener("visibilitychange", () => {
1091
+ e.state.isHidden = document.hidden;
1092
+ }), e.state.isHidden = document.hidden;
1093
+ }
1094
+ static setStateByWindowSize() {
1095
+ e.state.isMobile = !!e.matchMediaIsMobile?.matches, e.state.isLandscape = window.innerWidth > window.innerHeight, e.state.isPortrait = !e.state.isLandscape, e.state.size = window.innerWidth > window.innerHeight ? window.innerWidth : window.innerHeight, e.saveToCookie();
1096
+ }
1097
+ static onResize() {
1098
+ e.setStateByWindowSize();
1099
+ }
1100
+ static saveToCookie() {
1101
+ let t = [
1102
+ 1,
1103
+ window.innerWidth,
1104
+ window.innerHeight,
1105
+ window.devicePixelRatio,
1106
+ Number(e.state.isMobile),
1107
+ Number(e.state.isRetina)
1108
+ ];
1109
+ document.cookie = "device=" + t.join(",") + "; path=/;";
1110
+ }
1111
+ static useCtrlClasses() {
1112
+ let e = document.body.classList;
1113
+ document.addEventListener("keydown", (t) => {
1114
+ (t.ctrlKey || t.metaKey) && e.add("top-body-press_ctrl"), t.altKey && e.add("top-body-press_alt");
1115
+ }), document.addEventListener("keyup", () => e.remove("top-body-press_ctrl", "top-body-press_alt")), document.addEventListener("keypress", () => e.remove("top-body-press_ctrl", "top-body-press_alt")), window.addEventListener("blur", () => e.remove("top-body-press_ctrl", "top-body-press_alt"));
1116
+ }
1117
+ };
1118
+ Y = X, w(X, "state", h({ ...Ja })), w(X, "preloaders", Ya), w(X, "widthForMobile", J.widthForMobile), w(X, "themeName", J.themeName), w(X, "matchMediaIsMobile", void 0), w(X, "$", $), w(X, "Events", qa), w(X, "flags", h({ needLoadNotice: !1 })), w(X, "notice", async (e, t, n) => (Y.flags.needLoadNotice = !0, (await import("./notice-CslVdVNm.esm.js")).show(e, t, n))), w(X, "insertCSSLinkToPage", (e, t = !1) => {
1119
+ let n = /* @__PURE__ */ new Map();
1120
+ n.set("::", []), e.forEach((e) => {
1121
+ let t = !1, r = !1;
1122
+ e.match(/\.m\./) && (t = !0), e.match(/\.pc\./) && (r = !0);
1123
+ let i = `${t}:${r}`;
1124
+ n.has(i) || n.set(`${t}:${r}`, []), n.get(`${t}:${r}`).push(e);
1125
+ });
1126
+ let r = [];
1127
+ return n.forEach((e, n) => {
1128
+ if (!e.length) return;
1129
+ let [i, a] = n.split(":").map((e) => e === "true"), o = "all";
1130
+ i && (o = "(max-width: " + Y.widthForMobile + "px)"), a && (o = "(min-width: " + Y.widthForMobile + "px)"), Y._insertToPage(e, o, t).forEach((e) => r.push(e));
1131
+ }), Promise.all(r);
1132
+ }), w(X, "_insertToPage", (e, t, n) => {
1133
+ let r = [];
1134
+ return e.forEach((e) => {
1135
+ if (n) {
1136
+ let t = new XMLHttpRequest();
1137
+ t.open("GET", e, !1), t.send();
1138
+ }
1139
+ let i = "topCSSLink-" + e.replace(/\W/g, "-");
1140
+ if (window.hasOwnProperty(i)) return;
1141
+ let a, o, s = new Promise((e, t) => {
1142
+ a = e, o = t;
1143
+ });
1144
+ r.push(s);
1145
+ let c = document.createElement("link");
1146
+ c.id = i, c.rel = "stylesheet", c.media = t, c.href = e, c.onload = () => a(), c.onerror = () => o(), document.head.append(c);
1147
+ }), r;
1148
+ }), w(X, "insertStyleToPage", (e, t = "") => {
1149
+ let n = "all";
1150
+ t === "m" && (n = "(max-width: " + Y.widthForMobile + "px)"), t === "pc" && (n = "(min-width: " + Y.widthForMobile + "px)");
1151
+ let r = document.createElement("style");
1152
+ r.innerHTML = e, r.media = n, document.head.append(r);
1153
+ });
1154
+ //#endregion
1155
+ //#region src/core/plugins/i18n.ts
1156
+ var Xa = { install: (e, t) => {
1157
+ let n = (t, n, r) => {
1158
+ if (!e.config.globalProperties.$i18n[t][n]) return "";
1159
+ let i = e.config.globalProperties.$i18n[t][n] + "";
1160
+ for (let e in r) i = i.replaceAll(RegExp(`{{ ${e} }}`, "g"), String(r[e]));
1161
+ return i;
1162
+ };
1163
+ Object.setPrototypeOf(n, h(t.i18n)), e.config.globalProperties.$i18n = n, e.config.globalProperties.$i18nLang = g(t.lang), e.config.globalProperties.i18n = e.config.globalProperties.$i18n, typeof window < "u" && !window.requirejs && (globalThis.$i18n = e.config.globalProperties.$i18n), e.provide("$i18n", e.config.globalProperties.$i18n), e.provide("$i18nLang", e.config.globalProperties.$i18nLang), e.provide("i18n", e.config.globalProperties.i18n);
1164
+ } }, Z = () => !c() && window.mo?.user?.lang ? requirejs("i18n").categories[mo.user.lang] : !c() && globalThis.$i18n ? globalThis.$i18n : l("$i18n"), Za = () => !c() && window.mo?.user?.lang ? g(mo.user.lang) : l("$i18nLang"), Qa = (e, t, n) => {
1165
+ let r = Z().Calendar;
1166
+ switch (new Date(e, --t, n).getDay()) {
1167
+ case 0: return r.Dw_1 + ".";
1168
+ case 1: return r.Dw_2 + ".";
1169
+ case 2: return r.Dw_3 + ".";
1170
+ case 3: return r.Dw_4 + ".";
1171
+ case 4: return r.Dw_5 + ".";
1172
+ case 5: return r.Dw_6 + ".";
1173
+ case 6: return r.Dw_7 + ".";
1174
+ default: return "";
1175
+ }
1176
+ }, $a = (e, t = !0, n = 2) => {
1177
+ let r = String(e.getFullYear()), i = String(e.getDate()).padStart(2, "0"), a = String(e.getMonth() + 1).padStart(2, "0"), o = String(e.getHours()).padStart(2, "0"), s = String(e.getMinutes()).padStart(2, "0"), c = String(e.getSeconds()).padStart(2, "0"), l = r + "-" + a + "-" + i;
1178
+ return n >= 1 && (l += " " + o), n >= 2 && (l += ":" + s), n === 3 && (l += ":" + c), t && (l = Q(l, n)), l;
1179
+ };
1180
+ function eo(e) {
1181
+ if (e.indexOf("T") === -1) {
1182
+ e.length == 10 && (e += " 00:00:00");
1183
+ let t = X.state.timezoneOffset >= 0 ? "-" : "+", n = Math.abs(X.state.timezoneOffset) / 60, r;
1184
+ if (Number.isInteger(n)) r = t + n.toString().padStart(2, "0") + ":00";
1185
+ else {
1186
+ let e = Math.floor(n), i = Math.round((n - e) * 60);
1187
+ r = t + e.toString().padStart(2, "0") + ":" + i.toString().padStart(2, "0");
1188
+ }
1189
+ e = e.replace(" ", "T") + r;
1190
+ }
1191
+ return new Date(e);
1192
+ }
1193
+ var to = (e = (/* @__PURE__ */ new Date()).getTime(), t = !0, n = 0) => no(e, t, n, X.state.timezoneOffset);
1194
+ function no(e = (/* @__PURE__ */ new Date()).getTime(), t = !0, n = 0, r) {
1195
+ let i = r ? e + (/* @__PURE__ */ new Date()).getTimezoneOffset() * 60 * 1e3 - r * 60 * 1e3 : e, a = new Date(i), o = a.getFullYear(), s = String(a.getMonth() + 1).padStart(2, "0"), c = a.getDate().toString().padStart(2, "0"), l = a.getHours().toString().padStart(2, "0"), u = a.getMinutes().toString().padStart(2, "0"), d = a.getSeconds().toString().padStart(2, "0");
1196
+ n === "auto" && (n = 0, a.getHours() && (n = 1), a.getMinutes() && (n = 2), a.getSeconds() && (n = 3));
1197
+ let f = o + "-" + s + "-" + c;
1198
+ return n && (f += " "), n >= 1 && (f += l), n >= 2 && (f += ":" + u), n >= 3 && (f += ":" + d), t && (f = Q(r ? f : a, n)), f;
1199
+ }
1200
+ function ro(e, t = !0) {
1201
+ let n = (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60 * -1 * 60 * 60 * 1e3, r;
1202
+ r = e === void 0 ? /* @__PURE__ */ new Date() : new Date(e), r.setTime(r.getTime() - n + 108e5);
1203
+ let i = String(r.getFullYear()), a = String(r.getDate()).padStart(2, "0"), o = String(r.getMonth() + 1).padStart(2, "0"), s = String(r.getHours()).padStart(2, "0"), c = String(r.getMinutes()).padStart(2, "0"), l = String(r.getSeconds()).padStart(2, "0"), u = i + "-" + o + "-" + a + " " + s + ":" + c + ":" + l;
1204
+ return t && (u = Q(u)), u;
1205
+ }
1206
+ function Q(e, t = 2, n, r) {
1207
+ if (r ||= Z().Common.Not_date, typeof e == "string" && (!e || e.substring(0, 10) === "0000-00-00") && r && r !== "0000-00-00" || !e) return r;
1208
+ n ||= X.state.dateFormat, n = n.toLowerCase().replace("m", "mm").replace("y", "yy").replace("d", "dd");
1209
+ let i;
1210
+ if (e instanceof Date) i = e;
1211
+ else {
1212
+ let t = e.substring(0, 10);
1213
+ if (t.length === 7 && (t += "-01"), t += " 00:00", t = t.replace(/-/g, "/"), i = new Date(t), isNaN(Number(i))) return r;
1214
+ }
1215
+ let a = "";
1216
+ if (n) {
1217
+ let e = String(i.getDate()).padStart(2, "0"), t = String(i.getMonth() + 1).padStart(2, "0"), r = String(i.getFullYear());
1218
+ a = n.replace("dd", e).replace("mm", t).replace("yy", r);
1219
+ }
1220
+ if (t && typeof e == "string" && e.length > 10 || t && e instanceof Date) {
1221
+ let n = "";
1222
+ if (e instanceof Date) n = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", {
1223
+ hour12: !1,
1224
+ hour: "numeric",
1225
+ minute: t >= 2 ? "numeric" : void 0,
1226
+ second: t >= 3 ? "numeric" : void 0
1227
+ });
1228
+ else switch (t) {
1229
+ case 1:
1230
+ n = e.substring(11, 13);
1231
+ break;
1232
+ case 2:
1233
+ n = e.substring(11, 16);
1234
+ break;
1235
+ case 3:
1236
+ n = e.substring(11, 19);
1237
+ break;
1238
+ }
1239
+ a += " " + n;
1240
+ }
1241
+ return a = a.trim(), a;
1242
+ }
1243
+ function io(e, t) {
1244
+ if (t ||= Z().Common.Not_date, !e) return t;
1245
+ if (e.match(/\d\d\d\d-\d\d-\d\d/)) return e;
1246
+ let n = X.state.dateFormat.toLowerCase(), r = e.split(/\W/), i = n.split(/\W/), a = "", o = "", s = "";
1247
+ i.forEach((e, t) => {
1248
+ switch (e) {
1249
+ case "d":
1250
+ a = r[t];
1251
+ break;
1252
+ case "m":
1253
+ o = r[t];
1254
+ break;
1255
+ case "y":
1256
+ s = r[t];
1257
+ break;
1258
+ }
1259
+ });
1260
+ let c = s + "-" + o + "-" + a;
1261
+ return c.match(/\d\d\d\d-\d\d-\d\d/) || (console.info("Неверный формат даты, будет возращена текущая дата, " + c), c = no((/* @__PURE__ */ new Date()).getTime(), !1).substring(0, 10)), c;
1262
+ }
1263
+ //#endregion
1264
+ //#region src/components/forms/avatar/avatar.vue?vue&type=script&setup=true&lang.ts
1265
+ var ao = { class: "top-avatar" }, oo = ["src", "title"], so = ["title"], co = /* @__PURE__ */ s({
1266
+ __name: "avatar",
1267
+ props: {
1268
+ size: { default: 64 },
1269
+ image: {},
1270
+ nickname: {},
1271
+ isOnline: { type: Boolean },
1272
+ lastActiveTime: {},
1273
+ i18n: { default: () => ({
1274
+ Online: "Online",
1275
+ LastSeen: "Last seen"
1276
+ }) }
1277
+ },
1278
+ setup(e) {
1279
+ ne((e) => ({ v52a765e6: e.size + "px" }));
1280
+ let n = e, o = t(() => {
1281
+ if (n.isOnline) return n.i18n?.Online;
1282
+ if (n.lastActiveTime) return n.i18n?.LastSeen + ": " + Q(n.lastActiveTime, 2);
1283
+ }), s = t(() => n.nickname ? n.nickname + (o.value ? `\n${o.value}` : "") : o.value);
1284
+ return (t, n) => (m(), i("div", ao, [a("img", {
1285
+ class: "top-avatar_image",
1286
+ src: e.image,
1287
+ title: s.value,
1288
+ alt: ""
1289
+ }, null, 8, oo), e.isOnline ? (m(), i("div", {
1290
+ key: 0,
1291
+ class: "top-avatar_status",
1292
+ title: o.value
1293
+ }, null, 8, so)) : r("", !0)]));
1294
+ }
1295
+ }), lo = ["data-top-badge"], uo = {
1296
+ key: 1,
1297
+ class: "top-ellipsis"
1298
+ }, fo = /* @__PURE__ */ s({
1299
+ __name: "button",
1300
+ props: {
1301
+ color: { default: "blue" },
1302
+ styling: { default: "" },
1303
+ size: { default: "s" },
1304
+ name: {},
1305
+ title: {},
1306
+ icon: {},
1307
+ icon2: {},
1308
+ href: {},
1309
+ badgeNumber: {},
1310
+ badgePosAfterText: { type: Boolean },
1311
+ disabled: { type: Boolean },
1312
+ isSubmit: { type: Boolean },
1313
+ isActive: { type: Boolean },
1314
+ isProgress: { type: Boolean },
1315
+ autoWidth: { type: Boolean }
1316
+ },
1317
+ setup(e) {
1318
+ let a = e, s = t(() => a.href ? "a" : "button"), c = t(() => a.isSubmit ? "submit" : void 0);
1319
+ return (t, a) => (m(), n(ee(s.value), {
1320
+ class: f({
1321
+ "top-active": e.isActive,
1322
+ "top-disabled": e.disabled,
1323
+ "top-forms-focusable": !e.disabled,
1324
+ "top-button": !0,
1325
+ "top-button-progress": e.isProgress,
1326
+ [`top-size_${e.size}`]: !!e.size,
1327
+ [`top-color_${e.color}`]: !0,
1328
+ [`top-style_${e.styling}`]: !!e.styling,
1329
+ "top-button-autoWidth": e.autoWidth,
1330
+ "top-button-withoutText": !t.$slots.default
1331
+ }),
1332
+ name: e.name,
1333
+ title: e.title,
1334
+ href: e.href,
1335
+ type: c.value,
1336
+ "data-top-icon": e.icon || void 0,
1337
+ "data-top-icon2": e.icon2 || void 0,
1338
+ disabled: e.disabled || void 0,
1339
+ inProgress: e.isProgress
1340
+ }, {
1341
+ default: x(() => [
1342
+ e.badgeNumber ? (m(), i("span", {
1343
+ key: 0,
1344
+ "data-top-badge": e.badgeNumber,
1345
+ class: f(["top-button_badge", { "top-button_badge-afterText": e.badgePosAfterText }])
1346
+ }, null, 10, lo)) : r("", !0),
1347
+ t.$slots.default ? (m(), i("span", uo, [v(t.$slots, "default", {}, () => [o(b(e.icon ? "" : "Button"), 1)])])) : r("", !0),
1348
+ v(t.$slots, "html")
1349
+ ]),
1350
+ _: 3
1351
+ }, 8, [
1352
+ "class",
1353
+ "name",
1354
+ "title",
1355
+ "href",
1356
+ "type",
1357
+ "data-top-icon",
1358
+ "data-top-icon2",
1359
+ "disabled",
1360
+ "inProgress"
1361
+ ]));
1362
+ }
1363
+ }), po = { class: "top-caption" }, ho = { class: "top-caption_text" }, go = /* @__PURE__ */ s({
1364
+ __name: "caption",
1365
+ props: { text: {} },
1366
+ setup(e) {
1367
+ return (t, n) => (m(), i("label", po, [a("div", ho, [v(t.$slots, "text", {}, () => [o(b(e.text ? e.text : "\xA0"), 1)])]), v(t.$slots, "default")]));
1368
+ }
1369
+ }), _o = { class: "top-forms-optionLabel" }, vo = /* @__PURE__ */ s({
1370
+ __name: "controlLabel",
1371
+ props: {
1372
+ description: {},
1373
+ disabled: { type: Boolean }
1374
+ },
1375
+ setup(e) {
1376
+ return (t, n) => (m(), i("div", _o, [a("div", { class: f({
1377
+ "top-forms-optionLabel_title": !0,
1378
+ "top-forms-optionLabel_title-disabled": e.disabled
1379
+ }) }, [v(t.$slots, "default")], 2), e.description ? (m(), i("div", {
1380
+ key: 0,
1381
+ class: f(["top-forms-optionLabel_description", { "top-forms-optionLabel_description-disabled": e.disabled }])
1382
+ }, b(e.description), 3)) : r("", !0)]));
1383
+ }
1384
+ }), yo = [
1385
+ "name",
1386
+ "value",
1387
+ "indeterminate",
1388
+ "disabled"
1389
+ ], bo = /* @__PURE__ */ s({
1390
+ __name: "checkbox",
1391
+ props: /* @__PURE__ */ u({
1392
+ modelValue: { type: [
1393
+ Boolean,
1394
+ Array,
1395
+ Set
1396
+ ] },
1397
+ name: {},
1398
+ value: {},
1399
+ description: {},
1400
+ disabled: { type: Boolean },
1401
+ indeterminate: { type: Boolean },
1402
+ isError: { type: Boolean }
1403
+ }, {
1404
+ modelValue: { type: [
1405
+ Boolean,
1406
+ Array,
1407
+ Set
1408
+ ] },
1409
+ modelModifiers: {}
1410
+ }),
1411
+ emits: ["update:modelValue"],
1412
+ setup(e) {
1413
+ let t = re(e, "modelValue");
1414
+ return (o, s) => {
1415
+ let c = y("top-focus");
1416
+ return m(), i("label", { class: f({
1417
+ "top-forms-optionWrapper": !0,
1418
+ "top-checkbox": !0,
1419
+ ["top-checkbox_" + e.name]: !!e.name,
1420
+ "top-disabled": e.disabled,
1421
+ "top-error": e.isError && !e.disabled
1422
+ }) }, [S(a("input", {
1423
+ type: "checkbox",
1424
+ class: f({
1425
+ "top-forms-focusable": !e.disabled,
1426
+ "top-forms-option": !0,
1427
+ "top-checkbox_input": !0,
1428
+ "top-error": e.isError && !e.disabled
1429
+ }),
1430
+ name: e.name,
1431
+ "onUpdate:modelValue": s[0] ||= (e) => t.value = e,
1432
+ value: e.value,
1433
+ indeterminate: e.indeterminate,
1434
+ disabled: e.disabled
1435
+ }, null, 10, yo), [[
1436
+ c,
1437
+ e.isError,
1438
+ void 0,
1439
+ { onupdate: !0 }
1440
+ ], [ie, t.value]]), o.$slots.default ? (m(), n(vo, {
1441
+ key: 0,
1442
+ description: e.description,
1443
+ disabled: e.disabled
1444
+ }, {
1445
+ default: x(() => [v(o.$slots, "default")]),
1446
+ _: 3
1447
+ }, 8, ["description", "disabled"])) : r("", !0)], 2);
1448
+ };
1449
+ }
1450
+ }), xo = ["title"], So = /* @__PURE__ */ s({
1451
+ __name: "hint",
1452
+ props: { hint: {} },
1453
+ setup(e) {
1454
+ return (t, n) => (m(), i("span", {
1455
+ class: "top-hint",
1456
+ "data-top-icon": "",
1457
+ title: e.hint
1458
+ }, null, 8, xo));
1459
+ }
1460
+ }), Co = (e, t) => {
1461
+ let n = e.__vccOpts || e;
1462
+ for (let [e, r] of t) n[e] = r;
1463
+ return n;
1464
+ }, wo = {}, To = { class: "top-loadbar" };
1465
+ function Eo(e, t) {
1466
+ return m(), i("div", To);
1467
+ }
1468
+ var Do = /* @__PURE__ */ Co(wo, [["render", Eo]]), Oo = ["data-top-icon", "data-top-icon2"], ko = [
1469
+ "name",
1470
+ "title",
1471
+ "placeholder",
1472
+ "disabled",
1473
+ "readonly",
1474
+ "data-1p-ignore"
1475
+ ], Ao = {
1476
+ key: 2,
1477
+ class: "top-formsCaption"
1478
+ }, jo = /* @__PURE__ */ s({
1479
+ inheritAttrs: !1,
1480
+ __name: "input",
1481
+ props: {
1482
+ modelValue: {},
1483
+ name: {},
1484
+ disabled: { type: Boolean },
1485
+ readonly: { type: Boolean },
1486
+ modificator: {},
1487
+ size: { default: "s" },
1488
+ styling: { default: "" },
1489
+ isError: { type: Boolean },
1490
+ isLoading: { type: Boolean },
1491
+ icon: {},
1492
+ icon2: {},
1493
+ addCleaner: { type: Boolean },
1494
+ title: {},
1495
+ captionType: { default: "" }
1496
+ },
1497
+ emits: ["update:modelValue"],
1498
+ setup(s, { emit: c }) {
1499
+ let l = s, u = c, p = t({
1500
+ get() {
1501
+ return l.modelValue;
1502
+ },
1503
+ set(e) {
1504
+ u("update:modelValue", e);
1505
+ }
1506
+ }), h = t(() => l.addCleaner && !l.title || l.captionType !== "" ? "" : l.title), g = (e) => {
1507
+ l.modelValue && e.stopPropagation(), u("update:modelValue", "");
1508
+ };
1509
+ return (t, c) => {
1510
+ let l = y("top-focus");
1511
+ return m(), i("label", {
1512
+ class: f({
1513
+ "top-input": !0,
1514
+ ["top-size_" + s.size]: !0,
1515
+ "top-disabled": s.disabled,
1516
+ ["top-input-" + s.modificator]: !!s.modificator,
1517
+ "top-input-withCleaner": s.addCleaner && p.value && p.value !== "0000-00-00",
1518
+ "top-formsCaptionWrapper": s.captionType !== "",
1519
+ "top-formsCaptionWrapper-always": s.captionType === "top"
1520
+ }),
1521
+ "data-top-icon": s.icon,
1522
+ "data-top-icon2": s.icon2
1523
+ }, [
1524
+ s.isLoading ? (m(), n(Do, { key: 0 })) : r("", !0),
1525
+ S(a("input", d({
1526
+ type: "text",
1527
+ class: {
1528
+ "top-input_input": !0,
1529
+ ["top-input_input-" + s.modificator]: !!s.modificator,
1530
+ "top-forms-focusable": !s.disabled,
1531
+ "top-error": s.isError,
1532
+ [`top-style_${s.styling}`]: !!s.styling
1533
+ },
1534
+ autocomplete: "off_always",
1535
+ name: s.name,
1536
+ "onUpdate:modelValue": c[0] ||= (e) => p.value = e,
1537
+ title: s.title,
1538
+ placeholder: h.value,
1539
+ disabled: s.disabled,
1540
+ readonly: s.readonly,
1541
+ onKeydown: c[1] ||= le((e) => s.addCleaner && g(e), ["esc"]),
1542
+ "data-1p-ignore": t.$attrs.type !== "email" && t.$attrs.type !== "password"
1543
+ }, t.$attrs), null, 16, ko), [[
1544
+ l,
1545
+ s.isError,
1546
+ void 0,
1547
+ { onupdate: !0 }
1548
+ ], [se, p.value]]),
1549
+ s.addCleaner && p.value && p.value !== "0000-00-00" ? (m(), i("span", {
1550
+ key: 1,
1551
+ class: "top-input_cleaner",
1552
+ "data-top-icon": "",
1553
+ onClick: ue(g, ["prevent"])
1554
+ })) : r("", !0),
1555
+ s.captionType === "" ? r("", !0) : (m(), i("span", Ao, [s.captionType === "top" ? v(t.$slots, "caption", { key: 0 }, () => [o(b(s.title), 1)]) : (m(), i(e, { key: 1 }, [o(b(s.title), 1)], 64))])),
1556
+ v(t.$slots, "default")
1557
+ ], 10, Oo);
1558
+ };
1559
+ }
1560
+ }), Mo = ["value"], No = !!document.documentElement.ontouchstart && !!document.createElement("input").showPicker, Po = (e) => {}, Fo = /* @__PURE__ */ s({
1561
+ __name: "inputDate",
1562
+ props: {
1563
+ modelValue: {},
1564
+ name: {},
1565
+ disabled: { type: Boolean },
1566
+ readonly: { type: Boolean },
1567
+ modificator: {},
1568
+ size: {},
1569
+ styling: {},
1570
+ isError: { type: Boolean },
1571
+ isLoading: { type: Boolean },
1572
+ icon: {},
1573
+ icon2: { default: "" },
1574
+ addCleaner: { type: Boolean },
1575
+ title: {},
1576
+ captionType: {}
1577
+ },
1578
+ emits: ["update:modelValue"],
1579
+ setup(e, { emit: r }) {
1580
+ let i = Z(), o = e, s = r;
1581
+ p(() => {
1582
+ l && l.datepicker("destroy");
1583
+ });
1584
+ let c = g(), l, u = t({
1585
+ get() {
1586
+ return Q(o.modelValue, 2, void 0, "0000-00-00");
1587
+ },
1588
+ set(e) {
1589
+ e = io(e, "0000-00-00"), s("update:modelValue", e);
1590
+ }
1591
+ }), f = (e) => {
1592
+ Po(e);
1593
+ }, h = (e) => {
1594
+ let t = Q(io(e.target.value));
1595
+ if (!t || t === i.Common.Not_date || e.target.value !== t) {
1596
+ e.target.value = u.value;
1597
+ return;
1598
+ }
1599
+ u.value = e.target.value;
1600
+ };
1601
+ async function _(e) {
1602
+ let t = await import("./datepicker-BTkZOq7d.esm.js");
1603
+ Po = t.oninput, l = t.connectDatepicker(e.target, { onSelect: () => h(e) }), l && l.datepicker("show");
1604
+ }
1605
+ return (t, r) => te(No) ? (m(), n(jo, d({ key: 0 }, t.$props, {
1606
+ modelValue: u.value,
1607
+ readonly: "",
1608
+ onClick: r[1] ||= (e) => c.value.showPicker()
1609
+ }), {
1610
+ default: x(() => [a("input", {
1611
+ ref_key: "el",
1612
+ ref: c,
1613
+ type: "date",
1614
+ class: "top-input_input-date",
1615
+ value: e.modelValue,
1616
+ onChange: r[0] ||= (e) => u.value = e.target.value,
1617
+ tabindex: "-1"
1618
+ }, null, 40, Mo)]),
1619
+ _: 1
1620
+ }, 16, ["modelValue"])) : (m(), n(jo, d({ key: 1 }, t.$props, {
1621
+ modelValue: u.value,
1622
+ "onUpdate:modelValue": r[2] ||= (e) => e === "" ? u.value = "" : "",
1623
+ onInput: te(f),
1624
+ onFocusOnce: _,
1625
+ onChange: te(h),
1626
+ modificator: "datepicker"
1627
+ }), null, 16, [
1628
+ "modelValue",
1629
+ "onInput",
1630
+ "onChange"
1631
+ ]));
1632
+ }
1633
+ }), Io = { class: "top-inputRange" }, Lo = /* @__PURE__ */ s({
1634
+ __name: "inputRange",
1635
+ setup(e) {
1636
+ return (e, t) => (m(), i("div", Io, [
1637
+ v(e.$slots, "from"),
1638
+ t[0] ||= a("span", { class: "top-inputRange_dash" }, " — ", -1),
1639
+ v(e.$slots, "to")
1640
+ ]));
1641
+ }
1642
+ }), Ro = [
1643
+ "name",
1644
+ "value",
1645
+ "disabled"
1646
+ ], zo = /* @__PURE__ */ s({
1647
+ __name: "radio",
1648
+ props: {
1649
+ modelValue: {},
1650
+ value: {},
1651
+ name: {},
1652
+ description: {},
1653
+ disabled: { type: Boolean },
1654
+ isError: { type: Boolean }
1655
+ },
1656
+ emits: ["update:modelValue"],
1657
+ setup(e, { emit: o }) {
1658
+ let s = e, c = o, l = t({
1659
+ get() {
1660
+ return s.modelValue;
1661
+ },
1662
+ set(e) {
1663
+ c("update:modelValue", e);
1664
+ }
1665
+ });
1666
+ return (t, o) => {
1667
+ let s = y("top-focus");
1668
+ return m(), i("label", { class: f({
1669
+ "top-forms-optionWrapper": !0,
1670
+ "top-radio": !0,
1671
+ ["top-radio_" + e.name]: e.name !== "",
1672
+ "top-disabled": e.disabled,
1673
+ "top-error": e.isError && !e.disabled
1674
+ }) }, [S(a("input", {
1675
+ type: "radio",
1676
+ class: f({
1677
+ "top-forms-focusable": !e.disabled,
1678
+ "top-forms-option": !0,
1679
+ "top-radio_input": !0,
1680
+ "top-error": e.isError && !e.disabled
1681
+ }),
1682
+ "onUpdate:modelValue": o[0] ||= (e) => l.value = e,
1683
+ name: e.name,
1684
+ value: e.value,
1685
+ disabled: e.disabled
1686
+ }, null, 10, Ro), [[
1687
+ s,
1688
+ e.isError,
1689
+ void 0,
1690
+ { onupdate: !0 }
1691
+ ], [ae, l.value]]), t.$slots.default ? (m(), n(vo, {
1692
+ key: 0,
1693
+ description: e.description,
1694
+ disabled: e.disabled
1695
+ }, {
1696
+ default: x(() => [v(t.$slots, "default")]),
1697
+ _: 3
1698
+ }, 8, ["description", "disabled"])) : r("", !0)], 2);
1699
+ };
1700
+ }
1701
+ }), Bo = [
1702
+ "name",
1703
+ "value",
1704
+ "disabled"
1705
+ ], Vo = /* @__PURE__ */ s({
1706
+ __name: "switcher",
1707
+ props: {
1708
+ modelValue: { type: [
1709
+ Boolean,
1710
+ Array,
1711
+ Set
1712
+ ] },
1713
+ name: {},
1714
+ value: {},
1715
+ description: {},
1716
+ disabled: { type: Boolean },
1717
+ isError: { type: Boolean }
1718
+ },
1719
+ emits: ["update:modelValue"],
1720
+ setup(e, { emit: o }) {
1721
+ let s = e, c = o, l = t({
1722
+ get() {
1723
+ return s.modelValue;
1724
+ },
1725
+ set(e) {
1726
+ c("update:modelValue", e);
1727
+ }
1728
+ });
1729
+ return (t, o) => {
1730
+ let s = y("top-focus");
1731
+ return m(), i("label", { class: f({
1732
+ "top-forms-optionWrapper": !0,
1733
+ "top-checkboxSwitcher": !0,
1734
+ "top-disabled": e.disabled,
1735
+ "top-error": e.isError && !e.disabled
1736
+ }) }, [S(a("input", {
1737
+ type: "checkbox",
1738
+ class: f({
1739
+ "top-forms-focusable": !e.disabled,
1740
+ "top-forms-option": !0,
1741
+ "top-checkboxSwitcher_input": !0,
1742
+ "top-error": e.isError && !e.disabled
1743
+ }),
1744
+ "onUpdate:modelValue": o[0] ||= (e) => l.value = e,
1745
+ name: e.name,
1746
+ value: e.value,
1747
+ disabled: e.disabled
1748
+ }, null, 10, Bo), [[
1749
+ s,
1750
+ e.isError,
1751
+ void 0,
1752
+ { onupdate: !0 }
1753
+ ], [ie, l.value]]), t.$slots.default ? (m(), n(vo, {
1754
+ key: 0,
1755
+ description: e.description,
1756
+ disabled: e.disabled
1757
+ }, {
1758
+ default: x(() => [v(t.$slots, "default")]),
1759
+ _: 3
1760
+ }, 8, ["description", "disabled"])) : r("", !0)], 2);
1761
+ };
1762
+ }
1763
+ }), Ho = [
1764
+ "name",
1765
+ "placeholder",
1766
+ "disabled",
1767
+ "readonly",
1768
+ "rows",
1769
+ "maxlength"
1770
+ ], Uo = {
1771
+ key: 0,
1772
+ class: "top-textarea_pseudoContent"
1773
+ }, Wo = /* @__PURE__ */ s({
1774
+ inheritAttrs: !1,
1775
+ __name: "textarea",
1776
+ props: {
1777
+ modelValue: {},
1778
+ name: {},
1779
+ placeholder: {},
1780
+ styling: { default: "" },
1781
+ rows: { default: 5 },
1782
+ minHeight: { default: 120 },
1783
+ expandable: { type: Boolean },
1784
+ disabled: { type: Boolean },
1785
+ readonly: { type: Boolean },
1786
+ isError: { type: Boolean },
1787
+ hint: {},
1788
+ maxLength: {}
1789
+ },
1790
+ emits: ["update:modelValue"],
1791
+ setup(e, { emit: o }) {
1792
+ ne((e) => ({ v7e3a2156: e.minHeight + "px" }));
1793
+ let s = e, c = o, l = t({
1794
+ get() {
1795
+ return s.modelValue;
1796
+ },
1797
+ set(e) {
1798
+ c("update:modelValue", e);
1799
+ }
1800
+ });
1801
+ return (t, o) => {
1802
+ let s = y("top-focus"), c = y("top-tooltip");
1803
+ return m(), i("label", { class: f({
1804
+ "top-textarea": !0,
1805
+ ["top-textarea-" + e.name]: e.name,
1806
+ "top-disabled": e.disabled
1807
+ }) }, [
1808
+ S(a("textarea", d({
1809
+ type: "text",
1810
+ class: {
1811
+ "top-forms-focusable": !e.disabled,
1812
+ "top-textarea_textarea": !0,
1813
+ "top-textarea_textarea-expandable": e.expandable,
1814
+ "top-error": e.isError,
1815
+ [`top-style_${e.styling}`]: !!e.styling
1816
+ },
1817
+ autocomplete: "off_always",
1818
+ name: e.name,
1819
+ placeholder: e.placeholder,
1820
+ disabled: e.disabled,
1821
+ readonly: e.readonly,
1822
+ rows: e.expandable ? void 0 : e.rows,
1823
+ maxlength: e.maxLength
1824
+ }, t.$attrs, { "onUpdate:modelValue": o[0] ||= (e) => l.value = e }), null, 16, Ho), [[
1825
+ s,
1826
+ e.isError,
1827
+ void 0,
1828
+ { onupdate: !0 }
1829
+ ], [se, l.value]]),
1830
+ e.expandable ? (m(), i("span", Uo, b(l.value + " "), 1)) : r("", !0),
1831
+ e.hint ? S((m(), n(So, {
1832
+ key: 1,
1833
+ class: "top-textarea_hint",
1834
+ hint: e.hint
1835
+ }, null, 8, ["hint"])), [[c]]) : r("", !0),
1836
+ e.maxLength ? (m(), i("div", {
1837
+ key: 2,
1838
+ class: f(["top-textarea_counter", { "top-textarea_counter-max": l.value.length >= e.maxLength }])
1839
+ }, b(l.value.length) + "/" + b(e.maxLength), 3)) : r("", !0)
1840
+ ], 2);
1841
+ };
1842
+ }
1843
+ }), Go = [
1844
+ "data-value",
1845
+ "data-top-icon",
1846
+ "data-top-icon2"
1847
+ ], Ko = ["name", "disabled"], qo = ["label", "disabled"], Jo = [
1848
+ "value",
1849
+ "selected",
1850
+ "disabled"
1851
+ ], Yo = [
1852
+ "value",
1853
+ "selected",
1854
+ "disabled"
1855
+ ], Xo = {
1856
+ key: 1,
1857
+ class: "top-formsCaption"
1858
+ }, Zo = /* @__PURE__ */ s({
1859
+ __name: "select",
1860
+ props: /* @__PURE__ */ u({
1861
+ modelValue: { type: [
1862
+ String,
1863
+ Number,
1864
+ Boolean
1865
+ ] },
1866
+ options: {},
1867
+ name: {},
1868
+ disabled: { type: Boolean },
1869
+ icon: {},
1870
+ size: { default: "s" },
1871
+ styling: { default: "" },
1872
+ addChanger: { type: Boolean },
1873
+ title: {},
1874
+ isError: { type: Boolean }
1875
+ }, {
1876
+ modelValue: {
1877
+ type: [
1878
+ String,
1879
+ Number,
1880
+ Boolean
1881
+ ],
1882
+ required: !0
1883
+ },
1884
+ modelModifiers: {}
1885
+ }),
1886
+ emits: /* @__PURE__ */ u(["update:modelValue"], ["update:modelValue"]),
1887
+ setup(n) {
1888
+ let a = n, s = re(n, "modelValue"), c = t(() => {
1889
+ let e = /* @__PURE__ */ new Map();
1890
+ return a.options.forEach((t, n) => {
1891
+ if (typeof t == "string" && (t = u(n, t)), t.children) {
1892
+ let n = /* @__PURE__ */ new Map();
1893
+ t.children.forEach((e, t) => {
1894
+ typeof e == "string" && (e = u(t, e)), n.set(e.value, e);
1895
+ }), t = { ...t }, t.children = n, e.set(t.value, t);
1896
+ } else e.set(t.value, t);
1897
+ }), e;
1898
+ }), l = t(() => {
1899
+ let e = /* @__PURE__ */ new Map();
1900
+ return c.value.forEach((t) => {
1901
+ if (!t.disabled) {
1902
+ if (t.children) {
1903
+ t.children.forEach((t) => {
1904
+ t.disabled || e.set(t.value, t);
1905
+ });
1906
+ return;
1907
+ }
1908
+ e.set(t.value, t);
1909
+ }
1910
+ }), e;
1911
+ }), u = (e, t) => ({
1912
+ value: e,
1913
+ title: t
1914
+ });
1915
+ ce([() => a.modelValue, l], () => {
1916
+ (s.value === null || s.value === void 0) && l.value.size && (console.warn("Пожалуйста, не передавайте в компонент Select значения null и undefined"), s.value = l.value.keys().next().value);
1917
+ }, { immediate: !0 });
1918
+ let d = t(() => l.value.get(s.value)?.icon), p = () => {
1919
+ let e = [...l.value.keys()];
1920
+ s.value = e[(e.indexOf(s.value) + 1) % e.length];
1921
+ };
1922
+ return (t, a) => {
1923
+ let u = y("top-focus");
1924
+ return m(), i("label", {
1925
+ class: f({
1926
+ "top-select": !0,
1927
+ ["top-select-" + n.name]: n.name,
1928
+ ["top-size_" + n.size]: !0,
1929
+ "top-formsCaptionWrapper": !!(n.title || t.$slots.caption),
1930
+ "top-select-error": n.isError,
1931
+ "top-disabled": n.disabled
1932
+ }),
1933
+ "data-value": s.value,
1934
+ "data-top-icon": n.icon,
1935
+ "data-top-icon2": d.value
1936
+ }, [
1937
+ S((m(), i("select", {
1938
+ class: f({
1939
+ "top-forms-focusable": !n.disabled,
1940
+ "top-select_select": !0,
1941
+ "top-as-selector": !0,
1942
+ "top-error": n.isError,
1943
+ [`top-style_${n.styling}`]: !!n.styling
1944
+ }),
1945
+ name: n.name,
1946
+ disabled: n.disabled,
1947
+ "onUpdate:modelValue": a[0] ||= (e) => s.value = e
1948
+ }, [(m(!0), i(e, null, _(c.value, ([t, n]) => (m(), i(e, null, [n.children ? (m(), i("optgroup", {
1949
+ key: "group_" + t,
1950
+ label: n.title,
1951
+ disabled: n.disabled
1952
+ }, [(m(!0), i(e, null, _(n.children, ([e, t]) => (m(), i("option", {
1953
+ key: String(e),
1954
+ value: e,
1955
+ selected: e === s.value,
1956
+ disabled: t.disabled
1957
+ }, b(t.title), 9, Jo))), 128))], 8, qo)) : (m(), i("option", {
1958
+ key: t ? String(t) : void 0,
1959
+ value: t,
1960
+ selected: t === s.value,
1961
+ disabled: n.disabled
1962
+ }, b(n.title), 9, Yo))], 64))), 256))], 10, Ko)), [[
1963
+ u,
1964
+ n.isError,
1965
+ void 0,
1966
+ { onupdate: !0 }
1967
+ ], [oe, s.value]]),
1968
+ n.addChanger && l.value.size && !n.disabled ? (m(), i("span", {
1969
+ key: 0,
1970
+ class: "top-changer",
1971
+ onClick: p
1972
+ })) : r("", !0),
1973
+ n.title || t.$slots.caption ? (m(), i("span", Xo, [v(t.$slots, "caption", {}, () => [o(b(n.title), 1)])])) : r("", !0)
1974
+ ], 10, Go);
1975
+ };
1976
+ }
1977
+ }), Qo = /* @__PURE__ */ s({
1978
+ __name: "preloader",
1979
+ props: { type: {} },
1980
+ setup(t) {
1981
+ return (n, o) => (m(), i("div", { class: f({ ["top-preloader-" + t.type]: !0 }) }, [t.type === "circles" ? (m(), i(e, { key: 0 }, _([
1982
+ 1,
1983
+ 2,
1984
+ 3
1985
+ ], (e) => a("i")), 64)) : r("", !0)], 2));
1986
+ }
1987
+ });
1988
+ //#endregion
1989
+ export { Ba as A, ye as B, Qa as C, Za as D, Z as E, be as F, _e as G, ge as H, ve as I, w as K, xe as L, ca as M, oa as N, X as O, Ze as P, Se as R, to as S, Xa as T, me as U, he as V, pe as W, Q as _, zo as a, no as b, jo as c, So as d, bo as f, co as g, fo as h, Vo as i, ua as j, qa as k, Do as l, go as m, Zo as n, Lo as o, vo as p, Wo as r, Fo as s, Qo as t, Co as u, $a as v, eo as w, ro as x, io as y, Ce as z };
1990
+
1991
+ //# sourceMappingURL=forms-CbUt-6Ff.esm.js.map