@topvisor/ui 1.0.20-selector2-3 → 1.0.20-selector2-4

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