hs-admin-ui 15.1.6 → 15.1.7

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 (486) hide show
  1. package/dist/crypto-js-CDv3g9Fu.js +14 -0
  2. package/dist/crypto-js-YAPiafFo.js +5020 -0
  3. package/dist/element-plus-BDPBrlGs.js +47 -0
  4. package/dist/element-plus-DsYvsms7.js +33347 -0
  5. package/dist/element-plus.css +1 -0
  6. package/dist/index.css +1 -0
  7. package/dist/index.js +21 -1
  8. package/dist/index.mjs +21262 -169
  9. package/dist/lodash-Bz9d-A6a.js +27 -0
  10. package/dist/lodash-D8UdwBmx.js +3677 -0
  11. package/dist/mathjs-DUElwFnu.js +53 -0
  12. package/dist/mathjs-DriWWyuQ.js +28075 -0
  13. package/dist/trtc-sdk-v5-CQx2bVFN.js +131 -0
  14. package/dist/trtc-sdk-v5-D3p_Spei.js +13452 -0
  15. package/dist/types/index.d.ts +1 -1
  16. package/dist/vender-CW460RJ7.js +102 -0
  17. package/dist/vender-DsdbGbik.js +26205 -0
  18. package/dist/vxe-pc-ui-D9AWriGd.js +25535 -0
  19. package/dist/vxe-pc-ui-yKZybkNt.js +4 -0
  20. package/dist/vxe-pc-ui.css +1 -0
  21. package/dist/vxe-table-AZLI7TZY.js +3 -0
  22. package/dist/vxe-table-CDtN4_hB.js +14273 -0
  23. package/dist/vxe-table.css +1 -0
  24. package/package.json +13 -41
  25. package/LICENSE +0 -21
  26. package/dist/401-BePx5kSv.mjs +0 -56
  27. package/dist/401-BruOzyt3.js +0 -1
  28. package/dist/404-CVkD6ebs.js +0 -1
  29. package/dist/404-CVkD6ebs.js.gz +0 -0
  30. package/dist/404-jQN6KU5y.mjs +0 -61
  31. package/dist/404-jQN6KU5y.mjs.gz +0 -0
  32. package/dist/account-Bw7GuU2Y.js +0 -1
  33. package/dist/account-RbilIl5p.mjs +0 -215
  34. package/dist/aside-CO_TFnBP.js +0 -1
  35. package/dist/aside-DGbD7WXx.mjs +0 -164
  36. package/dist/baseBtnConfig-C6KLedE5.mjs +0 -273
  37. package/dist/baseBtnConfig-DRxjBT8Z.js +0 -1
  38. package/dist/baseFormConfig-B0LkZBRJ.mjs +0 -504
  39. package/dist/baseFormConfig-B0LkZBRJ.mjs.gz +0 -0
  40. package/dist/baseFormConfig-BaFbaMWd.mjs +0 -722
  41. package/dist/baseFormConfig-BaFbaMWd.mjs.gz +0 -0
  42. package/dist/baseFormConfig-D5Q35Bo3.js +0 -1
  43. package/dist/baseFormConfig-XAt1gry0.js +0 -1
  44. package/dist/baseTableConfig-BxkqNzZ1.js +0 -1
  45. package/dist/baseTableConfig-BxkqNzZ1.js.gz +0 -0
  46. package/dist/baseTableConfig-Dkvzwm5z.mjs +0 -2624
  47. package/dist/baseTableConfig-Dkvzwm5z.mjs.gz +0 -0
  48. package/dist/bcFormConfig-Bn-_XbCl.mjs +0 -234
  49. package/dist/bcFormConfig-DJPNhuTH.js +0 -1
  50. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-BEzNBOmo.js +0 -1
  51. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DG93G9jP.mjs +0 -131
  52. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-BkfUkxPL.js +0 -1
  53. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-lFAXGB7Y.mjs +0 -101
  54. package/dist/btnIndex-BsZSZGd4.js +0 -1
  55. package/dist/btnIndex-CqbzIQXE.mjs +0 -287
  56. package/dist/btnIndex-CqbzIQXE.mjs.gz +0 -0
  57. package/dist/classic-Bt3HfZzY.js +0 -1
  58. package/dist/classic-Dec3i2x2.mjs +0 -81
  59. package/dist/cloneConfigDialog-CQusM1M9.mjs +0 -817
  60. package/dist/cloneConfigDialog-CQusM1M9.mjs.gz +0 -0
  61. package/dist/cloneConfigDialog-Cl6qXd5e.js +0 -1
  62. package/dist/cloneConfigDialog-Cl6qXd5e.js.gz +0 -0
  63. package/dist/columns-C-o5zY9j.mjs +0 -87
  64. package/dist/columns-CXvoLhJP.js +0 -1
  65. package/dist/columnsAside-DJy-pEoD.js +0 -1
  66. package/dist/columnsAside-DnSlEG-x.mjs +0 -220
  67. package/dist/contextmenu-9jqMr4VX.mjs +0 -125
  68. package/dist/contextmenu-BfPQqiXK.mjs +0 -125
  69. package/dist/contextmenu-BliNwJm0.js +0 -1
  70. package/dist/contextmenu-DhGzlYnv.js +0 -1
  71. package/dist/copyMenuConfig-Cy4a281w.mjs +0 -4
  72. package/dist/copyMenuConfig-wbduEbAX.js +0 -1
  73. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-DEoJr7E5.mjs +0 -85
  74. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-DhXeuYsn.js +0 -1
  75. package/dist/copySystem-BVvrKj55.mjs +0 -4
  76. package/dist/copySystem-CU8MODKF.js +0 -1
  77. package/dist/copySystem.vue_vue_type_script_setup_true_lang-CM18bPv-.mjs +0 -78
  78. package/dist/copySystem.vue_vue_type_script_setup_true_lang-DJsMAvqs.js +0 -1
  79. package/dist/defaults-CDLdvMzg.js +0 -1
  80. package/dist/defaults-SEDq-Yru.mjs +0 -86
  81. package/dist/dialog-B3OvnqAp.js +0 -1
  82. package/dist/dialog-BpY5TPcI.mjs +0 -365
  83. package/dist/dialog-BpY5TPcI.mjs.gz +0 -0
  84. package/dist/dialog-Cf7iMybE.mjs +0 -10
  85. package/dist/dialog-D-InTgwh.js +0 -1
  86. package/dist/dialog-DQP53khI.mjs +0 -359
  87. package/dist/dialog-DQP53khI.mjs.gz +0 -0
  88. package/dist/dialog-DmOMzR5s.mjs +0 -4
  89. package/dist/dialog-DxBOYlwo.js +0 -1
  90. package/dist/dialog-HstJ1U1U.mjs +0 -4
  91. package/dist/dialog-MbRBbo7-.js +0 -1
  92. package/dist/dialog-TFJ52Qpk.js +0 -1
  93. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BgZXqNWa.mjs +0 -220
  94. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-mdGXAfNy.js +0 -1
  95. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B11N-m1T.mjs +0 -694
  96. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-B11N-m1T.mjs.gz +0 -0
  97. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Bfimmfr9.js +0 -1
  98. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-Bfimmfr9.js.gz +0 -0
  99. package/dist/dictDialog-9WB_PEq3.mjs +0 -4
  100. package/dist/dictDialog-ChYWOYnC.js +0 -1
  101. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-BqUqa2MM.js +0 -1
  102. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-Dwk-_Zrd.mjs +0 -154
  103. package/dist/dictItemDialog-BvpodlZn.mjs +0 -4
  104. package/dist/dictItemDialog-Cu3CA1Fy.js +0 -1
  105. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-BAa91Osq.js +0 -1
  106. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-PaRWBrbP.mjs +0 -231
  107. package/dist/favicon.ico +0 -0
  108. package/dist/formConfig-BL3rYhB2.js +0 -1
  109. package/dist/formConfig-BL3rYhB2.js.gz +0 -0
  110. package/dist/formConfig-DRBUT-We.mjs +0 -592
  111. package/dist/formConfig-DRBUT-We.mjs.gz +0 -0
  112. package/dist/header-BcV4n4bO.mjs +0 -28
  113. package/dist/header-DnpDVR9P.js +0 -1
  114. package/dist/horizontal-CEPNInY6.mjs +0 -151
  115. package/dist/horizontal-RTM7XxDH.js +0 -1
  116. package/dist/hsAttrBtn-CE3CMNek.js +0 -1
  117. package/dist/hsAttrBtn-CiL5ezh7.mjs +0 -4
  118. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-B7YMfMWs.js +0 -1
  119. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BZPaXw7E.mjs +0 -128
  120. package/dist/hsAttrForm-BCH4VRLC.mjs +0 -4
  121. package/dist/hsAttrForm-BZhKSm2W.js +0 -1
  122. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-C1447QGx.js +0 -1
  123. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-YUO0lTkn.mjs +0 -439
  124. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-YUO0lTkn.mjs.gz +0 -0
  125. package/dist/hsBtnConfigList-BMaD3HLT.js +0 -1
  126. package/dist/hsBtnConfigList-DqBJmwk8.mjs +0 -117
  127. package/dist/hsBtnItemConfig-C9BAyIc1.js +0 -1
  128. package/dist/hsBtnItemConfig-DL6-SFjB.mjs +0 -4
  129. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-D3iLEZwe.js +0 -1
  130. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DT6EDcI6.mjs +0 -147
  131. package/dist/hsBtnPanel-BJFipPMX.js +0 -1
  132. package/dist/hsBtnPanel-lgdpbYZA.mjs +0 -4
  133. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BIyoHv9a.js +0 -1
  134. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-BW7roS0J.mjs +0 -67
  135. package/dist/hsCheckbox-BKa_El3s.js +0 -1
  136. package/dist/hsCheckbox-CalDndlZ.mjs +0 -4
  137. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-Dh-lqGjq.js +0 -1
  138. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-XCUyHi8X.mjs +0 -28
  139. package/dist/hsExpand-Bhhk7Jdi.mjs +0 -4
  140. package/dist/hsExpand-CQ3vWcYy.js +0 -1
  141. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-B-IyqJIq.js +0 -1
  142. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-D49jBgyP.mjs +0 -285
  143. package/dist/hsFormConfig-BR2oHpJJ.mjs +0 -207
  144. package/dist/hsFormConfig-DGphH9M7.js +0 -1
  145. package/dist/hsFormConfigList-CDZM6LN4.mjs +0 -414
  146. package/dist/hsFormConfigList-CDZM6LN4.mjs.gz +0 -0
  147. package/dist/hsFormConfigList-DEFRUzgO.js +0 -1
  148. package/dist/hsFormPanel-9xVlKXrH.js +0 -1
  149. package/dist/hsFormPanel-B9bY0wM7.mjs +0 -238
  150. package/dist/hsFormPanel-B9bY0wM7.mjs.gz +0 -0
  151. package/dist/hsFormParse-B8x5v5jx.js +0 -1
  152. package/dist/hsFormParse-BOT-NNYG.mjs +0 -4
  153. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-6aqTlfjv.js +0 -1
  154. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-CmxWqdX1.mjs +0 -242
  155. package/dist/hsPanelItem-C-7xaCLg.js +0 -1
  156. package/dist/hsPanelItem-CPASHLbr.mjs +0 -4
  157. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-DJASpFoF.js +0 -1
  158. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-rqLDQa4b.mjs +0 -86
  159. package/dist/iframes-CWdXFiYU.mjs +0 -122
  160. package/dist/iframes-DnAW1ZV2.js +0 -1
  161. package/dist/index copy-B3S_Bhdn.js +0 -1
  162. package/dist/index copy-BJ6LFdF1.mjs +0 -69
  163. package/dist/index copy-CsOZzjt9.js +0 -1
  164. package/dist/index copy-K1YcPYr9.mjs +0 -134
  165. package/dist/index-3UJSM3kd.js +0 -1
  166. package/dist/index-4ncpQ4eO.js +0 -1
  167. package/dist/index-6iu8JZuY.mjs +0 -1009
  168. package/dist/index-6iu8JZuY.mjs.gz +0 -0
  169. package/dist/index-79ZRlR7H.js +0 -1
  170. package/dist/index-7dwtQ4S9.js +0 -1
  171. package/dist/index-82-8Z3I8.js +0 -1
  172. package/dist/index-B03eGOGy.mjs +0 -133
  173. package/dist/index-B4QJL1DA.mjs +0 -10
  174. package/dist/index-B7FeSk1m.mjs +0 -4
  175. package/dist/index-B7Ggcbmc.js +0 -1
  176. package/dist/index-B7Ggcbmc.js.gz +0 -0
  177. package/dist/index-B8nrdqc9.mjs +0 -47
  178. package/dist/index-BDozMyrz.mjs +0 -95
  179. package/dist/index-BFZ9P1dy.js +0 -1
  180. package/dist/index-BHEgh4cW.mjs +0 -4
  181. package/dist/index-BHHI4_CY.js +0 -1
  182. package/dist/index-BIgnSPCb.js +0 -1
  183. package/dist/index-BIyVJNgI.js +0 -1
  184. package/dist/index-BKOItnzJ.js +0 -111
  185. package/dist/index-BKOItnzJ.js.gz +0 -0
  186. package/dist/index-BLycUQgN.mjs +0 -119
  187. package/dist/index-BMpjRLM7.js +0 -1
  188. package/dist/index-BOkwyZP7.mjs +0 -213
  189. package/dist/index-BSBQtzjR.js +0 -1
  190. package/dist/index-BT1BhIbi.js +0 -1
  191. package/dist/index-BZr64ugI.js +0 -1
  192. package/dist/index-BaeZfYEj.mjs +0 -4
  193. package/dist/index-BbXbVv7K.mjs +0 -4
  194. package/dist/index-Bgwg31Qt.js +0 -1
  195. package/dist/index-BhMp70XH.mjs +0 -94
  196. package/dist/index-BkyRUnkO.js +0 -1
  197. package/dist/index-BrTAFhhs.mjs +0 -2208
  198. package/dist/index-BrTAFhhs.mjs.gz +0 -0
  199. package/dist/index-BwKrUIVd.mjs +0 -14
  200. package/dist/index-ByjtaERc.js +0 -1
  201. package/dist/index-BzaNS4eH.mjs +0 -67
  202. package/dist/index-C0D9zAa6.mjs +0 -5403
  203. package/dist/index-C0D9zAa6.mjs.gz +0 -0
  204. package/dist/index-C1uuTYqn.js +0 -1
  205. package/dist/index-C9nUkjy2.js +0 -1
  206. package/dist/index-CGROx9d2.mjs +0 -23
  207. package/dist/index-CGVLSa-Z.mjs +0 -89
  208. package/dist/index-CI88VXHh.js +0 -1
  209. package/dist/index-CIUdc0tl.js +0 -1
  210. package/dist/index-CLpyyily.mjs +0 -285
  211. package/dist/index-CM2QwHXA.js +0 -1
  212. package/dist/index-COp-mviH.js +0 -1
  213. package/dist/index-CUE6cOFE.mjs +0 -76
  214. package/dist/index-CXHit-vm.js +0 -1
  215. package/dist/index-CXHit-vm.js.gz +0 -0
  216. package/dist/index-CbCppT2z.js +0 -1
  217. package/dist/index-CbgKih92.js +0 -1
  218. package/dist/index-Cji7t1Jc.mjs +0 -173
  219. package/dist/index-CqIZ1k-x.mjs +0 -65
  220. package/dist/index-CrrapXlE.js +0 -1
  221. package/dist/index-CzWSMFPz.js +0 -1
  222. package/dist/index-CzWSMFPz.js.gz +0 -0
  223. package/dist/index-D6PuZeGA.mjs +0 -254
  224. package/dist/index-DBvCcs0m.js +0 -1
  225. package/dist/index-DEykAVeO.js +0 -1
  226. package/dist/index-DHHcO6BG.js +0 -1
  227. package/dist/index-DHsKIehs.js +0 -1
  228. package/dist/index-DNpYXPbH.mjs +0 -30
  229. package/dist/index-DOi1__i9.js +0 -1
  230. package/dist/index-DS3B-tKV.mjs +0 -254951
  231. package/dist/index-DS3B-tKV.mjs.gz +0 -0
  232. package/dist/index-DSWpyZ7C.mjs +0 -65
  233. package/dist/index-DSjqqbn0.js +0 -1
  234. package/dist/index-DT3c6iM1.mjs +0 -49
  235. package/dist/index-DYiTqLqC.mjs +0 -51
  236. package/dist/index-DYk60nb9.mjs +0 -50
  237. package/dist/index-DZ_UFJE2.mjs +0 -43
  238. package/dist/index-DfEspIWc.mjs +0 -262
  239. package/dist/index-Dfp17Bwa.mjs +0 -4
  240. package/dist/index-DgEXQL9C.mjs +0 -403
  241. package/dist/index-DgEXQL9C.mjs.gz +0 -0
  242. package/dist/index-DnUx8Zdo.mjs +0 -73
  243. package/dist/index-Dur4EUIu.mjs +0 -73
  244. package/dist/index-DzRR1RxG.js +0 -1
  245. package/dist/index-IAOLoA9b.js +0 -1
  246. package/dist/index-MScX3_tk.mjs +0 -10
  247. package/dist/index-NBXUgAw3.mjs +0 -331
  248. package/dist/index-NBXUgAw3.mjs.gz +0 -0
  249. package/dist/index-OcKc5oUD.js +0 -1
  250. package/dist/index-PCI3lWru.mjs +0 -38
  251. package/dist/index-P_kHpPhU.js +0 -1
  252. package/dist/index-QNrlL5fl.js +0 -1
  253. package/dist/index-W_IJV_8K.mjs +0 -22
  254. package/dist/index-Z83-84L3.js +0 -1
  255. package/dist/index-_-xa-98Q.mjs +0 -172
  256. package/dist/index-feq0FF6W.mjs +0 -23
  257. package/dist/index-g2ermQHl.mjs +0 -131
  258. package/dist/index-g_BDa62N.mjs +0 -19
  259. package/dist/index-hgZg0VtS.js +0 -1
  260. package/dist/index-k2-oxT3d.mjs +0 -200
  261. package/dist/index-sdudei9U.mjs +0 -152
  262. package/dist/index-tZQPmXty.js +0 -1
  263. package/dist/index-v7jFnqoB.js +0 -1
  264. package/dist/index-zhWfbpLN.js +0 -1
  265. package/dist/index.vue_vue_type_script_setup_true_lang-9yt_AqOo.mjs +0 -194
  266. package/dist/index.vue_vue_type_script_setup_true_lang-BBB1sJxx.mjs +0 -267
  267. package/dist/index.vue_vue_type_script_setup_true_lang-BBB1sJxx.mjs.gz +0 -0
  268. package/dist/index.vue_vue_type_script_setup_true_lang-CfrDnaDb.js +0 -1
  269. package/dist/index.vue_vue_type_script_setup_true_lang-Cmc_75Q9.mjs +0 -97
  270. package/dist/index.vue_vue_type_script_setup_true_lang-DC2YOBp8.mjs +0 -103
  271. package/dist/index.vue_vue_type_script_setup_true_lang-DkqCU_07.js +0 -1
  272. package/dist/index.vue_vue_type_script_setup_true_lang-DueNaQN9.js +0 -1
  273. package/dist/index.vue_vue_type_script_setup_true_lang-lub2RD3v.js +0 -1
  274. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-DZPUQb3w.mjs +0 -288
  275. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-DZPUQb3w.mjs.gz +0 -0
  276. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-kCj43-0A.js +0 -1
  277. package/dist/lib-generate-test-usersig.min.js +0 -2
  278. package/dist/lib-generate-test-usersig.min.js.gz +0 -0
  279. package/dist/link-BgAziH_3.mjs +0 -63
  280. package/dist/link-Sqx3Q52p.js +0 -1
  281. package/dist/list-8FpcTs_2.js +0 -1
  282. package/dist/list-B67E-uei.mjs +0 -85
  283. package/dist/logo-mini-BQ9BrQ1U.mjs +0 -4
  284. package/dist/logo-mini-DwRdfcE7.js +0 -1
  285. package/dist/main-CmcbR12f.mjs +0 -72
  286. package/dist/main-DDPKI7Ni.js +0 -1
  287. package/dist/mobile-CBTICbJa.js +0 -1
  288. package/dist/mobile-Dcn_uE49.mjs +0 -115
  289. package/dist/parent-BP8X2kB8.js +0 -1
  290. package/dist/parent-BrVaTYeC.mjs +0 -131
  291. package/dist/popup-BEiDsECK.mjs +0 -4
  292. package/dist/popup-B_5FHg24.js +0 -1
  293. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-23ItHebo.mjs +0 -89
  294. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-GJCKGOLm.js +0 -1
  295. package/dist/roleItem-BQW8elI1.mjs +0 -103
  296. package/dist/roleItem-FUZgV9xL.js +0 -1
  297. package/dist/saveForm-BDrXtiIE.mjs +0 -160
  298. package/dist/saveForm-BxQmbdKc.js +0 -1
  299. package/dist/scan-BRU9Wew1.mjs +0 -945
  300. package/dist/scan-BRU9Wew1.mjs.gz +0 -0
  301. package/dist/scan-j7LW3Xdv.js +0 -1
  302. package/dist/scan-j7LW3Xdv.js.gz +0 -0
  303. package/dist/search-BdOGXXxf.js +0 -1
  304. package/dist/search-kPkciC8X.mjs +0 -114
  305. package/dist/selectConfig-Dj-vR1zX.mjs +0 -546
  306. package/dist/selectConfig-Dj-vR1zX.mjs.gz +0 -0
  307. package/dist/selectConfig-x1qMbzEi.js +0 -1
  308. package/dist/shortcutList-BXBGQdNn.mjs +0 -76
  309. package/dist/shortcutList-WSi4lUlm.js +0 -1
  310. package/dist/style.css +0 -1
  311. package/dist/style.css.gz +0 -0
  312. package/dist/subItem-DK1aBmBX.js +0 -1
  313. package/dist/subItem-LshS1tdW.mjs +0 -77
  314. package/dist/tagsView-BdC9SbGU.js +0 -8
  315. package/dist/tagsView-BdC9SbGU.js.gz +0 -0
  316. package/dist/tagsView-ByNvn7m7.mjs +0 -2695
  317. package/dist/tagsView-ByNvn7m7.mjs.gz +0 -0
  318. package/dist/transverse-Au31vuAN.mjs +0 -65
  319. package/dist/transverse-D2dpAzsD.js +0 -1
  320. package/dist/types/components/business/bcBox/bcBox.vue.d.ts +0 -66
  321. package/dist/types/components/business/bcBox/utils.d.ts +0 -68
  322. package/dist/types/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +0 -23
  323. package/dist/types/components/business/bcBreadcrumb/index.d.ts +0 -12
  324. package/dist/types/components/business/bcForm/baseForm.vue.d.ts +0 -273
  325. package/dist/types/components/business/bcForm/bcForm.vue.d.ts +0 -42
  326. package/dist/types/components/business/bcForm/type.d.ts +0 -138
  327. package/dist/types/components/business/bcForm/useGuide.d.ts +0 -564
  328. package/dist/types/components/business/bcSystemAuth/components/data.vue.d.ts +0 -3
  329. package/dist/types/components/business/bcSystemAuth/components/dict.vue.d.ts +0 -3
  330. package/dist/types/components/business/bcSystemAuth/components/fastSet/index.d.ts +0 -1
  331. package/dist/types/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +0 -17
  332. package/dist/types/components/business/bcSystemAuth/components/field.vue.d.ts +0 -3
  333. package/dist/types/components/business/bcSystemAuth/components/form.vue.d.ts +0 -13
  334. package/dist/types/components/business/bcSystemAuth/components/index.d.ts +0 -5
  335. package/dist/types/components/business/bcSystemAuth/components/selectAll/index.d.ts +0 -24
  336. package/dist/types/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +0 -5
  337. package/dist/types/components/business/bcSystemAuth/components/table.vue.d.ts +0 -13
  338. package/dist/types/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +0 -15
  339. package/dist/types/components/business/bcSystemAuth/components/widget/form.vue.d.ts +0 -15
  340. package/dist/types/components/business/bcSystemAuth/components/widget/index.d.ts +0 -3
  341. package/dist/types/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +0 -45
  342. package/dist/types/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +0 -15
  343. package/dist/types/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +0 -15
  344. package/dist/types/components/business/bcSystemAuth/fastStore.d.ts +0 -512
  345. package/dist/types/components/business/bcSystemAuth/fastUtils.d.ts +0 -346
  346. package/dist/types/components/business/bcSystemAuth/index.d.ts +0 -3
  347. package/dist/types/components/business/bcSystemAuth/index.vue.d.ts +0 -26
  348. package/dist/types/components/business/bcSystemAuth/store.d.ts +0 -512
  349. package/dist/types/components/business/bcSystemAuth/type.d.ts +0 -42
  350. package/dist/types/components/business/bcSystemAuth/useAuth.d.ts +0 -28
  351. package/dist/types/components/business/bcSystemAuth/utils.d.ts +0 -346
  352. package/dist/types/components/business/bcSystemField/components/field.vue.d.ts +0 -3
  353. package/dist/types/components/business/bcSystemField/components/form.vue.d.ts +0 -13
  354. package/dist/types/components/business/bcSystemField/components/index.d.ts +0 -3
  355. package/dist/types/components/business/bcSystemField/components/selectAll/index.d.ts +0 -22
  356. package/dist/types/components/business/bcSystemField/components/selectAll/index.vue.d.ts +0 -5
  357. package/dist/types/components/business/bcSystemField/components/table.vue.d.ts +0 -13
  358. package/dist/types/components/business/bcSystemField/components/widget/form.vue.d.ts +0 -15
  359. package/dist/types/components/business/bcSystemField/components/widget/index.d.ts +0 -2
  360. package/dist/types/components/business/bcSystemField/components/widget/tab.vue.d.ts +0 -45
  361. package/dist/types/components/business/bcSystemField/components/widget/tables.vue.d.ts +0 -15
  362. package/dist/types/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +0 -15
  363. package/dist/types/components/business/bcSystemField/index.d.ts +0 -3
  364. package/dist/types/components/business/bcSystemField/index.vue.d.ts +0 -16
  365. package/dist/types/components/business/bcSystemField/store.d.ts +0 -343
  366. package/dist/types/components/business/bcSystemField/useAuth.d.ts +0 -16
  367. package/dist/types/components/business/bcSystemField/utils.d.ts +0 -187
  368. package/dist/types/components/business/bcTable/bcFormTable.vue.d.ts +0 -142
  369. package/dist/types/components/business/bcTable/bcTable.vue.d.ts +0 -51
  370. package/dist/types/components/business/bcTable/components/btn/btn.vue.d.ts +0 -77
  371. package/dist/types/components/business/bcTable/components/index.d.ts +0 -4
  372. package/dist/types/components/business/bcTable/components/popup/index.d.ts +0 -3
  373. package/dist/types/components/business/bcTable/components/query/components/sortForm/index.d.ts +0 -2
  374. package/dist/types/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +0 -23
  375. package/dist/types/components/business/bcTable/components/query/drag.vue.d.ts +0 -244
  376. package/dist/types/components/business/bcTable/components/query/query.vue.d.ts +0 -249
  377. package/dist/types/components/business/bcTable/components/query/useQuickSearch.d.ts +0 -8
  378. package/dist/types/components/business/bcTable/components/table/colgroup.vue.d.ts +0 -28
  379. package/dist/types/components/business/bcTable/components/table/column.vue.d.ts +0 -35
  380. package/dist/types/components/business/bcTable/components/table/components/sortColumn/index.d.ts +0 -2
  381. package/dist/types/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +0 -25
  382. package/dist/types/components/business/bcTable/components/table/components/sortColumn/types.d.ts +0 -20
  383. package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +0 -67
  384. package/dist/types/components/business/bcTable/components/table/useTable.d.ts +0 -36
  385. package/dist/types/components/business/bcTable/components/table/useTableHeight.d.ts +0 -25
  386. package/dist/types/components/business/bcTable/methods/cellDetailMethod.d.ts +0 -3
  387. package/dist/types/components/business/bcTable/methods/filterAgeMethod.d.ts +0 -3
  388. package/dist/types/components/business/bcTable/methods/footerMethod.d.ts +0 -4
  389. package/dist/types/components/business/bcTable/methods/formBtnMethod.d.ts +0 -8
  390. package/dist/types/components/business/bcTable/methods/index.d.ts +0 -4
  391. package/dist/types/components/business/bcTable/utils/authField.d.ts +0 -6
  392. package/dist/types/components/business/bcTable/utils/onFormKey.d.ts +0 -16
  393. package/dist/types/components/business/bcTable/utils/onTableKey.d.ts +0 -16
  394. package/dist/types/components/business/bcTable/utils/parseTable.d.ts +0 -117
  395. package/dist/types/components/business/bcTable/utils/type.d.ts +0 -463
  396. package/dist/types/components/business/bcTable/utils/useBcTable.d.ts +0 -12918
  397. package/dist/types/components/business/bcTable/utils/useButon.d.ts +0 -12
  398. package/dist/types/components/business/bcTable/utils/useFormTableHeight.d.ts +0 -20
  399. package/dist/types/components/business/bcTable/utils/useKeydownEvent.d.ts +0 -45
  400. package/dist/types/components/business/bcVisual/bcVisual.vue.d.ts +0 -57
  401. package/dist/types/components/business/bcVisual/components/setting/dragItem.vue.d.ts +0 -46
  402. package/dist/types/components/business/bcVisual/components/setting/extendItem.vue.d.ts +0 -13
  403. package/dist/types/components/business/bcVisual/components/setting/setting.vue.d.ts +0 -3
  404. package/dist/types/components/business/bcVisual/components/setting/useDrag.d.ts +0 -10
  405. package/dist/types/components/business/bcVisual/components/table/table.vue.d.ts +0 -6
  406. package/dist/types/components/business/bcVisual/components/updateName/index.d.ts +0 -1
  407. package/dist/types/components/business/bcVisual/components/updateName/popup.vue.d.ts +0 -17
  408. package/dist/types/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +0 -23
  409. package/dist/types/components/business/bcVisual/components/updateSql/index.d.ts +0 -4
  410. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/index.d.ts +0 -19
  411. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +0 -21
  412. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +0 -19
  413. package/dist/types/components/business/bcVisual/components/updateSql/popup.vue.d.ts +0 -17
  414. package/dist/types/components/business/bcVisual/type.d.ts +0 -186
  415. package/dist/types/components/business/bcVisual/useTableFormat.d.ts +0 -271
  416. package/dist/types/components/business/bcVisual/utils.d.ts +0 -134
  417. package/dist/types/plugins/index.d.ts +0 -33
  418. package/dist/types/types/auth.d.ts +0 -81
  419. package/dist/types/types/components.d.ts +0 -29
  420. package/dist/types/types/customData.d.ts +0 -309
  421. package/dist/types/types/form.d.ts +0 -100
  422. package/dist/types/types/formItem/autocomplete.d.ts +0 -45
  423. package/dist/types/types/formItem/button.d.ts +0 -39
  424. package/dist/types/types/formItem/checkbox.d.ts +0 -80
  425. package/dist/types/types/formItem/index.d.ts +0 -9
  426. package/dist/types/types/formItem/input.d.ts +0 -65
  427. package/dist/types/types/formItem/inputGroup.d.ts +0 -14
  428. package/dist/types/types/formItem/inputNumber.d.ts +0 -41
  429. package/dist/types/types/formItem/radio.d.ts +0 -58
  430. package/dist/types/types/formItem/selelct.d.ts +0 -56
  431. package/dist/types/types/formItem/treeSelect.d.ts +0 -41
  432. package/dist/types/types/index.d.ts +0 -6
  433. package/dist/types/types/system.d.ts +0 -14
  434. package/dist/types/utils/arrayOperation.d.ts +0 -21
  435. package/dist/types/utils/authFunction.d.ts +0 -18
  436. package/dist/types/utils/build.d.ts +0 -11
  437. package/dist/types/utils/cfprint.d.ts +0 -70
  438. package/dist/types/utils/common.d.ts +0 -15
  439. package/dist/types/utils/commonFunction.d.ts +0 -29
  440. package/dist/types/utils/crypto.d.ts +0 -5
  441. package/dist/types/utils/device_info.d.ts +0 -14
  442. package/dist/types/utils/download.d.ts +0 -73
  443. package/dist/types/utils/file.d.ts +0 -6
  444. package/dist/types/utils/formatTime.d.ts +0 -37
  445. package/dist/types/utils/getDataType.d.ts +0 -9
  446. package/dist/types/utils/getStyleSheets.d.ts +0 -11
  447. package/dist/types/utils/index.d.ts +0 -29
  448. package/dist/types/utils/loading.d.ts +0 -10
  449. package/dist/types/utils/lodash.d.ts +0 -3
  450. package/dist/types/utils/mitt.d.ts +0 -11
  451. package/dist/types/utils/number.d.ts +0 -82
  452. package/dist/types/utils/other.d.ts +0 -75
  453. package/dist/types/utils/request/index.d.ts +0 -6
  454. package/dist/types/utils/request/interceptors/request/authorization.interceptor.d.ts +0 -4
  455. package/dist/types/utils/request/interceptors/request/index.d.ts +0 -2
  456. package/dist/types/utils/request/interceptors/request/result.type.interceptor.d.ts +0 -4
  457. package/dist/types/utils/request/interceptors/request/undefined-params-handler.interceptor.d.ts +0 -13
  458. package/dist/types/utils/request/interceptors/response/error-handler.interceptor.d.ts +0 -4
  459. package/dist/types/utils/request/interceptors/response/index.d.ts +0 -2
  460. package/dist/types/utils/request/repeatRequest.d.ts +0 -4
  461. package/dist/types/utils/request/request.d.ts +0 -7
  462. package/dist/types/utils/setIconfont.d.ts +0 -11
  463. package/dist/types/utils/shortcutList.d.ts +0 -4
  464. package/dist/types/utils/showMessage.d.ts +0 -6
  465. package/dist/types/utils/showMessageBox.d.ts +0 -6
  466. package/dist/types/utils/showNotification.d.ts +0 -6
  467. package/dist/types/utils/showPopup/index.d.ts +0 -35
  468. package/dist/types/utils/storage.d.ts +0 -177
  469. package/dist/types/utils/theme.d.ts +0 -13
  470. package/dist/types/utils/toolsValidate.d.ts +0 -149
  471. package/dist/types/utils/tree.d.ts +0 -26
  472. package/dist/types/utils/update.d.ts +0 -1
  473. package/dist/types/utils/url.d.ts +0 -23
  474. package/dist/types/utils/watermark.d.ts +0 -9
  475. package/dist/useConfigInfo-2zEYLSSs.js +0 -1
  476. package/dist/useConfigInfo-PTkkdx-l.mjs +0 -19
  477. package/dist/user-DRbPksY1.js +0 -1
  478. package/dist/user-Ov9wSafP.mjs +0 -246
  479. package/dist/userNews-Cqxll0Ds.mjs +0 -72
  480. package/dist/userNews-DoDA3w2k.js +0 -1
  481. package/dist/userSelect-DSYUFA--.mjs +0 -4
  482. package/dist/userSelect-XDlpJz1X.js +0 -1
  483. package/dist/userSelect.vue_vue_type_script_setup_true_lang-CI2_r4Ah.mjs +0 -100
  484. package/dist/userSelect.vue_vue_type_script_setup_true_lang-Dyt80LKy.js +0 -1
  485. package/dist/vertical-CnMFrhxt.mjs +0 -133
  486. package/dist/vertical-ST7_xt19.js +0 -1
@@ -0,0 +1,102 @@
1
+ "use strict";const b=require("vue"),Pe=require("./crypto-js-CDv3g9Fu.js");var ax=Object.defineProperty,sx=Object.defineProperties,ux=Object.getOwnPropertyDescriptors,$v=Object.getOwnPropertySymbols,lx=Object.prototype.hasOwnProperty,cx=Object.prototype.propertyIsEnumerable,Tv=(e,t,r)=>t in e?ax(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fx=(e,t)=>{for(var r in t||(t={}))lx.call(t,r)&&Tv(e,r,t[r]);if($v)for(var r of $v(t))cx.call(t,r)&&Tv(e,r,t[r]);return e},hx=(e,t)=>sx(e,ux(t));function dx(e,t){var r;const n=b.shallowRef();return b.watchEffect(()=>{n.value=e()},hx(fx({},t),{flush:(r=void 0)!=null?r:"sync"})),b.readonly(n)}var Dv;const nu=typeof window<"u",px=e=>typeof e<"u",hd=e=>typeof e=="function",vx=e=>typeof e=="string",ga=()=>{},n2=nu&&((Dv=window==null?void 0:window.navigator)==null?void 0:Dv.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Wi(e){return typeof e=="function"?e():b.unref(e)}function i2(e,t){function r(...n){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(o)})}return r}function mx(e,t={}){let r,n,i=ga;const o=s=>{clearTimeout(s),i(),i=ga};return s=>{const u=Wi(e),l=Wi(t.maxWait);return r&&o(r),u<=0||l!==void 0&&l<=0?(n&&(o(n),n=null),Promise.resolve(s())):new Promise((f,c)=>{i=t.rejectOnCancel?c:f,l&&!n&&(n=setTimeout(()=>{r&&o(r),n=null,f(s())},l)),r=setTimeout(()=>{n&&o(n),n=null,f(s())},u)})}}function gx(e,t=!0,r=!0,n=!1){let i=0,o,a=!0,s=ga,u;const l=()=>{o&&(clearTimeout(o),o=void 0,s(),s=ga)};return c=>{const h=Wi(e),d=Date.now()-i,p=()=>u=c();return l(),h<=0?(i=Date.now(),p()):(d>h&&(r||!a)?(i=Date.now(),p()):t&&(u=new Promise((v,g)=>{s=n?g:v,o=setTimeout(()=>{i=Date.now(),a=!0,v(p()),l()},Math.max(0,h-d))})),!r&&!o&&(o=setTimeout(()=>a=!0,h)),a=!1,u)}}function yx(e){return e}function wx(e,t){let r,n,i;const o=b.ref(!0),a=()=>{o.value=!0,i()};b.watch(e,a,{flush:"sync"});const s=hd(t)?t:t.get,u=hd(t)?void 0:t.set,l=b.customRef((f,c)=>(n=f,i=c,{get(){return o.value&&(r=s(),o.value=!1),n(),r},set(h){u==null||u(h)}}));return Object.isExtensible(l)&&(l.trigger=a),l}function iu(e){return b.getCurrentScope()?(b.onScopeDispose(e),!0):!1}function bx(e,t=200,r={}){return i2(mx(t,r),e)}function _x(e,t=200,r={}){const n=b.ref(e.value),i=bx(()=>{n.value=e.value},t,r);return b.watch(e,()=>i()),n}function Sx(e,t=200,r=!1,n=!0,i=!1){return i2(gx(t,r,n,i),e)}function $p(e,t=!0){b.getCurrentInstance()?b.onMounted(e):t?e():b.nextTick(e)}function xx(e,t,r={}){const{immediate:n=!0}=r,i=b.ref(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function s(){i.value=!1,a()}function u(...l){a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,e(...l)},Wi(t))}return n&&(i.value=!0,nu&&u()),iu(s),{isPending:b.readonly(i),start:u,stop:s}}function Xr(e){var t;const r=Wi(e);return(t=r==null?void 0:r.$el)!=null?t:r}const qi=nu?window:void 0,Ex=nu?window.document:void 0;function Er(...e){let t,r,n,i;if(vx(e[0])||Array.isArray(e[0])?([r,n,i]=e,t=qi):[t,r,n,i]=e,!t)return ga;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const o=[],a=()=>{o.forEach(f=>f()),o.length=0},s=(f,c,h,d)=>(f.addEventListener(c,h,d),()=>f.removeEventListener(c,h,d)),u=b.watch(()=>[Xr(t),Wi(i)],([f,c])=>{a(),f&&o.push(...r.flatMap(h=>n.map(d=>s(f,h,d,c))))},{immediate:!0,flush:"post"}),l=()=>{u(),a()};return iu(l),l}let Mv=!1;function Ox(e,t,r={}){const{window:n=qi,ignore:i=[],capture:o=!0,detectIframe:a=!1}=r;if(!n)return;n2&&!Mv&&(Mv=!0,Array.from(n.document.body.children).forEach(h=>h.addEventListener("click",ga)));let s=!0;const u=h=>i.some(d=>{if(typeof d=="string")return Array.from(n.document.querySelectorAll(d)).some(p=>p===h.target||h.composedPath().includes(p));{const p=Xr(d);return p&&(h.target===p||h.composedPath().includes(p))}}),f=[Er(n,"click",h=>{const d=Xr(e);if(!(!d||d===h.target||h.composedPath().includes(d))){if(h.detail===0&&(s=!u(h)),!s){s=!0;return}t(h)}},{passive:!0,capture:o}),Er(n,"pointerdown",h=>{const d=Xr(e);d&&(s=!h.composedPath().includes(d)&&!u(h))},{passive:!0}),a&&Er(n,"blur",h=>{var d;const p=Xr(e);((d=n.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(p!=null&&p.contains(n.document.activeElement))&&t(h)})].filter(Boolean);return()=>f.forEach(h=>h())}function $x(e={}){var t;const{window:r=qi}=e,n=(t=e.document)!=null?t:r==null?void 0:r.document,i=wx(()=>null,()=>n==null?void 0:n.activeElement);return r&&(Er(r,"blur",o=>{o.relatedTarget===null&&i.trigger()},!0),Er(r,"focus",i.trigger,!0)),i}function o2(e,t=!1){const r=b.ref(),n=()=>r.value=!!e();return n(),$p(n,t),r}function Tx(e){return JSON.parse(JSON.stringify(e))}const Av=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Cv="__vueuse_ssr_handlers__";Av[Cv]=Av[Cv]||{};function Dx(e,t,{window:r=qi,initialValue:n=""}={}){const i=b.ref(n),o=b.computed(()=>{var a;return Xr(t)||((a=r==null?void 0:r.document)==null?void 0:a.documentElement)});return b.watch([o,()=>Wi(e)],([a,s])=>{var u;if(a&&r){const l=(u=r.getComputedStyle(a).getPropertyValue(s))==null?void 0:u.trim();i.value=l||n}},{immediate:!0}),b.watch(i,a=>{var s;(s=o.value)!=null&&s.style&&o.value.style.setProperty(Wi(e),a)}),i}function Mx({document:e=Ex}={}){if(!e)return b.ref("visible");const t=b.ref(e.visibilityState);return Er(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Pv=Object.getOwnPropertySymbols,Ax=Object.prototype.hasOwnProperty,Cx=Object.prototype.propertyIsEnumerable,Px=(e,t)=>{var r={};for(var n in e)Ax.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Pv)for(var n of Pv(e))t.indexOf(n)<0&&Cx.call(e,n)&&(r[n]=e[n]);return r};function a2(e,t,r={}){const n=r,{window:i=qi}=n,o=Px(n,["window"]);let a;const s=o2(()=>i&&"ResizeObserver"in i),u=()=>{a&&(a.disconnect(),a=void 0)},l=b.watch(()=>Xr(e),c=>{u(),s.value&&i&&c&&(a=new ResizeObserver(t),a.observe(c,o))},{immediate:!0,flush:"post"}),f=()=>{u(),l()};return iu(f),{isSupported:s,stop:f}}function kx(e,t={}){const{reset:r=!0,windowResize:n=!0,windowScroll:i=!0,immediate:o=!0}=t,a=b.ref(0),s=b.ref(0),u=b.ref(0),l=b.ref(0),f=b.ref(0),c=b.ref(0),h=b.ref(0),d=b.ref(0);function p(){const v=Xr(e);if(!v){r&&(a.value=0,s.value=0,u.value=0,l.value=0,f.value=0,c.value=0,h.value=0,d.value=0);return}const g=v.getBoundingClientRect();a.value=g.height,s.value=g.bottom,u.value=g.left,l.value=g.right,f.value=g.top,c.value=g.width,h.value=g.x,d.value=g.y}return a2(e,p),b.watch(()=>Xr(e),v=>!v&&p()),i&&Er("scroll",p,{capture:!0,passive:!0}),n&&Er("resize",p,{passive:!0}),$p(()=>{o&&p()}),{height:a,bottom:s,left:u,right:l,top:f,width:c,x:h,y:d,update:p}}var kv=Object.getOwnPropertySymbols,Nx=Object.prototype.hasOwnProperty,Ix=Object.prototype.propertyIsEnumerable,Rx=(e,t)=>{var r={};for(var n in e)Nx.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kv)for(var n of kv(e))t.indexOf(n)<0&&Ix.call(e,n)&&(r[n]=e[n]);return r};function Fx(e,t,r={}){const n=r,{window:i=qi}=n,o=Rx(n,["window"]);let a;const s=o2(()=>i&&"MutationObserver"in i),u=()=>{a&&(a.disconnect(),a=void 0)},l=b.watch(()=>Xr(e),c=>{u(),s.value&&i&&c&&(a=new MutationObserver(t),a.observe(c,o))},{immediate:!0}),f=()=>{u(),l()};return iu(f),{isSupported:s,stop:f}}var Nv;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Nv||(Nv={}));var Lx=Object.defineProperty,Iv=Object.getOwnPropertySymbols,Bx=Object.prototype.hasOwnProperty,Yx=Object.prototype.propertyIsEnumerable,Rv=(e,t,r)=>t in e?Lx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wx=(e,t)=>{for(var r in t||(t={}))Bx.call(t,r)&&Rv(e,r,t[r]);if(Iv)for(var r of Iv(t))Yx.call(t,r)&&Rv(e,r,t[r]);return e};const Ux={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Wx({linear:yx},Ux);function Hx(e,t,r,n={}){var i,o,a;const{clone:s=!1,passive:u=!1,eventName:l,deep:f=!1,defaultValue:c}=n,h=b.getCurrentInstance(),d=r||(h==null?void 0:h.emit)||((i=h==null?void 0:h.$emit)==null?void 0:i.bind(h))||((a=(o=h==null?void 0:h.proxy)==null?void 0:o.$emit)==null?void 0:a.bind(h==null?void 0:h.proxy));let p=l;t||(t="modelValue"),p=l||p||`update:${t.toString()}`;const v=m=>s?hd(s)?s(m):Tx(m):m,g=()=>px(e[t])?v(e[t]):c;if(u){const m=g(),O=b.ref(m);return b.watch(()=>e[t],y=>O.value=v(y)),b.watch(O,y=>{(y!==e[t]||f)&&d(p,y)},{deep:f}),O}else return b.computed({get(){return g()},set(m){d(p,m)}})}function zx({window:e=qi}={}){if(!e)return b.ref(!1);const t=b.ref(e.document.hasFocus());return Er(e,"blur",()=>{t.value=!1}),Er(e,"focus",()=>{t.value=!0}),t}function jx(e={}){const{window:t=qi,initialWidth:r=1/0,initialHeight:n=1/0,listenOrientation:i=!0,includeScrollbar:o=!0}=e,a=b.ref(r),s=b.ref(n),u=()=>{t&&(o?(a.value=t.innerWidth,s.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};return u(),$p(u),Er("resize",u,{passive:!0}),i&&Er("orientationchange",u,{passive:!0}),{width:a,height:s}}/**
2
+ * @vue/shared v3.5.24
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/process.env.NODE_ENV!=="production"&&Object.freeze({});process.env.NODE_ENV!=="production"&&Object.freeze([]);const Vx=()=>{},qx=Object.prototype.hasOwnProperty,Gx=(e,t)=>qx.call(e,t),Xx=Array.isArray,Kx=e=>Tp(e)==="[object Date]",yl=e=>typeof e=="function",Zx=e=>typeof e=="string",s2=e=>e!==null&&typeof e=="object",Jx=e=>(s2(e)||yl(e))&&yl(e.then)&&yl(e.catch),Qx=Object.prototype.toString,Tp=e=>Qx.call(e),e6=e=>Tp(e).slice(8,-1),t6=e=>Tp(e)==="[object Object]",Dp=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},r6=/-\w/g,n6=Dp(e=>e.replace(r6,t=>t.slice(1).toUpperCase())),i6=/\B([A-Z])/g,o6=Dp(e=>e.replace(i6,"-$1").toLowerCase()),a6=Dp(e=>e.charAt(0).toUpperCase()+e.slice(1));var u2=typeof global=="object"&&global&&global.Object===Object&&global,s6=typeof self=="object"&&self&&self.Object===Object&&self,on=u2||s6||Function("return this")(),Lr=on.Symbol,l2=Object.prototype,u6=l2.hasOwnProperty,l6=l2.toString,ts=Lr?Lr.toStringTag:void 0;function c6(e){var t=u6.call(e,ts),r=e[ts];try{e[ts]=void 0;var n=!0}catch{}var i=l6.call(e);return n&&(t?e[ts]=r:delete e[ts]),i}var f6=Object.prototype,h6=f6.toString;function d6(e){return h6.call(e)}var p6="[object Null]",v6="[object Undefined]",Fv=Lr?Lr.toStringTag:void 0;function Ao(e){return e==null?e===void 0?v6:p6:Fv&&Fv in Object(e)?c6(e):d6(e)}function $n(e){return e!=null&&typeof e=="object"}var m6="[object Symbol]";function wc(e){return typeof e=="symbol"||$n(e)&&Ao(e)==m6}function Mp(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var er=Array.isArray,Lv=Lr?Lr.prototype:void 0,Bv=Lv?Lv.toString:void 0;function c2(e){if(typeof e=="string")return e;if(er(e))return Mp(e,c2)+"";if(wc(e))return Bv?Bv.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var g6=/\s/;function y6(e){for(var t=e.length;t--&&g6.test(e.charAt(t)););return t}var w6=/^\s+/;function b6(e){return e&&e.slice(0,y6(e)+1).replace(w6,"")}function tr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Yv=NaN,_6=/^[-+]0x[0-9a-f]+$/i,S6=/^0b[01]+$/i,x6=/^0o[0-7]+$/i,E6=parseInt;function Wv(e){if(typeof e=="number")return e;if(wc(e))return Yv;if(tr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=tr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=b6(e);var r=S6.test(e);return r||x6.test(e)?E6(e.slice(2),r?2:8):_6.test(e)?Yv:+e}function Ap(e){return e}var O6="[object AsyncFunction]",$6="[object Function]",T6="[object GeneratorFunction]",D6="[object Proxy]";function Cp(e){if(!tr(e))return!1;var t=Ao(e);return t==$6||t==T6||t==O6||t==D6}var Xf=on["__core-js_shared__"],Uv=function(){var e=/[^.]+$/.exec(Xf&&Xf.keys&&Xf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function M6(e){return!!Uv&&Uv in e}var A6=Function.prototype,C6=A6.toString;function Co(e){if(e!=null){try{return C6.call(e)}catch{}try{return e+""}catch{}}return""}var P6=/[\\^$.*+?()[\]{}|]/g,k6=/^\[object .+?Constructor\]$/,N6=Function.prototype,I6=Object.prototype,R6=N6.toString,F6=I6.hasOwnProperty,L6=RegExp("^"+R6.call(F6).replace(P6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function B6(e){if(!tr(e)||M6(e))return!1;var t=Cp(e)?L6:k6;return t.test(Co(e))}function Y6(e,t){return e==null?void 0:e[t]}function Po(e,t){var r=Y6(e,t);return B6(r)?r:void 0}var dd=Po(on,"WeakMap"),Hv=Object.create,W6=function(){function e(){}return function(t){if(!tr(t))return{};if(Hv)return Hv(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function U6(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function H6(){}function f2(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var z6=800,j6=16,V6=Date.now;function q6(e){var t=0,r=0;return function(){var n=V6(),i=j6-(n-r);if(r=n,i>0){if(++t>=z6)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function G6(e){return function(){return e}}var Hl=function(){try{var e=Po(Object,"defineProperty");return e({},"",{}),e}catch{}}(),X6=Hl?function(e,t){return Hl(e,"toString",{configurable:!0,enumerable:!1,value:G6(t),writable:!0})}:Ap,h2=q6(X6);function K6(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function d2(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Z6(e){return e!==e}function J6(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}function Q6(e,t,r){return t===t?J6(e,t,r):d2(e,Z6,r)}function eE(e,t){var r=e==null?0:e.length;return!!r&&Q6(e,t,0)>-1}var tE=9007199254740991,rE=/^(?:0|[1-9]\d*)$/;function bc(e,t){var r=typeof e;return t=t??tE,!!t&&(r=="number"||r!="symbol"&&rE.test(e))&&e>-1&&e%1==0&&e<t}function Pp(e,t,r){t=="__proto__"&&Hl?Hl(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function ou(e,t){return e===t||e!==e&&t!==t}var nE=Object.prototype,iE=nE.hasOwnProperty;function kp(e,t,r){var n=e[t];(!(iE.call(e,t)&&ou(n,r))||r===void 0&&!(t in e))&&Pp(e,t,r)}function Ra(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=void 0;u===void 0&&(u=e[s]),i?Pp(r,s,u):kp(r,s,u)}return r}var zv=Math.max;function p2(e,t,r){return t=zv(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=zv(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),U6(e,this,s)}}function v2(e,t){return h2(p2(e,t,Ap),e+"")}var oE=9007199254740991;function Np(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=oE}function Fa(e){return e!=null&&Np(e.length)&&!Cp(e)}function aE(e,t,r){if(!tr(r))return!1;var n=typeof t;return(n=="number"?Fa(r)&&bc(t,r.length):n=="string"&&t in r)?ou(r[t],e):!1}function sE(e){return v2(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&aE(r[0],r[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n<i;){var s=r[n];s&&e(t,s,n,o)}return t})}var uE=Object.prototype;function Ip(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||uE;return e===r}function lE(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var cE="[object Arguments]";function jv(e){return $n(e)&&Ao(e)==cE}var m2=Object.prototype,fE=m2.hasOwnProperty,hE=m2.propertyIsEnumerable,Rs=jv(function(){return arguments}())?jv:function(e){return $n(e)&&fE.call(e,"callee")&&!hE.call(e,"callee")};function dE(){return!1}var g2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vv=g2&&typeof module=="object"&&module&&!module.nodeType&&module,pE=Vv&&Vv.exports===g2,qv=pE?on.Buffer:void 0,vE=qv?qv.isBuffer:void 0,Fs=vE||dE,mE="[object Arguments]",gE="[object Array]",yE="[object Boolean]",wE="[object Date]",bE="[object Error]",_E="[object Function]",SE="[object Map]",xE="[object Number]",EE="[object Object]",OE="[object RegExp]",$E="[object Set]",TE="[object String]",DE="[object WeakMap]",ME="[object ArrayBuffer]",AE="[object DataView]",CE="[object Float32Array]",PE="[object Float64Array]",kE="[object Int8Array]",NE="[object Int16Array]",IE="[object Int32Array]",RE="[object Uint8Array]",FE="[object Uint8ClampedArray]",LE="[object Uint16Array]",BE="[object Uint32Array]",ht={};ht[CE]=ht[PE]=ht[kE]=ht[NE]=ht[IE]=ht[RE]=ht[FE]=ht[LE]=ht[BE]=!0;ht[mE]=ht[gE]=ht[ME]=ht[yE]=ht[AE]=ht[wE]=ht[bE]=ht[_E]=ht[SE]=ht[xE]=ht[EE]=ht[OE]=ht[$E]=ht[TE]=ht[DE]=!1;function YE(e){return $n(e)&&Np(e.length)&&!!ht[Ao(e)]}function Rp(e){return function(t){return e(t)}}var y2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,bs=y2&&typeof module=="object"&&module&&!module.nodeType&&module,WE=bs&&bs.exports===y2,Kf=WE&&u2.process,ya=function(){try{var e=bs&&bs.require&&bs.require("util").types;return e||Kf&&Kf.binding&&Kf.binding("util")}catch{}}(),Gv=ya&&ya.isTypedArray,Fp=Gv?Rp(Gv):YE,UE=Object.prototype,HE=UE.hasOwnProperty;function w2(e,t){var r=er(e),n=!r&&Rs(e),i=!r&&!n&&Fs(e),o=!r&&!n&&!i&&Fp(e),a=r||n||i||o,s=a?lE(e.length,String):[],u=s.length;for(var l in e)(t||HE.call(e,l))&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||bc(l,u)))&&s.push(l);return s}function b2(e,t){return function(r){return e(t(r))}}var zE=b2(Object.keys,Object),jE=Object.prototype,VE=jE.hasOwnProperty;function qE(e){if(!Ip(e))return zE(e);var t=[];for(var r in Object(e))VE.call(e,r)&&r!="constructor"&&t.push(r);return t}function au(e){return Fa(e)?w2(e):qE(e)}function GE(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var XE=Object.prototype,KE=XE.hasOwnProperty;function ZE(e){if(!tr(e))return GE(e);var t=Ip(e),r=[];for(var n in e)n=="constructor"&&(t||!KE.call(e,n))||r.push(n);return r}function su(e){return Fa(e)?w2(e,!0):ZE(e)}var JE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,QE=/^\w*$/;function Lp(e,t){if(er(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||wc(e)?!0:QE.test(e)||!JE.test(e)||t!=null&&e in Object(t)}var Ls=Po(Object,"create");function eO(){this.__data__=Ls?Ls(null):{},this.size=0}function tO(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var rO="__lodash_hash_undefined__",nO=Object.prototype,iO=nO.hasOwnProperty;function oO(e){var t=this.__data__;if(Ls){var r=t[e];return r===rO?void 0:r}return iO.call(t,e)?t[e]:void 0}var aO=Object.prototype,sO=aO.hasOwnProperty;function uO(e){var t=this.__data__;return Ls?t[e]!==void 0:sO.call(t,e)}var lO="__lodash_hash_undefined__";function cO(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ls&&t===void 0?lO:t,this}function Oo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Oo.prototype.clear=eO;Oo.prototype.delete=tO;Oo.prototype.get=oO;Oo.prototype.has=uO;Oo.prototype.set=cO;function fO(){this.__data__=[],this.size=0}function _c(e,t){for(var r=e.length;r--;)if(ou(e[r][0],t))return r;return-1}var hO=Array.prototype,dO=hO.splice;function pO(e){var t=this.__data__,r=_c(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():dO.call(t,r,1),--this.size,!0}function vO(e){var t=this.__data__,r=_c(t,e);return r<0?void 0:t[r][1]}function mO(e){return _c(this.__data__,e)>-1}function gO(e,t){var r=this.__data__,n=_c(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function ui(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ui.prototype.clear=fO;ui.prototype.delete=pO;ui.prototype.get=vO;ui.prototype.has=mO;ui.prototype.set=gO;var Bs=Po(on,"Map");function yO(){this.size=0,this.__data__={hash:new Oo,map:new(Bs||ui),string:new Oo}}function wO(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Sc(e,t){var r=e.__data__;return wO(t)?r[typeof t=="string"?"string":"hash"]:r.map}function bO(e){var t=Sc(this,e).delete(e);return this.size-=t?1:0,t}function _O(e){return Sc(this,e).get(e)}function SO(e){return Sc(this,e).has(e)}function xO(e,t){var r=Sc(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}li.prototype.clear=yO;li.prototype.delete=bO;li.prototype.get=_O;li.prototype.has=SO;li.prototype.set=xO;var EO="Expected a function";function xc(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(EO);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(xc.Cache||li),r}xc.Cache=li;var OO=500;function $O(e){var t=xc(e,function(n){return r.size===OO&&r.clear(),n}),r=t.cache;return t}var TO=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,DO=/\\(\\)?/g,MO=$O(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(TO,function(r,n,i,o){t.push(i?o.replace(DO,"$1"):n||r)}),t});function AO(e){return e==null?"":c2(e)}function La(e,t){return er(e)?e:Lp(e,t)?[e]:MO(AO(e))}function Ba(e){if(typeof e=="string"||wc(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Ec(e,t){t=La(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Ba(t[r++])];return r&&r==n?e:void 0}function _2(e,t,r){var n=e==null?void 0:Ec(e,t);return n===void 0?r:n}function Bp(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Xv=Lr?Lr.isConcatSpreadable:void 0;function CO(e){return er(e)||Rs(e)||!!(Xv&&e&&e[Xv])}function uu(e,t,r,n,i){var o=-1,a=e.length;for(r||(r=CO),i||(i=[]);++o<a;){var s=e[o];t>0&&r(s)?t>1?uu(s,t-1,r,n,i):Bp(i,s):n||(i[i.length]=s)}return i}function S2(e){var t=e==null?0:e.length;return t?uu(e,1):[]}function x2(e){return h2(p2(e,void 0,S2),e+"")}var Yp=b2(Object.getPrototypeOf,Object),PO="[object Object]",kO=Function.prototype,NO=Object.prototype,E2=kO.toString,IO=NO.hasOwnProperty,RO=E2.call(Object);function O2(e){if(!$n(e)||Ao(e)!=PO)return!1;var t=Yp(e);if(t===null)return!0;var r=IO.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&E2.call(r)==RO}function FO(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}function LO(){if(!arguments.length)return[];var e=arguments[0];return er(e)?e:[e]}function BO(){this.__data__=new ui,this.size=0}function YO(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function WO(e){return this.__data__.get(e)}function UO(e){return this.__data__.has(e)}var HO=200;function zO(e,t){var r=this.__data__;if(r instanceof ui){var n=r.__data__;if(!Bs||n.length<HO-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new li(n)}return r.set(e,t),this.size=r.size,this}function Zr(e){var t=this.__data__=new ui(e);this.size=t.size}Zr.prototype.clear=BO;Zr.prototype.delete=YO;Zr.prototype.get=WO;Zr.prototype.has=UO;Zr.prototype.set=zO;function jO(e,t){return e&&Ra(t,au(t),e)}function VO(e,t){return e&&Ra(t,su(t),e)}var $2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Kv=$2&&typeof module=="object"&&module&&!module.nodeType&&module,qO=Kv&&Kv.exports===$2,Zv=qO?on.Buffer:void 0,Jv=Zv?Zv.allocUnsafe:void 0;function T2(e,t){if(t)return e.slice();var r=e.length,n=Jv?Jv(r):new e.constructor(r);return e.copy(n),n}function GO(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}function D2(){return[]}var XO=Object.prototype,KO=XO.propertyIsEnumerable,Qv=Object.getOwnPropertySymbols,Wp=Qv?function(e){return e==null?[]:(e=Object(e),GO(Qv(e),function(t){return KO.call(e,t)}))}:D2;function ZO(e,t){return Ra(e,Wp(e),t)}var JO=Object.getOwnPropertySymbols,M2=JO?function(e){for(var t=[];e;)Bp(t,Wp(e)),e=Yp(e);return t}:D2;function QO(e,t){return Ra(e,M2(e),t)}function A2(e,t,r){var n=t(e);return er(e)?n:Bp(n,r(e))}function pd(e){return A2(e,au,Wp)}function C2(e){return A2(e,su,M2)}var vd=Po(on,"DataView"),md=Po(on,"Promise"),sa=Po(on,"Set"),em="[object Map]",e8="[object Object]",tm="[object Promise]",rm="[object Set]",nm="[object WeakMap]",im="[object DataView]",t8=Co(vd),r8=Co(Bs),n8=Co(md),i8=Co(sa),o8=Co(dd),Gr=Ao;(vd&&Gr(new vd(new ArrayBuffer(1)))!=im||Bs&&Gr(new Bs)!=em||md&&Gr(md.resolve())!=tm||sa&&Gr(new sa)!=rm||dd&&Gr(new dd)!=nm)&&(Gr=function(e){var t=Ao(e),r=t==e8?e.constructor:void 0,n=r?Co(r):"";if(n)switch(n){case t8:return im;case r8:return em;case n8:return tm;case i8:return rm;case o8:return nm}return t});var a8=Object.prototype,s8=a8.hasOwnProperty;function u8(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&s8.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var zl=on.Uint8Array;function Up(e){var t=new e.constructor(e.byteLength);return new zl(t).set(new zl(e)),t}function l8(e,t){var r=t?Up(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var c8=/\w*$/;function f8(e){var t=new e.constructor(e.source,c8.exec(e));return t.lastIndex=e.lastIndex,t}var om=Lr?Lr.prototype:void 0,am=om?om.valueOf:void 0;function h8(e){return am?Object(am.call(e)):{}}function P2(e,t){var r=t?Up(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var d8="[object Boolean]",p8="[object Date]",v8="[object Map]",m8="[object Number]",g8="[object RegExp]",y8="[object Set]",w8="[object String]",b8="[object Symbol]",_8="[object ArrayBuffer]",S8="[object DataView]",x8="[object Float32Array]",E8="[object Float64Array]",O8="[object Int8Array]",$8="[object Int16Array]",T8="[object Int32Array]",D8="[object Uint8Array]",M8="[object Uint8ClampedArray]",A8="[object Uint16Array]",C8="[object Uint32Array]";function P8(e,t,r){var n=e.constructor;switch(t){case _8:return Up(e);case d8:case p8:return new n(+e);case S8:return l8(e,r);case x8:case E8:case O8:case $8:case T8:case D8:case M8:case A8:case C8:return P2(e,r);case v8:return new n;case m8:case w8:return new n(e);case g8:return f8(e);case y8:return new n;case b8:return h8(e)}}function k2(e){return typeof e.constructor=="function"&&!Ip(e)?W6(Yp(e)):{}}var k8="[object Map]";function N8(e){return $n(e)&&Gr(e)==k8}var sm=ya&&ya.isMap,I8=sm?Rp(sm):N8,R8="[object Set]";function F8(e){return $n(e)&&Gr(e)==R8}var um=ya&&ya.isSet,L8=um?Rp(um):F8,B8=1,Y8=2,W8=4,N2="[object Arguments]",U8="[object Array]",H8="[object Boolean]",z8="[object Date]",j8="[object Error]",I2="[object Function]",V8="[object GeneratorFunction]",q8="[object Map]",G8="[object Number]",R2="[object Object]",X8="[object RegExp]",K8="[object Set]",Z8="[object String]",J8="[object Symbol]",Q8="[object WeakMap]",e$="[object ArrayBuffer]",t$="[object DataView]",r$="[object Float32Array]",n$="[object Float64Array]",i$="[object Int8Array]",o$="[object Int16Array]",a$="[object Int32Array]",s$="[object Uint8Array]",u$="[object Uint8ClampedArray]",l$="[object Uint16Array]",c$="[object Uint32Array]",ct={};ct[N2]=ct[U8]=ct[e$]=ct[t$]=ct[H8]=ct[z8]=ct[r$]=ct[n$]=ct[i$]=ct[o$]=ct[a$]=ct[q8]=ct[G8]=ct[R2]=ct[X8]=ct[K8]=ct[Z8]=ct[J8]=ct[s$]=ct[u$]=ct[l$]=ct[c$]=!0;ct[j8]=ct[I2]=ct[Q8]=!1;function ua(e,t,r,n,i,o){var a,s=t&B8,u=t&Y8,l=t&W8;if(r&&(a=i?r(e,n,i,o):r(e)),a!==void 0)return a;if(!tr(e))return e;var f=er(e);if(f){if(a=u8(e),!s)return f2(e,a)}else{var c=Gr(e),h=c==I2||c==V8;if(Fs(e))return T2(e,s);if(c==R2||c==N2||h&&!i){if(a=u||h?{}:k2(e),!s)return u?QO(e,VO(a,e)):ZO(e,jO(a,e))}else{if(!ct[c])return i?e:{};a=P8(e,c,s)}}o||(o=new Zr);var d=o.get(e);if(d)return d;o.set(e,a),L8(e)?e.forEach(function(g){a.add(ua(g,t,r,g,e,o))}):I8(e)&&e.forEach(function(g,m){a.set(m,ua(g,t,r,m,e,o))});var p=l?u?C2:pd:u?su:au,v=f?void 0:p(e);return K6(v||e,function(g,m){v&&(m=g,g=e[m]),kp(a,m,ua(g,t,r,m,e,o))}),a}var f$=4;function h$(e){return ua(e,f$)}var d$=1,p$=4;function v$(e){return ua(e,d$|p$)}var m$="__lodash_hash_undefined__";function g$(e){return this.__data__.set(e,m$),this}function y$(e){return this.__data__.has(e)}function Ys(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new li;++t<r;)this.add(e[t])}Ys.prototype.add=Ys.prototype.push=g$;Ys.prototype.has=y$;function w$(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function F2(e,t){return e.has(t)}var b$=1,_$=2;function L2(e,t,r,n,i,o){var a=r&b$,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(e),f=o.get(t);if(l&&f)return l==t&&f==e;var c=-1,h=!0,d=r&_$?new Ys:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var p=e[c],v=t[c];if(n)var g=a?n(v,p,c,t,e,o):n(p,v,c,e,t,o);if(g!==void 0){if(g)continue;h=!1;break}if(d){if(!w$(t,function(m,O){if(!F2(d,O)&&(p===m||i(p,m,r,n,o)))return d.push(O)})){h=!1;break}}else if(!(p===v||i(p,v,r,n,o))){h=!1;break}}return o.delete(e),o.delete(t),h}function S$(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function Hp(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var x$=1,E$=2,O$="[object Boolean]",$$="[object Date]",T$="[object Error]",D$="[object Map]",M$="[object Number]",A$="[object RegExp]",C$="[object Set]",P$="[object String]",k$="[object Symbol]",N$="[object ArrayBuffer]",I$="[object DataView]",lm=Lr?Lr.prototype:void 0,Zf=lm?lm.valueOf:void 0;function R$(e,t,r,n,i,o,a){switch(r){case I$:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case N$:return!(e.byteLength!=t.byteLength||!o(new zl(e),new zl(t)));case O$:case $$:case M$:return ou(+e,+t);case T$:return e.name==t.name&&e.message==t.message;case A$:case P$:return e==t+"";case D$:var s=S$;case C$:var u=n&x$;if(s||(s=Hp),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;n|=E$,a.set(e,t);var f=L2(s(e),s(t),n,i,o,a);return a.delete(e),f;case k$:if(Zf)return Zf.call(e)==Zf.call(t)}return!1}var F$=1,L$=Object.prototype,B$=L$.hasOwnProperty;function Y$(e,t,r,n,i,o){var a=r&F$,s=pd(e),u=s.length,l=pd(t),f=l.length;if(u!=f&&!a)return!1;for(var c=u;c--;){var h=s[c];if(!(a?h in t:B$.call(t,h)))return!1}var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var v=!0;o.set(e,t),o.set(t,e);for(var g=a;++c<u;){h=s[c];var m=e[h],O=t[h];if(n)var y=a?n(O,m,h,t,e,o):n(m,O,h,e,t,o);if(!(y===void 0?m===O||i(m,O,r,n,o):y)){v=!1;break}g||(g=h=="constructor")}if(v&&!g){var S=e.constructor,_=t.constructor;S!=_&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof _=="function"&&_ instanceof _)&&(v=!1)}return o.delete(e),o.delete(t),v}var W$=1,cm="[object Arguments]",fm="[object Array]",Yu="[object Object]",U$=Object.prototype,hm=U$.hasOwnProperty;function H$(e,t,r,n,i,o){var a=er(e),s=er(t),u=a?fm:Gr(e),l=s?fm:Gr(t);u=u==cm?Yu:u,l=l==cm?Yu:l;var f=u==Yu,c=l==Yu,h=u==l;if(h&&Fs(e)){if(!Fs(t))return!1;a=!0,f=!1}if(h&&!f)return o||(o=new Zr),a||Fp(e)?L2(e,t,r,n,i,o):R$(e,t,u,r,n,i,o);if(!(r&W$)){var d=f&&hm.call(e,"__wrapped__"),p=c&&hm.call(t,"__wrapped__");if(d||p){var v=d?e.value():e,g=p?t.value():t;return o||(o=new Zr),i(v,g,r,n,o)}}return h?(o||(o=new Zr),Y$(e,t,r,n,i,o)):!1}function Oc(e,t,r,n,i){return e===t?!0:e==null||t==null||!$n(e)&&!$n(t)?e!==e&&t!==t:H$(e,t,r,n,Oc,i)}var z$=1,j$=2;function V$(e,t,r,n){var i=r.length,o=i;if(e==null)return!o;for(e=Object(e);i--;){var a=r[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){a=r[i];var s=a[0],u=e[s],l=a[1];if(a[2]){if(u===void 0&&!(s in e))return!1}else{var f=new Zr,c;if(!(c===void 0?Oc(l,u,z$|j$,n,f):c))return!1}}return!0}function B2(e){return e===e&&!tr(e)}function q$(e){for(var t=au(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,B2(i)]}return t}function Y2(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function G$(e){var t=q$(e);return t.length==1&&t[0][2]?Y2(t[0][0],t[0][1]):function(r){return r===e||V$(r,e,t)}}function X$(e,t){return e!=null&&t in Object(e)}function K$(e,t,r){t=La(t,e);for(var n=-1,i=t.length,o=!1;++n<i;){var a=Ba(t[n]);if(!(o=e!=null&&r(e,a)))break;e=e[a]}return o||++n!=i?o:(i=e==null?0:e.length,!!i&&Np(i)&&bc(a,i)&&(er(e)||Rs(e)))}function W2(e,t){return e!=null&&K$(e,t,X$)}var Z$=1,J$=2;function Q$(e,t){return Lp(e)&&B2(t)?Y2(Ba(e),t):function(r){var n=_2(r,e);return n===void 0&&n===t?W2(r,e):Oc(t,n,Z$|J$)}}function eT(e){return function(t){return t==null?void 0:t[e]}}function tT(e){return function(t){return Ec(t,e)}}function rT(e){return Lp(e)?eT(Ba(e)):tT(e)}function U2(e){return typeof e=="function"?e:e==null?Ap:typeof e=="object"?er(e)?Q$(e[0],e[1]):G$(e):rT(e)}function nT(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var u=a[++i];if(r(o[u],u,o)===!1)break}return t}}var H2=nT();function iT(e,t){return e&&H2(e,t,au)}function oT(e,t){return function(r,n){if(r==null)return r;if(!Fa(r))return e(r,n);for(var i=r.length,o=-1,a=Object(r);++o<i&&n(a[o],o,a)!==!1;);return r}}var aT=oT(iT),Jf=function(){return on.Date.now()},sT="Expected a function",uT=Math.max,lT=Math.min;function z2(e,t,r){var n,i,o,a,s,u,l=0,f=!1,c=!1,h=!0;if(typeof e!="function")throw new TypeError(sT);t=Wv(t)||0,tr(r)&&(f=!!r.leading,c="maxWait"in r,o=c?uT(Wv(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h);function d(x){var T=n,C=i;return n=i=void 0,l=x,a=e.apply(C,T),a}function p(x){return l=x,s=setTimeout(m,t),f?d(x):a}function v(x){var T=x-u,C=x-l,L=t-T;return c?lT(L,o-C):L}function g(x){var T=x-u,C=x-l;return u===void 0||T>=t||T<0||c&&C>=o}function m(){var x=Jf();if(g(x))return O(x);s=setTimeout(m,v(x))}function O(x){return s=void 0,h&&n?d(x):(n=i=void 0,a)}function y(){s!==void 0&&clearTimeout(s),l=0,n=u=i=s=void 0}function S(){return s===void 0?a:O(Jf())}function _(){var x=Jf(),T=g(x);if(n=arguments,i=this,u=x,T){if(s===void 0)return p(u);if(c)return clearTimeout(s),s=setTimeout(m,t),d(u)}return s===void 0&&(s=setTimeout(m,t)),a}return _.cancel=y,_.flush=S,_}function gd(e,t,r){(r!==void 0&&!ou(e[t],r)||r===void 0&&!(t in e))&&Pp(e,t,r)}function j2(e){return $n(e)&&Fa(e)}function yd(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function cT(e){return Ra(e,su(e))}function fT(e,t,r,n,i,o,a){var s=yd(e,r),u=yd(t,r),l=a.get(u);if(l){gd(e,r,l);return}var f=o?o(s,u,r+"",e,t,a):void 0,c=f===void 0;if(c){var h=er(u),d=!h&&Fs(u),p=!h&&!d&&Fp(u);f=u,h||d||p?er(s)?f=s:j2(s)?f=f2(s):d?(c=!1,f=T2(u,!0)):p?(c=!1,f=P2(u,!0)):f=[]:O2(u)||Rs(u)?(f=s,Rs(s)?f=cT(s):(!tr(s)||Cp(s))&&(f=k2(u))):c=!1}c&&(a.set(u,f),i(f,u,n,o,a),a.delete(u)),gd(e,r,f)}function V2(e,t,r,n,i){e!==t&&H2(t,function(o,a){if(i||(i=new Zr),tr(o))fT(e,t,a,r,V2,n,i);else{var s=n?n(yd(e,a),o,a+"",e,t,i):void 0;s===void 0&&(s=o),gd(e,a,s)}},su)}function hT(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function dT(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var i=n-1;return d2(e,U2(t),i,!0)}function pT(e,t){var r=-1,n=Fa(e)?Array(e.length):[];return aT(e,function(i,o,a){n[++r]=t(i,o,a)}),n}function vT(e,t){var r=er(e)?Mp:pT;return r(e,U2(t))}function mT(e,t){return uu(vT(e,t),1)}var gT=1/0;function yT(e){var t=e==null?0:e.length;return t?uu(e,gT):[]}function wT(e){for(var t=-1,r=e==null?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n}function bT(e,t){return t.length<2?e:Ec(e,FO(t,0,-1))}function _T(e,t){return Oc(e,t)}function ST(e){return e==null}function xT(e){return e===void 0}var ET=sE(function(e,t,r){V2(e,t,r)});function OT(e,t){return t=La(t,e),e=bT(e,t),e==null||delete e[Ba(hT(t))]}function $T(e){return O2(e)?void 0:e}var TT=1,DT=2,MT=4,AT=x2(function(e,t){var r={};if(e==null)return r;var n=!1;t=Mp(t,function(o){return o=La(o,e),n||(n=o.length>1),o}),Ra(e,C2(e),r),n&&(r=ua(r,TT|DT|MT,$T));for(var i=t.length;i--;)OT(r,t[i]);return r});function q2(e,t,r,n){if(!tr(e))return e;t=La(t,e);for(var i=-1,o=t.length,a=o-1,s=e;s!=null&&++i<o;){var u=Ba(t[i]),l=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(i!=a){var f=s[u];l=void 0,l===void 0&&(l=tr(f)?f:bc(t[i+1])?[]:{})}kp(s,u,l),s=s[u]}return e}function CT(e,t,r){for(var n=-1,i=t.length,o={};++n<i;){var a=t[n],s=Ec(e,a);r(s,a)&&q2(o,La(a,e),s)}return o}function PT(e,t){return CT(e,t,function(r,n){return W2(e,n)})}var kT=x2(function(e,t){return e==null?{}:PT(e,t)});function NT(e,t,r){return e==null?e:q2(e,t,r)}var IT="Expected a function";function RT(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(IT);return tr(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),z2(e,t,{leading:n,maxWait:t,trailing:i})}var FT=1/0,LT=sa&&1/Hp(new sa([,-0]))[1]==FT?function(e){return new sa(e)}:H6,BT=200;function YT(e,t,r){var n=-1,i=eE,o=e.length,a=!0,s=[],u=s;if(o>=BT){var l=LT(e);if(l)return Hp(l);a=!1,i=F2,u=new Ys}else u=s;e:for(;++n<o;){var f=e[n],c=f;if(f=f!==0?f:0,a&&c===c){for(var h=u.length;h--;)if(u[h]===c)continue e;s.push(f)}else i(u,c,r)||(u!==s&&u.push(c),s.push(f))}return s}var WT=v2(function(e){return YT(uu(e,1,j2,!0))});/*! Element Plus Icons Vue v2.3.1 */var UT=b.defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),HT=UT,zT=b.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),jT=zT,VT=b.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),qT=VT,GT=b.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),XT=GT,KT=b.defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),ZT=KT,JT=b.defineComponent({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),QT=JT,e5=b.defineComponent({name:"Back",__name:"back",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),b.createElementVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),t5=e5,r5=b.defineComponent({name:"Calendar",__name:"calendar",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),n5=r5,i5=b.defineComponent({name:"CaretRight",__name:"caret-right",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),o5=i5,a5=b.defineComponent({name:"CaretTop",__name:"caret-top",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),s5=a5,u5=b.defineComponent({name:"Check",__name:"check",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),l5=u5,c5=b.defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),f5=c5,h5=b.defineComponent({name:"CircleCheck",__name:"circle-check",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),b.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),d5=h5,p5=b.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),v5=p5,m5=b.defineComponent({name:"CircleClose",__name:"circle-close",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),b.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),g5=m5,y5=b.defineComponent({name:"Clock",__name:"clock",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),b.createElementVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),b.createElementVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),w5=y5,b5=b.defineComponent({name:"Close",__name:"close",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),_5=b5,S5=b.defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),x5=S5,E5=b.defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),O5=E5,$5=b.defineComponent({name:"Delete",__name:"delete",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),T5=$5,D5=b.defineComponent({name:"Document",__name:"document",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),M5=D5,A5=b.defineComponent({name:"FullScreen",__name:"full-screen",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),C5=A5,P5=b.defineComponent({name:"Hide",__name:"hide",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),b.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),k5=P5,N5=b.defineComponent({name:"InfoFilled",__name:"info-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),I5=N5,R5=b.defineComponent({name:"Loading",__name:"loading",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),F5=R5,L5=b.defineComponent({name:"Minus",__name:"minus",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),B5=L5,Y5=b.defineComponent({name:"MoreFilled",__name:"more-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),W5=Y5,U5=b.defineComponent({name:"More",__name:"more",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),H5=U5,z5=b.defineComponent({name:"Operation",__name:"operation",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),j5=z5,V5=b.defineComponent({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),q5=V5,G5=b.defineComponent({name:"Plus",__name:"plus",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),X5=G5,K5=b.defineComponent({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),Z5=K5,J5=b.defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),Q5=J5,eD=b.defineComponent({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),tD=eD,rD=b.defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),nD=rD,iD=b.defineComponent({name:"Search",__name:"search",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),oD=iD,aD=b.defineComponent({name:"SortDown",__name:"sort-down",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sD=aD,uD=b.defineComponent({name:"SortUp",__name:"sort-up",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),lD=uD,cD=b.defineComponent({name:"StarFilled",__name:"star-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),fD=cD,hD=b.defineComponent({name:"Star",__name:"star",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),dD=hD,pD=b.defineComponent({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),vD=pD,mD=b.defineComponent({name:"View",__name:"view",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),gD=mD,yD=b.defineComponent({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),wD=yD,bD=b.defineComponent({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),_D=bD,SD=b.defineComponent({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,r)=>(b.openBlock(),b.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[b.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),xD=SD,ur="top",Br="bottom",Yr="right",lr="left",zp="auto",lu=[ur,Br,Yr,lr],wa="start",Ws="end",ED="clippingParents",G2="viewport",rs="popper",OD="reference",dm=lu.reduce(function(e,t){return e.concat([t+"-"+wa,t+"-"+Ws])},[]),jp=[].concat(lu,[zp]).reduce(function(e,t){return e.concat([t,t+"-"+wa,t+"-"+Ws])},[]),$D="beforeRead",TD="read",DD="afterRead",MD="beforeMain",AD="main",CD="afterMain",PD="beforeWrite",kD="write",ND="afterWrite",ID=[$D,TD,DD,MD,AD,CD,PD,kD,ND];function Tn(e){return e?(e.nodeName||"").toLowerCase():null}function an(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ba(e){var t=an(e).Element;return e instanceof t||e instanceof Element}function Nr(e){var t=an(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Vp(e){if(typeof ShadowRoot>"u")return!1;var t=an(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function RD(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!Nr(o)||!Tn(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function FD(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(u,l){return u[l]="",u},{});!Nr(i)||!Tn(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}var X2={name:"applyStyles",enabled:!0,phase:"write",fn:RD,effect:FD,requires:["computeStyles"]};function Sn(e){return e.split("-")[0]}var go=Math.max,jl=Math.min,_a=Math.round;function Sa(e,t){t===void 0&&(t=!1);var r=e.getBoundingClientRect(),n=1,i=1;if(Nr(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(n=_a(r.width)/a||1),o>0&&(i=_a(r.height)/o||1)}return{width:r.width/n,height:r.height/i,top:r.top/i,right:r.right/n,bottom:r.bottom/i,left:r.left/n,x:r.left/n,y:r.top/i}}function qp(e){var t=Sa(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function K2(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Vp(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function oi(e){return an(e).getComputedStyle(e)}function LD(e){return["table","td","th"].indexOf(Tn(e))>=0}function Gi(e){return((ba(e)?e.ownerDocument:e.document)||window.document).documentElement}function $c(e){return Tn(e)==="html"?e:e.assignedSlot||e.parentNode||(Vp(e)?e.host:null)||Gi(e)}function pm(e){return!Nr(e)||oi(e).position==="fixed"?null:e.offsetParent}function BD(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&Nr(e)){var n=oi(e);if(n.position==="fixed")return null}var i=$c(e);for(Vp(i)&&(i=i.host);Nr(i)&&["html","body"].indexOf(Tn(i))<0;){var o=oi(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function cu(e){for(var t=an(e),r=pm(e);r&&LD(r)&&oi(r).position==="static";)r=pm(r);return r&&(Tn(r)==="html"||Tn(r)==="body"&&oi(r).position==="static")?t:r||BD(e)||t}function Gp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _s(e,t,r){return go(e,jl(t,r))}function YD(e,t,r){var n=_s(e,t,r);return n>r?r:n}function Z2(){return{top:0,right:0,bottom:0,left:0}}function J2(e){return Object.assign({},Z2(),e)}function Q2(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var WD=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,J2(typeof e!="number"?e:Q2(e,lu))};function UD(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Sn(r.placement),u=Gp(s),l=[lr,Yr].indexOf(s)>=0,f=l?"height":"width";if(!(!o||!a)){var c=WD(i.padding,r),h=qp(o),d=u==="y"?ur:lr,p=u==="y"?Br:Yr,v=r.rects.reference[f]+r.rects.reference[u]-a[u]-r.rects.popper[f],g=a[u]-r.rects.reference[u],m=cu(o),O=m?u==="y"?m.clientHeight||0:m.clientWidth||0:0,y=v/2-g/2,S=c[d],_=O-h[f]-c[p],x=O/2-h[f]/2+y,T=_s(S,x,_),C=u;r.modifiersData[n]=(t={},t[C]=T,t.centerOffset=T-x,t)}}function HD(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!K2(t.elements.popper,i)||(t.elements.arrow=i))}var zD={name:"arrow",enabled:!0,phase:"main",fn:UD,effect:HD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xa(e){return e.split("-")[1]}var jD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function VD(e){var t=e.x,r=e.y,n=window,i=n.devicePixelRatio||1;return{x:_a(t*i)/i||0,y:_a(r*i)/i||0}}function vm(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,f=e.roundOffsets,c=e.isFixed,h=a.x,d=h===void 0?0:h,p=a.y,v=p===void 0?0:p,g=typeof f=="function"?f({x:d,y:v}):{x:d,y:v};d=g.x,v=g.y;var m=a.hasOwnProperty("x"),O=a.hasOwnProperty("y"),y=lr,S=ur,_=window;if(l){var x=cu(r),T="clientHeight",C="clientWidth";if(x===an(r)&&(x=Gi(r),oi(x).position!=="static"&&s==="absolute"&&(T="scrollHeight",C="scrollWidth")),x=x,i===ur||(i===lr||i===Yr)&&o===Ws){S=Br;var L=c&&x===_&&_.visualViewport?_.visualViewport.height:x[T];v-=L-n.height,v*=u?1:-1}if(i===lr||(i===ur||i===Br)&&o===Ws){y=Yr;var W=c&&x===_&&_.visualViewport?_.visualViewport.width:x[C];d-=W-n.width,d*=u?1:-1}}var D=Object.assign({position:s},l&&jD),z=f===!0?VD({x:d,y:v}):{x:d,y:v};if(d=z.x,v=z.y,u){var F;return Object.assign({},D,(F={},F[S]=O?"0":"",F[y]=m?"0":"",F.transform=(_.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",F))}return Object.assign({},D,(t={},t[S]=O?v+"px":"",t[y]=m?d+"px":"",t.transform="",t))}function qD(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,s=r.roundOffsets,u=s===void 0?!0:s,l={placement:Sn(t.placement),variation:xa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,vm(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,vm(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ew={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qD,data:{}},Wu={passive:!0};function GD(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,s=a===void 0?!0:a,u=an(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(f){f.addEventListener("scroll",r.update,Wu)}),s&&u.addEventListener("resize",r.update,Wu),function(){o&&l.forEach(function(f){f.removeEventListener("scroll",r.update,Wu)}),s&&u.removeEventListener("resize",r.update,Wu)}}var tw={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:GD,data:{}},XD={left:"right",right:"left",bottom:"top",top:"bottom"};function wl(e){return e.replace(/left|right|bottom|top/g,function(t){return XD[t]})}var KD={start:"end",end:"start"};function mm(e){return e.replace(/start|end/g,function(t){return KD[t]})}function Xp(e){var t=an(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Kp(e){return Sa(Gi(e)).left+Xp(e).scrollLeft}function ZD(e){var t=an(e),r=Gi(e),n=t.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,s=0;return n&&(i=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,s=n.offsetTop)),{width:i,height:o,x:a+Kp(e),y:s}}function JD(e){var t,r=Gi(e),n=Xp(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=go(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=go(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+Kp(e),u=-n.scrollTop;return oi(i||r).direction==="rtl"&&(s+=go(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:u}}function Zp(e){var t=oi(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function rw(e){return["html","body","#document"].indexOf(Tn(e))>=0?e.ownerDocument.body:Nr(e)&&Zp(e)?e:rw($c(e))}function Ss(e,t){var r;t===void 0&&(t=[]);var n=rw(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=an(n),a=i?[o].concat(o.visualViewport||[],Zp(n)?n:[]):n,s=t.concat(a);return i?s:s.concat(Ss($c(a)))}function wd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function QD(e){var t=Sa(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function gm(e,t){return t===G2?wd(ZD(e)):ba(t)?QD(t):wd(JD(Gi(e)))}function eM(e){var t=Ss($c(e)),r=["absolute","fixed"].indexOf(oi(e).position)>=0,n=r&&Nr(e)?cu(e):e;return ba(n)?t.filter(function(i){return ba(i)&&K2(i,n)&&Tn(i)!=="body"}):[]}function tM(e,t,r){var n=t==="clippingParents"?eM(e):[].concat(t),i=[].concat(n,[r]),o=i[0],a=i.reduce(function(s,u){var l=gm(e,u);return s.top=go(l.top,s.top),s.right=jl(l.right,s.right),s.bottom=jl(l.bottom,s.bottom),s.left=go(l.left,s.left),s},gm(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function nw(e){var t=e.reference,r=e.element,n=e.placement,i=n?Sn(n):null,o=n?xa(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(i){case ur:u={x:a,y:t.y-r.height};break;case Br:u={x:a,y:t.y+t.height};break;case Yr:u={x:t.x+t.width,y:s};break;case lr:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var l=i?Gp(i):null;if(l!=null){var f=l==="y"?"height":"width";switch(o){case wa:u[l]=u[l]-(t[f]/2-r[f]/2);break;case Ws:u[l]=u[l]+(t[f]/2-r[f]/2);break}}return u}function Us(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.boundary,a=o===void 0?ED:o,s=r.rootBoundary,u=s===void 0?G2:s,l=r.elementContext,f=l===void 0?rs:l,c=r.altBoundary,h=c===void 0?!1:c,d=r.padding,p=d===void 0?0:d,v=J2(typeof p!="number"?p:Q2(p,lu)),g=f===rs?OD:rs,m=e.rects.popper,O=e.elements[h?g:f],y=tM(ba(O)?O:O.contextElement||Gi(e.elements.popper),a,u),S=Sa(e.elements.reference),_=nw({reference:S,element:m,placement:i}),x=wd(Object.assign({},m,_)),T=f===rs?x:S,C={top:y.top-T.top+v.top,bottom:T.bottom-y.bottom+v.bottom,left:y.left-T.left+v.left,right:T.right-y.right+v.right},L=e.modifiersData.offset;if(f===rs&&L){var W=L[i];Object.keys(C).forEach(function(D){var z=[Yr,Br].indexOf(D)>=0?1:-1,F=[ur,Br].indexOf(D)>=0?"y":"x";C[D]+=W[F]*z})}return C}function rM(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,l=u===void 0?jp:u,f=xa(n),c=f?s?dm:dm.filter(function(p){return xa(p)===f}):lu,h=c.filter(function(p){return l.indexOf(p)>=0});h.length===0&&(h=c);var d=h.reduce(function(p,v){return p[v]=Us(e,{placement:v,boundary:i,rootBoundary:o,padding:a})[Sn(v)],p},{});return Object.keys(d).sort(function(p,v){return d[p]-d[v]})}function nM(e){if(Sn(e)===zp)return[];var t=wl(e);return[mm(e),t,mm(t)]}function iM(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,s=a===void 0?!0:a,u=r.fallbackPlacements,l=r.padding,f=r.boundary,c=r.rootBoundary,h=r.altBoundary,d=r.flipVariations,p=d===void 0?!0:d,v=r.allowedAutoPlacements,g=t.options.placement,m=Sn(g),O=m===g,y=u||(O||!p?[wl(g)]:nM(g)),S=[g].concat(y).reduce(function(ae,de){return ae.concat(Sn(de)===zp?rM(t,{placement:de,boundary:f,rootBoundary:c,padding:l,flipVariations:p,allowedAutoPlacements:v}):de)},[]),_=t.rects.reference,x=t.rects.popper,T=new Map,C=!0,L=S[0],W=0;W<S.length;W++){var D=S[W],z=Sn(D),F=xa(D)===wa,Y=[ur,Br].indexOf(z)>=0,A=Y?"width":"height",R=Us(t,{placement:D,boundary:f,rootBoundary:c,altBoundary:h,padding:l}),H=Y?F?Yr:lr:F?Br:ur;_[A]>x[A]&&(H=wl(H));var V=wl(H),ie=[];if(o&&ie.push(R[z]<=0),s&&ie.push(R[H]<=0,R[V]<=0),ie.every(function(ae){return ae})){L=D,C=!1;break}T.set(D,ie)}if(C)for(var se=p?3:1,me=function(ae){var de=S.find(function(we){var Se=T.get(we);if(Se)return Se.slice(0,ae).every(function(Ve){return Ve})});if(de)return L=de,"break"},ce=se;ce>0;ce--){var J=me(ce);if(J==="break")break}t.placement!==L&&(t.modifiersData[n]._skip=!0,t.placement=L,t.reset=!0)}}var oM={name:"flip",enabled:!0,phase:"main",fn:iM,requiresIfExists:["offset"],data:{_skip:!1}};function ym(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function wm(e){return[ur,Yr,Br,lr].some(function(t){return e[t]>=0})}function aM(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Us(t,{elementContext:"reference"}),s=Us(t,{altBoundary:!0}),u=ym(a,n),l=ym(s,i,o),f=wm(u),c=wm(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:f,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":c})}var sM={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:aM};function uM(e,t,r){var n=Sn(e),i=[lr,ur].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[lr,Yr].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function lM(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=jp.reduce(function(f,c){return f[c]=uM(c,t.rects,o),f},{}),s=a[t.placement],u=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}var cM={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lM};function fM(e){var t=e.state,r=e.name;t.modifiersData[r]=nw({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var iw={name:"popperOffsets",enabled:!0,phase:"read",fn:fM,data:{}};function hM(e){return e==="x"?"y":"x"}function dM(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,s=a===void 0?!1:a,u=r.boundary,l=r.rootBoundary,f=r.altBoundary,c=r.padding,h=r.tether,d=h===void 0?!0:h,p=r.tetherOffset,v=p===void 0?0:p,g=Us(t,{boundary:u,rootBoundary:l,padding:c,altBoundary:f}),m=Sn(t.placement),O=xa(t.placement),y=!O,S=Gp(m),_=hM(S),x=t.modifiersData.popperOffsets,T=t.rects.reference,C=t.rects.popper,L=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,W=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(x){if(o){var F,Y=S==="y"?ur:lr,A=S==="y"?Br:Yr,R=S==="y"?"height":"width",H=x[S],V=H+g[Y],ie=H-g[A],se=d?-C[R]/2:0,me=O===wa?T[R]:C[R],ce=O===wa?-C[R]:-T[R],J=t.elements.arrow,ae=d&&J?qp(J):{width:0,height:0},de=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z2(),we=de[Y],Se=de[A],Ve=_s(0,T[R],ae[R]),tt=y?T[R]/2-se-Ve-we-W.mainAxis:me-Ve-we-W.mainAxis,it=y?-T[R]/2+se+Ve+Se+W.mainAxis:ce+Ve+Se+W.mainAxis,ve=t.elements.arrow&&cu(t.elements.arrow),_e=ve?S==="y"?ve.clientTop||0:ve.clientLeft||0:0,$e=(F=D==null?void 0:D[S])!=null?F:0,Ae=H+tt-$e-_e,Fe=H+it-$e,Be=_s(d?jl(V,Ae):V,H,d?go(ie,Fe):ie);x[S]=Be,z[S]=Be-H}if(s){var Ye,ft=S==="x"?ur:lr,st=S==="x"?Br:Yr,Ct=x[_],jt=_==="y"?"height":"width",Dr=Ct+g[ft],$=Ct-g[st],N=[ur,lr].indexOf(m)!==-1,B=(Ye=D==null?void 0:D[_])!=null?Ye:0,j=N?Dr:Ct-T[jt]-C[jt]-B+W.altAxis,K=N?Ct+T[jt]+C[jt]-B-W.altAxis:$,X=d&&N?YD(j,Ct,K):_s(d?j:Dr,Ct,d?K:$);x[_]=X,z[_]=X-Ct}t.modifiersData[n]=z}}var pM={name:"preventOverflow",enabled:!0,phase:"main",fn:dM,requiresIfExists:["offset"]};function vM(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mM(e){return e===an(e)||!Nr(e)?Xp(e):vM(e)}function gM(e){var t=e.getBoundingClientRect(),r=_a(t.width)/e.offsetWidth||1,n=_a(t.height)/e.offsetHeight||1;return r!==1||n!==1}function yM(e,t,r){r===void 0&&(r=!1);var n=Nr(t),i=Nr(t)&&gM(t),o=Gi(t),a=Sa(e,i),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((Tn(t)!=="body"||Zp(o))&&(s=mM(t)),Nr(t)?(u=Sa(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=Kp(o))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function wM(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&i(u)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function bM(e){var t=wM(e);return ID.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function _M(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function SM(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var bm={placement:"bottom",modifiers:[],strategy:"absolute"};function _m(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Jp(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?bm:i;return function(a,s,u){u===void 0&&(u=o);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},bm,o),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},f=[],c=!1,h={state:l,setOptions:function(v){var g=typeof v=="function"?v(l.options):v;p(),l.options=Object.assign({},o,l.options,g),l.scrollParents={reference:ba(a)?Ss(a):a.contextElement?Ss(a.contextElement):[],popper:Ss(s)};var m=bM(SM([].concat(n,l.options.modifiers)));return l.orderedModifiers=m.filter(function(O){return O.enabled}),d(),h.update()},forceUpdate:function(){if(!c){var v=l.elements,g=v.reference,m=v.popper;if(_m(g,m)){l.rects={reference:yM(g,cu(m),l.options.strategy==="fixed"),popper:qp(m)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(C){return l.modifiersData[C.name]=Object.assign({},C.data)});for(var O=0;O<l.orderedModifiers.length;O++){if(l.reset===!0){l.reset=!1,O=-1;continue}var y=l.orderedModifiers[O],S=y.fn,_=y.options,x=_===void 0?{}:_,T=y.name;typeof S=="function"&&(l=S({state:l,options:x,name:T,instance:h})||l)}}}},update:_M(function(){return new Promise(function(v){h.forceUpdate(),v(l)})}),destroy:function(){p(),c=!0}};if(!_m(a,s))return h;h.setOptions(u).then(function(v){!c&&u.onFirstUpdate&&u.onFirstUpdate(v)});function d(){l.orderedModifiers.forEach(function(v){var g=v.name,m=v.options,O=m===void 0?{}:m,y=v.effect;if(typeof y=="function"){var S=y({state:l,name:g,instance:h,options:O}),_=function(){};f.push(S||_)}})}function p(){f.forEach(function(v){return v()}),f=[]}return h}}Jp();var xM=[tw,iw,ew,X2];Jp({defaultModifiers:xM});var EM=[tw,iw,ew,X2,cM,oM,pM,zD,sM],OM=Jp({defaultModifiers:EM});const Ea=Math.min,yo=Math.max,Vl=Math.round,Uu=Math.floor,xn=e=>({x:e,y:e}),$M={left:"right",right:"left",bottom:"top",top:"bottom"},TM={start:"end",end:"start"};function bd(e,t,r){return yo(e,Ea(t,r))}function fu(e,t){return typeof e=="function"?e(t):e}function $o(e){return e.split("-")[0]}function hu(e){return e.split("-")[1]}function ow(e){return e==="x"?"y":"x"}function Qp(e){return e==="y"?"height":"width"}const DM=new Set(["top","bottom"]);function Ci(e){return DM.has($o(e))?"y":"x"}function e0(e){return ow(Ci(e))}function MM(e,t,r){r===void 0&&(r=!1);const n=hu(e),i=e0(e),o=Qp(i);let a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=ql(a)),[a,ql(a)]}function AM(e){const t=ql(e);return[_d(e),t,_d(t)]}function _d(e){return e.replace(/start|end/g,t=>TM[t])}const Sm=["left","right"],xm=["right","left"],CM=["top","bottom"],PM=["bottom","top"];function kM(e,t,r){switch(e){case"top":case"bottom":return r?t?xm:Sm:t?Sm:xm;case"left":case"right":return t?CM:PM;default:return[]}}function NM(e,t,r,n){const i=hu(e);let o=kM($o(e),r==="start",n);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(_d)))),o}function ql(e){return e.replace(/left|right|bottom|top/g,t=>$M[t])}function IM(e){return{top:0,right:0,bottom:0,left:0,...e}}function aw(e){return typeof e!="number"?IM(e):{top:e,right:e,bottom:e,left:e}}function Gl(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function Em(e,t,r){let{reference:n,floating:i}=e;const o=Ci(t),a=e0(t),s=Qp(a),u=$o(t),l=o==="y",f=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2,h=n[s]/2-i[s]/2;let d;switch(u){case"top":d={x:f,y:n.y-i.height};break;case"bottom":d={x:f,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:c};break;case"left":d={x:n.x-i.width,y:c};break;default:d={x:n.x,y:n.y}}switch(hu(t)){case"start":d[a]-=h*(r&&l?-1:1);break;case"end":d[a]+=h*(r&&l?-1:1);break}return d}const RM=async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=o.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=Em(l,n,u),h=n,d={},p=0;for(let v=0;v<s.length;v++){const{name:g,fn:m}=s[v],{x:O,y,data:S,reset:_}=await m({x:f,y:c,initialPlacement:n,placement:h,strategy:i,middlewareData:d,rects:l,platform:a,elements:{reference:e,floating:t}});f=O??f,c=y??c,d={...d,[g]:{...d[g],...S}},_&&p<=50&&(p++,typeof _=="object"&&(_.placement&&(h=_.placement),_.rects&&(l=_.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):_.rects),{x:f,y:c}=Em(l,h,u)),v=-1)}return{x:f,y:c,placement:h,strategy:i,middlewareData:d}};async function t0(e,t){var r;t===void 0&&(t={});const{x:n,y:i,platform:o,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:h=!1,padding:d=0}=fu(t,e),p=aw(d),g=s[h?c==="floating"?"reference":"floating":c],m=Gl(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(g)))==null||r?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:u})),O=c==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),S=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},_=Gl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:O,offsetParent:y,strategy:u}):O);return{top:(m.top-_.top+p.top)/S.y,bottom:(_.bottom-m.bottom+p.bottom)/S.y,left:(m.left-_.left+p.left)/S.x,right:(_.right-m.right+p.right)/S.x}}const FM=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:f=0}=fu(e,t)||{};if(l==null)return{};const c=aw(f),h={x:r,y:n},d=e0(i),p=Qp(d),v=await a.getDimensions(l),g=d==="y",m=g?"top":"left",O=g?"bottom":"right",y=g?"clientHeight":"clientWidth",S=o.reference[p]+o.reference[d]-h[d]-o.floating[p],_=h[d]-o.reference[d],x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let T=x?x[y]:0;(!T||!await(a.isElement==null?void 0:a.isElement(x)))&&(T=s.floating[y]||o.floating[p]);const C=S/2-_/2,L=T/2-v[p]/2-1,W=Ea(c[m],L),D=Ea(c[O],L),z=W,F=T-v[p]-D,Y=T/2-v[p]/2+C,A=bd(z,Y,F),R=!u.arrow&&hu(i)!=null&&Y!==A&&o.reference[p]/2-(Y<z?W:D)-v[p]/2<0,H=R?Y<z?Y-z:Y-F:0;return{[d]:h[d]+H,data:{[d]:A,centerOffset:Y-A-H,...R&&{alignmentOffset:H}},reset:R}}}),LM=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:u,elements:l}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...g}=fu(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const m=$o(i),O=Ci(s),y=$o(s)===s,S=await(u.isRTL==null?void 0:u.isRTL(l.floating)),_=h||(y||!v?[ql(s)]:AM(s)),x=p!=="none";!h&&x&&_.push(...NM(s,v,p,S));const T=[s,..._],C=await t0(t,g),L=[];let W=((n=o.flip)==null?void 0:n.overflows)||[];if(f&&L.push(C[m]),c){const Y=MM(i,a,S);L.push(C[Y[0]],C[Y[1]])}if(W=[...W,{placement:i,overflows:L}],!L.every(Y=>Y<=0)){var D,z;const Y=(((D=o.flip)==null?void 0:D.index)||0)+1,A=T[Y];if(A&&(!(c==="alignment"?O!==Ci(A):!1)||W.every(V=>Ci(V.placement)===O?V.overflows[0]>0:!0)))return{data:{index:Y,overflows:W},reset:{placement:A}};let R=(z=W.filter(H=>H.overflows[0]<=0).sort((H,V)=>H.overflows[1]-V.overflows[1])[0])==null?void 0:z.placement;if(!R)switch(d){case"bestFit":{var F;const H=(F=W.filter(V=>{if(x){const ie=Ci(V.placement);return ie===O||ie==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ie=>ie>0).reduce((ie,se)=>ie+se,0)]).sort((V,ie)=>V[1]-ie[1])[0])==null?void 0:F[0];H&&(R=H);break}case"initialPlacement":R=s;break}if(i!==R)return{reset:{placement:R}}}return{}}}},BM=new Set(["left","top"]);async function YM(e,t){const{placement:r,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=$o(r),s=hu(r),u=Ci(r)==="y",l=BM.has(a)?-1:1,f=o&&u?-1:1,c=fu(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return s&&typeof p=="number"&&(d=s==="end"?p*-1:p),u?{x:d*f,y:h*l}:{x:h*l,y:d*f}}const WM=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:o,placement:a,middlewareData:s}=t,u=await YM(t,e);return a===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:a}}}}},UM=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:m,y:O}=g;return{x:m,y:O}}},...u}=fu(e,t),l={x:r,y:n},f=await t0(t,u),c=Ci($o(i)),h=ow(c);let d=l[h],p=l[c];if(o){const g=h==="y"?"top":"left",m=h==="y"?"bottom":"right",O=d+f[g],y=d-f[m];d=bd(O,d,y)}if(a){const g=c==="y"?"top":"left",m=c==="y"?"bottom":"right",O=p+f[g],y=p-f[m];p=bd(O,p,y)}const v=s.fn({...t,[h]:d,[c]:p});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[h]:o,[c]:a}}}}}};function Tc(){return typeof window<"u"}function Ya(e){return sw(e)?(e.nodeName||"").toLowerCase():"#document"}function Or(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function kn(e){var t;return(t=(sw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sw(e){return Tc()?e instanceof Node||e instanceof Or(e).Node:!1}function Qr(e){return Tc()?e instanceof Element||e instanceof Or(e).Element:!1}function Dn(e){return Tc()?e instanceof HTMLElement||e instanceof Or(e).HTMLElement:!1}function Om(e){return!Tc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Or(e).ShadowRoot}const HM=new Set(["inline","contents"]);function du(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=en(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!HM.has(i)}const zM=new Set(["table","td","th"]);function jM(e){return zM.has(Ya(e))}const VM=[":popover-open",":modal"];function Dc(e){return VM.some(t=>{try{return e.matches(t)}catch{return!1}})}const qM=["transform","translate","scale","rotate","perspective"],GM=["transform","translate","scale","rotate","perspective","filter"],XM=["paint","layout","strict","content"];function r0(e){const t=n0(),r=Qr(e)?en(e):e;return qM.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||GM.some(n=>(r.willChange||"").includes(n))||XM.some(n=>(r.contain||"").includes(n))}function KM(e){let t=Ui(e);for(;Dn(t)&&!Oa(t);){if(r0(t))return t;if(Dc(t))return null;t=Ui(t)}return null}function n0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ZM=new Set(["html","body","#document"]);function Oa(e){return ZM.has(Ya(e))}function en(e){return Or(e).getComputedStyle(e)}function Mc(e){return Qr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ui(e){if(Ya(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Om(e)&&e.host||kn(e);return Om(t)?t.host:t}function uw(e){const t=Ui(e);return Oa(t)?e.ownerDocument?e.ownerDocument.body:e.body:Dn(t)&&du(t)?t:uw(t)}function Hs(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=uw(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),a=Or(i);if(o){const s=Sd(a);return t.concat(a,a.visualViewport||[],du(i)?i:[],s&&r?Hs(s):[])}return t.concat(i,Hs(i,[],r))}function Sd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lw(e){const t=en(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=Dn(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=Vl(r)!==o||Vl(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function i0(e){return Qr(e)?e:e.contextElement}function la(e){const t=i0(e);if(!Dn(t))return xn(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=lw(t);let a=(o?Vl(r.width):r.width)/n,s=(o?Vl(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const JM=xn(0);function cw(e){const t=Or(e);return!n0()||!t.visualViewport?JM:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function QM(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Or(e)?!1:t}function To(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),o=i0(e);let a=xn(1);t&&(n?Qr(n)&&(a=la(n)):a=la(e));const s=QM(o,r,n)?cw(o):xn(0);let u=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,c=i.height/a.y;if(o){const h=Or(o),d=n&&Qr(n)?Or(n):n;let p=h,v=Sd(p);for(;v&&n&&d!==p;){const g=la(v),m=v.getBoundingClientRect(),O=en(v),y=m.left+(v.clientLeft+parseFloat(O.paddingLeft))*g.x,S=m.top+(v.clientTop+parseFloat(O.paddingTop))*g.y;u*=g.x,l*=g.y,f*=g.x,c*=g.y,u+=y,l+=S,p=Or(v),v=Sd(p)}}return Gl({width:f,height:c,x:u,y:l})}function Ac(e,t){const r=Mc(e).scrollLeft;return t?t.left+r:To(kn(e)).left+r}function fw(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Ac(e,r),i=r.top+t.scrollTop;return{x:n,y:i}}function eA(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o=i==="fixed",a=kn(n),s=t?Dc(t.floating):!1;if(n===a||s&&o)return r;let u={scrollLeft:0,scrollTop:0},l=xn(1);const f=xn(0),c=Dn(n);if((c||!c&&!o)&&((Ya(n)!=="body"||du(a))&&(u=Mc(n)),Dn(n))){const d=To(n);l=la(n),f.x=d.x+n.clientLeft,f.y=d.y+n.clientTop}const h=a&&!c&&!o?fw(a,u):xn(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+f.x+h.x,y:r.y*l.y-u.scrollTop*l.y+f.y+h.y}}function tA(e){return Array.from(e.getClientRects())}function rA(e){const t=kn(e),r=Mc(e),n=e.ownerDocument.body,i=yo(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=yo(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+Ac(e);const s=-r.scrollTop;return en(n).direction==="rtl"&&(a+=yo(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:s}}const $m=25;function nA(e,t){const r=Or(e),n=kn(e),i=r.visualViewport;let o=n.clientWidth,a=n.clientHeight,s=0,u=0;if(i){o=i.width,a=i.height;const f=n0();(!f||f&&t==="fixed")&&(s=i.offsetLeft,u=i.offsetTop)}const l=Ac(n);if(l<=0){const f=n.ownerDocument,c=f.body,h=getComputedStyle(c),d=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,p=Math.abs(n.clientWidth-c.clientWidth-d);p<=$m&&(o-=p)}else l<=$m&&(o+=l);return{width:o,height:a,x:s,y:u}}const iA=new Set(["absolute","fixed"]);function oA(e,t){const r=To(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=Dn(e)?la(e):xn(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y,u=i*o.x,l=n*o.y;return{width:a,height:s,x:u,y:l}}function Tm(e,t,r){let n;if(t==="viewport")n=nA(e,r);else if(t==="document")n=rA(kn(e));else if(Qr(t))n=oA(t,r);else{const i=cw(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Gl(n)}function hw(e,t){const r=Ui(e);return r===t||!Qr(r)||Oa(r)?!1:en(r).position==="fixed"||hw(r,t)}function aA(e,t){const r=t.get(e);if(r)return r;let n=Hs(e,[],!1).filter(s=>Qr(s)&&Ya(s)!=="body"),i=null;const o=en(e).position==="fixed";let a=o?Ui(e):e;for(;Qr(a)&&!Oa(a);){const s=en(a),u=r0(a);!u&&s.position==="fixed"&&(i=null),(o?!u&&!i:!u&&s.position==="static"&&!!i&&iA.has(i.position)||du(a)&&!u&&hw(e,a))?n=n.filter(f=>f!==a):i=s,a=Ui(a)}return t.set(e,n),n}function sA(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const a=[...r==="clippingAncestors"?Dc(t)?[]:aA(t,this._c):[].concat(r),n],s=a[0],u=a.reduce((l,f)=>{const c=Tm(t,f,i);return l.top=yo(c.top,l.top),l.right=Ea(c.right,l.right),l.bottom=Ea(c.bottom,l.bottom),l.left=yo(c.left,l.left),l},Tm(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function uA(e){const{width:t,height:r}=lw(e);return{width:t,height:r}}function lA(e,t,r){const n=Dn(t),i=kn(t),o=r==="fixed",a=To(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const u=xn(0);function l(){u.x=Ac(i)}if(n||!n&&!o)if((Ya(t)!=="body"||du(i))&&(s=Mc(t)),n){const d=To(t,!0,o,t);u.x=d.x+t.clientLeft,u.y=d.y+t.clientTop}else i&&l();o&&!n&&i&&l();const f=i&&!n&&!o?fw(i,s):xn(0),c=a.left+s.scrollLeft-u.x-f.x,h=a.top+s.scrollTop-u.y-f.y;return{x:c,y:h,width:a.width,height:a.height}}function Qf(e){return en(e).position==="static"}function Dm(e,t){if(!Dn(e)||en(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return kn(e)===r&&(r=r.ownerDocument.body),r}function dw(e,t){const r=Or(e);if(Dc(e))return r;if(!Dn(e)){let i=Ui(e);for(;i&&!Oa(i);){if(Qr(i)&&!Qf(i))return i;i=Ui(i)}return r}let n=Dm(e,t);for(;n&&jM(n)&&Qf(n);)n=Dm(n,t);return n&&Oa(n)&&Qf(n)&&!r0(n)?r:n||KM(e)||r}const cA=async function(e){const t=this.getOffsetParent||dw,r=this.getDimensions,n=await r(e.floating);return{reference:lA(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function fA(e){return en(e).direction==="rtl"}const hA={convertOffsetParentRelativeRectToViewportRelativeRect:eA,getDocumentElement:kn,getClippingRect:sA,getOffsetParent:dw,getElementRects:cA,getClientRects:tA,getDimensions:uA,getScale:la,isElement:Qr,isRTL:fA};function pw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function dA(e,t){let r=null,n;const i=kn(e);function o(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),o();const l=e.getBoundingClientRect(),{left:f,top:c,width:h,height:d}=l;if(s||t(),!h||!d)return;const p=Uu(c),v=Uu(i.clientWidth-(f+h)),g=Uu(i.clientHeight-(c+d)),m=Uu(f),y={rootMargin:-p+"px "+-v+"px "+-g+"px "+-m+"px",threshold:yo(0,Ea(1,u))||1};let S=!0;function _(x){const T=x[0].intersectionRatio;if(T!==u){if(!S)return a();T?a(!1,T):n=setTimeout(()=>{a(!1,1e-7)},1e3)}T===1&&!pw(l,e.getBoundingClientRect())&&a(),S=!1}try{r=new IntersectionObserver(_,{...y,root:i.ownerDocument})}catch{r=new IntersectionObserver(_,y)}r.observe(e)}return a(!0),o}function pA(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,l=i0(e),f=i||o?[...l?Hs(l):[],...Hs(t)]:[];f.forEach(m=>{i&&m.addEventListener("scroll",r,{passive:!0}),o&&m.addEventListener("resize",r)});const c=l&&s?dA(l,r):null;let h=-1,d=null;a&&(d=new ResizeObserver(m=>{let[O]=m;O&&O.target===l&&d&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(t)})),r()}),l&&!u&&d.observe(l),d.observe(t));let p,v=u?To(e):null;u&&g();function g(){const m=To(e);v&&!pw(v,m)&&r(),v=m,p=requestAnimationFrame(g)}return r(),()=>{var m;f.forEach(O=>{i&&O.removeEventListener("scroll",r),o&&O.removeEventListener("resize",r)}),c==null||c(),(m=d)==null||m.disconnect(),d=null,u&&cancelAnimationFrame(p)}}const vA=t0,mA=WM,gA=UM,yA=LM,wA=FM,bA=(e,t,r)=>{const n=new Map,i={platform:hA,...r},o={...i.platform,_c:n};return RM(e,t,{...i,platform:o})};function fo(){return fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fo.apply(this,arguments)}function _A(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,zs(e,t)}function xd(e){return xd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},xd(e)}function zs(e,t){return zs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},zs(e,t)}function SA(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bl(e,t,r){return SA()?bl=Reflect.construct.bind():bl=function(i,o,a){var s=[null];s.push.apply(s,o);var u=Function.bind.apply(i,s),l=new u;return a&&zs(l,a.prototype),l},bl.apply(null,arguments)}function xA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ed(e){var t=typeof Map=="function"?new Map:void 0;return Ed=function(n){if(n===null||!xA(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return bl(n,arguments,xd(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),zs(i,n)},Ed(e)}var EA=/%[sdj%]/g,vw=function(){};typeof process<"u"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof document<"u"&&(vw=function(t,r){typeof console<"u"&&console.warn&&typeof ASYNC_VALIDATOR_NO_WARNING>"u"&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Od(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function xr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0,o=r.length;if(typeof e=="function")return e.apply(null,r);if(typeof e=="string"){var a=e.replace(EA,function(s){if(s==="%%")return"%";if(i>=o)return s;switch(s){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch{return"[Circular]"}break;default:return s}});return a}return e}function OA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Rt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||OA(t)&&typeof e=="string"&&!e)}function $A(e,t,r){var n=[],i=0,o=e.length;function a(s){n.push.apply(n,s||[]),i++,i===o&&r(n)}e.forEach(function(s){t(s,a)})}function Mm(e,t,r){var n=0,i=e.length;function o(a){if(a&&a.length){r(a);return}var s=n;n=n+1,s<i?t(e[s],o):r([])}o([])}function TA(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r]||[])}),t}var Am=function(e){_A(t,e);function t(r,n){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=r,i.fields=n,i}return t}(Ed(Error));function DA(e,t,r,n,i){if(t.first){var o=new Promise(function(h,d){var p=function(m){return n(m),m.length?d(new Am(m,Od(m))):h(i)},v=TA(e);Mm(v,r,p)});return o.catch(function(h){return h}),o}var a=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),u=s.length,l=0,f=[],c=new Promise(function(h,d){var p=function(g){if(f.push.apply(f,g),l++,l===u)return n(f),f.length?d(new Am(f,Od(f))):h(i)};s.length||(n(f),h(i)),s.forEach(function(v){var g=e[v];a.indexOf(v)!==-1?Mm(g,r,p):$A(g,r,p)})});return c.catch(function(h){return h}),c}function MA(e){return!!(e&&e.message!==void 0)}function AA(e,t){for(var r=e,n=0;n<t.length;n++){if(r==null)return r;r=r[t[n]]}return r}function Cm(e,t){return function(r){var n;return e.fullFields?n=AA(t,e.fullFields):n=t[r.field||e.fullField],MA(r)?(r.field=r.field||e.fullField,r.fieldValue=n,r):{message:typeof r=="function"?r():r,fieldValue:n,field:r.field||e.fullField}}}function Pm(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=fo({},e[r],n):e[r]=n}}return e}var mw=function(t,r,n,i,o,a){t.required&&(!n.hasOwnProperty(t.field)||Rt(r,a||t.type))&&i.push(xr(o.messages.required,t.fullField))},CA=function(t,r,n,i,o){(/^\s+$/.test(r)||r==="")&&i.push(xr(o.messages.whitespace,t.fullField))},Hu,PA=function(){if(Hu)return Hu;var e="[a-fA-F\\d:]",t=function(S){return S&&S.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",i=(`
6
+ (?:
7
+ (?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
8
+ (?:`+n+":){6}(?:"+r+"|:"+n+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
9
+ (?:`+n+":){5}(?::"+r+"|(?::"+n+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
10
+ (?:`+n+":){4}(?:(?::"+n+"){0,1}:"+r+"|(?::"+n+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
11
+ (?:`+n+":){3}(?:(?::"+n+"){0,2}:"+r+"|(?::"+n+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
12
+ (?:`+n+":){2}(?:(?::"+n+"){0,3}:"+r+"|(?::"+n+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
13
+ (?:`+n+":){1}(?:(?::"+n+"){0,4}:"+r+"|(?::"+n+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
14
+ (?::(?:(?::`+n+"){0,5}:"+r+"|(?::"+n+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
15
+ )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
16
+ `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+r+"$)|(?:^"+i+"$)"),a=new RegExp("^"+r+"$"),s=new RegExp("^"+i+"$"),u=function(S){return S&&S.exact?o:new RegExp("(?:"+t(S)+r+t(S)+")|(?:"+t(S)+i+t(S)+")","g")};u.v4=function(y){return y&&y.exact?a:new RegExp(""+t(y)+r+t(y),"g")},u.v6=function(y){return y&&y.exact?s:new RegExp(""+t(y)+i+t(y),"g")};var l="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",c=u.v4().source,h=u.v6().source,d="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',O="(?:"+l+"|www\\.)"+f+"(?:localhost|"+c+"|"+h+"|"+d+p+v+")"+g+m;return Hu=new RegExp("(?:^"+O+"$)","i"),Hu},km={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ps={integer:function(t){return ps.number(t)&&parseInt(t,10)===t},float:function(t){return ps.number(t)&&!ps.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!ps.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(km.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(PA())},hex:function(t){return typeof t=="string"&&!!t.match(km.hex)}},kA=function(t,r,n,i,o){if(t.required&&r===void 0){mw(t,r,n,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?ps[s](r)||i.push(xr(o.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&i.push(xr(o.messages.types[s],t.fullField,t.type))},NA=function(t,r,n,i,o){var a=typeof t.len=="number",s=typeof t.min=="number",u=typeof t.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=r,c=null,h=typeof r=="number",d=typeof r=="string",p=Array.isArray(r);if(h?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(f=r.length),d&&(f=r.replace(l,"_").length),a?f!==t.len&&i.push(xr(o.messages[c].len,t.fullField,t.len)):s&&!u&&f<t.min?i.push(xr(o.messages[c].min,t.fullField,t.min)):u&&!s&&f>t.max?i.push(xr(o.messages[c].max,t.fullField,t.max)):s&&u&&(f<t.min||f>t.max)&&i.push(xr(o.messages[c].range,t.fullField,t.min,t.max))},Wo="enum",IA=function(t,r,n,i,o){t[Wo]=Array.isArray(t[Wo])?t[Wo]:[],t[Wo].indexOf(r)===-1&&i.push(xr(o.messages[Wo],t.fullField,t[Wo].join(", ")))},RA=function(t,r,n,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||i.push(xr(o.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(r)||i.push(xr(o.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},We={required:mw,whitespace:CA,type:kA,range:NA,enum:IA,pattern:RA},FA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r,"string")&&!t.required)return n();We.required(t,r,i,a,o,"string"),Rt(r,"string")||(We.type(t,r,i,a,o),We.range(t,r,i,a,o),We.pattern(t,r,i,a,o),t.whitespace===!0&&We.whitespace(t,r,i,a,o))}n(a)},LA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),r!==void 0&&We.type(t,r,i,a,o)}n(a)},BA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),r!==void 0&&(We.type(t,r,i,a,o),We.range(t,r,i,a,o))}n(a)},YA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),r!==void 0&&We.type(t,r,i,a,o)}n(a)},WA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),Rt(r)||We.type(t,r,i,a,o)}n(a)},UA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),r!==void 0&&(We.type(t,r,i,a,o),We.range(t,r,i,a,o))}n(a)},HA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),r!==void 0&&(We.type(t,r,i,a,o),We.range(t,r,i,a,o))}n(a)},zA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r==null&&!t.required)return n();We.required(t,r,i,a,o,"array"),r!=null&&(We.type(t,r,i,a,o),We.range(t,r,i,a,o))}n(a)},jA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),r!==void 0&&We.type(t,r,i,a,o)}n(a)},VA="enum",qA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o),r!==void 0&&We[VA](t,r,i,a,o)}n(a)},GA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r,"string")&&!t.required)return n();We.required(t,r,i,a,o),Rt(r,"string")||We.pattern(t,r,i,a,o)}n(a)},XA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r,"date")&&!t.required)return n();if(We.required(t,r,i,a,o),!Rt(r,"date")){var u;r instanceof Date?u=r:u=new Date(r),We.type(t,u,i,a,o),u&&We.range(t,u.getTime(),i,a,o)}}n(a)},KA=function(t,r,n,i,o){var a=[],s=Array.isArray(r)?"array":typeof r;We.required(t,r,i,a,o,s),n(a)},eh=function(t,r,n,i,o){var a=t.type,s=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Rt(r,a)&&!t.required)return n();We.required(t,r,i,s,o,a),Rt(r,a)||We.type(t,r,i,s,o)}n(s)},ZA=function(t,r,n,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Rt(r)&&!t.required)return n();We.required(t,r,i,a,o)}n(a)},xs={string:FA,method:LA,number:BA,boolean:YA,regexp:WA,integer:UA,float:HA,array:zA,object:jA,enum:qA,pattern:GA,date:XA,url:eh,hex:eh,email:eh,required:KA,any:ZA};function $d(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Td=$d(),pu=function(){function e(r){this.rules=null,this._messages=Td,this.define(r)}var t=e.prototype;return t.define=function(n){var i=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(o){var a=n[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(n){return n&&(this._messages=Pm($d(),n)),this._messages},t.validate=function(n,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var s=n,u=i,l=o;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,s),Promise.resolve(s);function f(v){var g=[],m={};function O(S){if(Array.isArray(S)){var _;g=(_=g).concat.apply(_,S)}else g.push(S)}for(var y=0;y<v.length;y++)O(v[y]);g.length?(m=Od(g),l(g,m)):l(null,s)}if(u.messages){var c=this.messages();c===Td&&(c=$d()),Pm(c,u.messages),u.messages=c}else u.messages=this.messages();var h={},d=u.keys||Object.keys(this.rules);d.forEach(function(v){var g=a.rules[v],m=s[v];g.forEach(function(O){var y=O;typeof y.transform=="function"&&(s===n&&(s=fo({},s)),m=s[v]=y.transform(m)),typeof y=="function"?y={validator:y}:y=fo({},y),y.validator=a.getValidationMethod(y),y.validator&&(y.field=v,y.fullField=y.fullField||v,y.type=a.getType(y),h[v]=h[v]||[],h[v].push({rule:y,value:m,source:s,field:v}))})});var p={};return DA(h,u,function(v,g){var m=v.rule,O=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");O=O&&(m.required||!m.required&&v.value),m.field=v.field;function y(x,T){return fo({},T,{fullField:m.fullField+"."+x,fullFields:m.fullFields?[].concat(m.fullFields,[x]):[x]})}function S(x){x===void 0&&(x=[]);var T=Array.isArray(x)?x:[x];!u.suppressWarning&&T.length&&e.warning("async-validator:",T),T.length&&m.message!==void 0&&(T=[].concat(m.message));var C=T.map(Cm(m,s));if(u.first&&C.length)return p[m.field]=1,g(C);if(!O)g(C);else{if(m.required&&!v.value)return m.message!==void 0?C=[].concat(m.message).map(Cm(m,s)):u.error&&(C=[u.error(m,xr(u.messages.required,m.field))]),g(C);var L={};m.defaultField&&Object.keys(v.value).map(function(z){L[z]=m.defaultField}),L=fo({},L,v.rule.fields);var W={};Object.keys(L).forEach(function(z){var F=L[z],Y=Array.isArray(F)?F:[F];W[z]=Y.map(y.bind(null,z))});var D=new e(W);D.messages(u.messages),v.rule.options&&(v.rule.options.messages=u.messages,v.rule.options.error=u.error),D.validate(v.value,v.rule.options||u,function(z){var F=[];C&&C.length&&F.push.apply(F,C),z&&z.length&&F.push.apply(F,z),g(F.length?F:null)})}}var _;if(m.asyncValidator)_=m.asyncValidator(m,v.value,S,v.source,u);else if(m.validator){try{_=m.validator(m,v.value,S,v.source,u)}catch(x){console.error==null||console.error(x),u.suppressValidatorError||setTimeout(function(){throw x},0),S(x.message)}_===!0?S():_===!1?S(typeof m.message=="function"?m.message(m.fullField||m.field):m.message||(m.fullField||m.field)+" fails"):_ instanceof Array?S(_):_ instanceof Error&&S(_.message)}_&&_.then&&_.then(function(){return S()},function(x){return S(x)})},function(v){f(v)},s)},t.getType=function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!xs.hasOwnProperty(n.type))throw new Error(xr("Unknown rule type %s",n.type));return n.type||"string"},t.getValidationMethod=function(n){if(typeof n.validator=="function")return n.validator;var i=Object.keys(n),o=i.indexOf("message");return o!==-1&&i.splice(o,1),i.length===1&&i[0]==="required"?xs.required:xs[this.getType(n)]||void 0},e}();pu.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");xs[t]=r};pu.warning=vw;pu.messages=Td;pu.validators=xs;function zt(e,t){JA(e)&&(e="100%");var r=QA(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function zu(e){return Math.min(1,Math.max(0,e))}function JA(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function QA(e){return typeof e=="string"&&e.indexOf("%")!==-1}function gw(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ju(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ho(e){return e.length===1?"0"+e:String(e)}function eC(e,t,r){return{r:zt(e,255)*255,g:zt(t,255)*255,b:zt(r,255)*255}}function Nm(e,t,r){e=zt(e,255),t=zt(t,255),r=zt(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=0,s=(n+i)/2;if(n===i)a=0,o=0;else{var u=n-i;switch(a=s>.5?u/(2-n-i):u/(n+i),n){case e:o=(t-r)/u+(t<r?6:0);break;case t:o=(r-e)/u+2;break;case r:o=(e-t)/u+4;break}o/=6}return{h:o,s:a,l:s}}function th(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function tC(e,t,r){var n,i,o;if(e=zt(e,360),t=zt(t,100),r=zt(r,100),t===0)i=r,o=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,s=2*r-a;n=th(s,a,e+1/3),i=th(s,a,e),o=th(s,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Im(e,t,r){e=zt(e,255),t=zt(t,255),r=zt(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=n,s=n-i,u=n===0?0:s/n;if(n===i)o=0;else{switch(n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4;break}o/=6}return{h:o,s:u,v:a}}function rC(e,t,r){e=zt(e,360)*6,t=zt(t,100),r=zt(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),s=r*(1-(1-i)*t),u=n%6,l=[r,a,o,o,s,r][u],f=[s,r,r,a,o,o][u],c=[o,o,s,r,r,a][u];return{r:l*255,g:f*255,b:c*255}}function Rm(e,t,r,n){var i=[ho(Math.round(e).toString(16)),ho(Math.round(t).toString(16)),ho(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function nC(e,t,r,n,i){var o=[ho(Math.round(e).toString(16)),ho(Math.round(t).toString(16)),ho(Math.round(r).toString(16)),ho(iC(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function iC(e){return Math.round(parseFloat(e)*255).toString(16)}function Fm(e){return mr(e)/255}function mr(e){return parseInt(e,16)}function oC(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Dd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function aC(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=lC(e)),typeof e=="object"&&(Wn(e.r)&&Wn(e.g)&&Wn(e.b)?(t=eC(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Wn(e.h)&&Wn(e.s)&&Wn(e.v)?(n=ju(e.s),i=ju(e.v),t=rC(e.h,n,i),a=!0,s="hsv"):Wn(e.h)&&Wn(e.s)&&Wn(e.l)&&(n=ju(e.s),o=ju(e.l),t=tC(e.h,n,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=gw(r),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var sC="[-\\+]?\\d+%?",uC="[-\\+]?\\d*\\.\\d+%?",Pi="(?:".concat(uC,")|(?:").concat(sC,")"),rh="[\\s|\\(]+(".concat(Pi,")[,|\\s]+(").concat(Pi,")[,|\\s]+(").concat(Pi,")\\s*\\)?"),nh="[\\s|\\(]+(".concat(Pi,")[,|\\s]+(").concat(Pi,")[,|\\s]+(").concat(Pi,")[,|\\s]+(").concat(Pi,")\\s*\\)?"),qr={CSS_UNIT:new RegExp(Pi),rgb:new RegExp("rgb"+rh),rgba:new RegExp("rgba"+nh),hsl:new RegExp("hsl"+rh),hsla:new RegExp("hsla"+nh),hsv:new RegExp("hsv"+rh),hsva:new RegExp("hsva"+nh),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function lC(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Dd[e])e=Dd[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=qr.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=qr.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=qr.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=qr.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=qr.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=qr.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=qr.hex8.exec(e),r?{r:mr(r[1]),g:mr(r[2]),b:mr(r[3]),a:Fm(r[4]),format:t?"name":"hex8"}:(r=qr.hex6.exec(e),r?{r:mr(r[1]),g:mr(r[2]),b:mr(r[3]),format:t?"name":"hex"}:(r=qr.hex4.exec(e),r?{r:mr(r[1]+r[1]),g:mr(r[2]+r[2]),b:mr(r[3]+r[3]),a:Fm(r[4]+r[4]),format:t?"name":"hex8"}:(r=qr.hex3.exec(e),r?{r:mr(r[1]+r[1]),g:mr(r[2]+r[2]),b:mr(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Wn(e){return!!qr.CSS_UNIT.exec(String(e))}var cC=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=oC(t)),this.originalInput=t;var i=aC(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=gw(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Im(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Im(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Nm(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Nm(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Rm(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),nC(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(zt(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(zt(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Rm(this.r,this.g,this.b,!1),r=0,n=Object.entries(Dd);r<n.length;r++){var i=n[r],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,i=this.a<1&&this.a>=0,o=!r&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=zu(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=zu(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=zu(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=zu(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,o=r.v,a=[],s=1/t;t--;)a.push(new e({h:n,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(n+a*o)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),yw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){var r=1e3,n=6e4,i=36e5,o="millisecond",a="second",s="minute",u="hour",l="day",f="week",c="month",h="quarter",d="year",p="date",v="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Y){var A=["th","st","nd","rd"],R=Y%100;return"["+Y+(A[(R-20)%10]||A[R]||A[0])+"]"}},y=function(Y,A,R){var H=String(Y);return!H||H.length>=A?Y:""+Array(A+1-H.length).join(R)+Y},S={s:y,z:function(Y){var A=-Y.utcOffset(),R=Math.abs(A),H=Math.floor(R/60),V=R%60;return(A<=0?"+":"-")+y(H,2,"0")+":"+y(V,2,"0")},m:function Y(A,R){if(A.date()<R.date())return-Y(R,A);var H=12*(R.year()-A.year())+(R.month()-A.month()),V=A.clone().add(H,c),ie=R-V<0,se=A.clone().add(H+(ie?-1:1),c);return+(-(H+(R-V)/(ie?V-se:se-V))||0)},a:function(Y){return Y<0?Math.ceil(Y)||0:Math.floor(Y)},p:function(Y){return{M:c,y:d,w:f,d:l,D:p,h:u,m:s,s:a,ms:o,Q:h}[Y]||String(Y||"").toLowerCase().replace(/s$/,"")},u:function(Y){return Y===void 0}},_="en",x={};x[_]=O;var T="$isDayjsObject",C=function(Y){return Y instanceof z||!(!Y||!Y[T])},L=function Y(A,R,H){var V;if(!A)return _;if(typeof A=="string"){var ie=A.toLowerCase();x[ie]&&(V=ie),R&&(x[ie]=R,V=ie);var se=A.split("-");if(!V&&se.length>1)return Y(se[0])}else{var me=A.name;x[me]=A,V=me}return!H&&V&&(_=V),V||!H&&_},W=function(Y,A){if(C(Y))return Y.clone();var R=typeof A=="object"?A:{};return R.date=Y,R.args=arguments,new z(R)},D=S;D.l=L,D.i=C,D.w=function(Y,A){return W(Y,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var z=function(){function Y(R){this.$L=L(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[T]=!0}var A=Y.prototype;return A.parse=function(R){this.$d=function(H){var V=H.date,ie=H.utc;if(V===null)return new Date(NaN);if(D.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var se=V.match(g);if(se){var me=se[2]-1||0,ce=(se[7]||"0").substring(0,3);return ie?new Date(Date.UTC(se[1],me,se[3]||1,se[4]||0,se[5]||0,se[6]||0,ce)):new Date(se[1],me,se[3]||1,se[4]||0,se[5]||0,se[6]||0,ce)}}return new Date(V)}(R),this.init()},A.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},A.$utils=function(){return D},A.isValid=function(){return this.$d.toString()!==v},A.isSame=function(R,H){var V=W(R);return this.startOf(H)<=V&&V<=this.endOf(H)},A.isAfter=function(R,H){return W(R)<this.startOf(H)},A.isBefore=function(R,H){return this.endOf(H)<W(R)},A.$g=function(R,H,V){return D.u(R)?this[H]:this.set(V,R)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(R,H){var V=this,ie=!!D.u(H)||H,se=D.p(R),me=function(tt,it){var ve=D.w(V.$u?Date.UTC(V.$y,it,tt):new Date(V.$y,it,tt),V);return ie?ve:ve.endOf(l)},ce=function(tt,it){return D.w(V.toDate()[tt].apply(V.toDate("s"),(ie?[0,0,0,0]:[23,59,59,999]).slice(it)),V)},J=this.$W,ae=this.$M,de=this.$D,we="set"+(this.$u?"UTC":"");switch(se){case d:return ie?me(1,0):me(31,11);case c:return ie?me(1,ae):me(0,ae+1);case f:var Se=this.$locale().weekStart||0,Ve=(J<Se?J+7:J)-Se;return me(ie?de-Ve:de+(6-Ve),ae);case l:case p:return ce(we+"Hours",0);case u:return ce(we+"Minutes",1);case s:return ce(we+"Seconds",2);case a:return ce(we+"Milliseconds",3);default:return this.clone()}},A.endOf=function(R){return this.startOf(R,!1)},A.$set=function(R,H){var V,ie=D.p(R),se="set"+(this.$u?"UTC":""),me=(V={},V[l]=se+"Date",V[p]=se+"Date",V[c]=se+"Month",V[d]=se+"FullYear",V[u]=se+"Hours",V[s]=se+"Minutes",V[a]=se+"Seconds",V[o]=se+"Milliseconds",V)[ie],ce=ie===l?this.$D+(H-this.$W):H;if(ie===c||ie===d){var J=this.clone().set(p,1);J.$d[me](ce),J.init(),this.$d=J.set(p,Math.min(this.$D,J.daysInMonth())).$d}else me&&this.$d[me](ce);return this.init(),this},A.set=function(R,H){return this.clone().$set(R,H)},A.get=function(R){return this[D.p(R)]()},A.add=function(R,H){var V,ie=this;R=Number(R);var se=D.p(H),me=function(ae){var de=W(ie);return D.w(de.date(de.date()+Math.round(ae*R)),ie)};if(se===c)return this.set(c,this.$M+R);if(se===d)return this.set(d,this.$y+R);if(se===l)return me(1);if(se===f)return me(7);var ce=(V={},V[s]=n,V[u]=i,V[a]=r,V)[se]||1,J=this.$d.getTime()+R*ce;return D.w(J,this)},A.subtract=function(R,H){return this.add(-1*R,H)},A.format=function(R){var H=this,V=this.$locale();if(!this.isValid())return V.invalidDate||v;var ie=R||"YYYY-MM-DDTHH:mm:ssZ",se=D.z(this),me=this.$H,ce=this.$m,J=this.$M,ae=V.weekdays,de=V.months,we=V.meridiem,Se=function(it,ve,_e,$e){return it&&(it[ve]||it(H,ie))||_e[ve].slice(0,$e)},Ve=function(it){return D.s(me%12||12,it,"0")},tt=we||function(it,ve,_e){var $e=it<12?"AM":"PM";return _e?$e.toLowerCase():$e};return ie.replace(m,function(it,ve){return ve||function(_e){switch(_e){case"YY":return String(H.$y).slice(-2);case"YYYY":return D.s(H.$y,4,"0");case"M":return J+1;case"MM":return D.s(J+1,2,"0");case"MMM":return Se(V.monthsShort,J,de,3);case"MMMM":return Se(de,J);case"D":return H.$D;case"DD":return D.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return Se(V.weekdaysMin,H.$W,ae,2);case"ddd":return Se(V.weekdaysShort,H.$W,ae,3);case"dddd":return ae[H.$W];case"H":return String(me);case"HH":return D.s(me,2,"0");case"h":return Ve(1);case"hh":return Ve(2);case"a":return tt(me,ce,!0);case"A":return tt(me,ce,!1);case"m":return String(ce);case"mm":return D.s(ce,2,"0");case"s":return String(H.$s);case"ss":return D.s(H.$s,2,"0");case"SSS":return D.s(H.$ms,3,"0");case"Z":return se}return null}(it)||se.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(R,H,V){var ie,se=this,me=D.p(H),ce=W(R),J=(ce.utcOffset()-this.utcOffset())*n,ae=this-ce,de=function(){return D.m(se,ce)};switch(me){case d:ie=de()/12;break;case c:ie=de();break;case h:ie=de()/3;break;case f:ie=(ae-J)/6048e5;break;case l:ie=(ae-J)/864e5;break;case u:ie=ae/i;break;case s:ie=ae/n;break;case a:ie=ae/r;break;default:ie=ae}return V?ie:D.a(ie)},A.daysInMonth=function(){return this.endOf(c).$D},A.$locale=function(){return x[this.$L]},A.locale=function(R,H){if(!R)return this.$L;var V=this.clone(),ie=L(R,H,!0);return ie&&(V.$L=ie),V},A.clone=function(){return D.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},Y}(),F=z.prototype;return W.prototype=F,[["$ms",o],["$s",a],["$m",s],["$H",u],["$W",l],["$M",c],["$y",d],["$D",p]].forEach(function(Y){F[Y[1]]=function(A){return this.$g(A,Y[0],Y[1])}}),W.extend=function(Y,A){return Y.$i||(Y(A,z,W),Y.$i=!0),W},W.locale=L,W.isDayjs=C,W.unix=function(Y){return W(1e3*Y)},W.en=x[_],W.Ls=x,W.p={},W})})(yw);var fC=yw.exports;const hC=Pe.getDefaultExportFromCjs(fC);var ww={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,o=/\d\d/,a=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},l=function(g){return(g=+g)+(g>68?1900:2e3)},f=function(g){return function(m){this[g]=+m}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var O=m.match(/([+-]|\d\d)/g),y=60*O[1]+(+O[2]||0);return y===0?0:O[0]==="+"?-y:y}(g)}],h=function(g){var m=u[g];return m&&(m.indexOf?m:m.s.concat(m.f))},d=function(g,m){var O,y=u.meridiem;if(y){for(var S=1;S<=24;S+=1)if(g.indexOf(y(S,0,m))>-1){O=S>12;break}}else O=g===(m?"pm":"PM");return O},p={A:[s,function(g){this.afternoon=d(g,!1)}],a:[s,function(g){this.afternoon=d(g,!0)}],Q:[i,function(g){this.month=3*(g-1)+1}],S:[i,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[a,f("seconds")],ss:[a,f("seconds")],m:[a,f("minutes")],mm:[a,f("minutes")],H:[a,f("hours")],h:[a,f("hours")],HH:[a,f("hours")],hh:[a,f("hours")],D:[a,f("day")],DD:[o,f("day")],Do:[s,function(g){var m=u.ordinal,O=g.match(/\d+/);if(this.day=O[0],m)for(var y=1;y<=31;y+=1)m(y).replace(/\[|\]/g,"")===g&&(this.day=y)}],w:[a,f("week")],ww:[o,f("week")],M:[a,f("month")],MM:[o,f("month")],MMM:[s,function(g){var m=h("months"),O=(h("monthsShort")||m.map(function(y){return y.slice(0,3)})).indexOf(g)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[s,function(g){var m=h("months").indexOf(g)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,f("year")],YY:[o,function(g){this.year=l(g)}],YYYY:[/\d{4}/,f("year")],Z:c,ZZ:c};function v(g){var m,O;m=g,O=u&&u.formats;for(var y=(g=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(W,D,z){var F=z&&z.toUpperCase();return D||O[z]||r[z]||O[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Y,A,R){return A||R.slice(1)})})).match(n),S=y.length,_=0;_<S;_+=1){var x=y[_],T=p[x],C=T&&T[0],L=T&&T[1];y[_]=L?{regex:C,parser:L}:x.replace(/^\[|\]$/g,"")}return function(W){for(var D={},z=0,F=0;z<S;z+=1){var Y=y[z];if(typeof Y=="string")F+=Y.length;else{var A=Y.regex,R=Y.parser,H=W.slice(F),V=A.exec(H)[0];R.call(D,V),W=W.replace(V,"")}}return function(ie){var se=ie.afternoon;if(se!==void 0){var me=ie.hours;se?me<12&&(ie.hours+=12):me===12&&(ie.hours=0),delete ie.afternoon}}(D),D}}return function(g,m,O){O.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(l=g.parseTwoDigitYear);var y=m.prototype,S=y.parse;y.parse=function(_){var x=_.date,T=_.utc,C=_.args;this.$u=T;var L=C[1];if(typeof L=="string"){var W=C[2]===!0,D=C[3]===!0,z=W||D,F=C[2];D&&(F=C[2]),u=this.$locale(),!W&&F&&(u=O.Ls[F]),this.$d=function(H,V,ie,se){try{if(["x","X"].indexOf(V)>-1)return new Date((V==="X"?1e3:1)*H);var me=v(V)(H),ce=me.year,J=me.month,ae=me.day,de=me.hours,we=me.minutes,Se=me.seconds,Ve=me.milliseconds,tt=me.zone,it=me.week,ve=new Date,_e=ae||(ce||J?1:ve.getDate()),$e=ce||ve.getFullYear(),Ae=0;ce&&!J||(Ae=J>0?J-1:ve.getMonth());var Fe,Be=de||0,Ye=we||0,ft=Se||0,st=Ve||0;return tt?new Date(Date.UTC($e,Ae,_e,Be,Ye,ft,st+60*tt.offset*1e3)):ie?new Date(Date.UTC($e,Ae,_e,Be,Ye,ft,st)):(Fe=new Date($e,Ae,_e,Be,Ye,ft,st),it&&(Fe=se(Fe).week(it).toDate()),Fe)}catch{return new Date("")}}(x,L,T,O),this.init(),F&&F!==!0&&(this.$L=this.locale(F).$L),z&&x!=this.format(L)&&(this.$d=new Date("")),u={}}else if(L instanceof Array)for(var Y=L.length,A=1;A<=Y;A+=1){C[1]=L[A-1];var R=O.apply(this,C);if(R.isValid()){this.$d=R.$d,this.$L=R.$L,this.init();break}A===Y&&(this.$d=new Date(""))}else S.call(this,_)}}})})(ww);var dC=ww.exports;const pC=Pe.getDefaultExportFromCjs(dC);var Lm=!1,so,Md,Ad,_l,Sl,bw,xl,Cd,Pd,kd,_w,Nd,Id,Sw,xw;function ir(){if(!Lm){Lm=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),r=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Nd=/\b(iPhone|iP[ao]d)/.exec(e),Id=/\b(iP[ao]d)/.exec(e),kd=/Android/i.exec(e),Sw=/FBAN\/\w+;/i.exec(e),xw=/Mobile/i.exec(e),_w=!!/Win64/.exec(e),t){so=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,so&&document&&document.documentMode&&(so=document.documentMode);var n=/(?:Trident\/(\d+.\d+))/.exec(e);bw=n?parseFloat(n[1])+4:so,Md=t[2]?parseFloat(t[2]):NaN,Ad=t[3]?parseFloat(t[3]):NaN,_l=t[4]?parseFloat(t[4]):NaN,_l?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Sl=t&&t[1]?parseFloat(t[1]):NaN):Sl=NaN}else so=Md=Ad=Sl=_l=NaN;if(r){if(r[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);xl=i?parseFloat(i[1].replace("_",".")):!0}else xl=!1;Cd=!!r[2],Pd=!!r[3]}else xl=Cd=Pd=!1}}var Rd={ie:function(){return ir()||so},ieCompatibilityMode:function(){return ir()||bw>so},ie64:function(){return Rd.ie()&&_w},firefox:function(){return ir()||Md},opera:function(){return ir()||Ad},webkit:function(){return ir()||_l},safari:function(){return Rd.webkit()},chrome:function(){return ir()||Sl},windows:function(){return ir()||Cd},osx:function(){return ir()||xl},linux:function(){return ir()||Pd},iphone:function(){return ir()||Nd},mobile:function(){return ir()||Nd||Id||kd||xw},nativeApp:function(){return ir()||Sw},android:function(){return ir()||kd},ipad:function(){return ir()||Id}},vC=Rd,mC=!!(typeof window<"u"&&window.document&&window.document.createElement),gC={canUseDOM:mC},Ew=gC,Ow;Ew.canUseDOM&&(Ow=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function yC(e,t){if(!Ew.canUseDOM||t&&!("addEventListener"in document))return!1;var r="on"+e,n=r in document;if(!n){var i=document.createElement("div");i.setAttribute(r,"return;"),n=typeof i[r]=="function"}return!n&&Ow&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var wC=yC,Bm=10,Ym=40,Wm=800;function $w(e){var t=0,r=0,n=0,i=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=t*Bm,i=r*Bm,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||i)&&e.deltaMode&&(e.deltaMode==1?(n*=Ym,i*=Ym):(n*=Wm,i*=Wm)),n&&!t&&(t=n<1?-1:1),i&&!r&&(r=i<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:i}}$w.getEventType=function(){return vC.firefox()?"DOMMouseScroll":wC("wheel")?"wheel":"mousewheel"};var bC=$w;/**
17
+ * Checks if an event is supported in the current execution environment.
18
+ *
19
+ * NOTE: This will not work correctly for non-generic events such as `change`,
20
+ * `reset`, `load`, `error`, and `select`.
21
+ *
22
+ * Borrows from Modernizr.
23
+ *
24
+ * @param {string} eventNameSuffix Event name, e.g. "click".
25
+ * @param {?boolean} capture Check if the capture phase is supported.
26
+ * @return {boolean} True if the event is supported.
27
+ * @internal
28
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
29
+ */var Tw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){return function(r,n,i){var o=n.prototype,a=function(c){return c&&(c.indexOf?c:c.s)},s=function(c,h,d,p,v){var g=c.name?c:c.$locale(),m=a(g[h]),O=a(g[d]),y=m||O.map(function(_){return _.slice(0,p)});if(!v)return y;var S=g.weekStart;return y.map(function(_,x){return y[(x+(S||0))%7]})},u=function(){return i.Ls[i.locale()]},l=function(c,h){return c.formats[h]||function(d){return d.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,v,g){return v||g.slice(1)})}(c.formats[h.toUpperCase()])},f=function(){var c=this;return{months:function(h){return h?h.format("MMMM"):s(c,"months")},monthsShort:function(h){return h?h.format("MMM"):s(c,"monthsShort","months",3)},firstDayOfWeek:function(){return c.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):s(c,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):s(c,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):s(c,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return l(c.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return f.bind(this)()},i.localeData=function(){var c=u();return{firstDayOfWeek:function(){return c.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(h){return l(c,h)},meridiem:c.meridiem,ordinal:c.ordinal}},i.months=function(){return s(u(),"months")},i.monthsShort=function(){return s(u(),"monthsShort","months",3)},i.weekdays=function(c){return s(u(),"weekdays",null,null,c)},i.weekdaysShort=function(c){return s(u(),"weekdaysShort","weekdays",3,c)},i.weekdaysMin=function(c){return s(u(),"weekdaysMin","weekdays",2,c)}}})})(Tw);var _C=Tw.exports;const SC=Pe.getDefaultExportFromCjs(_C);var Dw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){return function(r,n){var i=n.prototype,o=i.format;i.format=function(a){var s=this,u=this.$locale();if(!this.isValid())return o.bind(this)(a);var l=this.$utils(),f=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(c){switch(c){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return u.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return u.ordinal(s.week(),"W");case"w":case"ww":return l.s(s.week(),c==="w"?1:2,"0");case"W":case"WW":return l.s(s.isoWeek(),c==="W"?1:2,"0");case"k":case"kk":return l.s(String(s.$H===0?24:s.$H),c==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return c}});return o.bind(this)(f)}}})})(Dw);var xC=Dw.exports;const EC=Pe.getDefaultExportFromCjs(xC);var Mw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){var r="week",n="year";return function(i,o,a){var s=o.prototype;s.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var l=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var f=a(this).startOf(n).add(1,n).date(l),c=a(this).endOf(r);if(f.isBefore(c))return 1}var h=a(this).startOf(n).date(l).startOf(r).subtract(1,"millisecond"),d=this.diff(h,r,!0);return d<0?a(this).startOf("week").week():Math.ceil(d)},s.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(Mw);var OC=Mw.exports;const $C=Pe.getDefaultExportFromCjs(OC);var Aw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){return function(r,n){n.prototype.weekYear=function(){var i=this.month(),o=this.week(),a=this.year();return o===1&&i===11?a+1:i===0&&o>=52?a-1:a}}})})(Aw);var TC=Aw.exports;const DC=Pe.getDefaultExportFromCjs(TC);var Cw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){return function(r,n,i){n.prototype.dayOfYear=function(o){var a=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return o==null?a:this.add(o-a,"day")}}})})(Cw);var MC=Cw.exports;const AC=Pe.getDefaultExportFromCjs(MC);var Pw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){return function(r,n){n.prototype.isSameOrAfter=function(i,o){return this.isSame(i,o)||this.isAfter(i,o)}}})})(Pw);var CC=Pw.exports;const PC=Pe.getDefaultExportFromCjs(CC);var kw={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Pe.commonjsGlobal,function(){return function(r,n){n.prototype.isSameOrBefore=function(i,o){return this.isSame(i,o)||this.isBefore(i,o)}}})})(kw);var kC=kw.exports;const NC=Pe.getDefaultExportFromCjs(kC);var Um=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function IC(e,t){return!!(e===t||Um(e)&&Um(t))}function RC(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!IC(e[r],t[r]))return!1;return!0}function FC(e,t){t===void 0&&(t=RC);var r=null;function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(r&&r.lastThis===this&&t(i,r.lastArgs))return r.lastResult;var a=e.apply(this,i);return r={lastResult:a,lastArgs:i,lastThis:this},a}return n.clear=function(){r=null},n}function ih(e){return e===""?e:e==="true"||e=="1"}function LC(e,t){return new Promise((r,n)=>{var i=new XMLHttpRequest;i.responseType="blob",i.onload=function(){var o=new FileReader;o.onloadend=function(){r(o.result)},o.readAsArrayBuffer(i.response)},i.open("GET",e),i.send()})}function fn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Hm(e,t){for(var r="",n=0,i=-1,o=0,a,s=0;s<=e.length;++s){if(s<e.length)a=e.charCodeAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||o===1))if(i!==s-1&&o===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var u=r.lastIndexOf("/");if(u!==r.length-1){u===-1?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),i=s,o=0;continue}}else if(r.length===2||r.length===1){r="",n=0,i=s,o=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(i+1,s):r=e.slice(i+1,s),n=s-i-1;i=s,o=0}else a===46&&o!==-1?++o:o=-1}return r}function BC(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var wo={resolve:function(){for(var t="",r=!1,n,i=arguments.length-1;i>=-1&&!r;i--){var o;i>=0?o=arguments[i]:(n===void 0&&(n=process.cwd()),o=n),fn(o),o.length!==0&&(t=o+"/"+t,r=o.charCodeAt(0)===47)}return t=Hm(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(fn(t),t.length===0)return".";var r=t.charCodeAt(0)===47,n=t.charCodeAt(t.length-1)===47;return t=Hm(t,!r),t.length===0&&!r&&(t="."),t.length>0&&n&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return fn(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,r=0;r<arguments.length;++r){var n=arguments[r];fn(n),n.length>0&&(t===void 0?t=n:t+="/"+n)}return t===void 0?".":wo.normalize(t)},relative:function(t,r){if(fn(t),fn(r),t===r||(t=wo.resolve(t),r=wo.resolve(r),t===r))return"";for(var n=1;n<t.length&&t.charCodeAt(n)===47;++n);for(var i=t.length,o=i-n,a=1;a<r.length&&r.charCodeAt(a)===47;++a);for(var s=r.length,u=s-a,l=o<u?o:u,f=-1,c=0;c<=l;++c){if(c===l){if(u>l){if(r.charCodeAt(a+c)===47)return r.slice(a+c+1);if(c===0)return r.slice(a+c)}else o>l&&(t.charCodeAt(n+c)===47?f=c:c===0&&(f=0));break}var h=t.charCodeAt(n+c),d=r.charCodeAt(a+c);if(h!==d)break;h===47&&(f=c)}var p="";for(c=n+f+1;c<=i;++c)(c===i||t.charCodeAt(c)===47)&&(p.length===0?p+="..":p+="/..");return p.length>0?p+r.slice(a+f):(a+=f,r.charCodeAt(a)===47&&++a,r.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(fn(t),t.length===0)return".";for(var r=t.charCodeAt(0),n=r===47,i=-1,o=!0,a=t.length-1;a>=1;--a)if(r=t.charCodeAt(a),r===47){if(!o){i=a;break}}else o=!1;return i===-1?n?"/":".":n&&i===1?"//":t.slice(0,i)},basename:function(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');fn(t);var n=0,i=-1,o=!0,a;if(r!==void 0&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var s=r.length-1,u=-1;for(a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(l===47){if(!o){n=a+1;break}}else u===-1&&(o=!1,u=a+1),s>=0&&(l===r.charCodeAt(s)?--s===-1&&(i=a):(s=-1,i=u))}return n===i?i=u:i===-1&&(i=t.length),t.slice(n,i)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!o){n=a+1;break}}else i===-1&&(o=!1,i=a+1);return i===-1?"":t.slice(n,i)}},extname:function(t){fn(t);for(var r=-1,n=0,i=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var u=t.charCodeAt(s);if(u===47){if(!o){n=s+1;break}continue}i===-1&&(o=!1,i=s+1),u===46?r===-1?r=s:a!==1&&(a=1):r!==-1&&(a=-1)}return r===-1||i===-1||a===0||a===1&&r===i-1&&r===n+1?"":t.slice(r,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return BC("/",t)},parse:function(t){fn(t);var r={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return r;var n=t.charCodeAt(0),i=n===47,o;i?(r.root="/",o=1):o=0;for(var a=-1,s=0,u=-1,l=!0,f=t.length-1,c=0;f>=o;--f){if(n=t.charCodeAt(f),n===47){if(!l){s=f+1;break}continue}u===-1&&(l=!1,u=f+1),n===46?a===-1?a=f:c!==1&&(c=1):a!==-1&&(c=-1)}return a===-1||u===-1||c===0||c===1&&a===u-1&&a===s+1?u!==-1&&(s===0&&i?r.base=r.name=t.slice(1,u):r.base=r.name=t.slice(s,u)):(s===0&&i?(r.name=t.slice(1,a),r.base=t.slice(1,u)):(r.name=t.slice(s,a),r.base=t.slice(s,u)),r.ext=t.slice(a,u)),s>0?r.dir=t.slice(0,s-1):i&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};wo.posix=wo;const YC=wo.extname,Nw=wo.basename;let WC=class{constructor(){let t=typeof global>"u",r="image/png",n="image/jpeg",i="image/jpeg",o="image/webp",a="application/pdf",s="image/svg+xml";Object.assign(this,{toMime:this.toMime.bind(this),fromMime:this.fromMime.bind(this),expected:t?'"png", "jpg", or "webp"':'"png", "jpg", "pdf", or "svg"',formats:t?{png:r,jpg:n,jpeg:i,webp:o}:{png:r,jpg:n,jpeg:i,pdf:a,svg:s},mimes:t?{[r]:"png",[n]:"jpg",[o]:"webp"}:{[r]:"png",[n]:"jpg",[a]:"pdf",[s]:"svg"}})}toMime(t){return this.formats[(t||"").replace(/^\./,"").toLowerCase()]}fromMime(t){return this.mimes[t]}};function UC(e,{filename:t="",extension:r="",format:v,page:i,quality:o,matte:a,density:s,outline:u,archive:d}={}){var{fromMime:f,toMime:c,expected:h}=new WC,d=d||"canvas",p=v||r.replace(/@\d+x$/i,"")||YC(t),v=f(c(p)||p),g=c(v),m=e.length;if(!p)throw new Error("Cannot determine image format (use a filename extension or 'format' argument)");if(!v)throw new Error(`Unsupported file format "${p}" (expected ${h})`);if(!m)throw new RangeError("Canvas has no associated contexts (try calling getContext or newPage first)");let O,y,S=t.replace(/{(\d*)}/g,(x,T)=>(y=!0,T=parseInt(T,10),O=isFinite(T)?T:isFinite(O)?O:-1,"{}")),_=i>0?i-1:i<0?m+i:void 0;if(isFinite(_)&&_<0||_>=m)throw new RangeError(m==1?`Canvas only has a ‘page 1’ (${_} is out of bounds)`:`Canvas has pages 1–${m} (${_} is out of bounds)`);if(e=isFinite(_)?[e[_]]:y||v=="pdf"?e:e.slice(-1),o===void 0)o=.92;else if(typeof o!="number"||!isFinite(o)||o<0||o>1)throw new TypeError("The quality option must be an number in the 0.0–1.0 range");if(s===void 0){let x=(r||Nw(t,p)).match(/@(\d+)x$/i);s=x?parseInt(x[1],10):1}else if(typeof s!="number"||!Number.isInteger(s)||s<1)throw new TypeError("The density option must be a non-negative integer");return u===void 0?u=!0:v=="svg"&&(u=!!u),{filename:t,pattern:S,format:v,mime:g,pages:e,padding:O,quality:o,matte:a,density:s,outline:u,archive:d}}class Cc{static for(t){return new Cc().append(t).get()}constructor(){this.crc=-1}get(){return~this.crc}append(t){for(var r=this.crc|0,n=this.table,i=0,o=t.length|0;i<o;i++)r=r>>>8^n[(r^t[i])&255];return this.crc=r,this}}Cc.prototype.table=(()=>{var e,t,r,n=[];for(e=0;e<256;e++){for(r=e,t=0;t<8;t++)r=r&1?r>>>1^3988292384:r>>>1;n[e]=r}return n})();function oh(e){let t=new Uint8Array(e),r=new DataView(t.buffer),n={array:t,view:r,size:e,set8(i,o){return r.setUint8(i,o),n},set16(i,o){return r.setUint16(i,o,!0),n},set32(i,o){return r.setUint32(i,o,!0),n},bytes(i,o){return t.set(o,i),n}};return n}class Pc{constructor(t){let r=new Date;Object.assign(this,{directory:t,offset:0,files:[],time:(r.getHours()<<6|r.getMinutes())<<5|r.getSeconds()/2,date:(r.getFullYear()-1980<<4|r.getMonth()+1)<<5|r.getDate()}),this.add(t)}async add(t,r){let n=!r,i=Pc.encoder.encode(`${this.directory}/${n?"":t}`),o=new Uint8Array(n?0:await r.arrayBuffer()),a=30+i.length,s=a+o.length,u=16,{offset:l}=this,f=oh(26).set32(0,134742036).set16(6,this.time).set16(8,this.date).set32(10,Cc.for(o)).set32(14,o.length).set32(18,o.length).set16(22,i.length);l+=a;let c=oh(a+o.length+u).set32(0,67324752).bytes(4,f.array).bytes(30,i).bytes(a,o);l+=o.length,c.set32(s,134695760).bytes(s+4,f.array.slice(10,22)),l+=u,this.files.push({offset:l,folder:n,name:i,header:f,payload:c}),this.offset=l}toBuffer(){let t=this.files.reduce((c,{name:h})=>46+h.length+c,0),r=oh(t+22),n=0;for(var{offset:i,name:o,header:a,folder:s}of this.files)r.set32(n,33639248).set16(n+4,20).bytes(n+6,a.array).set8(n+38,s?16:0).set32(n+42,i).bytes(n+46,o),n+=46+o.length;r.set32(n,101010256).set16(n+8,this.files.length).set16(n+10,this.files.length).set32(n+12,t).set32(n+16,this.offset);let u=new Uint8Array(this.offset+r.size),l=0;for(var{payload:f}of this.files)u.set(f.array,l),l+=f.size;return u.set(r.array,l),u}get blob(){return new Blob([this.toBuffer()],{type:"application/zip"})}}Pc.encoder=new TextEncoder;const o0=(e,t,r,n)=>{if(n){let{width:i,height:o}=e,a=Object.assign(document.createElement("canvas"),{width:i,height:o}),s=a.getContext("2d");s.fillStyle=n,s.fillRect(0,0,i,o),s.drawImage(e,0,0),e=a}return new Promise((i,o)=>e.toBlob(i,t,r))},HC=(...e)=>o0(...e).then(t=>t.arrayBuffer()),zC=async(e,t,r,n,i)=>{Iw(i,await o0(e,t,r,n))},jC=async(e,t,r,n,i,o,a)=>{let s=f=>o.replace("{}",String(f+1).padStart(a,"0")),u=Nw(i,".zip")||"archive",l=new Pc(u);await Promise.all(e.map(async(f,c)=>{let h=s(c);await l.add(h,await o0(f,t,r,n))})),Iw(`${u}.zip`,l.blob)},Iw=(e,t)=>{const r=window.URL.createObjectURL(t),n=document.createElement("a");n.style.display="none",n.href=r,n.setAttribute("download",e),typeof n.download>"u"&&n.setAttribute("target","_blank"),document.body.appendChild(n),n.click(),document.body.removeChild(n),setTimeout(()=>window.URL.revokeObjectURL(r),100)},VC=(e,t,r)=>e.map(n=>{if(t==1&&!r)return n.canvas;let i=document.createElement("canvas"),o=i.getContext("2d"),a=n.canvas?n.canvas:n;return i.width=a.width*t,i.height=a.height*t,r&&(o.fillStyle=r,o.fillRect(0,0,i.width,i.height)),o.scale(t,t),o.drawImage(a,0,0),i}),qC={asBuffer:HC,asDownload:zC,asZipDownload:jC,atScale:VC,options:UC},{asBuffer:ah,asDownload:GC,asZipDownload:XC,atScale:sh,options:uh}=qC,zm=Symbol.for("toDataURL");let KC=class{constructor(t,r){let n=document.createElement("canvas"),i=[];Object.defineProperty(n,"async",{value:!0,writable:!1,enumerable:!0});for(var[o,a]of Object.entries({png:()=>ah(n,"image/png"),jpg:()=>ah(n,"image/jpeg"),pages:()=>i.concat(n).map(s=>s.getContext("2d"))}))Object.defineProperty(n,o,{get:a});return Object.assign(n,{width:t,height:r,newPage(...s){var{width:l,height:f}=n,u=Object.assign(document.createElement("canvas"),{width:l,height:f});u.getContext("2d").drawImage(n,0,0),i.push(u);var[l,f]=s.length?s:[l,f];return Object.assign(n,{width:l,height:f}).getContext("2d")},saveAs(s,u){u=typeof u=="number"?{quality:u}:u;let l=uh(this.pages,{filename:s,...u}),{pattern:f,padding:c,mime:h,quality:d,matte:p,density:v,archive:g}=l,m=sh(l.pages,v);return c==null?GC(m[0],h,d,p,s):XC(m,h,d,p,g,f,c)},toBuffer(s="png",u={}){u=typeof u=="number"?{quality:u}:u;let l=uh(this.pages,{extension:s,...u}),{mime:f,quality:c,matte:h,pages:d,density:p}=l,v=sh(d,p,h)[0];return ah(v,f,c,h)},[zm]:n.toDataURL.bind(n),toDataURL(s="png",u={}){u=typeof u=="number"?{quality:u}:u;let l=uh(this.pages,{extension:s,...u}),{mime:f,quality:c,matte:h,pages:d,density:p}=l,v=sh(d,p,h)[0],g=v[v===n?zm:"toDataURL"](f,c);return Promise.resolve(g)}})}};const ZC={Canvas:KC},vs=(e,t,r={},n=r)=>{if(Array.isArray(t))t.forEach(i=>vs(e,i,r,n));else if(typeof t=="function")t(e,r,n,vs);else{const i=Object.keys(t)[0];Array.isArray(t[i])?(n[i]={},vs(e,t[i],r,n[i])):n[i]=t[i](e,r,n,vs)}return r},Do=(e,t)=>(r,n,i,o)=>{t(r,n,i)&&o(r,e,n,i)},JC=(e,t)=>(r,n,i,o)=>{const a=[];let s=r.pos;for(;t(r,n,i);){const u={};if(o(r,e,n,u),r.pos===s)break;s=r.pos,a.push(u)}return a},QC=e=>({data:e,pos:0}),Ir=()=>e=>e.data[e.pos++],Rw=(e=0)=>t=>t.data[t.pos+e],Mn=e=>t=>t.data.subarray(t.pos,t.pos+=e),kc=e=>t=>t.data.subarray(t.pos,t.pos+e),Fd=e=>t=>Array.from(Mn(e)(t)).map(r=>String.fromCharCode(r)).join(""),po=e=>t=>{const r=Mn(2)(t);return(r[1]<<8)+r[0]},Fw=(e,t)=>(r,n,i)=>{const o=typeof t=="function"?t(r,n,i):t,a=Mn(e),s=new Array(o);for(var u=0;u<o;u++)s[u]=a(r);return s},eP=(e,t,r)=>{for(var n=0,i=0;i<r;i++)n+=e[t+i]&&2**(r-i-1);return n},a0=e=>t=>{const r=Ir()(t),n=new Array(8);for(var i=0;i<8;i++)n[7-i]=!!(r&1<<i);return Object.keys(e).reduce((o,a)=>{const s=e[a];return s.length?o[a]=eP(n,s.index,s.length):o[a]=n[s.index],o},{})};var Nc={blocks:e=>{const r=[],n=e.data.length;for(var i=0,o=Ir()(e);o!==0&&o;o=Ir()(e)){if(e.pos+o>=n){const l=n-e.pos;r.push(Mn(l)(e)),i+=l;break}r.push(Mn(o)(e)),i+=o}const a=new Uint8Array(i);for(var s=0,u=0;u<r.length;u++)a.set(r[u],s),s+=r[u].length;return a}};const tP=Do({gce:[{codes:Mn(2)},{byteSize:Ir()},{extras:a0({future:{index:0,length:3},disposal:{index:3,length:3},userInput:{index:6},transparentColorGiven:{index:7}})},{delay:po()},{transparentColorIndex:Ir()},{terminator:Ir()}]},e=>{var t=kc(2)(e);return t[0]===33&&t[1]===249}),rP=Do({image:[{code:Ir()},{descriptor:[{left:po()},{top:po()},{width:po()},{height:po()},{lct:a0({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},Do({lct:Fw(3,(e,t,r)=>Math.pow(2,r.descriptor.lct.size+1))},(e,t,r)=>r.descriptor.lct.exists),{data:[{minCodeSize:Ir()},Nc]}]},e=>Rw()(e)===44),nP=Do({text:[{codes:Mn(2)},{blockSize:Ir()},{preData:(e,t,r)=>Mn(r.text.blockSize)(e)},Nc]},e=>{var t=kc(2)(e);return t[0]===33&&t[1]===1}),iP=Do({application:[{codes:Mn(2)},{blockSize:Ir()},{id:(e,t,r)=>Fd(r.blockSize)(e)},Nc]},e=>{var t=kc(2)(e);return t[0]===33&&t[1]===255}),oP=Do({comment:[{codes:Mn(2)},Nc]},e=>{var t=kc(2)(e);return t[0]===33&&t[1]===254}),aP=[{header:[{signature:Fd(3)},{version:Fd(3)}]},{lsd:[{width:po()},{height:po()},{gct:a0({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:Ir()},{pixelAspectRatio:Ir()}]},Do({gct:Fw(3,(e,t)=>Math.pow(2,t.lsd.gct.size+1))},(e,t)=>t.lsd.gct.exists),{frames:JC([tP,iP,oP,rP,nP],e=>{var t=Rw()(e);return t===33||t===44})}],sP=(e,t)=>{const r=new Array(e.length),n=e.length/t,i=function(f,c){const h=e.slice(c*t,(c+1)*t);r.splice.apply(r,[f*t,t].concat(h))},o=[0,4,2,1],a=[8,8,4,2];for(var s=0,u=0;u<4;u++)for(var l=o[u];l<n;l+=a[u])i(l,s),s++;return r},uP=(e,t,r)=>{const o=r;var a,s,u,l,f,c,h,_,d,p,S,v,x,T,L,C;const g=new Array(r),m=new Array(4096),O=new Array(4096),y=new Array(4097);for(v=e,s=1<<v,f=s+1,a=s+2,h=-1,l=v+1,u=(1<<l)-1,d=0;d<s;d++)m[d]=0,O[d]=d;var S,_,x,T,C,L;for(S=_=x=T=C=L=0,p=0;p<o;){if(T===0){if(_<l){S+=t[L]<<_,_+=8,L++;continue}if(d=S&u,S>>=l,_-=l,d>a||d==f)break;if(d==s){l=v+1,u=(1<<l)-1,a=s+2,h=-1;continue}if(h==-1){y[T++]=O[d],h=d,x=d;continue}for(c=d,d==a&&(y[T++]=x,d=h);d>s;)y[T++]=O[d],d=m[d];x=O[d]&255,y[T++]=x,a<4096&&(m[a]=h,O[a]=x,a++,!(a&u)&&a<4096&&(l++,u+=a)),h=c}T--,g[C++]=y[T],p++}for(p=C;p<o;p++)g[p]=0;return g},lP=e=>{const t=new Uint8Array(e);return vs(QC(t),aP)},cP=e=>{const t=e.pixels.length,r=new Uint8ClampedArray(t*4);for(var n=0;n<t;n++){const i=n*4,o=e.pixels[n],a=e.colorTable[o];r[i]=a[0],r[i+1]=a[1],r[i+2]=a[2],r[i+3]=o!==e.transparentIndex?255:0}return r},fP=(e,t,r)=>{if(!e.image){console.warn("gif frame does not have associated image.");return}const{image:n}=e,i=n.descriptor.width*n.descriptor.height;var o=uP(n.data.minCodeSize,n.data.blocks,i);n.descriptor.lct.interlaced&&(o=sP(o,n.descriptor.width));const a={pixels:o,dims:{top:e.image.descriptor.top,left:e.image.descriptor.left,width:e.image.descriptor.width,height:e.image.descriptor.height}};return n.descriptor.lct&&n.descriptor.lct.exists?a.colorTable=n.lct:a.colorTable=t,e.gce&&(a.delay=(e.gce.delay||10)*10,a.disposalType=e.gce.extras.disposal,e.gce.extras.transparentColorGiven&&(a.transparentIndex=e.gce.transparentColorIndex)),a.patch=cP(a),a},hP=(e,t)=>e.frames.filter(r=>r.image).map(r=>fP(r,e.gct));function dP(e,t,r){const n=Lw(t),i=e-1;let o=0;switch(r){case Qt.L:o=mn[i][0];break;case Qt.M:o=mn[i][1];break;case Qt.Q:o=mn[i][2];break;case Qt.H:o=mn[i][3];break}return n<=o}function pP(e,t){for(var r=1,n=Lw(e),i=0,o=mn.length;i<o;i++){var a=0;switch(t){case Qt.L:a=mn[i][0];break;case Qt.M:a=mn[i][1];break;case Qt.Q:a=mn[i][2];break;case Qt.H:a=mn[i][3];break}if(n<=a)break;r++}if(r>mn.length)throw new Error("Too long data");return r}function Lw(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=Number(e)?3:0)}class vP{constructor(t){this.mode=gr.MODE_8BIT_BYTE,this.parsedData=[],this.data=t;const r=[];for(let n=0,i=this.data.length;n<i;n++){const o=[],a=this.data.charCodeAt(n);a>65536?(o[0]=240|(a&1835008)>>>18,o[1]=128|(a&258048)>>>12,o[2]=128|(a&4032)>>>6,o[3]=128|a&63):a>2048?(o[0]=224|(a&61440)>>>12,o[1]=128|(a&4032)>>>6,o[2]=128|a&63):a>128?(o[0]=192|(a&1984)>>>6,o[1]=128|a&63):o[0]=a,r.push(o)}this.parsedData=Array.prototype.concat.apply([],r),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}getLength(){return this.parsedData.length}write(t){for(let r=0,n=this.parsedData.length;r<n;r++)t.put(this.parsedData[r],8)}}class ki{constructor(t=-1,r=Qt.L){this.moduleCount=0,this.dataList=[],this.typeNumber=t,this.errorCorrectLevel=r,this.moduleCount=0,this.dataList=[]}addData(t){if(this.typeNumber<=0)this.typeNumber=pP(t,this.errorCorrectLevel);else{if(this.typeNumber>40)throw new Error(`Invalid QR version: ${this.typeNumber}`);if(!dP(this.typeNumber,t,this.errorCorrectLevel))throw new Error(`Data is too long for QR version: ${this.typeNumber}`)}const r=new vP(t);this.dataList.push(r),this.dataCache=void 0}isDark(t,r){if(t<0||this.moduleCount<=t||r<0||this.moduleCount<=r)throw new Error(`${t},${r}`);return this.modules[t][r]}getModuleCount(){return this.moduleCount}make(){this.makeImpl(!1,this.getBestMaskPattern())}makeImpl(t,r){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(let n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(let i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),this.dataCache==null&&(this.dataCache=ki.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)}setupPositionProbePattern(t,r){for(let n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(let i=-1;i<=7;i++)r+i<=-1||this.moduleCount<=r+i||(0<=n&&n<=6&&(i==0||i==6)||0<=i&&i<=6&&(n==0||n==6)||2<=n&&n<=4&&2<=i&&i<=4?this.modules[t+n][r+i]=!0:this.modules[t+n][r+i]=!1)}getBestMaskPattern(){if(Number.isInteger(this.maskPattern)&&Object.values(Vn).includes(this.maskPattern))return this.maskPattern;let t=0,r=0;for(let n=0;n<8;n++){this.makeImpl(!0,n);const i=nt.getLostPoint(this);(n==0||t>i)&&(t=i,r=n)}return r}setupTimingPattern(){for(let t=8;t<this.moduleCount-8;t++)this.modules[t][6]==null&&(this.modules[t][6]=t%2==0);for(let t=8;t<this.moduleCount-8;t++)this.modules[6][t]==null&&(this.modules[6][t]=t%2==0)}setupPositionAdjustPattern(){const t=nt.getPatternPosition(this.typeNumber);for(let r=0;r<t.length;r++)for(let n=0;n<t.length;n++){const i=t[r],o=t[n];if(this.modules[i][o]==null)for(let a=-2;a<=2;a++)for(let s=-2;s<=2;s++)a==-2||a==2||s==-2||s==2||a==0&&s==0?this.modules[i+a][o+s]=!0:this.modules[i+a][o+s]=!1}}setupTypeNumber(t){const r=nt.getBCHTypeNumber(this.typeNumber);for(var n=0;n<18;n++){var i=!t&&(r>>n&1)==1;this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(var n=0;n<18;n++){var i=!t&&(r>>n&1)==1;this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}}setupTypeInfo(t,r){const n=this.errorCorrectLevel<<3|r,i=nt.getBCHTypeInfo(n);for(var o=0;o<15;o++){var a=!t&&(i>>o&1)==1;o<6?this.modules[o][8]=a:o<8?this.modules[o+1][8]=a:this.modules[this.moduleCount-15+o][8]=a}for(var o=0;o<15;o++){var a=!t&&(i>>o&1)==1;o<8?this.modules[8][this.moduleCount-o-1]=a:o<9?this.modules[8][15-o-1+1]=a:this.modules[8][15-o-1]=a}this.modules[this.moduleCount-8][8]=!t}mapData(t,r){let n=-1,i=this.moduleCount-1,o=7,a=0;for(let s=this.moduleCount-1;s>0;s-=2)for(s==6&&s--;;){for(let u=0;u<2;u++)if(this.modules[i][s-u]==null){let l=!1;a<t.length&&(l=(t[a]>>>o&1)==1),nt.getMask(r,i,s-u)&&(l=!l),this.modules[i][s-u]=l,o--,o==-1&&(a++,o=7)}if(i+=n,i<0||this.moduleCount<=i){i-=n,n=-n;break}}}static createData(t,r,n){const i=Xn.getRSBlocks(t,r),o=new mP;for(var a=0;a<n.length;a++){const u=n[a];o.put(u.mode,4),o.put(u.getLength(),nt.getLengthInBits(u.mode,t)),u.write(o)}let s=0;for(var a=0;a<i.length;a++)s+=i[a].dataCount;if(o.getLengthInBits()>s*8)throw new Error(`code length overflow. (${o.getLengthInBits()}>${s*8})`);for(o.getLengthInBits()+4<=s*8&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=s*8||(o.put(ki.PAD0,8),o.getLengthInBits()>=s*8));)o.put(ki.PAD1,8);return ki.createBytes(o,i)}static createBytes(t,r){let n=0,i=0,o=0;const a=new Array(r.length),s=new Array(r.length);for(var u=0;u<r.length;u++){const d=r[u].dataCount,p=r[u].totalCount-d;i=Math.max(i,d),o=Math.max(o,p),a[u]=new Array(d);for(var l=0;l<a[u].length;l++)a[u][l]=255&t.buffer[l+n];n+=d;const v=nt.getErrorCorrectPolynomial(p),m=new $a(a[u],v.getLength()-1).mod(v);s[u]=new Array(v.getLength()-1);for(var l=0;l<s[u].length;l++){const y=l+m.getLength()-s[u].length;s[u][l]=y>=0?m.get(y):0}}let f=0;for(var l=0;l<r.length;l++)f+=r[l].totalCount;const c=new Array(f);let h=0;for(var l=0;l<i;l++)for(var u=0;u<r.length;u++)l<a[u].length&&(c[h++]=a[u][l]);for(var l=0;l<o;l++)for(var u=0;u<r.length;u++)l<s[u].length&&(c[h++]=s[u][l]);return c}}ki.PAD0=236;ki.PAD1=17;const Qt={L:1,M:0,Q:3,H:2},gr={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},Vn={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};class nt{static getBCHTypeInfo(t){let r=t<<10;for(;nt.getBCHDigit(r)-nt.getBCHDigit(nt.G15)>=0;)r^=nt.G15<<nt.getBCHDigit(r)-nt.getBCHDigit(nt.G15);return(t<<10|r)^nt.G15_MASK}static getBCHTypeNumber(t){let r=t<<12;for(;nt.getBCHDigit(r)-nt.getBCHDigit(nt.G18)>=0;)r^=nt.G18<<nt.getBCHDigit(r)-nt.getBCHDigit(nt.G18);return t<<12|r}static getBCHDigit(t){let r=0;for(;t!=0;)r++,t>>>=1;return r}static getPatternPosition(t){return nt.PATTERN_POSITION_TABLE[t-1]}static getMask(t,r,n){switch(t){case Vn.PATTERN000:return(r+n)%2==0;case Vn.PATTERN001:return r%2==0;case Vn.PATTERN010:return n%3==0;case Vn.PATTERN011:return(r+n)%3==0;case Vn.PATTERN100:return(Math.floor(r/2)+Math.floor(n/3))%2==0;case Vn.PATTERN101:return r*n%2+r*n%3==0;case Vn.PATTERN110:return(r*n%2+r*n%3)%2==0;case Vn.PATTERN111:return(r*n%3+(r+n)%2)%2==0;default:throw new Error(`bad maskPattern:${t}`)}}static getErrorCorrectPolynomial(t){let r=new $a([1],0);for(let n=0;n<t;n++)r=r.multiply(new $a([1,St.gexp(n)],0));return r}static getLengthInBits(t,r){if(1<=r&&r<10)switch(t){case gr.MODE_NUMBER:return 10;case gr.MODE_ALPHA_NUM:return 9;case gr.MODE_8BIT_BYTE:return 8;case gr.MODE_KANJI:return 8;default:throw new Error(`mode:${t}`)}else if(r<27)switch(t){case gr.MODE_NUMBER:return 12;case gr.MODE_ALPHA_NUM:return 11;case gr.MODE_8BIT_BYTE:return 16;case gr.MODE_KANJI:return 10;default:throw new Error(`mode:${t}`)}else if(r<41)switch(t){case gr.MODE_NUMBER:return 14;case gr.MODE_ALPHA_NUM:return 13;case gr.MODE_8BIT_BYTE:return 16;case gr.MODE_KANJI:return 12;default:throw new Error(`mode:${t}`)}else throw new Error(`type:${r}`)}static getLostPoint(t){const r=t.getModuleCount();let n=0;for(var i=0;i<r;i++)for(var o=0;o<r;o++){let u=0;const l=t.isDark(i,o);for(let f=-1;f<=1;f++)if(!(i+f<0||r<=i+f))for(let c=-1;c<=1;c++)o+c<0||r<=o+c||f==0&&c==0||l==t.isDark(i+f,o+c)&&u++;u>5&&(n+=3+u-5)}for(var i=0;i<r-1;i++)for(var o=0;o<r-1;o++){let f=0;t.isDark(i,o)&&f++,t.isDark(i+1,o)&&f++,t.isDark(i,o+1)&&f++,t.isDark(i+1,o+1)&&f++,(f==0||f==4)&&(n+=3)}for(var i=0;i<r;i++)for(var o=0;o<r-6;o++)t.isDark(i,o)&&!t.isDark(i,o+1)&&t.isDark(i,o+2)&&t.isDark(i,o+3)&&t.isDark(i,o+4)&&!t.isDark(i,o+5)&&t.isDark(i,o+6)&&(n+=40);for(var o=0;o<r;o++)for(var i=0;i<r-6;i++)t.isDark(i,o)&&!t.isDark(i+1,o)&&t.isDark(i+2,o)&&t.isDark(i+3,o)&&t.isDark(i+4,o)&&!t.isDark(i+5,o)&&t.isDark(i+6,o)&&(n+=40);let a=0;for(var o=0;o<r;o++)for(var i=0;i<r;i++)t.isDark(i,o)&&a++;const s=Math.abs(100*a/r/r-50)/5;return n+=s*10,n}}nt.PATTERN_POSITION_TABLE=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]];nt.G15=1335;nt.G18=7973;nt.G15_MASK=21522;class St{static glog(t){if(t<1)throw new Error(`glog(${t})`);return St.LOG_TABLE[t]}static gexp(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return St.EXP_TABLE[t]}}St.EXP_TABLE=new Array(256);St.LOG_TABLE=new Array(256);St._constructor=function(){for(var e=0;e<8;e++)St.EXP_TABLE[e]=1<<e;for(var e=8;e<256;e++)St.EXP_TABLE[e]=St.EXP_TABLE[e-4]^St.EXP_TABLE[e-5]^St.EXP_TABLE[e-6]^St.EXP_TABLE[e-8];for(var e=0;e<255;e++)St.LOG_TABLE[St.EXP_TABLE[e]]=e}();class $a{constructor(t,r){if(t.length==null)throw new Error(`${t.length}/${r}`);let n=0;for(;n<t.length&&t[n]==0;)n++;this.num=new Array(t.length-n+r);for(let i=0;i<t.length-n;i++)this.num[i]=t[i+n]}get(t){return this.num[t]}getLength(){return this.num.length}multiply(t){const r=new Array(this.getLength()+t.getLength()-1);for(let n=0;n<this.getLength();n++)for(let i=0;i<t.getLength();i++)r[n+i]^=St.gexp(St.glog(this.get(n))+St.glog(t.get(i)));return new $a(r,0)}mod(t){if(this.getLength()-t.getLength()<0)return this;const r=St.glog(this.get(0))-St.glog(t.get(0)),n=new Array(this.getLength());for(var i=0;i<this.getLength();i++)n[i]=this.get(i);for(var i=0;i<t.getLength();i++)n[i]^=St.gexp(St.glog(t.get(i))+r);return new $a(n,0).mod(t)}}class Xn{constructor(t,r){this.totalCount=t,this.dataCount=r}static getRSBlocks(t,r){const n=Xn.getRsBlockTable(t,r);if(n==null)throw new Error(`bad rs block @ typeNumber:${t}/errorCorrectLevel:${r}`);const i=n.length/3,o=[];for(let a=0;a<i;a++){const s=n[a*3+0],u=n[a*3+1],l=n[a*3+2];for(let f=0;f<s;f++)o.push(new Xn(u,l))}return o}static getRsBlockTable(t,r){switch(r){case Qt.L:return Xn.RS_BLOCK_TABLE[(t-1)*4+0];case Qt.M:return Xn.RS_BLOCK_TABLE[(t-1)*4+1];case Qt.Q:return Xn.RS_BLOCK_TABLE[(t-1)*4+2];case Qt.H:return Xn.RS_BLOCK_TABLE[(t-1)*4+3];default:return}}}Xn.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];class mP{constructor(){this.buffer=[],this.length=0}get(t){const r=Math.floor(t/8);return(this.buffer[r]>>>7-t%8&1)==1}put(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)==1)}getLengthInBits(){return this.length}putBit(t){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}}const mn=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];var gP=100,Ft=256,jm=Ft-1,wi=4,Bw=16,s0=1<<Bw,Yw=10,u0=10,yP=s0>>u0,wP=s0<<Yw-u0,bP=Ft>>3,Ld=6,_P=1<<Ld,SP=bP*_P,xP=30,Ww=10,Vu=1<<Ww,Uw=8,Vm=1<<Uw,EP=Ww+Uw,Uo=1<<EP,qm=499,Gm=491,Xm=487,Hw=503,OP=3*Hw;function $P(e,t){var r,n,i,o,a;function s(){r=[],n=new Int32Array(256),i=new Int32Array(Ft),o=new Int32Array(Ft),a=new Int32Array(Ft>>3);var m,O;for(m=0;m<Ft;m++)O=(m<<wi+8)/Ft,r[m]=new Float64Array([O,O,O,0]),o[m]=s0/Ft,i[m]=0}function u(){for(var m=0;m<Ft;m++)r[m][0]>>=wi,r[m][1]>>=wi,r[m][2]>>=wi,r[m][3]=m}function l(m,O,y,S,_){r[O][0]-=m*(r[O][0]-y)/Vu,r[O][1]-=m*(r[O][1]-S)/Vu,r[O][2]-=m*(r[O][2]-_)/Vu}function f(m,O,y,S,_){for(var x=Math.abs(O-m),T=Math.min(O+m,Ft),C=O+1,L=O-1,W=1,D,z;C<T||L>x;)z=a[W++],C<T&&(D=r[C++],D[0]-=z*(D[0]-y)/Uo,D[1]-=z*(D[1]-S)/Uo,D[2]-=z*(D[2]-_)/Uo),L>x&&(D=r[L--],D[0]-=z*(D[0]-y)/Uo,D[1]-=z*(D[1]-S)/Uo,D[2]-=z*(D[2]-_)/Uo)}function c(m,O,y){var S=2147483647,_=S,x=-1,T=x,C,L,W,D,z;for(C=0;C<Ft;C++)L=r[C],W=Math.abs(L[0]-m)+Math.abs(L[1]-O)+Math.abs(L[2]-y),W<S&&(S=W,x=C),D=W-(i[C]>>Bw-wi),D<_&&(_=D,T=C),z=o[C]>>u0,o[C]-=z,i[C]+=z<<Yw;return o[x]+=yP,i[x]-=wP,T}function h(){var m,O,y,S,_,x,T=0,C=0;for(m=0;m<Ft;m++){for(y=r[m],_=m,x=y[1],O=m+1;O<Ft;O++)S=r[O],S[1]<x&&(_=O,x=S[1]);if(S=r[_],m!=_&&(O=S[0],S[0]=y[0],y[0]=O,O=S[1],S[1]=y[1],y[1]=O,O=S[2],S[2]=y[2],y[2]=O,O=S[3],S[3]=y[3],y[3]=O),x!=T){for(n[T]=C+m>>1,O=T+1;O<x;O++)n[O]=m;T=x,C=m}}for(n[T]=C+jm>>1,O=T+1;O<256;O++)n[O]=jm}function d(m,O,y){for(var S,_,x,T=1e3,C=-1,L=n[O],W=L-1;L<Ft||W>=0;)L<Ft&&(_=r[L],x=_[1]-O,x>=T?L=Ft:(L++,x<0&&(x=-x),S=_[0]-m,S<0&&(S=-S),x+=S,x<T&&(S=_[2]-y,S<0&&(S=-S),x+=S,x<T&&(T=x,C=_[3])))),W>=0&&(_=r[W],x=O-_[1],x>=T?W=-1:(W--,x<0&&(x=-x),S=_[0]-m,S<0&&(S=-S),x+=S,x<T&&(S=_[2]-y,S<0&&(S=-S),x+=S,x<T&&(T=x,C=_[3]))));return C}function p(){var m,O=e.length,y=30+(t-1)/3,S=O/(3*t),_=~~(S/gP),x=Vu,T=SP,C=T>>Ld;for(C<=1&&(C=0),m=0;m<C;m++)a[m]=x*((C*C-m*m)*Vm/(C*C));var L;O<OP?(t=1,L=3):O%qm!==0?L=3*qm:O%Gm!==0?L=3*Gm:O%Xm!==0?L=3*Xm:L=3*Hw;var W,D,z,F,Y=0;for(m=0;m<S;)if(W=(e[Y]&255)<<wi,D=(e[Y+1]&255)<<wi,z=(e[Y+2]&255)<<wi,F=c(W,D,z),l(x,F,W,D,z),C!==0&&f(C,F,W,D,z),Y+=L,Y>=O&&(Y-=O),m++,_===0&&(_=1),m%_===0)for(x-=x/y,T-=T/xP,C=T>>Ld,C<=1&&(C=0),F=0;F<C;F++)a[F]=x*((C*C-F*F)*Vm/(C*C))}function v(){s(),p(),u(),h()}this.buildColormap=v;function g(){for(var m=[],O=[],y=0;y<Ft;y++)O[r[y][3]]=y;for(var S=0,_=0;_<Ft;_++){var x=O[_];m[S++]=r[x][0],m[S++]=r[x][1],m[S++]=r[x][2]}return m}this.getColormap=g,this.lookupRGB=d}var Km=-1,qu=12,ns=5003,TP=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535];function DP(e,t,r,n){var i=Math.max(2,n),o=new Uint8Array(256),a=new Int32Array(ns),s=new Int32Array(ns),u,l=0,f,c=0,h,d=!1,p,v,g,m,O,y;function S(F,Y){o[f++]=F,f>=254&&L(Y)}function _(F){x(ns),c=v+2,d=!0,z(v,F)}function x(F){for(var Y=0;Y<F;++Y)a[Y]=-1}function T(F,Y){var A,R,H,V,ie,se,me;for(p=F,d=!1,y=p,h=W(y),v=1<<F-1,g=v+1,c=v+2,f=0,V=D(),me=0,A=ns;A<65536;A*=2)++me;me=8-me,se=ns,x(se),z(v,Y);e:for(;(R=D())!=Km;){if(A=(R<<qu)+V,H=R<<me^V,a[H]===A){V=s[H];continue}else if(a[H]>=0){ie=se-H,H===0&&(ie=1);do if((H-=ie)<0&&(H+=se),a[H]===A){V=s[H];continue e}while(a[H]>=0)}z(V,Y),V=R,c<1<<qu?(s[H]=c++,a[H]=A):_(Y)}z(V,Y),z(g,Y)}function C(F){F.writeByte(i),m=e*t,O=0,T(i+1,F),F.writeByte(0)}function L(F){f>0&&(F.writeByte(f),F.writeBytes(o,0,f),f=0)}function W(F){return(1<<F)-1}function D(){if(m===0)return Km;--m;var F=r[O++];return F&255}function z(F,Y){for(u&=TP[l],l>0?u|=F<<l:u=F,l+=y;l>=8;)S(u&255,Y),u>>=8,l-=8;if((c>h||d)&&(d?(h=W(y=p),d=!1):(++y,y==qu?h=1<<qu:h=W(y))),F==g){for(;l>0;)S(u&255,Y),u>>=8,l-=8;L(Y)}}this.encode=C}function cr(){this.page=-1,this.pages=[],this.newPage()}cr.pageSize=4096;cr.charMap={};for(var Gu=0;Gu<256;Gu++)cr.charMap[Gu]=String.fromCharCode(Gu);cr.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(cr.pageSize),this.cursor=0};cr.prototype.getData=function(){for(var e="",t=0;t<this.pages.length;t++)for(var r=0;r<cr.pageSize;r++)e+=cr.charMap[this.pages[t][r]];return e};cr.prototype.toFlattenUint8Array=function(){const e=[];for(var t=0;t<this.pages.length;t++)if(t===this.pages.length-1){const n=Uint8Array.from(this.pages[t].slice(0,this.cursor));e.push(n)}else e.push(this.pages[t]);const r=new Uint8Array(e.reduce((n,i)=>n+i.length,0));return e.reduce((n,i)=>(r.set(i,n),n+i.length),0),r};cr.prototype.writeByte=function(e){this.cursor>=cr.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=e};cr.prototype.writeUTFBytes=function(e){for(var t=e.length,r=0;r<t;r++)this.writeByte(e.charCodeAt(r))};cr.prototype.writeBytes=function(e,t,r){for(var n=r||e.length,i=t||0;i<n;i++)this.writeByte(e[i])};function lt(e,t){this.width=~~e,this.height=~~t,this.transparent=null,this.transIndex=0,this.repeat=-1,this.delay=0,this.image=null,this.pixels=null,this.indexedPixels=null,this.colorDepth=null,this.colorTab=null,this.neuQuant=null,this.usedEntry=new Array,this.palSize=7,this.dispose=-1,this.firstFrame=!0,this.sample=10,this.dither=!1,this.globalPalette=!1,this.out=new cr}lt.prototype.setDelay=function(e){this.delay=Math.round(e/10)};lt.prototype.setFrameRate=function(e){this.delay=Math.round(100/e)};lt.prototype.setDispose=function(e){e>=0&&(this.dispose=e)};lt.prototype.setRepeat=function(e){this.repeat=e};lt.prototype.setTransparent=function(e){this.transparent=e};lt.prototype.addFrame=function(e){this.image=e,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),this.globalPalette===!0&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),!this.firstFrame&&!this.globalPalette&&this.writePalette(),this.writePixels(),this.firstFrame=!1};lt.prototype.finish=function(){this.out.writeByte(59)};lt.prototype.setQuality=function(e){e<1&&(e=1),this.sample=e};lt.prototype.setDither=function(e){e===!0&&(e="FloydSteinberg"),this.dither=e};lt.prototype.setGlobalPalette=function(e){this.globalPalette=e};lt.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette};lt.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")};lt.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new $P(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),this.dither.match(/-serpentine/)!==null):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,this.transparent!==null&&(this.transIndex=this.findClosest(this.transparent,!0))};lt.prototype.indexPixels=function(e){var t=this.pixels.length/3;this.indexedPixels=new Uint8Array(t);for(var r=0,n=0;n<t;n++){var i=this.findClosestRGB(this.pixels[r++]&255,this.pixels[r++]&255,this.pixels[r++]&255);this.usedEntry[i]=!0,this.indexedPixels[n]=i}};lt.prototype.ditherPixels=function(e,t){var r={FalseFloydSteinberg:[[.375,1,0],[.375,0,1],[.25,1,1]],FloydSteinberg:[[.4375,1,0],[.1875,-1,1],[.3125,0,1],[.0625,1,1]],Stucki:[[.19047619047619047,1,0],[.09523809523809523,2,0],[.047619047619047616,-2,1],[.09523809523809523,-1,1],[.19047619047619047,0,1],[.09523809523809523,1,1],[.047619047619047616,2,1],[.023809523809523808,-2,2],[.047619047619047616,-1,2],[.09523809523809523,0,2],[.047619047619047616,1,2],[.023809523809523808,2,2]],Atkinson:[[.125,1,0],[.125,2,0],[.125,-1,1],[.125,0,1],[.125,1,1],[.125,0,2]]};if(!e||!r[e])throw"Unknown dithering kernel: "+e;var n=r[e],i=0,o=this.height,a=this.width,s=this.pixels,u=t?-1:1;this.indexedPixels=new Uint8Array(this.pixels.length/3);for(var l=0;l<o;l++){t&&(u=u*-1);for(var f=u==1?0:a-1,c=u==1?a:0;f!==c;f+=u){i=l*a+f;var h=i*3,d=s[h],p=s[h+1],v=s[h+2];h=this.findClosestRGB(d,p,v),this.usedEntry[h]=!0,this.indexedPixels[i]=h,h*=3;for(var g=this.colorTab[h],m=this.colorTab[h+1],O=this.colorTab[h+2],y=d-g,S=p-m,_=v-O,x=u==1?0:n.length-1,T=u==1?n.length:0;x!==T;x+=u){var C=n[x][1],L=n[x][2];if(C+f>=0&&C+f<a&&L+l>=0&&L+l<o){var W=n[x][0];h=i+C+L*a,h*=3,s[h]=Math.max(0,Math.min(255,s[h]+y*W)),s[h+1]=Math.max(0,Math.min(255,s[h+1]+S*W)),s[h+2]=Math.max(0,Math.min(255,s[h+2]+_*W))}}}}};lt.prototype.findClosest=function(e,t){return this.findClosestRGB((e&16711680)>>16,(e&65280)>>8,e&255,t)};lt.prototype.findClosestRGB=function(e,t,r,n){if(this.colorTab===null)return-1;if(this.neuQuant&&!n)return this.neuQuant.lookupRGB(e,t,r);for(var i=0,o=256*256*256,a=this.colorTab.length,s=0,u=0;s<a;u++){var l=e-(this.colorTab[s++]&255),f=t-(this.colorTab[s++]&255),c=r-(this.colorTab[s++]&255),h=l*l+f*f+c*c;(!n||this.usedEntry[u])&&h<o&&(o=h,i=u)}return i};lt.prototype.getImagePixels=function(){var e=this.width,t=this.height;this.pixels=new Uint8Array(e*t*3);for(var r=this.image,n=0,i=0,o=0;o<t;o++)for(var a=0;a<e;a++)this.pixels[i++]=r[n++],this.pixels[i++]=r[n++],this.pixels[i++]=r[n++],n++};lt.prototype.writeGraphicCtrlExt=function(){this.out.writeByte(33),this.out.writeByte(249),this.out.writeByte(4);var e,t;this.transparent===null?(e=0,t=0):(e=1,t=2),this.dispose>=0&&(t=this.dispose&7),t<<=2,this.out.writeByte(0|t|0|e),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)};lt.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)};lt.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)};lt.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)};lt.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var e=3*256-this.colorTab.length,t=0;t<e;t++)this.out.writeByte(0)};lt.prototype.writeShort=function(e){this.out.writeByte(e&255),this.out.writeByte(e>>8&255)};lt.prototype.writePixels=function(){var e=new DP(this.width,this.height,this.indexedPixels,this.colorDepth);e.encode(this.out)};lt.prototype.stream=function(){return this.out};var MP=function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(f){try{l(n.next(f))}catch(c){a(c)}}function u(f){try{l(n.throw(f))}catch(c){a(c)}}function l(f){f.done?o(f.value):i(f.value).then(s,u)}l((n=n.apply(e,t||[])).next())})};const{Canvas:Un}=ZC,Xu=.4;function Zm(e){if(!e)return;function t(r){r.onload=null,r.onerror=null}return new Promise(function(r,n){if(e.slice(0,4)=="data"){let o=new Image;o.onload=function(){r(o),t(o)},o.onerror=function(){n("Image load error"),t(o)},o.src=e;return}let i=new Image;i.setAttribute("crossOrigin","Anonymous"),i.onload=function(){r(i)},i.onerror=function(){n("Image load error")},i.src=e})}class et{constructor(t){const r=Object.assign({},t);if(Object.keys(et.defaultOptions).forEach(n=>{n in r||Object.defineProperty(r,n,{value:et.defaultOptions[n],enumerable:!0,writable:!0})}),r.components?typeof r.components=="object"&&Object.keys(et.defaultComponentOptions).forEach(n=>{n in r.components?Object.defineProperty(r.components,n,{value:Object.assign(Object.assign({},et.defaultComponentOptions[n]),r.components[n]),enumerable:!0,writable:!0}):Object.defineProperty(r.components,n,{value:et.defaultComponentOptions[n],enumerable:!0,writable:!0})}):r.components=et.defaultComponentOptions,r.dotScale!==null&&r.dotScale!==void 0){if(r.dotScale<=0||r.dotScale>1)throw new Error("dotScale should be in range (0, 1].");r.components.data.scale=r.dotScale,r.components.timing.scale=r.dotScale,r.components.alignment.scale=r.dotScale}this.options=r,this.canvas=new Un(t.size,t.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new ki(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}draw(){return new Promise(t=>this._draw().then(t))}_clear(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}static _prepareRoundedCornerClip(t,r,n,i,o,a){t.beginPath(),t.moveTo(r,n),t.arcTo(r+i,n,r+i,n+o,a),t.arcTo(r+i,n+o,r,n+o,a),t.arcTo(r,n+o,r,n,a),t.arcTo(r,n,r+i,n,a),t.closePath()}static _getAverageRGB(t){const n={r:0,g:0,b:0};let i,o,a=-4;const s={r:0,g:0,b:0};let u=0;o=t.naturalHeight||t.height,i=t.naturalWidth||t.width;const f=new Un(i,o).getContext("2d");if(!f)return n;f.drawImage(t,0,0);let c;try{c=f.getImageData(0,0,i,o)}catch{return n}for(;(a+=5*4)<c.data.length;)c.data[a]>200||c.data[a+1]>200||c.data[a+2]>200||(++u,s.r+=c.data[a],s.g+=c.data[a+1],s.b+=c.data[a+2]);return s.r=~~(s.r/u),s.g=~~(s.g/u),s.b=~~(s.b/u),s}static _drawDot(t,r,n,i,o=0,a=1){t.fillRect((r+o)*i,(n+o)*i,a*i,a*i)}static _drawAlignProtector(t,r,n,i){t.clearRect((r-2)*i,(n-2)*i,5*i,5*i),t.fillRect((r-2)*i,(n-2)*i,5*i,5*i)}static _drawAlign(t,r,n,i,o=0,a=1,s,u){const l=t.fillStyle;t.fillStyle=s,new Array(4).fill(0).map((f,c)=>{et._drawDot(t,r-2+c,n-2,i,o,a),et._drawDot(t,r+2,n-2+c,i,o,a),et._drawDot(t,r+2-c,n+2,i,o,a),et._drawDot(t,r-2,n+2-c,i,o,a)}),et._drawDot(t,r,n,i,o,a),u||(t.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map((f,c)=>{et._drawDot(t,r-1+c,n-1,i,o,a),et._drawDot(t,r+1,n-1+c,i,o,a),et._drawDot(t,r+1-c,n+1,i,o,a),et._drawDot(t,r-1,n+1-c,i,o,a)})),t.fillStyle=l}_draw(){var t,r,n,i,o,a,s,u,l,f,c,h,d,p,v,g,m,O,y;return MP(this,void 0,void 0,function*(){const S=(t=this.qrCode)===null||t===void 0?void 0:t.moduleCount,_=this.options.size;let x=this.options.margin;(x<0||x*2>=_)&&(x=0);const T=Math.ceil(x),C=_-2*x,L=this.options.whiteMargin,W=this.options.backgroundDimming,D=Math.ceil(C/S),z=D*S,F=z+2*T,Y=new Un(F,F),A=Y.getContext("2d");this._clear(),A.save(),A.translate(T,T);const R=new Un(F,F),H=R.getContext("2d");let V=null,ie=[];if(this.options.gifBackground){const ve=lP(this.options.gifBackground);if(V=ve,ie=hP(ve),this.options.autoColor){let _e=0,$e=0,Ae=0,Fe=0;for(let Be=0;Be<ie[0].colorTable.length;Be++){const Ye=ie[0].colorTable[Be];Ye[0]>200||Ye[1]>200||Ye[2]>200||Ye[0]===0&&Ye[1]===0&&Ye[2]===0||(Fe++,_e+=Ye[0],$e+=Ye[1],Ae+=Ye[2])}_e=~~(_e/Fe),$e=~~($e/Fe),Ae=~~(Ae/Fe),this.options.colorDark=`rgb(${_e},${$e},${Ae})`}}else if(this.options.backgroundImage){const ve=yield Zm(this.options.backgroundImage);if(this.options.autoColor){const _e=et._getAverageRGB(ve);this.options.colorDark=`rgb(${_e.r},${_e.g},${_e.b})`}H.drawImage(ve,0,0,ve.width,ve.height,0,0,F,F),H.rect(0,0,F,F),H.fillStyle=W,H.fill()}else H.rect(0,0,F,F),H.fillStyle=this.options.colorLight,H.fill();const se=nt.getPatternPosition(this.qrCode.typeNumber),me=((n=(r=this.options.components)===null||r===void 0?void 0:r.data)===null||n===void 0?void 0:n.scale)||Xu,ce=(1-me)*.5;for(let ve=0;ve<S;ve++)for(let _e=0;_e<S;_e++){const $e=this.qrCode.isDark(ve,_e),Ae=_e<8&&(ve<8||ve>=S-8)||_e>=S-8&&ve<8,Fe=ve==6&&_e>=8&&_e<=S-8||_e==6&&ve>=8&&ve<=S-8;let Be=Ae||Fe;for(let st=1;st<se.length-1;st++)Be=Be||ve>=se[st]-2&&ve<=se[st]+2&&_e>=se[st]-2&&_e<=se[st]+2;const Ye=_e*D+(Be?0:ce*D),ft=ve*D+(Be?0:ce*D);if(A.strokeStyle=$e?this.options.colorDark:this.options.colorLight,A.lineWidth=.5,A.fillStyle=$e?this.options.colorDark:this.options.colorLight,se.length===0)Be||A.fillRect(Ye,ft,(Be?1:me)*D,(Be?1:me)*D);else{const st=_e<S-4&&_e>=S-4-5&&ve<S-4&&ve>=S-4-5;!Be&&!st&&A.fillRect(Ye,ft,(Be?1:me)*D,(Be?1:me)*D)}}const J=se[se.length-1],ae=this.options.colorLight;if(A.fillStyle=ae,A.fillRect(0,0,8*D,8*D),A.fillRect(0,(S-8)*D,8*D,8*D),A.fillRect((S-8)*D,0,8*D,8*D),!((o=(i=this.options.components)===null||i===void 0?void 0:i.timing)===null||o===void 0)&&o.protectors&&(A.fillRect(8*D,6*D,(S-8-8)*D,D),A.fillRect(6*D,8*D,D,(S-8-8)*D)),!((s=(a=this.options.components)===null||a===void 0?void 0:a.cornerAlignment)===null||s===void 0)&&s.protectors&&et._drawAlignProtector(A,J,J,D),!((l=(u=this.options.components)===null||u===void 0?void 0:u.alignment)===null||l===void 0)&&l.protectors)for(let ve=0;ve<se.length;ve++)for(let _e=0;_e<se.length;_e++){const $e=se[_e],Ae=se[ve];if(!($e===6&&(Ae===6||Ae===J))){if(Ae===6&&($e===6||$e===J))continue;if($e===J&&Ae===J)continue;et._drawAlignProtector(A,$e,Ae,D)}}A.fillStyle=this.options.colorDark,A.fillRect(0,0,7*D,D),A.fillRect((S-7)*D,0,7*D,D),A.fillRect(0,6*D,7*D,D),A.fillRect((S-7)*D,6*D,7*D,D),A.fillRect(0,(S-7)*D,7*D,D),A.fillRect(0,(S-7+6)*D,7*D,D),A.fillRect(0,0,D,7*D),A.fillRect(6*D,0,D,7*D),A.fillRect((S-7)*D,0,D,7*D),A.fillRect((S-7+6)*D,0,D,7*D),A.fillRect(0,(S-7)*D,D,7*D),A.fillRect(6*D,(S-7)*D,D,7*D),A.fillRect(2*D,2*D,3*D,3*D),A.fillRect((S-7+2)*D,2*D,3*D,3*D),A.fillRect(2*D,(S-7+2)*D,3*D,3*D);const de=((c=(f=this.options.components)===null||f===void 0?void 0:f.timing)===null||c===void 0?void 0:c.scale)||Xu,we=(1-de)*.5;for(let ve=0;ve<S-8;ve+=2)et._drawDot(A,8+ve,6,D,we,de),et._drawDot(A,6,8+ve,D,we,de);const Se=((d=(h=this.options.components)===null||h===void 0?void 0:h.cornerAlignment)===null||d===void 0?void 0:d.scale)||Xu,Ve=(1-Se)*.5;et._drawAlign(A,J,J,D,Ve,Se,this.options.colorDark,((v=(p=this.options.components)===null||p===void 0?void 0:p.cornerAlignment)===null||v===void 0?void 0:v.protectors)||!1);const tt=((m=(g=this.options.components)===null||g===void 0?void 0:g.alignment)===null||m===void 0?void 0:m.scale)||Xu,it=(1-tt)*.5;for(let ve=0;ve<se.length;ve++)for(let _e=0;_e<se.length;_e++){const $e=se[_e],Ae=se[ve];if(!($e===6&&(Ae===6||Ae===J))){if(Ae===6&&($e===6||$e===J))continue;if($e===J&&Ae===J)continue;et._drawAlign(A,$e,Ae,D,it,tt,this.options.colorDark,((y=(O=this.options.components)===null||O===void 0?void 0:O.alignment)===null||y===void 0?void 0:y.protectors)||!1)}}if(L&&(A.fillStyle=this.options.backgroundColor,A.fillRect(-T,-T,F,T),A.fillRect(-T,z,F,T),A.fillRect(z,-T,T,F),A.fillRect(-T,-T,T,F)),this.options.logoImage){const ve=yield Zm(this.options.logoImage);let _e=this.options.logoScale,$e=this.options.logoMargin,Ae=this.options.logoCornerRadius;(_e<=0||_e>=1)&&(_e=.2),$e<0&&($e=0),Ae<0&&(Ae=0);const Fe=z*_e,Be=.5*(F-Fe),Ye=Be;A.restore(),A.fillStyle=this.options.logoBackgroundColor,A.save(),et._prepareRoundedCornerClip(A,Be-$e,Ye-$e,Fe+2*$e,Fe+2*$e,Ae+$e),A.clip();const ft=A.globalCompositeOperation;A.globalCompositeOperation="destination-out",A.fill(),A.globalCompositeOperation=ft,A.restore(),A.save(),et._prepareRoundedCornerClip(A,Be,Ye,Fe,Fe,Ae),A.clip(),A.drawImage(ve,Be,Ye,Fe,Fe),A.restore(),A.save(),A.translate(T,T)}if(V){let ve,_e,$e,Ae,Fe,Be;if(ie.forEach(function(Ye){ve||(ve=new lt(_,_),ve.setDelay(Ye.delay),ve.setRepeat(0));const{width:ft,height:st}=Ye.dims;_e||(_e=new Un(ft,st),$e=_e.getContext("2d"),$e.rect(0,0,_e.width,_e.height),$e.fillStyle="#ffffff",$e.fill()),(!Ae||!Be||ft!==Ae.width||st!==Ae.height)&&(Ae=new Un(ft,st),Fe=Ae.getContext("2d"),Be=Fe.createImageData(ft,st)),Be.data.set(Ye.patch),Fe.putImageData(Be,0,0),$e.drawImage(Ae.getContext("2d").canvas,Ye.dims.left,Ye.dims.top);const Ct=new Un(F,F),jt=Ct.getContext("2d");jt.drawImage(_e.getContext("2d").canvas,0,0,F,F),jt.rect(0,0,F,F),jt.fillStyle=W,jt.fill(),jt.drawImage(Y.getContext("2d").canvas,0,0,F,F);const Dr=new Un(_,_),$=Dr.getContext("2d");$.drawImage(Ct.getContext("2d").canvas,0,0,_,_),ve.addFrame($.getImageData(0,0,Dr.width,Dr.height).data)}),!ve)throw new Error("No frames.");if(ve.finish(),Jm(this.canvas)){const ft=ve.stream().toFlattenUint8Array().reduce((st,Ct)=>st+String.fromCharCode(Ct),"");return Promise.resolve(`data:image/gif;base64,${window.btoa(ft)}`)}return Promise.resolve(Buffer.from(ve.stream().toFlattenUint8Array()))}else{H.drawImage(Y.getContext("2d").canvas,0,0,F,F),A.drawImage(R.getContext("2d").canvas,-T,-T,F,F);const ve=new Un(_,_);ve.getContext("2d").drawImage(Y.getContext("2d").canvas,0,0,_,_),this.canvas=ve;const $e=this.options.gifBackground?"gif":"png";return Jm(this.canvas)?Promise.resolve(this.canvas.toDataURL($e)):Promise.resolve(this.canvas.toBuffer($e))}})}}et.CorrectLevel=Qt;et.defaultComponentOptions={data:{scale:.4},timing:{scale:.5,protectors:!1},alignment:{scale:.5,protectors:!1},cornerAlignment:{scale:.5,protectors:!0}};et.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",correctLevel:Qt.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:et.defaultComponentOptions,autoColor:!0,logoBackgroundColor:"#ffffff",backgroundColor:"#ffffff"};function Jm(e){try{return e instanceof HTMLElement}catch{return typeof e=="object"&&e.nodeType===1&&typeof e.style=="object"&&typeof e.ownerDocument=="object"}}const zw=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},AP={props:{text:{type:String,required:!0},qid:{type:String},correctLevel:{type:Number,default:1},size:{type:Number,default:200},margin:{type:Number,default:20},colorDark:{type:String,default:"#000000"},colorLight:{type:String,default:"#FFFFFF"},bgSrc:{type:String,default:void 0},background:{type:String,default:"rgba(0,0,0,0)"},backgroundDimming:{type:String,default:"rgba(0,0,0,0)"},logoSrc:{type:String,default:void 0},logoBackgroundColor:{type:String,default:"rgba(255,255,255,1)"},gifBgSrc:{type:String,default:void 0},logoScale:{type:Number,default:.2},logoMargin:{type:Number,default:0},logoCornerRadius:{type:Number,default:8},whiteMargin:{type:[Boolean,String],default:!0},dotScale:{type:Number,default:1},autoColor:{type:[Boolean,String],default:!0},binarize:{type:[Boolean,String],default:!1},binarizeThreshold:{type:Number,default:128},callback:{type:Function,default:function(){}},bindElement:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},components:{default:function(){return{data:{scale:1},timing:{scale:1,protectors:!1},alignment:{scale:1,protectors:!1},cornerAlignment:{scale:1,protectors:!0}}}}},name:"vue-qr",data(){return{imgUrl:""}},watch:{$props:{deep:!0,handler(){this.main()}}},mounted(){this.main()},methods:{async main(){if(this.gifBgSrc){const r=await LC(this.gifBgSrc),n=this.logoSrc;this.render(void 0,n,r);return}const e=this.bgSrc,t=this.logoSrc;this.render(e,t)},async render(e,t,r){const n=this;new et({gifBackground:r,text:n.text,size:n.size,margin:n.margin,colorDark:n.colorDark,colorLight:n.colorLight,backgroundColor:n.backgroundColor,backgroundImage:e,backgroundDimming:n.backgroundDimming,logoImage:t,logoScale:n.logoScale,logoBackgroundColor:n.logoBackgroundColor,correctLevel:n.correctLevel,logoMargin:n.logoMargin,logoCornerRadius:n.logoCornerRadius,whiteMargin:ih(n.whiteMargin),dotScale:n.dotScale,autoColor:ih(n.autoColor),binarize:ih(n.binarize),binarizeThreshold:n.binarizeThreshold,components:n.components}).draw().then(i=>{this.imgUrl=i,n.callback&&n.callback(i,n.qid)})}}},CP=["src"];function PP(e,t,r,n,i,o){return r.bindElement?(b.openBlock(),b.createElementBlock("img",{key:0,style:{display:"inline-block"},src:i.imgUrl},null,8,CP)):b.createCommentVNode("",!0)}const kP=zw(AP,[["render",PP]]);function NP(e){return{all:e=e||new Map,on:function(t,r){var n=e.get(t);n?n.push(r):e.set(t,[r])},off:function(t,r){var n=e.get(t);n&&(r?n.splice(n.indexOf(r)>>>0,1):e.set(t,[]))},emit:function(t,r){var n=e.get(t);n&&n.slice().map(function(i){i(r)}),(n=e.get("*"))&&n.slice().map(function(i){i(t,r)})}}}function jw(e,t){return function(){return e.apply(t,arguments)}}const{toString:IP}=Object.prototype,{getPrototypeOf:l0}=Object,Ic=(e=>t=>{const r=IP.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Nn=e=>(e=e.toLowerCase(),t=>Ic(t)===e),Rc=e=>t=>typeof t===e,{isArray:Wa}=Array,js=Rc("undefined");function RP(e){return e!==null&&!js(e)&&e.constructor!==null&&!js(e.constructor)&&Rr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vw=Nn("ArrayBuffer");function FP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Vw(e.buffer),t}const LP=Rc("string"),Rr=Rc("function"),qw=Rc("number"),Fc=e=>e!==null&&typeof e=="object",BP=e=>e===!0||e===!1,El=e=>{if(Ic(e)!=="object")return!1;const t=l0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},YP=Nn("Date"),WP=Nn("File"),UP=Nn("Blob"),HP=Nn("FileList"),zP=e=>Fc(e)&&Rr(e.pipe),jP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Rr(e.append)&&((t=Ic(e))==="formdata"||t==="object"&&Rr(e.toString)&&e.toString()==="[object FormData]"))},VP=Nn("URLSearchParams"),qP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function vu(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),Wa(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(n=0;n<a;n++)s=o[n],t.call(null,e[s],s,e)}}function Gw(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,i;for(;n-- >0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Xw=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Kw=e=>!js(e)&&e!==Xw;function Bd(){const{caseless:e}=Kw(this)&&this||{},t={},r=(n,i)=>{const o=e&&Gw(t,i)||i;El(t[o])&&El(n)?t[o]=Bd(t[o],n):El(n)?t[o]=Bd({},n):Wa(n)?t[o]=n.slice():t[o]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&vu(arguments[n],r);return t}const GP=(e,t,r,{allOwnKeys:n}={})=>(vu(t,(i,o)=>{r&&Rr(i)?e[o]=jw(i,r):e[o]=i},{allOwnKeys:n}),e),XP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),KP=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},ZP=(e,t,r,n)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&l0(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},JP=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},QP=e=>{if(!e)return null;if(Wa(e))return e;let t=e.length;if(!qw(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ek=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&l0(Uint8Array)),tk=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},rk=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},nk=Nn("HTMLFormElement"),ik=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),Qm=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ok=Nn("RegExp"),Zw=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};vu(r,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(n[o]=a||i)}),Object.defineProperties(e,n)},ak=e=>{Zw(e,(t,r)=>{if(Rr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Rr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},sk=(e,t)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return Wa(e)?n(e):n(String(e).split(t)),r},uk=()=>{},lk=(e,t)=>(e=+e,Number.isFinite(e)?e:t),lh="abcdefghijklmnopqrstuvwxyz",e1="0123456789",Jw={DIGIT:e1,ALPHA:lh,ALPHA_DIGIT:lh+lh.toUpperCase()+e1},ck=(e=16,t=Jw.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function fk(e){return!!(e&&Rr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hk=e=>{const t=new Array(10),r=(n,i)=>{if(Fc(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const o=Wa(n)?[]:{};return vu(n,(a,s)=>{const u=r(a,i+1);!js(u)&&(o[s]=u)}),t[i]=void 0,o}}return n};return r(e,0)},dk=Nn("AsyncFunction"),pk=e=>e&&(Fc(e)||Rr(e))&&Rr(e.then)&&Rr(e.catch),G={isArray:Wa,isArrayBuffer:Vw,isBuffer:RP,isFormData:jP,isArrayBufferView:FP,isString:LP,isNumber:qw,isBoolean:BP,isObject:Fc,isPlainObject:El,isUndefined:js,isDate:YP,isFile:WP,isBlob:UP,isRegExp:ok,isFunction:Rr,isStream:zP,isURLSearchParams:VP,isTypedArray:ek,isFileList:HP,forEach:vu,merge:Bd,extend:GP,trim:qP,stripBOM:XP,inherits:KP,toFlatObject:ZP,kindOf:Ic,kindOfTest:Nn,endsWith:JP,toArray:QP,forEachEntry:tk,matchAll:rk,isHTMLForm:nk,hasOwnProperty:Qm,hasOwnProp:Qm,reduceDescriptors:Zw,freezeMethods:ak,toObjectSet:sk,toCamelCase:ik,noop:uk,toFiniteNumber:lk,findKey:Gw,global:Xw,isContextDefined:Kw,ALPHABET:Jw,generateString:ck,isSpecCompliantForm:fk,toJSONObject:hk,isAsyncFn:dk,isThenable:pk};function ze(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}G.inherits(ze,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Qw=ze.prototype,eb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{eb[e]={value:e}});Object.defineProperties(ze,eb);Object.defineProperty(Qw,"isAxiosError",{value:!0});ze.from=(e,t,r,n,i,o)=>{const a=Object.create(Qw);return G.toFlatObject(e,a,function(u){return u!==Error.prototype},s=>s!=="isAxiosError"),ze.call(a,e.message,t,r,n,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const vk=null;function Yd(e){return G.isPlainObject(e)||G.isArray(e)}function tb(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function t1(e,t,r){return e?e.concat(t).map(function(i,o){return i=tb(i),!r&&o?"["+i+"]":i}).join(r?".":""):t}function mk(e){return G.isArray(e)&&!e.some(Yd)}const gk=G.toFlatObject(G,{},null,function(t){return/^is[A-Z]/.test(t)});function Lc(e,t,r){if(!G.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=G.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,g){return!G.isUndefined(g[v])});const n=r.metaTokens,i=r.visitor||f,o=r.dots,a=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(t);if(!G.isFunction(i))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if(G.isDate(p))return p.toISOString();if(!u&&G.isBlob(p))throw new ze("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(p)||G.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,v,g){let m=p;if(p&&!g&&typeof p=="object"){if(G.endsWith(v,"{}"))v=n?v:v.slice(0,-2),p=JSON.stringify(p);else if(G.isArray(p)&&mk(p)||(G.isFileList(p)||G.endsWith(v,"[]"))&&(m=G.toArray(p)))return v=tb(v),m.forEach(function(y,S){!(G.isUndefined(y)||y===null)&&t.append(a===!0?t1([v],S,o):a===null?v:v+"[]",l(y))}),!1}return Yd(p)?!0:(t.append(t1(g,v,o),l(p)),!1)}const c=[],h=Object.assign(gk,{defaultVisitor:f,convertValue:l,isVisitable:Yd});function d(p,v){if(!G.isUndefined(p)){if(c.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));c.push(p),G.forEach(p,function(m,O){(!(G.isUndefined(m)||m===null)&&i.call(t,m,G.isString(O)?O.trim():O,v,h))===!0&&d(m,v?v.concat(O):[O])}),c.pop()}}if(!G.isObject(e))throw new TypeError("data must be an object");return d(e),t}function r1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function c0(e,t){this._pairs=[],e&&Lc(e,this,t)}const rb=c0.prototype;rb.append=function(t,r){this._pairs.push([t,r])};rb.toString=function(t){const r=t?function(n){return t.call(this,n,r1)}:r1;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function yk(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function nb(e,t,r){if(!t)return e;const n=r&&r.encode||yk,i=r&&r.serialize;let o;if(i?o=i(t,r):o=G.isURLSearchParams(t)?t.toString():new c0(t,r).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class n1{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){G.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ib={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wk=typeof URLSearchParams<"u"?URLSearchParams:c0,bk=typeof FormData<"u"?FormData:null,_k=typeof Blob<"u"?Blob:null,Sk={isBrowser:!0,classes:{URLSearchParams:wk,FormData:bk,Blob:_k},protocols:["http","https","file","blob","url","data"]},ob=typeof window<"u"&&typeof document<"u",xk=(e=>ob&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Ek=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ok=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ob,hasStandardBrowserEnv:xk,hasStandardBrowserWebWorkerEnv:Ek},Symbol.toStringTag,{value:"Module"})),bn={...Ok,...Sk};function $k(e,t){return Lc(e,new bn.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return bn.isNode&&G.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Tk(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Dk(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}function ab(e){function t(r,n,i,o){let a=r[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),u=o>=r.length;return a=!a&&G.isArray(i)?i.length:a,u?(G.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s):((!i[a]||!G.isObject(i[a]))&&(i[a]=[]),t(r,n,i[a],o)&&G.isArray(i[a])&&(i[a]=Dk(i[a])),!s)}if(G.isFormData(e)&&G.isFunction(e.entries)){const r={};return G.forEachEntry(e,(n,i)=>{t(Tk(n),i,r,0)}),r}return null}function Mk(e,t,r){if(G.isString(e))try{return(t||JSON.parse)(e),G.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const mu={transitional:ib,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=G.isObject(t);if(o&&G.isHTMLForm(t)&&(t=new FormData(t)),G.isFormData(t))return i?JSON.stringify(ab(t)):t;if(G.isArrayBuffer(t)||G.isBuffer(t)||G.isStream(t)||G.isFile(t)||G.isBlob(t))return t;if(G.isArrayBufferView(t))return t.buffer;if(G.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return $k(t,this.formSerializer).toString();if((s=G.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Lc(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),Mk(t)):t}],transformResponse:[function(t){const r=this.transitional||mu.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(t&&G.isString(t)&&(n&&!this.responseType||i)){const a=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?ze.from(s,ze.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bn.classes.FormData,Blob:bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],e=>{mu.headers[e]={}});const Ak=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ck=e=>{const t={};let r,n,i;return e&&e.split(`
30
+ `).forEach(function(a){i=a.indexOf(":"),r=a.substring(0,i).trim().toLowerCase(),n=a.substring(i+1).trim(),!(!r||t[r]&&Ak[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},i1=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function Ol(e){return e===!1||e==null?e:G.isArray(e)?e.map(Ol):String(e)}function Pk(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const kk=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ch(e,t,r,n,i){if(G.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!G.isString(t)){if(G.isString(n))return t.indexOf(n)!==-1;if(G.isRegExp(n))return n.test(t)}}function Nk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Ik(e,t){const r=G.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,o,a){return this[n].call(this,t,i,o,a)},configurable:!0})})}let Fr=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function o(s,u,l){const f=is(u);if(!f)throw new Error("header name must be a non-empty string");const c=G.findKey(i,f);(!c||i[c]===void 0||l===!0||l===void 0&&i[c]!==!1)&&(i[c||u]=Ol(s))}const a=(s,u)=>G.forEach(s,(l,f)=>o(l,f,u));return G.isPlainObject(t)||t instanceof this.constructor?a(t,r):G.isString(t)&&(t=t.trim())&&!kk(t)?a(Ck(t),r):t!=null&&o(r,t,n),this}get(t,r){if(t=is(t),t){const n=G.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return Pk(i);if(G.isFunction(r))return r.call(this,i,n);if(G.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=is(t),t){const n=G.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||ch(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function o(a){if(a=is(a),a){const s=G.findKey(n,a);s&&(!r||ch(n,n[s],s,r))&&(delete n[s],i=!0)}}return G.isArray(t)?t.forEach(o):o(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!t||ch(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const r=this,n={};return G.forEach(this,(i,o)=>{const a=G.findKey(n,o);if(a){r[a]=Ol(i),delete r[o];return}const s=t?Nk(o):String(o).trim();s!==o&&delete r[o],r[s]=Ol(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return G.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&G.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
31
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[i1]=this[i1]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=is(a);n[s]||(Ik(i,a),n[s]=!0)}return G.isArray(t)?t.forEach(o):o(t),this}};Fr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(Fr.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});G.freezeMethods(Fr);function fh(e,t){const r=this||mu,n=t||r,i=Fr.from(n.headers);let o=n.data;return G.forEach(e,function(s){o=s.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function sb(e){return!!(e&&e.__CANCEL__)}function gu(e,t,r){ze.call(this,e??"canceled",ze.ERR_CANCELED,t,r),this.name="CanceledError"}G.inherits(gu,ze,{__CANCEL__:!0});function Rk(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new ze("Request failed with status code "+r.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Fk=bn.hasStandardBrowserEnv?{write(e,t,r,n,i,o){const a=[e+"="+encodeURIComponent(t)];G.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),G.isString(n)&&a.push("path="+n),G.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Lk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Bk(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ub(e,t){return e&&!Lk(t)?Bk(e,t):t}const Yk=bn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(o){let a=o;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(a){const s=G.isString(a)?i(a):a;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function Wk(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Uk(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),f=n[o];a||(a=l),r[i]=u,n[i]=l;let c=o,h=0;for(;c!==i;)h+=r[c++],c=c%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),l-a<t)return;const d=f&&l-f;return d?Math.round(h*1e3/d):void 0}}function o1(e,t){let r=0;const n=Uk(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-r,u=n(s),l=o<=a;r=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&l?(a-o)/u:void 0,event:i};f[t?"download":"upload"]=!0,e(f)}}const Hk=typeof XMLHttpRequest<"u",zk=Hk&&function(e){return new Promise(function(r,n){let i=e.data;const o=Fr.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,u;function l(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}let f;if(G.isFormData(i)){if(bn.hasStandardBrowserEnv||bn.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((f=o.getContentType())!==!1){const[v,...g]=f?f.split(";").map(m=>m.trim()).filter(Boolean):[];o.setContentType([v||"multipart/form-data",...g].join("; "))}}let c=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(v+":"+g))}const h=ub(e.baseURL,e.url);c.open(e.method.toUpperCase(),nb(h,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const v=Fr.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:v,config:e,request:c};Rk(function(y){r(y),l()},function(y){n(y),l()},m),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(n(new ze("Request aborted",ze.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new ze("Network Error",ze.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||ib;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),n(new ze(g,m.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,c)),c=null},bn.hasStandardBrowserEnv&&(s&&G.isFunction(s)&&(s=s(e)),s||s!==!1&&Yk(h))){const v=e.xsrfHeaderName&&e.xsrfCookieName&&Fk.read(e.xsrfCookieName);v&&o.set(e.xsrfHeaderName,v)}i===void 0&&o.setContentType(null),"setRequestHeader"in c&&G.forEach(o.toJSON(),function(g,m){c.setRequestHeader(m,g)}),G.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&a!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",o1(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",o1(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=v=>{c&&(n(!v||v.type?new gu(null,e,c):v),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const p=Wk(h);if(p&&bn.protocols.indexOf(p)===-1){n(new ze("Unsupported protocol "+p+":",ze.ERR_BAD_REQUEST,e));return}c.send(i||null)})},Wd={http:vk,xhr:zk};G.forEach(Wd,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const a1=e=>`- ${e}`,jk=e=>G.isFunction(e)||e===null||e===!1,lb={getAdapter:e=>{e=G.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let o=0;o<t;o++){r=e[o];let a;if(n=r,!jk(r)&&(n=Wd[(a=String(r)).toLowerCase()],n===void 0))throw new ze(`Unknown adapter '${a}'`);if(n)break;i[a||"#"+o]=n}if(!n){const o=Object.entries(i).map(([s,u])=>`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
32
+ `+o.map(a1).join(`
33
+ `):" "+a1(o[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Wd};function hh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gu(null,e)}function s1(e){return hh(e),e.headers=Fr.from(e.headers),e.data=fh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lb.getAdapter(e.adapter||mu.adapter)(e).then(function(n){return hh(e),n.data=fh.call(e,e.transformResponse,n),n.headers=Fr.from(n.headers),n},function(n){return sb(n)||(hh(e),n&&n.response&&(n.response.data=fh.call(e,e.transformResponse,n.response),n.response.headers=Fr.from(n.response.headers))),Promise.reject(n)})}const u1=e=>e instanceof Fr?{...e}:e;function Ta(e,t){t=t||{};const r={};function n(l,f,c){return G.isPlainObject(l)&&G.isPlainObject(f)?G.merge.call({caseless:c},l,f):G.isPlainObject(f)?G.merge({},f):G.isArray(f)?f.slice():f}function i(l,f,c){if(G.isUndefined(f)){if(!G.isUndefined(l))return n(void 0,l,c)}else return n(l,f,c)}function o(l,f){if(!G.isUndefined(f))return n(void 0,f)}function a(l,f){if(G.isUndefined(f)){if(!G.isUndefined(l))return n(void 0,l)}else return n(void 0,f)}function s(l,f,c){if(c in t)return n(l,f);if(c in e)return n(void 0,l)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(l,f)=>i(u1(l),u1(f),!0)};return G.forEach(Object.keys(Object.assign({},e,t)),function(f){const c=u[f]||i,h=c(e[f],t[f],f);G.isUndefined(h)&&c!==s||(r[f]=h)}),r}const cb="1.6.8",f0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{f0[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const l1={};f0.transitional=function(t,r,n){function i(o,a){return"[Axios v"+cb+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return(o,a,s)=>{if(t===!1)throw new ze(i(a," has been removed"+(r?" in "+r:"")),ze.ERR_DEPRECATED);return r&&!l1[a]&&(l1[a]=!0,console.warn(i(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,a,s):!0}};function Vk(e,t,r){if(typeof e!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],a=t[o];if(a){const s=e[o],u=s===void 0||a(s,o,e);if(u!==!0)throw new ze("option "+o+" must be "+u,ze.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ze("Unknown option "+o,ze.ERR_BAD_OPTION)}}const Ud={assertOptions:Vk,validators:f0},bi=Ud.validators;let bo=class{constructor(t){this.defaults=t,this.interceptors={request:new n1,response:new n1}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
34
+ `+o):n.stack=o}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ta(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Ud.assertOptions(n,{silentJSONParsing:bi.transitional(bi.boolean),forcedJSONParsing:bi.transitional(bi.boolean),clarifyTimeoutError:bi.transitional(bi.boolean)},!1),i!=null&&(G.isFunction(i)?r.paramsSerializer={serialize:i}:Ud.assertOptions(i,{encode:bi.function,serialize:bi.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=o&&G.merge(o.common,o[r.method]);o&&G.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),r.headers=Fr.concat(a,o);const s=[];let u=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(u=u&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const l=[];this.interceptors.response.forEach(function(v){l.push(v.fulfilled,v.rejected)});let f,c=0,h;if(!u){const p=[s1.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,l),h=p.length,f=Promise.resolve(r);c<h;)f=f.then(p[c++],p[c++]);return f}h=s.length;let d=r;for(c=0;c<h;){const p=s[c++],v=s[c++];try{d=p(d)}catch(g){v.call(this,g);break}}try{f=s1.call(this,d)}catch(p){return Promise.reject(p)}for(c=0,h=l.length;c<h;)f=f.then(l[c++],l[c++]);return f}getUri(t){t=Ta(this.defaults,t);const r=ub(t.baseURL,t.url);return nb(r,t.params,t.paramsSerializer)}};G.forEach(["delete","get","head","options"],function(t){bo.prototype[t]=function(r,n){return this.request(Ta(n||{},{method:t,url:r,data:(n||{}).data}))}});G.forEach(["post","put","patch"],function(t){function r(n){return function(o,a,s){return this.request(Ta(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}bo.prototype[t]=r(),bo.prototype[t+"Form"]=r(!0)});let qk=class fb{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(i=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{n.subscribe(s),o=s}).then(i);return a.cancel=function(){n.unsubscribe(o)},a},t(function(o,a,s){n.reason||(n.reason=new gu(o,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new fb(function(i){t=i}),cancel:t}}};function Gk(e){return function(r){return e.apply(null,r)}}function Xk(e){return G.isObject(e)&&e.isAxiosError===!0}const Hd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Hd).forEach(([e,t])=>{Hd[t]=e});function hb(e){const t=new bo(e),r=jw(bo.prototype.request,t);return G.extend(r,bo.prototype,t,{allOwnKeys:!0}),G.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return hb(Ta(e,i))},r}const $t=hb(mu);$t.Axios=bo;$t.CanceledError=gu;$t.CancelToken=qk;$t.isCancel=sb;$t.VERSION=cb;$t.toFormData=Lc;$t.AxiosError=ze;$t.Cancel=$t.CanceledError;$t.all=function(t){return Promise.all(t)};$t.spread=Gk;$t.isAxiosError=Xk;$t.mergeConfig=Ta;$t.AxiosHeaders=Fr;$t.formToJSON=e=>ab(G.isHTMLForm(e)?new FormData(e):e);$t.getAdapter=lb.getAdapter;$t.HttpStatusCode=Hd;$t.default=$t;const{Axios:nse,AxiosError:ise,CanceledError:ose,isCancel:ase,CancelToken:sse,VERSION:use,all:lse,Cancel:cse,isAxiosError:fse,spread:hse,toFormData:dse,AxiosHeaders:pse,HttpStatusCode:vse,formToJSON:mse,getAdapter:gse,mergeConfig:yse}=$t;var Ua=TypeError,h0=typeof Map=="function"&&Map.prototype,dh=Object.getOwnPropertyDescriptor&&h0?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Xl=h0&&dh&&typeof dh.get=="function"?dh.get:null,c1=h0&&Map.prototype.forEach,d0=typeof Set=="function"&&Set.prototype,ph=Object.getOwnPropertyDescriptor&&d0?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Kl=d0&&ph&&typeof ph.get=="function"?ph.get:null,f1=d0&&Set.prototype.forEach,Kk=typeof WeakMap=="function"&&WeakMap.prototype,Es=Kk?WeakMap.prototype.has:null,Zk=typeof WeakSet=="function"&&WeakSet.prototype,Os=Zk?WeakSet.prototype.has:null,Jk=typeof WeakRef=="function"&&WeakRef.prototype,h1=Jk?WeakRef.prototype.deref:null,Qk=Boolean.prototype.valueOf,eN=Object.prototype.toString,tN=Function.prototype.toString,rN=String.prototype.match,p0=String.prototype.slice,Ni=String.prototype.replace,nN=String.prototype.toUpperCase,d1=String.prototype.toLowerCase,db=RegExp.prototype.test,p1=Array.prototype.concat,gn=Array.prototype.join,iN=Array.prototype.slice,v1=Math.floor,zd=typeof BigInt=="function"?BigInt.prototype.valueOf:null,vh=Object.getOwnPropertySymbols,jd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Da=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$s=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Da||!0)?Symbol.toStringTag:null,pb=Object.prototype.propertyIsEnumerable,m1=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function g1(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||db.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-v1(-e):v1(e);if(n!==e){var i=String(n),o=p0.call(t,i.length+1);return Ni.call(i,r,"$&_")+"."+Ni.call(Ni.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ni.call(t,r,"$&_")}var Vd=Pe.require$$0,y1=Vd.custom,w1=gb(y1)?y1:null,vb={__proto__:null,double:'"',single:"'"},oN={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Bc=function e(t,r,n,i){var o=r||{};if(qn(o,"quoteStyle")&&!qn(vb,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(qn(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=qn(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(qn(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(qn(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return wb(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return s?g1(t,u):u}if(typeof t=="bigint"){var l=String(t)+"n";return s?g1(t,l):l}var f=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=f&&f>0&&typeof t=="object")return qd(t)?"[Array]":"[Object]";var c=xN(o,n);if(typeof i>"u")i=[];else if(yb(i,t)>=0)return"[Circular]";function h(F,Y,A){if(Y&&(i=iN.call(i),i.push(Y)),A){var R={depth:o.depth};return qn(o,"quoteStyle")&&(R.quoteStyle=o.quoteStyle),e(F,R,n+1,i)}return e(F,o,n+1,i)}if(typeof t=="function"&&!b1(t)){var d=pN(t),p=Ku(t,h);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(p.length>0?" { "+gn.call(p,", ")+" }":"")}if(gb(t)){var v=Da?Ni.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):jd.call(t);return typeof t=="object"&&!Da?os(v):v}if(bN(t)){for(var g="<"+d1.call(String(t.nodeName)),m=t.attributes||[],O=0;O<m.length;O++)g+=" "+m[O].name+"="+mb(aN(m[O].value),"double",o);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+d1.call(String(t.nodeName))+">",g}if(qd(t)){if(t.length===0)return"[]";var y=Ku(t,h);return c&&!SN(y)?"["+Gd(y,c)+"]":"[ "+gn.call(y,", ")+" ]"}if(uN(t)){var S=Ku(t,h);return!("cause"in Error.prototype)&&"cause"in t&&!pb.call(t,"cause")?"{ ["+String(t)+"] "+gn.call(p1.call("[cause]: "+h(t.cause),S),", ")+" }":S.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+gn.call(S,", ")+" }"}if(typeof t=="object"&&a){if(w1&&typeof t[w1]=="function"&&Vd)return Vd(t,{depth:f-n});if(a!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(vN(t)){var _=[];return c1&&c1.call(t,function(F,Y){_.push(h(Y,t,!0)+" => "+h(F,t))}),_1("Map",Xl.call(t),_,c)}if(yN(t)){var x=[];return f1&&f1.call(t,function(F){x.push(h(F,t))}),_1("Set",Kl.call(t),x,c)}if(mN(t))return mh("WeakMap");if(wN(t))return mh("WeakSet");if(gN(t))return mh("WeakRef");if(cN(t))return os(h(Number(t)));if(hN(t))return os(h(zd.call(t)));if(fN(t))return os(Qk.call(t));if(lN(t))return os(h(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof Pe.commonjsGlobal<"u"&&t===Pe.commonjsGlobal)return"{ [object globalThis] }";if(!sN(t)&&!b1(t)){var T=Ku(t,h),C=m1?m1(t)===Object.prototype:t instanceof Object||t.constructor===Object,L=t instanceof Object?"":"null prototype",W=!C&&$s&&Object(t)===t&&$s in t?p0.call(Xi(t),8,-1):L?"Object":"",D=C||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",z=D+(W||L?"["+gn.call(p1.call([],W||[],L||[]),": ")+"] ":"");return T.length===0?z+"{}":c?z+"{"+Gd(T,c)+"}":z+"{ "+gn.call(T,", ")+" }"}return String(t)};function mb(e,t,r){var n=r.quoteStyle||t,i=vb[n];return i+e+i}function aN(e){return Ni.call(String(e),/"/g,"&quot;")}function ko(e){return!$s||!(typeof e=="object"&&($s in e||typeof e[$s]<"u"))}function qd(e){return Xi(e)==="[object Array]"&&ko(e)}function sN(e){return Xi(e)==="[object Date]"&&ko(e)}function b1(e){return Xi(e)==="[object RegExp]"&&ko(e)}function uN(e){return Xi(e)==="[object Error]"&&ko(e)}function lN(e){return Xi(e)==="[object String]"&&ko(e)}function cN(e){return Xi(e)==="[object Number]"&&ko(e)}function fN(e){return Xi(e)==="[object Boolean]"&&ko(e)}function gb(e){if(Da)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!jd)return!1;try{return jd.call(e),!0}catch{}return!1}function hN(e){if(!e||typeof e!="object"||!zd)return!1;try{return zd.call(e),!0}catch{}return!1}var dN=Object.prototype.hasOwnProperty||function(e){return e in this};function qn(e,t){return dN.call(e,t)}function Xi(e){return eN.call(e)}function pN(e){if(e.name)return e.name;var t=rN.call(tN.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function yb(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function vN(e){if(!Xl||!e||typeof e!="object")return!1;try{Xl.call(e);try{Kl.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function mN(e){if(!Es||!e||typeof e!="object")return!1;try{Es.call(e,Es);try{Os.call(e,Os)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function gN(e){if(!h1||!e||typeof e!="object")return!1;try{return h1.call(e),!0}catch{}return!1}function yN(e){if(!Kl||!e||typeof e!="object")return!1;try{Kl.call(e);try{Xl.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function wN(e){if(!Os||!e||typeof e!="object")return!1;try{Os.call(e,Os);try{Es.call(e,Es)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function bN(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function wb(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return wb(p0.call(e,0,t.maxStringLength),t)+n}var i=oN[t.quoteStyle||"single"];i.lastIndex=0;var o=Ni.call(Ni.call(e,i,"\\$1"),/[\x00-\x1f]/g,_N);return mb(o,"single",t)}function _N(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+nN.call(t.toString(16))}function os(e){return"Object("+e+")"}function mh(e){return e+" { ? }"}function _1(e,t,r,n){var i=n?Gd(r,n):gn.call(r,", ");return e+" ("+t+") {"+i+"}"}function SN(e){for(var t=0;t<e.length;t++)if(yb(e[t],`
35
+ `)>=0)return!1;return!0}function xN(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=gn.call(Array(e.indent+1)," ");else return null;return{base:r,prev:gn.call(Array(t+1),r)}}function Gd(e,t){if(e.length===0)return"";var r=`
36
+ `+t.prev+t.base;return r+gn.call(e,","+r)+`
37
+ `+t.prev}function Ku(e,t){var r=qd(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=qn(e,i)?t(e[i],e):""}var o=typeof vh=="function"?vh(e):[],a;if(Da){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var u in e)qn(e,u)&&(r&&String(Number(u))===u&&u<e.length||Da&&a["$"+u]instanceof Symbol||(db.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if(typeof vh=="function")for(var l=0;l<o.length;l++)pb.call(e,o[l])&&n.push("["+t(o[l])+"]: "+t(e[o[l]],e));return n}var EN=Bc,ON=Ua,Yc=function(e,t,r){for(var n=e,i;(i=n.next)!=null;n=i)if(i.key===t)return n.next=i.next,r||(i.next=e.next,e.next=i),i},$N=function(e,t){if(e){var r=Yc(e,t);return r&&r.value}},TN=function(e,t,r){var n=Yc(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},DN=function(e,t){return e?!!Yc(e,t):!1},MN=function(e,t){if(e)return Yc(e,t,!0)},AN=function(){var t,r={assert:function(n){if(!r.has(n))throw new ON("Side channel does not contain "+EN(n))},delete:function(n){var i=t&&t.next,o=MN(t,n);return o&&i&&i===o&&(t=void 0),!!o},get:function(n){return $N(t,n)},has:function(n){return DN(t,n)},set:function(n,i){t||(t={next:void 0}),TN(t,n,i)}};return r},bb=Object,CN=Error,PN=EvalError,kN=RangeError,NN=ReferenceError,IN=SyntaxError,RN=URIError,FN=Math.abs,LN=Math.floor,BN=Math.max,YN=Math.min,WN=Math.pow,UN=Math.round,HN=Number.isNaN||function(t){return t!==t},zN=HN,jN=function(t){return zN(t)||t===0?t:t<0?-1:1},VN=Object.getOwnPropertyDescriptor,$l=VN;if($l)try{$l([],"length")}catch{$l=null}var _b=$l,Tl=Object.defineProperty||!1;if(Tl)try{Tl({},"a",{value:1})}catch{Tl=!1}var qN=Tl,gh,S1;function GN(){return S1||(S1=1,gh=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),gh}var yh,x1;function XN(){if(x1)return yh;x1=1;var e=typeof Symbol<"u"&&Symbol,t=GN();return yh=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},yh}var wh,E1;function Sb(){return E1||(E1=1,wh=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),wh}var bh,O1;function xb(){if(O1)return bh;O1=1;var e=bb;return bh=e.getPrototypeOf||null,bh}var _h,$1;function KN(){if($1)return _h;$1=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(u,l){for(var f=[],c=0;c<u.length;c+=1)f[c]=u[c];for(var h=0;h<l.length;h+=1)f[h+u.length]=l[h];return f},o=function(u,l){for(var f=[],c=l,h=0;c<u.length;c+=1,h+=1)f[h]=u[c];return f},a=function(s,u){for(var l="",f=0;f<s.length;f+=1)l+=s[f],f+1<s.length&&(l+=u);return l};return _h=function(u){var l=this;if(typeof l!="function"||t.apply(l)!==n)throw new TypeError(e+l);for(var f=o(arguments,1),c,h=function(){if(this instanceof c){var m=l.apply(this,i(f,arguments));return Object(m)===m?m:this}return l.apply(u,i(f,arguments))},d=r(0,l.length-f.length),p=[],v=0;v<d;v++)p[v]="$"+v;if(c=Function("binder","return function ("+a(p,",")+"){ return binder.apply(this,arguments); }")(h),l.prototype){var g=function(){};g.prototype=l.prototype,c.prototype=new g,g.prototype=null}return c},_h}var Sh,T1;function Wc(){if(T1)return Sh;T1=1;var e=KN();return Sh=Function.prototype.bind||e,Sh}var v0=Function.prototype.call,xh,D1;function Eb(){return D1||(D1=1,xh=Function.prototype.apply),xh}var ZN=typeof Reflect<"u"&&Reflect&&Reflect.apply,JN=Wc(),QN=Eb(),e9=v0,t9=ZN,r9=t9||JN.call(e9,QN),n9=Wc(),i9=Ua,o9=v0,a9=r9,Ob=function(t){if(t.length<1||typeof t[0]!="function")throw new i9("a function is required");return a9(n9,o9,t)},Eh,M1;function s9(){if(M1)return Eh;M1=1;var e=Ob,t=_b,r;try{r=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return Eh=n&&typeof n.get=="function"?e([n.get]):typeof o=="function"?function(s){return o(s==null?s:i(s))}:!1,Eh}var Oh,A1;function u9(){if(A1)return Oh;A1=1;var e=Sb(),t=xb(),r=s9();return Oh=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:r?function(i){return r(i)}:null,Oh}var $h,C1;function l9(){if(C1)return $h;C1=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Wc();return $h=r.call(e,t),$h}var Le,c9=bb,f9=CN,h9=PN,d9=kN,p9=NN,Ma=IN,ca=Ua,v9=RN,m9=FN,g9=LN,y9=BN,w9=YN,b9=WN,_9=UN,S9=jN,$b=Function,Th=function(e){try{return $b('"use strict"; return ('+e+").constructor;")()}catch{}},Vs=_b,x9=qN,Dh=function(){throw new ca},E9=Vs?function(){try{return arguments.callee,Dh}catch{try{return Vs(arguments,"callee").get}catch{return Dh}}}():Dh,Ho=XN()(),Lt=u9(),O9=xb(),$9=Sb(),Tb=Eb(),yu=v0,Jo={},T9=typeof Uint8Array>"u"||!Lt?Le:Lt(Uint8Array),_o={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Le:ArrayBuffer,"%ArrayIteratorPrototype%":Ho&&Lt?Lt([][Symbol.iterator]()):Le,"%AsyncFromSyncIteratorPrototype%":Le,"%AsyncFunction%":Jo,"%AsyncGenerator%":Jo,"%AsyncGeneratorFunction%":Jo,"%AsyncIteratorPrototype%":Jo,"%Atomics%":typeof Atomics>"u"?Le:Atomics,"%BigInt%":typeof BigInt>"u"?Le:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":f9,"%eval%":eval,"%EvalError%":h9,"%Float16Array%":typeof Float16Array>"u"?Le:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Le:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Le:FinalizationRegistry,"%Function%":$b,"%GeneratorFunction%":Jo,"%Int8Array%":typeof Int8Array>"u"?Le:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Le:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ho&&Lt?Lt(Lt([][Symbol.iterator]())):Le,"%JSON%":typeof JSON=="object"?JSON:Le,"%Map%":typeof Map>"u"?Le:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ho||!Lt?Le:Lt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":c9,"%Object.getOwnPropertyDescriptor%":Vs,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Le:Promise,"%Proxy%":typeof Proxy>"u"?Le:Proxy,"%RangeError%":d9,"%ReferenceError%":p9,"%Reflect%":typeof Reflect>"u"?Le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Le:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ho||!Lt?Le:Lt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ho&&Lt?Lt(""[Symbol.iterator]()):Le,"%Symbol%":Ho?Symbol:Le,"%SyntaxError%":Ma,"%ThrowTypeError%":E9,"%TypedArray%":T9,"%TypeError%":ca,"%Uint8Array%":typeof Uint8Array>"u"?Le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Le:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Le:Uint32Array,"%URIError%":v9,"%WeakMap%":typeof WeakMap>"u"?Le:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Le:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Le:WeakSet,"%Function.prototype.call%":yu,"%Function.prototype.apply%":Tb,"%Object.defineProperty%":x9,"%Object.getPrototypeOf%":O9,"%Math.abs%":m9,"%Math.floor%":g9,"%Math.max%":y9,"%Math.min%":w9,"%Math.pow%":b9,"%Math.round%":_9,"%Math.sign%":S9,"%Reflect.getPrototypeOf%":$9};if(Lt)try{null.error}catch(e){var D9=Lt(Lt(e));_o["%Error.prototype%"]=D9}var M9=function e(t){var r;if(t==="%AsyncFunction%")r=Th("async function () {}");else if(t==="%GeneratorFunction%")r=Th("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Th("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Lt&&(r=Lt(i.prototype))}return _o[t]=r,r},P1={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},wu=Wc(),Zl=l9(),A9=wu.call(yu,Array.prototype.concat),C9=wu.call(Tb,Array.prototype.splice),k1=wu.call(yu,String.prototype.replace),Jl=wu.call(yu,String.prototype.slice),P9=wu.call(yu,RegExp.prototype.exec),k9=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N9=/\\(\\)?/g,I9=function(t){var r=Jl(t,0,1),n=Jl(t,-1);if(r==="%"&&n!=="%")throw new Ma("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Ma("invalid intrinsic syntax, expected opening `%`");var i=[];return k1(t,k9,function(o,a,s,u){i[i.length]=s?k1(u,N9,"$1"):a||o}),i},R9=function(t,r){var n=t,i;if(Zl(P1,n)&&(i=P1[n],n="%"+i[0]+"%"),Zl(_o,n)){var o=_o[n];if(o===Jo&&(o=M9(n)),typeof o>"u"&&!r)throw new ca("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Ma("intrinsic "+t+" does not exist!")},m0=function(t,r){if(typeof t!="string"||t.length===0)throw new ca("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ca('"allowMissing" argument must be a boolean');if(P9(/^%?[^%]*%?$/,t)===null)throw new Ma("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=I9(t),i=n.length>0?n[0]:"",o=R9("%"+i+"%",r),a=o.name,s=o.value,u=!1,l=o.alias;l&&(i=l[0],C9(n,A9([0,1],l)));for(var f=1,c=!0;f<n.length;f+=1){var h=n[f],d=Jl(h,0,1),p=Jl(h,-1);if((d==='"'||d==="'"||d==="`"||p==='"'||p==="'"||p==="`")&&d!==p)throw new Ma("property names with quotes must have matching quotes");if((h==="constructor"||!c)&&(u=!0),i+="."+h,a="%"+i+"%",Zl(_o,a))s=_o[a];else if(s!=null){if(!(h in s)){if(!r)throw new ca("base intrinsic for "+t+" exists, but the property is not available.");return}if(Vs&&f+1>=n.length){var v=Vs(s,h);c=!!v,c&&"get"in v&&!("originalValue"in v.get)?s=v.get:s=s[h]}else c=Zl(s,h),s=s[h];c&&!u&&(_o[a]=s)}}return s},Db=m0,Mb=Ob,F9=Mb([Db("%String.prototype.indexOf%")]),Ab=function(t,r){var n=Db(t,!!r);return typeof n=="function"&&F9(t,".prototype.")>-1?Mb([n]):n},L9=m0,bu=Ab,B9=Bc,Y9=Ua,N1=L9("%Map%",!0),W9=bu("Map.prototype.get",!0),U9=bu("Map.prototype.set",!0),H9=bu("Map.prototype.has",!0),z9=bu("Map.prototype.delete",!0),j9=bu("Map.prototype.size",!0),Cb=!!N1&&function(){var t,r={assert:function(n){if(!r.has(n))throw new Y9("Side channel does not contain "+B9(n))},delete:function(n){if(t){var i=z9(t,n);return j9(t)===0&&(t=void 0),i}return!1},get:function(n){if(t)return W9(t,n)},has:function(n){return t?H9(t,n):!1},set:function(n,i){t||(t=new N1),U9(t,n,i)}};return r},V9=m0,Uc=Ab,q9=Bc,Zu=Cb,G9=Ua,zo=V9("%WeakMap%",!0),X9=Uc("WeakMap.prototype.get",!0),K9=Uc("WeakMap.prototype.set",!0),Z9=Uc("WeakMap.prototype.has",!0),J9=Uc("WeakMap.prototype.delete",!0),Q9=zo?function(){var t,r,n={assert:function(i){if(!n.has(i))throw new G9("Side channel does not contain "+q9(i))},delete:function(i){if(zo&&i&&(typeof i=="object"||typeof i=="function")){if(t)return J9(t,i)}else if(Zu&&r)return r.delete(i);return!1},get:function(i){return zo&&i&&(typeof i=="object"||typeof i=="function")&&t?X9(t,i):r&&r.get(i)},has:function(i){return zo&&i&&(typeof i=="object"||typeof i=="function")&&t?Z9(t,i):!!r&&r.has(i)},set:function(i,o){zo&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new zo),K9(t,i,o)):Zu&&(r||(r=Zu()),r.set(i,o))}};return n}:Zu,e7=Ua,t7=Bc,r7=AN,n7=Cb,i7=Q9,o7=i7||n7||r7,a7=function(){var t,r={assert:function(n){if(!r.has(n))throw new e7("Side channel does not contain "+t7(n))},delete:function(n){return!!t&&t.delete(n)},get:function(n){return t&&t.get(n)},has:function(n){return!!t&&t.has(n)},set:function(n,i){t||(t=o7()),t.set(n,i)}};return r},s7=String.prototype.replace,u7=/%20/g,Mh={RFC1738:"RFC1738",RFC3986:"RFC3986"},g0={default:Mh.RFC3986,formatters:{RFC1738:function(e){return s7.call(e,u7,"+")},RFC3986:function(e){return String(e)}},RFC1738:Mh.RFC1738,RFC3986:Mh.RFC3986},l7=g0,Ah=Object.prototype.hasOwnProperty,uo=Array.isArray,hn=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c7=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(uo(n)){for(var i=[],o=0;o<n.length;++o)typeof n[o]<"u"&&i.push(n[o]);r.obj[r.prop]=i}}},Pb=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(n[i]=t[i]);return n},f7=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(uo(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ah.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var i=t;return uo(t)&&!uo(r)&&(i=Pb(t,n)),uo(t)&&uo(r)?(r.forEach(function(o,a){if(Ah.call(t,a)){var s=t[a];s&&typeof s=="object"&&o&&typeof o=="object"?t[a]=e(s,o,n):t.push(o)}else t[a]=o}),t):Object.keys(r).reduce(function(o,a){var s=r[a];return Ah.call(o,a)?o[a]=e(o[a],s,n):o[a]=s,o},i)},h7=function(t,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},t)},d7=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},p7=function(t,r,n,i,o){if(t.length===0)return t;var a=t;if(typeof t=="symbol"?a=Symbol.prototype.toString.call(t):typeof t!="string"&&(a=String(t)),n==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var s="",u=0;u<a.length;++u){var l=a.charCodeAt(u);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===l7.RFC1738&&(l===40||l===41)){s+=a.charAt(u);continue}if(l<128){s=s+hn[l];continue}if(l<2048){s=s+(hn[192|l>>6]+hn[128|l&63]);continue}if(l<55296||l>=57344){s=s+(hn[224|l>>12]+hn[128|l>>6&63]+hn[128|l&63]);continue}u+=1,l=65536+((l&1023)<<10|a.charCodeAt(u)&1023),s+=hn[240|l>>18]+hn[128|l>>12&63]+hn[128|l>>6&63]+hn[128|l&63]}return s},v7=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i<r.length;++i)for(var o=r[i],a=o.obj[o.prop],s=Object.keys(a),u=0;u<s.length;++u){var l=s[u],f=a[l];typeof f=="object"&&f!==null&&n.indexOf(f)===-1&&(r.push({obj:a,prop:l}),n.push(f))}return c7(r),t},m7=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},g7=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},y7=function(t,r){return[].concat(t,r)},w7=function(t,r){if(uo(t)){for(var n=[],i=0;i<t.length;i+=1)n.push(r(t[i]));return n}return r(t)},kb={arrayToObject:Pb,assign:h7,combine:y7,compact:v7,decode:d7,encode:p7,isBuffer:g7,isRegExp:m7,maybeMap:w7,merge:f7},Nb=a7,Dl=kb,Ts=g0,b7=Object.prototype.hasOwnProperty,Ib={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},pn=Array.isArray,_7=Array.prototype.push,Rb=function(e,t){_7.apply(e,pn(t)?t:[t])},S7=Date.prototype.toISOString,I1=Ts.default,kt={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Dl.encode,encodeValuesOnly:!1,format:I1,formatter:Ts.formatters[I1],indices:!1,serializeDate:function(t){return S7.call(t)},skipNulls:!1,strictNullHandling:!1},x7=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Ch={},E7=function e(t,r,n,i,o,a,s,u,l,f,c,h,d,p,v,g,m,O){for(var y=t,S=O,_=0,x=!1;(S=S.get(Ch))!==void 0&&!x;){var T=S.get(t);if(_+=1,typeof T<"u"){if(T===_)throw new RangeError("Cyclic object value");x=!0}typeof S.get(Ch)>"u"&&(_=0)}if(typeof f=="function"?y=f(r,y):y instanceof Date?y=d(y):n==="comma"&&pn(y)&&(y=Dl.maybeMap(y,function(se){return se instanceof Date?d(se):se})),y===null){if(a)return l&&!g?l(r,kt.encoder,m,"key",p):r;y=""}if(x7(y)||Dl.isBuffer(y)){if(l){var C=g?r:l(r,kt.encoder,m,"key",p);return[v(C)+"="+v(l(y,kt.encoder,m,"value",p))]}return[v(r)+"="+v(String(y))]}var L=[];if(typeof y>"u")return L;var W;if(n==="comma"&&pn(y))g&&l&&(y=Dl.maybeMap(y,l)),W=[{value:y.length>0?y.join(",")||null:void 0}];else if(pn(f))W=f;else{var D=Object.keys(y);W=c?D.sort(c):D}var z=u?r.replace(/\./g,"%2E"):r,F=i&&pn(y)&&y.length===1?z+"[]":z;if(o&&pn(y)&&y.length===0)return F+"[]";for(var Y=0;Y<W.length;++Y){var A=W[Y],R=typeof A=="object"&&typeof A.value<"u"?A.value:y[A];if(!(s&&R===null)){var H=h&&u?A.replace(/\./g,"%2E"):A,V=pn(y)?typeof n=="function"?n(F,H):F:F+(h?"."+H:"["+H+"]");O.set(t,_);var ie=Nb();ie.set(Ch,O),Rb(L,e(R,V,n,i,o,a,s,u,n==="comma"&&g&&pn(y)?null:l,f,c,h,d,p,v,g,m,ie))}}return L},O7=function(t){if(!t)return kt;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||kt.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Ts.default;if(typeof t.format<"u"){if(!b7.call(Ts.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=Ts.formatters[n],o=kt.filter;(typeof t.filter=="function"||pn(t.filter))&&(o=t.filter);var a;if(t.arrayFormat in Ib?a=t.arrayFormat:"indices"in t?a=t.indices?"indices":"repeat":a=kt.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var s=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:kt.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:kt.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:kt.allowEmptyArrays,arrayFormat:a,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:kt.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?kt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:kt.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:kt.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:kt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:kt.encodeValuesOnly,filter:o,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:kt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:kt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:kt.strictNullHandling}},$7=function(e,t){var r=e,n=O7(t),i,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):pn(n.filter)&&(o=n.filter,i=o);var a=[];if(typeof r!="object"||r===null)return"";var s=Ib[n.arrayFormat],u=s==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var l=Nb(),f=0;f<i.length;++f){var c=i[f];n.skipNulls&&r[c]===null||Rb(a,E7(r[c],c,s,u,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var h=a.join(n.delimiter),d=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),h.length>0?d+h:""},Aa=kb,Xd=Object.prototype.hasOwnProperty,T7=Array.isArray,Et={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:Aa.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},D7=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},Fb=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},M7="utf8=%26%2310003%3B",A7="utf8=%E2%9C%93",C7=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,a=i.split(r.delimiter,o),s=-1,u,l=r.charset;if(r.charsetSentinel)for(u=0;u<a.length;++u)a[u].indexOf("utf8=")===0&&(a[u]===A7?l="utf-8":a[u]===M7&&(l="iso-8859-1"),s=u,u=a.length);for(u=0;u<a.length;++u)if(u!==s){var f=a[u],c=f.indexOf("]="),h=c===-1?f.indexOf("="):c+1,d,p;h===-1?(d=r.decoder(f,Et.decoder,l,"key"),p=r.strictNullHandling?null:""):(d=r.decoder(f.slice(0,h),Et.decoder,l,"key"),p=Aa.maybeMap(Fb(f.slice(h+1),r),function(g){return r.decoder(g,Et.decoder,l,"value")})),p&&r.interpretNumericEntities&&l==="iso-8859-1"&&(p=D7(p)),f.indexOf("[]=")>-1&&(p=T7(p)?[p]:p);var v=Xd.call(n,d);v&&r.duplicates==="combine"?n[d]=Aa.combine(n[d],p):(!v||r.duplicates==="last")&&(n[d]=p)}return n},P7=function(e,t,r,n){for(var i=n?t:Fb(t,r),o=e.length-1;o>=0;--o){var a,s=e[o];if(s==="[]"&&r.parseArrays)a=r.allowEmptyArrays&&i===""?[]:[].concat(i);else{a=r.plainObjects?Object.create(null):{};var u=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,l=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,f=parseInt(l,10);!r.parseArrays&&l===""?a={0:i}:!isNaN(f)&&s!==l&&String(f)===l&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(a=[],a[f]=i):l!=="__proto__"&&(a[l]=i)}i=a}return i},k7=function(t,r,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=n.depth>0&&a.exec(o),l=u?o.slice(0,u.index):o,f=[];if(l){if(!n.plainObjects&&Xd.call(Object.prototype,l)&&!n.allowPrototypes)return;f.push(l)}for(var c=0;n.depth>0&&(u=s.exec(o))!==null&&c<n.depth;){if(c+=1,!n.plainObjects&&Xd.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;f.push(u[1])}return u&&f.push("["+o.slice(u.index)+"]"),P7(f,r,n,i)}},N7=function(t){if(!t)return Et;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?Et.charset:t.charset,n=typeof t.duplicates>"u"?Et.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:Et.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Et.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Et.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Et.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Et.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Et.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Et.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:Et.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:Et.decoder,delimiter:typeof t.delimiter=="string"||Aa.isRegExp(t.delimiter)?t.delimiter:Et.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Et.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Et.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Et.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Et.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Et.strictNullHandling}},I7=function(e,t){var r=N7(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?C7(e,r):e,i=r.plainObjects?Object.create(null):{},o=Object.keys(n),a=0;a<o.length;++a){var s=o[a],u=k7(s,n[s],r,typeof e=="string");i=Aa.merge(i,u,r)}return r.allowSparse===!0?i:Aa.compact(i)},R7=$7,F7=I7,L7=g0,B7={formats:L7,parse:F7,stringify:R7};const Y7=Pe.getDefaultExportFromCjs(B7);/*!
38
+ * browser-tool v1.2.2
39
+ * Useragent analysis tool.
40
+ * https://passer-by.com/browser/
41
+ *
42
+ * Copyright (c) 2017-present, HaoLe Zheng
43
+ *
44
+ * Released under the MIT License
45
+ * https://github.com/mumuy/browser
46
+ *
47
+ * Created on: 2024-01-16
48
+ */function Ql(e){return Ql=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ql(e)}var W7={name:"Safari",match:function(e){return e.indexOf("Safari")>-1},version:function(e){var t;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},Hi={name:"Chrome",match:function(e){return e.indexOf("Chrome")>-1||e.indexOf("CriOS")>-1},version:function(e){var t,r;return((t=e.match(/Chrome\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/CriOS\/([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},U7={name:"Edge",match:function(e){return e.indexOf("Edge")>-1||e.indexOf("Edg/")>-1||e.indexOf("EdgA")>-1||e.indexOf("EdgiOS")>-1},version:function(e){var t,r,n,i;return((t=e.match(/Edge\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/Edg\/([\d.]+)/))===null||r===void 0?void 0:r[1])||((n=e.match(/EdgA\/([\d.]+)/))===null||n===void 0?void 0:n[1])||((i=e.match(/EdgiOS\/([\d.]+)/))===null||i===void 0?void 0:i[1])||""}},H7={name:"IE",match:function(e){return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1},version:function(e){var t,r;return((t=e.match(/MSIE ([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/rv:([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},z7={name:"Firefox",match:function(e){return e.indexOf("Firefox")>-1||e.indexOf("FxiOS")>-1},version:function(e){var t,r;return((t=e.match(/Firefox\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/FxiOS\/([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},j7={name:"Firefox Focus",match:function(e){return e.indexOf("Focus")>-1},version:function(e){var t;return((t=e.match(/Focus\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},V7={name:"Chromium",match:function(e){return e.indexOf("Chromium")>-1},version:function(e){var t;return((t=e.match(/Chromium\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},q7={name:"Opera",match:function(e){return e.indexOf("Opera")>-1||e.indexOf("OPR")>-1},version:function(e){var t,r;return((t=e.match(/Opera\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/OPR\/([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},G7={name:"Vivaldi",match:function(e){return e.indexOf("Vivaldi")>-1},version:function(e){var t;return((t=e.match(/Vivaldi\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},X7={name:"Yandex",match:function(e){return e.indexOf("YaBrowser")>-1},version:function(e){var t;return((t=e.match(/YaBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},ms={};typeof globalThis<"u"?ms=globalThis:typeof self<"u"?ms=self:typeof window<"u"?ms=window:typeof global<"u"&&(ms=global);var ke=ms,K7={name:"Brave",match:function(e){var t;return!(ke==null||(t=ke.navigator)===null||t===void 0||!t.brave)},version:function(e){var t;return((t=e.match(/Chrome\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},Z7={name:"Arora",match:function(e){return e.indexOf("Arora")>-1},version:function(e){var t;return((t=e.match(/Arora\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},J7={name:"Lunascape",match:function(e){return e.indexOf("Lunascape")>-1},version:function(e){var t;return((t=e.match(/Lunascape[\/\s]([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},Q7={name:"QupZilla",match:function(e){return e.indexOf("QupZilla")>-1},version:function(e){var t;return((t=e.match(/QupZilla[\/\s]([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},eI={name:"Coc Coc",match:function(e){return e.indexOf("coc_coc_browser")>-1},version:function(e){var t;return((t=e.match(/coc_coc_browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},tI={name:"Kindle",match:function(e){return e.indexOf("Kindle")>-1||e.indexOf("Silk/")>-1},version:function(e){var t;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},rI={name:"Iceweasel",match:function(e){return e.indexOf("Iceweasel")>-1},version:function(e){var t;return((t=e.match(/Iceweasel\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},nI={name:"Konqueror",match:function(e){return e.indexOf("Konqueror")>-1},version:function(e){var t;return((t=e.match(/Konqueror\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},iI={name:"Iceape",match:function(e){return e.indexOf("Iceape")>-1},version:function(e){var t;return((t=e.match(/Iceape\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},oI={name:"SeaMonkey",match:function(e){return e.indexOf("SeaMonkey")>-1},version:function(e){var t;return((t=e.match(/SeaMonkey\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},aI={name:"Epiphany",match:function(e){return e.indexOf("Epiphany")>-1},version:function(e){var t;return((t=e.match(/Epiphany\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},sI={name:"Huawei",match:function(e){return e.indexOf("HuaweiBrowser")>-1||e.indexOf("HUAWEI")>-1||e.indexOf("HONOR")>-1||e.indexOf("HBPC/")>-1},version:function(e){var t,r,n;return((t=e.match(/Version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/HuaweiBrowser\/([\d.]+)/))===null||r===void 0?void 0:r[1])||((n=e.match(/HBPC\/([\d.]+)/))===null||n===void 0?void 0:n[1])||""}},uI={name:"OPPO",match:function(e){return e.indexOf("HeyTapBrowser")>-1||e.indexOf("OPPO")>-1},version:function(e){var t;return((t=e.match(/HeyTapBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},lI={name:"Vivo",match:function(e){return e.indexOf("VivoBrowser")>-1},version:function(e){var t;return((t=e.match(/VivoBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},cI={name:"Xiaomi",match:function(e){return e.indexOf("MiuiBrowser")>-1},version:function(e){var t;return((t=e.match(/MiuiBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},fI={name:"Meizu",match:function(e){return e.indexOf("MZBrowser")>-1},version:function(e){var t;return((t=e.match(/MZBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},hI={name:"Samsung",match:function(e){return e.indexOf("SamsungBrowser")>-1},version:function(e){var t;return((t=e.match(/SamsungBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}};function Di(e,t){var r,n=ke==null||(r=ke.navigator)===null||r===void 0?void 0:r.mimeTypes;for(var i in n)if(n[i][e]&&n[i][e]==t)return n[i];return null}var y0={name:"360",match:function(e){var t=!1;if(ke!=null&&ke.chrome){var r=e.replace(/^.*Chrome\/([\d]+).*$/,"$1");Di("type","application/360softmgrplugin")||Di("type","application/mozilla-npqihooquicklogin")||r>36&&ke!=null&&ke.showModalDialog?t=!0:r>45&&!(t=Di("type","application/vnd.chromium.remoting-viewer"))&&r>=69&&(t=Di("type","application/hwepass2001.installepass2001")||Di("type","application/asx"))}return e.indexOf("QihooBrowser")>-1||e.indexOf("QHBrowser")>-1||t},version:function(e){var t;return((t=e.match(/QihooBrowser(HD)?\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},dI={name:"360SE",match:function(e){var t,r=!1;return y0.match(e)&&(Di("type","application/gameplugin")||ke!=null&&(t=ke.navigator)!==null&&t!==void 0&&(t=t.userAgentData)!==null&&t!==void 0&&t.brands.filter(function(n){return n.brand=="Not.A/Brand"}).length)&&(r=!0),e.indexOf("360SE")>-1||r},version:function(e){return{114:"15.0",108:"14.0",86:"13.0",78:"12.0",69:"11.0",63:"10.0",55:"9.1",45:"8.1",42:"8.0",31:"7.0",21:"6.3"}[parseInt(Hi.version(e))]||""}},pI={name:"360EE",match:function(e){var t=!1;if(Di("type","application/cenroll.cenroll.version.1")||Di("type","application/hwepass2001.installepass2001"))t=!0;else if(y0.match(e)){var r;ke!=null&&(r=ke.navigator)!==null&&r!==void 0&&(r=r.userAgentData)!==null&&r!==void 0&&r.brands.filter(function(n){return n.brand=="Not A(Brand"}).length&&(t=!0)}return e.indexOf("360EE")>-1||t},version:function(e){return{119:"(X)22.0",108:"14.0",95:"(X)21.0",86:"13.0",78:"12.0",69:"11.0",63:"9.5",55:"9.0",50:"8.7",30:"7.5"}[parseInt(Hi.version(e))]||""}},vI={name:"UC",match:function(e){return e.indexOf("UCBrowser")>-1||e.indexOf(" UBrowser")>-1||e.indexOf("UCWEB")>-1},version:function(e){var t;return((t=e.match(/UC?Browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},mI={name:"QQBrowser",match:function(e){return e.indexOf("QQBrowser")>-1},version:function(e){var t;return((t=e.match(/QQBrowser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},gI={name:"QQ",match:function(e){return e.indexOf("QQ/")>-1},version:function(e){var t;return((t=e.match(/QQ\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},yI={name:"Baidu",match:function(e){return e.indexOf("Baidu")>-1||e.indexOf("BIDUBrowser")>-1||e.indexOf("baidubrowser")>-1||e.indexOf("baiduboxapp")>-1||e.indexOf("BaiduD")>-1},version:function(e){var t,r;return((t=e.match(/BIDUBrowser[\s\/]([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/baiduboxapp\/([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},wI={name:"Maxthon",match:function(e){return e.indexOf("Maxthon")>-1||(ke==null?void 0:ke.maxthon)},version:function(e){var t;return{109:"7.0",78:"6.0"}[parseInt(Hi.version(e))]||((t=e.match(/Maxthon\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},bI={name:"Sogou",match:function(e){return e.indexOf("MetaSr")>-1||e.indexOf("Sogou")>-1},version:function(e){var t,r;return{94:"12.0",80:"11.0"}[((t=e.match(/Chrome\/([\d]+)/))===null||t===void 0?void 0:t[1])||""]||((r=e.match(/SogouMobileBrowser\/([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},_I={name:"Liebao",match:function(e){return e.indexOf("LBBROWSER")>-1||e.indexOf("LieBaoFast")>-1||(ke==null?void 0:ke.liebao)},version:function(e){var t="";e.indexOf("LieBaoFast")>-1&&(t=e.replace(/LieBaoFast\/([\d.]+)/,"$1"));var r=parseInt(Hi.version(e));return t||{79:"8.0",57:"6.5",49:"6.0",46:"5.9",42:"5.3",39:"5.2",34:"5.0",29:"4.5",21:"4.0"}[r]||""}},SI={name:"2345Explorer",match:function(e){var t,r,n=(ke==null?void 0:ke.chrome)&&((ke==null||(t=ke.chrome)===null||t===void 0?void 0:t.adblock2345)||(ke==null||(r=ke.chrome)===null||r===void 0?void 0:r.common2345));return e.indexOf("2345Explorer")>-1||e.indexOf("Mb2345Browser")>-1||e.indexOf("2345chrome")>-1||n},version:function(e){var t,r;return{69:"10.0",55:"9.9"}[parseInt(Hi.version(e))]||((t=e.match(/2345Explorer\/([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/Mb2345Browser\/([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},xI={name:"115Browser",match:function(e){return e.indexOf("115Browser")>-1},version:function(e){var t;return((t=e.match(/115Browser\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},EI={name:"TheWorld",match:function(e){return e.indexOf("TheWorld")>-1},version:function(e){var t;return((t=e.match(/TheWorld ([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},OI={name:"Quark",match:function(e){return e.indexOf("Quark")>-1},version:function(e){var t;return((t=e.match(/Quark\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},$I={name:"Qiyu",match:function(e){return e.indexOf("Qiyu")>-1},version:function(e){var t;return((t=e.match(/Qiyu\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},TI={name:"Wechat",match:function(e){return e.indexOf("MicroMessenger")>-1},version:function(e){var t;return((t=e.match(/MicroMessenger\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},DI={name:"WechatWork",match:function(e){return e.indexOf("wxwork/")>-1},version:function(e){var t;return((t=e.match(/wxwork\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},MI={name:"Taobao",match:function(e){return e.indexOf("AliApp(TB")>-1},version:function(e){var t;return((t=e.match(/AliApp\(TB\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},AI={name:"Alipay",match:function(e){return e.indexOf("AliApp(AP")>-1},version:function(e){var t;return((t=e.match(/AliApp\(AP\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},CI={name:"Weibo",match:function(e){return e.indexOf("Weibo")>-1},version:function(e){var t;return((t=e.match(/weibo__([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},PI={name:"Douban",match:function(e){return e.indexOf("com.douban.frodo")>-1},version:function(e){var t;return((t=e.match(/com.douban.frodo\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},kI={name:"Suning",match:function(e){return e.indexOf("SNEBUY-APP")>-1},version:function(e){var t;return((t=e.match(/SNEBUY-APP([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},NI={name:"iQIYI",match:function(e){return e.indexOf("IqiyiApp")>-1},version:function(e){var t;return((t=e.match(/IqiyiVersion\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},II={name:"DingTalk",match:function(e){return e.indexOf("DingTalk")>-1},version:function(e){var t;return((t=e.match(/DingTalk\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},RI={name:"Douyin",match:function(e){return e.indexOf("aweme")>-1},version:function(e){var t;return((t=e.match(/app_version\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},FI={name:"Googlebot",match:function(e){return e.indexOf("Googlebot")>-1},version:function(e){var t;return((t=e.match(/Googlebot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},LI={name:"Baiduspider",match:function(e){return e.indexOf("Baiduspider")>-1},version:function(e){var t;return((t=e.match(/Baiduspider(-render)?\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},BI={name:"Sogouspider",match:function(e){return e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1},version:function(e){var t;return((t=e.match(/Sogou (\S+) Spider\/([\d.]+)/i))===null||t===void 0?void 0:t[1])||""}},YI={name:"Bingbot",match:function(e){return e.indexOf("bingbot")>-1},version:function(e){var t;return((t=e.match(/bingbot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},WI={name:"360Spider",match:function(e){return e.indexOf("360Spider")>-1||e.indexOf("HaosouSpider")>-1},version:function(e){return""}},UI={name:"Bytespider",match:function(e){return e.indexOf("Bytespider")>-1},version:function(e){return""}},HI={name:"YisouSpider",match:function(e){return e.indexOf("YisouSpider")>-1},version:function(e){var t;return((t=e.match(/YisouSpider\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},zI={name:"YodaoBot",match:function(e){return e.indexOf("YodaoBot")>-1},version:function(e){var t;return((t=e.match(/YodaoBot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},jI={name:"YandexBot",match:function(e){return e.indexOf("YandexBot")>-1},version:function(e){var t;return((t=e.match(/YandexBot\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}};function VI(e,t){var r,n=e.userAgent;e.browser="",e.browserVersion="",[W7,Hi,U7,H7,z7,j7,V7,q7,G7,X7,K7,Z7,J7,Q7,eI,tI,rI,nI,iI,oI,aI,sI,uI,lI,cI,fI,hI,y0,pI,dI,vI,mI,gI,yI,wI,bI,_I,SI,xI,EI,OI,$I,TI,DI,MI,AI,CI,PI,kI,NI,II,RI,FI,LI,BI,YI,WI,UI,HI,zI,jI].forEach(function(i){i.match(n)&&(e.browser=i.name,e.browserVersion=i.version(n,t))}),e.browser=="Chrome"&&n.match(/\S+Browser/)&&(e.browser=n.match(/\S+Browser/)[0],e.browserVersion=((r=n.replace(/^.*Browser\/([\d.]+).*$/))===null||r===void 0?void 0:r[1])||"")}var qI={name:"Mobile",match:function(e){return e.indexOf("Mobi")>-1||e.indexOf("iPh")>-1||e.indexOf("480")>-1}},GI={name:"Tablet",match:function(e){var t=(ke==null?void 0:ke.navigator)||{};return e.indexOf("Tablet")>-1||e.indexOf("Pad")>-1||e.indexOf("Nexus 7")>-1||t.platform==="MacIntel"&&t.maxTouchPoints>1}};function XI(e){e.device="Desktop",[qI,GI].forEach(function(t){t.match(e.userAgent)&&(e.device=t.name)})}var KI={name:"WebKit",match:function(e){return e.indexOf("AppleWebKit")>-1}},ZI={name:"Trident",match:function(e){return e.indexOf("Trident")>-1||e.indexOf("NET CLR")>-1}},JI={name:"Gecko",match:function(e){return e.indexOf("Gecko/")>-1}},QI={name:"Presto",match:function(e){return e.indexOf("Presto")>-1}},eR={name:"KHTML",match:function(e){return e.indexOf("KHTML/")>-1}};function tR(e){e.engine="",[KI,ZI,JI,QI,eR].forEach(function(t){t.match(e.userAgent)&&(e.engine=t.name)}),e.browser=="Edge"?e.engine=parseInt(e.browserVersion)>75?"Blink":"EdgeHTML":(Hi.match(e.userAgent)&&e.engine=="WebKit"&&parseInt(Hi.version(e.userAgent))>27||e.browser=="Opera"&&parseInt(e.browserVersion)>12||e.browser=="Yandex")&&(e.engine="Blink")}var rR={name:"Windows",match:function(e){return e.indexOf("Windows")>-1},version:function(e){var t,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=((t=e.match(/^Mozilla\/\d.0 \(Windows NT ([\d.]+)[;)].*$/))===null||t===void 0?void 0:t[1])||"",i={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"7","6.0":"Vista",5.2:"XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return r?new Promise(function(o){var a;ke!=null&&(a=ke.navigator)!==null&&a!==void 0&&a.userAgentData?ke.navigator.userAgentData.getHighEntropyValues(["platformVersion"]).then(function(s){var u="";navigator.userAgentData.platform==="Windows"&&(u=parseInt(s.platformVersion.split(".")[0])>=13?"11":"10"),o(u)}):o(i[n]||n)}):i[n]||n}},nR={name:"Linux",match:function(e){return e.indexOf("Linux")>-1||e.indexOf("X11")>-1},version:function(e){return""}},iR={name:"macOS",match:function(e){return e.indexOf("Macintosh")>-1},version:function(e){var t;return((t=e.match(/Mac OS X -?([\d_]+)/))===null||t===void 0?void 0:t[1].replace(/_/g,"."))||""}},oR={name:"Android",match:function(e){return e.indexOf("Android")>-1||e.indexOf("Adr")>-1},version:function(e){var t;return((t=e.match(/Android ([\d.]+);/))===null||t===void 0?void 0:t[1])||""}},aR={name:"HarmonyOS",match:function(e){return e.indexOf("HarmonyOS")>-1},version:function(e){var t,r=+((t=e.match(/HMSCore (\d+.\d+)/))===null||t===void 0?void 0:t[1])||0;return r>=6.1?"4.0":r>=6?"3.0":r>=5?"2.0":r>=4?"1.0":""}},sR={name:"Ubuntu",match:function(e){return e.indexOf("Ubuntu")>-1},version:function(e){return""}},uR={name:"FreeBSD",match:function(e){return e.indexOf("FreeBSD")>-1},version:function(e){return""}},lR={name:"Debian",match:function(e){return e.indexOf("Debian")>-1},version:function(e){var t;return((t=e.match(/Debian\/([\d.]+)/))===null||t===void 0?void 0:t[1])||""}},cR={name:"iOS",match:function(e){return e.indexOf("like Mac OS X")>-1},version:function(e){var t;return((t=e.match(/OS ([\d_]+) like/))===null||t===void 0?void 0:t[1].replace(/_/g,"."))||""}},fR={name:"Windows Phone",match:function(e){return e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1},version:function(e){var t;return((t=e.match(/Windows Phone( OS)? ([\d.]+);/))===null||t===void 0?void 0:t[2])||""}},hR={name:"BlackBerry",match:function(e){return e.indexOf("BlackBerry")>-1||e.indexOf("RIM")>-1},version:function(e){return""}},dR={name:"MeeGo",match:function(e){return e.indexOf("MeeGo")>-1},version:function(e){return""}},pR={name:"Symbian",match:function(e){return e.indexOf("Symbian")>-1},version:function(e){return""}},vR={name:"Chrome OS",match:function(e){return e.indexOf("CrOS")>-1},version:function(e){var t,r;return((t=e.match(/MSIE ([\d.]+)/))===null||t===void 0?void 0:t[1])||((r=e.match(/rv:([\d.]+)/))===null||r===void 0?void 0:r[1])||""}},mR={name:"WebOS",match:function(e){return e.indexOf("hpwOS")>-1},version:function(e){var t;return((t=e.match(/hpwOS\/([\d.]+);/))===null||t===void 0?void 0:t[1])||""}};function gR(e,t){var r,n=e.userAgent;e.system="",e.systemVersion="",[rR,nR,iR,oR,aR,sR,uR,lR,cR,fR,hR,dR,pR,vR,mR].forEach(function(a){a.match(n)&&(e.system=a.name,e.systemVersion=a.version(n,t))}),e.platform="",n.match(/(Win64|x64|WOW64|x86_64)/i)?e.platform="Win64":n.match(/(Win32|x86|WOW32)/i)?e.platform="Win32":n.match(/aarch64|arm64/)?e.platform="ARM64":n.match(/arm32/)?e.platform="ARM32":ke!=null&&(r=ke.navigator)!==null&&r!==void 0&&r.platform&&(e.platform=ke.navigator.platform),e.architecture="";var i,o=n+"|"+e.platform;o.match(/armv\d+/i)||o.match(/aarch64/)?e.architecture="arm":o.match(/loongarch64/)?e.architecture="loongarch":e.architecture="x86",e.bitness=n.match(/Win64|x64|WOW64|x86_64|aarch64|arm64|loongarch64/i)?64:32,t&&ke!=null&&(i=ke.navigator)!==null&&i!==void 0&&i.userAgentData&&(e.architecture=navigator.userAgentData.getHighEntropyValues(["architecture"]).then(function(a){return a.architecture}),e.bitness=navigator.userAgentData.getHighEntropyValues(["bitness"]).then(function(a){return+a.bitness}))}function yR(e){if(e.gpu="",e.gpuModel="",ke!=null&&ke.document){var t,r,n=ke.document.createElement("canvas").getContext("experimental-webgl"),i=n.getExtension("WEBGL_debug_renderer_info"),o=n.getParameter(i.UNMASKED_RENDERER_WEBGL);e.gpu=((t=o.match(/ANGLE \((.+?),/))===null||t===void 0?void 0:t[1])||"",e.gpuModel=((r=o.match(/, (.+?) (\(|vs_)/))===null||r===void 0?void 0:r[1])||""}}function wR(e){e.language=function(t,r){var n=(ke==null||(t=ke.navigator)===null||t===void 0?void 0:t.browserLanguage)||(ke==null||(r=ke.navigator)===null||r===void 0?void 0:r.language);if(typeof n!="string")return"Unknown language";var i=n.split("-");return i[1]&&(i[1]=i[1].toUpperCase()),i.join("_")}()}function bR(e){var t,r,n;e.network=(r="unknown",(n=ke==null||(t=ke.navigator)===null||t===void 0?void 0:t.connection)&&((r=n.type||n.effectiveType)!="2"&&r!="unknown"||(r="wifi")),r)}function _R(e){e.isWebview=e.userAgent.indexOf("; wv)")>-1,e.isRobot=["Googlebot","Baiduspider","Sogouspider","Bingbot","360Spider","Bytespider","YandexBot"].includes(e.browser)}var Lb=function(e){var t,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n={};return n.userAgent=e||(ke==null||(t=ke.navigator)===null||t===void 0?void 0:t.userAgent)||"",[VI,XI,tR,gR,yR,wR,bR,_R].forEach(function(i){return i(n,r)}),n};function Bb(e){var t=Lb(e);for(var r in t)Ql(t[r])=="object"&&(t[r]="");return t}Bb.getInfo=function(e){var t=Lb(e,!0),r=Object.keys(t),n=Object.values(t).map(function(i){return Ql(i)=="object"?i:Promise.resolve(i)});return Promise.all(n).then(function(i){var o={};return i.forEach(function(a,s){o[r[s]]=a}),o})};/*! js-cookie v3.0.5 | MIT */function Ju(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var SR={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Kd(e,t){function r(i,o,a){if(!(typeof document>"u")){a=Ju({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var u in a)a[u]&&(s+="; "+u,a[u]!==!0&&(s+="="+a[u].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+s}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],a={},s=0;s<o.length;s++){var u=o[s].split("="),l=u.slice(1).join("=");try{var f=decodeURIComponent(u[0]);if(a[f]=e.read(l,f),i===f)break}catch{}}return i?a[i]:a}}return Object.create({set:r,get:n,remove:function(i,o){r(i,"",Ju({},o,{expires:-1}))},withAttributes:function(i){return Kd(this.converter,Ju({},this.attributes,i))},withConverter:function(i){return Kd(Ju({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var xR=Kd(SR,{path:"/"}),Yb={exports:{}};/*!
49
+ localForage -- Offline Storage, Improved
50
+ Version 1.10.0
51
+ https://localforage.github.io/localForage
52
+ (c) 2013-2017 Mozilla, Apache License 2.0
53
+ */(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,i,o){function a(l,f){if(!i[l]){if(!n[l]){var c=typeof Pe.commonjsRequire=="function"&&Pe.commonjsRequire;if(!f&&c)return c(l,!0);if(s)return s(l,!0);var h=new Error("Cannot find module '"+l+"'");throw h.code="MODULE_NOT_FOUND",h}var d=i[l]={exports:{}};n[l][0].call(d.exports,function(p){var v=n[l][1][p];return a(v||p)},d,d.exports,r,n,i,o)}return i[l].exports}for(var s=typeof Pe.commonjsRequire=="function"&&Pe.commonjsRequire,u=0;u<o.length;u++)a(o[u]);return a}({1:[function(r,n,i){(function(o){var a=o.MutationObserver||o.WebKitMutationObserver,s;if(a){var u=0,l=new a(p),f=o.document.createTextNode("");l.observe(f,{characterData:!0}),s=function(){f.data=u=++u%2}}else if(!o.setImmediate&&typeof o.MessageChannel<"u"){var c=new o.MessageChannel;c.port1.onmessage=p,s=function(){c.port2.postMessage(0)}}else"document"in o&&"onreadystatechange"in o.document.createElement("script")?s=function(){var g=o.document.createElement("script");g.onreadystatechange=function(){p(),g.onreadystatechange=null,g.parentNode.removeChild(g),g=null},o.document.documentElement.appendChild(g)}:s=function(){setTimeout(p,0)};var h,d=[];function p(){h=!0;for(var g,m,O=d.length;O;){for(m=d,d=[],g=-1;++g<O;)m[g]();O=d.length}h=!1}n.exports=v;function v(g){d.push(g)===1&&!h&&s()}}).call(this,typeof Pe.commonjsGlobal<"u"?Pe.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(r,n,i){var o=r(1);function a(){}var s={},u=["REJECTED"],l=["FULFILLED"],f=["PENDING"];n.exports=c;function c(_){if(typeof _!="function")throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,_!==a&&v(this,_)}c.prototype.catch=function(_){return this.then(null,_)},c.prototype.then=function(_,x){if(typeof _!="function"&&this.state===l||typeof x!="function"&&this.state===u)return this;var T=new this.constructor(a);if(this.state!==f){var C=this.state===l?_:x;d(T,C,this.outcome)}else this.queue.push(new h(T,_,x));return T};function h(_,x,T){this.promise=_,typeof x=="function"&&(this.onFulfilled=x,this.callFulfilled=this.otherCallFulfilled),typeof T=="function"&&(this.onRejected=T,this.callRejected=this.otherCallRejected)}h.prototype.callFulfilled=function(_){s.resolve(this.promise,_)},h.prototype.otherCallFulfilled=function(_){d(this.promise,this.onFulfilled,_)},h.prototype.callRejected=function(_){s.reject(this.promise,_)},h.prototype.otherCallRejected=function(_){d(this.promise,this.onRejected,_)};function d(_,x,T){o(function(){var C;try{C=x(T)}catch(L){return s.reject(_,L)}C===_?s.reject(_,new TypeError("Cannot resolve promise with itself")):s.resolve(_,C)})}s.resolve=function(_,x){var T=g(p,x);if(T.status==="error")return s.reject(_,T.value);var C=T.value;if(C)v(_,C);else{_.state=l,_.outcome=x;for(var L=-1,W=_.queue.length;++L<W;)_.queue[L].callFulfilled(x)}return _},s.reject=function(_,x){_.state=u,_.outcome=x;for(var T=-1,C=_.queue.length;++T<C;)_.queue[T].callRejected(x);return _};function p(_){var x=_&&_.then;if(_&&(typeof _=="object"||typeof _=="function")&&typeof x=="function")return function(){x.apply(_,arguments)}}function v(_,x){var T=!1;function C(z){T||(T=!0,s.reject(_,z))}function L(z){T||(T=!0,s.resolve(_,z))}function W(){x(L,C)}var D=g(W);D.status==="error"&&C(D.value)}function g(_,x){var T={};try{T.value=_(x),T.status="success"}catch(C){T.status="error",T.value=C}return T}c.resolve=m;function m(_){return _ instanceof this?_:s.resolve(new this(a),_)}c.reject=O;function O(_){var x=new this(a);return s.reject(x,_)}c.all=y;function y(_){var x=this;if(Object.prototype.toString.call(_)!=="[object Array]")return this.reject(new TypeError("must be an array"));var T=_.length,C=!1;if(!T)return this.resolve([]);for(var L=new Array(T),W=0,D=-1,z=new this(a);++D<T;)F(_[D],D);return z;function F(Y,A){x.resolve(Y).then(R,function(H){C||(C=!0,s.reject(z,H))});function R(H){L[A]=H,++W===T&&!C&&(C=!0,s.resolve(z,L))}}}c.race=S;function S(_){var x=this;if(Object.prototype.toString.call(_)!=="[object Array]")return this.reject(new TypeError("must be an array"));var T=_.length,C=!1;if(!T)return this.resolve([]);for(var L=-1,W=new this(a);++L<T;)D(_[L]);return W;function D(z){x.resolve(z).then(function(F){C||(C=!0,s.resolve(W,F))},function(F){C||(C=!0,s.reject(W,F))})}}},{1:1}],3:[function(r,n,i){(function(o){typeof o.Promise!="function"&&(o.Promise=r(2))}).call(this,typeof Pe.commonjsGlobal<"u"?Pe.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(r,n,i){var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(w){return typeof w}:function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w};function a(w,M){if(!(w instanceof M))throw new TypeError("Cannot call a class as a function")}function s(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var u=s();function l(){try{if(!u||!u.open)return!1;var w=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),M=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!w||M)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function f(w,M){w=w||[],M=M||{};try{return new Blob(w,M)}catch(P){if(P.name!=="TypeError")throw P;for(var E=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,k=new E,I=0;I<w.length;I+=1)k.append(w[I]);return k.getBlob(M.type)}}typeof Promise>"u"&&r(3);var c=Promise;function h(w,M){M&&w.then(function(E){M(null,E)},function(E){M(E)})}function d(w,M,E){typeof M=="function"&&w.then(M),typeof E=="function"&&w.catch(E)}function p(w){return typeof w!="string"&&(console.warn(w+" used as a key, but it is not a string."),w=String(w)),w}function v(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var g="local-forage-detect-blob-support",m=void 0,O={},y=Object.prototype.toString,S="readonly",_="readwrite";function x(w){for(var M=w.length,E=new ArrayBuffer(M),k=new Uint8Array(E),I=0;I<M;I++)k[I]=w.charCodeAt(I);return E}function T(w){return new c(function(M){var E=w.transaction(g,_),k=f([""]);E.objectStore(g).put(k,"key"),E.onabort=function(I){I.preventDefault(),I.stopPropagation(),M(!1)},E.oncomplete=function(){var I=navigator.userAgent.match(/Chrome\/(\d+)/),P=navigator.userAgent.match(/Edge\//);M(P||!I||parseInt(I[1],10)>=43)}}).catch(function(){return!1})}function C(w){return typeof m=="boolean"?c.resolve(m):T(w).then(function(M){return m=M,m})}function L(w){var M=O[w.name],E={};E.promise=new c(function(k,I){E.resolve=k,E.reject=I}),M.deferredOperations.push(E),M.dbReady?M.dbReady=M.dbReady.then(function(){return E.promise}):M.dbReady=E.promise}function W(w){var M=O[w.name],E=M.deferredOperations.pop();if(E)return E.resolve(),E.promise}function D(w,M){var E=O[w.name],k=E.deferredOperations.pop();if(k)return k.reject(M),k.promise}function z(w,M){return new c(function(E,k){if(O[w.name]=O[w.name]||ce(),w.db)if(M)L(w),w.db.close();else return E(w.db);var I=[w.name];M&&I.push(w.version);var P=u.open.apply(u,I);M&&(P.onupgradeneeded=function(q){var Q=P.result;try{Q.createObjectStore(w.storeName),q.oldVersion<=1&&Q.createObjectStore(g)}catch(ne){if(ne.name==="ConstraintError")console.warn('The database "'+w.name+'" has been upgraded from version '+q.oldVersion+" to version "+q.newVersion+', but the storage "'+w.storeName+'" already exists.');else throw ne}}),P.onerror=function(q){q.preventDefault(),k(P.error)},P.onsuccess=function(){var q=P.result;q.onversionchange=function(Q){Q.target.close()},E(q),W(w)}})}function F(w){return z(w,!1)}function Y(w){return z(w,!0)}function A(w,M){if(!w.db)return!0;var E=!w.db.objectStoreNames.contains(w.storeName),k=w.version<w.db.version,I=w.version>w.db.version;if(k&&(w.version!==M&&console.warn('The database "'+w.name+`" can't be downgraded from version `+w.db.version+" to version "+w.version+"."),w.version=w.db.version),I||E){if(E){var P=w.db.version+1;P>w.version&&(w.version=P)}return!0}return!1}function R(w){return new c(function(M,E){var k=new FileReader;k.onerror=E,k.onloadend=function(I){var P=btoa(I.target.result||"");M({__local_forage_encoded_blob:!0,data:P,type:w.type})},k.readAsBinaryString(w)})}function H(w){var M=x(atob(w.data));return f([M],{type:w.type})}function V(w){return w&&w.__local_forage_encoded_blob}function ie(w){var M=this,E=M._initReady().then(function(){var k=O[M._dbInfo.name];if(k&&k.dbReady)return k.dbReady});return d(E,w,w),E}function se(w){L(w);for(var M=O[w.name],E=M.forages,k=0;k<E.length;k++){var I=E[k];I._dbInfo.db&&(I._dbInfo.db.close(),I._dbInfo.db=null)}return w.db=null,F(w).then(function(P){return w.db=P,A(w)?Y(w):P}).then(function(P){w.db=M.db=P;for(var q=0;q<E.length;q++)E[q]._dbInfo.db=P}).catch(function(P){throw D(w,P),P})}function me(w,M,E,k){k===void 0&&(k=1);try{var I=w.db.transaction(w.storeName,M);E(null,I)}catch(P){if(k>0&&(!w.db||P.name==="InvalidStateError"||P.name==="NotFoundError"))return c.resolve().then(function(){if(!w.db||P.name==="NotFoundError"&&!w.db.objectStoreNames.contains(w.storeName)&&w.version<=w.db.version)return w.db&&(w.version=w.db.version+1),Y(w)}).then(function(){return se(w).then(function(){me(w,M,E,k-1)})}).catch(E);E(P)}}function ce(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function J(w){var M=this,E={db:null};if(w)for(var k in w)E[k]=w[k];var I=O[E.name];I||(I=ce(),O[E.name]=I),I.forages.push(M),M._initReady||(M._initReady=M.ready,M.ready=ie);var P=[];function q(){return c.resolve()}for(var Q=0;Q<I.forages.length;Q++){var ne=I.forages[Q];ne!==M&&P.push(ne._initReady().catch(q))}var oe=I.forages.slice(0);return c.all(P).then(function(){return E.db=I.db,F(E)}).then(function(ue){return E.db=ue,A(E,M._defaultConfig.version)?Y(E):ue}).then(function(ue){E.db=I.db=ue,M._dbInfo=E;for(var be=0;be<oe.length;be++){var Re=oe[be];Re!==M&&(Re._dbInfo.db=E.db,Re._dbInfo.version=E.version)}})}function ae(w,M){var E=this;w=p(w);var k=new c(function(I,P){E.ready().then(function(){me(E._dbInfo,S,function(q,Q){if(q)return P(q);try{var ne=Q.objectStore(E._dbInfo.storeName),oe=ne.get(w);oe.onsuccess=function(){var ue=oe.result;ue===void 0&&(ue=null),V(ue)&&(ue=H(ue)),I(ue)},oe.onerror=function(){P(oe.error)}}catch(ue){P(ue)}})}).catch(P)});return h(k,M),k}function de(w,M){var E=this,k=new c(function(I,P){E.ready().then(function(){me(E._dbInfo,S,function(q,Q){if(q)return P(q);try{var ne=Q.objectStore(E._dbInfo.storeName),oe=ne.openCursor(),ue=1;oe.onsuccess=function(){var be=oe.result;if(be){var Re=be.value;V(Re)&&(Re=H(Re));var Qe=w(Re,be.key,ue++);Qe!==void 0?I(Qe):be.continue()}else I()},oe.onerror=function(){P(oe.error)}}catch(be){P(be)}})}).catch(P)});return h(k,M),k}function we(w,M,E){var k=this;w=p(w);var I=new c(function(P,q){var Q;k.ready().then(function(){return Q=k._dbInfo,y.call(M)==="[object Blob]"?C(Q.db).then(function(ne){return ne?M:R(M)}):M}).then(function(ne){me(k._dbInfo,_,function(oe,ue){if(oe)return q(oe);try{var be=ue.objectStore(k._dbInfo.storeName);ne===null&&(ne=void 0);var Re=be.put(ne,w);ue.oncomplete=function(){ne===void 0&&(ne=null),P(ne)},ue.onabort=ue.onerror=function(){var Qe=Re.error?Re.error:Re.transaction.error;q(Qe)}}catch(Qe){q(Qe)}})}).catch(q)});return h(I,E),I}function Se(w,M){var E=this;w=p(w);var k=new c(function(I,P){E.ready().then(function(){me(E._dbInfo,_,function(q,Q){if(q)return P(q);try{var ne=Q.objectStore(E._dbInfo.storeName),oe=ne.delete(w);Q.oncomplete=function(){I()},Q.onerror=function(){P(oe.error)},Q.onabort=function(){var ue=oe.error?oe.error:oe.transaction.error;P(ue)}}catch(ue){P(ue)}})}).catch(P)});return h(k,M),k}function Ve(w){var M=this,E=new c(function(k,I){M.ready().then(function(){me(M._dbInfo,_,function(P,q){if(P)return I(P);try{var Q=q.objectStore(M._dbInfo.storeName),ne=Q.clear();q.oncomplete=function(){k()},q.onabort=q.onerror=function(){var oe=ne.error?ne.error:ne.transaction.error;I(oe)}}catch(oe){I(oe)}})}).catch(I)});return h(E,w),E}function tt(w){var M=this,E=new c(function(k,I){M.ready().then(function(){me(M._dbInfo,S,function(P,q){if(P)return I(P);try{var Q=q.objectStore(M._dbInfo.storeName),ne=Q.count();ne.onsuccess=function(){k(ne.result)},ne.onerror=function(){I(ne.error)}}catch(oe){I(oe)}})}).catch(I)});return h(E,w),E}function it(w,M){var E=this,k=new c(function(I,P){if(w<0){I(null);return}E.ready().then(function(){me(E._dbInfo,S,function(q,Q){if(q)return P(q);try{var ne=Q.objectStore(E._dbInfo.storeName),oe=!1,ue=ne.openKeyCursor();ue.onsuccess=function(){var be=ue.result;if(!be){I(null);return}w===0||oe?I(be.key):(oe=!0,be.advance(w))},ue.onerror=function(){P(ue.error)}}catch(be){P(be)}})}).catch(P)});return h(k,M),k}function ve(w){var M=this,E=new c(function(k,I){M.ready().then(function(){me(M._dbInfo,S,function(P,q){if(P)return I(P);try{var Q=q.objectStore(M._dbInfo.storeName),ne=Q.openKeyCursor(),oe=[];ne.onsuccess=function(){var ue=ne.result;if(!ue){k(oe);return}oe.push(ue.key),ue.continue()},ne.onerror=function(){I(ne.error)}}catch(ue){I(ue)}})}).catch(I)});return h(E,w),E}function _e(w,M){M=v.apply(this,arguments);var E=this.config();w=typeof w!="function"&&w||{},w.name||(w.name=w.name||E.name,w.storeName=w.storeName||E.storeName);var k=this,I;if(!w.name)I=c.reject("Invalid arguments");else{var P=w.name===E.name&&k._dbInfo.db,q=P?c.resolve(k._dbInfo.db):F(w).then(function(Q){var ne=O[w.name],oe=ne.forages;ne.db=Q;for(var ue=0;ue<oe.length;ue++)oe[ue]._dbInfo.db=Q;return Q});w.storeName?I=q.then(function(Q){if(Q.objectStoreNames.contains(w.storeName)){var ne=Q.version+1;L(w);var oe=O[w.name],ue=oe.forages;Q.close();for(var be=0;be<ue.length;be++){var Re=ue[be];Re._dbInfo.db=null,Re._dbInfo.version=ne}var Qe=new c(function(rt,Tt){var xt=u.open(w.name,ne);xt.onerror=function(Mr){var es=xt.result;es.close(),Tt(Mr)},xt.onupgradeneeded=function(){var Mr=xt.result;Mr.deleteObjectStore(w.storeName)},xt.onsuccess=function(){var Mr=xt.result;Mr.close(),rt(Mr)}});return Qe.then(function(rt){oe.db=rt;for(var Tt=0;Tt<ue.length;Tt++){var xt=ue[Tt];xt._dbInfo.db=rt,W(xt._dbInfo)}}).catch(function(rt){throw(D(w,rt)||c.resolve()).catch(function(){}),rt})}}):I=q.then(function(Q){L(w);var ne=O[w.name],oe=ne.forages;Q.close();for(var ue=0;ue<oe.length;ue++){var be=oe[ue];be._dbInfo.db=null}var Re=new c(function(Qe,rt){var Tt=u.deleteDatabase(w.name);Tt.onerror=function(){var xt=Tt.result;xt&&xt.close(),rt(Tt.error)},Tt.onblocked=function(){console.warn('dropInstance blocked for database "'+w.name+'" until all open connections are closed')},Tt.onsuccess=function(){var xt=Tt.result;xt&&xt.close(),Qe(xt)}});return Re.then(function(Qe){ne.db=Qe;for(var rt=0;rt<oe.length;rt++){var Tt=oe[rt];W(Tt._dbInfo)}}).catch(function(Qe){throw(D(w,Qe)||c.resolve()).catch(function(){}),Qe})})}return h(I,M),I}var $e={_driver:"asyncStorage",_initStorage:J,_support:l(),iterate:de,getItem:ae,setItem:we,removeItem:Se,clear:Ve,length:tt,key:it,keys:ve,dropInstance:_e};function Ae(){return typeof openDatabase=="function"}var Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Be="~~local_forage_type~",Ye=/^~~local_forage_type~([^~]+)~/,ft="__lfsc__:",st=ft.length,Ct="arbf",jt="blob",Dr="si08",$="ui08",N="uic8",B="si16",j="si32",K="ur16",X="ui32",fe="fl32",re="fl64",he=st+Ct.length,ee=Object.prototype.toString;function Ke(w){var M=w.length*.75,E=w.length,k,I=0,P,q,Q,ne;w[w.length-1]==="="&&(M--,w[w.length-2]==="="&&M--);var oe=new ArrayBuffer(M),ue=new Uint8Array(oe);for(k=0;k<E;k+=4)P=Fe.indexOf(w[k]),q=Fe.indexOf(w[k+1]),Q=Fe.indexOf(w[k+2]),ne=Fe.indexOf(w[k+3]),ue[I++]=P<<2|q>>4,ue[I++]=(q&15)<<4|Q>>2,ue[I++]=(Q&3)<<6|ne&63;return oe}function Je(w){var M=new Uint8Array(w),E="",k;for(k=0;k<M.length;k+=3)E+=Fe[M[k]>>2],E+=Fe[(M[k]&3)<<4|M[k+1]>>4],E+=Fe[(M[k+1]&15)<<2|M[k+2]>>6],E+=Fe[M[k+2]&63];return M.length%3===2?E=E.substring(0,E.length-1)+"=":M.length%3===1&&(E=E.substring(0,E.length-2)+"=="),E}function bt(w,M){var E="";if(w&&(E=ee.call(w)),w&&(E==="[object ArrayBuffer]"||w.buffer&&ee.call(w.buffer)==="[object ArrayBuffer]")){var k,I=ft;w instanceof ArrayBuffer?(k=w,I+=Ct):(k=w.buffer,E==="[object Int8Array]"?I+=Dr:E==="[object Uint8Array]"?I+=$:E==="[object Uint8ClampedArray]"?I+=N:E==="[object Int16Array]"?I+=B:E==="[object Uint16Array]"?I+=K:E==="[object Int32Array]"?I+=j:E==="[object Uint32Array]"?I+=X:E==="[object Float32Array]"?I+=fe:E==="[object Float64Array]"?I+=re:M(new Error("Failed to get type for BinaryArray"))),M(I+Je(k))}else if(E==="[object Blob]"){var P=new FileReader;P.onload=function(){var q=Be+w.type+"~"+Je(this.result);M(ft+jt+q)},P.readAsArrayBuffer(w)}else try{M(JSON.stringify(w))}catch(q){console.error("Couldn't convert value into a JSON string: ",w),M(null,q)}}function Vt(w){if(w.substring(0,st)!==ft)return JSON.parse(w);var M=w.substring(he),E=w.substring(st,he),k;if(E===jt&&Ye.test(M)){var I=M.match(Ye);k=I[1],M=M.substring(I[0].length)}var P=Ke(M);switch(E){case Ct:return P;case jt:return f([P],{type:k});case Dr:return new Int8Array(P);case $:return new Uint8Array(P);case N:return new Uint8ClampedArray(P);case B:return new Int16Array(P);case K:return new Uint16Array(P);case j:return new Int32Array(P);case X:return new Uint32Array(P);case fe:return new Float32Array(P);case re:return new Float64Array(P);default:throw new Error("Unkown type: "+E)}}var Pt={serialize:bt,deserialize:Vt,stringToBuffer:Ke,bufferToString:Je};function nr(w,M,E,k){w.executeSql("CREATE TABLE IF NOT EXISTS "+M.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],E,k)}function vr(w){var M=this,E={db:null};if(w)for(var k in w)E[k]=typeof w[k]!="string"?w[k].toString():w[k];var I=new c(function(P,q){try{E.db=openDatabase(E.name,String(E.version),E.description,E.size)}catch(Q){return q(Q)}E.db.transaction(function(Q){nr(Q,E,function(){M._dbInfo=E,P()},function(ne,oe){q(oe)})},q)});return E.serializer=Pt,I}function Zt(w,M,E,k,I,P){w.executeSql(E,k,I,function(q,Q){Q.code===Q.SYNTAX_ERR?q.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[M.storeName],function(ne,oe){oe.rows.length?P(ne,Q):nr(ne,M,function(){ne.executeSql(E,k,I,P)},P)},P):P(q,Q)},P)}function Bo(w,M){var E=this;w=p(w);var k=new c(function(I,P){E.ready().then(function(){var q=E._dbInfo;q.db.transaction(function(Q){Zt(Q,q,"SELECT * FROM "+q.storeName+" WHERE key = ? LIMIT 1",[w],function(ne,oe){var ue=oe.rows.length?oe.rows.item(0).value:null;ue&&(ue=q.serializer.deserialize(ue)),I(ue)},function(ne,oe){P(oe)})})}).catch(P)});return h(k,M),k}function bf(w,M){var E=this,k=new c(function(I,P){E.ready().then(function(){var q=E._dbInfo;q.db.transaction(function(Q){Zt(Q,q,"SELECT * FROM "+q.storeName,[],function(ne,oe){for(var ue=oe.rows,be=ue.length,Re=0;Re<be;Re++){var Qe=ue.item(Re),rt=Qe.value;if(rt&&(rt=q.serializer.deserialize(rt)),rt=w(rt,Qe.key,Re+1),rt!==void 0){I(rt);return}}I()},function(ne,oe){P(oe)})})}).catch(P)});return h(k,M),k}function Lu(w,M,E,k){var I=this;w=p(w);var P=new c(function(q,Q){I.ready().then(function(){M===void 0&&(M=null);var ne=M,oe=I._dbInfo;oe.serializer.serialize(M,function(ue,be){be?Q(be):oe.db.transaction(function(Re){Zt(Re,oe,"INSERT OR REPLACE INTO "+oe.storeName+" (key, value) VALUES (?, ?)",[w,ue],function(){q(ne)},function(Qe,rt){Q(rt)})},function(Re){if(Re.code===Re.QUOTA_ERR){if(k>0){q(Lu.apply(I,[w,ne,E,k-1]));return}Q(Re)}})})}).catch(Q)});return h(P,E),P}function _f(w,M,E){return Lu.apply(this,[w,M,E,1])}function Sf(w,M){var E=this;w=p(w);var k=new c(function(I,P){E.ready().then(function(){var q=E._dbInfo;q.db.transaction(function(Q){Zt(Q,q,"DELETE FROM "+q.storeName+" WHERE key = ?",[w],function(){I()},function(ne,oe){P(oe)})})}).catch(P)});return h(k,M),k}function xf(w){var M=this,E=new c(function(k,I){M.ready().then(function(){var P=M._dbInfo;P.db.transaction(function(q){Zt(q,P,"DELETE FROM "+P.storeName,[],function(){k()},function(Q,ne){I(ne)})})}).catch(I)});return h(E,w),E}function Ef(w){var M=this,E=new c(function(k,I){M.ready().then(function(){var P=M._dbInfo;P.db.transaction(function(q){Zt(q,P,"SELECT COUNT(key) as c FROM "+P.storeName,[],function(Q,ne){var oe=ne.rows.item(0).c;k(oe)},function(Q,ne){I(ne)})})}).catch(I)});return h(E,w),E}function Of(w,M){var E=this,k=new c(function(I,P){E.ready().then(function(){var q=E._dbInfo;q.db.transaction(function(Q){Zt(Q,q,"SELECT key FROM "+q.storeName+" WHERE id = ? LIMIT 1",[w+1],function(ne,oe){var ue=oe.rows.length?oe.rows.item(0).key:null;I(ue)},function(ne,oe){P(oe)})})}).catch(P)});return h(k,M),k}function $f(w){var M=this,E=new c(function(k,I){M.ready().then(function(){var P=M._dbInfo;P.db.transaction(function(q){Zt(q,P,"SELECT key FROM "+P.storeName,[],function(Q,ne){for(var oe=[],ue=0;ue<ne.rows.length;ue++)oe.push(ne.rows.item(ue).key);k(oe)},function(Q,ne){I(ne)})})}).catch(I)});return h(E,w),E}function Tf(w){return new c(function(M,E){w.transaction(function(k){k.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(I,P){for(var q=[],Q=0;Q<P.rows.length;Q++)q.push(P.rows.item(Q).name);M({db:w,storeNames:q})},function(I,P){E(P)})},function(k){E(k)})})}function Df(w,M){M=v.apply(this,arguments);var E=this.config();w=typeof w!="function"&&w||{},w.name||(w.name=w.name||E.name,w.storeName=w.storeName||E.storeName);var k=this,I;return w.name?I=new c(function(P){var q;w.name===E.name?q=k._dbInfo.db:q=openDatabase(w.name,"","",0),w.storeName?P({db:q,storeNames:[w.storeName]}):P(Tf(q))}).then(function(P){return new c(function(q,Q){P.db.transaction(function(ne){function oe(Qe){return new c(function(rt,Tt){ne.executeSql("DROP TABLE IF EXISTS "+Qe,[],function(){rt()},function(xt,Mr){Tt(Mr)})})}for(var ue=[],be=0,Re=P.storeNames.length;be<Re;be++)ue.push(oe(P.storeNames[be]));c.all(ue).then(function(){q()}).catch(function(Qe){Q(Qe)})},function(ne){Q(ne)})})}):I=c.reject("Invalid arguments"),h(I,M),I}var Mf={_driver:"webSQLStorage",_initStorage:vr,_support:Ae(),iterate:bf,getItem:Bo,setItem:_f,removeItem:Sf,clear:xf,length:Ef,key:Of,keys:$f,dropInstance:Df};function Af(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function Bu(w,M){var E=w.name+"/";return w.storeName!==M.storeName&&(E+=w.storeName+"/"),E}function Cf(){var w="_localforage_support_test";try{return localStorage.setItem(w,!0),localStorage.removeItem(w),!1}catch{return!0}}function Pf(){return!Cf()||localStorage.length>0}function kf(w){var M=this,E={};if(w)for(var k in w)E[k]=w[k];return E.keyPrefix=Bu(w,M._defaultConfig),Pf()?(M._dbInfo=E,E.serializer=Pt,c.resolve()):c.reject()}function Nf(w){var M=this,E=M.ready().then(function(){for(var k=M._dbInfo.keyPrefix,I=localStorage.length-1;I>=0;I--){var P=localStorage.key(I);P.indexOf(k)===0&&localStorage.removeItem(P)}});return h(E,w),E}function If(w,M){var E=this;w=p(w);var k=E.ready().then(function(){var I=E._dbInfo,P=localStorage.getItem(I.keyPrefix+w);return P&&(P=I.serializer.deserialize(P)),P});return h(k,M),k}function Rf(w,M){var E=this,k=E.ready().then(function(){for(var I=E._dbInfo,P=I.keyPrefix,q=P.length,Q=localStorage.length,ne=1,oe=0;oe<Q;oe++){var ue=localStorage.key(oe);if(ue.indexOf(P)===0){var be=localStorage.getItem(ue);if(be&&(be=I.serializer.deserialize(be)),be=w(be,ue.substring(q),ne++),be!==void 0)return be}}});return h(k,M),k}function Ff(w,M){var E=this,k=E.ready().then(function(){var I=E._dbInfo,P;try{P=localStorage.key(w)}catch{P=null}return P&&(P=P.substring(I.keyPrefix.length)),P});return h(k,M),k}function Lf(w){var M=this,E=M.ready().then(function(){for(var k=M._dbInfo,I=localStorage.length,P=[],q=0;q<I;q++){var Q=localStorage.key(q);Q.indexOf(k.keyPrefix)===0&&P.push(Q.substring(k.keyPrefix.length))}return P});return h(E,w),E}function Bf(w){var M=this,E=M.keys().then(function(k){return k.length});return h(E,w),E}function Yf(w,M){var E=this;w=p(w);var k=E.ready().then(function(){var I=E._dbInfo;localStorage.removeItem(I.keyPrefix+w)});return h(k,M),k}function Wf(w,M,E){var k=this;w=p(w);var I=k.ready().then(function(){M===void 0&&(M=null);var P=M;return new c(function(q,Q){var ne=k._dbInfo;ne.serializer.serialize(M,function(oe,ue){if(ue)Q(ue);else try{localStorage.setItem(ne.keyPrefix+w,oe),q(P)}catch(be){(be.name==="QuotaExceededError"||be.name==="NS_ERROR_DOM_QUOTA_REACHED")&&Q(be),Q(be)}})})});return h(I,E),I}function Uf(w,M){if(M=v.apply(this,arguments),w=typeof w!="function"&&w||{},!w.name){var E=this.config();w.name=w.name||E.name,w.storeName=w.storeName||E.storeName}var k=this,I;return w.name?I=new c(function(P){w.storeName?P(Bu(w,k._defaultConfig)):P(w.name+"/")}).then(function(P){for(var q=localStorage.length-1;q>=0;q--){var Q=localStorage.key(q);Q.indexOf(P)===0&&localStorage.removeItem(Q)}}):I=c.reject("Invalid arguments"),h(I,M),I}var Hf={_driver:"localStorageWrapper",_initStorage:kf,_support:Af(),iterate:Rf,getItem:If,setItem:Wf,removeItem:Yf,clear:Nf,length:Bf,key:Ff,keys:Lf,dropInstance:Uf},zf=function(M,E){return M===E||typeof M=="number"&&typeof E=="number"&&isNaN(M)&&isNaN(E)},jf=function(M,E){for(var k=M.length,I=0;I<k;){if(zf(M[I],E))return!0;I++}return!1},gi=Array.isArray||function(w){return Object.prototype.toString.call(w)==="[object Array]"},He={},Yt={},yi={INDEXEDDB:$e,WEBSQL:Mf,LOCALSTORAGE:Hf},Yo=[yi.INDEXEDDB._driver,yi.WEBSQL._driver,yi.LOCALSTORAGE._driver],cn=["dropInstance"],Qa=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(cn),QS={description:"",driver:Yo.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function ex(w,M){w[M]=function(){var E=arguments;return w.ready().then(function(){return w[M].apply(w,E)})}}function Vf(){for(var w=1;w<arguments.length;w++){var M=arguments[w];if(M)for(var E in M)M.hasOwnProperty(E)&&(gi(M[E])?arguments[0][E]=M[E].slice():arguments[0][E]=M[E])}return arguments[0]}var tx=function(){function w(M){a(this,w);for(var E in yi)if(yi.hasOwnProperty(E)){var k=yi[E],I=k._driver;this[E]=I,He[I]||this.defineDriver(k)}this._defaultConfig=Vf({},QS),this._config=Vf({},this._defaultConfig,M),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return w.prototype.config=function(E){if((typeof E>"u"?"undefined":o(E))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var k in E){if(k==="storeName"&&(E[k]=E[k].replace(/\W/g,"_")),k==="version"&&typeof E[k]!="number")return new Error("Database version must be a number.");this._config[k]=E[k]}return"driver"in E&&E.driver?this.setDriver(this._config.driver):!0}else return typeof E=="string"?this._config[E]:this._config},w.prototype.defineDriver=function(E,k,I){var P=new c(function(q,Q){try{var ne=E._driver,oe=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!E._driver){Q(oe);return}for(var ue=Qa.concat("_initStorage"),be=0,Re=ue.length;be<Re;be++){var Qe=ue[be],rt=!jf(cn,Qe);if((rt||E[Qe])&&typeof E[Qe]!="function"){Q(oe);return}}var Tt=function(){for(var es=function(ix){return function(){var ox=new Error("Method "+ix+" is not implemented by the current driver"),Ov=c.reject(ox);return h(Ov,arguments[arguments.length-1]),Ov}},qf=0,nx=cn.length;qf<nx;qf++){var Gf=cn[qf];E[Gf]||(E[Gf]=es(Gf))}};Tt();var xt=function(es){He[ne]&&console.info("Redefining LocalForage driver: "+ne),He[ne]=E,Yt[ne]=es,q()};"_support"in E?E._support&&typeof E._support=="function"?E._support().then(xt,Q):xt(!!E._support):xt(!0)}catch(Mr){Q(Mr)}});return d(P,k,I),P},w.prototype.driver=function(){return this._driver||null},w.prototype.getDriver=function(E,k,I){var P=He[E]?c.resolve(He[E]):c.reject(new Error("Driver not found."));return d(P,k,I),P},w.prototype.getSerializer=function(E){var k=c.resolve(Pt);return d(k,E),k},w.prototype.ready=function(E){var k=this,I=k._driverSet.then(function(){return k._ready===null&&(k._ready=k._initDriver()),k._ready});return d(I,E,E),I},w.prototype.setDriver=function(E,k,I){var P=this;gi(E)||(E=[E]);var q=this._getSupportedDrivers(E);function Q(){P._config.driver=P.driver()}function ne(be){return P._extend(be),Q(),P._ready=P._initStorage(P._config),P._ready}function oe(be){return function(){var Re=0;function Qe(){for(;Re<be.length;){var rt=be[Re];return Re++,P._dbInfo=null,P._ready=null,P.getDriver(rt).then(ne).catch(Qe)}Q();var Tt=new Error("No available storage method found.");return P._driverSet=c.reject(Tt),P._driverSet}return Qe()}}var ue=this._driverSet!==null?this._driverSet.catch(function(){return c.resolve()}):c.resolve();return this._driverSet=ue.then(function(){var be=q[0];return P._dbInfo=null,P._ready=null,P.getDriver(be).then(function(Re){P._driver=Re._driver,Q(),P._wrapLibraryMethodsWithReady(),P._initDriver=oe(q)})}).catch(function(){Q();var be=new Error("No available storage method found.");return P._driverSet=c.reject(be),P._driverSet}),d(this._driverSet,k,I),this._driverSet},w.prototype.supports=function(E){return!!Yt[E]},w.prototype._extend=function(E){Vf(this,E)},w.prototype._getSupportedDrivers=function(E){for(var k=[],I=0,P=E.length;I<P;I++){var q=E[I];this.supports(q)&&k.push(q)}return k},w.prototype._wrapLibraryMethodsWithReady=function(){for(var E=0,k=Qa.length;E<k;E++)ex(this,Qa[E])},w.prototype.createInstance=function(E){return new w(E)},w}(),rx=new tx;n.exports=rx},{3:3}]},{},[4])(4)})})(Yb);var ER=Yb.exports;const OR=Pe.getDefaultExportFromCjs(ER);function Zd(){return Zd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zd.apply(null,arguments)}function R1(){return!0}function Ar(){return!1}function jo(){}const F1="Argument is not a typed-function.";function Wb(){function e($){return typeof $=="object"&&$!==null&&$.constructor===Object}const t=[{name:"number",test:function($){return typeof $=="number"}},{name:"string",test:function($){return typeof $=="string"}},{name:"boolean",test:function($){return typeof $=="boolean"}},{name:"Function",test:function($){return typeof $=="function"}},{name:"Array",test:Array.isArray},{name:"Date",test:function($){return $ instanceof Date}},{name:"RegExp",test:function($){return $ instanceof RegExp}},{name:"Object",test:e},{name:"null",test:function($){return $===null}},{name:"undefined",test:function($){return $===void 0}}],r={name:"any",test:R1,isAny:!0};let n,i,o=0,a={createCount:0};function s($){const N=n.get($);if(N)return N;let B='Unknown type "'+$+'"';const j=$.toLowerCase();let K;for(K of i)if(K.toLowerCase()===j){B+='. Did you mean "'+K+'" ?';break}throw new TypeError(B)}function u($){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"any";const B=N?s(N).index:i.length,j=[];for(let X=0;X<$.length;++X){if(!$[X]||typeof $[X].name!="string"||typeof $[X].test!="function")throw new TypeError("Object with properties {name: string, test: function} expected");const fe=$[X].name;if(n.has(fe))throw new TypeError('Duplicate type name "'+fe+'"');j.push(fe),n.set(fe,{name:fe,test:$[X].test,isAny:$[X].isAny,index:B+X,conversionsTo:[]})}const K=i.slice(B);i=i.slice(0,B).concat(j).concat(K);for(let X=B+j.length;X<i.length;++X)n.get(i[X]).index=X}function l(){n=new Map,i=[],o=0,u([r],!1)}l(),u(t);function f(){let $;for($ of i)n.get($).conversionsTo=[];o=0}function c($){const N=i.filter(B=>{const j=n.get(B);return!j.isAny&&j.test($)});return N.length?N:["any"]}function h($){return $&&typeof $=="function"&&"_typedFunctionData"in $}function d($,N,B){if(!h($))throw new TypeError(F1);const j=B&&B.exact,K=Array.isArray(N)?N.join(","):N,X=S(K),fe=g(X);if(!j||fe in $.signatures){const Ke=$._typedFunctionData.signatureMap.get(fe);if(Ke)return Ke}const re=X.length;let he;if(j){he=[];let Ke;for(Ke in $.signatures)he.push($._typedFunctionData.signatureMap.get(Ke))}else he=$._typedFunctionData.signatures;for(let Ke=0;Ke<re;++Ke){const Je=X[Ke],bt=[];let Vt;for(Vt of he){const Pt=C(Vt.params,Ke);if(!(!Pt||Je.restParam&&!Pt.restParam)){if(!Pt.hasAny){const nr=y(Pt);if(Je.types.some(vr=>!nr.has(vr.name)))continue}bt.push(Vt)}}if(he=bt,he.length===0)break}let ee;for(ee of he)if(ee.params.length<=re)return ee;throw new TypeError("Signature not found (signature: "+($.name||"unnamed")+"("+g(X,", ")+"))")}function p($,N,B){return d($,N,B).implementation}function v($,N){const B=s(N);if(B.test($))return $;const j=B.conversionsTo;if(j.length===0)throw new Error("There are no conversions to "+N+" defined.");for(let K=0;K<j.length;K++)if(s(j[K].from).test($))return j[K].convert($);throw new Error("Cannot convert "+$+" to "+N)}function g($){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";return $.map(B=>B.name).join(N)}function m($){const N=$.indexOf("...")===0,j=(N?$.length>3?$.slice(3):"any":$).split("|").map(re=>s(re.trim()));let K=!1,X=N?"...":"";return{types:j.map(function(re){return K=re.isAny||K,X+=re.name+"|",{name:re.name,typeIndex:re.index,test:re.test,isAny:re.isAny,conversion:null,conversionIndex:-1}}),name:X.slice(0,-1),hasAny:K,hasConversion:!1,restParam:N}}function O($){const N=$.types.map(fe=>fe.name),B=H(N);let j=$.hasAny,K=$.name;const X=B.map(function(fe){const re=s(fe.from);return j=re.isAny||j,K+="|"+fe.from,{name:fe.from,typeIndex:re.index,test:re.test,isAny:re.isAny,conversion:fe,conversionIndex:fe.index}});return{types:$.types.concat(X),name:K,hasAny:j,hasConversion:X.length>0,restParam:$.restParam}}function y($){return $.typeSet||($.typeSet=new Set,$.types.forEach(N=>$.typeSet.add(N.name))),$.typeSet}function S($){const N=[];if(typeof $!="string")throw new TypeError("Signatures must be strings");const B=$.trim();if(B==="")return N;const j=B.split(",");for(let K=0;K<j.length;++K){const X=m(j[K].trim());if(X.restParam&&K!==j.length-1)throw new SyntaxError('Unexpected rest parameter "'+j[K]+'": only allowed for the last parameter');if(X.types.length===0)return null;N.push(X)}return N}function _($){const N=tt($);return N?N.restParam:!1}function x($){if(!$||$.types.length===0)return R1;if($.types.length===1)return s($.types[0].name).test;if($.types.length===2){const N=s($.types[0].name).test,B=s($.types[1].name).test;return function(K){return N(K)||B(K)}}else{const N=$.types.map(function(B){return s(B.name).test});return function(j){for(let K=0;K<N.length;K++)if(N[K](j))return!0;return!1}}}function T($){let N,B,j;if(_($)){N=Ve($).map(x);const K=N.length,X=x(tt($)),fe=function(re){for(let he=K;he<re.length;he++)if(!X(re[he]))return!1;return!0};return function(he){for(let ee=0;ee<N.length;ee++)if(!N[ee](he[ee]))return!1;return fe(he)&&he.length>=K+1}}else return $.length===0?function(X){return X.length===0}:$.length===1?(B=x($[0]),function(X){return B(X[0])&&X.length===1}):$.length===2?(B=x($[0]),j=x($[1]),function(X){return B(X[0])&&j(X[1])&&X.length===2}):(N=$.map(x),function(X){for(let fe=0;fe<N.length;fe++)if(!N[fe](X[fe]))return!1;return X.length===N.length})}function C($,N){return N<$.length?$[N]:_($)?tt($):null}function L($,N){const B=C($,N);return B?y(B):new Set}function W($){return $.conversion===null||$.conversion===void 0}function D($,N){const B=new Set;return $.forEach(j=>{const K=L(j.params,N);let X;for(X of K)B.add(X)}),B.has("any")?["any"]:Array.from(B)}function z($,N,B){let j,K;const X=$||"unnamed";let fe=B,re;for(re=0;re<N.length;re++){const Je=[];if(fe.forEach(bt=>{const Vt=C(bt.params,re),Pt=x(Vt);(re<bt.params.length||_(bt.params))&&Pt(N[re])&&Je.push(bt)}),Je.length===0){if(K=D(fe,re),K.length>0){const bt=c(N[re]);return j=new TypeError("Unexpected type of argument in function "+X+" (expected: "+K.join(" or ")+", actual: "+bt.join(" | ")+", index: "+re+")"),j.data={category:"wrongType",fn:X,index:re,actual:bt,expected:K},j}}else fe=Je}const he=fe.map(function(Je){return _(Je.params)?1/0:Je.params.length});if(N.length<Math.min.apply(null,he))return K=D(fe,re),j=new TypeError("Too few arguments in function "+X+" (expected: "+K.join(" or ")+", index: "+N.length+")"),j.data={category:"tooFewArgs",fn:X,index:N.length,expected:K},j;const ee=Math.max.apply(null,he);if(N.length>ee)return j=new TypeError("Too many arguments in function "+X+" (expected: "+ee+", actual: "+N.length+")"),j.data={category:"tooManyArgs",fn:X,index:N.length,expectedLength:ee},j;const Ke=[];for(let Je=0;Je<N.length;++Je)Ke.push(c(N[Je]).join("|"));return j=new TypeError('Arguments of type "'+Ke.join(", ")+'" do not match any of the defined signatures of function '+X+"."),j.data={category:"mismatch",actual:Ke},j}function F($){let N=i.length+1;for(let B=0;B<$.types.length;B++)W($.types[B])&&(N=Math.min(N,$.types[B].typeIndex));return N}function Y($){let N=o+1;for(let B=0;B<$.types.length;B++)W($.types[B])||(N=Math.min(N,$.types[B].conversionIndex));return N}function A($,N){if($.hasAny){if(!N.hasAny)return 1}else if(N.hasAny)return-1;if($.restParam){if(!N.restParam)return 1}else if(N.restParam)return-1;if($.hasConversion){if(!N.hasConversion)return 1}else if(N.hasConversion)return-1;const B=F($)-F(N);if(B<0)return-1;if(B>0)return 1;const j=Y($)-Y(N);return j<0?-1:j>0?1:0}function R($,N){const B=$.params,j=N.params,K=tt(B),X=tt(j),fe=_(B),re=_(j);if(fe&&K.hasAny){if(!re||!X.hasAny)return 1}else if(re&&X.hasAny)return-1;let he=0,ee=0,Ke;for(Ke of B)Ke.hasAny&&++he,Ke.hasConversion&&++ee;let Je=0,bt=0;for(Ke of j)Ke.hasAny&&++Je,Ke.hasConversion&&++bt;if(he!==Je)return he-Je;if(fe&&K.hasConversion){if(!re||!X.hasConversion)return 1}else if(re&&X.hasConversion)return-1;if(ee!==bt)return ee-bt;if(fe){if(!re)return 1}else if(re)return-1;const Vt=(B.length-j.length)*(fe?-1:1);if(Vt!==0)return Vt;const Pt=[];let nr=0;for(let Zt=0;Zt<B.length;++Zt){const Bo=A(B[Zt],j[Zt]);Pt.push(Bo),nr+=Bo}if(nr!==0)return nr;let vr;for(vr of Pt)if(vr!==0)return vr;return 0}function H($){if($.length===0)return[];const N=$.map(s);$.length>1&&N.sort((K,X)=>K.index-X.index);let B=N[0].conversionsTo;if($.length===1)return B;B=B.concat([]);const j=new Set($);for(let K=1;K<N.length;++K){let X;for(X of N[K].conversionsTo)j.has(X.from)||(B.push(X),j.add(X.from))}return B}function V($,N){let B=N;if($.some(K=>K.hasConversion)){const K=_($),X=$.map(ie);B=function(){const re=[],he=K?arguments.length-1:arguments.length;for(let ee=0;ee<he;ee++)re[ee]=X[ee](arguments[ee]);return K&&(re[he]=arguments[he].map(X[he])),N.apply(this,re)}}let j=B;if(_($)){const K=$.length-1;j=function(){return B.apply(this,it(arguments,0,K).concat([it(arguments,K)]))}}return j}function ie($){let N,B,j,K;const X=[],fe=[];switch($.types.forEach(function(re){re.conversion&&(X.push(s(re.conversion.from).test),fe.push(re.conversion.convert))}),fe.length){case 0:return function(he){return he};case 1:return N=X[0],j=fe[0],function(he){return N(he)?j(he):he};case 2:return N=X[0],B=X[1],j=fe[0],K=fe[1],function(he){return N(he)?j(he):B(he)?K(he):he};default:return function(he){for(let ee=0;ee<fe.length;ee++)if(X[ee](he))return fe[ee](he);return he}}}function se($){function N(B,j,K){if(j<B.length){const X=B[j];let fe=[];if(X.restParam){const re=X.types.filter(W);re.length<X.types.length&&fe.push({types:re,name:"..."+re.map(he=>he.name).join("|"),hasAny:re.some(he=>he.isAny),hasConversion:!1,restParam:!0}),fe.push(X)}else fe=X.types.map(function(re){return{types:[re],name:re.name,hasAny:re.isAny,hasConversion:re.conversion,restParam:!1}});return _e(fe,function(re){return N(B,j+1,K.concat([re]))})}else return[K]}return N($,0,[])}function me($,N){const B=Math.max($.length,N.length);for(let re=0;re<B;re++){const he=L($,re),ee=L(N,re);let Ke=!1,Je;for(Je of ee)if(he.has(Je)){Ke=!0;break}if(!Ke)return!1}const j=$.length,K=N.length,X=_($),fe=_(N);return X?fe?j===K:K>=j:fe?j>=K:j===K}function ce($){return $.map(N=>Ye(N)?Fe(N.referToSelf.callback):Be(N)?Ae(N.referTo.references,N.referTo.callback):N)}function J($,N,B){const j=[];let K;for(K of $){let X=B[K];if(typeof X!="number")throw new TypeError('No definition for referenced signature "'+K+'"');if(X=N[X],typeof X!="function")return!1;j.push(X)}return j}function ae($,N,B){const j=ce($),K=new Array(j.length).fill(!1);let X=!0;for(;X;){X=!1;let fe=!0;for(let re=0;re<j.length;++re){if(K[re])continue;const he=j[re];if(Ye(he))j[re]=he.referToSelf.callback(B),j[re].referToSelf=he.referToSelf,K[re]=!0,fe=!1;else if(Be(he)){const ee=J(he.referTo.references,j,N);ee?(j[re]=he.referTo.callback.apply(this,ee),j[re].referTo=he.referTo,K[re]=!0,fe=!1):X=!0}}if(fe&&X)throw new SyntaxError("Circular reference detected in resolving typed.referTo")}return j}function de($){const N=/\bthis(\(|\.signatures\b)/;Object.keys($).forEach(B=>{const j=$[B];if(N.test(j.toString()))throw new SyntaxError("Using `this` to self-reference a function is deprecated since typed-function@3. Use typed.referTo and typed.referToSelf instead.")})}function we($,N){if(a.createCount++,Object.keys(N).length===0)throw new SyntaxError("No signatures provided");a.warnAgainstDeprecatedThis&&de(N);const B=[],j=[],K={},X=[];let fe;for(fe in N){if(!Object.prototype.hasOwnProperty.call(N,fe))continue;const He=S(fe);if(!He)continue;B.forEach(function(cn){if(me(cn,He))throw new TypeError('Conflicting signatures "'+g(cn)+'" and "'+g(He)+'".')}),B.push(He);const Yt=j.length;j.push(N[fe]);const yi=He.map(O);let Yo;for(Yo of se(yi)){const cn=g(Yo);X.push({params:Yo,name:cn,fn:Yt}),Yo.every(Qa=>!Qa.hasConversion)&&(K[cn]=Yt)}}X.sort(R);const re=ae(j,K,gi);let he;for(he in K)Object.prototype.hasOwnProperty.call(K,he)&&(K[he]=re[K[he]]);const ee=[],Ke=new Map;for(he of X)Ke.has(he.name)||(he.fn=re[he.fn],ee.push(he),Ke.set(he.name,he));const Je=ee[0]&&ee[0].params.length<=2&&!_(ee[0].params),bt=ee[1]&&ee[1].params.length<=2&&!_(ee[1].params),Vt=ee[2]&&ee[2].params.length<=2&&!_(ee[2].params),Pt=ee[3]&&ee[3].params.length<=2&&!_(ee[3].params),nr=ee[4]&&ee[4].params.length<=2&&!_(ee[4].params),vr=ee[5]&&ee[5].params.length<=2&&!_(ee[5].params),Zt=Je&&bt&&Vt&&Pt&&nr&&vr;for(let He=0;He<ee.length;++He)ee[He].test=T(ee[He].params);const Bo=Je?x(ee[0].params[0]):Ar,bf=bt?x(ee[1].params[0]):Ar,Lu=Vt?x(ee[2].params[0]):Ar,_f=Pt?x(ee[3].params[0]):Ar,Sf=nr?x(ee[4].params[0]):Ar,xf=vr?x(ee[5].params[0]):Ar,Ef=Je?x(ee[0].params[1]):Ar,Of=bt?x(ee[1].params[1]):Ar,$f=Vt?x(ee[2].params[1]):Ar,Tf=Pt?x(ee[3].params[1]):Ar,Df=nr?x(ee[4].params[1]):Ar,Mf=vr?x(ee[5].params[1]):Ar;for(let He=0;He<ee.length;++He)ee[He].implementation=V(ee[He].params,ee[He].fn);const Af=Je?ee[0].implementation:jo,Bu=bt?ee[1].implementation:jo,Cf=Vt?ee[2].implementation:jo,Pf=Pt?ee[3].implementation:jo,kf=nr?ee[4].implementation:jo,Nf=vr?ee[5].implementation:jo,If=Je?ee[0].params.length:-1,Rf=bt?ee[1].params.length:-1,Ff=Vt?ee[2].params.length:-1,Lf=Pt?ee[3].params.length:-1,Bf=nr?ee[4].params.length:-1,Yf=vr?ee[5].params.length:-1,Wf=Zt?6:0,Uf=ee.length,Hf=ee.map(He=>He.test),zf=ee.map(He=>He.implementation),jf=function(){for(let Yt=Wf;Yt<Uf;Yt++)if(Hf[Yt](arguments))return zf[Yt].apply(this,arguments);return a.onMismatch($,arguments,ee)};function gi(He,Yt){return arguments.length===If&&Bo(He)&&Ef(Yt)?Af.apply(this,arguments):arguments.length===Rf&&bf(He)&&Of(Yt)?Bu.apply(this,arguments):arguments.length===Ff&&Lu(He)&&$f(Yt)?Cf.apply(this,arguments):arguments.length===Lf&&_f(He)&&Tf(Yt)?Pf.apply(this,arguments):arguments.length===Bf&&Sf(He)&&Df(Yt)?kf.apply(this,arguments):arguments.length===Yf&&xf(He)&&Mf(Yt)?Nf.apply(this,arguments):jf.apply(this,arguments)}try{Object.defineProperty(gi,"name",{value:$})}catch{}return gi.signatures=K,gi._typedFunctionData={signatures:ee,signatureMap:Ke},gi}function Se($,N,B){throw z($,N,B)}function Ve($){return it($,0,$.length-1)}function tt($){return $[$.length-1]}function it($,N,B){return Array.prototype.slice.call($,N,B)}function ve($,N){for(let B=0;B<$.length;B++)if(N($[B]))return $[B]}function _e($,N){return Array.prototype.concat.apply([],$.map(N))}function $e(){const $=Ve(arguments).map(B=>g(S(B))),N=tt(arguments);if(typeof N!="function")throw new TypeError("Callback function expected as last argument");return Ae($,N)}function Ae($,N){return{referTo:{references:$,callback:N}}}function Fe($){if(typeof $!="function")throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:$}}}function Be($){return $&&typeof $.referTo=="object"&&Array.isArray($.referTo.references)&&typeof $.referTo.callback=="function"}function Ye($){return $&&typeof $.referToSelf=="object"&&typeof $.referToSelf.callback=="function"}function ft($,N){if(!$)return N;if(N&&N!==$){const B=new Error("Function names do not match (expected: "+$+", actual: "+N+")");throw B.data={actual:N,expected:$},B}return $}function st($){let N;for(const B in $)Object.prototype.hasOwnProperty.call($,B)&&(h($[B])||typeof $[B].signature=="string")&&(N=ft(N,$[B].name));return N}function Ct($,N){let B;for(B in N)if(Object.prototype.hasOwnProperty.call(N,B)){if(B in $&&N[B]!==$[B]){const j=new Error('Signature "'+B+'" is defined twice');throw j.data={signature:B,sourceFunction:N[B],destFunction:$[B]},j}$[B]=N[B]}}const jt=a;a=function($){const N=typeof $=="string",B=N?1:0;let j=N?$:"";const K={};for(let X=B;X<arguments.length;++X){const fe=arguments[X];let re={},he;if(typeof fe=="function"?(he=fe.name,typeof fe.signature=="string"?re[fe.signature]=fe:h(fe)&&(re=fe.signatures)):e(fe)&&(re=fe,N||(he=st(fe))),Object.keys(re).length===0){const ee=new TypeError("Argument to 'typed' at index "+X+" is not a (typed) function, nor an object with signatures as keys and functions as values.");throw ee.data={index:X,argument:fe},ee}N||(j=ft(j,he)),Ct(K,re)}return we(j||"",K)},a.create=Wb,a.createCount=jt.createCount,a.onMismatch=Se,a.throwMismatchError=Se,a.createError=z,a.clear=l,a.clearConversions=f,a.addTypes=u,a._findType=s,a.referTo=$e,a.referToSelf=Fe,a.convert=v,a.findSignature=d,a.find=p,a.isTypedFunction=h,a.warnAgainstDeprecatedThis=!0,a.addType=function($,N){let B="any";N!==!1&&n.has("Object")&&(B="Object"),a.addTypes([$],B)};function Dr($){if(!$||typeof $.from!="string"||typeof $.to!="string"||typeof $.convert!="function")throw new TypeError("Object with properties {from: string, to: string, convert: function} expected");if($.to===$.from)throw new SyntaxError('Illegal to define conversion from "'+$.from+'" to itself.')}return a.addConversion=function($){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{override:!1};Dr($);const B=s($.to),j=B.conversionsTo.find(K=>K.from===$.from);if(j)if(N&&N.override)a.removeConversion({from:j.from,to:$.to,convert:j.convert});else throw new Error('There is already a conversion from "'+$.from+'" to "'+B.name+'"');B.conversionsTo.push({from:$.from,convert:$.convert,index:o++})},a.addConversions=function($,N){$.forEach(B=>a.addConversion(B,N))},a.removeConversion=function($){Dr($);const N=s($.to),B=ve(N.conversionsTo,K=>K.from===$.from);if(!B)throw new Error("Attempt to remove nonexistent conversion from "+$.from+" to "+$.to);if(B.convert!==$.convert)throw new Error("Conversion to remove does not match existing conversion");const j=N.conversionsTo.indexOf(B);N.conversionsTo.splice(j,1)},a.resolve=function($,N){if(!h($))throw new TypeError(F1);const B=$._typedFunctionData.signatures;for(let j=0;j<B.length;++j)if(B[j].test(N))return B[j];return null},a}const $R=Wb();/*!
54
+ * decimal.js v10.6.0
55
+ * An arbitrary-precision Decimal type for JavaScript.
56
+ * https://github.com/MikeMcl/decimal.js
57
+ * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
58
+ * MIT Licence
59
+ */var ra=9e15,Ki=1e9,Jd="0123456789abcdef",ec="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",tc="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Qd={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-ra,maxE:ra,crypto:!1},Ub,Zn,Ce=!0,Hc="[DecimalError] ",zi=Hc+"Invalid argument: ",Hb=Hc+"Precision limit exceeded",zb=Hc+"crypto unavailable",jb="[object Decimal]",Kt=Math.floor,Nt=Math.pow,TR=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,DR=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,MR=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Vb=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Jr=1e7,Te=7,AR=9007199254740991,CR=ec.length-1,ep=tc.length-1,Z={toStringTag:jb};Z.absoluteValue=Z.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),xe(e)};Z.ceil=function(){return xe(new this.constructor(this),this.e+1,2)};Z.clampedTo=Z.clamp=function(e,t){var r,n=this,i=n.constructor;if(e=new i(e),t=new i(t),!e.s||!t.s)return new i(NaN);if(e.gt(t))throw Error(zi+t);return r=n.cmp(e),r<0?e:n.cmp(t)>0?t:new i(n)};Z.comparedTo=Z.cmp=function(e){var t,r,n,i,o=this,a=o.d,s=(e=new o.constructor(e)).d,u=o.s,l=e.s;if(!a||!s)return!u||!l?NaN:u!==l?u:a===s?0:!a^u<0?1:-1;if(!a[0]||!s[0])return a[0]?u:s[0]?-l:0;if(u!==l)return u;if(o.e!==e.e)return o.e>e.e^u<0?1:-1;for(n=a.length,i=s.length,t=0,r=n<i?n:i;t<r;++t)if(a[t]!==s[t])return a[t]>s[t]^u<0?1:-1;return n===i?0:n>i^u<0?1:-1};Z.cosine=Z.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+Te,n.rounding=1,r=PR(n,Zb(n,r)),n.precision=e,n.rounding=t,xe(Zn==2||Zn==3?r.neg():r,e,t,!0)):new n(1):new n(NaN)};Z.cubeRoot=Z.cbrt=function(){var e,t,r,n,i,o,a,s,u,l,f=this,c=f.constructor;if(!f.isFinite()||f.isZero())return new c(f);for(Ce=!1,o=f.s*Nt(f.s*f,1/3),!o||Math.abs(o)==1/0?(r=Ht(f.d),e=f.e,(o=(e-r.length+1)%3)&&(r+=o==1||o==-2?"0":"00"),o=Nt(r,1/3),e=Kt((e+1)/3)-(e%3==(e<0?-1:2)),o==1/0?r="5e"+e:(r=o.toExponential(),r=r.slice(0,r.indexOf("e")+1)+e),n=new c(r),n.s=f.s):n=new c(o.toString()),a=(e=c.precision)+3;;)if(s=n,u=s.times(s).times(s),l=u.plus(f),n=ut(l.plus(f).times(s),l.plus(u),a+2,1),Ht(s.d).slice(0,a)===(r=Ht(n.d)).slice(0,a))if(r=r.slice(a-3,a+1),r=="9999"||!i&&r=="4999"){if(!i&&(xe(s,e+1,0),s.times(s).times(s).eq(f))){n=s;break}a+=4,i=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(xe(n,e+1,1),t=!n.times(n).times(n).eq(f));break}return Ce=!0,xe(n,e,c.rounding,t)};Z.decimalPlaces=Z.dp=function(){var e,t=this.d,r=NaN;if(t){if(e=t.length-1,r=(e-Kt(this.e/Te))*Te,e=t[e],e)for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r};Z.dividedBy=Z.div=function(e){return ut(this,new this.constructor(e))};Z.dividedToIntegerBy=Z.divToInt=function(e){var t=this,r=t.constructor;return xe(ut(t,new r(e),0,1,1),r.precision,r.rounding)};Z.equals=Z.eq=function(e){return this.cmp(e)===0};Z.floor=function(){return xe(new this.constructor(this),this.e+1,3)};Z.greaterThan=Z.gt=function(e){return this.cmp(e)>0};Z.greaterThanOrEqualTo=Z.gte=function(e){var t=this.cmp(e);return t==1||t===0};Z.hyperbolicCosine=Z.cosh=function(){var e,t,r,n,i,o=this,a=o.constructor,s=new a(1);if(!o.isFinite())return new a(o.s?1/0:NaN);if(o.isZero())return s;r=a.precision,n=a.rounding,a.precision=r+Math.max(o.e,o.sd())+4,a.rounding=1,i=o.d.length,i<32?(e=Math.ceil(i/3),t=(1/jc(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),o=Ca(a,1,o.times(t),new a(1),!0);for(var u,l=e,f=new a(8);l--;)u=o.times(o),o=s.minus(u.times(f.minus(u.times(f))));return xe(o,a.precision=r,a.rounding=n,!0)};Z.hyperbolicSine=Z.sinh=function(){var e,t,r,n,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,r=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,n=i.d.length,n<3)i=Ca(o,2,i,i,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,i=i.times(1/jc(5,e)),i=Ca(o,2,i,i,!0);for(var a,s=new o(5),u=new o(16),l=new o(20);e--;)a=i.times(i),i=i.times(s.plus(a.times(u.times(a).plus(l))))}return o.precision=t,o.rounding=r,xe(i,t,r,!0)};Z.hyperbolicTangent=Z.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,ut(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)};Z.inverseCosine=Z.acos=function(){var e=this,t=e.constructor,r=e.abs().cmp(1),n=t.precision,i=t.rounding;return r!==-1?r===0?e.isNeg()?_n(t,n,i):new t(0):new t(NaN):e.isZero()?_n(t,n+4,i).times(.5):(t.precision=n+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=n,t.rounding=i,e.times(2))};Z.inverseHyperbolicCosine=Z.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,Ce=!1,r=r.times(r).minus(1).sqrt().plus(r),Ce=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)};Z.inverseHyperbolicSine=Z.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,Ce=!1,r=r.times(r).plus(1).sqrt().plus(r),Ce=!0,n.precision=e,n.rounding=t,r.ln())};Z.inverseHyperbolicTangent=Z.atanh=function(){var e,t,r,n,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,n=i.sd(),Math.max(n,e)<2*-i.e-1?xe(new o(i),e,t,!0):(o.precision=r=n-i.e,i=ut(i.plus(1),new o(1).minus(i),r+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5))):new o(NaN)};Z.inverseSine=Z.asin=function(){var e,t,r,n,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),r=o.precision,n=o.rounding,t!==-1?t===0?(e=_n(o,r+4,n).times(.5),e.s=i.s,e):new o(NaN):(o.precision=r+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=r,o.rounding=n,i.times(2)))};Z.inverseTangent=Z.atan=function(){var e,t,r,n,i,o,a,s,u,l=this,f=l.constructor,c=f.precision,h=f.rounding;if(l.isFinite()){if(l.isZero())return new f(l);if(l.abs().eq(1)&&c+4<=ep)return a=_n(f,c+4,h).times(.25),a.s=l.s,a}else{if(!l.s)return new f(NaN);if(c+4<=ep)return a=_n(f,c+4,h).times(.5),a.s=l.s,a}for(f.precision=s=c+10,f.rounding=1,r=Math.min(28,s/Te+2|0),e=r;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(Ce=!1,t=Math.ceil(s/Te),n=1,u=l.times(l),a=new f(l),i=l;e!==-1;)if(i=i.times(u),o=a.minus(i.div(n+=2)),i=i.times(u),a=o.plus(i.div(n+=2)),a.d[t]!==void 0)for(e=t;a.d[e]===o.d[e]&&e--;);return r&&(a=a.times(2<<r-1)),Ce=!0,xe(a,f.precision=c,f.rounding=h,!0)};Z.isFinite=function(){return!!this.d};Z.isInteger=Z.isInt=function(){return!!this.d&&Kt(this.e/Te)>this.d.length-2};Z.isNaN=function(){return!this.s};Z.isNegative=Z.isNeg=function(){return this.s<0};Z.isPositive=Z.isPos=function(){return this.s>0};Z.isZero=function(){return!!this.d&&this.d[0]===0};Z.lessThan=Z.lt=function(e){return this.cmp(e)<0};Z.lessThanOrEqualTo=Z.lte=function(e){return this.cmp(e)<1};Z.logarithm=Z.log=function(e){var t,r,n,i,o,a,s,u,l=this,f=l.constructor,c=f.precision,h=f.rounding,d=5;if(e==null)e=new f(10),t=!0;else{if(e=new f(e),r=e.d,e.s<0||!r||!r[0]||e.eq(1))return new f(NaN);t=e.eq(10)}if(r=l.d,l.s<0||!r||!r[0]||l.eq(1))return new f(r&&!r[0]?-1/0:l.s!=1?NaN:r?0:1/0);if(t)if(r.length>1)o=!0;else{for(i=r[0];i%10===0;)i/=10;o=i!==1}if(Ce=!1,s=c+d,a=Ii(l,s),n=t?rc(f,s+10):Ii(e,s),u=ut(a,n,s,1),qs(u.d,i=c,h))do if(s+=10,a=Ii(l,s),n=t?rc(f,s+10):Ii(e,s),u=ut(a,n,s,1),!o){+Ht(u.d).slice(i+1,i+15)+1==1e14&&(u=xe(u,c+1,0));break}while(qs(u.d,i+=10,h));return Ce=!0,xe(u,c,h)};Z.minus=Z.sub=function(e){var t,r,n,i,o,a,s,u,l,f,c,h,d=this,p=d.constructor;if(e=new p(e),!d.d||!e.d)return!d.s||!e.s?e=new p(NaN):d.d?e.s=-e.s:e=new p(e.d||d.s!==e.s?d:NaN),e;if(d.s!=e.s)return e.s=-e.s,d.plus(e);if(l=d.d,h=e.d,s=p.precision,u=p.rounding,!l[0]||!h[0]){if(h[0])e.s=-e.s;else if(l[0])e=new p(d);else return new p(u===3?-0:0);return Ce?xe(e,s,u):e}if(r=Kt(e.e/Te),f=Kt(d.e/Te),l=l.slice(),o=f-r,o){for(c=o<0,c?(t=l,o=-o,a=h.length):(t=h,r=f,a=l.length),n=Math.max(Math.ceil(s/Te),a)+2,o>n&&(o=n,t.length=1),t.reverse(),n=o;n--;)t.push(0);t.reverse()}else{for(n=l.length,a=h.length,c=n<a,c&&(a=n),n=0;n<a;n++)if(l[n]!=h[n]){c=l[n]<h[n];break}o=0}for(c&&(t=l,l=h,h=t,e.s=-e.s),a=l.length,n=h.length-a;n>0;--n)l[a++]=0;for(n=h.length;n>o;){if(l[--n]<h[n]){for(i=n;i&&l[--i]===0;)l[i]=Jr-1;--l[i],l[n]+=Jr}l[n]-=h[n]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(e.d=l,e.e=zc(l,r),Ce?xe(e,s,u):e):new p(u===3?-0:0)};Z.modulo=Z.mod=function(e){var t,r=this,n=r.constructor;return e=new n(e),!r.d||!e.s||e.d&&!e.d[0]?new n(NaN):!e.d||r.d&&!r.d[0]?xe(new n(r),n.precision,n.rounding):(Ce=!1,n.modulo==9?(t=ut(r,e.abs(),0,3,1),t.s*=e.s):t=ut(r,e,0,n.modulo,1),t=t.times(e),Ce=!0,r.minus(t))};Z.naturalExponential=Z.exp=function(){return tp(this)};Z.naturalLogarithm=Z.ln=function(){return Ii(this)};Z.negated=Z.neg=function(){var e=new this.constructor(this);return e.s=-e.s,xe(e)};Z.plus=Z.add=function(e){var t,r,n,i,o,a,s,u,l,f,c=this,h=c.constructor;if(e=new h(e),!c.d||!e.d)return!c.s||!e.s?e=new h(NaN):c.d||(e=new h(e.d||c.s===e.s?c:NaN)),e;if(c.s!=e.s)return e.s=-e.s,c.minus(e);if(l=c.d,f=e.d,s=h.precision,u=h.rounding,!l[0]||!f[0])return f[0]||(e=new h(c)),Ce?xe(e,s,u):e;if(o=Kt(c.e/Te),n=Kt(e.e/Te),l=l.slice(),i=o-n,i){for(i<0?(r=l,i=-i,a=f.length):(r=f,n=o,a=l.length),o=Math.ceil(s/Te),a=o>a?o+1:a+1,i>a&&(i=a,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for(a=l.length,i=f.length,a-i<0&&(i=a,r=f,f=l,l=r),t=0;i;)t=(l[--i]=l[i]+f[i]+t)/Jr|0,l[i]%=Jr;for(t&&(l.unshift(t),++n),a=l.length;l[--a]==0;)l.pop();return e.d=l,e.e=zc(l,n),Ce?xe(e,s,u):e};Z.precision=Z.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(zi+e);return r.d?(t=qb(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t};Z.round=function(){var e=this,t=e.constructor;return xe(new t(e),e.e+1,t.rounding)};Z.sine=Z.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+Te,n.rounding=1,r=NR(n,Zb(n,r)),n.precision=e,n.rounding=t,xe(Zn>2?r.neg():r,e,t,!0)):new n(NaN)};Z.squareRoot=Z.sqrt=function(){var e,t,r,n,i,o,a=this,s=a.d,u=a.e,l=a.s,f=a.constructor;if(l!==1||!s||!s[0])return new f(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);for(Ce=!1,l=Math.sqrt(+a),l==0||l==1/0?(t=Ht(s),(t.length+u)%2==0&&(t+="0"),l=Math.sqrt(t),u=Kt((u+1)/2)-(u<0||u%2),l==1/0?t="5e"+u:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+u),n=new f(t)):n=new f(l.toString()),r=(u=f.precision)+3;;)if(o=n,n=o.plus(ut(a,o,r+2,1)).times(.5),Ht(o.d).slice(0,r)===(t=Ht(n.d)).slice(0,r))if(t=t.slice(r-3,r+1),t=="9999"||!i&&t=="4999"){if(!i&&(xe(o,u+1,0),o.times(o).eq(a))){n=o;break}r+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(xe(n,u+1,1),e=!n.times(n).eq(a));break}return Ce=!0,xe(n,u,f.rounding,e)};Z.tangent=Z.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,r=r.sin(),r.s=1,r=ut(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,xe(Zn==2||Zn==4?r.neg():r,e,t,!0)):new n(NaN)};Z.times=Z.mul=function(e){var t,r,n,i,o,a,s,u,l,f=this,c=f.constructor,h=f.d,d=(e=new c(e)).d;if(e.s*=f.s,!h||!h[0]||!d||!d[0])return new c(!e.s||h&&!h[0]&&!d||d&&!d[0]&&!h?NaN:!h||!d?e.s/0:e.s*0);for(r=Kt(f.e/Te)+Kt(e.e/Te),u=h.length,l=d.length,u<l&&(o=h,h=d,d=o,a=u,u=l,l=a),o=[],a=u+l,n=a;n--;)o.push(0);for(n=l;--n>=0;){for(t=0,i=u+n;i>n;)s=o[i]+d[n]*h[i-n-1]+t,o[i--]=s%Jr|0,t=s/Jr|0;o[i]=(o[i]+t)%Jr|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=zc(o,r),Ce?xe(e,c.precision,c.rounding):e};Z.toBinary=function(e,t){return w0(this,2,e,t)};Z.toDecimalPlaces=Z.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(fr(e,0,Ki),t===void 0?t=n.rounding:fr(t,0,8),xe(r,e+r.e+1,t))};Z.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=An(n,!0):(fr(e,0,Ki),t===void 0?t=i.rounding:fr(t,0,8),n=xe(new i(n),e+1,t),r=An(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r};Z.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return e===void 0?r=An(i):(fr(e,0,Ki),t===void 0?t=o.rounding:fr(t,0,8),n=xe(new o(i),e+i.e+1,t),r=An(n,!1,e+n.e+1)),i.isNeg()&&!i.isZero()?"-"+r:r};Z.toFraction=function(e){var t,r,n,i,o,a,s,u,l,f,c,h,d=this,p=d.d,v=d.constructor;if(!p)return new v(d);if(l=r=new v(1),n=u=new v(0),t=new v(n),o=t.e=qb(p)-d.e-1,a=o%Te,t.d[0]=Nt(10,a<0?Te+a:a),e==null)e=o>0?t:l;else{if(s=new v(e),!s.isInt()||s.lt(l))throw Error(zi+s);e=s.gt(t)?o>0?t:l:s}for(Ce=!1,s=new v(Ht(p)),f=v.precision,v.precision=o=p.length*Te*2;c=ut(s,t,0,1,1),i=r.plus(c.times(n)),i.cmp(e)!=1;)r=n,n=i,i=l,l=u.plus(c.times(i)),u=i,i=t,t=s.minus(c.times(i)),s=i;return i=ut(e.minus(r),n,0,1,1),u=u.plus(i.times(l)),r=r.plus(i.times(n)),u.s=l.s=d.s,h=ut(l,n,o,1).minus(d).abs().cmp(ut(u,r,o,1).minus(d).abs())<1?[l,n]:[u,r],v.precision=f,Ce=!0,h};Z.toHexadecimal=Z.toHex=function(e,t){return w0(this,16,e,t)};Z.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),e==null){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),t===void 0?t=n.rounding:fr(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(Ce=!1,r=ut(r,e,0,t,1).times(e),Ce=!0,xe(r)):(e.s=r.s,r=e),r};Z.toNumber=function(){return+this};Z.toOctal=function(e,t){return w0(this,8,e,t)};Z.toPower=Z.pow=function(e){var t,r,n,i,o,a,s=this,u=s.constructor,l=+(e=new u(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new u(Nt(+s,l));if(s=new u(s),s.eq(1))return s;if(n=u.precision,o=u.rounding,e.eq(1))return xe(s,n,o);if(t=Kt(e.e/Te),t>=e.d.length-1&&(r=l<0?-l:l)<=AR)return i=Gb(u,s,r,n),e.s<0?new u(1).div(i):xe(i,n,o);if(a=s.s,a<0){if(t<e.d.length-1)return new u(NaN);if(e.d[t]&1||(a=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=a,s}return r=Nt(+s,l),t=r==0||!isFinite(r)?Kt(l*(Math.log("0."+Ht(s.d))/Math.LN10+s.e+1)):new u(r+"").e,t>u.maxE+1||t<u.minE-1?new u(t>0?a/0:0):(Ce=!1,u.rounding=s.s=1,r=Math.min(12,(t+"").length),i=tp(e.times(Ii(s,n+r)),n),i.d&&(i=xe(i,n+5,1),qs(i.d,n,o)&&(t=n+10,i=xe(tp(e.times(Ii(s,t+r)),t),t+5,1),+Ht(i.d).slice(n+1,n+15)+1==1e14&&(i=xe(i,n+1,0)))),i.s=a,Ce=!0,u.rounding=o,xe(i,n,o))};Z.toPrecision=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=An(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(fr(e,1,Ki),t===void 0?t=i.rounding:fr(t,0,8),n=xe(new i(n),e,t),r=An(n,e<=n.e||n.e<=i.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r};Z.toSignificantDigits=Z.toSD=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(fr(e,1,Ki),t===void 0?t=n.rounding:fr(t,0,8)),xe(new n(r),e,t)};Z.toString=function(){var e=this,t=e.constructor,r=An(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};Z.truncated=Z.trunc=function(){return xe(new this.constructor(this),this.e+1,1)};Z.valueOf=Z.toJSON=function(){var e=this,t=e.constructor,r=An(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function Ht(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)n=e[t]+"",r=Te-n.length,r&&(o+=Oi(r)),o+=n;a=e[t],n=a+"",r=Te-n.length,r&&(o+=Oi(r))}else if(a===0)return"0";for(;a%10===0;)a/=10;return o+a}function fr(e,t,r){if(e!==~~e||e<t||e>r)throw Error(zi+e)}function qs(e,t,r,n){var i,o,a,s;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=Te,i=0):(i=Math.ceil((t+1)/Te),t%=Te),o=Nt(10,Te-t),s=e[i]%o|0,n==null?t<3?(t==0?s=s/100|0:t==1&&(s=s/10|0),a=r<4&&s==99999||r>3&&s==49999||s==5e4||s==0):a=(r<4&&s+1==o||r>3&&s+1==o/2)&&(e[i+1]/o/100|0)==Nt(10,t-2)-1||(s==o/2||s==0)&&(e[i+1]/o/100|0)==0:t<4?(t==0?s=s/1e3|0:t==1?s=s/100|0:t==2&&(s=s/10|0),a=(n||r<4)&&s==9999||!n&&r>3&&s==4999):a=((n||r<4)&&s+1==o||!n&&r>3&&s+1==o/2)&&(e[i+1]/o/1e3|0)==Nt(10,t-3)-1,a}function Ml(e,t,r){for(var n,i=[0],o,a=0,s=e.length;a<s;){for(o=i.length;o--;)i[o]*=t;for(i[0]+=Jd.indexOf(e.charAt(a++)),n=0;n<i.length;n++)i[n]>r-1&&(i[n+1]===void 0&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}function PR(e,t){var r,n,i;if(t.isZero())return t;n=t.d.length,n<32?(r=Math.ceil(n/3),i=(1/jc(4,r)).toString()):(r=16,i="2.3283064365386962890625e-10"),e.precision+=r,t=Ca(e,1,t.times(i),new e(1));for(var o=r;o--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=r,t}var ut=function(){function e(n,i,o){var a,s=0,u=n.length;for(n=n.slice();u--;)a=n[u]*i+s,n[u]=a%o|0,s=a/o|0;return s&&n.unshift(s),n}function t(n,i,o,a){var s,u;if(o!=a)u=o>a?1:-1;else for(s=u=0;s<o;s++)if(n[s]!=i[s]){u=n[s]>i[s]?1:-1;break}return u}function r(n,i,o,a){for(var s=0;o--;)n[o]-=s,s=n[o]<i[o]?1:0,n[o]=s*a+n[o]-i[o];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,o,a,s,u){var l,f,c,h,d,p,v,g,m,O,y,S,_,x,T,C,L,W,D,z,F=n.constructor,Y=n.s==i.s?1:-1,A=n.d,R=i.d;if(!A||!A[0]||!R||!R[0])return new F(!n.s||!i.s||(A?R&&A[0]==R[0]:!R)?NaN:A&&A[0]==0||!R?Y*0:Y/0);for(u?(d=1,f=n.e-i.e):(u=Jr,d=Te,f=Kt(n.e/d)-Kt(i.e/d)),D=R.length,L=A.length,m=new F(Y),O=m.d=[],c=0;R[c]==(A[c]||0);c++);if(R[c]>(A[c]||0)&&f--,o==null?(x=o=F.precision,a=F.rounding):s?x=o+(n.e-i.e)+1:x=o,x<0)O.push(1),p=!0;else{if(x=x/d+2|0,c=0,D==1){for(h=0,R=R[0],x++;(c<L||h)&&x--;c++)T=h*u+(A[c]||0),O[c]=T/R|0,h=T%R|0;p=h||c<L}else{for(h=u/(R[0]+1)|0,h>1&&(R=e(R,h,u),A=e(A,h,u),D=R.length,L=A.length),C=D,y=A.slice(0,D),S=y.length;S<D;)y[S++]=0;z=R.slice(),z.unshift(0),W=R[0],R[1]>=u/2&&++W;do h=0,l=t(R,y,D,S),l<0?(_=y[0],D!=S&&(_=_*u+(y[1]||0)),h=_/W|0,h>1?(h>=u&&(h=u-1),v=e(R,h,u),g=v.length,S=y.length,l=t(v,y,g,S),l==1&&(h--,r(v,D<g?z:R,g,u))):(h==0&&(l=h=1),v=R.slice()),g=v.length,g<S&&v.unshift(0),r(y,v,S,u),l==-1&&(S=y.length,l=t(R,y,D,S),l<1&&(h++,r(y,D<S?z:R,S,u))),S=y.length):l===0&&(h++,y=[0]),O[c++]=h,l&&y[0]?y[S++]=A[C]||0:(y=[A[C]],S=1);while((C++<L||y[0]!==void 0)&&x--);p=y[0]!==void 0}O[0]||O.shift()}if(d==1)m.e=f,Ub=p;else{for(c=1,h=O[0];h>=10;h/=10)c++;m.e=c+f*d-1,xe(m,s?o+m.e+1:o,a,p)}return m}}();function xe(e,t,r,n){var i,o,a,s,u,l,f,c,h,d=e.constructor;e:if(t!=null){if(c=e.d,!c)return e;for(i=1,s=c[0];s>=10;s/=10)i++;if(o=t-i,o<0)o+=Te,a=t,f=c[h=0],u=f/Nt(10,i-a-1)%10|0;else if(h=Math.ceil((o+1)/Te),s=c.length,h>=s)if(n){for(;s++<=h;)c.push(0);f=u=0,i=1,o%=Te,a=o-Te+1}else break e;else{for(f=s=c[h],i=1;s>=10;s/=10)i++;o%=Te,a=o-Te+i,u=a<0?0:f/Nt(10,i-a-1)%10|0}if(n=n||t<0||c[h+1]!==void 0||(a<0?f:f%Nt(10,i-a-1)),l=r<4?(u||n)&&(r==0||r==(e.s<0?3:2)):u>5||u==5&&(r==4||n||r==6&&(o>0?a>0?f/Nt(10,i-a):0:c[h-1])%10&1||r==(e.s<0?8:7)),t<1||!c[0])return c.length=0,l?(t-=e.e+1,c[0]=Nt(10,(Te-t%Te)%Te),e.e=-t||0):c[0]=e.e=0,e;if(o==0?(c.length=h,s=1,h--):(c.length=h+1,s=Nt(10,Te-o),c[h]=a>0?(f/Nt(10,i-a)%Nt(10,a)|0)*s:0),l)for(;;)if(h==0){for(o=1,a=c[0];a>=10;a/=10)o++;for(a=c[0]+=s,s=1;a>=10;a/=10)s++;o!=s&&(e.e++,c[0]==Jr&&(c[0]=1));break}else{if(c[h]+=s,c[h]!=Jr)break;c[h--]=0,s=1}for(o=c.length;c[--o]===0;)c.pop()}return Ce&&(e.e>d.maxE?(e.d=null,e.e=NaN):e.e<d.minE&&(e.e=0,e.d=[0])),e}function An(e,t,r){if(!e.isFinite())return Kb(e);var n,i=e.e,o=Ht(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+Oi(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+Oi(-i-1)+o,r&&(n=r-a)>0&&(o+=Oi(n))):i>=a?(o+=Oi(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+Oi(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=Oi(n))),o}function zc(e,t){var r=e[0];for(t*=Te;r>=10;r/=10)t++;return t}function rc(e,t,r){if(t>CR)throw Ce=!0,r&&(e.precision=r),Error(Hb);return xe(new e(ec),t,1,!0)}function _n(e,t,r){if(t>ep)throw Error(Hb);return xe(new e(tc),t,r,!0)}function qb(e){var t=e.length-1,r=t*Te+1;if(t=e[t],t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function Oi(e){for(var t="";e--;)t+="0";return t}function Gb(e,t,r,n){var i,o=new e(1),a=Math.ceil(n/Te+4);for(Ce=!1;;){if(r%2&&(o=o.times(t),B1(o.d,a)&&(i=!0)),r=Kt(r/2),r===0){r=o.d.length-1,i&&o.d[r]===0&&++o.d[r];break}t=t.times(t),B1(t.d,a)}return Ce=!0,o}function L1(e){return e.d[e.d.length-1]&1}function Xb(e,t,r){for(var n,i,o=new e(t[0]),a=0;++a<t.length;){if(i=new e(t[a]),!i.s){o=i;break}n=o.cmp(i),(n===r||n===0&&o.s===r)&&(o=i)}return o}function tp(e,t){var r,n,i,o,a,s,u,l=0,f=0,c=0,h=e.constructor,d=h.rounding,p=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(Ce=!1,u=p):u=t,s=new h(.03125);e.e>-2;)e=e.times(s),c+=5;for(n=Math.log(Nt(2,c))/Math.LN10*2+5|0,u+=n,r=o=a=new h(1),h.precision=u;;){if(o=xe(o.times(e),u,1),r=r.times(++f),s=a.plus(ut(o,r,u,1)),Ht(s.d).slice(0,u)===Ht(a.d).slice(0,u)){for(i=c;i--;)a=xe(a.times(a),u,1);if(t==null)if(l<3&&qs(a.d,u-n,d,l))h.precision=u+=10,r=o=s=new h(1),f=0,l++;else return xe(a,h.precision=p,d,Ce=!0);else return h.precision=p,a}a=s}}function Ii(e,t){var r,n,i,o,a,s,u,l,f,c,h,d=1,p=10,v=e,g=v.d,m=v.constructor,O=m.rounding,y=m.precision;if(v.s<0||!g||!g[0]||!v.e&&g[0]==1&&g.length==1)return new m(g&&!g[0]?-1/0:v.s!=1?NaN:g?0:v);if(t==null?(Ce=!1,f=y):f=t,m.precision=f+=p,r=Ht(g),n=r.charAt(0),Math.abs(o=v.e)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)v=v.times(e),r=Ht(v.d),n=r.charAt(0),d++;o=v.e,n>1?(v=new m("0."+r),o++):v=new m(n+"."+r.slice(1))}else return l=rc(m,f+2,y).times(o+""),v=Ii(new m(n+"."+r.slice(1)),f-p).plus(l),m.precision=y,t==null?xe(v,y,O,Ce=!0):v;for(c=v,u=a=v=ut(v.minus(1),v.plus(1),f,1),h=xe(v.times(v),f,1),i=3;;){if(a=xe(a.times(h),f,1),l=u.plus(ut(a,new m(i),f,1)),Ht(l.d).slice(0,f)===Ht(u.d).slice(0,f))if(u=u.times(2),o!==0&&(u=u.plus(rc(m,f+2,y).times(o+""))),u=ut(u,new m(d),f,1),t==null)if(qs(u.d,f-p,O,s))m.precision=f+=p,l=a=v=ut(c.minus(1),c.plus(1),f,1),h=xe(v.times(v),f,1),i=s=1;else return xe(u,m.precision=y,O,Ce=!0);else return m.precision=y,u;u=l,i+=2}}function Kb(e){return String(e.s*e.s/0)}function Al(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;n++);for(i=t.length;t.charCodeAt(i-1)===48;--i);if(t=t.slice(n,i),t){if(i-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%Te,r<0&&(n+=Te),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=Te;n<i;)e.d.push(+t.slice(n,n+=Te));t=t.slice(n),n=Te-t.length}else n-=i;for(;n--;)t+="0";e.d.push(+t),Ce&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function kR(e,t){var r,n,i,o,a,s,u,l,f;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),Vb.test(t))return Al(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(DR.test(t))r=16,t=t.toLowerCase();else if(TR.test(t))r=2;else if(MR.test(t))r=8;else throw Error(zi+t);for(o=t.search(/p/i),o>0?(u=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),o=t.indexOf("."),a=o>=0,n=e.constructor,a&&(t=t.replace(".",""),s=t.length,o=s-o,i=Gb(n,new n(r),o,o*2)),l=Ml(t,r,Jr),f=l.length-1,o=f;l[o]===0;--o)l.pop();return o<0?new n(e.s*0):(e.e=zc(l,f),e.d=l,Ce=!1,a&&(e=ut(e,i,s*4)),u&&(e=e.times(Math.abs(u)<54?Nt(2,u):_u.pow(2,u))),Ce=!0,e)}function NR(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:Ca(e,2,t,t);r=1.4*Math.sqrt(n),r=r>16?16:r|0,t=t.times(1/jc(5,r)),t=Ca(e,2,t,t);for(var i,o=new e(5),a=new e(16),s=new e(20);r--;)i=t.times(t),t=t.times(o.plus(i.times(a.times(i).minus(s))));return t}function Ca(e,t,r,n,i){var o,a,s,u,l=e.precision,f=Math.ceil(l/Te);for(Ce=!1,u=r.times(r),s=new e(n);;){if(a=ut(s.times(u),new e(t++*t++),l,1),s=i?n.plus(a):n.minus(a),n=ut(a.times(u),new e(t++*t++),l,1),a=s.plus(n),a.d[f]!==void 0){for(o=f;a.d[o]===s.d[o]&&o--;);if(o==-1)break}o=s,s=n,n=a,a=o}return Ce=!0,a.d.length=f+1,a}function jc(e,t){for(var r=e;--t;)r*=e;return r}function Zb(e,t){var r,n=t.s<0,i=_n(e,e.precision,1),o=i.times(.5);if(t=t.abs(),t.lte(o))return Zn=n?4:1,t;if(r=t.divToInt(i),r.isZero())Zn=n?3:2;else{if(t=t.minus(r.times(i)),t.lte(o))return Zn=L1(r)?n?2:3:n?4:1,t;Zn=L1(r)?n?1:4:n?3:2}return t.minus(i).abs()}function w0(e,t,r,n){var i,o,a,s,u,l,f,c,h,d=e.constructor,p=r!==void 0;if(p?(fr(r,1,Ki),n===void 0?n=d.rounding:fr(n,0,8)):(r=d.precision,n=d.rounding),!e.isFinite())f=Kb(e);else{for(f=An(e),a=f.indexOf("."),p?(i=2,t==16?r=r*4-3:t==8&&(r=r*3-2)):i=t,a>=0&&(f=f.replace(".",""),h=new d(1),h.e=f.length-a,h.d=Ml(An(h),10,i),h.e=h.d.length),c=Ml(f,10,i),o=u=c.length;c[--u]==0;)c.pop();if(!c[0])f=p?"0p+0":"0";else{if(a<0?o--:(e=new d(e),e.d=c,e.e=o,e=ut(e,h,r,n,0,i),c=e.d,o=e.e,l=Ub),a=c[r],s=i/2,l=l||c[r+1]!==void 0,l=n<4?(a!==void 0||l)&&(n===0||n===(e.s<0?3:2)):a>s||a===s&&(n===4||l||n===6&&c[r-1]&1||n===(e.s<0?8:7)),c.length=r,l)for(;++c[--r]>i-1;)c[r]=0,r||(++o,c.unshift(1));for(u=c.length;!c[u-1];--u);for(a=0,f="";a<u;a++)f+=Jd.charAt(c[a]);if(p){if(u>1)if(t==16||t==8){for(a=t==16?4:3,--u;u%a;u++)f+="0";for(c=Ml(f,i,t),u=c.length;!c[u-1];--u);for(a=1,f="1.";a<u;a++)f+=Jd.charAt(c[a])}else f=f.charAt(0)+"."+f.slice(1);f=f+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)f="0"+f;f="0."+f}else if(++o>u)for(o-=u;o--;)f+="0";else o<u&&(f=f.slice(0,o)+"."+f.slice(o))}f=(t==16?"0x":t==2?"0b":t==8?"0o":"")+f}return e.s<0?"-"+f:f}function B1(e,t){if(e.length>t)return e.length=t,!0}function IR(e){return new this(e).abs()}function RR(e){return new this(e).acos()}function FR(e){return new this(e).acosh()}function LR(e,t){return new this(e).plus(t)}function BR(e){return new this(e).asin()}function YR(e){return new this(e).asinh()}function WR(e){return new this(e).atan()}function UR(e){return new this(e).atanh()}function HR(e,t){e=new this(e),t=new this(t);var r,n=this.precision,i=this.rounding,o=n+4;return!e.s||!t.s?r=new this(NaN):!e.d&&!t.d?(r=_n(this,o,1).times(t.s>0?.25:.75),r.s=e.s):!t.d||e.isZero()?(r=t.s<0?_n(this,n,i):new this(0),r.s=e.s):!e.d||t.isZero()?(r=_n(this,o,1).times(.5),r.s=e.s):t.s<0?(this.precision=o,this.rounding=1,r=this.atan(ut(e,t,o,1)),t=_n(this,o,1),this.precision=n,this.rounding=i,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(ut(e,t,o,1)),r}function zR(e){return new this(e).cbrt()}function jR(e){return xe(e=new this(e),e.e+1,2)}function VR(e,t,r){return new this(e).clamp(t,r)}function qR(e){if(!e||typeof e!="object")throw Error(Hc+"Object expected");var t,r,n,i=e.defaults===!0,o=["precision",1,Ki,"rounding",0,8,"toExpNeg",-ra,0,"toExpPos",0,ra,"maxE",0,ra,"minE",-ra,0,"modulo",0,9];for(t=0;t<o.length;t+=3)if(r=o[t],i&&(this[r]=Qd[r]),(n=e[r])!==void 0)if(Kt(n)===n&&n>=o[t+1]&&n<=o[t+2])this[r]=n;else throw Error(zi+r+": "+n);if(r="crypto",i&&(this[r]=Qd[r]),(n=e[r])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(zb);else this[r]=!1;else throw Error(zi+r+": "+n);return this}function GR(e){return new this(e).cos()}function XR(e){return new this(e).cosh()}function Jb(e){var t,r,n;function i(o){var a,s,u,l=this;if(!(l instanceof i))return new i(o);if(l.constructor=i,Y1(o)){l.s=o.s,Ce?!o.d||o.e>i.maxE?(l.e=NaN,l.d=null):o.e<i.minE?(l.e=0,l.d=[0]):(l.e=o.e,l.d=o.d.slice()):(l.e=o.e,l.d=o.d?o.d.slice():o.d);return}if(u=typeof o,u==="number"){if(o===0){l.s=1/o<0?-1:1,l.e=0,l.d=[0];return}if(o<0?(o=-o,l.s=-1):l.s=1,o===~~o&&o<1e7){for(a=0,s=o;s>=10;s/=10)a++;Ce?a>i.maxE?(l.e=NaN,l.d=null):a<i.minE?(l.e=0,l.d=[0]):(l.e=a,l.d=[o]):(l.e=a,l.d=[o]);return}if(o*0!==0){o||(l.s=NaN),l.e=NaN,l.d=null;return}return Al(l,o.toString())}if(u==="string")return(s=o.charCodeAt(0))===45?(o=o.slice(1),l.s=-1):(s===43&&(o=o.slice(1)),l.s=1),Vb.test(o)?Al(l,o):kR(l,o);if(u==="bigint")return o<0?(o=-o,l.s=-1):l.s=1,Al(l,o.toString());throw Error(zi+o)}if(i.prototype=Z,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=qR,i.clone=Jb,i.isDecimal=Y1,i.abs=IR,i.acos=RR,i.acosh=FR,i.add=LR,i.asin=BR,i.asinh=YR,i.atan=WR,i.atanh=UR,i.atan2=HR,i.cbrt=zR,i.ceil=jR,i.clamp=VR,i.cos=GR,i.cosh=XR,i.div=KR,i.exp=ZR,i.floor=JR,i.hypot=QR,i.ln=eF,i.log=tF,i.log10=nF,i.log2=rF,i.max=iF,i.min=oF,i.mod=aF,i.mul=sF,i.pow=uF,i.random=lF,i.round=cF,i.sign=fF,i.sin=hF,i.sinh=dF,i.sqrt=pF,i.sub=vF,i.sum=mF,i.tan=gF,i.tanh=yF,i.trunc=wF,e===void 0&&(e={}),e&&e.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function KR(e,t){return new this(e).div(t)}function ZR(e){return new this(e).exp()}function JR(e){return xe(e=new this(e),e.e+1,3)}function QR(){var e,t,r=new this(0);for(Ce=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)r.d&&(r=r.plus(t.times(t)));else{if(t.s)return Ce=!0,new this(1/0);r=t}return Ce=!0,r.sqrt()}function Y1(e){return e instanceof _u||e&&e.toStringTag===jb||!1}function eF(e){return new this(e).ln()}function tF(e,t){return new this(e).log(t)}function rF(e){return new this(e).log(2)}function nF(e){return new this(e).log(10)}function iF(){return Xb(this,arguments,-1)}function oF(){return Xb(this,arguments,1)}function aF(e,t){return new this(e).mod(t)}function sF(e,t){return new this(e).mul(t)}function uF(e,t){return new this(e).pow(t)}function lF(e){var t,r,n,i,o=0,a=new this(1),s=[];if(e===void 0?e=this.precision:fr(e,1,Ki),n=Math.ceil(e/Te),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));o<n;)i=t[o],i>=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:s[o++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);o<n;)i=t[o]+(t[o+1]<<8)+(t[o+2]<<16)+((t[o+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(t,o):(s.push(i%1e7),o+=4);o=n/4}else throw Error(zb);else for(;o<n;)s[o++]=Math.random()*1e7|0;for(n=s[--o],e%=Te,n&&e&&(i=Nt(10,Te-e),s[o]=(n/i|0)*i);s[o]===0;o--)s.pop();if(o<0)r=0,s=[0];else{for(r=-1;s[0]===0;r-=Te)s.shift();for(n=1,i=s[0];i>=10;i/=10)n++;n<Te&&(r-=Te-n)}return a.e=r,a.d=s,a}function cF(e){return xe(e=new this(e),e.e+1,this.rounding)}function fF(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function hF(e){return new this(e).sin()}function dF(e){return new this(e).sinh()}function pF(e){return new this(e).sqrt()}function vF(e,t){return new this(e).sub(t)}function mF(){var e=0,t=arguments,r=new this(t[e]);for(Ce=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return Ce=!0,xe(r,this.precision,this.rounding)}function gF(e){return new this(e).tan()}function yF(e){return new this(e).tanh()}function wF(e){return xe(e=new this(e),e.e+1,1)}Z[Symbol.for("nodejs.util.inspect.custom")]=Z.toString;Z[Symbol.toStringTag]="Decimal";var _u=Z.constructor=Jb(Qd);ec=new _u(ec);tc=new _u(tc);const qt=Math.cosh||function(e){return Math.abs(e)<1e-9?1-e:(Math.exp(e)+Math.exp(-e))*.5},Cr=Math.sinh||function(e){return Math.abs(e)<1e-9?e:(Math.exp(e)-Math.exp(-e))*.5},bF=e=>{const t=Math.sin(.5*e);return-2*t*t},Ph=function(e,t){return e=Math.abs(e),t=Math.abs(t),e<t&&([e,t]=[t,e]),e<1e8?Math.sqrt(e*e+t*t):(t/=e,e*Math.sqrt(1+t*t))},Vo=function(){throw SyntaxError("Invalid Param")};function kh(e,t){const r=Math.abs(e),n=Math.abs(t);return e===0?Math.log(n):t===0?Math.log(r):r<3e3&&n<3e3?Math.log(e*e+t*t)*.5:(e=e*.5,t=t*.5,.5*Math.log(e*e+t*t)+Math.LN2)}const _F={re:0,im:0},oo=function(e,t){const r=_F;if(e==null)r.re=r.im=0;else if(t!==void 0)r.re=e,r.im=t;else switch(typeof e){case"object":if("im"in e&&"re"in e)r.re=e.re,r.im=e.im;else if("abs"in e&&"arg"in e){if(!isFinite(e.abs)&&isFinite(e.arg))return U.INFINITY;r.re=e.abs*Math.cos(e.arg),r.im=e.abs*Math.sin(e.arg)}else if("r"in e&&"phi"in e){if(!isFinite(e.r)&&isFinite(e.phi))return U.INFINITY;r.re=e.r*Math.cos(e.phi),r.im=e.r*Math.sin(e.phi)}else e.length===2?(r.re=e[0],r.im=e[1]):Vo();break;case"string":r.im=r.re=0;const n=e.replace(/_/g,"").match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g);let i=1,o=0;n===null&&Vo();for(let a=0;a<n.length;a++){const s=n[a];s===" "||s===" "||s===`
60
+ `||(s==="+"?i++:s==="-"?o++:s==="i"||s==="I"?(i+o===0&&Vo(),n[a+1]!==" "&&!isNaN(n[a+1])?(r.im+=parseFloat((o%2?"-":"")+n[a+1]),a++):r.im+=parseFloat((o%2?"-":"")+"1"),i=o=0):((i+o===0||isNaN(s))&&Vo(),n[a+1]==="i"||n[a+1]==="I"?(r.im+=parseFloat((o%2?"-":"")+s),a++):r.re+=parseFloat((o%2?"-":"")+s),i=o=0))}i+o>0&&Vo();break;case"number":r.im=0,r.re=e;break;default:Vo()}return isNaN(r.re)||isNaN(r.im),r};function U(e,t){if(!(this instanceof U))return new U(e,t);const r=oo(e,t);this.re=r.re,this.im=r.im}U.prototype={re:0,im:0,sign:function(){const e=Ph(this.re,this.im);return new U(this.re/e,this.im/e)},add:function(e,t){const r=oo(e,t),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im));return n||i?n&&i?U.NAN:U.INFINITY:new U(this.re+r.re,this.im+r.im)},sub:function(e,t){const r=oo(e,t),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im));return n||i?n&&i?U.NAN:U.INFINITY:new U(this.re-r.re,this.im-r.im)},mul:function(e,t){const r=oo(e,t),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im)),o=this.re===0&&this.im===0,a=r.re===0&&r.im===0;return n&&a||i&&o?U.NAN:n||i?U.INFINITY:r.im===0&&this.im===0?new U(this.re*r.re,0):new U(this.re*r.re-this.im*r.im,this.re*r.im+this.im*r.re)},div:function(e,t){const r=oo(e,t),n=this.isInfinite(),i=!(isFinite(r.re)&&isFinite(r.im)),o=this.re===0&&this.im===0,a=r.re===0&&r.im===0;if(o&&a||n&&i)return U.NAN;if(a||n)return U.INFINITY;if(o||i)return U.ZERO;if(r.im===0)return new U(this.re/r.re,this.im/r.re);if(Math.abs(r.re)<Math.abs(r.im)){const s=r.re/r.im,u=r.re*s+r.im;return new U((this.re*s+this.im)/u,(this.im*s-this.re)/u)}else{const s=r.im/r.re,u=r.im*s+r.re;return new U((this.re+this.im*s)/u,(this.im-this.re*s)/u)}},pow:function(e,t){const r=oo(e,t),n=this.re===0&&this.im===0;if(r.re===0&&r.im===0)return U.ONE;if(r.im===0){if(this.im===0&&this.re>0)return new U(Math.pow(this.re,r.re),0);if(this.re===0)switch((r.re%4+4)%4){case 0:return new U(Math.pow(this.im,r.re),0);case 1:return new U(0,Math.pow(this.im,r.re));case 2:return new U(-Math.pow(this.im,r.re),0);case 3:return new U(0,-Math.pow(this.im,r.re))}}if(n&&r.re>0)return U.ZERO;const o=Math.atan2(this.im,this.re),a=kh(this.re,this.im);let s=Math.exp(r.re*a-r.im*o),u=r.im*a+r.re*o;return new U(s*Math.cos(u),s*Math.sin(u))},sqrt:function(){const e=this.re,t=this.im;if(t===0)return e>=0?new U(Math.sqrt(e),0):new U(0,Math.sqrt(-e));const r=Ph(e,t);let n=Math.sqrt(.5*(r+Math.abs(e))),i=Math.abs(t)/(2*n);return e>=0?new U(n,t<0?-i:i):new U(i,t<0?-n:n)},exp:function(){const e=Math.exp(this.re);return this.im===0?new U(e,0):new U(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){const e=this.re,t=this.im;return new U(Math.expm1(e)*Math.cos(t)+bF(t),Math.exp(e)*Math.sin(t))},log:function(){const e=this.re,t=this.im;return t===0&&e>0?new U(Math.log(e),0):new U(kh(e,t),Math.atan2(t,e))},abs:function(){return Ph(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){const e=this.re,t=this.im;return new U(Math.sin(e)*qt(t),Math.cos(e)*Cr(t))},cos:function(){const e=this.re,t=this.im;return new U(Math.cos(e)*qt(t),-Math.sin(e)*Cr(t))},tan:function(){const e=2*this.re,t=2*this.im,r=Math.cos(e)+qt(t);return new U(Math.sin(e)/r,Cr(t)/r)},cot:function(){const e=2*this.re,t=2*this.im,r=Math.cos(e)-qt(t);return new U(-Math.sin(e)/r,Cr(t)/r)},sec:function(){const e=this.re,t=this.im,r=.5*qt(2*t)+.5*Math.cos(2*e);return new U(Math.cos(e)*qt(t)/r,Math.sin(e)*Cr(t)/r)},csc:function(){const e=this.re,t=this.im,r=.5*qt(2*t)-.5*Math.cos(2*e);return new U(Math.sin(e)*qt(t)/r,-Math.cos(e)*Cr(t)/r)},asin:function(){const e=this.re,t=this.im,r=new U(t*t-e*e+1,-2*e*t).sqrt(),n=new U(r.re-t,r.im+e).log();return new U(n.im,-n.re)},acos:function(){const e=this.re,t=this.im,r=new U(t*t-e*e+1,-2*e*t).sqrt(),n=new U(r.re-t,r.im+e).log();return new U(Math.PI/2-n.im,n.re)},atan:function(){const e=this.re,t=this.im;if(e===0){if(t===1)return new U(0,1/0);if(t===-1)return new U(0,-1/0)}const r=e*e+(1-t)*(1-t),n=new U((1-t*t-e*e)/r,-2*e/r).log();return new U(-.5*n.im,.5*n.re)},acot:function(){const e=this.re,t=this.im;if(t===0)return new U(Math.atan2(1,e),0);const r=e*e+t*t;return r!==0?new U(e/r,-t/r).atan():new U(e!==0?e/0:0,t!==0?-t/0:0).atan()},asec:function(){const e=this.re,t=this.im;if(e===0&&t===0)return new U(0,1/0);const r=e*e+t*t;return r!==0?new U(e/r,-t/r).acos():new U(e!==0?e/0:0,t!==0?-t/0:0).acos()},acsc:function(){const e=this.re,t=this.im;if(e===0&&t===0)return new U(Math.PI/2,1/0);const r=e*e+t*t;return r!==0?new U(e/r,-t/r).asin():new U(e!==0?e/0:0,t!==0?-t/0:0).asin()},sinh:function(){const e=this.re,t=this.im;return new U(Cr(e)*Math.cos(t),qt(e)*Math.sin(t))},cosh:function(){const e=this.re,t=this.im;return new U(qt(e)*Math.cos(t),Cr(e)*Math.sin(t))},tanh:function(){const e=2*this.re,t=2*this.im,r=qt(e)+Math.cos(t);return new U(Cr(e)/r,Math.sin(t)/r)},coth:function(){const e=2*this.re,t=2*this.im,r=qt(e)-Math.cos(t);return new U(Cr(e)/r,-Math.sin(t)/r)},csch:function(){const e=this.re,t=this.im,r=Math.cos(2*t)-qt(2*e);return new U(-2*Cr(e)*Math.cos(t)/r,2*qt(e)*Math.sin(t)/r)},sech:function(){const e=this.re,t=this.im,r=Math.cos(2*t)+qt(2*e);return new U(2*qt(e)*Math.cos(t)/r,-2*Cr(e)*Math.sin(t)/r)},asinh:function(){const e=this.re,t=this.im;if(t===0){if(e===0)return new U(0,0);const o=Math.abs(e),a=Math.log(o+Math.sqrt(o*o+1));return new U(e<0?-a:a,0)}const r=e*e-t*t+1,n=2*e*t,i=new U(r,n).sqrt();return new U(e+i.re,t+i.im).log()},acosh:function(){const e=this.re,t=this.im;if(t===0){if(e>1)return new U(Math.log(e+Math.sqrt(e-1)*Math.sqrt(e+1)),0);if(e<-1){const i=Math.sqrt(e*e-1);return new U(Math.log(-e+i),Math.PI)}return new U(0,Math.acos(e))}const r=new U(e-1,t).sqrt(),n=new U(e+1,t).sqrt();return new U(e+r.re*n.re-r.im*n.im,t+r.re*n.im+r.im*n.re).log()},atanh:function(){const e=this.re,t=this.im;if(t===0){if(e===0)return new U(0,0);if(e===1)return new U(1/0,0);if(e===-1)return new U(-1/0,0);if(-1<e&&e<1)return new U(.5*Math.log((1+e)/(1-e)),0);if(e>1){const u=(e+1)/(e-1);return new U(.5*Math.log(u),-Math.PI/2)}const s=(1+e)/(1-e);return new U(.5*Math.log(-s),Math.PI/2)}const r=1-e,n=1+e,i=r*r+t*t;if(i===0)return new U(e!==-1?e/0:0,t!==0?t/0:0);const o=(n*r-t*t)/i,a=(t*r+n*t)/i;return new U(kh(o,a)/2,Math.atan2(a,o)/2)},acoth:function(){const e=this.re,t=this.im;if(e===0&&t===0)return new U(0,Math.PI/2);const r=e*e+t*t;return r!==0?new U(e/r,-t/r).atanh():new U(e!==0?e/0:0,t!==0?-t/0:0).atanh()},acsch:function(){const e=this.re,t=this.im;if(t===0){if(e===0)return new U(1/0,0);const n=1/e;return new U(Math.log(n+Math.sqrt(n*n+1)),0)}const r=e*e+t*t;return r!==0?new U(e/r,-t/r).asinh():new U(e!==0?e/0:0,t!==0?-t/0:0).asinh()},asech:function(){const e=this.re,t=this.im;if(this.isZero())return U.INFINITY;const r=e*e+t*t;return r!==0?new U(e/r,-t/r).acosh():new U(e!==0?e/0:0,t!==0?-t/0:0).acosh()},inverse:function(){if(this.isZero())return U.INFINITY;if(this.isInfinite())return U.ZERO;const e=this.re,t=this.im,r=e*e+t*t;return new U(e/r,-t/r)},conjugate:function(){return new U(this.re,-this.im)},neg:function(){return new U(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new U(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new U(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new U(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){const r=oo(e,t);return Math.abs(r.re-this.re)<=U.EPSILON&&Math.abs(r.im-this.im)<=U.EPSILON},clone:function(){return new U(this.re,this.im)},toString:function(){let e=this.re,t=this.im,r="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)<U.EPSILON&&(e=0),Math.abs(t)<U.EPSILON&&(t=0),t===0?r+e:(e!==0?(r+=e,r+=" ",t<0?(t=-t,r+="-"):r+="+",r+=" "):t<0&&(t=-t,r+="-"),t!==1&&(r+=t),r+"i"))},toVector:function(){return[this.re,this.im]},valueOf:function(){return this.im===0?this.re:null},isNaN:function(){return isNaN(this.re)||isNaN(this.im)},isZero:function(){return this.im===0&&this.re===0},isFinite:function(){return isFinite(this.re)&&isFinite(this.im)},isInfinite:function(){return!this.isFinite()}};U.ZERO=new U(0,0);U.ONE=new U(1,0);U.I=new U(0,1);U.PI=new U(Math.PI,0);U.E=new U(Math.E,0);U.INFINITY=new U(1/0,1/0);U.NAN=new U(NaN,NaN);U.EPSILON=1e-15;/**
61
+ * @license Fraction.js v4.3.7 31/08/2023
62
+ * https://www.xarg.org/2014/03/rational-numbers-in-javascript/
63
+ *
64
+ * Copyright (c) 2023, Robert Eisele (robert@raw.org)
65
+ * Dual licensed under the MIT or GPL Version 2 licenses.
66
+ **/var SF=2e3,ye={s:1,n:0,d:1};function Hn(e,t){if(isNaN(e=parseInt(e,10)))throw Cl();return e*t}function yt(e,t){if(t===0)throw b0();var r=Object.create(Mi.prototype);r.s=e<0?-1:1,e=e<0?-e:e;var n=na(e,t);return r.n=e/n,r.d=t/n,r}function W1(e){for(var t={},r=e,n=2,i=4;i<=r;){for(;r%n===0;)r/=n,t[n]=(t[n]||0)+1;i+=1+2*n++}return r!==e?r>1&&(t[r]=(t[r]||0)+1):t[e]=(t[e]||0)+1,t}var yr=function(e,t){var r=0,n=1,i=1,o=0,a=0,s=0,u=1,l=1,f=0,c=1,h=1,d=1,p=1e7,v;if(e!=null)if(t!==void 0){if(r=e,n=t,i=r*n,r%1!==0||n%1!==0)throw $F()}else switch(typeof e){case"object":{if("d"in e&&"n"in e)r=e.n,n=e.d,"s"in e&&(r*=e.s);else if(0 in e)r=e[0],1 in e&&(n=e[1]);else throw Cl();i=r*n;break}case"number":{if(e<0&&(i=e,e=-e),e%1===0)r=e;else if(e>0){for(e>=1&&(l=Math.pow(10,Math.floor(1+Math.log(e)/Math.LN10)),e/=l);c<=p&&d<=p;)if(v=(f+h)/(c+d),e===v){c+d<=p?(r=f+h,n=c+d):d>c?(r=h,n=d):(r=f,n=c);break}else e>v?(f+=h,c+=d):(h+=f,d+=c),c>p?(r=h,n=d):(r=f,n=c);r*=l}else(isNaN(e)||isNaN(t))&&(n=r=NaN);break}case"string":{if(c=e.match(/\d+|./g),c===null)throw Cl();if(c[f]==="-"?(i=-1,f++):c[f]==="+"&&f++,c.length===f+1?a=Hn(c[f++],i):c[f+1]==="."||c[f]==="."?(c[f]!=="."&&(o=Hn(c[f++],i)),f++,(f+1===c.length||c[f+1]==="("&&c[f+3]===")"||c[f+1]==="'"&&c[f+3]==="'")&&(a=Hn(c[f],i),u=Math.pow(10,c[f].length),f++),(c[f]==="("&&c[f+2]===")"||c[f]==="'"&&c[f+2]==="'")&&(s=Hn(c[f+1],i),l=Math.pow(10,c[f+1].length)-1,f+=3)):c[f+1]==="/"||c[f+1]===":"?(a=Hn(c[f],i),u=Hn(c[f+2],1),f+=3):c[f+3]==="/"&&c[f+1]===" "&&(o=Hn(c[f],i),a=Hn(c[f+2],i),u=Hn(c[f+4],1),f+=5),c.length<=f){n=u*l,i=r=s+n*o+l*a;break}}default:throw Cl()}if(n===0)throw b0();ye.s=i<0?-1:1,ye.n=Math.abs(r),ye.d=Math.abs(n)};function xF(e,t,r){for(var n=1;t>0;e=e*e%r,t>>=1)t&1&&(n=n*e%r);return n}function EF(e,t){for(;t%2===0;t/=2);for(;t%5===0;t/=5);if(t===1)return 0;for(var r=10%t,n=1;r!==1;n++)if(r=r*10%t,n>SF)return 0;return n}function OF(e,t,r){for(var n=1,i=xF(10,r,t),o=0;o<300;o++){if(n===i)return o;n=n*10%t,i=i*10%t}return 0}function na(e,t){if(!e)return t;if(!t)return e;for(;;){if(e%=t,!e)return t;if(t%=e,!t)return e}}function Mi(e,t){if(yr(e,t),this instanceof Mi)e=na(ye.d,ye.n),this.s=ye.s,this.n=ye.n/e,this.d=ye.d/e;else return yt(ye.s*ye.n,ye.d)}var b0=function(){return new Error("Division by Zero")},Cl=function(){return new Error("Invalid argument")},$F=function(){return new Error("Parameters must be integer")};Mi.prototype={s:1,n:0,d:1,abs:function(){return yt(this.n,this.d)},neg:function(){return yt(-this.s*this.n,this.d)},add:function(e,t){return yr(e,t),yt(this.s*this.n*ye.d+ye.s*this.d*ye.n,this.d*ye.d)},sub:function(e,t){return yr(e,t),yt(this.s*this.n*ye.d-ye.s*this.d*ye.n,this.d*ye.d)},mul:function(e,t){return yr(e,t),yt(this.s*ye.s*this.n*ye.n,this.d*ye.d)},div:function(e,t){return yr(e,t),yt(this.s*ye.s*this.n*ye.d,this.d*ye.n)},clone:function(){return yt(this.s*this.n,this.d)},mod:function(e,t){if(isNaN(this.n)||isNaN(this.d))return new Mi(NaN);if(e===void 0)return yt(this.s*this.n%this.d,1);if(yr(e,t),ye.n===0&&this.d===0)throw b0();return yt(this.s*(ye.d*this.n)%(ye.n*this.d),ye.d*this.d)},gcd:function(e,t){return yr(e,t),yt(na(ye.n,this.n)*na(ye.d,this.d),ye.d*this.d)},lcm:function(e,t){return yr(e,t),ye.n===0&&this.n===0?yt(0,1):yt(ye.n*this.n,na(ye.n,this.n)*na(ye.d,this.d))},ceil:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new Mi(NaN):yt(Math.ceil(e*this.s*this.n/this.d),e)},floor:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new Mi(NaN):yt(Math.floor(e*this.s*this.n/this.d),e)},round:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new Mi(NaN):yt(Math.round(e*this.s*this.n/this.d),e)},roundTo:function(e,t){return yr(e,t),yt(this.s*Math.round(this.n*ye.d/(this.d*ye.n))*ye.n,ye.d)},inverse:function(){return yt(this.s*this.d,this.n)},pow:function(e,t){if(yr(e,t),ye.d===1)return ye.s<0?yt(Math.pow(this.s*this.d,ye.n),Math.pow(this.n,ye.n)):yt(Math.pow(this.s*this.n,ye.n),Math.pow(this.d,ye.n));if(this.s<0)return null;var r=W1(this.n),n=W1(this.d),i=1,o=1;for(var a in r)if(a!=="1"){if(a==="0"){i=0;break}if(r[a]*=ye.n,r[a]%ye.d===0)r[a]/=ye.d;else return null;i*=Math.pow(a,r[a])}for(var a in n)if(a!=="1"){if(n[a]*=ye.n,n[a]%ye.d===0)n[a]/=ye.d;else return null;o*=Math.pow(a,n[a])}return ye.s<0?yt(o,i):yt(i,o)},equals:function(e,t){return yr(e,t),this.s*this.n*ye.d===ye.s*ye.n*this.d},compare:function(e,t){yr(e,t);var r=this.s*this.n*ye.d-ye.s*ye.n*this.d;return(0<r)-(r<0)},simplify:function(e){if(isNaN(this.n)||isNaN(this.d))return this;e=e||.001;for(var t=this.abs(),r=t.toContinued(),n=1;n<r.length;n++){for(var i=yt(r[n-1],1),o=n-2;o>=0;o--)i=i.inverse().add(r[o]);if(Math.abs(i.sub(t).valueOf())<e)return i.mul(this.s)}return this},divisible:function(e,t){return yr(e,t),!(!(ye.n*this.d)||this.n*ye.d%(ye.n*this.d))},valueOf:function(){return this.s*this.n/this.d},toFraction:function(e){var t,r="",n=this.n,i=this.d;return this.s<0&&(r+="-"),i===1?r+=n:(e&&(t=Math.floor(n/i))>0&&(r+=t,r+=" ",n%=i),r+=n,r+="/",r+=i),r},toLatex:function(e){var t,r="",n=this.n,i=this.d;return this.s<0&&(r+="-"),i===1?r+=n:(e&&(t=Math.floor(n/i))>0&&(r+=t,n%=i),r+="\\frac{",r+=n,r+="}{",r+=i,r+="}"),r},toContinued:function(){var e,t=this.n,r=this.d,n=[];if(isNaN(t)||isNaN(r))return n;do n.push(Math.floor(t/r)),e=t%r,t=r,r=e;while(t!==1);return n},toString:function(e){var t=this.n,r=this.d;if(isNaN(t)||isNaN(r))return"NaN";e=e||15;var n=EF(t,r),i=OF(t,r,n),o=this.s<0?"-":"";if(o+=t/r|0,t%=r,t*=10,t&&(o+="."),n){for(var a=i;a--;)o+=t/r|0,t%=r,t*=10;o+="(";for(var a=n;a--;)o+=t/r|0,t%=r,t*=10;o+=")"}else for(var a=e;t&&a--;)o+=t/r|0,t%=r,t*=10;return o}};function Gs(e){"@babel/helpers - typeof";return Gs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gs(e)}function TF(e,t){if(Gs(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Gs(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function DF(e){var t=TF(e,"string");return Gs(t)=="symbol"?t:t+""}function MF(e,t,r){return(t=DF(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var AF=function e(t,r){var n=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,i=/(^[ ]*|[ ]*$)/g,o=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,a=/^0x[0-9a-f]+$/i,s=/^0/,u=function(y){return e.insensitive&&(""+y).toLowerCase()||""+y},l=u(t).replace(i,"")||"",f=u(r).replace(i,"")||"",c=l.replace(n,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=f.replace(n,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),d=parseInt(l.match(a),16)||c.length!==1&&l.match(o)&&Date.parse(l),p=parseInt(f.match(a),16)||d&&f.match(o)&&Date.parse(f)||null,v,g;if(p){if(d<p)return-1;if(d>p)return 1}for(var m=0,O=Math.max(c.length,h.length);m<O;m++){if(v=!(c[m]||"").match(s)&&parseFloat(c[m])||c[m]||0,g=!(h[m]||"").match(s)&&parseFloat(h[m])||h[m]||0,isNaN(v)!==isNaN(g))return isNaN(v)?1:-1;if(typeof v!=typeof g&&(v+="",g+=""),v<g)return-1;if(v>g)return 1}return 0};const CF=Pe.getDefaultExportFromCjs(AF);var rp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},PF={"{":"\\{","}":"\\}","\\":"\\textbackslash{}","#":"\\#",$:"\\$","%":"\\%","&":"\\&","^":"\\textasciicircum{}",_:"\\_","~":"\\textasciitilde{}"},kF={"–":"\\--","—":"\\---"," ":"~"," ":"\\qquad{}","\r\n":"\\newline{}","\n":"\\newline{}"},NF=function(t,r){return rp({},t,r)},IF=function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.preserveFormatting,n=r===void 0?!1:r,i=t.escapeMapFn,o=i===void 0?NF:i,a=String(e),s="",u=o(rp({},PF),n?rp({},kF):{}),l=Object.keys(u),f=function(){var h=!1;l.forEach(function(d,p){h||a.length>=d.length&&a.slice(0,d.length)===d&&(s+=u[l[p]],a=a.slice(d.length,a.length),h=!0)}),h||(s+=a.slice(0,1),a=a.slice(1,a.length))};a;)f();return s};const RF=Pe.getDefaultExportFromCjs(IF);var _0={exports:{}};_0.exports;(function(e){(function(t,r,n){function i(u){var l=this,f=s();l.next=function(){var c=2091639*l.s0+l.c*23283064365386963e-26;return l.s0=l.s1,l.s1=l.s2,l.s2=c-(l.c=c|0)},l.c=1,l.s0=f(" "),l.s1=f(" "),l.s2=f(" "),l.s0-=f(u),l.s0<0&&(l.s0+=1),l.s1-=f(u),l.s1<0&&(l.s1+=1),l.s2-=f(u),l.s2<0&&(l.s2+=1),f=null}function o(u,l){return l.c=u.c,l.s0=u.s0,l.s1=u.s1,l.s2=u.s2,l}function a(u,l){var f=new i(u),c=l&&l.state,h=f.next;return h.int32=function(){return f.next()*4294967296|0},h.double=function(){return h()+(h()*2097152|0)*11102230246251565e-32},h.quick=h,c&&(typeof c=="object"&&o(c,f),h.state=function(){return o(f,{})}),h}function s(){var u=4022871197,l=function(f){f=String(f);for(var c=0;c<f.length;c++){u+=f.charCodeAt(c);var h=.02519603282416938*u;u=h>>>0,h-=u,h*=u,u=h>>>0,h-=u,u+=h*4294967296}return(u>>>0)*23283064365386963e-26};return l}r&&r.exports?r.exports=a:this.alea=a})(Pe.commonjsGlobal,e)})(_0);var FF=_0.exports,S0={exports:{}};S0.exports;(function(e){(function(t,r,n){function i(s){var u=this,l="";u.x=0,u.y=0,u.z=0,u.w=0,u.next=function(){var c=u.x^u.x<<11;return u.x=u.y,u.y=u.z,u.z=u.w,u.w^=u.w>>>19^c^c>>>8},s===(s|0)?u.x=s:l+=s;for(var f=0;f<l.length+64;f++)u.x^=l.charCodeAt(f)|0,u.next()}function o(s,u){return u.x=s.x,u.y=s.y,u.z=s.z,u.w=s.w,u}function a(s,u){var l=new i(s),f=u&&u.state,c=function(){return(l.next()>>>0)/4294967296};return c.double=function(){do var h=l.next()>>>11,d=(l.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},c.int32=l.next,c.quick=c,f&&(typeof f=="object"&&o(f,l),c.state=function(){return o(l,{})}),c}r&&r.exports?r.exports=a:this.xor128=a})(Pe.commonjsGlobal,e)})(S0);var LF=S0.exports,x0={exports:{}};x0.exports;(function(e){(function(t,r,n){function i(s){var u=this,l="";u.next=function(){var c=u.x^u.x>>>2;return u.x=u.y,u.y=u.z,u.z=u.w,u.w=u.v,(u.d=u.d+362437|0)+(u.v=u.v^u.v<<4^(c^c<<1))|0},u.x=0,u.y=0,u.z=0,u.w=0,u.v=0,s===(s|0)?u.x=s:l+=s;for(var f=0;f<l.length+64;f++)u.x^=l.charCodeAt(f)|0,f==l.length&&(u.d=u.x<<10^u.x>>>4),u.next()}function o(s,u){return u.x=s.x,u.y=s.y,u.z=s.z,u.w=s.w,u.v=s.v,u.d=s.d,u}function a(s,u){var l=new i(s),f=u&&u.state,c=function(){return(l.next()>>>0)/4294967296};return c.double=function(){do var h=l.next()>>>11,d=(l.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},c.int32=l.next,c.quick=c,f&&(typeof f=="object"&&o(f,l),c.state=function(){return o(l,{})}),c}r&&r.exports?r.exports=a:this.xorwow=a})(Pe.commonjsGlobal,e)})(x0);var BF=x0.exports,E0={exports:{}};E0.exports;(function(e){(function(t,r,n){function i(s){var u=this;u.next=function(){var f=u.x,c=u.i,h,d;return h=f[c],h^=h>>>7,d=h^h<<24,h=f[c+1&7],d^=h^h>>>10,h=f[c+3&7],d^=h^h>>>3,h=f[c+4&7],d^=h^h<<7,h=f[c+7&7],h=h^h<<13,d^=h^h<<9,f[c]=d,u.i=c+1&7,d};function l(f,c){var h,d=[];if(c===(c|0))d[0]=c;else for(c=""+c,h=0;h<c.length;++h)d[h&7]=d[h&7]<<15^c.charCodeAt(h)+d[h+1&7]<<13;for(;d.length<8;)d.push(0);for(h=0;h<8&&d[h]===0;++h);for(h==8?d[7]=-1:d[h],f.x=d,f.i=0,h=256;h>0;--h)f.next()}l(u,s)}function o(s,u){return u.x=s.x.slice(),u.i=s.i,u}function a(s,u){s==null&&(s=+new Date);var l=new i(s),f=u&&u.state,c=function(){return(l.next()>>>0)/4294967296};return c.double=function(){do var h=l.next()>>>11,d=(l.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},c.int32=l.next,c.quick=c,f&&(f.x&&o(f,l),c.state=function(){return o(l,{})}),c}r&&r.exports?r.exports=a:this.xorshift7=a})(Pe.commonjsGlobal,e)})(E0);var YF=E0.exports,O0={exports:{}};O0.exports;(function(e){(function(t,r,n){function i(s){var u=this;u.next=function(){var f=u.w,c=u.X,h=u.i,d,p;return u.w=f=f+1640531527|0,p=c[h+34&127],d=c[h=h+1&127],p^=p<<13,d^=d<<17,p^=p>>>15,d^=d>>>12,p=c[h]=p^d,u.i=h,p+(f^f>>>16)|0};function l(f,c){var h,d,p,v,g,m=[],O=128;for(c===(c|0)?(d=c,c=null):(c=c+"\0",d=0,O=Math.max(O,c.length)),p=0,v=-32;v<O;++v)c&&(d^=c.charCodeAt((v+32)%c.length)),v===0&&(g=d),d^=d<<10,d^=d>>>15,d^=d<<4,d^=d>>>13,v>=0&&(g=g+1640531527|0,h=m[v&127]^=d+g,p=h==0?p+1:0);for(p>=128&&(m[(c&&c.length||0)&127]=-1),p=127,v=4*128;v>0;--v)d=m[p+34&127],h=m[p=p+1&127],d^=d<<13,h^=h<<17,d^=d>>>15,h^=h>>>12,m[p]=d^h;f.w=g,f.X=m,f.i=p}l(u,s)}function o(s,u){return u.i=s.i,u.w=s.w,u.X=s.X.slice(),u}function a(s,u){s==null&&(s=+new Date);var l=new i(s),f=u&&u.state,c=function(){return(l.next()>>>0)/4294967296};return c.double=function(){do var h=l.next()>>>11,d=(l.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},c.int32=l.next,c.quick=c,f&&(f.X&&o(f,l),c.state=function(){return o(l,{})}),c}r&&r.exports?r.exports=a:this.xor4096=a})(Pe.commonjsGlobal,e)})(O0);var WF=O0.exports,$0={exports:{}};$0.exports;(function(e){(function(t,r,n){function i(s){var u=this,l="";u.next=function(){var c=u.b,h=u.c,d=u.d,p=u.a;return c=c<<25^c>>>7^h,h=h-d|0,d=d<<24^d>>>8^p,p=p-c|0,u.b=c=c<<20^c>>>12^h,u.c=h=h-d|0,u.d=d<<16^h>>>16^p,u.a=p-c|0},u.a=0,u.b=0,u.c=-1640531527,u.d=1367130551,s===Math.floor(s)?(u.a=s/4294967296|0,u.b=s|0):l+=s;for(var f=0;f<l.length+20;f++)u.b^=l.charCodeAt(f)|0,u.next()}function o(s,u){return u.a=s.a,u.b=s.b,u.c=s.c,u.d=s.d,u}function a(s,u){var l=new i(s),f=u&&u.state,c=function(){return(l.next()>>>0)/4294967296};return c.double=function(){do var h=l.next()>>>11,d=(l.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},c.int32=l.next,c.quick=c,f&&(typeof f=="object"&&o(f,l),c.state=function(){return o(l,{})}),c}r&&r.exports?r.exports=a:this.tychei=a})(Pe.commonjsGlobal,e)})($0);var UF=$0.exports,Qb={exports:{}};(function(e){(function(t,r,n){var i=256,o=6,a=52,s="random",u=n.pow(i,o),l=n.pow(2,a),f=l*2,c=i-1,h;function d(S,_,x){var T=[];_=_==!0?{entropy:!0}:_||{};var C=m(g(_.entropy?[S,y(r)]:S??O(),3),T),L=new p(T),W=function(){for(var D=L.g(o),z=u,F=0;D<l;)D=(D+F)*i,z*=i,F=L.g(1);for(;D>=f;)D/=2,z/=2,F>>>=1;return(D+F)/z};return W.int32=function(){return L.g(4)|0},W.quick=function(){return L.g(4)/4294967296},W.double=W,m(y(L.S),r),(_.pass||x||function(D,z,F,Y){return Y&&(Y.S&&v(Y,L),D.state=function(){return v(L,{})}),F?(n[s]=D,z):D})(W,C,"global"in _?_.global:this==n,_.state)}function p(S){var _,x=S.length,T=this,C=0,L=T.i=T.j=0,W=T.S=[];for(x||(S=[x++]);C<i;)W[C]=C++;for(C=0;C<i;C++)W[C]=W[L=c&L+S[C%x]+(_=W[C])],W[L]=_;(T.g=function(D){for(var z,F=0,Y=T.i,A=T.j,R=T.S;D--;)z=R[Y=c&Y+1],F=F*i+R[c&(R[Y]=R[A=c&A+z])+(R[A]=z)];return T.i=Y,T.j=A,F})(i)}function v(S,_){return _.i=S.i,_.j=S.j,_.S=S.S.slice(),_}function g(S,_){var x=[],T=typeof S,C;if(_&&T=="object")for(C in S)try{x.push(g(S[C],_-1))}catch{}return x.length?x:T=="string"?S:S+"\0"}function m(S,_){for(var x=S+"",T,C=0;C<x.length;)_[c&C]=c&(T^=_[c&C]*19)+x.charCodeAt(C++);return y(_)}function O(){try{var S;return h&&(S=h.randomBytes)?S=S(i):(S=new Uint8Array(i),(t.crypto||t.msCrypto).getRandomValues(S)),y(S)}catch{var _=t.navigator,x=_&&_.plugins;return[+new Date,t,x,t.screen,y(r)]}}function y(S){return String.fromCharCode.apply(0,S)}if(m(n.random(),r),e.exports){e.exports=d;try{h=Pe.require$$0}catch{}}else n["seed"+s]=d})(typeof self<"u"?self:Pe.commonjsGlobal,[],Math)})(Qb);var HF=Qb.exports,zF=FF,jF=LF,VF=BF,qF=YF,GF=WF,XF=UF,No=HF;No.alea=zF;No.xor128=jF;No.xorwow=VF;No.xorshift7=qF;No.xor4096=GF;No.tychei=XF;var KF=No;const ZF=Pe.getDefaultExportFromCjs(KF),e_="4.2.14",Zi={coreVersion:e_,uiVersion:"",tableVersion:"",designVersion:"",ganttVersion:""};var JF={keyId:1,cookies:{path:"/"},treeOptions:{parentKey:"parentId",key:"id",children:"children"},parseDateFormat:"yyyy-MM-dd HH:mm:ss",firstDayOfWeek:1},In=JF;function QF(e,t,r){if(e)if(e.forEach)e.forEach(t,r);else for(var n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)}var rr=QF,eL=Object.prototype.toString,t_=eL,tL=t_;function rL(e){return function(t){return"[object "+e+"]"===tL.call(t)}}var Su=rL,nL=Su,iL=Array.isArray||nL("Array"),ot=iL;function oL(e,t){return e&&e.hasOwnProperty?e.hasOwnProperty(t):!1}var sn=oL,aL=sn;function sL(e,t,r){if(e)for(var n in e)aL(e,n)&&t.call(r,e[n],n,e)}var xu=sL,uL=ot,lL=rr,cL=xu;function fL(e,t,r){return e&&(uL(e)?lL:cL)(e,t,r)}var Bt=fL;function hL(e){return function(t){return typeof t===e}}var Ha=hL,dL=Ha,pL=dL("function"),hr=pL,vL=Bt;function mL(e,t){var r=Object[e];return function(n){var i=[];if(n){if(r)return r(n);vL(n,t>1?function(o){i.push([""+o,n[o]])}:function(){i.push(arguments[t])})}return i}}var T0=mL,gL=T0,yL=gL("keys",1),ci=yL,wL=t_,bL=xu,_L=rr;function Nh(e,t){var r=e.__proto__.constructor;return t?new r(t):new r}function Qu(e,t){return t?r_(e,t):e}function r_(e,t){if(e)switch(wL.call(e)){case"[object Object]":{var r=Object.create(Object.getPrototypeOf(e));return bL(e,function(a,s){r[s]=Qu(a,t)}),r}case"[object Date]":case"[object RegExp]":return Nh(e,e.valueOf());case"[object Array]":case"[object Arguments]":{var n=[];return _L(e,function(a){n.push(Qu(a,t))}),n}case"[object Set]":{var i=Nh(e);return i.forEach(function(a){i.add(Qu(a,t))}),i}case"[object Map]":{var o=Nh(e);return o.forEach(function(a,s){o.set(s,Qu(a,t))}),o}}return e}function SL(e,t){return e&&r_(e,t)}var D0=SL,xL=rr,EL=ci,OL=ot,$L=D0,U1=Object.assign;function H1(e,t,r){for(var n=t.length,i,o=1;o<n;o++)i=t[o],xL(EL(t[o]),r?function(a){e[a]=$L(i[a],r)}:function(a){e[a]=i[a]});return e}var TL=function(e){if(e){var t=arguments;if(e===!0){if(t.length>1)return e=OL(e[1])?[]:{},H1(e,t,!0)}else return U1?U1.apply(Object,t):H1(e,t)}return e},$r=TL,n_=In,DL=rr,ML=Bt,AL=hr,CL=$r,En=function(){};function PL(){DL(arguments,function(e){ML(e,function(t,r){En[r]=AL(t)?function(){var n=t.apply(En.$context,arguments);return En.$context=null,n}:t})})}function i_(e){return CL(n_,e)}function kL(){return n_}var o_="3.7.9";En.VERSION=o_;En.version=o_;En.mixin=PL;En.setup=i_;En.setConfig=i_;En.getConfig=kL;var NL=En;function IL(e,t,r){for(var n=e.length-1;n>=0;n--)t.call(r,e[n],n,e)}var M0=IL,RL=M0,FL=ci;function LL(e,t,r){RL(FL(e),function(n){t.call(r,e[n],n,e)})}var a_=LL;function BL(e){return e===null}var fi=BL,YL=fi;function WL(e,t){return function(r){return YL(r)?t:r[e]}}var za=WL,UL=Bt,HL=hr,zL=za;function jL(e,t,r){var n={};if(e)if(t)HL(t)||(t=zL(t)),UL(e,function(i,o){n[o]=t.call(r,i,o,e)});else return e;return n}var VL=jL;function qL(e){return e?e.constructor===Object:!1}var ja=qL;function GL(e){return e!=="__proto__"&&e!=="constructor"}var s_=GL,z1=ot,j1=ja,XL=hr,KL=Bt,ZL=s_;function u_(e,t){return j1(e)&&j1(t)||z1(e)&&z1(t)?(KL(t,function(r,n){ZL(n)&&(e[n]=XL(t)?r:u_(e[n],r))}),e):t}var JL=function(e){e||(e={});for(var t=arguments,r=t.length,n,i=1;i<r;i++)n=t[i],n&&u_(e,n);return e},QL=JL,eB=Bt;function tB(e,t,r){var n=[];if(e&&arguments.length>1){if(e.map)return e.map(t,r);eB(e,function(){n.push(t.apply(r,arguments))})}return n}var Io=tB,rB=sn,nB=ot;function iB(e,t,r,n,i){return function(o,a,s){if(o&&a){if(e&&o[e])return o[e](a,s);if(t&&nB(o)){for(var u=0,l=o.length;u<l;u++)if(!!a.call(s,o[u],u,o)===n)return[!0,!1,u,o[u]][r]}else for(var f in o)if(rB(o,f)&&!!a.call(s,o[f],f,o)===n)return[!0,!1,f,o[f]][r]}return i}}var Vc=iB,oB=Vc,aB=oB("some",1,0,!0,!1),l_=aB,sB=Vc,uB=sB("every",1,1,!1,!0),c_=uB,lB=sn;function cB(e,t){if(e){if(e.includes)return e.includes(t);for(var r in e)if(lB(e,r)&&t===e[r])return!0}return!1}var Va=cB,V1=ot,q1=Va;function fB(e,t){var r,n=0;if(V1(e)&&V1(t)){for(r=t.length;n<r;n++)if(!q1(e,t[n]))return!1;return!0}return q1(e,t)}var f_=fB,G1=Bt,hB=Va,dB=hr,pB=za;function vB(e,t,r){var n=[];if(t){dB(t)||(t=pB(t));var i,o={};G1(e,function(a,s){i=t.call(r,a,s,e),o[i]||(o[i]=1,n.push(a))})}else G1(e,function(a){hB(n,a)||n.push(a)});return n}var h_=vB,mB=Io;function gB(e){return mB(e,function(t){return t})}var A0=gB,yB=h_,wB=A0;function bB(){for(var e=arguments,t=[],r=0,n=e.length;r<n;r++)t=t.concat(wB(e[r]));return yB(t)}var _B=bB,SB="undefined",un=SB,xB=un,EB=Ha,OB=EB(xB),Rn=OB,$B=fi,TB=Rn;function DB(e){return $B(e)||TB(e)}var hi=DB,MB=/(.+)?\[(\d+)\]$/,d_=MB;function AB(e){return e?e.splice&&e.join?e:(""+e).replace(/(\[\d+\])\.?/g,"$1.").replace(/\.$/,"").split("."):[]}var C0=AB,CB=d_,PB=C0,kB=sn,NB=Rn,p_=hi;function IB(e,t,r){if(p_(e))return r;var n=FB(e,t);return NB(n)?r:n}function RB(e,t){var r=t?t.match(CB):"";return r?r[1]?e[r[1]]?e[r[1]][r[2]]:void 0:e[r[2]]:e[t]}function FB(e,t){if(e){var r,n,i,o=0;if(e[t]||kB(e,t))return e[t];if(n=PB(t),i=n.length,i){for(r=e;o<i;o++)if(r=RB(r,n[o]),p_(r))return o===i-1?r:void 0}return r}}var Eu=IB,X1=rr,LB=A0,K1=Io,Z1=ot,BB=hr,YB=ja,J1=Rn,WB=fi,UB=hi,HB=Eu,zB=za,jB="asc",VB="desc";function np(e,t){return J1(e)?1:WB(e)?J1(t)?-1:1:e&&e.localeCompare?e.localeCompare(t):e>t?1:-1}function qB(e,t,r){return function(n,i){var o=n[e],a=i[e];return o===a?r?r(n,i):0:t.order===VB?np(a,o):np(o,a)}}function GB(e,t,r,n){var i=[];return r=Z1(r)?r:[r],X1(r,function(o,a){if(o){var s=o,u;Z1(o)?(s=o[0],u=o[1]):YB(o)&&(s=o.field,u=o.order),i.push({field:s,order:u||jB}),X1(t,BB(s)?function(l,f){l[a]=s.call(n,l.data,f,e)}:function(l){l[a]=s?HB(l.data,s):l.data})}}),i}function XB(e,t,r){if(e){if(UB(t))return LB(e).sort(np);for(var n,i=K1(e,function(s){return{data:s}}),o=GB(e,i,t,r),a=o.length-1;a>=0;)n=qB(a,o[a],n),a--;return n&&(i=i.sort(n)),K1(i,zB("data"))}return[]}var P0=XB,KB=P0,ZB=KB,JB=ZB;function QB(e,t){return e>=t?e:(e=e>>0)+Math.round(Math.random()*((t||9)-e))}var v_=QB,eY=T0,tY=eY("values",0),qa=tY,rY=v_,nY=qa;function iY(e){for(var t,r=[],n=nY(e),i=n.length-1;i>=0;i--)t=i>0?rY(0,i):0,r.push(n[t]),n.splice(t,1);return r}var m_=iY,oY=m_;function aY(e,t){var r=oY(e);return arguments.length<=1?r[0]:(t<r.length&&(r.length=t||0),r)}var sY=aY;function uY(e){return function(t){if(t){var r=e(t&&t.replace?t.replace(/,/g,""):t);if(!isNaN(r))return r}return 0}}var g_=uY,lY=g_,cY=lY(parseFloat),Ro=cY,Q1=Ro;function fY(e,t,r){var n=[],i=arguments.length;if(e){if(t=i>=2?Q1(t):0,r=i>=3?Q1(r):e.length,e.slice)return e.slice(t,r);for(;t<r;t++)n.push(e[t])}return n}var Fo=fY,hY=Bt;function dY(e,t,r){var n=[];if(e&&t){if(e.filter)return e.filter(t,r);hY(e,function(i,o){t.call(r,i,o,e)&&n.push(i)})}return n}var pY=dY,vY=Vc,mY=vY("",0,2,!0),gY=mY,yY=Vc,wY=yY("find",1,3,!0),bY=wY,_Y=ot,SY=qa;function xY(e,t,r){if(e){_Y(e)||(e=SY(e));for(var n=e.length-1;n>=0;n--)if(t.call(r,e[n],n,e))return e[n]}}var EY=xY,OY=ci;function $Y(e,t,r){if(e){var n,i,o=0,a=null,s=r,u=arguments.length>2,l=OY(e);if(e.length&&e.reduce)return i=function(){return t.apply(a,arguments)},u?e.reduce(i,s):e.reduce(i);for(u&&(o=1,s=e[l[0]]),n=l.length;o<n;o++)s=t.call(a,s,e[l[o]],o,e);return s}}var TY=$Y,DY=ot;function MY(e,t,r,n){if(DY(e)&&e.copyWithin)return e.copyWithin(t,r,n);var i,o,a=t>>0,s=r>>0,u=e.length,l=arguments.length>3?n>>0:u;if(a<u&&(a=a>=0?a:u+a,a>=0&&(s=s>=0?s:u+s,l=l>=0?l:u+l,s<l)))for(i=0,o=e.slice(s,l);a<u&&!(o.length<=i);a++)e[a]=o[i++];return e}var AY=MY,CY=ot;function PY(e,t){var r,n=[],i=t>>0||1;if(CY(e))if(i>=0&&e.length>i)for(r=0;r<e.length;)n.push(e.slice(r,r+i)),r+=i;else n=e.length?[e]:e;return n}var kY=PY,NY=Io,IY=za;function RY(e,t){return NY(e,IY(t))}var y_=RY,FY=hr,eg=hi,LY=Eu,BY=rr;function YY(e){return function(t,r){if(t&&t.length){var n,i;return BY(t,function(o,a){r&&(o=FY(r)?r(o,a,t):LY(o,r)),!eg(o)&&(eg(n)||e(n,o))&&(i=a,n=o)}),t[i]}return n}}var w_=YY,WY=w_,UY=WY(function(e,t){return e<t}),b_=UY,HY=y_,zY=b_;function jY(e){var t,r,n,i=[];if(e&&e.length)for(t=0,r=zY(e,function(o){return o?o.length:0}),n=r?r.length:0;t<n;t++)i.push(HY(e,t));return i}var __=jY,VY=__;function qY(){return VY(arguments)}var GY=qY,XY=qa,KY=Bt;function ZY(e,t){var r={};return t=t||[],KY(XY(e),function(n,i){r[n]=t[i]}),r}var JY=ZY,S_=ot,QY=rr;function x_(e,t){var r=[];return QY(e,function(n){r=r.concat(S_(n)?t?x_(n,t):n:[n])}),r}function eW(e,t){return S_(e)?x_(e,t):[]}var tW=eW,rW=Io,nW=ot;function iW(e,t){for(var r=0,n=t.length;e&&r<n;)e=e[t[r++]];return n&&e?e:0}function oW(e,t){for(var r,n=arguments,i=[],o=[],a=2,s=n.length;a<s;a++)i.push(n[a]);if(nW(t)){for(s=t.length-1,a=0;a<s;a++)o.push(t[a]);t=t[s]}return rW(e,function(u){if(o.length&&(u=iW(u,o)),r=u[t]||t,r&&r.apply)return r.apply(u,i)})}var aW=oW;function sW(e,t){return(console[e]||console.log)(t)}var uW=sW;function lW(e,t){try{delete e[t]}catch{e[t]=void 0}}var E_=lW,cW=ot,fW=M0,hW=a_;function dW(e,t,r){return e&&(cW(e)?fW:hW)(e,t,r)}var O_=dW,pW=Ha,vW=pW("object"),qc=vW,mW=E_,gW=ja,yW=qc,wW=ot,bW=fi,_W=$r,SW=xu;function xW(e,t,r){if(e){var n,i=arguments.length>1&&(bW(t)||!yW(t)),o=i?r:t;if(gW(e))SW(e,i?function(a,s){e[s]=t}:function(a,s){mW(e,s)}),o&&_W(e,o);else if(wW(e)){if(i)for(n=e.length;n>0;)n--,e[n]=t;else e.length=0;o&&e.push.apply(e,o)}}return e}var $_=xW,EW=E_,OW=hr,$W=ot,TW=Bt,DW=rr,MW=O_,AW=$_,CW=hi;function PW(e){return function(t,r){return r===e}}function kW(e,t,r){if(e){if(!CW(t)){var n=[],i=[];return OW(t)||(t=PW(t)),TW(e,function(o,a,s){t.call(r,o,a,s)&&n.push(a)}),$W(e)?MW(n,function(o,a){i.push(e[o]),e.splice(o,1)}):(i={},DW(n,function(o){i[o]=e[o],EW(e,o)})),i}return AW(e)}return e}var T_=kW,NW=In,tg=uW,IW=P0,RW=D0,FW=hi,ip=Bt,LW=T_,BW=$r;function YW(e,t){ip(e,function(r){r[t]&&!r[t].length&&LW(r,t)})}function WW(e,t){var r=BW({},NW.treeOptions,t),n=r.strict,i=r.key,o=r.parentKey,a=r.children,s=r.mapChildren,u=r.sortKey,l=r.reverse,f=r.data,c=[],h={},d={},p,v,g;return u&&(e=IW(RW(e),u),l&&(e=e.reverse())),ip(e,function(m){p=m[i],d[p]&&tg("warn","Duplicate primary key="+p),d[p]=!0}),ip(e,function(m){p=m[i],f?(v={},v[f]=m):v=m,g=m[o],h[p]=h[p]||[],v[i]=p,v[o]=g,p===g&&(g=null,tg("warn","Error infinite Loop. key="+p+" parentKey="+p)),h[g]=h[g]||[],h[g].push(v),v[a]=h[p],s&&(v[s]=h[p]),(!n||n&&FW(g))&&(d[g]||c.push(v))}),n&&YW(e,a),c}var UW=WW,HW=In,zW=rr,jW=$r;function D_(e,t,r,n){var i=n.key,o=n.parentKey,a=n.children,s=n.data,u=n.updated,l=n.clear;return zW(r,function(f){var c=f[a];s&&(f=f[s]),u!==!1&&(f[o]=t?t[i]:null),e.push(f),c&&c.length&&D_(e,f,c,n),l&&delete f[a]}),e}function VW(e,t){return D_([],null,e,jW({},HW.treeOptions,t))}var qW=VW;function GW(e){return function(t,r,n,i){var o=n||{},a=o.children||"children";return e(null,t,r,i,[],[],a,o)}}var Gc=GW,XW=Gc;function M_(e,t,r,n,i,o,a,s){if(t){var u,l,f,c,h,d;for(l=0,f=t.length;l<f;l++){if(u=t[l],c=i.concat([""+l]),h=o.concat([u]),r.call(n,u,l,t,c,e,h))return{index:l,item:u,path:c,items:t,parent:e,nodes:h};if(a&&u&&(d=M_(u,u[a],r,n,c.concat([a]),h,a),d))return d}}}var KW=XW(M_),ZW=KW,JW=Gc,QW=Bt;function A_(e,t,r,n,i,o,a,s){var u,l;QW(t,function(f,c){u=i.concat([""+c]),l=o.concat([f]),r.call(n,f,c,t,u,e,l),f&&a&&(u.push(a),A_(f,f[a],r,n,u,l,a))})}var eU=JW(A_),C_=eU,tU=Gc,rU=Io;function P_(e,t,r,n,i,o,a,s){var u,l,f,c=s.mapChildren||a;return rU(t,function(h,d){return u=i.concat([""+d]),l=o.concat([h]),f=r.call(n,h,d,t,u,e,l),f&&h&&a&&h[a]&&(f[c]=P_(h,h[a],r,n,u,l,a,s)),f})}var nU=tU(P_),iU=nU,oU=C_;function aU(e,t,r,n){var i=[];return e&&t&&oU(e,function(o,a,s,u,l,f){t.call(n,o,a,s,u,l,f)&&i.push(o)},r),i}var sU=aU,uU=Gc,lU=rr,cU=$r;function k_(e,t,r,n,i,o,a,s,u){var l,f,c,h,d,p=[],v=u.original,g=u.data,m=u.mapChildren||s,O=u.isEvery;return lU(r,function(y,S){l=o.concat([""+S]),f=a.concat([y]),h=e&&!O||n.call(i,y,S,r,l,t,f),d=s&&y[s],h||d?(v?c=y:(c=cU({},y),g&&(c[g]=y)),c[m]=k_(h,y,y[s],n,i,l,f,s,u),(h||c[m].length)&&p.push(c)):h&&p.push(c)}),p}var fU=uU(function(e,t,r,n,i,o,a,s){return k_(0,e,t,r,n,i,o,a,s)}),hU=fU;function dU(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(t===e[r])return r}var N_=dU;function pU(e,t){if(e.lastIndexOf)return e.lastIndexOf(t);for(var r=e.length-1;r>=0;r--)if(t===e[r])return r;return-1}var I_=pU,vU=Ha,mU=vU("number"),Fn=mU,gU=Fn;function yU(e){return gU(e)&&isNaN(e)}var wU=yU,bU=Ha,_U=bU("string"),di=_U,SU=Su,xU=SU("Date"),Ji=xU,EU=parseInt,Ou=EU;function OU(e){return Date.UTC(e.y,e.M||0,e.d||1,e.H||0,e.m||0,e.s||0,e.S||0)}var $U=OU;function TU(e){return e.getTime()}var Wr=TU,nc=Ou,rg=$U,DU=Wr,MU=di,AU=Ji;function $u(e){return"(\\d{"+e+"})"}function CU(e){return e<10?e*100:e<100?e*10:e}function ng(e){return isNaN(e)?e:nc(e)}var qo=$u(2),Qo=$u("1,2"),R_=$u("1,7"),F_=$u("3,4"),L_=".{1}",as=L_+Qo,B_="(([zZ])|([-+]\\d{2}:?\\d{2}))",ig=[F_,as,as,as,as,as,L_+R_,B_],op=[];for(var Ih=ig.length-1;Ih>=0;Ih--){for(var og="",So=0;So<Ih+1;So++)og+=ig[So];op.push(new RegExp("^"+og+"$"))}function PU(e){for(var t,r={},n=0,i=op.length;n<i;n++)if(t=e.match(op[n]),t){r.y=t[1],r.M=t[2],r.d=t[3],r.H=t[4],r.m=t[5],r.s=t[6],r.S=t[7],r.Z=t[8];break}return r}var ag=[["yyyy",F_],["yy",qo],["MM",qo],["M",Qo],["dd",qo],["d",Qo],["HH",qo],["H",Qo],["mm",qo],["m",Qo],["ss",qo],["s",Qo],["SSS",$u(3)],["S",R_],["Z",B_]],Y_={},W_=["\\[([^\\]]+)\\]"];for(var So=0;So<ag.length;So++){var Rh=ag[So];Y_[Rh[0]]=Rh[1]+"?",W_.push(Rh[0])}var kU=new RegExp(W_.join("|"),"g"),sg={};function NU(e,t){var r=sg[t];if(!r){var n=[],i=t.replace(/([$(){}*+.?\\^|])/g,"\\$1").replace(kU,function(f,c){var h=f.charAt(0);return h==="["?c:(n.push(h),Y_[f])});r=sg[t]={_i:n,_r:new RegExp(i)}}var o={},a=e.match(r._r);if(a){for(var s=r._i,u=1,l=a.length;u<l;u++)o[s[u-1]]=a[u];return o}return o}function IU(e){if(/^[zZ]/.test(e.Z))return new Date(rg(e));var t=e.Z.match(/([-+])(\d{2}):?(\d{2})/);return t?new Date(rg(e)-(t[1]==="-"?-1:1)*nc(t[2])*36e5+nc(t[3])*6e4):new Date("")}function RU(e,t){if(e){var r=AU(e);if(r||!t&&/^[0-9]{11,15}$/.test(e))return new Date(r?DU(e):nc(e));if(MU(e)){var n=t?NU(e,t):PU(e);if(n.y)return n.M&&(n.M=ng(n.M)-1),n.S&&(n.S=CU(ng(n.S.substring(0,3)))),n.Z?IU(n):new Date(n.y,n.M||0,n.d||1,n.H||0,n.m||0,n.s||0,n.S||0)}}return new Date("")}var dr=RU;function FU(){return new Date}var Xc=FU,LU=Ji,BU=dr,YU=Xc;function WU(e){var t,r=e?BU(e):YU();return LU(r)?(t=r.getFullYear(),t%4===0&&(t%100!==0||t%400===0)):!1}var U_=WU,UU=ot,HU=sn;function zU(e,t,r){if(e){if(UU(e))for(var n=0,i=e.length;n<i&&t.call(r,e[n],n,e)!==!1;n++);else for(var o in e)if(HU(e,o)&&t.call(r,e[o],o,e)===!1)break}}var jU=zU,VU=ot,qU=sn;function GU(e,t,r){if(e){var n,i;if(VU(e))for(n=e.length-1;n>=0&&t.call(r,e[n],n,e)!==!1;n--);else for(i=qU(e),n=i.length-1;n>=0&&t.call(r,e[i[n]],i[n],e)!==!1;n--);}}var XU=GU,KU=ot,ZU=di,JU=sn;function QU(e,t){return function(r,n){if(r){if(r[e])return r[e](n);if(ZU(r)||KU(r))return t(r,n);for(var i in r)if(JU(r,i)&&n===r[i])return i}return-1}}var H_=QU,eH=H_,tH=N_,rH=eH("indexOf",tH),nH=rH,iH=H_,oH=I_,aH=iH("lastIndexOf",oH),z_=aH,sH=ot,uH=di,lH=Bt;function cH(e){var t=0;return uH(e)||sH(e)?e.length:(lH(e,function(){t++}),t)}var j_=cH,fH=Fn;function hH(e){return fH(e)&&isFinite(e)}var dH=hH,pH=ot,vH=fi,mH=function(e){return!vH(e)&&!isNaN(e)&&!pH(e)&&e%1===0},V_=mH,gH=ot,yH=V_,wH=fi;function bH(e){return!wH(e)&&!isNaN(e)&&!gH(e)&&!yH(e)}var _H=bH,SH=Ha,xH=SH("boolean"),q_=xH,EH=Su,OH=EH("RegExp"),k0=OH,$H=Su,TH=$H("Error"),G_=TH;function DH(e){return e?e.constructor===TypeError:!1}var MH=DH;function AH(e){for(var t in e)return!1;return!0}var X_=AH,CH=un,PH=typeof Symbol!==CH;function kH(e){return PH&&Symbol.isSymbol?Symbol.isSymbol(e):typeof e=="symbol"}var K_=kH,NH=Su,IH=NH("Arguments"),RH=IH,FH=di,LH=Fn;function BH(e){return!!(e&&FH(e.nodeName)&&LH(e.nodeType))}var YH=BH,WH=un,UH=typeof document===WH?0:document,N0=UH,HH=N0;function zH(e){return!!(e&&HH&&e.nodeType===9)}var jH=zH,VH=un,qH=typeof window===VH?0:window,Z_=qH,GH=Z_;function XH(e){return!!(GH&&(e&&e===e.window))}var KH=XH,ZH=un,JH=typeof FormData!==ZH;function QH(e){return JH&&e instanceof FormData}var ez=QH,tz=un,rz=typeof Map!==tz;function nz(e){return rz&&e instanceof Map}var iz=nz,oz=un,az=typeof WeakMap!==oz;function sz(e){return az&&e instanceof WeakMap}var uz=sz,lz=un,cz=typeof Set!==lz;function fz(e){return cz&&e instanceof Set}var hz=fz,dz=un,pz=typeof WeakSet!==dz;function vz(e){return pz&&e instanceof WeakSet}var mz=vz,gz=hr,yz=di,wz=ot,bz=sn;function _z(e){return function(t,r,n){if(t&&gz(r)){if(wz(t)||yz(t))return e(t,r,n);for(var i in t)if(bz(t,i)&&r.call(n,t[i],i,t))return i}return-1}}var J_=_z,Sz=J_,xz=Sz(function(e,t,r){for(var n=0,i=e.length;n<i;n++)if(t.call(r,e[n],n,e))return n;return-1}),I0=xz,ug=Fn,lg=ot,cg=di,Ez=k0,Oz=Ji,$z=q_,Tz=Rn,fg=ci,Dz=c_;function Q_(e,t,r,n,i,o,a){if(e===t)return!0;if(e&&t&&!ug(e)&&!ug(t)&&!cg(e)&&!cg(t)){if(Ez(e))return r(""+e,""+t,i,o,a);if(Oz(e)||$z(e))return r(+e,+t,i,o,a);var s,u,l,f=lg(e),c=lg(t);if(f||c?f&&c:e.constructor===t.constructor)return u=fg(e),l=fg(t),n&&(s=n(e,t,i)),u.length===l.length?Tz(s)?Dz(u,function(h,d){return h===l[d]&&Q_(e[h],t[l[d]],r,n,f||c?d:h,e,t)}):!!s:!1}return r(e,t,i,o,a)}var e4=Q_;function Mz(e,t){return e===t}var t4=Mz,Az=e4,Cz=t4;function Pz(e,t){return Az(e,t,Cz)}var r4=Pz,hg=ci,kz=I0,dg=r4,Nz=l_,Iz=f_;function Rz(e,t){var r=hg(e),n=hg(t);if(n.length){if(Iz(r,n))return Nz(n,function(i){return kz(r,function(o){return o===i&&dg(e[o],t[i])})>-1})}else return!0;return dg(e,t)}var Fz=Rz,pg=e4,vg=t4,Lz=hr,Bz=Rn;function Yz(e,t,r){return Lz(r)?pg(e,t,function(n,i,o,a,s){var u=r(n,i,o,a,s);return Bz(u)?vg(n,i):!!u},r):pg(e,t,vg)}var Wz=Yz,Uz=K_,Hz=Ji,zz=ot,jz=k0,Vz=G_,qz=fi;function Gz(e){return qz(e)?"null":Uz(e)?"symbol":Hz(e)?"date":zz(e)?"array":jz(e)?"regexp":Vz(e)?"error":typeof e}var Xz=Gz,Kz=In,Zz=hi;function Jz(e){return""+(Zz(e)?"":e)+Kz.keyId++}var Qz=Jz,ej=J_,tj=ej(function(e,t,r){for(var n=e.length-1;n>=0;n--)if(t.call(r,e[n],n,e))return n;return-1}),rj=tj,nj=ja,ij=di;function oj(e){if(nj(e))return e;if(ij(e))try{return JSON.parse(e)}catch{}return{}}var aj=oj,sj=hi;function uj(e){return sj(e)?"":JSON.stringify(e)}var lj=uj,cj=T0,fj=cj("entries",2),hj=fj,dj=hr,pj=ot,vj=Bt,mj=I0;function gj(e,t){return function(r,n){var i,o,a={},s=[],u=this,l=arguments,f=l.length;if(!dj(n)){for(o=1;o<f;o++)i=l[o],s.push.apply(s,pj(i)?i:[i]);n=0}return vj(r,function(c,h){((n?n.call(u,c,h,r):mj(s,function(d){return d===h})>-1)?e:t)&&(a[h]=c)}),a}}var n4=gj,yj=n4,wj=yj(1,0),bj=wj,_j=n4,Sj=_j(0,1),xj=Sj,Ej=qa;function Oj(e){return Ej(e)[0]}var $j=Oj,Tj=qa;function Dj(e){var t=Tj(e);return t[t.length-1]}var Mj=Dj,Aj=d_,Cj=C0,el=sn;function Pj(e,t){if(e){if(el(e,t))return!0;var r,n,i,o,a,s,u=Cj(t),l=0,f=u.length;for(a=e;l<f&&(s=!1,r=u[l],o=r?r.match(Aj):"",o?(n=o[1],i=o[2],n?a[n]&&el(a[n],i)&&(s=!0,a=a[n][i]):el(a,i)&&(s=!0,a=a[i])):el(a,r)&&(s=!0,a=a[r]),s);l++)if(l===f-1)return!0}return!1}var kj=Pj,mg=Ou,Nj=C0,Ij=s_,Rj=sn,gg=/(.+)?\[(\d+)\]$/;function Fj(e,t,r,n,i){if(e[t])r&&(e[t]=i);else{var o,a,s=t?t.match(gg):null;if(r)a=i;else{var u=n?n.match(gg):null;u&&!u[1]?a=new Array(mg(u[2])+1):a={}}return s?s[1]?(o=mg(s[2]),e[s[1]]?r?e[s[1]][o]=a:e[s[1]][o]?a=e[s[1]][o]:e[s[1]][o]=a:(e[s[1]]=new Array(o+1),e[s[1]][o]=a)):e[s[2]]=a:e[t]=a,a}return e[t]}function Lj(e,t,r){if(e&&Ij(t)){if((e[t]||Rj(e,t))&&!yg(t))e[t]=r;else for(var n=e,i=Nj(t),o=i.length,a=0;a<o;a++)if(!yg(i[a])){var s=a===o-1;n=Fj(n,i[a],s,s?null:i[a+1],r)}}return e}function yg(e){return e==="__proto__"||e==="constructor"||e==="prototype"}var Bj=Lj,Yj=X_,Wj=qc,Uj=hr,Hj=za,zj=Bt;function jj(e){return function(){return Yj(e)}}function Vj(e,t,r){var n,i={};return e&&(t&&Wj(t)?t=jj(t):Uj(t)||(t=Hj(t)),zj(e,function(o,a){n=t?t.call(r,o,a,e):o,i[n]?i[n].push(o):i[n]=[o]})),i}var i4=Vj,qj=i4,Gj=xu;function Xj(e,t,r){var n=qj(e,t,r||this);return Gj(n,function(i,o){n[o]=i.length}),n}var Kj=Xj;function Zj(e,t,r){var n,i,o=[],a=arguments;if(a.length<2&&(t=a[0],e=0),n=e>>0,i=t>>0,n<t)for(r=r>>0||1;n<i;n+=r)o.push(n);return o}var o4=Zj,wg=ci,Jj=Fo,Qj=Va,eV=rr,tV=$r;function rV(e,t){if(e&&t){var r=tV.apply(this,[{}].concat(Jj(arguments,1))),n=wg(r);eV(wg(e),function(i){Qj(n,i)&&(e[i]=r[i])})}return e}var nV=rV,iV=w_,oV=iV(function(e,t){return e>t}),aV=oV;function sV(e){return(e.split(".")[1]||"").length}var Kc=sV,uV=Ou;function lV(e,t){if(e.repeat)return e.repeat(t);var r=isNaN(t)?[]:new Array(uV(t));return r.join(e)+(r.length>0?e:"")}var Tu=lV;function cV(e,t){return e.substring(0,t)+"."+e.substring(t,e.length)}var a4=cV,tl=Tu,Fh=a4;function fV(e){var t=""+e,r=t.match(/^([-+]?)((\d+)|((\d+)?[.](\d+)?))e([-+]{1})([0-9]+)$/);if(r){var n=e<0,i=n?"-":"",o=r[3]||"",a=r[5]||"",s=r[6]||"",u=r[7],l=r[8],f=l-s.length,c=l-o.length,h=l-a.length;return u==="+"?o?i+o+tl("0",l):f>0?i+a+s+tl("0",f):i+a+Fh(s,l):o?c>0?i+"0."+tl("0",Math.abs(c))+o:i+Fh(o,c):h>0?i+"0."+tl("0",Math.abs(h))+a+s:i+Fh(a,h)+s}return t}var Qi=fV,bg=Kc,_g=Qi;function hV(e,t){var r=_g(e),n=_g(t);return parseInt(r.replace(".",""))*parseInt(n.replace(".",""))/Math.pow(10,bg(r)+bg(n))}var s4=hV,dV=s4,Sg=Ro,pV=Qi;function vV(e){return function(t,r){var n=Sg(t),i=n;if(n){r=r>>0;var o=pV(n),a=o.split("."),s=a[0],u=a[1]||"",l=u.substring(0,r+1),f=s+(l?"."+l:"");if(r>=u.length)return Sg(f);if(f=n,r>0){var c=Math.pow(10,r);i=Math[e](dV(f,c))/c}else i=Math[e](f)}return i}}var R0=vV,mV=R0,gV=mV("round"),F0=gV,yV=R0,wV=yV("ceil"),u4=wV,bV=R0,_V=bV("floor"),l4=_V,SV=hi,xV=Fn,EV=Qi;function OV(e){return xV(e)?EV(e):""+(SV(e)?"":e)}var pr=OV,$V=F0,TV=pr,DV=Tu,MV=a4;function AV(e,t){t=t>>0;var r=TV($V(e,t)),n=r.split("."),i=n[0],o=n[1]||"",a=t-o.length;return t?a>0?i+"."+o+DV("0",a):i+MV(o,Math.abs(a)):i}var L0=AV,CV=In,PV=F0,kV=u4,NV=l4,IV=Fn,RV=pr,FV=L0,LV=Qi,BV=$r;function YV(e,t){var r=BV({},CV.commafyOptions,t),n=r.digits,i=IV(e),o,a,s,u,l;return i?(o=(r.ceil?kV:r.floor?NV:PV)(e,n),a=LV(n?FV(o,n):o).split("."),u=a[0],l=a[1],s=u&&o<0,s&&(u=u.substring(1,u.length))):(o=RV(e).replace(/,/g,""),a=o?[o]:[],u=a[0]),a.length?(s?"-":"")+u.replace(new RegExp("(?=(?!(\\b))(.{"+(r.spaceNumber||3)+"})+$)","g"),r.separator||",")+(l?"."+l:""):o}var WV=YV,UV=Ou,HV=g_,zV=HV(UV),jV=zV,VV=s4,xg=Ro;function qV(e,t){var r=xg(e),n=xg(t);return VV(r,n)}var B0=qV,Eg=Kc,Og=Qi,$g=B0;function GV(e,t){var r=Og(e),n=Og(t),i=Math.pow(10,Math.max(Eg(r),Eg(n)));return($g(e,i)+$g(t,i))/i}var c4=GV,XV=c4,Tg=Ro;function KV(e,t){return XV(Tg(e),Tg(t))}var ZV=KV,Dg=Kc,Mg=Qi,Ag=Ro,JV=L0;function QV(e,t){var r=Ag(e),n=Ag(t),i=Mg(r),o=Mg(n),a=Dg(i),s=Dg(o),u=Math.pow(10,Math.max(a,s)),l=a>=s?a:s;return parseFloat(JV((r*u-n*u)/u,l))}var eq=QV,Cg=Kc,Pg=Qi,tq=B0;function rq(e,t){var r=Pg(e),n=Pg(t),i=Cg(r),o=Cg(n),a=o-i,s=a<0,u=Math.pow(10,s?Math.abs(a):a);return tq(r.replace(".","")/n.replace(".",""),s?1/u:u)}var f4=rq,nq=f4,kg=Ro;function iq(e,t){return nq(kg(e),kg(t))}var oq=iq,Lh=c4,aq=hr,sq=ot,uq=Bt,lq=Eu;function cq(e,t,r){var n=0;return uq(e&&e.length>2&&sq(e)?e.sort():e,t?aq(t)?function(){n=Lh(n,t.apply(r,arguments))}:function(i){n=Lh(n,lq(i,t))}:function(i){n=Lh(n,i)}),n}var h4=cq,fq=f4,hq=j_,dq=h4;function pq(e,t,r){return fq(dq(e,t,r),hq(e))}var vq=pq,mq="first",Du=mq,gq="last",Zc=gq;function yq(e){return e.getFullYear()}var Mu=yq,wq=864e5,Ga=wq;function bq(e){return e.getMonth()}var Jc=bq,_q=Ji,Sq=Wr;function xq(e){return _q(e)&&!isNaN(Sq(e))}var Ur=xq,Ng=Du,Eq=Zc,Oq=Ga,$q=Mu,Ig=Wr,Rg=Jc,Tq=dr,Dq=Ur,Mq=Fn;function d4(e,t,r){var n=t&&!isNaN(t)?t:0;if(e=Tq(e),Dq(e)){if(r===Ng)return new Date($q(e),Rg(e)+n,1);if(r===Eq)return new Date(Ig(d4(e,n+1,Ng))-1);if(Mq(r)&&e.setDate(r),n){var i=e.getDate();if(e.setMonth(Rg(e)+n),i!==e.getDate())return e.setDate(1),new Date(Ig(e)-Oq)}}return e}var Au=d4,Aq=Du,Fg=Zc,Lg=Mu,Cq=Au,Pq=dr,kq=Ur;function Nq(e,t,r){var n;if(e=Pq(e),kq(e)&&(t&&(n=t&&!isNaN(t)?t:0,e.setFullYear(Lg(e)+n)),r||!isNaN(r))){if(r===Aq)return new Date(Lg(e),0,1);if(r===Fg)return e.setMonth(11),Cq(e,0,Fg);e.setMonth(r)}return e}var Qc=Nq,Iq=Au,Rq=dr,Fq=Ur;function Lq(e){var t=e.getMonth();return t<3?1:t<6?2:t<9?3:4}function Bq(e,t,r){var n,i=t&&!isNaN(t)?t*3:0;return e=Rq(e),Fq(e)?(n=(Lq(e)-1)*3,e.setMonth(n),Iq(e,i,r)):e}var Yq=Bq,Bg=Du,Wq=Zc,Uq=Ou,Hq=Mu,zq=Jc,jq=Wr,Vq=dr,qq=Ur;function p4(e,t,r){if(e=Vq(e),qq(e)&&!isNaN(t)){if(e.setDate(e.getDate()+Uq(t)),r===Bg)return new Date(Hq(e),zq(e),e.getDate());if(r===Wq)return new Date(jq(p4(e,1,Bg))-1)}return e}var v4=p4;function Gq(e){return e.toUpperCase()}var m4=Gq,Xq=Ga,Kq=Xq*7,g4=Kq,Zq=In,Bh=Ga,Jq=g4,Qq=Wr,eG=dr,tG=Ur,Yg=Fn;function rG(e,t,r,n){if(e=eG(e),tG(e)){var i=Yg(r),o=Yg(n),a=Qq(e);if(i||o){var s=o?n:Zq.firstDayOfWeek,u=e.getDay(),l=i?r:u;if(u!==l){var f=0;s>u?f=-(7-s+u):s<u&&(f=s-u),l>s?a+=((l===0?7:l)-s+f)*Bh:l<s?a+=(7-s+l+f)*Bh:a+=f*Bh}}return t&&!isNaN(t)&&(a+=t*Jq),new Date(a)}return e}var y4=rG,nG=In,rl=Ga,iG=g4,oG=Fn,aG=Va,sG=dr,uG=Ur,Wg=y4,lG=o4,cG=Io,nl=Wr,fG=cG(lG(0,7),function(e){return[(e+1)%7,(e+2)%7,(e+3)%7]});function Ug(e,t){var r=new Date(e).getDay();return aG(fG[t],r)}function hG(e,t){return function(r,n){var i=oG(n)?n:nG.firstDayOfWeek,o=sG(r);if(uG(o)){var a=Wg(o,0,i,i),s=e(a),u=nl(s),l=nl(a),f=l+rl*6,c=new Date(f),h=Wg(s,0,i,i),d=nl(h),p;if(l===d)return 1;if(t(a,c)){for(p=nl(e(c));p<f;p+=rl)if(Ug(p,i))return 1}var v=d+rl*6,g=new Date(f),m=1;if(t(h,g)){for(m=0,p=u;p<v;p+=rl)if(Ug(p,i)){m++;break}}return Math.floor((l-d)/iG)+m}return NaN}}var w4=hG,dG=w4,pG=dG(function(e){return new Date(e.getFullYear(),0,1)},function(e,t){return e.getFullYear()!==t.getFullYear()}),b4=pG,vG=Mu,mG=Jc;function gG(e){return new Date(vG(e),mG(e),e.getDate())}var yG=gG,wG=Wr,bG=yG;function _G(e){return wG(bG(e))}var SG=_G,xG=Ga,EG=Du,Hg=SG,OG=Qc,$G=dr,TG=Ur;function DG(e){return e=$G(e),TG(e)?Math.floor((Hg(e)-Hg(OG(e,0,EG)))/xG)+1:NaN}var _4=DG,MG=pr,AG=Rn,CG=Tu;function PG(e,t,r){var n=MG(e);return t=t>>0,r=AG(r)?" ":""+r,n.padStart?n.padStart(t,r):t>n.length?(t-=n.length,t>r.length&&(r+=CG(r,t/r.length)),r.slice(0,t)+n):n}var S4=PG,ss=In,kG=m4,NG=Mu,zg=Jc,IG=dr,RG=b4,FG=_4,LG=$r,BG=Ur,YG=hr,dn=S4;function _i(e,t,r,n){var i=t[r];return i?YG(i)?i(n,r,e):i[n]:n}var WG=/\[([^\]]+)]|y{2,4}|M{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|S{1,3}|Z{1,2}|W{1,2}|D{1,3}|[aAeEq]/g;function UG(e,t,r){if(e){if(e=IG(e),BG(e)){var n=t||ss.parseDateFormat||ss.formatString,i=e.getHours(),o=i<12?"am":"pm",a=LG({},ss.parseDateRules||ss.formatStringMatchs,r?r.formats:null),s=function(y,S){return(""+NG(e)).substr(4-S)},u=function(y,S){return dn(zg(e)+1,S,"0")},l=function(y,S){return dn(e.getDate(),S,"0")},f=function(y,S){return dn(i,S,"0")},c=function(y,S){return dn(i<=12?i:i-12,S,"0")},h=function(y,S){return dn(e.getMinutes(),S,"0")},d=function(y,S){return dn(e.getSeconds(),S,"0")},p=function(y,S){return dn(e.getMilliseconds(),S,"0")},v=function(y,S){var _=e.getTimezoneOffset()/60*-1;return _i(e,a,y,(_>=0?"+":"-")+dn(_,2,"0")+(S===1?":":"")+"00")},g=function(y,S){return dn(_i(e,a,y,RG(e,(r?r.firstDay:null)||ss.firstDayOfWeek)),S,"0")},m=function(y,S){return dn(_i(e,a,y,FG(e)),S,"0")},O={yyyy:s,yy:s,MM:u,M:u,dd:l,d:l,HH:f,H:f,hh:c,h:c,mm:h,m:h,ss:d,s:d,SSS:p,S:p,ZZ:v,Z:v,WW:g,W:g,DDD:m,D:m,a:function(y){return _i(e,a,y,o)},A:function(y){return _i(e,a,y,kG(o))},e:function(y){return _i(e,a,y,e.getDay())},E:function(y){return _i(e,a,y,e.getDay())},q:function(y){return _i(e,a,y,Math.floor((zg(e)+3)/3))}};return n.replace(WG,function(y,S){return S||(O[y]?O[y](y,y.length):y)})}return"Invalid Date"}return""}var x4=UG,HG=Wr,zG=Xc,jG=Date.now||function(){return HG(zG())},E4=jG,VG=Wr,qG=E4,GG=dr,XG=Ji,KG=function(e,t){if(e){var r=GG(e,t);return XG(r)?VG(r):r}return qG()},ZG=KG,jg=x4;function JG(e,t,r){return e&&t?(e=jg(e,r),e!=="Invalid Date"&&e===jg(t,r)):!1}var QG=JG,eX=w4,tX=eX(function(e){return new Date(e.getFullYear(),e.getMonth(),1)},function(e,t){return e.getMonth()!==t.getMonth()}),rX=tX,nX=Qc,iX=dr,oX=Ur,aX=U_;function sX(e,t){return e=iX(e),oX(e)?aX(nX(e,t))?366:365:NaN}var uX=sX,lX=Ga,cX=Du,fX=Zc,Vg=Wr,qg=Au,hX=dr,dX=Ur;function pX(e,t){return e=hX(e),dX(e)?Math.floor((Vg(qg(e,t,fX))-Vg(qg(e,t,cX)))/lX)+1:NaN}var vX=pX,Gg=Wr,mX=Xc,Xg=dr,Kg=Ur,Zg=[["yyyy",31536e6],["MM",2592e6],["dd",864e5],["HH",36e5],["mm",6e4],["ss",1e3],["S",0]];function gX(e,t){var r,n,i,o,a,s,u={done:!1,status:!1,time:0};if(e=Xg(e),t=t?Xg(t):mX(),Kg(e)&&Kg(t)&&(r=Gg(e),n=Gg(t),r<n))for(o=u.time=n-r,u.done=!0,u.status=!0,s=0,a=Zg.length;s<a;s++)i=Zg[s],o>=i[1]?s===a-1?u[i[0]]=o||0:(u[i[0]]=Math.floor(o/i[1]),o-=u[i[0]]*i[1]):u[i[0]]=0;return u}var yX=gX,wX=pr,bX=Rn,_X=Tu;function SX(e,t,r){var n=wX(e);return t=t>>0,r=bX(r)?" ":""+r,n.padEnd?n.padEnd(t,r):t>n.length?(t-=n.length,t>r.length&&(r+=_X(r,t/r.length)),n+r.slice(0,t)):n}var xX=SX,EX=pr,OX=Tu;function $X(e,t){return OX(EX(e),t)}var TX=$X,DX=pr;function MX(e){return e&&e.trimRight?e.trimRight():DX(e).replace(/[\s\uFEFF\xA0]+$/g,"")}var O4=MX,AX=pr;function CX(e){return e&&e.trimLeft?e.trimLeft():AX(e).replace(/^[\s\uFEFF\xA0]+/g,"")}var $4=CX,PX=O4,kX=$4;function NX(e){return e&&e.trim?e.trim():PX(kX(e))}var T4=NX,IX={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},D4=IX,RX=pr,FX=ci;function LX(e){var t=new RegExp("(?:"+FX(e).join("|")+")","g");return function(r){return RX(r).replace(t,function(n){return e[n]})}}var M4=LX,BX=D4,YX=M4,WX=YX(BX),UX=WX,Jg=D4,HX=M4,zX=Bt,A4={};zX(Jg,function(e,t){A4[Jg[t]]=t});var jX=HX(A4),VX=jX;function qX(e,t,r){return e.substring(t,r)}var C4=qX;function GX(e){return e.toLowerCase()}var P4=GX,XX=pr,Si=C4,us=m4,KX=P4,Yh={};function ZX(e){if(e=XX(e),Yh[e])return Yh[e];var t=e.length,r=e.replace(/([-]+)/g,function(n,i,o){return o&&o+i.length<t?"-":""});return t=r.length,r=r.replace(/([A-Z]+)/g,function(n,i,o){var a=i.length;return i=KX(i),o?a>2&&o+a<t?us(Si(i,0,1))+Si(i,1,a-1)+us(Si(i,a-1,a)):us(Si(i,0,1))+Si(i,1,a):a>1&&o+a<t?Si(i,0,a-1)+us(Si(i,a-1,a)):i}).replace(/(-[a-zA-Z])/g,function(n,i){return us(Si(i,1,i.length))}),Yh[e]=r,r}var JX=ZX,QX=pr,Go=C4,xi=P4,Wh={};function eK(e){if(e=QX(e),Wh[e])return Wh[e];if(/^[A-Z]+$/.test(e))return xi(e);var t=e.replace(/^([a-z])([A-Z]+)([a-z]+)$/,function(r,n,i,o){var a=i.length;return a>1?n+"-"+xi(Go(i,0,a-1))+"-"+xi(Go(i,a-1,a))+o:xi(n+"-"+i+o)}).replace(/^([A-Z]+)([a-z]+)?$/,function(r,n,i){var o=n.length;return xi(Go(n,0,o-1)+"-"+Go(n,o-1,o)+(i||""))}).replace(/([a-z]?)([A-Z]+)([a-z]?)/g,function(r,n,i,o,a){var s=i.length;return s>1&&(n&&(n+="-"),o)?(n||"")+xi(Go(i,0,s-1))+"-"+xi(Go(i,s-1,s))+o:(n||"")+(a?"-":"")+xi(i)+(o||"")});return t=t.replace(/([-]+)/g,function(r,n,i){return i&&i+n.length<t.length?"-":""}),Wh[e]=t,t}var tK=eK,rK=pr;function nK(e,t,r){var n=rK(e);return(arguments.length===1?n:n.substring(r)).indexOf(t)===0}var iK=nK,oK=pr;function aK(e,t,r){var n=oK(e),i=arguments.length;return i>1&&(i>2?n.substring(0,r).indexOf(t)===r-1:n.indexOf(t)===n.length-1)}var sK=aK,uK=In,lK=pr,cK=T4,fK=Eu;function hK(e,t,r){return lK(e).replace((r||uK).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,function(n,i){return fK(t,cK(i))})}var k4=hK,dK=k4;function pK(e,t){return dK(e,t,{tmplRE:/\{([.\w[\]\s]+)\}/g})}var vK=pK;function mK(){}var gK=mK,Qg=Fo;function yK(e,t){var r=Qg(arguments,2);return function(){return e.apply(t,Qg(arguments).concat(r))}}var wK=yK,ey=Fo;function bK(e,t){var r=!1,n=null,i=ey(arguments,2);return function(){return r||(n=e.apply(t,ey(arguments).concat(i)),r=!0),n}}var _K=bK,SK=Fo;function xK(e,t,r){var n=0,i=[];return function(){var o=arguments;n++,n<=e&&i.push(o[0]),n>=e&&t.apply(r,[i].concat(SK(o)))}}var EK=xK,OK=Fo;function $K(e,t,r){var n=0,i=[];return r=r||this,function(){var o=arguments;n++,n<e&&(i.push(o[0]),t.apply(r,[i].concat(OK(o))))}}var TK=$K,DK=$r;function MK(e,t,r){var n=null,i=null,o=!1,a=null,s=DK({leading:!0,trailing:!0},r),u=s.leading,l=s.trailing,f=function(){n=null,i=null},c=function(){o=!0,e.apply(i,n),a=setTimeout(h,t),f()},h=function(){if(a=null,o){f();return}if(l===!0){c();return}f()},d=function(){var v=a!==null;return v&&clearTimeout(a),f(),a=null,o=!1,v},p=function(){if(n=arguments,i=this,o=!1,a===null&&u===!0){c();return}l===!0&&(a=setTimeout(h,t))};return p.cancel=d,p}var AK=MK,CK=$r;function PK(e,t,r){var n=null,i=null,o=typeof r=="boolean"?{leading:r,trailing:!r}:CK({leading:!1,trailing:!0},r),a=!1,s=null,u=o.leading,l=o.trailing,f=function(){n=null,i=null},c=function(){a=!0,e.apply(i,n),f()},h=function(){if(u===!0&&(s=null),a){f();return}if(l===!0){c();return}f()},d=function(){var v=s!==null;return v&&clearTimeout(s),f(),s=null,a=!1,v},p=function(){a=!1,n=arguments,i=this,s===null?u===!0&&c():clearTimeout(s),s=setTimeout(h,t)};return p.cancel=d,p}var kK=PK,NK=Fo;function IK(e,t){var r=NK(arguments,2),n=this;return setTimeout(function(){e.apply(n,r)},t)}var RK=IK,FK=decodeURIComponent,N4=FK,ty=N4,LK=rr,BK=di;function YK(e){var t,r={};return e&&BK(e)&&LK(e.split("&"),function(n){t=n.split("="),r[ty(t[0])]=ty(t[1]||"")}),r}var I4=YK,WK=encodeURIComponent,R4=WK,ic=R4,F4=Bt,L4=ot,B4=fi,UK=Rn,Y4=ja;function W4(e,t,r){var n,i=[];return F4(e,function(o,a){n=L4(o),Y4(o)||n?i=i.concat(W4(o,t+"["+a+"]",n)):i.push(ic(t+"["+(r?"":a)+"]")+"="+ic(B4(o)?"":o))}),i}function HK(e){var t,r=[];return F4(e,function(n,i){UK(n)||(t=L4(n),Y4(n)||t?r=r.concat(W4(n,i,t)):r.push(ic(i)+"="+ic(B4(n)?"":n)))}),r.join("&").replace(/%20/g,"+")}var zK=HK,jK=un,VK=typeof location===jK?0:location,ef=VK,il=ef;function qK(){return il?il.origin||il.protocol+"//"+il.host:""}var U4=qK,ry=ef,GK=I4,XK=U4;function ny(e){return GK(e.split("?")[1]||"")}function KK(e){var t,r,n,i,o=""+e;return o.indexOf("//")===0?o=(ry?ry.protocol:"")+o:o.indexOf("/")===0&&(o=XK()+o),n=o.replace(/#.*/,"").match(/(\?.*)/),i={href:o,hash:"",host:"",hostname:"",protocol:"",port:"",search:n&&n[1]&&n[1].length>1?n[1]:""},i.path=o.replace(/^([a-z0-9.+-]*:)\/\//,function(a,s){return i.protocol=s,""}).replace(/^([a-z0-9.+-]*)(:\d+)?\/?/,function(a,s,u){return r=u||"",i.port=r.replace(":",""),i.hostname=s,i.host=s+r,"/"}).replace(/(#.*)/,function(a,s){return i.hash=s.length>1?s:"",""}),t=i.hash.match(/#((.*)\?|(.*))/),i.pathname=i.path.replace(/(\?|#.*).*/,""),i.origin=i.protocol+"//"+i.host,i.hashKey=t&&(t[2]||t[1])||"",i.hashQuery=ny(i.hash),i.searchQuery=ny(i.search),i}var H4=KK,iy=ef,ZK=U4,JK=z_;function QK(){if(iy){var e=iy.pathname,t=JK(e,"/")+1;return ZK()+(t===e.length?e:e.substring(0,t))}return""}var eZ=QK,oy=ef,tZ=H4;function rZ(){return oy?tZ(oy.href):{}}var nZ=rZ,z4=In,Uh=N0,ay=N4,sy=R4,iZ=ot,uy=qc,j4=Ji,oZ=Rn,aZ=Va,sZ=ci,oc=$r,Hh=rr,uZ=Xc,ol=Wr,lZ=Qc,cZ=Au,fZ=v4;function ly(e,t){var r=parseFloat(t),n=uZ(),i=ol(n);switch(e){case"y":return ol(lZ(n,r));case"M":return ol(cZ(n,r));case"d":return ol(fZ(n,r));case"h":case"H":return i+r*60*60*1e3;case"m":return i+r*60*1e3;case"s":return i+r*1e3}return i}function zh(e){return(j4(e)?e:new Date(e)).toUTCString()}function ji(e,t,r){if(Uh){var n,i,o,a,s,u,l=[],f=arguments;return iZ(e)?l=e:f.length>1?l=[oc({name:e,value:t},r)]:uy(e)&&(l=[e]),l.length>0?(Hh(l,function(c){n=oc({},z4.cookies,c),o=[],n.name&&(i=n.expires,o.push(sy(n.name)+"="+sy(uy(n.value)?JSON.stringify(n.value):n.value)),i&&(isNaN(i)?i=i.replace(/^([0-9]+)(y|M|d|H|h|m|s)$/,function(h,d,p){return zh(ly(p,d))}):/^[0-9]{11,13}$/.test(i)||j4(i)?i=zh(i):i=zh(ly("d",i)),n.expires=i),Hh(["expires","path","domain","secure"],function(h){oZ(n[h])||o.push(n[h]&&h==="secure"?h:h+"="+n[h])})),Uh.cookie=o.join("; ")}),!0):(a={},s=Uh.cookie,s&&Hh(s.split("; "),function(c){u=c.indexOf("="),a[ay(c.substring(0,u))]=ay(c.substring(u+1)||"")}),f.length===1?a[e]:a)}return!1}function hZ(e){return aZ(V4(),e)}function cy(e){return ji(e)}function fy(e,t,r){return ji(e,t,r),ji}function hy(e,t){ji(e,"",oc({expires:-1},z4.cookies,t))}function V4(){return sZ(ji())}function dZ(){return ji()}oc(ji,{has:hZ,set:fy,setItem:fy,get:cy,getItem:cy,remove:hy,removeItem:hy,keys:V4,getJSON:dZ});var pZ=ji,vZ=un,jh=N0,Vh=Z_,mZ=$r,gZ=rr;function dy(e){try{var t="__xe_t";return e.setItem(t,1),e.removeItem(t),!0}catch{return!1}}function al(e){return navigator.userAgent.indexOf(e)>-1}function yZ(){var e,t,r,n=!1,i=!1,o=!1,a={isNode:!1,isMobile:n,isPC:!1,isDoc:!!jh};if(!Vh&&typeof process!==vZ)a.isNode=!0;else{r=al("Edge"),t=al("Chrome"),n=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent),a.isDoc&&(e=jh.body||jh.documentElement,gZ(["webkit","khtml","moz","ms","o"],function(s){a["-"+s]=!!e[s+"MatchesSelector"]}));try{i=dy(Vh.localStorage)}catch{}try{o=dy(Vh.sessionStorage)}catch{}mZ(a,{edge:r,firefox:al("Firefox"),msie:!r&&a["-ms"],safari:!t&&!r&&al("Safari"),isMobile:n,isPC:!n,isLocalStorage:i,isSessionStorage:o})}return a}var wZ=yZ,q4=NL,py=$r,bZ=xu,_Z=a_,SZ=VL,xZ=QL,EZ=Io,OZ=l_,$Z=c_,TZ=f_,DZ=rr,MZ=M0,AZ=h_,CZ=_B,PZ=A0,kZ=JB,NZ=P0,IZ=m_,RZ=sY,FZ=Fo,LZ=pY,BZ=gY,YZ=Va,WZ=bY,UZ=EY,HZ=TY,zZ=AY,jZ=kY,VZ=GY,qZ=__,GZ=JY,XZ=tW,KZ=y_,ZZ=aW,JZ=UW,QZ=qW,eJ=ZW,tJ=C_,rJ=iU,nJ=sU,iJ=hU,oJ=N_,aJ=I_,sJ=sn,uJ=ot,lJ=fi,cJ=wU,fJ=Rn,hJ=hr,dJ=qc,pJ=di,vJ=ja,mJ=U_,gJ=Ji,yJ=hi,wJ=Bt,bJ=jU,_J=XU,SJ=nH,xJ=z_,EJ=ci,OJ=qa,$J=D0,TJ=j_,DJ=O_,MJ=T_,AJ=$_,CJ=dH,PJ=_H,kJ=V_,NJ=q_,IJ=Fn,RJ=k0,FJ=G_,LJ=MH,BJ=X_,YJ=K_,WJ=RH,UJ=YH,HJ=jH,zJ=KH,jJ=ez,VJ=iz,qJ=uz,GJ=hz,XJ=mz,KJ=Fz,ZJ=r4,JJ=Wz,QJ=Xz,eQ=Qz,tQ=I0,rQ=rj,nQ=aj,iQ=lj,oQ=hj,aQ=bj,sQ=xj,uQ=$j,lQ=Mj,cQ=kj,fQ=Eu,hQ=Bj,dQ=i4,pQ=Kj,vQ=o4,mQ=nV,gQ=v_,yQ=b_,wQ=aV,bQ=WV,_Q=F0,SQ=u4,xQ=l4,EQ=L0,OQ=jV,$Q=Ro,TQ=Qi,DQ=ZV,MQ=eq,AQ=B0,CQ=oq,PQ=h4,kQ=vq,NQ=Qc,IQ=Yq,RQ=Au,FQ=v4,LQ=dr,BQ=x4,YQ=E4,WQ=ZG,UQ=Ur,HQ=QG,zQ=y4,jQ=_4,VQ=b4,qQ=rX,GQ=uX,XQ=vX,KQ=yX,ZQ=xX,JQ=S4,QQ=TX,eee=T4,tee=O4,ree=$4,nee=UX,iee=VX,oee=JX,aee=tK,see=iK,uee=sK,lee=k4,cee=vK,vy=pr,fee=gK,hee=za,dee=wK,pee=_K,vee=EK,mee=TK,gee=AK,yee=kK,wee=RK,bee=I4,_ee=zK,See=H4,xee=eZ,Eee=nZ,Oee=pZ,$ee=wZ;py(q4,{assign:py,objectEach:bZ,lastObjectEach:_Z,objectMap:SZ,merge:xZ,uniq:AZ,union:CZ,sortBy:kZ,orderBy:NZ,shuffle:IZ,sample:RZ,some:OZ,every:$Z,slice:FZ,filter:LZ,find:WZ,findLast:UZ,findKey:BZ,includes:YZ,arrayIndexOf:oJ,arrayLastIndexOf:aJ,map:EZ,reduce:HZ,copyWithin:zZ,chunk:jZ,zip:VZ,unzip:qZ,zipObject:GZ,flatten:XZ,toArray:PZ,includeArrays:TZ,pluck:KZ,invoke:ZZ,arrayEach:DZ,lastArrayEach:MZ,toArrayTree:JZ,toTreeArray:QZ,findTree:eJ,eachTree:tJ,mapTree:rJ,filterTree:nJ,searchTree:iJ,hasOwnProp:sJ,eqNull:yJ,isNaN:cJ,isFinite:CJ,isUndefined:fJ,isArray:uJ,isFloat:PJ,isInteger:kJ,isFunction:hJ,isBoolean:NJ,isString:pJ,isNumber:IJ,isRegExp:RJ,isObject:dJ,isPlainObject:vJ,isDate:gJ,isError:FJ,isTypeError:LJ,isEmpty:BJ,isNull:lJ,isSymbol:YJ,isArguments:WJ,isElement:UJ,isDocument:HJ,isWindow:zJ,isFormData:jJ,isMap:VJ,isWeakMap:qJ,isSet:GJ,isWeakSet:XJ,isLeapYear:mJ,isMatch:KJ,isEqual:ZJ,isEqualWith:JJ,getType:QJ,uniqueId:eQ,getSize:TJ,indexOf:SJ,lastIndexOf:xJ,findIndexOf:tQ,findLastIndexOf:rQ,toStringJSON:nQ,toJSONString:iQ,keys:EJ,values:OJ,entries:oQ,pick:aQ,omit:sQ,first:uQ,last:lQ,each:wJ,forOf:bJ,lastForOf:_J,lastEach:DJ,has:cQ,get:fQ,set:hQ,groupBy:dQ,countBy:pQ,clone:$J,clear:AJ,remove:MJ,range:vQ,destructuring:mQ,random:gQ,min:wQ,max:yQ,commafy:bQ,round:_Q,ceil:SQ,floor:xQ,toFixed:EQ,toNumber:$Q,toNumberString:TQ,toInteger:OQ,add:DQ,subtract:MQ,multiply:AQ,divide:CQ,sum:PQ,mean:kQ,now:YQ,timestamp:WQ,isValidDate:UQ,isDateSame:HQ,toStringDate:LQ,toDateString:BQ,getWhatYear:NQ,getWhatQuarter:IQ,getWhatMonth:RQ,getWhatWeek:zQ,getWhatDay:FQ,getYearDay:jQ,getYearWeek:VQ,getMonthWeek:qQ,getDayOfYear:GQ,getDayOfMonth:XQ,getDateDiff:KQ,trim:eee,trimLeft:ree,trimRight:tee,escape:nee,unescape:iee,camelCase:oee,kebabCase:aee,repeat:QQ,padStart:JQ,padEnd:ZQ,startsWith:see,endsWith:uee,template:lee,toFormatString:cee,toString:vy,toValueString:vy,noop:fee,property:hee,bind:dee,once:pee,after:vee,before:mee,throttle:gee,debounce:yee,delay:wee,unserialize:bee,serialize:_ee,parseUrl:See,getBaseURL:xee,locat:Eee,browse:$ee,cookie:Oee});var Tee=q4;const De=Pe.getDefaultExportFromCjs(Tee);var fa=null,qh=null,Ei=null,my="z-index-manage",eo=null,gy="z-index-style",G4="m",X4="s",Xs={m:1e3,s:1e3};function Y0(){return fa||typeof document<"u"&&(fa=document),fa}function K4(){return fa&&!qh&&(qh=fa.body||fa.getElementsByTagName("body")[0]),qh}function Dee(){var e=0,t=Y0();if(t){var r=K4();if(r)for(var n=r.getElementsByTagName("*"),i=0;i<n.length;i++){var o=n[i];if(o&&o.style&&o.nodeType===1){var a=o.style.zIndex;a&&/^\d+$/.test(a)&&(e=Math.max(e,Number(a)))}}}return e}function Mee(){if(!eo){var e=Y0();e&&(eo=e.getElementById(gy),eo||(eo=e.createElement("style"),eo.id=gy,e.getElementsByTagName("head")[0].appendChild(eo)))}return eo}function Z4(){var e=Mee();if(e){var t="--dom-",r="-z-index";e.innerHTML=":root{"+t+"main"+r+":"+tf()+";"+t+"sub"+r+":"+H0()+"}"}}function J4(){if(!Ei){var e=Y0();if(e&&(Ei=e.getElementById(my),!Ei)){var t=K4();t&&(Ei=e.createElement("div"),Ei.id=my,Ei.style.display="none",t.appendChild(Ei),W0(Xs.m),U0(Xs.s))}}return Ei}function Q4(e){return function(t){if(t){t=Number(t),Xs[e]=t;var r=J4();r&&(r.dataset?r.dataset[e]=t+"":r.setAttribute("data-"+e,t+""))}return Z4(),Xs[e]}}var W0=Q4(G4);function e3(e,t){return function(n){var i,o=J4();if(o){var a=o.dataset?o.dataset[e]:o.getAttribute("data-"+e);a&&(i=Number(a))}return i||(i=Xs[e]),n?Number(n)<i?t():n:i}}var tf=e3(G4,t3);function t3(){return W0(tf()+1)}var U0=Q4(X4),r3=e3(X4,n3);function H0(){return tf()+r3()}function n3(){return U0(r3()+1),H0()}var i3={setCurrent:W0,getCurrent:tf,getNext:t3,setSubCurrent:U0,getSubCurrent:H0,getSubNext:n3,getMax:Dee};Z4();const Pa={size:"",version:1,zIndex:999,resizeInterval:500},o3={theme:""};function rf(e){const t=!e||e==="default"?"light":e;if(o3.theme=t,typeof document<"u"){const r=document.documentElement;r&&r.setAttribute("data-vxe-ui-theme",t)}return Zi}function a3(){return o3.theme}function s3(e){return e&&(e.zIndex&&i3.setCurrent(e.zIndex),e.theme&&rf(e.theme),De.merge(Pa,e)),Zi}function u3(e,t){return arguments.length?De.get(Pa,e,t):Pa}const l3={},ap={};function z0(e){return De.isArray(e)?e:e?[e]:[]}function c3(e){return e&&Object.assign(ap,e),Zi}function j0(e){return arguments.length?De.get(ap,e):ap}function f3(e){const t=j0(e);return V0(t,e)}function V0(e,t){return De.isFunction(e)?b.h("span",{},z0(e({name:t}))):b.h("i",{class:e})}const $i={F2:"F2",ESCAPE:"Escape",ENTER:"Enter",TAB:"Tab",DELETE:"Delete",BACKSPACE:"Backspace",SPACEBAR:" ",CONTEXT_MENU:"ContextMenu",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",Control:"Control",R:"R",P:"P",Z:"Z",X:"X",C:"C",V:"V",M:"M"},sp=De.browse(),yy={" ":"Spacebar",Apps:$i.CONTEXT_MENU,Del:$i.DELETE,Up:$i.ARROW_UP,Down:$i.ARROW_DOWN,Left:$i.ARROW_LEFT,Right:$i.ARROW_RIGHT},h3=sp.firefox?"DOMMouseScroll":"mousewheel",up=[];function zn(e){const t=e.type===h3;up.forEach(({type:r,cb:n})=>{e.cancelBubble||(r===e.type||t&&r==="mousewheel")&&n(e)})}class wy{constructor(t,r,n){Object.defineProperty(this,"$event",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"key",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:""}),this.$event=t,t&&(t.type&&(this.type=t.type),t.key&&(this.key=t.key),t.code&&(this.code=t.code)),Object.assign(this,r),De.objectEach(n,(i,o)=>{if(De.isFunction(i)){let a=null,s=!1;Object.defineProperty(this,o,{get(){return s||(s=!0,a=i()),a}})}else this[o]=i})}stopPropagation(){const t=this.$event;t&&t.stopPropagation()}preventDefault(){const t=this.$event;t&&t.preventDefault()}}const d3=(e,t,r)=>(e instanceof wy&&(e=e.$event),new wy(e,t,r)),p3={on(e,t,r){up.push({comp:e,type:t,cb:r})},off(e,t){De.remove(up,r=>r.comp===e&&r.type===t)},hasKey(e,t){const{key:r}=e;return t=t.toLowerCase(),r?t===r.toLowerCase()||!!(yy[r]&&yy[r].toLowerCase()===t):!1}};sp.isDoc&&(sp.msie||(window.addEventListener("copy",zn,!1),window.addEventListener("cut",zn,!1),window.addEventListener("paste",zn,!1)),document.addEventListener("keydown",zn,!1),document.addEventListener("contextmenu",zn,!1),window.addEventListener("mousedown",zn,!1),window.addEventListener("blur",zn,!1),window.addEventListener("resize",zn,!1),window.addEventListener(h3,De.throttle(zn,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1}));let by;const lo=[],Aee=500;function Cee(){lo.length&&(lo.forEach(e=>{e.tarList.forEach(t=>{const{target:r,width:n,heighe:i}=t,o=r.clientWidth,a=r.clientHeight;(o&&n!==o||a&&i!==a)&&(t.width=o,t.heighe=a,setTimeout(e.callback))})}),v3())}function v3(){clearTimeout(by),by=setTimeout(Cee,Pa.resizeInterval||Aee)}class Pee{constructor(t){Object.defineProperty(this,"tarList",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"callback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.callback=t}observe(t){if(t){const{tarList:r}=this;r.some(n=>n.target===t)||r.push({target:t,width:t.clientWidth,heighe:t.clientHeight}),lo.length||v3(),lo.some(n=>n===this)||lo.push(this)}}unobserve(t){De.remove(lo,r=>r.tarList.some(n=>n.target===t))}disconnect(){De.remove(lo,t=>t===this)}}const m3={create(e){return window.ResizeObserver?new window.ResizeObserver(e):new Pee(e)}},ka=b.reactive({language:"",langMaps:{}});let _y=!1,Pl={};function q0(e,t){const{langMaps:r,language:n}=ka,{i18n:i}=Pa;if(i)return`${i(e,t)||""}`;if(_y||(r[n]||console.error(`[vxe core] 语言包未安装。Language not installed. https://${Zi.uiVersion?"vxeui.com":"vxetable.cn"}/#/start/i18n`),_y=!0),!t&&Pl[e])return Pl[e];const o=De.toFormatString(De.get(r[n],e,e),t);return t||(Pl[e]=o),o}function g3(e){const{language:t}=ka,r=e||"zh-CN";return t!==r&&(ka.language=r,Pl={}),Zi}function y3(e,t){return ka.langMaps[e]=Object.assign({},t),Zi}function w3(e){const{langMaps:t}=ka;return!!t[e]}function b3(){const{language:e}=ka;return e}function Gh(e,t){return function(r,n){const i=`[vxe ${t||""}] ${q0(r,n)}`;return console[e](i),i}}const Sy="4.2.14",tn={create:Gh,warn:Gh("warn",`v${Sy}`),err:Gh("error",`v${Sy}`)},ls={},co={mixin(e){return De.each(e,(t,r)=>co.add(r,t)),co},get(e){return ls[e]||null},add(e,t){if(e&&t){const r=ls[e];r?(De.each(t,(n,i)=>{!De.eqNull(r[i])&&r[i]!==n&&tn.warn("vxe.error.coverProp",[`Renderer.${e}`,i])}),Object.assign(r,t)):ls[e]=t}return co},forEach(e){return De.objectEach(ls,e),co},delete(e){return delete ls[e],co}};class _3{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return De.each(t,(r,n)=>{this.add(n,r)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,r){const n=this.store[t],i=De.keys(n);return De.each(r,(o,a)=>{i.includes(a)&&tn.warn("vxe.error.coverProp",[t,a])}),this.store[t]=n?De.merge(n,r):r,this}delete(t){delete this.store[t]}forEach(t){De.objectEach(this.store,t)}}const G0=new _3;Object.assign(G0,{_name:"Validators"});class kee{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return De.each(t,(r,n)=>{this.add(n,r)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,r){const n=this.store[t];De.isFunction(r)&&(tn.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),r={menuMethod:r});const i=De.keys(n);return De.each(r,(o,a)=>{i.includes(a)&&tn.warn("vxe.error.coverProp",[t,a])}),this.store[t]=n?De.merge(n,r):r,this}delete(t){delete this.store[t]}forEach(t){De.objectEach(this.store,t)}}const X0=new kee;Object.assign(X0,{_name:"Menus"});class Nee{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return De.each(t,(r,n)=>{this.add(n,r)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,r){const n=this.store[t];De.isFunction(r)&&(tn.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),r={cellFormatMethod:r});const i=De.keys(n);return De.each(r,(o,a)=>{i.includes(a)&&tn.warn("vxe.error.coverProp",[t,a])}),this.store[t]=n?De.merge(n,r):r,this}delete(t){delete this.store[t]}forEach(t){De.objectEach(this.store,t)}}const K0=new Nee;Object.assign(K0,{_name:"Formats"});class Iee{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return De.each(t,(r,n)=>{this.add(n,r)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,r){const n=this.store[t];De.isFunction(r)&&(tn.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),r={commandMethod:r});const i=De.keys(n);return De.each(r,(o,a)=>{i.includes(a)&&tn.warn("vxe.error.coverProp",[t,a])}),this.store[t]=n?De.merge(n,r):r,this}delete(t){delete this.store[t]}forEach(t){De.objectEach(this.store,t)}}const Z0=new Iee;Object.assign(Z0,{_name:"Commands"});const cs={},Ds={mixin(e){return De.each(e,(t,r)=>{Ds.add(r,t)}),Ds},get(e){return e?cs[e]||[]:[]},add(e,t){De.isFunction(t)&&(t={tableInterceptorMethod:t});const r=t.tableInterceptorMethod;if(r){let n=cs[e];n||(n=cs[e]=[]),n.indexOf(r)>-1&&tn.warn("vxe.error.coverProp",["Interceptor",e]),n.push(r)}return Ds},delete(e,t){const r=cs[e];if(r){De.isFunction(t)&&(t={tableInterceptorMethod:t});const n=t?t.tableInterceptorMethod:null;n?De.remove(r,i=>i===n):delete cs[e]}}};let yn;const fs={text:"",html:""};function Ree(e){if(!yn){yn=document.createElement("textarea"),yn.id="$VxeCopy";const t=yn.style;t.width="48px",t.height="24px",t.position="fixed",t.zIndex="0",t.left="-500px",t.top="-500px",document.body.appendChild(yn)}yn.value=e}const S3={getStore(){return fs},setStore(e){Object.assign(fs,e||{})},copy(e){let t=!1;try{const r=De.toValueString(e);Ree(r),yn.select(),yn.setSelectionRange(0,yn.value.length),t=document.execCommand("copy"),yn.blur(),fs.text=r,fs.html=""}catch{}return t},getText(){return fs.text||""}};function Ms(e,t){let r=!0,n=!1;const i=t||Pa.permissionMethod;if(e&&i){r=!1,n=!0;let a=!1,s=!1;const u=String(e).split("|");for(let l=0;l<u.length;l++){const f=u[l];let c=!0,h=!1;const d=i({code:f});if(De.isBoolean(d)?c=d:d&&(c=!!d.visible,h=!!d.disabled),!h&&!s&&(s=!0,n=h),c&&!a&&(a=!0,r=c),a&&s)break}}return{code:e,visible:r,disabled:n}}const x3={getCheckInfo(e){return Ms(e)},checkVisible(e){return Ms(e).visible},checkDisable(e){return Ms(e).disabled}},E3=new _3;function O3(e){const t=b.inject("xeSizeInfo",null),r=b.computed(()=>e.size||(t?t.value:null));return b.provide("xeSizeInfo",r),{computeSize:r}}function $3(e){return{computePermissionInfo:b.computed(()=>Ms(e.permissionCode,e.permissionMethod))}}const T3={useSize:O3,usePermission:$3},xy=[];function D3(e,t){return e&&e.install&&xy.indexOf(e)===-1&&(e.install(lp,t),xy.push(e)),lp}const ac={};function M3(e){return ac[e]||null}function A3(e){return!!ac[e]}function C3(e){e&&e.name&&(ac[e.name]=e,ac[De.kebabCase(e.name)]=e)}function P3(){return b.createCommentVNode()}function k3(e,t,r){if(e){const n=`${e}`.match(/(\d+).(\d+).(\d+)/);if(n){const i=De.toNumber(n[1]);if(r){const o=De.toNumber(n[2]);return i>=t&&o>=r}return i>=t}}return!1}const lp=Object.assign(Zi,{renderEmptyElement:P3,setTheme:rf,getTheme:a3,setConfig:s3,getConfig:u3,setIcon:c3,getIcon:j0,renderGlobalIcon:f3,renderCustomIcon:V0,setLanguage:g3,hasLanguage:w3,getLanguage:b3,setI18n:y3,getI18n:q0,globalEvents:p3,GLOBAL_EVENT_KEYS:$i,createEvent:d3,globalResize:m3,renderer:co,validators:G0,menus:X0,formats:K0,commands:Z0,interceptor:Ds,clipboard:S3,log:tn,permission:x3,globalStore:l3,hooks:E3,component:C3,getComponent:M3,hasComponent:A3,useFns:T3,getSlotVNs:z0,checkVersion:k3,use:D3});rf();function Cu(e){return b.getCurrentScope()?(b.onScopeDispose(e),!0):!1}function ei(e){return typeof e=="function"?e():b.unref(e)}const nf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Fee=e=>e!=null,Lee=Object.prototype.toString,Bee=e=>Lee.call(e)==="[object Object]",kl=()=>{},Yee=Wee();function Wee(){var e,t;return nf&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Uee(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{const n=t;t=void 0,n&&await n},r}function Hee(e){return b.getCurrentInstance()}function N3(e,t=!0,r){Hee()?b.onMounted(e,r):t?e():b.nextTick(e)}function zee(e,t,r){const n=b.watch(e,(...i)=>(b.nextTick(()=>n()),t(...i)),r);return n}const Hr=nf?window:void 0,jee=nf?window.document:void 0,J0=nf?window.navigator:void 0;function sr(e){var t;const r=ei(e);return(t=r==null?void 0:r.$el)!=null?t:r}function gt(...e){let t,r,n,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,n,i]=e,t=Hr):[t,r,n,i]=e,!t)return kl;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const o=[],a=()=>{o.forEach(f=>f()),o.length=0},s=(f,c,h,d)=>(f.addEventListener(c,h,d),()=>f.removeEventListener(c,h,d)),u=b.watch(()=>[sr(t),ei(i)],([f,c])=>{if(a(),!f)return;const h=Bee(c)?{...c}:c;o.push(...r.flatMap(d=>n.map(p=>s(f,d,p,h))))},{immediate:!0,flush:"post"}),l=()=>{u(),a()};return Cu(l),l}let Ey=!1;function Vee(e,t,r={}){const{window:n=Hr,ignore:i=[],capture:o=!0,detectIframe:a=!1}=r;if(!n)return kl;Yee&&!Ey&&(Ey=!0,Array.from(n.document.body.children).forEach(v=>v.addEventListener("click",kl)),n.document.documentElement.addEventListener("click",kl));let s=!0;const u=v=>ei(i).some(g=>{if(typeof g=="string")return Array.from(n.document.querySelectorAll(g)).some(m=>m===v.target||v.composedPath().includes(m));{const m=sr(g);return m&&(v.target===m||v.composedPath().includes(m))}});function l(v){const g=ei(v);return g&&g.$.subTree.shapeFlag===16}function f(v,g){const m=ei(v),O=m.$.subTree&&m.$.subTree.children;return O==null||!Array.isArray(O)?!1:O.some(y=>y.el===g.target||g.composedPath().includes(y.el))}const c=v=>{const g=sr(e);if(v.target!=null&&!(!(g instanceof Element)&&l(e)&&f(e,v))&&!(!g||g===v.target||v.composedPath().includes(g))){if(v.detail===0&&(s=!u(v)),!s){s=!0;return}t(v)}};let h=!1;const d=[gt(n,"click",v=>{h||(h=!0,setTimeout(()=>{h=!1},0),c(v))},{passive:!0,capture:o}),gt(n,"pointerdown",v=>{const g=sr(e);s=!u(v)&&!!(g&&!v.composedPath().includes(g))},{passive:!0}),a&&gt(n,"blur",v=>{setTimeout(()=>{var g;const m=sr(e);((g=n.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(m!=null&&m.contains(n.document.activeElement))&&t(v)},0)})].filter(Boolean);return()=>d.forEach(v=>v())}function qee(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Gee(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:i=Hr,eventName:o="keydown",passive:a=!1,dedupe:s=!1}=n,u=qee(t);return gt(i,o,f=>{f.repeat&&ei(s)||u(f)&&r(f)},a)}function Xee(){const e=b.ref(!1),t=b.getCurrentInstance();return t&&b.onMounted(()=>{e.value=!0},t),e}function Xa(e){const t=Xee();return b.computed(()=>(t.value,!!e()))}function Kee(e,t,r={}){const{window:n=Hr,...i}=r;let o;const a=Xa(()=>n&&"MutationObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},u=b.computed(()=>{const h=ei(e),d=(Array.isArray(h)?h:[h]).map(sr).filter(Fee);return new Set(d)}),l=b.watch(()=>u.value,h=>{s(),a.value&&h.size&&(o=new MutationObserver(t),h.forEach(d=>o.observe(d,i)))},{immediate:!0,flush:"post"}),f=()=>o==null?void 0:o.takeRecords(),c=()=>{l(),s()};return Cu(c),{isSupported:a,stop:c,takeRecords:f}}function Zee(e={}){var t;const{window:r=Hr,deep:n=!0,triggerOnRemoval:i=!1}=e,o=(t=e.document)!=null?t:r==null?void 0:r.document,a=()=>{var l;let f=o==null?void 0:o.activeElement;if(n)for(;f!=null&&f.shadowRoot;)f=(l=f==null?void 0:f.shadowRoot)==null?void 0:l.activeElement;return f},s=b.ref(),u=()=>{s.value=a()};return r&&(gt(r,"blur",l=>{l.relatedTarget===null&&u()},!0),gt(r,"focus",u,!0)),i&&Kee(o,l=>{l.filter(f=>f.removedNodes.length).map(f=>Array.from(f.removedNodes)).flat().forEach(f=>{f===s.value&&u()})},{childList:!0,subtree:!0}),u(),s}function Jee(e,t={}){const{window:r=Hr}=t,n=Xa(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let i;const o=b.ref(!1),a=l=>{o.value=l.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},u=b.watchEffect(()=>{n.value&&(s(),i=r.matchMedia(ei(e)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),o.value=i.matches)});return Cu(()=>{u(),s(),i=void 0}),o}function Qee(e,t={}){const{controls:r=!1,navigator:n=J0}=t,i=Xa(()=>n&&"permissions"in n),o=b.shallowRef(),a={name:e},s=b.shallowRef(),u=()=>{var f,c;s.value=(c=(f=o.value)==null?void 0:f.state)!=null?c:"prompt"};gt(o,"change",u);const l=Uee(async()=>{if(i.value){if(!o.value)try{o.value=await n.permissions.query(a)}catch{o.value=void 0}finally{u()}if(r)return b.toRaw(o.value)}});return l(),r?{state:s,isSupported:i,query:l}:s}function ete(e={}){const{navigator:t=J0,requestPermissions:r=!1,constraints:n={audio:!0,video:!0},onUpdated:i}=e,o=b.ref([]),a=b.computed(()=>o.value.filter(p=>p.kind==="videoinput")),s=b.computed(()=>o.value.filter(p=>p.kind==="audioinput")),u=b.computed(()=>o.value.filter(p=>p.kind==="audiooutput")),l=Xa(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=b.ref(!1);let c;async function h(){l.value&&(o.value=await t.mediaDevices.enumerateDevices(),i==null||i(o.value),c&&(c.getTracks().forEach(p=>p.stop()),c=null))}async function d(){if(!l.value)return!1;if(f.value)return!0;const{state:p,query:v}=Qee("camera",{controls:!0});if(await v(),p.value!=="granted"){let g=!0;try{c=await t.mediaDevices.getUserMedia(n)}catch{c=null,g=!1}h(),f.value=g}else f.value=!0;return f.value}return l.value&&(r&&d(),gt(t.mediaDevices,"devicechange",h),h()),{devices:o,ensurePermissions:d,permissionGranted:f,videoInputs:a,audioInputs:s,audioOutputs:u,isSupported:l}}function tte(e={}){const{document:t=jee}=e;if(!t)return b.ref("visible");const r=b.ref(t.visibilityState);return gt(t,"visibilitychange",()=>{r.value=t.visibilityState}),r}function rte(e,t,r={}){const{window:n=Hr,...i}=r;let o;const a=Xa(()=>n&&"ResizeObserver"in n),s=()=>{o&&(o.disconnect(),o=void 0)},u=b.computed(()=>{const c=ei(e);return Array.isArray(c)?c.map(h=>sr(h)):[sr(c)]}),l=b.watch(u,c=>{if(s(),a.value&&n){o=new ResizeObserver(t);for(const h of c)h&&o.observe(h,i)}},{immediate:!0,flush:"post"}),f=()=>{s(),l()};return Cu(f),{isSupported:a,stop:f}}function nte(e,t={width:0,height:0},r={}){const{window:n=Hr,box:i="content-box"}=r,o=b.computed(()=>{var c,h;return(h=(c=sr(e))==null?void 0:c.namespaceURI)==null?void 0:h.includes("svg")}),a=b.ref(t.width),s=b.ref(t.height),{stop:u}=rte(e,([c])=>{const h=i==="border-box"?c.borderBoxSize:i==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(n&&o.value){const d=sr(e);if(d){const p=d.getBoundingClientRect();a.value=p.width,s.value=p.height}}else if(h){const d=Array.isArray(h)?h:[h];a.value=d.reduce((p,{inlineSize:v})=>p+v,0),s.value=d.reduce((p,{blockSize:v})=>p+v,0)}else a.value=c.contentRect.width,s.value=c.contentRect.height},r);N3(()=>{const c=sr(e);c&&(a.value="offsetWidth"in c?c.offsetWidth:t.width,s.value="offsetHeight"in c?c.offsetHeight:t.height)});const l=b.watch(()=>sr(e),c=>{a.value=c?t.width:0,s.value=c?t.height:0});function f(){u(),l()}return{width:a,height:s,stop:f}}const ite={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function ote(e={}){const{type:t="page",touch:r=!0,resetOnTouchEnds:n=!1,initialValue:i={x:0,y:0},window:o=Hr,target:a=o,scroll:s=!0,eventFilter:u}=e;let l=null,f=0,c=0;const h=b.ref(i.x),d=b.ref(i.y),p=b.ref(null),v=typeof t=="function"?t:ite[t],g=T=>{const C=v(T);l=T,C&&([h.value,d.value]=C,p.value="mouse"),o&&(f=o.scrollX,c=o.scrollY)},m=T=>{if(T.touches.length>0){const C=v(T.touches[0]);C&&([h.value,d.value]=C,p.value="touch")}},O=()=>{if(!l||!o)return;const T=v(l);l instanceof MouseEvent&&T&&(h.value=T[0]+o.scrollX-f,d.value=T[1]+o.scrollY-c)},y=()=>{h.value=i.x,d.value=i.y},S=u?T=>u(()=>g(T),{}):T=>g(T),_=u?T=>u(()=>m(T),{}):T=>m(T),x=u?()=>u(()=>O(),{}):()=>O();if(a){const T={passive:!0};gt(a,["mousemove","dragover"],S,T),r&&t!=="movement"&&(gt(a,["touchstart","touchmove"],_,T),n&&gt(a,"touchend",y,T)),s&&t==="page"&&gt(o,"scroll",x,{passive:!0})}return{x:h,y:d,sourceType:p}}function ate(e,t={}){const{handleOutside:r=!0,window:n=Hr}=t,i=t.type||"page",{x:o,y:a,sourceType:s}=ote(t),u=b.ref(e??(n==null?void 0:n.document.body)),l=b.ref(0),f=b.ref(0),c=b.ref(0),h=b.ref(0),d=b.ref(0),p=b.ref(0),v=b.ref(!0);let g=()=>{};return n&&(g=b.watch([u,o,a],()=>{const m=sr(u);if(!m||!(m instanceof Element))return;const{left:O,top:y,width:S,height:_}=m.getBoundingClientRect();c.value=O+(i==="page"?n.pageXOffset:0),h.value=y+(i==="page"?n.pageYOffset:0),d.value=_,p.value=S;const x=o.value-c.value,T=a.value-h.value;v.value=S===0||_===0||x<0||T<0||x>S||T>_,(r||!v.value)&&(l.value=x,f.value=T)},{immediate:!0}),gt(document,"mouseleave",()=>{v.value=!0})),{x:o,y:a,sourceType:s,elementX:l,elementY:f,elementPositionX:c,elementPositionY:h,elementHeight:d,elementWidth:p,isOutside:v,stop:g}}function ste(e={}){const{touch:t=!0,drag:r=!0,capture:n=!1,initialValue:i=!1,window:o=Hr}=e,a=b.ref(i),s=b.ref(null);if(!o)return{pressed:a,sourceType:s};const u=c=>()=>{a.value=!0,s.value=c},l=()=>{a.value=!1,s.value=null},f=b.computed(()=>sr(e.target)||o);return gt(f,"mousedown",u("mouse"),{passive:!0,capture:n}),gt(o,"mouseleave",l,{passive:!0,capture:n}),gt(o,"mouseup",l,{passive:!0,capture:n}),r&&(gt(f,"dragstart",u("mouse"),{passive:!0,capture:n}),gt(o,"drop",l,{passive:!0,capture:n}),gt(o,"dragend",l,{passive:!0,capture:n})),t&&(gt(f,"touchstart",u("touch"),{passive:!0,capture:n}),gt(o,"touchend",l,{passive:!0,capture:n}),gt(o,"touchcancel",l,{passive:!0,capture:n})),{pressed:a,sourceType:s}}function ute(e={}){var t,r;const n=b.ref((t=e.enabled)!=null?t:!1),i=b.ref((r=e.autoSwitch)!=null?r:!0),o=b.ref(e.constraints),{navigator:a=J0}=e,s=Xa(()=>{var v;return(v=a==null?void 0:a.mediaDevices)==null?void 0:v.getUserMedia}),u=b.shallowRef();function l(v){switch(v){case"video":{if(o.value)return o.value.video||!1;break}case"audio":{if(o.value)return o.value.audio||!1;break}}}async function f(){if(!(!s.value||u.value))return u.value=await a.mediaDevices.getUserMedia({video:l("video"),audio:l("audio")}),u.value}function c(){var v;(v=u.value)==null||v.getTracks().forEach(g=>g.stop()),u.value=void 0}function h(){c(),n.value=!1}async function d(){return await f(),u.value&&(n.value=!0),u.value}async function p(){return c(),await d()}return b.watch(n,v=>{v?f():c()},{immediate:!0}),b.watch(o,()=>{i.value&&u.value&&p()},{immediate:!0}),Cu(()=>{h()}),{isSupported:s,stream:u,start:d,stop:h,restart:p,constraints:o,enabled:n,autoSwitch:i}}function lte(e={}){const{window:t=Hr,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:o=!0,type:a="inner"}=e,s=b.ref(r),u=b.ref(n),l=()=>{t&&(a==="outer"?(s.value=t.outerWidth,u.value=t.outerHeight):o?(s.value=t.innerWidth,u.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};if(l(),N3(l),gt("resize",l,{passive:!0}),i){const f=Jee("(orientation: portrait)");b.watch(f,()=>l())}return{width:s,height:u}}//! moment.js
67
+ //! version : 2.30.1
68
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
69
+ //! license : MIT
70
+ //! momentjs.com
71
+ var I3;function pe(){return I3.apply(null,arguments)}function cte(e){I3=e}function rn(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function xo(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ge(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Q0(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Ge(e,t))return!1;return!0}function ar(e){return e===void 0}function ai(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Pu(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function R3(e,t){var r=[],n,i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function Ri(e,t){for(var r in t)Ge(t,r)&&(e[r]=t[r]);return Ge(t,"toString")&&(e.toString=t.toString),Ge(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ln(e,t,r,n){return oS(e,t,r,n,!0).utc()}function fte(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Ie(e){return e._pf==null&&(e._pf=fte()),e._pf}var cp;Array.prototype.some?cp=Array.prototype.some:cp=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function ev(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=Ie(e),r=cp.call(t.parsedDateParts,function(i){return i!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function of(e){var t=Ln(NaN);return e!=null?Ri(Ie(t),e):Ie(t).userInvalidated=!0,t}var Oy=pe.momentProperties=[],Xh=!1;function tv(e,t){var r,n,i,o=Oy.length;if(ar(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ar(t._i)||(e._i=t._i),ar(t._f)||(e._f=t._f),ar(t._l)||(e._l=t._l),ar(t._strict)||(e._strict=t._strict),ar(t._tzm)||(e._tzm=t._tzm),ar(t._isUTC)||(e._isUTC=t._isUTC),ar(t._offset)||(e._offset=t._offset),ar(t._pf)||(e._pf=Ie(t)),ar(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)n=Oy[r],i=t[n],ar(i)||(e[n]=i);return e}function ku(e){tv(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Xh===!1&&(Xh=!0,pe.updateOffset(this),Xh=!1)}function nn(e){return e instanceof ku||e!=null&&e._isAMomentObject!=null}function F3(e){pe.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function zr(e,t){var r=!0;return Ri(function(){if(pe.deprecationHandler!=null&&pe.deprecationHandler(null,e),r){var n=[],i,o,a,s=arguments.length;for(o=0;o<s;o++){if(i="",typeof arguments[o]=="object"){i+=`
72
+ [`+o+"] ";for(a in arguments[0])Ge(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];n.push(i)}F3(e+`
73
+ Arguments: `+Array.prototype.slice.call(n).join("")+`
74
+ `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var $y={};function L3(e,t){pe.deprecationHandler!=null&&pe.deprecationHandler(e,t),$y[e]||(F3(t),$y[e]=!0)}pe.suppressDeprecationWarnings=!1;pe.deprecationHandler=null;function Bn(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function hte(e){var t,r;for(r in e)Ge(e,r)&&(t=e[r],Bn(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function fp(e,t){var r=Ri({},e),n;for(n in t)Ge(t,n)&&(xo(e[n])&&xo(t[n])?(r[n]={},Ri(r[n],e[n]),Ri(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)Ge(e,n)&&!Ge(t,n)&&xo(e[n])&&(r[n]=Ri({},r[n]));return r}function rv(e){e!=null&&this.set(e)}var hp;Object.keys?hp=Object.keys:hp=function(e){var t,r=[];for(t in e)Ge(e,t)&&r.push(t);return r};var dte={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function pte(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return Bn(n)?n.call(t,r):n}function Cn(e,t,r){var n=""+Math.abs(e),i=t-n.length,o=e>=0;return(o?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var nv=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,sl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Kh={},ha={};function Ee(e,t,r,n){var i=n;typeof n=="string"&&(i=function(){return this[n]()}),e&&(ha[e]=i),t&&(ha[t[0]]=function(){return Cn(i.apply(this,arguments),t[1],t[2])}),r&&(ha[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function vte(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function mte(e){var t=e.match(nv),r,n;for(r=0,n=t.length;r<n;r++)ha[t[r]]?t[r]=ha[t[r]]:t[r]=vte(t[r]);return function(i){var o="",a;for(a=0;a<n;a++)o+=Bn(t[a])?t[a].call(i,e):t[a];return o}}function Nl(e,t){return e.isValid()?(t=B3(t,e.localeData()),Kh[t]=Kh[t]||mte(t),Kh[t](e)):e.localeData().invalidDate()}function B3(e,t){var r=5;function n(i){return t.longDateFormat(i)||i}for(sl.lastIndex=0;r>=0&&sl.test(e);)e=e.replace(sl,n),sl.lastIndex=0,r-=1;return e}var gte={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function yte(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(nv).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var wte="Invalid date";function bte(){return this._invalidDate}var _te="%d",Ste=/\d{1,2}/;function xte(e){return this._ordinal.replace("%d",e)}var Ete={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ote(e,t,r,n){var i=this._relativeTime[r];return Bn(i)?i(e,t,r,n):i.replace(/%d/i,e)}function $te(e,t){var r=this._relativeTime[e>0?"future":"past"];return Bn(r)?r(t):r.replace(/%s/i,t)}var Ty={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function jr(e){return typeof e=="string"?Ty[e]||Ty[e.toLowerCase()]:void 0}function iv(e){var t={},r,n;for(n in e)Ge(e,n)&&(r=jr(n),r&&(t[r]=e[n]));return t}var Tte={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Dte(e){var t=[],r;for(r in e)Ge(e,r)&&t.push({unit:r,priority:Tte[r]});return t.sort(function(n,i){return n.priority-i.priority}),t}var Y3=/\d/,Tr=/\d\d/,W3=/\d{3}/,ov=/\d{4}/,af=/[+-]?\d{6}/,pt=/\d\d?/,U3=/\d\d\d\d?/,H3=/\d\d\d\d\d\d?/,sf=/\d{1,3}/,av=/\d{1,4}/,uf=/[+-]?\d{1,6}/,Ka=/\d+/,lf=/[+-]?\d+/,Mte=/Z|[+-]\d\d:?\d\d/gi,cf=/Z|[+-]\d\d(?::?\d\d)?/gi,Ate=/[+-]?\d+(\.\d{1,3})?/,Nu=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Za=/^[1-9]\d?/,sv=/^([1-9]\d|\d)/,sc;sc={};function ge(e,t,r){sc[e]=Bn(t)?t:function(n,i){return n&&r?r:t}}function Cte(e,t){return Ge(sc,e)?sc[e](t._strict,t._locale):new RegExp(Pte(e))}function Pte(e){return ti(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,i,o){return r||n||i||o}))}function ti(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function kr(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ue(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=kr(t)),r}var dp={};function at(e,t){var r,n=t,i;for(typeof e=="string"&&(e=[e]),ai(t)&&(n=function(o,a){a[t]=Ue(o)}),i=e.length,r=0;r<i;r++)dp[e[r]]=n}function Iu(e,t){at(e,function(r,n,i,o){i._w=i._w||{},t(r,i._w,i,o)})}function kte(e,t,r){t!=null&&Ge(dp,e)&&dp[e](t,r._a,r,e)}function ff(e){return e%4===0&&e%100!==0||e%400===0}var Xt=0,Jn=1,wn=2,It=3,Kr=4,Qn=5,vo=6,Nte=7,Ite=8;Ee("Y",0,0,function(){var e=this.year();return e<=9999?Cn(e,4):"+"+e});Ee(0,["YY",2],0,function(){return this.year()%100});Ee(0,["YYYY",4],0,"year");Ee(0,["YYYYY",5],0,"year");Ee(0,["YYYYYY",6,!0],0,"year");ge("Y",lf);ge("YY",pt,Tr);ge("YYYY",av,ov);ge("YYYYY",uf,af);ge("YYYYYY",uf,af);at(["YYYYY","YYYYYY"],Xt);at("YYYY",function(e,t){t[Xt]=e.length===2?pe.parseTwoDigitYear(e):Ue(e)});at("YY",function(e,t){t[Xt]=pe.parseTwoDigitYear(e)});at("Y",function(e,t){t[Xt]=parseInt(e,10)});function As(e){return ff(e)?366:365}pe.parseTwoDigitYear=function(e){return Ue(e)+(Ue(e)>68?1900:2e3)};var z3=Ja("FullYear",!0);function Rte(){return ff(this.year())}function Ja(e,t){return function(r){return r!=null?(j3(this,e,r),pe.updateOffset(this,t),this):Ks(this,e)}}function Ks(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function j3(e,t,r){var n,i,o,a,s;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,a=e.month(),s=e.date(),s=s===29&&a===1&&!ff(o)?28:s,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function Fte(e){return e=jr(e),Bn(this[e])?this[e]():this}function Lte(e,t){if(typeof e=="object"){e=iv(e);var r=Dte(e),n,i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=jr(e),Bn(this[e]))return this[e](t);return this}function Bte(e,t){return(e%t+t)%t}var Ot;Array.prototype.indexOf?Ot=Array.prototype.indexOf:Ot=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function uv(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Bte(t,12);return e+=(t-r)/12,r===1?ff(e)?29:28:31-r%7%2}Ee("M",["MM",2],"Mo",function(){return this.month()+1});Ee("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});Ee("MMMM",0,0,function(e){return this.localeData().months(this,e)});ge("M",pt,Za);ge("MM",pt,Tr);ge("MMM",function(e,t){return t.monthsShortRegex(e)});ge("MMMM",function(e,t){return t.monthsRegex(e)});at(["M","MM"],function(e,t){t[Jn]=Ue(e)-1});at(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);i!=null?t[Jn]=i:Ie(r).invalidMonth=e});var Yte="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),V3="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),q3=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Wte=Nu,Ute=Nu;function Hte(e,t){return e?rn(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||q3).test(t)?"format":"standalone"][e.month()]:rn(this._months)?this._months:this._months.standalone}function zte(e,t){return e?rn(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[q3.test(t)?"format":"standalone"][e.month()]:rn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function jte(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=Ln([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?t==="MMM"?(i=Ot.call(this._shortMonthsParse,a),i!==-1?i:null):(i=Ot.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=Ot.call(this._shortMonthsParse,a),i!==-1?i:(i=Ot.call(this._longMonthsParse,a),i!==-1?i:null)):(i=Ot.call(this._longMonthsParse,a),i!==-1?i:(i=Ot.call(this._shortMonthsParse,a),i!==-1?i:null))}function Vte(e,t,r){var n,i,o;if(this._monthsParseExact)return jte.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=Ln([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function G3(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=Ue(t);else if(t=e.localeData().monthsParse(t),!ai(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,uv(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function X3(e){return e!=null?(G3(this,e),pe.updateOffset(this,!0),this):Ks(this,"Month")}function qte(){return uv(this.year(),this.month())}function Gte(e){return this._monthsParseExact?(Ge(this,"_monthsRegex")||K3.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ge(this,"_monthsShortRegex")||(this._monthsShortRegex=Wte),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Xte(e){return this._monthsParseExact?(Ge(this,"_monthsRegex")||K3.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ge(this,"_monthsRegex")||(this._monthsRegex=Ute),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function K3(){function e(u,l){return l.length-u.length}var t=[],r=[],n=[],i,o,a,s;for(i=0;i<12;i++)o=Ln([2e3,i]),a=ti(this.monthsShort(o,"")),s=ti(this.months(o,"")),t.push(a),r.push(s),n.push(s),n.push(a);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Kte(e,t,r,n,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,i,o,a),s}function Zs(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function uc(e,t,r){var n=7+t-r,i=(7+Zs(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Z3(e,t,r,n,i){var o=(7+r-n)%7,a=uc(e,n,i),s=1+7*(t-1)+o+a,u,l;return s<=0?(u=e-1,l=As(u)+s):s>As(e)?(u=e+1,l=s-As(e)):(u=e,l=s),{year:u,dayOfYear:l}}function Js(e,t,r){var n=uc(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,o,a;return i<1?(a=e.year()-1,o=i+ri(a,t,r)):i>ri(e.year(),t,r)?(o=i-ri(e.year(),t,r),a=e.year()+1):(a=e.year(),o=i),{week:o,year:a}}function ri(e,t,r){var n=uc(e,t,r),i=uc(e+1,t,r);return(As(e)-n+i)/7}Ee("w",["ww",2],"wo","week");Ee("W",["WW",2],"Wo","isoWeek");ge("w",pt,Za);ge("ww",pt,Tr);ge("W",pt,Za);ge("WW",pt,Tr);Iu(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=Ue(e)});function Zte(e){return Js(e,this._week.dow,this._week.doy).week}var Jte={dow:0,doy:6};function Qte(){return this._week.dow}function ere(){return this._week.doy}function tre(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function rre(e){var t=Js(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Ee("d",0,"do","day");Ee("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Ee("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Ee("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Ee("e",0,0,"weekday");Ee("E",0,0,"isoWeekday");ge("d",pt);ge("e",pt);ge("E",pt);ge("dd",function(e,t){return t.weekdaysMinRegex(e)});ge("ddd",function(e,t){return t.weekdaysShortRegex(e)});ge("dddd",function(e,t){return t.weekdaysRegex(e)});Iu(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);i!=null?t.d=i:Ie(r).invalidWeekday=e});Iu(["d","e","E"],function(e,t,r,n){t[n]=Ue(e)});function nre(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ire(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function lv(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ore="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),J3="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),are="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),sre=Nu,ure=Nu,lre=Nu;function cre(e,t){var r=rn(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?lv(r,this._week.dow):e?r[e.day()]:r}function fre(e){return e===!0?lv(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function hre(e){return e===!0?lv(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function dre(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=Ln([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?t==="dddd"?(i=Ot.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=Ot.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=Ot.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=Ot.call(this._weekdaysParse,a),i!==-1||(i=Ot.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=Ot.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=Ot.call(this._shortWeekdaysParse,a),i!==-1||(i=Ot.call(this._weekdaysParse,a),i!==-1)?i:(i=Ot.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=Ot.call(this._minWeekdaysParse,a),i!==-1||(i=Ot.call(this._weekdaysParse,a),i!==-1)?i:(i=Ot.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function pre(e,t,r){var n,i,o;if(this._weekdaysParseExact)return dre.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=Ln([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function vre(e){if(!this.isValid())return e!=null?this:NaN;var t=Ks(this,"Day");return e!=null?(e=nre(e,this.localeData()),this.add(e-t,"d")):t}function mre(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function gre(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ire(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function yre(e){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||cv.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ge(this,"_weekdaysRegex")||(this._weekdaysRegex=sre),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function wre(e){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||cv.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ge(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ure),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function bre(e){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||cv.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ge(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=lre),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function cv(){function e(f,c){return c.length-f.length}var t=[],r=[],n=[],i=[],o,a,s,u,l;for(o=0;o<7;o++)a=Ln([2e3,1]).day(o),s=ti(this.weekdaysMin(a,"")),u=ti(this.weekdaysShort(a,"")),l=ti(this.weekdays(a,"")),t.push(s),r.push(u),n.push(l),i.push(s),i.push(u),i.push(l);t.sort(e),r.sort(e),n.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function fv(){return this.hours()%12||12}function _re(){return this.hours()||24}Ee("H",["HH",2],0,"hour");Ee("h",["hh",2],0,fv);Ee("k",["kk",2],0,_re);Ee("hmm",0,0,function(){return""+fv.apply(this)+Cn(this.minutes(),2)});Ee("hmmss",0,0,function(){return""+fv.apply(this)+Cn(this.minutes(),2)+Cn(this.seconds(),2)});Ee("Hmm",0,0,function(){return""+this.hours()+Cn(this.minutes(),2)});Ee("Hmmss",0,0,function(){return""+this.hours()+Cn(this.minutes(),2)+Cn(this.seconds(),2)});function Q3(e,t){Ee(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Q3("a",!0);Q3("A",!1);function eS(e,t){return t._meridiemParse}ge("a",eS);ge("A",eS);ge("H",pt,sv);ge("h",pt,Za);ge("k",pt,Za);ge("HH",pt,Tr);ge("hh",pt,Tr);ge("kk",pt,Tr);ge("hmm",U3);ge("hmmss",H3);ge("Hmm",U3);ge("Hmmss",H3);at(["H","HH"],It);at(["k","kk"],function(e,t,r){var n=Ue(e);t[It]=n===24?0:n});at(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});at(["h","hh"],function(e,t,r){t[It]=Ue(e),Ie(r).bigHour=!0});at("hmm",function(e,t,r){var n=e.length-2;t[It]=Ue(e.substr(0,n)),t[Kr]=Ue(e.substr(n)),Ie(r).bigHour=!0});at("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[It]=Ue(e.substr(0,n)),t[Kr]=Ue(e.substr(n,2)),t[Qn]=Ue(e.substr(i)),Ie(r).bigHour=!0});at("Hmm",function(e,t,r){var n=e.length-2;t[It]=Ue(e.substr(0,n)),t[Kr]=Ue(e.substr(n))});at("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[It]=Ue(e.substr(0,n)),t[Kr]=Ue(e.substr(n,2)),t[Qn]=Ue(e.substr(i))});function Sre(e){return(e+"").toLowerCase().charAt(0)==="p"}var xre=/[ap]\.?m?\.?/i,Ere=Ja("Hours",!0);function Ore(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var tS={calendar:dte,longDateFormat:gte,invalidDate:wte,ordinal:_te,dayOfMonthOrdinalParse:Ste,relativeTime:Ete,months:Yte,monthsShort:V3,week:Jte,weekdays:ore,weekdaysMin:are,weekdaysShort:J3,meridiemParse:xre},mt={},hs={},Qs;function $re(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function Dy(e){return e&&e.toLowerCase().replace("_","-")}function Tre(e){for(var t=0,r,n,i,o;t<e.length;){for(o=Dy(e[t]).split("-"),r=o.length,n=Dy(e[t+1]),n=n?n.split("-"):null;r>0;){if(i=hf(o.slice(0,r).join("-")),i)return i;if(n&&n.length>=r&&$re(o,n)>=r-1)break;r--}t++}return Qs}function Dre(e){return!!(e&&e.match("^[^/\\\\]*$"))}function hf(e){var t=null,r;if(mt[e]===void 0&&typeof module<"u"&&module&&module.exports&&Dre(e))try{t=Qs._abbr,r=require,r("./locale/"+e),Yi(t)}catch{mt[e]=null}return mt[e]}function Yi(e,t){var r;return e&&(ar(t)?r=pi(e):r=hv(e,t),r?Qs=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qs._abbr}function hv(e,t){if(t!==null){var r,n=tS;if(t.abbr=e,mt[e]!=null)L3("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=mt[e]._config;else if(t.parentLocale!=null)if(mt[t.parentLocale]!=null)n=mt[t.parentLocale]._config;else if(r=hf(t.parentLocale),r!=null)n=r._config;else return hs[t.parentLocale]||(hs[t.parentLocale]=[]),hs[t.parentLocale].push({name:e,config:t}),null;return mt[e]=new rv(fp(n,t)),hs[e]&&hs[e].forEach(function(i){hv(i.name,i.config)}),Yi(e),mt[e]}else return delete mt[e],null}function Mre(e,t){if(t!=null){var r,n,i=tS;mt[e]!=null&&mt[e].parentLocale!=null?mt[e].set(fp(mt[e]._config,t)):(n=hf(e),n!=null&&(i=n._config),t=fp(i,t),n==null&&(t.abbr=e),r=new rv(t),r.parentLocale=mt[e],mt[e]=r),Yi(e)}else mt[e]!=null&&(mt[e].parentLocale!=null?(mt[e]=mt[e].parentLocale,e===Yi()&&Yi(e)):mt[e]!=null&&delete mt[e]);return mt[e]}function pi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qs;if(!rn(e)){if(t=hf(e),t)return t;e=[e]}return Tre(e)}function Are(){return hp(mt)}function dv(e){var t,r=e._a;return r&&Ie(e).overflow===-2&&(t=r[Jn]<0||r[Jn]>11?Jn:r[wn]<1||r[wn]>uv(r[Xt],r[Jn])?wn:r[It]<0||r[It]>24||r[It]===24&&(r[Kr]!==0||r[Qn]!==0||r[vo]!==0)?It:r[Kr]<0||r[Kr]>59?Kr:r[Qn]<0||r[Qn]>59?Qn:r[vo]<0||r[vo]>999?vo:-1,Ie(e)._overflowDayOfYear&&(t<Xt||t>wn)&&(t=wn),Ie(e)._overflowWeeks&&t===-1&&(t=Nte),Ie(e)._overflowWeekday&&t===-1&&(t=Ite),Ie(e).overflow=t),e}var Cre=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pre=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kre=/Z|[+-]\d\d(?::?\d\d)?/,ul=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Zh=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Nre=/^\/?Date\((-?\d+)/i,Ire=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Rre={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function rS(e){var t,r,n=e._i,i=Cre.exec(n)||Pre.exec(n),o,a,s,u,l=ul.length,f=Zh.length;if(i){for(Ie(e).iso=!0,t=0,r=l;t<r;t++)if(ul[t][1].exec(i[1])){a=ul[t][0],o=ul[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,r=f;t<r;t++)if(Zh[t][1].exec(i[3])){s=(i[2]||" ")+Zh[t][0];break}if(s==null){e._isValid=!1;return}}if(!o&&s!=null){e._isValid=!1;return}if(i[4])if(kre.exec(i[4]))u="Z";else{e._isValid=!1;return}e._f=a+(s||"")+(u||""),vv(e)}else e._isValid=!1}function Fre(e,t,r,n,i,o){var a=[Lre(e),V3.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Lre(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Bre(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Yre(e,t,r){if(e){var n=J3.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return Ie(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Wre(e,t,r){if(e)return Rre[e];if(t)return 0;var n=parseInt(r,10),i=n%100,o=(n-i)/100;return o*60+i}function nS(e){var t=Ire.exec(Bre(e._i)),r;if(t){if(r=Fre(t[4],t[3],t[2],t[5],t[6],t[7]),!Yre(t[1],r,e))return;e._a=r,e._tzm=Wre(t[8],t[9],t[10]),e._d=Zs.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Ie(e).rfc2822=!0}else e._isValid=!1}function Ure(e){var t=Nre.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(rS(e),e._isValid===!1)delete e._isValid;else return;if(nS(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:pe.createFromInputFallback(e)}pe.createFromInputFallback=zr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ea(e,t,r){return e??t??r}function Hre(e){var t=new Date(pe.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function pv(e){var t,r,n=[],i,o,a;if(!e._d){for(i=Hre(e),e._w&&e._a[wn]==null&&e._a[Jn]==null&&zre(e),e._dayOfYear!=null&&(a=ea(e._a[Xt],i[Xt]),(e._dayOfYear>As(a)||e._dayOfYear===0)&&(Ie(e)._overflowDayOfYear=!0),r=Zs(a,0,e._dayOfYear),e._a[Jn]=r.getUTCMonth(),e._a[wn]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=i[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[It]===24&&e._a[Kr]===0&&e._a[Qn]===0&&e._a[vo]===0&&(e._nextDay=!0,e._a[It]=0),e._d=(e._useUTC?Zs:Kte).apply(null,n),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[It]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(Ie(e).weekdayMismatch=!0)}}function zre(e){var t,r,n,i,o,a,s,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,a=4,r=ea(t.GG,e._a[Xt],Js(dt(),1,4).year),n=ea(t.W,1),i=ea(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=Js(dt(),o,a),r=ea(t.gg,e._a[Xt],l.year),n=ea(t.w,l.week),t.d!=null?(i=t.d,(i<0||i>6)&&(u=!0)):t.e!=null?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),n<1||n>ri(r,o,a)?Ie(e)._overflowWeeks=!0:u!=null?Ie(e)._overflowWeekday=!0:(s=Z3(r,n,i,o,a),e._a[Xt]=s.year,e._dayOfYear=s.dayOfYear)}pe.ISO_8601=function(){};pe.RFC_2822=function(){};function vv(e){if(e._f===pe.ISO_8601){rS(e);return}if(e._f===pe.RFC_2822){nS(e);return}e._a=[],Ie(e).empty=!0;var t=""+e._i,r,n,i,o,a,s=t.length,u=0,l,f;for(i=B3(e._f,e._locale).match(nv)||[],f=i.length,r=0;r<f;r++)o=i[r],n=(t.match(Cte(o,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&Ie(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),u+=n.length),ha[o]?(n?Ie(e).empty=!1:Ie(e).unusedTokens.push(o),kte(o,n,e)):e._strict&&!n&&Ie(e).unusedTokens.push(o);Ie(e).charsLeftOver=s-u,t.length>0&&Ie(e).unusedInput.push(t),e._a[It]<=12&&Ie(e).bigHour===!0&&e._a[It]>0&&(Ie(e).bigHour=void 0),Ie(e).parsedDateParts=e._a.slice(0),Ie(e).meridiem=e._meridiem,e._a[It]=jre(e._locale,e._a[It],e._meridiem),l=Ie(e).era,l!==null&&(e._a[Xt]=e._locale.erasConvertYear(l,e._a[Xt])),pv(e),dv(e)}function jre(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Vre(e){var t,r,n,i,o,a,s=!1,u=e._f.length;if(u===0){Ie(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<u;i++)o=0,a=!1,t=tv({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],vv(t),ev(t)&&(a=!0),o+=Ie(t).charsLeftOver,o+=Ie(t).unusedTokens.length*10,Ie(t).score=o,s?o<n&&(n=o,r=t):(n==null||o<n||a)&&(n=o,r=t,a&&(s=!0));Ri(e,r||t)}function qre(e){if(!e._d){var t=iv(e._i),r=t.day===void 0?t.date:t.day;e._a=R3([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),pv(e)}}function Gre(e){var t=new ku(dv(iS(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function iS(e){var t=e._i,r=e._f;return e._locale=e._locale||pi(e._l),t===null||r===void 0&&t===""?of({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),nn(t)?new ku(dv(t)):(Pu(t)?e._d=t:rn(r)?Vre(e):r?vv(e):Xre(e),ev(e)||(e._d=null),e))}function Xre(e){var t=e._i;ar(t)?e._d=new Date(pe.now()):Pu(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ure(e):rn(t)?(e._a=R3(t.slice(0),function(r){return parseInt(r,10)}),pv(e)):xo(t)?qre(e):ai(t)?e._d=new Date(t):pe.createFromInputFallback(e)}function oS(e,t,r,n,i){var o={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(xo(e)&&Q0(e)||rn(e)&&e.length===0)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=r,o._i=e,o._f=t,o._strict=n,Gre(o)}function dt(e,t,r,n){return oS(e,t,r,n,!1)}var Kre=zr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:of()}),Zre=zr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=dt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:of()});function aS(e,t){var r,n;if(t.length===1&&rn(t[0])&&(t=t[0]),!t.length)return dt();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Jre(){var e=[].slice.call(arguments,0);return aS("isBefore",e)}function Qre(){var e=[].slice.call(arguments,0);return aS("isAfter",e)}var ene=function(){return Date.now?Date.now():+new Date},ds=["year","quarter","month","week","day","hour","minute","second","millisecond"];function tne(e){var t,r=!1,n,i=ds.length;for(t in e)if(Ge(e,t)&&!(Ot.call(ds,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<i;++n)if(e[ds[n]]){if(r)return!1;parseFloat(e[ds[n]])!==Ue(e[ds[n]])&&(r=!0)}return!0}function rne(){return this._isValid}function nne(){return ln(NaN)}function df(e){var t=iv(e),r=t.year||0,n=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,f=t.millisecond||0;this._isValid=tne(t),this._milliseconds=+f+l*1e3+u*6e4+s*1e3*60*60,this._days=+a+o*7,this._months=+i+n*3+r*12,this._data={},this._locale=pi(),this._bubble()}function Il(e){return e instanceof df}function pp(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ine(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,a;for(a=0;a<n;a++)Ue(e[a])!==Ue(t[a])&&o++;return o+i}function sS(e,t){Ee(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Cn(~~(r/60),2)+t+Cn(~~r%60,2)})}sS("Z",":");sS("ZZ","");ge("Z",cf);ge("ZZ",cf);at(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=mv(cf,e)});var one=/([\+\-]|\d\d)/gi;function mv(e,t){var r=(t||"").match(e),n,i,o;return r===null?null:(n=r[r.length-1]||[],i=(n+"").match(one)||["-",0,0],o=+(i[1]*60)+Ue(i[2]),o===0?0:i[0]==="+"?o:-o)}function gv(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(nn(e)||Pu(e)?e.valueOf():dt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),pe.updateOffset(r,!1),r):dt(e).local()}function vp(e){return-Math.round(e._d.getTimezoneOffset())}pe.updateOffset=function(){};function ane(e,t,r){var n=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=mv(cf,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(i=vp(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?cS(this,ln(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,pe.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:vp(this)}function sne(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function une(e){return this.utcOffset(0,e)}function lne(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(vp(this),"m")),this}function cne(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=mv(Mte,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function fne(e){return this.isValid()?(e=e?dt(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function hne(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dne(){if(!ar(this._isDSTShifted))return this._isDSTShifted;var e={},t;return tv(e,this),e=iS(e),e._a?(t=e._isUTC?Ln(e._a):dt(e._a),this._isDSTShifted=this.isValid()&&ine(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function pne(){return this.isValid()?!this._isUTC:!1}function vne(){return this.isValid()?this._isUTC:!1}function uS(){return this.isValid()?this._isUTC&&this._offset===0:!1}var mne=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,gne=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ln(e,t){var r=e,n=null,i,o,a;return Il(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ai(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=mne.exec(e))?(i=n[1]==="-"?-1:1,r={y:0,d:Ue(n[wn])*i,h:Ue(n[It])*i,m:Ue(n[Kr])*i,s:Ue(n[Qn])*i,ms:Ue(pp(n[vo]*1e3))*i}):(n=gne.exec(e))?(i=n[1]==="-"?-1:1,r={y:to(n[2],i),M:to(n[3],i),w:to(n[4],i),d:to(n[5],i),h:to(n[6],i),m:to(n[7],i),s:to(n[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(a=yne(dt(r.from),dt(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),o=new df(r),Il(e)&&Ge(e,"_locale")&&(o._locale=e._locale),Il(e)&&Ge(e,"_isValid")&&(o._isValid=e._isValid),o}ln.fn=df.prototype;ln.invalid=nne;function to(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function My(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function yne(e,t){var r;return e.isValid()&&t.isValid()?(t=gv(t,e),e.isBefore(t)?r=My(e,t):(r=My(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function lS(e,t){return function(r,n){var i,o;return n!==null&&!isNaN(+n)&&(L3(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=r,r=n,n=o),i=ln(r,n),cS(this,i,e),this}}function cS(e,t,r,n){var i=t._milliseconds,o=pp(t._days),a=pp(t._months);e.isValid()&&(n=n??!0,a&&G3(e,Ks(e,"Month")+a*r),o&&j3(e,"Date",Ks(e,"Date")+o*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&pe.updateOffset(e,o||a))}var wne=lS(1,"add"),bne=lS(-1,"subtract");function fS(e){return typeof e=="string"||e instanceof String}function _ne(e){return nn(e)||Pu(e)||fS(e)||ai(e)||xne(e)||Sne(e)||e===null||e===void 0}function Sne(e){var t=xo(e)&&!Q0(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,o,a=n.length;for(i=0;i<a;i+=1)o=n[i],r=r||Ge(e,o);return t&&r}function xne(e){var t=rn(e),r=!1;return t&&(r=e.filter(function(n){return!ai(n)&&fS(e)}).length===0),t&&r}function Ene(e){var t=xo(e)&&!Q0(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,o;for(i=0;i<n.length;i+=1)o=n[i],r=r||Ge(e,o);return t&&r}function One(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function $ne(e,t){arguments.length===1&&(arguments[0]?_ne(arguments[0])?(e=arguments[0],t=void 0):Ene(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||dt(),n=gv(r,this).startOf("day"),i=pe.calendarFormat(this,n)||"sameElse",o=t&&(Bn(t[i])?t[i].call(this,r):t[i]);return this.format(o||this.localeData().calendar(i,this,dt(r)))}function Tne(){return new ku(this)}function Dne(e,t){var r=nn(e)?e:dt(e);return this.isValid()&&r.isValid()?(t=jr(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Mne(e,t){var r=nn(e)?e:dt(e);return this.isValid()&&r.isValid()?(t=jr(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Ane(e,t,r,n){var i=nn(e)?e:dt(e),o=nn(t)?t:dt(t);return this.isValid()&&i.isValid()&&o.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(o,r):!this.isAfter(o,r))):!1}function Cne(e,t){var r=nn(e)?e:dt(e),n;return this.isValid()&&r.isValid()?(t=jr(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Pne(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function kne(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Nne(e,t,r){var n,i,o;if(!this.isValid())return NaN;if(n=gv(e,this),!n.isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=jr(t),t){case"year":o=Rl(this,n)/12;break;case"month":o=Rl(this,n);break;case"quarter":o=Rl(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:kr(o)}function Rl(e,t){if(e.date()<t.date())return-Rl(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,o;return t-n<0?(i=e.clone().add(r-1,"months"),o=(t-n)/(n-i)):(i=e.clone().add(r+1,"months"),o=(t-n)/(i-n)),-(r+o)||0}pe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";pe.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ine(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Rne(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Nl(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Bn(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Nl(r,"Z")):Nl(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Fne(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,i,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(r+n+i+o)}function Lne(e){e||(e=this.isUtc()?pe.defaultFormatUtc:pe.defaultFormat);var t=Nl(this,e);return this.localeData().postformat(t)}function Bne(e,t){return this.isValid()&&(nn(e)&&e.isValid()||dt(e).isValid())?ln({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Yne(e){return this.from(dt(),e)}function Wne(e,t){return this.isValid()&&(nn(e)&&e.isValid()||dt(e).isValid())?ln({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Une(e){return this.to(dt(),e)}function hS(e){var t;return e===void 0?this._locale._abbr:(t=pi(e),t!=null&&(this._locale=t),this)}var dS=zr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function pS(){return this._locale}var lc=1e3,da=60*lc,cc=60*da,vS=(365*400+97)*24*cc;function pa(e,t){return(e%t+t)%t}function mS(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-vS:new Date(e,t,r).valueOf()}function gS(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-vS:Date.UTC(e,t,r)}function Hne(e){var t,r;if(e=jr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gS:mS,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pa(t+(this._isUTC?0:this.utcOffset()*da),cc);break;case"minute":t=this._d.valueOf(),t-=pa(t,da);break;case"second":t=this._d.valueOf(),t-=pa(t,lc);break}return this._d.setTime(t),pe.updateOffset(this,!0),this}function zne(e){var t,r;if(e=jr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gS:mS,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=cc-pa(t+(this._isUTC?0:this.utcOffset()*da),cc)-1;break;case"minute":t=this._d.valueOf(),t+=da-pa(t,da)-1;break;case"second":t=this._d.valueOf(),t+=lc-pa(t,lc)-1;break}return this._d.setTime(t),pe.updateOffset(this,!0),this}function jne(){return this._d.valueOf()-(this._offset||0)*6e4}function Vne(){return Math.floor(this.valueOf()/1e3)}function qne(){return new Date(this.valueOf())}function Gne(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Xne(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Kne(){return this.isValid()?this.toISOString():null}function Zne(){return ev(this)}function Jne(){return Ri({},Ie(this))}function Qne(){return Ie(this).overflow}function eie(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Ee("N",0,0,"eraAbbr");Ee("NN",0,0,"eraAbbr");Ee("NNN",0,0,"eraAbbr");Ee("NNNN",0,0,"eraName");Ee("NNNNN",0,0,"eraNarrow");Ee("y",["y",1],"yo","eraYear");Ee("y",["yy",2],0,"eraYear");Ee("y",["yyy",3],0,"eraYear");Ee("y",["yyyy",4],0,"eraYear");ge("N",yv);ge("NN",yv);ge("NNN",yv);ge("NNNN",fie);ge("NNNNN",hie);at(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?Ie(r).era=i:Ie(r).invalidEra=e});ge("y",Ka);ge("yy",Ka);ge("yyy",Ka);ge("yyyy",Ka);ge("yo",die);at(["y","yy","yyy","yyyy"],Xt);at(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Xt]=r._locale.eraYearOrdinalParse(e,i):t[Xt]=parseInt(e,10)});function tie(e,t){var r,n,i,o=this._eras||pi("en")._eras;for(r=0,n=o.length;r<n;++r){switch(typeof o[r].since){case"string":i=pe(o[r].since).startOf("day"),o[r].since=i.valueOf();break}switch(typeof o[r].until){case"undefined":o[r].until=1/0;break;case"string":i=pe(o[r].until).startOf("day").valueOf(),o[r].until=i.valueOf();break}}return o}function rie(e,t,r){var n,i,o=this.eras(),a,s,u;for(e=e.toUpperCase(),n=0,i=o.length;n<i;++n)if(a=o[n].name.toUpperCase(),s=o[n].abbr.toUpperCase(),u=o[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(s===e)return o[n];break;case"NNNN":if(a===e)return o[n];break;case"NNNNN":if(u===e)return o[n];break}else if([a,s,u].indexOf(e)>=0)return o[n]}function nie(e,t){var r=e.since<=e.until?1:-1;return t===void 0?pe(e.since).year():pe(e.since).year()+(t-e.offset)*r}function iie(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function oie(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function aie(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function sie(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-pe(i[e].since).year())*r+i[e].offset;return this.year()}function uie(e){return Ge(this,"_erasNameRegex")||wv.call(this),e?this._erasNameRegex:this._erasRegex}function lie(e){return Ge(this,"_erasAbbrRegex")||wv.call(this),e?this._erasAbbrRegex:this._erasRegex}function cie(e){return Ge(this,"_erasNarrowRegex")||wv.call(this),e?this._erasNarrowRegex:this._erasRegex}function yv(e,t){return t.erasAbbrRegex(e)}function fie(e,t){return t.erasNameRegex(e)}function hie(e,t){return t.erasNarrowRegex(e)}function die(e,t){return t._eraYearOrdinalRegex||Ka}function wv(){var e=[],t=[],r=[],n=[],i,o,a,s,u,l=this.eras();for(i=0,o=l.length;i<o;++i)a=ti(l[i].name),s=ti(l[i].abbr),u=ti(l[i].narrow),t.push(a),e.push(s),r.push(u),n.push(a),n.push(s),n.push(u);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}Ee(0,["gg",2],0,function(){return this.weekYear()%100});Ee(0,["GG",2],0,function(){return this.isoWeekYear()%100});function pf(e,t){Ee(0,[e,e.length],0,t)}pf("gggg","weekYear");pf("ggggg","weekYear");pf("GGGG","isoWeekYear");pf("GGGGG","isoWeekYear");ge("G",lf);ge("g",lf);ge("GG",pt,Tr);ge("gg",pt,Tr);ge("GGGG",av,ov);ge("gggg",av,ov);ge("GGGGG",uf,af);ge("ggggg",uf,af);Iu(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=Ue(e)});Iu(["gg","GG"],function(e,t,r,n){t[n]=pe.parseTwoDigitYear(e)});function pie(e){return yS.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function vie(e){return yS.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function mie(){return ri(this.year(),1,4)}function gie(){return ri(this.isoWeekYear(),1,4)}function yie(){var e=this.localeData()._week;return ri(this.year(),e.dow,e.doy)}function wie(){var e=this.localeData()._week;return ri(this.weekYear(),e.dow,e.doy)}function yS(e,t,r,n,i){var o;return e==null?Js(this,n,i).year:(o=ri(e,n,i),t>o&&(t=o),bie.call(this,e,t,r,n,i))}function bie(e,t,r,n,i){var o=Z3(e,t,r,n,i),a=Zs(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Ee("Q",0,"Qo","quarter");ge("Q",Y3);at("Q",function(e,t){t[Jn]=(Ue(e)-1)*3});function _ie(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Ee("D",["DD",2],"Do","date");ge("D",pt,Za);ge("DD",pt,Tr);ge("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});at(["D","DD"],wn);at("Do",function(e,t){t[wn]=Ue(e.match(pt)[0])});var wS=Ja("Date",!0);Ee("DDD",["DDDD",3],"DDDo","dayOfYear");ge("DDD",sf);ge("DDDD",W3);at(["DDD","DDDD"],function(e,t,r){r._dayOfYear=Ue(e)});function Sie(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Ee("m",["mm",2],0,"minute");ge("m",pt,sv);ge("mm",pt,Tr);at(["m","mm"],Kr);var xie=Ja("Minutes",!1);Ee("s",["ss",2],0,"second");ge("s",pt,sv);ge("ss",pt,Tr);at(["s","ss"],Qn);var Eie=Ja("Seconds",!1);Ee("S",0,0,function(){return~~(this.millisecond()/100)});Ee(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Ee(0,["SSS",3],0,"millisecond");Ee(0,["SSSS",4],0,function(){return this.millisecond()*10});Ee(0,["SSSSS",5],0,function(){return this.millisecond()*100});Ee(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Ee(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Ee(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Ee(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ge("S",sf,Y3);ge("SS",sf,Tr);ge("SSS",sf,W3);var Fi,bS;for(Fi="SSSS";Fi.length<=9;Fi+="S")ge(Fi,Ka);function Oie(e,t){t[vo]=Ue(("0."+e)*1e3)}for(Fi="S";Fi.length<=9;Fi+="S")at(Fi,Oie);bS=Ja("Milliseconds",!1);Ee("z",0,0,"zoneAbbr");Ee("zz",0,0,"zoneName");function $ie(){return this._isUTC?"UTC":""}function Tie(){return this._isUTC?"Coordinated Universal Time":""}var te=ku.prototype;te.add=wne;te.calendar=$ne;te.clone=Tne;te.diff=Nne;te.endOf=zne;te.format=Lne;te.from=Bne;te.fromNow=Yne;te.to=Wne;te.toNow=Une;te.get=Fte;te.invalidAt=Qne;te.isAfter=Dne;te.isBefore=Mne;te.isBetween=Ane;te.isSame=Cne;te.isSameOrAfter=Pne;te.isSameOrBefore=kne;te.isValid=Zne;te.lang=dS;te.locale=hS;te.localeData=pS;te.max=Zre;te.min=Kre;te.parsingFlags=Jne;te.set=Lte;te.startOf=Hne;te.subtract=bne;te.toArray=Gne;te.toObject=Xne;te.toDate=qne;te.toISOString=Rne;te.inspect=Fne;typeof Symbol<"u"&&Symbol.for!=null&&(te[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});te.toJSON=Kne;te.toString=Ine;te.unix=Vne;te.valueOf=jne;te.creationData=eie;te.eraName=iie;te.eraNarrow=oie;te.eraAbbr=aie;te.eraYear=sie;te.year=z3;te.isLeapYear=Rte;te.weekYear=pie;te.isoWeekYear=vie;te.quarter=te.quarters=_ie;te.month=X3;te.daysInMonth=qte;te.week=te.weeks=tre;te.isoWeek=te.isoWeeks=rre;te.weeksInYear=yie;te.weeksInWeekYear=wie;te.isoWeeksInYear=mie;te.isoWeeksInISOWeekYear=gie;te.date=wS;te.day=te.days=vre;te.weekday=mre;te.isoWeekday=gre;te.dayOfYear=Sie;te.hour=te.hours=Ere;te.minute=te.minutes=xie;te.second=te.seconds=Eie;te.millisecond=te.milliseconds=bS;te.utcOffset=ane;te.utc=une;te.local=lne;te.parseZone=cne;te.hasAlignedHourOffset=fne;te.isDST=hne;te.isLocal=pne;te.isUtcOffset=vne;te.isUtc=uS;te.isUTC=uS;te.zoneAbbr=$ie;te.zoneName=Tie;te.dates=zr("dates accessor is deprecated. Use date instead.",wS);te.months=zr("months accessor is deprecated. Use month instead",X3);te.years=zr("years accessor is deprecated. Use year instead",z3);te.zone=zr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",sne);te.isDSTShifted=zr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dne);function Die(e){return dt(e*1e3)}function Mie(){return dt.apply(null,arguments).parseZone()}function _S(e){return e}var Xe=rv.prototype;Xe.calendar=pte;Xe.longDateFormat=yte;Xe.invalidDate=bte;Xe.ordinal=xte;Xe.preparse=_S;Xe.postformat=_S;Xe.relativeTime=Ote;Xe.pastFuture=$te;Xe.set=hte;Xe.eras=tie;Xe.erasParse=rie;Xe.erasConvertYear=nie;Xe.erasAbbrRegex=lie;Xe.erasNameRegex=uie;Xe.erasNarrowRegex=cie;Xe.months=Hte;Xe.monthsShort=zte;Xe.monthsParse=Vte;Xe.monthsRegex=Xte;Xe.monthsShortRegex=Gte;Xe.week=Zte;Xe.firstDayOfYear=ere;Xe.firstDayOfWeek=Qte;Xe.weekdays=cre;Xe.weekdaysMin=hre;Xe.weekdaysShort=fre;Xe.weekdaysParse=pre;Xe.weekdaysRegex=yre;Xe.weekdaysShortRegex=wre;Xe.weekdaysMinRegex=bre;Xe.isPM=Sre;Xe.meridiem=Ore;function fc(e,t,r,n){var i=pi(),o=Ln().set(n,t);return i[r](o,e)}function SS(e,t,r){if(ai(e)&&(t=e,e=void 0),e=e||"",t!=null)return fc(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=fc(e,n,r,"month");return i}function bv(e,t,r,n){typeof e=="boolean"?(ai(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ai(t)&&(r=t,t=void 0),t=t||"");var i=pi(),o=e?i._week.dow:0,a,s=[];if(r!=null)return fc(t,(r+o)%7,n,"day");for(a=0;a<7;a++)s[a]=fc(t,(a+o)%7,n,"day");return s}function Aie(e,t){return SS(e,t,"months")}function Cie(e,t){return SS(e,t,"monthsShort")}function Pie(e,t,r){return bv(e,t,r,"weekdays")}function kie(e,t,r){return bv(e,t,r,"weekdaysShort")}function Nie(e,t,r){return bv(e,t,r,"weekdaysMin")}Yi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=Ue(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});pe.lang=zr("moment.lang is deprecated. Use moment.locale instead.",Yi);pe.langData=zr("moment.langData is deprecated. Use moment.localeData instead.",pi);var jn=Math.abs;function Iie(){var e=this._data;return this._milliseconds=jn(this._milliseconds),this._days=jn(this._days),this._months=jn(this._months),e.milliseconds=jn(e.milliseconds),e.seconds=jn(e.seconds),e.minutes=jn(e.minutes),e.hours=jn(e.hours),e.months=jn(e.months),e.years=jn(e.years),this}function xS(e,t,r,n){var i=ln(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Rie(e,t){return xS(this,e,t,1)}function Fie(e,t){return xS(this,e,t,-1)}function Ay(e){return e<0?Math.floor(e):Math.ceil(e)}function Lie(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,i,o,a,s,u;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Ay(mp(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,i=kr(e/1e3),n.seconds=i%60,o=kr(i/60),n.minutes=o%60,a=kr(o/60),n.hours=a%24,t+=kr(a/24),u=kr(ES(t)),r+=u,t-=Ay(mp(u)),s=kr(r/12),r%=12,n.days=t,n.months=r,n.years=s,this}function ES(e){return e*4800/146097}function mp(e){return e*146097/4800}function Bie(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=jr(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+ES(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(mp(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function vi(e){return function(){return this.as(e)}}var OS=vi("ms"),Yie=vi("s"),Wie=vi("m"),Uie=vi("h"),Hie=vi("d"),zie=vi("w"),jie=vi("M"),Vie=vi("Q"),qie=vi("y"),Gie=OS;function Xie(){return ln(this)}function Kie(e){return e=jr(e),this.isValid()?this[e+"s"]():NaN}function Lo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zie=Lo("milliseconds"),Jie=Lo("seconds"),Qie=Lo("minutes"),eoe=Lo("hours"),toe=Lo("days"),roe=Lo("months"),noe=Lo("years");function ioe(){return kr(this.days()/7)}var Gn=Math.round,ia={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ooe(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function aoe(e,t,r,n){var i=ln(e).abs(),o=Gn(i.as("s")),a=Gn(i.as("m")),s=Gn(i.as("h")),u=Gn(i.as("d")),l=Gn(i.as("M")),f=Gn(i.as("w")),c=Gn(i.as("y")),h=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(h=h||f<=1&&["w"]||f<r.w&&["ww",f]),h=h||l<=1&&["M"]||l<r.M&&["MM",l]||c<=1&&["y"]||["yy",c],h[2]=t,h[3]=+e>0,h[4]=n,ooe.apply(null,h)}function soe(e){return e===void 0?Gn:typeof e=="function"?(Gn=e,!0):!1}function uoe(e,t){return ia[e]===void 0?!1:t===void 0?ia[e]:(ia[e]=t,e==="s"&&(ia.ss=t-1),!0)}function loe(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=ia,i,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},ia,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),i=this.localeData(),o=aoe(this,!r,n,i),r&&(o=i.pastFuture(+this,o)),i.postformat(o)}var Jh=Math.abs;function Xo(e){return(e>0)-(e<0)||+e}function vf(){if(!this.isValid())return this.localeData().invalidDate();var e=Jh(this._milliseconds)/1e3,t=Jh(this._days),r=Jh(this._months),n,i,o,a,s=this.asSeconds(),u,l,f,c;return s?(n=kr(e/60),i=kr(n/60),e%=60,n%=60,o=kr(r/12),r%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=s<0?"-":"",l=Xo(this._months)!==Xo(s)?"-":"",f=Xo(this._days)!==Xo(s)?"-":"",c=Xo(this._milliseconds)!==Xo(s)?"-":"",u+"P"+(o?l+o+"Y":"")+(r?l+r+"M":"")+(t?f+t+"D":"")+(i||n||e?"T":"")+(i?c+i+"H":"")+(n?c+n+"M":"")+(e?c+a+"S":"")):"P0D"}var je=df.prototype;je.isValid=rne;je.abs=Iie;je.add=Rie;je.subtract=Fie;je.as=Bie;je.asMilliseconds=OS;je.asSeconds=Yie;je.asMinutes=Wie;je.asHours=Uie;je.asDays=Hie;je.asWeeks=zie;je.asMonths=jie;je.asQuarters=Vie;je.asYears=qie;je.valueOf=Gie;je._bubble=Lie;je.clone=Xie;je.get=Kie;je.milliseconds=Zie;je.seconds=Jie;je.minutes=Qie;je.hours=eoe;je.days=toe;je.weeks=ioe;je.months=roe;je.years=noe;je.humanize=loe;je.toISOString=vf;je.toString=vf;je.toJSON=vf;je.locale=hS;je.localeData=pS;je.toIsoString=zr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vf);je.lang=dS;Ee("X",0,0,"unix");Ee("x",0,0,"valueOf");ge("x",lf);ge("X",Ate);at("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});at("x",function(e,t,r){r._d=new Date(Ue(e))});//! moment.js
75
+ pe.version="2.30.1";cte(dt);pe.fn=te;pe.min=Jre;pe.max=Qre;pe.now=ene;pe.utc=Ln;pe.unix=Die;pe.months=Aie;pe.isDate=Pu;pe.locale=Yi;pe.invalid=of;pe.duration=ln;pe.isMoment=nn;pe.weekdays=Pie;pe.parseZone=Mie;pe.localeData=pi;pe.isDuration=Il;pe.monthsShort=Cie;pe.weekdaysMin=Nie;pe.defineLocale=hv;pe.updateLocale=Mre;pe.locales=Are;pe.weekdaysShort=kie;pe.normalizeUnits=jr;pe.relativeTimeRounding=soe;pe.relativeTimeThreshold=uoe;pe.calendarFormat=One;pe.prototype=te;pe.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Cy=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],ni=(()=>{if(typeof document>"u")return!1;const e=Cy[0],t={};for(const r of Cy)if((r==null?void 0:r[1])in document){for(const[i,o]of r.entries())t[e[i]]=o;return t}return!1})(),Py={change:ni.fullscreenchange,error:ni.fullscreenerror};let _r={request(e=document.documentElement,t){return new Promise((r,n)=>{const i=()=>{_r.off("change",i),r()};_r.on("change",i);const o=e[ni.requestFullscreen](t);o instanceof Promise&&o.then(i).catch(n)})},exit(){return new Promise((e,t)=>{if(!_r.isFullscreen){e();return}const r=()=>{_r.off("change",r),e()};_r.on("change",r);const n=document[ni.exitFullscreen]();n instanceof Promise&&n.then(r).catch(t)})},toggle(e,t){return _r.isFullscreen?_r.exit():_r.request(e,t)},onchange(e){_r.on("change",e)},onerror(e){_r.on("error",e)},on(e,t){const r=Py[e];r&&document.addEventListener(r,t,!1)},off(e,t){const r=Py[e];r&&document.removeEventListener(r,t,!1)},raw:ni};Object.defineProperties(_r,{isFullscreen:{get:()=>!!document[ni.fullscreenElement]},element:{enumerable:!0,get:()=>document[ni.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[ni.fullscreenEnabled]}});ni||(_r={isEnabled:!1});const coe=_r;var $S={exports:{}};/*!
76
+ * clipboard.js v2.0.11
77
+ * https://clipboardjs.com/
78
+ *
79
+ * Licensed MIT © Zeno Rocha
80
+ */(function(e,t){(function(n,i){e.exports=i()})(Pe.commonjsGlobal,function(){return function(){var r={686:function(o,a,s){s.d(a,{default:function(){return me}});var u=s(279),l=s.n(u),f=s(370),c=s.n(f),h=s(817),d=s.n(h);function p(ce){try{return document.execCommand(ce)}catch{return!1}}var v=function(J){var ae=d()(J);return p("cut"),ae},g=v;function m(ce){var J=document.documentElement.getAttribute("dir")==="rtl",ae=document.createElement("textarea");ae.style.fontSize="12pt",ae.style.border="0",ae.style.padding="0",ae.style.margin="0",ae.style.position="absolute",ae.style[J?"right":"left"]="-9999px";var de=window.pageYOffset||document.documentElement.scrollTop;return ae.style.top="".concat(de,"px"),ae.setAttribute("readonly",""),ae.value=ce,ae}var O=function(J,ae){var de=m(J);ae.container.appendChild(de);var we=d()(de);return p("copy"),de.remove(),we},y=function(J){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},de="";return typeof J=="string"?de=O(J,ae):J instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(J==null?void 0:J.type)?de=O(J.value,ae):(de=d()(J),p("copy")),de},S=y;function _(ce){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(ae){return typeof ae}:_=function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},_(ce)}var x=function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ae=J.action,de=ae===void 0?"copy":ae,we=J.container,Se=J.target,Ve=J.text;if(de!=="copy"&&de!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Se!==void 0)if(Se&&_(Se)==="object"&&Se.nodeType===1){if(de==="copy"&&Se.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(de==="cut"&&(Se.hasAttribute("readonly")||Se.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Ve)return S(Ve,{container:we});if(Se)return de==="cut"?g(Se):S(Se,{container:we})},T=x;function C(ce){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(ae){return typeof ae}:C=function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},C(ce)}function L(ce,J){if(!(ce instanceof J))throw new TypeError("Cannot call a class as a function")}function W(ce,J){for(var ae=0;ae<J.length;ae++){var de=J[ae];de.enumerable=de.enumerable||!1,de.configurable=!0,"value"in de&&(de.writable=!0),Object.defineProperty(ce,de.key,de)}}function D(ce,J,ae){return J&&W(ce.prototype,J),ae&&W(ce,ae),ce}function z(ce,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function");ce.prototype=Object.create(J&&J.prototype,{constructor:{value:ce,writable:!0,configurable:!0}}),J&&F(ce,J)}function F(ce,J){return F=Object.setPrototypeOf||function(de,we){return de.__proto__=we,de},F(ce,J)}function Y(ce){var J=H();return function(){var de=V(ce),we;if(J){var Se=V(this).constructor;we=Reflect.construct(de,arguments,Se)}else we=de.apply(this,arguments);return A(this,we)}}function A(ce,J){return J&&(C(J)==="object"||typeof J=="function")?J:R(ce)}function R(ce){if(ce===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ce}function H(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function V(ce){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(ae){return ae.__proto__||Object.getPrototypeOf(ae)},V(ce)}function ie(ce,J){var ae="data-clipboard-".concat(ce);if(J.hasAttribute(ae))return J.getAttribute(ae)}var se=function(ce){z(ae,ce);var J=Y(ae);function ae(de,we){var Se;return L(this,ae),Se=J.call(this),Se.resolveOptions(we),Se.listenClick(de),Se}return D(ae,[{key:"resolveOptions",value:function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof we.action=="function"?we.action:this.defaultAction,this.target=typeof we.target=="function"?we.target:this.defaultTarget,this.text=typeof we.text=="function"?we.text:this.defaultText,this.container=C(we.container)==="object"?we.container:document.body}},{key:"listenClick",value:function(we){var Se=this;this.listener=c()(we,"click",function(Ve){return Se.onClick(Ve)})}},{key:"onClick",value:function(we){var Se=we.delegateTarget||we.currentTarget,Ve=this.action(Se)||"copy",tt=T({action:Ve,container:this.container,target:this.target(Se),text:this.text(Se)});this.emit(tt?"success":"error",{action:Ve,text:tt,trigger:Se,clearSelection:function(){Se&&Se.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(we){return ie("action",we)}},{key:"defaultTarget",value:function(we){var Se=ie("target",we);if(Se)return document.querySelector(Se)}},{key:"defaultText",value:function(we){return ie("text",we)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(we){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(we,Se)}},{key:"cut",value:function(we){return g(we)}},{key:"isSupported",value:function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Se=typeof we=="string"?[we]:we,Ve=!!document.queryCommandSupported;return Se.forEach(function(tt){Ve=Ve&&!!document.queryCommandSupported(tt)}),Ve}}]),ae}(l()),me=se},828:function(o){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function u(l,f){for(;l&&l.nodeType!==a;){if(typeof l.matches=="function"&&l.matches(f))return l;l=l.parentNode}}o.exports=u},438:function(o,a,s){var u=s(828);function l(h,d,p,v,g){var m=c.apply(this,arguments);return h.addEventListener(p,m,g),{destroy:function(){h.removeEventListener(p,m,g)}}}function f(h,d,p,v,g){return typeof h.addEventListener=="function"?l.apply(null,arguments):typeof p=="function"?l.bind(null,document).apply(null,arguments):(typeof h=="string"&&(h=document.querySelectorAll(h)),Array.prototype.map.call(h,function(m){return l(m,d,p,v,g)}))}function c(h,d,p,v){return function(g){g.delegateTarget=u(g.target,d),g.delegateTarget&&v.call(h,g)}}o.exports=f},879:function(o,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var u=Object.prototype.toString.call(s);return s!==void 0&&(u==="[object NodeList]"||u==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var u=Object.prototype.toString.call(s);return u==="[object Function]"}},370:function(o,a,s){var u=s(879),l=s(438);function f(p,v,g){if(!p&&!v&&!g)throw new Error("Missing required arguments");if(!u.string(v))throw new TypeError("Second argument must be a String");if(!u.fn(g))throw new TypeError("Third argument must be a Function");if(u.node(p))return c(p,v,g);if(u.nodeList(p))return h(p,v,g);if(u.string(p))return d(p,v,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(p,v,g){return p.addEventListener(v,g),{destroy:function(){p.removeEventListener(v,g)}}}function h(p,v,g){return Array.prototype.forEach.call(p,function(m){m.addEventListener(v,g)}),{destroy:function(){Array.prototype.forEach.call(p,function(m){m.removeEventListener(v,g)})}}}function d(p,v,g){return l(document.body,p,v,g)}o.exports=f},817:function(o){function a(s){var u;if(s.nodeName==="SELECT")s.focus(),u=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var l=s.hasAttribute("readonly");l||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),l||s.removeAttribute("readonly"),u=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var f=window.getSelection(),c=document.createRange();c.selectNodeContents(s),f.removeAllRanges(),f.addRange(c),u=f.toString()}return u}o.exports=a},279:function(o){function a(){}a.prototype={on:function(s,u,l){var f=this.e||(this.e={});return(f[s]||(f[s]=[])).push({fn:u,ctx:l}),this},once:function(s,u,l){var f=this;function c(){f.off(s,c),u.apply(l,arguments)}return c._=u,this.on(s,c,l)},emit:function(s){var u=[].slice.call(arguments,1),l=((this.e||(this.e={}))[s]||[]).slice(),f=0,c=l.length;for(f;f<c;f++)l[f].fn.apply(l[f].ctx,u);return this},off:function(s,u){var l=this.e||(this.e={}),f=l[s],c=[];if(f&&u)for(var h=0,d=f.length;h<d;h++)f[h].fn!==u&&f[h].fn._!==u&&c.push(f[h]);return c.length?l[s]=c:delete l[s],this}},o.exports=a,o.exports.TinyEmitter=a}},n={};function i(o){if(n[o])return n[o].exports;var a=n[o]={exports:{}};return r[o](a,a.exports,i),a.exports}return function(){i.n=function(o){var a=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(a,{a}),a}}(),function(){i.d=function(o,a){for(var s in a)i.o(a,s)&&!i.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:a[s]})}}(),function(){i.o=function(o,a){return Object.prototype.hasOwnProperty.call(o,a)}}(),i(686)}().default})})($S);var foe=$S.exports;const hoe=Pe.getDefaultExportFromCjs(foe),doe=e=>({toClipboard(t,r){return new Promise((n,i)=>{const o=document.createElement("button"),a=new hoe(o,{text:()=>t,action:()=>"copy",container:r!==void 0?r:document.body});a.on("success",s=>{a.destroy(),n(s)}),a.on("error",s=>{a.destroy(),i(s)}),document.body.appendChild(o),o.click(),document.body.removeChild(o)})}});class Mt{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,r=!1){return this.onePassHasher.start().appendStr(t).end(r)}static hashAsciiStr(t,r=!1){return this.onePassHasher.start().appendAsciiStr(t).end(r)}static _hex(t){const r=Mt.hexChars,n=Mt.hexOut;let i,o,a,s;for(s=0;s<4;s+=1)for(o=s*8,i=t[s],a=0;a<8;a+=2)n[o+1+a]=r.charAt(i&15),i>>>=4,n[o+0+a]=r.charAt(i&15),i>>>=4;return n.join("")}static _md5cycle(t,r){let n=t[0],i=t[1],o=t[2],a=t[3];n+=(i&o|~i&a)+r[0]-680876936|0,n=(n<<7|n>>>25)+i|0,a+=(n&i|~n&o)+r[1]-389564586|0,a=(a<<12|a>>>20)+n|0,o+=(a&n|~a&i)+r[2]+606105819|0,o=(o<<17|o>>>15)+a|0,i+=(o&a|~o&n)+r[3]-1044525330|0,i=(i<<22|i>>>10)+o|0,n+=(i&o|~i&a)+r[4]-176418897|0,n=(n<<7|n>>>25)+i|0,a+=(n&i|~n&o)+r[5]+1200080426|0,a=(a<<12|a>>>20)+n|0,o+=(a&n|~a&i)+r[6]-1473231341|0,o=(o<<17|o>>>15)+a|0,i+=(o&a|~o&n)+r[7]-45705983|0,i=(i<<22|i>>>10)+o|0,n+=(i&o|~i&a)+r[8]+1770035416|0,n=(n<<7|n>>>25)+i|0,a+=(n&i|~n&o)+r[9]-1958414417|0,a=(a<<12|a>>>20)+n|0,o+=(a&n|~a&i)+r[10]-42063|0,o=(o<<17|o>>>15)+a|0,i+=(o&a|~o&n)+r[11]-1990404162|0,i=(i<<22|i>>>10)+o|0,n+=(i&o|~i&a)+r[12]+1804603682|0,n=(n<<7|n>>>25)+i|0,a+=(n&i|~n&o)+r[13]-40341101|0,a=(a<<12|a>>>20)+n|0,o+=(a&n|~a&i)+r[14]-1502002290|0,o=(o<<17|o>>>15)+a|0,i+=(o&a|~o&n)+r[15]+1236535329|0,i=(i<<22|i>>>10)+o|0,n+=(i&a|o&~a)+r[1]-165796510|0,n=(n<<5|n>>>27)+i|0,a+=(n&o|i&~o)+r[6]-1069501632|0,a=(a<<9|a>>>23)+n|0,o+=(a&i|n&~i)+r[11]+643717713|0,o=(o<<14|o>>>18)+a|0,i+=(o&n|a&~n)+r[0]-373897302|0,i=(i<<20|i>>>12)+o|0,n+=(i&a|o&~a)+r[5]-701558691|0,n=(n<<5|n>>>27)+i|0,a+=(n&o|i&~o)+r[10]+38016083|0,a=(a<<9|a>>>23)+n|0,o+=(a&i|n&~i)+r[15]-660478335|0,o=(o<<14|o>>>18)+a|0,i+=(o&n|a&~n)+r[4]-405537848|0,i=(i<<20|i>>>12)+o|0,n+=(i&a|o&~a)+r[9]+568446438|0,n=(n<<5|n>>>27)+i|0,a+=(n&o|i&~o)+r[14]-1019803690|0,a=(a<<9|a>>>23)+n|0,o+=(a&i|n&~i)+r[3]-187363961|0,o=(o<<14|o>>>18)+a|0,i+=(o&n|a&~n)+r[8]+1163531501|0,i=(i<<20|i>>>12)+o|0,n+=(i&a|o&~a)+r[13]-1444681467|0,n=(n<<5|n>>>27)+i|0,a+=(n&o|i&~o)+r[2]-51403784|0,a=(a<<9|a>>>23)+n|0,o+=(a&i|n&~i)+r[7]+1735328473|0,o=(o<<14|o>>>18)+a|0,i+=(o&n|a&~n)+r[12]-1926607734|0,i=(i<<20|i>>>12)+o|0,n+=(i^o^a)+r[5]-378558|0,n=(n<<4|n>>>28)+i|0,a+=(n^i^o)+r[8]-2022574463|0,a=(a<<11|a>>>21)+n|0,o+=(a^n^i)+r[11]+1839030562|0,o=(o<<16|o>>>16)+a|0,i+=(o^a^n)+r[14]-35309556|0,i=(i<<23|i>>>9)+o|0,n+=(i^o^a)+r[1]-1530992060|0,n=(n<<4|n>>>28)+i|0,a+=(n^i^o)+r[4]+1272893353|0,a=(a<<11|a>>>21)+n|0,o+=(a^n^i)+r[7]-155497632|0,o=(o<<16|o>>>16)+a|0,i+=(o^a^n)+r[10]-1094730640|0,i=(i<<23|i>>>9)+o|0,n+=(i^o^a)+r[13]+681279174|0,n=(n<<4|n>>>28)+i|0,a+=(n^i^o)+r[0]-358537222|0,a=(a<<11|a>>>21)+n|0,o+=(a^n^i)+r[3]-722521979|0,o=(o<<16|o>>>16)+a|0,i+=(o^a^n)+r[6]+76029189|0,i=(i<<23|i>>>9)+o|0,n+=(i^o^a)+r[9]-640364487|0,n=(n<<4|n>>>28)+i|0,a+=(n^i^o)+r[12]-421815835|0,a=(a<<11|a>>>21)+n|0,o+=(a^n^i)+r[15]+530742520|0,o=(o<<16|o>>>16)+a|0,i+=(o^a^n)+r[2]-995338651|0,i=(i<<23|i>>>9)+o|0,n+=(o^(i|~a))+r[0]-198630844|0,n=(n<<6|n>>>26)+i|0,a+=(i^(n|~o))+r[7]+1126891415|0,a=(a<<10|a>>>22)+n|0,o+=(n^(a|~i))+r[14]-1416354905|0,o=(o<<15|o>>>17)+a|0,i+=(a^(o|~n))+r[5]-57434055|0,i=(i<<21|i>>>11)+o|0,n+=(o^(i|~a))+r[12]+1700485571|0,n=(n<<6|n>>>26)+i|0,a+=(i^(n|~o))+r[3]-1894986606|0,a=(a<<10|a>>>22)+n|0,o+=(n^(a|~i))+r[10]-1051523|0,o=(o<<15|o>>>17)+a|0,i+=(a^(o|~n))+r[1]-2054922799|0,i=(i<<21|i>>>11)+o|0,n+=(o^(i|~a))+r[8]+1873313359|0,n=(n<<6|n>>>26)+i|0,a+=(i^(n|~o))+r[15]-30611744|0,a=(a<<10|a>>>22)+n|0,o+=(n^(a|~i))+r[6]-1560198380|0,o=(o<<15|o>>>17)+a|0,i+=(a^(o|~n))+r[13]+1309151649|0,i=(i<<21|i>>>11)+o|0,n+=(o^(i|~a))+r[4]-145523070|0,n=(n<<6|n>>>26)+i|0,a+=(i^(n|~o))+r[11]-1120210379|0,a=(a<<10|a>>>22)+n|0,o+=(n^(a|~i))+r[2]+718787259|0,o=(o<<15|o>>>17)+a|0,i+=(a^(o|~n))+r[9]-343485551|0,i=(i<<21|i>>>11)+o|0,t[0]=n+t[0]|0,t[1]=i+t[1]|0,t[2]=o+t[2]|0,t[3]=a+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(Mt.stateIdentity),this}appendStr(t){const r=this._buffer8,n=this._buffer32;let i=this._bufferLength,o,a;for(a=0;a<t.length;a+=1){if(o=t.charCodeAt(a),o<128)r[i++]=o;else if(o<2048)r[i++]=(o>>>6)+192,r[i++]=o&63|128;else if(o<55296||o>56319)r[i++]=(o>>>12)+224,r[i++]=o>>>6&63|128,r[i++]=o&63|128;else{if(o=(o-55296)*1024+(t.charCodeAt(++a)-56320)+65536,o>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");r[i++]=(o>>>18)+240,r[i++]=o>>>12&63|128,r[i++]=o>>>6&63|128,r[i++]=o&63|128}i>=64&&(this._dataLength+=64,Mt._md5cycle(this._state,n),i-=64,n[0]=n[16])}return this._bufferLength=i,this}appendAsciiStr(t){const r=this._buffer8,n=this._buffer32;let i=this._bufferLength,o,a=0;for(;;){for(o=Math.min(t.length-a,64-i);o--;)r[i++]=t.charCodeAt(a++);if(i<64)break;this._dataLength+=64,Mt._md5cycle(this._state,n),i=0}return this._bufferLength=i,this}appendByteArray(t){const r=this._buffer8,n=this._buffer32;let i=this._bufferLength,o,a=0;for(;;){for(o=Math.min(t.length-a,64-i);o--;)r[i++]=t[a++];if(i<64)break;this._dataLength+=64,Mt._md5cycle(this._state,n),i=0}return this._bufferLength=i,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const r=t.buffer,n=t.state,i=this._state;let o;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=n[0],i[1]=n[1],i[2]=n[2],i[3]=n[3],o=0;o<r.length;o+=1)this._buffer8[o]=r.charCodeAt(o)}end(t=!1){const r=this._bufferLength,n=this._buffer8,i=this._buffer32,o=(r>>2)+1;this._dataLength+=r;const a=this._dataLength*8;if(n[r]=128,n[r+1]=n[r+2]=n[r+3]=0,i.set(Mt.buffer32Identity.subarray(o),o),r>55&&(Mt._md5cycle(this._state,i),i.set(Mt.buffer32Identity)),a<=4294967295)i[14]=a;else{const s=a.toString(16).match(/(.*?)(.{0,8})$/);if(s===null)return;const u=parseInt(s[2],16),l=parseInt(s[1],16)||0;i[14]=u,i[15]=l}return Mt._md5cycle(this._state,i),t?this._state:Mt._hex(this._state)}}Mt.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);Mt.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);Mt.hexChars="0123456789abcdef";Mt.hexOut=[];Mt.onePassHasher=new Mt;if(Mt.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");let ll;const poe=new Uint8Array(16);function voe(){if(!ll&&(ll=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ll))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ll(poe)}const Wt=[];for(let e=0;e<256;++e)Wt.push((e+256).toString(16).slice(1));function moe(e,t=0){return Wt[e[t+0]]+Wt[e[t+1]]+Wt[e[t+2]]+Wt[e[t+3]]+"-"+Wt[e[t+4]]+Wt[e[t+5]]+"-"+Wt[e[t+6]]+Wt[e[t+7]]+"-"+Wt[e[t+8]]+Wt[e[t+9]]+"-"+Wt[e[t+10]]+Wt[e[t+11]]+Wt[e[t+12]]+Wt[e[t+13]]+Wt[e[t+14]]+Wt[e[t+15]]}const goe=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ky={randomUUID:goe};function yoe(e,t,r){if(ky.randomUUID&&!e)return ky.randomUUID();e=e||{};const n=e.random||(e.rng||voe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,moe(n)}var woe=Object.defineProperty,hc=Object.getOwnPropertySymbols,TS=Object.prototype.hasOwnProperty,DS=Object.prototype.propertyIsEnumerable,Ny=(e,t,r)=>t in e?woe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oa=(e,t)=>{for(var r in t||(t={}))TS.call(t,r)&&Ny(e,r,t[r]);if(hc)for(var r of hc(t))DS.call(t,r)&&Ny(e,r,t[r]);return e},MS=(e,t)=>{var r={};for(var n in e)TS.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&hc)for(var n of hc(e))t.indexOf(n)<0&&DS.call(e,n)&&(r[n]=e[n]);return r};const AS="[vue-draggable-plus]: ";function boe(e){console.warn(AS+e)}function _oe(e){console.error(AS+e)}function Iy(e,t,r){return r>=0&&r<e.length&&e.splice(r,0,e.splice(t,1)[0]),e}function Soe(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function xoe(e){return Object.keys(e).reduce((t,r)=>(typeof e[r]<"u"&&(t[Soe(r)]=e[r]),t),{})}function Eoe(e,t){if(Array.isArray(e))return e.splice(t,1)}function Ooe(e,t,r){if(Array.isArray(e))return e.splice(t,0,r)}function $oe(e){return typeof e>"u"}function Toe(e){return typeof e=="string"}function Ry(e,t,r){const n=e.children[r];e.insertBefore(t,n)}function Qh(e){e.parentNode&&e.parentNode.removeChild(e)}function Doe(e,t=document){var r;let n=null;return typeof(t==null?void 0:t.querySelector)=="function"?n=(r=t==null?void 0:t.querySelector)==null?void 0:r.call(t,e):n=document.querySelector(e),n||boe(`Element not found: ${e}`),n}function Moe(e,t,r=null){return function(...n){return e.apply(r,n),t.apply(r,n)}}function Aoe(e,t){const r=oa({},e);return Object.keys(t).forEach(n=>{r[n]?r[n]=Moe(e[n],t[n]):r[n]=t[n]}),r}function Coe(e){return e instanceof HTMLElement}function Poe(e,t){Object.keys(e).forEach(r=>{t(r,e[r])})}/**!
81
+ * Sortable 1.15.1
82
+ * @author RubaXa <trash@rubaxa.org>
83
+ * @author owenm <owen23355@gmail.com>
84
+ * @license MIT
85
+ */function Fy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Pn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Fy(Object(r),!0).forEach(function(n){koe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fl(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fl=function(t){return typeof t}:Fl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fl(e)}function koe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(){return si=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},si.apply(this,arguments)}function Noe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ioe(e,t){if(e==null)return{};var r=Noe(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Roe="1.15.1";function ii(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var mi=ii(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ru=ii(/Edge/i),Ly=ii(/firefox/i),Cs=ii(/safari/i)&&!ii(/chrome/i)&&!ii(/android/i),CS=ii(/iP(ad|od|hone)/i),PS=ii(/chrome/i)&&ii(/android/i),kS={capture:!1,passive:!1};function Ze(e,t,r){e.addEventListener(t,r,!mi&&kS)}function qe(e,t,r){e.removeEventListener(t,r,!mi&&kS)}function dc(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function Foe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function vn(e,t,r,n){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&dc(e,t):dc(e,t))||n&&e===r)return e;if(e===r)break}while(e=Foe(e))}return null}var By=/\s+/g;function wr(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var n=(" "+e.className+" ").replace(By," ").replace(" "+t+" "," ");e.className=(n+(r?" "+t:"")).replace(By," ")}}function Oe(e,t,r){var n=e&&e.style;if(n){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=r+(typeof r=="string"?"":"px")}}function va(e,t){var r="";if(typeof e=="string")r=e;else do{var n=Oe(e,"transform");n&&n!=="none"&&(r=n+" "+r)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(r)}function NS(e,t,r){if(e){var n=e.getElementsByTagName(t),i=0,o=n.length;if(r)for(;i<o;i++)r(n[i],i);return n}return[]}function On(){var e=document.scrollingElement;return e||document.documentElement}function At(e,t,r,n,i){if(!(!e.getBoundingClientRect&&e!==window)){var o,a,s,u,l,f,c;if(e!==window&&e.parentNode&&e!==On()?(o=e.getBoundingClientRect(),a=o.top,s=o.left,u=o.bottom,l=o.right,f=o.height,c=o.width):(a=0,s=0,u=window.innerHeight,l=window.innerWidth,f=window.innerHeight,c=window.innerWidth),(t||r)&&e!==window&&(i=i||e.parentNode,!mi))do if(i&&i.getBoundingClientRect&&(Oe(i,"transform")!=="none"||r&&Oe(i,"position")!=="static")){var h=i.getBoundingClientRect();a-=h.top+parseInt(Oe(i,"border-top-width")),s-=h.left+parseInt(Oe(i,"border-left-width")),u=a+o.height,l=s+o.width;break}while(i=i.parentNode);if(n&&e!==window){var d=va(i||e),p=d&&d.a,v=d&&d.d;d&&(a/=v,s/=p,c/=p,f/=v,u=a+f,l=s+c)}return{top:a,left:s,bottom:u,right:l,width:c,height:f}}}function IS(e){var t=At(e),r=parseInt(Oe(e,"padding-left")),n=parseInt(Oe(e,"padding-top")),i=parseInt(Oe(e,"padding-right")),o=parseInt(Oe(e,"padding-bottom"));return t.top+=n+parseInt(Oe(e,"border-top-width")),t.left+=r+parseInt(Oe(e,"border-left-width")),t.width=e.clientWidth-r-i,t.height=e.clientHeight-n-o,t.bottom=t.top+t.height,t.right=t.left+t.width,t}function Yy(e,t,r){for(var n=Li(e,!0),i=At(e)[t];n;){var o=At(n)[r],a=void 0;if(a=i>=o,!a)return n;if(n===On())break;n=Li(n,!1)}return!1}function Na(e,t,r,n){for(var i=0,o=0,a=e.children;o<a.length;){if(a[o].style.display!=="none"&&a[o]!==Me.ghost&&(n||a[o]!==Me.dragged)&&vn(a[o],r.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function _v(e,t){for(var r=e.lastElementChild;r&&(r===Me.ghost||Oe(r,"display")==="none"||t&&!dc(r,t));)r=r.previousElementSibling;return r||null}function Pr(e,t){var r=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Me.clone&&(!t||dc(e,t))&&r++;return r}function Wy(e){var t=0,r=0,n=On();if(e)do{var i=va(e),o=i.a,a=i.d;t+=e.scrollLeft*o,r+=e.scrollTop*a}while(e!==n&&(e=e.parentNode));return[t,r]}function Loe(e,t){for(var r in e)if(e.hasOwnProperty(r)){for(var n in t)if(t.hasOwnProperty(n)&&t[n]===e[r][n])return Number(r)}return-1}function Li(e,t){if(!e||!e.getBoundingClientRect)return On();var r=e,n=!1;do if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var i=Oe(r);if(r.clientWidth<r.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||r.clientHeight<r.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!r.getBoundingClientRect||r===document.body)return On();if(n||t)return r;n=!0}}while(r=r.parentNode);return On()}function Boe(e,t){if(e&&t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function ed(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Ps;function RS(e,t){return function(){if(!Ps){var r=arguments,n=this;r.length===1?e.call(n,r[0]):e.apply(n,r),Ps=setTimeout(function(){Ps=void 0},t)}}}function Yoe(){clearTimeout(Ps),Ps=void 0}function FS(e,t,r){e.scrollLeft+=t,e.scrollTop+=r}function LS(e){var t=window.Polymer,r=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):r?r(e).clone(!0)[0]:e.cloneNode(!0)}var Sr="Sortable"+new Date().getTime();function Woe(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(n){if(!(Oe(n,"display")==="none"||n===Me.ghost)){e.push({target:n,rect:At(n)});var i=Pn({},e[e.length-1].rect);if(n.thisAnimationDuration){var o=va(n,!0);o&&(i.top-=o.f,i.left-=o.e)}n.fromRect=i}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(Loe(e,{target:r}),1)},animateAll:function(r){var n=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var i=!1,o=0;e.forEach(function(a){var s=0,u=a.target,l=u.fromRect,f=At(u),c=u.prevFromRect,h=u.prevToRect,d=a.rect,p=va(u,!0);p&&(f.top-=p.f,f.left-=p.e),u.toRect=f,u.thisAnimationDuration&&ed(c,f)&&!ed(l,f)&&(d.top-f.top)/(d.left-f.left)===(l.top-f.top)/(l.left-f.left)&&(s=Hoe(d,c,h,n.options)),ed(f,l)||(u.prevFromRect=l,u.prevToRect=f,s||(s=n.options.animation),n.animate(u,d,f,s)),s&&(i=!0,o=Math.max(o,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),i?t=setTimeout(function(){typeof r=="function"&&r()},o):typeof r=="function"&&r(),e=[]},animate:function(r,n,i,o){if(o){Oe(r,"transition",""),Oe(r,"transform","");var a=va(this.el),s=a&&a.a,u=a&&a.d,l=(n.left-i.left)/(s||1),f=(n.top-i.top)/(u||1);r.animatingX=!!l,r.animatingY=!!f,Oe(r,"transform","translate3d("+l+"px,"+f+"px,0)"),this.forRepaintDummy=Uoe(r),Oe(r,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Oe(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Oe(r,"transition",""),Oe(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},o)}}}}function Uoe(e){return e.offsetWidth}function Hoe(e,t,r,n){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-r.top,2)+Math.pow(t.left-r.left,2))*n.animation}var Ko=[],td={initializeByDefault:!0},Fu={mount:function(e){for(var t in td)td.hasOwnProperty(t)&&!(t in e)&&(e[t]=td[t]);Ko.forEach(function(r){if(r.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,r){var n=this;this.eventCanceled=!1,r.cancel=function(){n.eventCanceled=!0};var i=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][i]&&t[o.pluginName][i](Pn({sortable:t},r)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](Pn({sortable:t},r)))})},initializePlugins:function(e,t,r,n){Ko.forEach(function(a){var s=a.pluginName;if(!(!e.options[s]&&!a.initializeByDefault)){var u=new a(e,t,e.options);u.sortable=e,u.options=e.options,e[s]=u,si(r,u.defaults)}});for(var i in e.options)if(e.options.hasOwnProperty(i)){var o=this.modifyOption(e,i,e.options[i]);typeof o<"u"&&(e.options[i]=o)}},getEventProperties:function(e,t){var r={};return Ko.forEach(function(n){typeof n.eventProperties=="function"&&si(r,n.eventProperties.call(t[n.pluginName],e))}),r},modifyOption:function(e,t,r){var n;return Ko.forEach(function(i){e[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[t]=="function"&&(n=i.optionListeners[t].call(e[i.pluginName],r))}),n}};function zoe(e){var t=e.sortable,r=e.rootEl,n=e.name,i=e.targetEl,o=e.cloneEl,a=e.toEl,s=e.fromEl,u=e.oldIndex,l=e.newIndex,f=e.oldDraggableIndex,c=e.newDraggableIndex,h=e.originalEvent,d=e.putSortable,p=e.extraEventProperties;if(t=t||r&&r[Sr],!!t){var v,g=t.options,m="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!mi&&!Ru?v=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(v=document.createEvent("Event"),v.initEvent(n,!0,!0)),v.to=a||r,v.from=s||r,v.item=i||r,v.clone=o,v.oldIndex=u,v.newIndex=l,v.oldDraggableIndex=f,v.newDraggableIndex=c,v.originalEvent=h,v.pullMode=d?d.lastPutMode:void 0;var O=Pn(Pn({},p),Fu.getEventProperties(n,t));for(var y in O)v[y]=O[y];r&&r.dispatchEvent(v),g[m]&&g[m].call(t,v)}}var joe=["evt"],or=function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.evt,i=Ioe(r,joe);Fu.pluginEvent.bind(Me)(e,t,Pn({dragEl:le,parentEl:_t,ghostEl:Ne,rootEl:vt,nextEl:ao,lastDownEl:Ll,cloneEl:wt,cloneHidden:Ai,dragStarted:gs,putSortable:Ut,activeSortable:Me.active,originalEvent:n,oldIndex:aa,oldDraggableIndex:ks,newIndex:br,newDraggableIndex:Ti,hideGhostForTarget:US,unhideGhostForTarget:HS,cloneNowHidden:function(){Ai=!0},cloneNowShown:function(){Ai=!1},dispatchSortableEvent:function(o){Jt({sortable:t,name:o,originalEvent:n})}},i))};function Jt(e){zoe(Pn({putSortable:Ut,cloneEl:wt,targetEl:le,rootEl:vt,oldIndex:aa,oldDraggableIndex:ks,newIndex:br,newDraggableIndex:Ti},e))}var le,_t,Ne,vt,ao,Ll,wt,Ai,aa,br,ks,Ti,cl,Ut,ta=!1,pc=!1,vc=[],ro,Vr,rd,nd,Uy,Hy,gs,Zo,Ns,Is=!1,fl=!1,Bl,Gt,id=[],gp=!1,mc=[],mf=typeof document<"u",hl=CS,zy=Ru||mi?"cssFloat":"float",Voe=mf&&!PS&&!CS&&"draggable"in document.createElement("div"),BS=function(){if(mf){if(mi)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),YS=function(e,t){var r=Oe(e),n=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=Na(e,0,t),o=Na(e,1,t),a=i&&Oe(i),s=o&&Oe(o),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+At(i).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+At(o).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&a.float!=="none"){var f=a.float==="left"?"left":"right";return o&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return i&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=n&&r[zy]==="none"||o&&r[zy]==="none"&&u+l>n)?"vertical":"horizontal"},qoe=function(e,t,r){var n=r?e.left:e.top,i=r?e.right:e.bottom,o=r?e.width:e.height,a=r?t.left:t.top,s=r?t.right:t.bottom,u=r?t.width:t.height;return n===a||i===s||n+o/2===a+u/2},Goe=function(e,t){var r;return vc.some(function(n){var i=n[Sr].options.emptyInsertThreshold;if(!(!i||_v(n))){var o=At(n),a=e>=o.left-i&&e<=o.right+i,s=t>=o.top-i&&t<=o.bottom+i;if(a&&s)return r=n}}),r},WS=function(e){function t(i,o){return function(a,s,u,l){var f=a.options.group.name&&s.options.group.name&&a.options.group.name===s.options.group.name;if(i==null&&(o||f))return!0;if(i==null||i===!1)return!1;if(o&&i==="clone")return i;if(typeof i=="function")return t(i(a,s,u,l),o)(a,s,u,l);var c=(o?a:s).options.group.name;return i===!0||typeof i=="string"&&i===c||i.join&&i.indexOf(c)>-1}}var r={},n=e.group;(!n||Fl(n)!="object")&&(n={name:n}),r.name=n.name,r.checkPull=t(n.pull,!0),r.checkPut=t(n.put),r.revertClone=n.revertClone,e.group=r},US=function(){!BS&&Ne&&Oe(Ne,"display","none")},HS=function(){!BS&&Ne&&Oe(Ne,"display","")};mf&&!PS&&document.addEventListener("click",function(e){if(pc)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),pc=!1,!1},!0);var no=function(e){if(le){e=e.touches?e.touches[0]:e;var t=Goe(e.clientX,e.clientY);if(t){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);r.target=r.rootEl=t,r.preventDefault=void 0,r.stopPropagation=void 0,t[Sr]._onDragOver(r)}}},Xoe=function(e){le&&le.parentNode[Sr]._isOutsideThisEl(e.target)};function Me(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=si({},t),e[Sr]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return YS(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,a){o.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Me.supportPointer!==!1&&"PointerEvent"in window&&!Cs,emptyInsertThreshold:5};Fu.initializePlugins(this,e,r);for(var n in r)!(n in t)&&(t[n]=r[n]);WS(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:Voe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ze(e,"pointerdown",this._onTapStart):(Ze(e,"mousedown",this._onTapStart),Ze(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ze(e,"dragover",this),Ze(e,"dragenter",this)),vc.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),si(this,Woe())}Me.prototype={constructor:Me,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Zo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,le):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,r=this.el,n=this.options,i=n.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(a||e).target,u=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,l=n.filter;if(nae(r),!le&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Cs&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=vn(s,n.draggable,r,!1),!(s&&s.animated)&&Ll!==s)){if(aa=Pr(s),ks=Pr(s,n.draggable),typeof l=="function"){if(l.call(this,e,s,this)){Jt({sortable:t,rootEl:u,name:"filter",targetEl:s,toEl:r,fromEl:r}),or("filter",t,{evt:e}),i&&e.cancelable&&e.preventDefault();return}}else if(l&&(l=l.split(",").some(function(f){if(f=vn(u,f.trim(),r,!1),f)return Jt({sortable:t,rootEl:f,name:"filter",targetEl:s,fromEl:r,toEl:r}),or("filter",t,{evt:e}),!0}),l)){i&&e.cancelable&&e.preventDefault();return}n.handle&&!vn(u,n.handle,r,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,r){var n=this,i=n.el,o=n.options,a=i.ownerDocument,s;if(r&&!le&&r.parentNode===i){var u=At(r);if(vt=i,le=r,_t=le.parentNode,ao=le.nextSibling,Ll=r,cl=o.group,Me.dragged=le,ro={target:le,clientX:(t||e).clientX,clientY:(t||e).clientY},Uy=ro.clientX-u.left,Hy=ro.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,le.style["will-change"]="all",s=function(){if(or("delayEnded",n,{evt:e}),Me.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!Ly&&n.nativeDraggable&&(le.draggable=!0),n._triggerDragStart(e,t),Jt({sortable:n,name:"choose",originalEvent:e}),wr(le,o.chosenClass,!0)},o.ignore.split(",").forEach(function(l){NS(le,l.trim(),od)}),Ze(a,"dragover",no),Ze(a,"mousemove",no),Ze(a,"touchmove",no),Ze(a,"mouseup",n._onDrop),Ze(a,"touchend",n._onDrop),Ze(a,"touchcancel",n._onDrop),Ly&&this.nativeDraggable&&(this.options.touchStartThreshold=4,le.draggable=!0),or("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Ru||mi))){if(Me.eventCanceled){this._onDrop();return}Ze(a,"mouseup",n._disableDelayedDrag),Ze(a,"touchend",n._disableDelayedDrag),Ze(a,"touchcancel",n._disableDelayedDrag),Ze(a,"mousemove",n._delayedDragTouchMoveHandler),Ze(a,"touchmove",n._delayedDragTouchMoveHandler),o.supportPointer&&Ze(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(s,o.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){le&&od(le),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;qe(e,"mouseup",this._disableDelayedDrag),qe(e,"touchend",this._disableDelayedDrag),qe(e,"touchcancel",this._disableDelayedDrag),qe(e,"mousemove",this._delayedDragTouchMoveHandler),qe(e,"touchmove",this._delayedDragTouchMoveHandler),qe(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?Ze(document,"pointermove",this._onTouchMove):t?Ze(document,"touchmove",this._onTouchMove):Ze(document,"mousemove",this._onTouchMove):(Ze(le,"dragend",this),Ze(vt,"dragstart",this._onDragStart));try{document.selection?Yl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(ta=!1,vt&&le){or("dragStarted",this,{evt:t}),this.nativeDraggable&&Ze(document,"dragover",Xoe);var r=this.options;!e&&wr(le,r.dragClass,!1),wr(le,r.ghostClass,!0),Me.active=this,e&&this._appendGhost(),Jt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Vr){this._lastX=Vr.clientX,this._lastY=Vr.clientY,US();for(var e=document.elementFromPoint(Vr.clientX,Vr.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Vr.clientX,Vr.clientY),e!==t);)t=e;if(le.parentNode[Sr]._isOutsideThisEl(e),t)do{if(t[Sr]){var r=void 0;if(r=t[Sr]._onDragOver({clientX:Vr.clientX,clientY:Vr.clientY,target:e,rootEl:t}),r&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);HS()}},_onTouchMove:function(e){if(ro){var t=this.options,r=t.fallbackTolerance,n=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=Ne&&va(Ne,!0),a=Ne&&o&&o.a,s=Ne&&o&&o.d,u=hl&&Gt&&Wy(Gt),l=(i.clientX-ro.clientX+n.x)/(a||1)+(u?u[0]-id[0]:0)/(a||1),f=(i.clientY-ro.clientY+n.y)/(s||1)+(u?u[1]-id[1]:0)/(s||1);if(!Me.active&&!ta){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<r)return;this._onDragStart(e,!0)}if(Ne){o?(o.e+=l-(rd||0),o.f+=f-(nd||0)):o={a:1,b:0,c:0,d:1,e:l,f};var c="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Oe(Ne,"webkitTransform",c),Oe(Ne,"mozTransform",c),Oe(Ne,"msTransform",c),Oe(Ne,"transform",c),rd=l,nd=f,Vr=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ne){var e=this.options.fallbackOnBody?document.body:vt,t=At(le,!0,hl,!0,e),r=this.options;if(hl){for(Gt=e;Oe(Gt,"position")==="static"&&Oe(Gt,"transform")==="none"&&Gt!==document;)Gt=Gt.parentNode;Gt!==document.body&&Gt!==document.documentElement?(Gt===document&&(Gt=On()),t.top+=Gt.scrollTop,t.left+=Gt.scrollLeft):Gt=On(),id=Wy(Gt)}Ne=le.cloneNode(!0),wr(Ne,r.ghostClass,!1),wr(Ne,r.fallbackClass,!0),wr(Ne,r.dragClass,!0),Oe(Ne,"transition",""),Oe(Ne,"transform",""),Oe(Ne,"box-sizing","border-box"),Oe(Ne,"margin",0),Oe(Ne,"top",t.top),Oe(Ne,"left",t.left),Oe(Ne,"width",t.width),Oe(Ne,"height",t.height),Oe(Ne,"opacity","0.8"),Oe(Ne,"position",hl?"absolute":"fixed"),Oe(Ne,"zIndex","100000"),Oe(Ne,"pointerEvents","none"),Me.ghost=Ne,e.appendChild(Ne),Oe(Ne,"transform-origin",Uy/parseInt(Ne.style.width)*100+"% "+Hy/parseInt(Ne.style.height)*100+"%")}},_onDragStart:function(e,t){var r=this,n=e.dataTransfer,i=r.options;if(or("dragStart",this,{evt:e}),Me.eventCanceled){this._onDrop();return}or("setupClone",this),Me.eventCanceled||(wt=LS(le),wt.removeAttribute("id"),wt.draggable=!1,wt.style["will-change"]="",this._hideClone(),wr(wt,this.options.chosenClass,!1),Me.clone=wt),r.cloneId=Yl(function(){or("clone",r),!Me.eventCanceled&&(r.options.removeCloneOnHide||vt.insertBefore(wt,le),r._hideClone(),Jt({sortable:r,name:"clone"}))}),!t&&wr(le,i.dragClass,!0),t?(pc=!0,r._loopId=setInterval(r._emulateDragOver,50)):(qe(document,"mouseup",r._onDrop),qe(document,"touchend",r._onDrop),qe(document,"touchcancel",r._onDrop),n&&(n.effectAllowed="move",i.setData&&i.setData.call(r,n,le)),Ze(document,"drop",r),Oe(le,"transform","translateZ(0)")),ta=!0,r._dragStartId=Yl(r._dragStarted.bind(r,t,e)),Ze(document,"selectstart",r),gs=!0,Cs&&Oe(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,r=e.target,n,i,o,a=this.options,s=a.group,u=Me.active,l=cl===s,f=a.sort,c=Ut||u,h,d=this,p=!1;if(gp)return;function v(H,V){or(H,d,Pn({evt:e,isOwner:l,axis:h?"vertical":"horizontal",revert:o,dragRect:n,targetRect:i,canSort:f,fromSortable:c,target:r,completed:m,onMove:function(ie,se){return dl(vt,t,le,n,ie,At(ie),e,se)},changed:O},V))}function g(){v("dragOverAnimationCapture"),d.captureAnimationState(),d!==c&&c.captureAnimationState()}function m(H){return v("dragOverCompleted",{insertion:H}),H&&(l?u._hideClone():u._showClone(d),d!==c&&(wr(le,Ut?Ut.options.ghostClass:u.options.ghostClass,!1),wr(le,a.ghostClass,!0)),Ut!==d&&d!==Me.active?Ut=d:d===Me.active&&Ut&&(Ut=null),c===d&&(d._ignoreWhileAnimating=r),d.animateAll(function(){v("dragOverAnimationComplete"),d._ignoreWhileAnimating=null}),d!==c&&(c.animateAll(),c._ignoreWhileAnimating=null)),(r===le&&!le.animated||r===t&&!r.animated)&&(Zo=null),!a.dragoverBubble&&!e.rootEl&&r!==document&&(le.parentNode[Sr]._isOutsideThisEl(e.target),!H&&no(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function O(){br=Pr(le),Ti=Pr(le,a.draggable),Jt({sortable:d,name:"change",toEl:t,newIndex:br,newDraggableIndex:Ti,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),r=vn(r,a.draggable,t,!0),v("dragOver"),Me.eventCanceled)return p;if(le.contains(e.target)||r.animated&&r.animatingX&&r.animatingY||d._ignoreWhileAnimating===r)return m(!1);if(pc=!1,u&&!a.disabled&&(l?f||(o=_t!==vt):Ut===this||(this.lastPutMode=cl.checkPull(this,u,le,e))&&s.checkPut(this,u,le,e))){if(h=this._getDirection(e,r)==="vertical",n=At(le),v("dragOverValid"),Me.eventCanceled)return p;if(o)return _t=vt,g(),this._hideClone(),v("revert"),Me.eventCanceled||(ao?vt.insertBefore(le,ao):vt.appendChild(le)),m(!0);var y=_v(t,a.draggable);if(!y||Qoe(e,h,this)&&!y.animated){if(y===le)return m(!1);if(y&&t===e.target&&(r=y),r&&(i=At(r)),dl(vt,t,le,n,r,i,e,!!r)!==!1)return g(),y&&y.nextSibling?t.insertBefore(le,y.nextSibling):t.appendChild(le),_t=t,O(),m(!0)}else if(y&&Joe(e,h,this)){var S=Na(t,0,a,!0);if(S===le)return m(!1);if(r=S,i=At(r),dl(vt,t,le,n,r,i,e,!1)!==!1)return g(),t.insertBefore(le,S),_t=t,O(),m(!0)}else if(r.parentNode===t){i=At(r);var _=0,x,T=le.parentNode!==t,C=!qoe(le.animated&&le.toRect||n,r.animated&&r.toRect||i,h),L=h?"top":"left",W=Yy(r,"top","top")||Yy(le,"top","top"),D=W?W.scrollTop:void 0;Zo!==r&&(x=i[L],Is=!1,fl=!C&&a.invertSwap||T),_=eae(e,r,i,h,C?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,fl,Zo===r);var z;if(_!==0){var F=Pr(le);do F-=_,z=_t.children[F];while(z&&(Oe(z,"display")==="none"||z===Ne))}if(_===0||z===r)return m(!1);Zo=r,Ns=_;var Y=r.nextElementSibling,A=!1;A=_===1;var R=dl(vt,t,le,n,r,i,e,A);if(R!==!1)return(R===1||R===-1)&&(A=R===1),gp=!0,setTimeout(Zoe,30),g(),A&&!Y?t.appendChild(le):r.parentNode.insertBefore(le,A?Y:r),W&&FS(W,0,D-W.scrollTop),_t=le.parentNode,x!==void 0&&!fl&&(Bl=Math.abs(x-At(r)[L])),O(),m(!0)}if(t.contains(le))return m(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){qe(document,"mousemove",this._onTouchMove),qe(document,"touchmove",this._onTouchMove),qe(document,"pointermove",this._onTouchMove),qe(document,"dragover",no),qe(document,"mousemove",no),qe(document,"touchmove",no)},_offUpEvents:function(){var e=this.el.ownerDocument;qe(e,"mouseup",this._onDrop),qe(e,"touchend",this._onDrop),qe(e,"pointerup",this._onDrop),qe(e,"touchcancel",this._onDrop),qe(document,"selectstart",this)},_onDrop:function(e){var t=this.el,r=this.options;if(br=Pr(le),Ti=Pr(le,r.draggable),or("drop",this,{evt:e}),_t=le&&le.parentNode,br=Pr(le),Ti=Pr(le,r.draggable),Me.eventCanceled){this._nulling();return}ta=!1,fl=!1,Is=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),yp(this.cloneId),yp(this._dragStartId),this.nativeDraggable&&(qe(document,"drop",this),qe(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Cs&&Oe(document.body,"user-select",""),Oe(le,"transform",""),e&&(gs&&(e.cancelable&&e.preventDefault(),!r.dropBubble&&e.stopPropagation()),Ne&&Ne.parentNode&&Ne.parentNode.removeChild(Ne),(vt===_t||Ut&&Ut.lastPutMode!=="clone")&&wt&&wt.parentNode&&wt.parentNode.removeChild(wt),le&&(this.nativeDraggable&&qe(le,"dragend",this),od(le),le.style["will-change"]="",gs&&!ta&&wr(le,Ut?Ut.options.ghostClass:this.options.ghostClass,!1),wr(le,this.options.chosenClass,!1),Jt({sortable:this,name:"unchoose",toEl:_t,newIndex:null,newDraggableIndex:null,originalEvent:e}),vt!==_t?(br>=0&&(Jt({rootEl:_t,name:"add",toEl:_t,fromEl:vt,originalEvent:e}),Jt({sortable:this,name:"remove",toEl:_t,originalEvent:e}),Jt({rootEl:_t,name:"sort",toEl:_t,fromEl:vt,originalEvent:e}),Jt({sortable:this,name:"sort",toEl:_t,originalEvent:e})),Ut&&Ut.save()):br!==aa&&br>=0&&(Jt({sortable:this,name:"update",toEl:_t,originalEvent:e}),Jt({sortable:this,name:"sort",toEl:_t,originalEvent:e})),Me.active&&((br==null||br===-1)&&(br=aa,Ti=ks),Jt({sortable:this,name:"end",toEl:_t,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){or("nulling",this),vt=le=_t=Ne=ao=wt=Ll=Ai=ro=Vr=gs=br=Ti=aa=ks=Zo=Ns=Ut=cl=Me.dragged=Me.ghost=Me.clone=Me.active=null,mc.forEach(function(e){e.checked=!0}),mc.length=rd=nd=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":le&&(this._onDragOver(e),Koe(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,r=this.el.children,n=0,i=r.length,o=this.options;n<i;n++)t=r[n],vn(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||rae(t));return e},sort:function(e,t){var r={},n=this.el;this.toArray().forEach(function(i,o){var a=n.children[o];vn(a,this.options.draggable,n,!1)&&(r[i]=a)},this),t&&this.captureAnimationState(),e.forEach(function(i){r[i]&&(n.removeChild(r[i]),n.appendChild(r[i]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return vn(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var r=this.options;if(t===void 0)return r[e];var n=Fu.modifyOption(this,e,t);typeof n<"u"?r[e]=n:r[e]=t,e==="group"&&WS(r)},destroy:function(){or("destroy",this);var e=this.el;e[Sr]=null,qe(e,"mousedown",this._onTapStart),qe(e,"touchstart",this._onTapStart),qe(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(qe(e,"dragover",this),qe(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),vc.splice(vc.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Ai){if(or("hideClone",this),Me.eventCanceled)return;Oe(wt,"display","none"),this.options.removeCloneOnHide&&wt.parentNode&&wt.parentNode.removeChild(wt),Ai=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Ai){if(or("showClone",this),Me.eventCanceled)return;le.parentNode==vt&&!this.options.group.revertClone?vt.insertBefore(wt,le):ao?vt.insertBefore(wt,ao):vt.appendChild(wt),this.options.group.revertClone&&this.animate(le,wt),Oe(wt,"display",""),Ai=!1}}};function Koe(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function dl(e,t,r,n,i,o,a,s){var u,l=e[Sr],f=l.options.onMove,c;return window.CustomEvent&&!mi&&!Ru?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=t,u.from=e,u.dragged=r,u.draggedRect=n,u.related=i||t,u.relatedRect=o||At(t),u.willInsertAfter=s,u.originalEvent=a,e.dispatchEvent(u),f&&(c=f.call(l,u,a)),c}function od(e){e.draggable=!1}function Zoe(){gp=!1}function Joe(e,t,r){var n=At(Na(r.el,0,r.options,!0)),i=IS(r.el),o=10;return t?e.clientX<i.left-o||e.clientY<n.top&&e.clientX<n.right:e.clientY<i.top-o||e.clientY<n.bottom&&e.clientX<n.left}function Qoe(e,t,r){var n=At(_v(r.el,r.options.draggable)),i=IS(r.el),o=10;return t?e.clientX>i.right+o||e.clientY>n.bottom&&e.clientX>n.left:e.clientY>i.bottom+o||e.clientX>n.right&&e.clientY>n.top}function eae(e,t,r,n,i,o,a,s){var u=n?e.clientY:e.clientX,l=n?r.height:r.width,f=n?r.top:r.left,c=n?r.bottom:r.right,h=!1;if(!a){if(s&&Bl<l*i){if(!Is&&(Ns===1?u>f+l*o/2:u<c-l*o/2)&&(Is=!0),Is)h=!0;else if(Ns===1?u<f+Bl:u>c-Bl)return-Ns}else if(u>f+l*(1-i)/2&&u<c-l*(1-i)/2)return tae(t)}return h=h||a,h&&(u<f+l*o/2||u>c-l*o/2)?u>f+l/2?1:-1:0}function tae(e){return Pr(le)<Pr(e)?1:-1}function rae(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,r=t.length,n=0;r--;)n+=t.charCodeAt(r);return n.toString(36)}function nae(e){mc.length=0;for(var t=e.getElementsByTagName("input"),r=t.length;r--;){var n=t[r];n.checked&&mc.push(n)}}function Yl(e){return setTimeout(e,0)}function yp(e){return clearTimeout(e)}mf&&Ze(document,"touchmove",function(e){(Me.active||ta)&&e.cancelable&&e.preventDefault()});Me.utils={on:Ze,off:qe,css:Oe,find:NS,is:function(e,t){return!!vn(e,t,e,!1)},extend:Boe,throttle:RS,closest:vn,toggleClass:wr,clone:LS,index:Pr,nextTick:Yl,cancelNextTick:yp,detectDirection:YS,getChild:Na};Me.get=function(e){return e[Sr]};Me.mount=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t[0].constructor===Array&&(t=t[0]),t.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(Me.utils=Pn(Pn({},Me.utils),n.utils)),Fu.mount(n)})};Me.create=function(e,t){return new Me(e,t)};Me.version=Roe;var Dt=[],ys,wp,bp=!1,ad,sd,gc,ws;function iae(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(t){var r=t.originalEvent;this.sortable.nativeDraggable?Ze(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ze(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ze(document,"touchmove",this._handleFallbackAutoScroll):Ze(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var r=t.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?qe(document,"dragover",this._handleAutoScroll):(qe(document,"pointermove",this._handleFallbackAutoScroll),qe(document,"touchmove",this._handleFallbackAutoScroll),qe(document,"mousemove",this._handleFallbackAutoScroll)),jy(),Wl(),Yoe()},nulling:function(){gc=wp=ys=bp=ws=ad=sd=null,Dt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,r){var n=this,i=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,a=document.elementFromPoint(i,o);if(gc=t,r||this.options.forceAutoScrollFallback||Ru||mi||Cs){ud(t,this.options,a,r);var s=Li(a,!0);bp&&(!ws||i!==ad||o!==sd)&&(ws&&jy(),ws=setInterval(function(){var u=Li(document.elementFromPoint(i,o),!0);u!==s&&(s=u,Wl()),ud(t,n.options,u,r)},10),ad=i,sd=o)}else{if(!this.options.bubbleScroll||Li(a,!0)===On()){Wl();return}ud(t,this.options,Li(a,!1),!1)}}},si(e,{pluginName:"scroll",initializeByDefault:!0})}function Wl(){Dt.forEach(function(e){clearInterval(e.pid)}),Dt=[]}function jy(){clearInterval(ws)}var ud=RS(function(e,t,r,n){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,s=t.scrollSpeed,u=On(),l=!1,f;wp!==r&&(wp=r,Wl(),ys=t.scroll,f=t.scrollFn,ys===!0&&(ys=Li(r,!0)));var c=0,h=ys;do{var d=h,p=At(d),v=p.top,g=p.bottom,m=p.left,O=p.right,y=p.width,S=p.height,_=void 0,x=void 0,T=d.scrollWidth,C=d.scrollHeight,L=Oe(d),W=d.scrollLeft,D=d.scrollTop;d===u?(_=y<T&&(L.overflowX==="auto"||L.overflowX==="scroll"||L.overflowX==="visible"),x=S<C&&(L.overflowY==="auto"||L.overflowY==="scroll"||L.overflowY==="visible")):(_=y<T&&(L.overflowX==="auto"||L.overflowX==="scroll"),x=S<C&&(L.overflowY==="auto"||L.overflowY==="scroll"));var z=_&&(Math.abs(O-i)<=a&&W+y<T)-(Math.abs(m-i)<=a&&!!W),F=x&&(Math.abs(g-o)<=a&&D+S<C)-(Math.abs(v-o)<=a&&!!D);if(!Dt[c])for(var Y=0;Y<=c;Y++)Dt[Y]||(Dt[Y]={});(Dt[c].vx!=z||Dt[c].vy!=F||Dt[c].el!==d)&&(Dt[c].el=d,Dt[c].vx=z,Dt[c].vy=F,clearInterval(Dt[c].pid),(z!=0||F!=0)&&(l=!0,Dt[c].pid=setInterval((function(){n&&this.layer===0&&Me.active._onTouchMove(gc);var A=Dt[this.layer].vy?Dt[this.layer].vy*s:0,R=Dt[this.layer].vx?Dt[this.layer].vx*s:0;typeof f=="function"&&f.call(Me.dragged.parentNode[Sr],R,A,e,gc,Dt[this.layer].el)!=="continue"||FS(Dt[this.layer].el,R,A)}).bind({layer:c}),24))),c++}while(t.bubbleScroll&&h!==u&&(h=Li(h,!1)));bp=l}},30),zS=function(e){var t=e.originalEvent,r=e.putSortable,n=e.dragEl,i=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var u=r||i;a();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,f=document.elementFromPoint(l.clientX,l.clientY);s(),u&&!u.el.contains(f)&&(o("spill"),this.onSpill({dragEl:n,putSortable:r}))}};function Sv(){}Sv.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,r=e.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var n=Na(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(t,n):this.sortable.el.appendChild(t),this.sortable.animateAll(),r&&r.animateAll()},drop:zS};si(Sv,{pluginName:"revertOnSpill"});function xv(){}xv.prototype={onSpill:function(e){var t=e.dragEl,r=e.putSortable,n=r||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:zS};si(xv,{pluginName:"removeOnSpill"});Me.mount(new iae);Me.mount(xv,Sv);function oae(e){return e==null?e:JSON.parse(JSON.stringify(e))}function aae(e){b.getCurrentInstance()&&b.onUnmounted(e)}function sae(e){b.getCurrentInstance()?b.onMounted(e):b.nextTick(e)}const Vy=Symbol("cloneElement");function uae(...e){var t,r;const n=(t=b.getCurrentInstance())==null?void 0:t.proxy,i=e[0];let[,o,a]=e;Array.isArray(b.unref(o))||(a=o,o=null);let s=null;const{immediate:u=!0,clone:l=oae,customUpdate:f}=(r=b.unref(a))!=null?r:{};function c(x){var T;x.item[Vy]=l(b.unref((T=b.unref(o))==null?void 0:T[x.oldIndex]))}function h(x){const T=x.item[Vy];$oe(T)||(Qh(x.item),Ooe(b.unref(o),x.newDraggableIndex,T))}function d(x){const{from:T,item:C,oldIndex:L,oldDraggableIndex:W,pullMode:D,clone:z}=x;if(D==="clone"){Ry(T,C,L),Qh(z);return}Eoe(b.unref(o),W)}function p(x){if(f){f(x);return}const{from:T,item:C,oldIndex:L,newIndex:W}=x;if(Qh(C),Ry(T,C,L),b.isRef(o)){const D=[...b.unref(o)];o.value=Iy(D,L,W);return}Iy(b.unref(o),L,W)}const v={onUpdate:p,onStart:c,onAdd:h,onRemove:d};function g(x){const T=b.unref(i);return x||(x=Toe(T)?Doe(T,n==null?void 0:n.$el):T),x&&!Coe(x)&&(x=x.$el),x||_oe("Root element not found"),x}function m(){var x;const T=(x=b.unref(a))!=null?x:{},{immediate:C,clone:L}=T,W=MS(T,["immediate","clone"]);return Aoe(o===null?{}:v,W)}const O=x=>{x=g(x),s&&y.destroy(),s=new Me(x,m())};b.watch(()=>a,()=>{s&&Poe(m(),(x,T)=>{s==null||s.option(x,T)})},{deep:!0});const y={option:(x,T)=>s==null?void 0:s.option(x,T),destroy:()=>{s==null||s.destroy(),s=null},save:()=>s==null?void 0:s.save(),toArray:()=>s==null?void 0:s.toArray(),closest:(...x)=>s==null?void 0:s.closest(...x)},S=()=>y==null?void 0:y.option("disabled",!0),_=()=>y==null?void 0:y.option("disabled",!1);return sae(()=>{u&&O()}),aae(y.destroy),oa({start:O,pause:S,resume:_},y)}const _p=["update","start","add","remove","choose","unchoose","end","sort","filter","clone","move","change"],lae=["clone","animation","ghostClass","group","sort","disabled","store","handle","draggable","swapThreshold","invertSwap","invertedSwapThreshold","removeCloneOnHide","direction","chosenClass","dragClass","ignore","filter","preventOnFilter","easing","setData","dropBubble","dragoverBubble","dataIdAttr","delay","delayOnTouchOnly","touchStartThreshold","forceFallback","fallbackClass","fallbackOnBody","fallbackTolerance","fallbackOffset","supportPointer","emptyInsertThreshold","scroll","forceAutoScrollFallback","scrollSensitivity","scrollSpeed","bubbleScroll","modelValue","tag","target","customUpdate",..._p.map(e=>`on${e.replace(/^\S/,t=>t.toUpperCase())}`)],cae=b.defineComponent({name:"VueDraggable",model:{prop:"modelValue",event:"update:modelValue"},props:lae,emits:["update:modelValue",..._p],setup(e,{slots:t,emit:r,expose:n,attrs:i}){const o=_p.reduce((f,c)=>{const h=`on${c.replace(/^\S/,d=>d.toUpperCase())}`;return f[h]=(...d)=>r(c,...d),f},{}),a=b.computed(()=>{const f=b.toRefs(e),{modelValue:c}=f,h=MS(f,["modelValue"]),d=Object.entries(h).reduce((p,[v,g])=>{const m=b.unref(g);return m!==void 0&&(p[v]=m),p},{});return oa(oa({},o),xoe(oa(oa({},i),d)))}),s=b.computed({get:()=>e.modelValue,set:f=>r("update:modelValue",f)}),u=b.ref(),l=b.reactive(uae(e.target||u,s,a));return n(l),()=>{var f;return b.h(e.tag||"div",{ref:u},(f=t==null?void 0:t.default)==null?void 0:f.call(t,l))}}});/*!
86
+ * better-scroll / core
87
+ * (c) 2016-2023 ustbhuangyi
88
+ * Released under the MIT License.
89
+ *//*! *****************************************************************************
90
+ Copyright (c) Microsoft Corporation.
91
+
92
+ Permission to use, copy, modify, and/or distribute this software for any
93
+ purpose with or without fee is hereby granted.
94
+
95
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
96
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
97
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
98
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
99
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
100
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
101
+ PERFORMANCE OF THIS SOFTWARE.
102
+ ***************************************************************************** */var Sp=function(e,t){return Sp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Sp(e,t)};function gf(e,t){Sp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var eu=function(){return eu=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},eu.apply(this,arguments)};function jS(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}var fae=[{sourceKey:"scroller.scrollBehaviorX.currentPos",key:"x"},{sourceKey:"scroller.scrollBehaviorY.currentPos",key:"y"},{sourceKey:"scroller.scrollBehaviorX.hasScroll",key:"hasHorizontalScroll"},{sourceKey:"scroller.scrollBehaviorY.hasScroll",key:"hasVerticalScroll"},{sourceKey:"scroller.scrollBehaviorX.contentSize",key:"scrollerWidth"},{sourceKey:"scroller.scrollBehaviorY.contentSize",key:"scrollerHeight"},{sourceKey:"scroller.scrollBehaviorX.maxScrollPos",key:"maxScrollX"},{sourceKey:"scroller.scrollBehaviorY.maxScrollPos",key:"maxScrollY"},{sourceKey:"scroller.scrollBehaviorX.minScrollPos",key:"minScrollX"},{sourceKey:"scroller.scrollBehaviorY.minScrollPos",key:"minScrollY"},{sourceKey:"scroller.scrollBehaviorX.movingDirection",key:"movingDirectionX"},{sourceKey:"scroller.scrollBehaviorY.movingDirection",key:"movingDirectionY"},{sourceKey:"scroller.scrollBehaviorX.direction",key:"directionX"},{sourceKey:"scroller.scrollBehaviorY.direction",key:"directionY"},{sourceKey:"scroller.actions.enabled",key:"enabled"},{sourceKey:"scroller.animater.pending",key:"pending"},{sourceKey:"scroller.animater.stop",key:"stop"},{sourceKey:"scroller.scrollTo",key:"scrollTo"},{sourceKey:"scroller.scrollBy",key:"scrollBy"},{sourceKey:"scroller.scrollToElement",key:"scrollToElement"},{sourceKey:"scroller.resetPosition",key:"resetPosition"}];function Ul(e){console.error("[BScroll warn]: "+e)}var Yn=typeof window<"u",Ia=Yn&&navigator.userAgent.toLowerCase(),hae=!!(Ia&&/wechatdevtools/.test(Ia)),dae=Ia&&Ia.indexOf("android")>0,pae=function(){if(typeof Ia=="string"){var e=/os (\d\d?_\d(_\d)?)/,t=e.exec(Ia);if(!t)return!1;var r=t[1].split("_").map(function(n){return parseInt(n,10)});return r[0]===13&&r[1]>=4}return!1}(),VS=!1;if(Yn){var vae="test-passive";try{var qy={};Object.defineProperty(qy,"passive",{get:function(){VS=!0}}),window.addEventListener(vae,function(){},qy)}catch{}}function Eo(){return window.performance&&window.performance.now&&window.performance.timing?window.performance.now()+window.performance.timing.navigationStart:+new Date}var xp=function(e,t){for(var r in t)e[r]=t[r];return e};function Ep(e){return e==null}function Gy(e,t,r){return e<t?t:e>r?r:e}var Ev=Yn&&document.createElement("div").style,ma=function(){if(!Yn)return!1;for(var e=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],t=0,r=e;t<r.length;t++){var n=r[t];if(Ev[n.value]!==void 0)return n.key}return!1}();function Kn(e){return ma===!1?e:ma==="standard"?e==="transitionEnd"?"transitionend":e:ma+e.charAt(0).toUpperCase()+e.substr(1)}function qS(e){return typeof e=="string"?document.querySelector(e):e}function mae(e,t,r,n){var i=VS?{passive:!1,capture:!!n}:!!n;e.addEventListener(t,r,i)}function gae(e,t,r,n){e.removeEventListener(t,r,{capture:!!n})}function GS(e){e.cancelable&&e.preventDefault()}function Xy(e){for(var t=0,r=0;e;)t-=e.offsetLeft,r-=e.offsetTop,e=e.offsetParent;return{left:t,top:r}}ma&&ma!=="standard"&&""+ma.toLowerCase();var yae=Kn("transform"),wae=Kn("transition"),bae=Yn&&Kn("perspective")in Ev,Ky=Yn&&("ontouchstart"in window||hae),_ae=Yn&&wae in Ev,mo={transform:yae,transitionTimingFunction:Kn("transitionTimingFunction"),transitionDuration:Kn("transitionDuration"),transitionDelay:Kn("transitionDelay"),transformOrigin:Kn("transformOrigin"),transitionEnd:Kn("transitionEnd"),transitionProperty:Kn("transitionProperty")},ld={touchstart:1,touchmove:1,touchend:1,touchcancel:1,mousedown:2,mousemove:2,mouseup:2};function Zy(e){if(e instanceof window.SVGElement){var t=e.getBoundingClientRect();return{top:t.top,left:t.left,width:t.width,height:t.height}}else return{top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}}function tu(e,t){for(var r in t)if(t[r].test(e[r]))return!0;return!1}var Sae=tu;function xae(e,t){var r=document.createEvent("Event");r.initEvent(t,!0,!0),r.pageX=e.pageX,r.pageY=e.pageY,e.target.dispatchEvent(r)}function XS(e,t){t===void 0&&(t="click");var r;e.type==="mouseup"?r=e:(e.type==="touchend"||e.type==="touchcancel")&&(r=e.changedTouches[0]);var n={};r&&(n.screenX=r.screenX||0,n.screenY=r.screenY||0,n.clientX=r.clientX||0,n.clientY=r.clientY||0);var i,o=!0,a=!0,s=e.ctrlKey,u=e.shiftKey,l=e.altKey,f=e.metaKey,c={ctrlKey:s,shiftKey:u,altKey:l,metaKey:f};if(typeof MouseEvent<"u")try{i=new MouseEvent(t,xp(eu({bubbles:o,cancelable:a},c),n))}catch{h()}else h();function h(){i=document.createEvent("Event"),i.initEvent(t,o,a),xp(i,n)}i.forwardedTouchEvent=!0,i._constructed=!0,e.target.dispatchEvent(i)}function Eae(e){XS(e,"dblclick")}var io={swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(e){return e*(2-e)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(e){return 1- --e*e*e*e}}},Oae=1e3/60,Bi=Yn&&window;function KS(){}var ZS=function(){return Yn?Bi.requestAnimationFrame||Bi.webkitRequestAnimationFrame||Bi.mozRequestAnimationFrame||Bi.oRequestAnimationFrame||function(e){return window.setTimeout(e,e.interval||Oae)}:KS}(),Mo=function(){return Yn?Bi.cancelAnimationFrame||Bi.webkitCancelAnimationFrame||Bi.mozCancelAnimationFrame||Bi.oCancelAnimationFrame||function(e){window.clearTimeout(e)}:KS}(),Jy=function(e){},cd={enumerable:!0,configurable:!0,get:Jy,set:Jy},$ae=function(e,t){for(var r=t.split("."),n=0;n<r.length-1;n++)if(e=e[r[n]],typeof e!="object"||!e)return;var i=r.pop();return typeof e[i]=="function"?function(){return e[i].apply(e,arguments)}:e[i]},Tae=function(e,t,r){for(var n=t.split("."),i,o=0;o<n.length-1;o++)i=n[o],e[i]||(e[i]={}),e=e[i];e[n.pop()]=r};function Dae(e,t,r){cd.get=function(){return $ae(this,t)},cd.set=function(i){Tae(this,t,i)},Object.defineProperty(e,r,cd)}var Vi=function(){function e(t){this.events={},this.eventTypes={},this.registerType(t)}return e.prototype.on=function(t,r,n){return n===void 0&&(n=this),this.hasType(t),this.events[t]||(this.events[t]=[]),this.events[t].push([r,n]),this},e.prototype.once=function(t,r,n){var i=this;n===void 0&&(n=this),this.hasType(t);var o=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];i.off(t,o);var u=r.apply(n,a);if(u===!0)return u};return o.fn=r,this.on(t,o),this},e.prototype.off=function(t,r){if(!t&&!r)return this.events={},this;if(t){if(this.hasType(t),!r)return this.events[t]=[],this;var n=this.events[t];if(!n)return this;for(var i=n.length;i--;)(n[i][0]===r||n[i][0]&&n[i][0].fn===r)&&n.splice(i,1);return this}},e.prototype.trigger=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];this.hasType(t);var i=this.events[t];if(i)for(var o=i.length,a=jS(i),s,u=0;u<o;u++){var l=a[u],f=l[0],c=l[1];if(f&&(s=f.apply(c,r),s===!0))return s}},e.prototype.registerType=function(t){var r=this;t.forEach(function(n){r.eventTypes[n]=n})},e.prototype.destroy=function(){this.events={},this.eventTypes={}},e.prototype.hasType=function(t){var r=this.eventTypes,n=r[t]===t;n||Ul('EventEmitter has used unknown event type: "'+t+'", should be oneof ['+(""+Object.keys(r).map(function(i){return JSON.stringify(i)}))+"]")},e}(),yc=function(){function e(t,r){this.wrapper=t,this.events=r,this.addDOMEvents()}return e.prototype.destroy=function(){this.removeDOMEvents(),this.events=[]},e.prototype.addDOMEvents=function(){this.handleDOMEvents(mae)},e.prototype.removeDOMEvents=function(){this.handleDOMEvents(gae)},e.prototype.handleDOMEvents=function(t){var r=this,n=this.wrapper;this.events.forEach(function(i){t(n,i.name,r,!!i.capture)})},e.prototype.handleEvent=function(t){var r=t.type;this.events.some(function(n){return n.name===r?(n.handler(t),!0):!1})},e}(),Mae=function(){function e(){}return e}(),Aae=function(e){gf(t,e);function t(){var r=e.call(this)||this;return r.startX=0,r.startY=0,r.scrollX=!1,r.scrollY=!0,r.freeScroll=!1,r.directionLockThreshold=0,r.eventPassthrough="",r.click=!1,r.dblclick=!1,r.tap="",r.bounce={top:!0,bottom:!0,left:!0,right:!0},r.bounceTime=800,r.momentum=!0,r.momentumLimitTime=300,r.momentumLimitDistance=15,r.swipeTime=2500,r.swipeBounceTime=500,r.deceleration=.0015,r.flickLimitTime=200,r.flickLimitDistance=100,r.resizePolling=60,r.probeType=0,r.stopPropagation=!1,r.preventDefault=!0,r.preventDefaultException={tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|AUDIO)$/},r.tagException={tagName:/^TEXTAREA$/},r.HWCompositing=!0,r.useTransition=!0,r.bindToWrapper=!1,r.bindToTarget=!1,r.disableMouse=Ky,r.disableTouch=!Ky,r.autoBlur=!0,r.autoEndDistance=5,r.outOfBoundaryDampingFactor=1/3,r.specifiedIndexAsContent=0,r.quadrant=1,r}return t.prototype.merge=function(r){if(!r)return this;for(var n in r){if(n==="bounce"){this.bounce=this.resolveBounce(r[n]);continue}this[n]=r[n]}return this},t.prototype.process=function(){return this.translateZ=this.HWCompositing&&bae?" translateZ(1px)":"",this.useTransition=this.useTransition&&_ae,this.preventDefault=!this.eventPassthrough&&this.preventDefault,this.scrollX=this.eventPassthrough==="horizontal"?!1:this.scrollX,this.scrollY=this.eventPassthrough==="vertical"?!1:this.scrollY,this.freeScroll=this.freeScroll&&!this.eventPassthrough,this.scrollX=this.freeScroll?!0:this.scrollX,this.scrollY=this.freeScroll?!0:this.scrollY,this.directionLockThreshold=this.eventPassthrough?0:this.directionLockThreshold,this},t.prototype.resolveBounce=function(r){var n={top:!0,right:!0,bottom:!0,left:!0},i={top:!1,right:!1,bottom:!1,left:!1},o;return typeof r=="object"?o=xp(n,r):o=r?n:i,o},t}(Mae),Cae=function(){function e(t,r){this.wrapper=t,this.options=r,this.hooks=new Vi(["beforeStart","start","move","end","click"]),this.handleDOMEvents()}return e.prototype.handleDOMEvents=function(){var t=this.options,r=t.bindToWrapper,n=t.disableMouse,i=t.disableTouch,o=t.click,a=this.wrapper,s=r?a:window,u=[],l=[],f=!i,c=!n;o&&u.push({name:"click",handler:this.click.bind(this),capture:!0}),f&&(u.push({name:"touchstart",handler:this.start.bind(this)}),l.push({name:"touchmove",handler:this.move.bind(this)},{name:"touchend",handler:this.end.bind(this)},{name:"touchcancel",handler:this.end.bind(this)})),c&&(u.push({name:"mousedown",handler:this.start.bind(this)}),l.push({name:"mousemove",handler:this.move.bind(this)},{name:"mouseup",handler:this.end.bind(this)})),this.wrapperEventRegister=new yc(a,u),this.targetEventRegister=new yc(s,l)},e.prototype.beforeHandler=function(t,r){var n=this.options,i=n.preventDefault,o=n.stopPropagation,a=n.preventDefaultException,s={start:function(){return i&&!tu(t.target,a)},end:function(){return i&&!tu(t.target,a)},move:function(){return i}};s[r]()&&t.preventDefault(),o&&t.stopPropagation()},e.prototype.setInitiated=function(t){t===void 0&&(t=0),this.initiated=t},e.prototype.start=function(t){var r=ld[t.type];if(!(this.initiated&&this.initiated!==r)){if(this.setInitiated(r),Sae(t.target,this.options.tagException)){this.setInitiated();return}if(!(r===2&&t.button!==0)&&!this.hooks.trigger(this.hooks.eventTypes.beforeStart,t)){this.beforeHandler(t,"start");var n=t.touches?t.touches[0]:t;this.pointX=n.pageX,this.pointY=n.pageY,this.hooks.trigger(this.hooks.eventTypes.start,t)}}},e.prototype.move=function(t){if(ld[t.type]===this.initiated){this.beforeHandler(t,"move");var r=t.touches?t.touches[0]:t,n=r.pageX-this.pointX,i=r.pageY-this.pointY;if(this.pointX=r.pageX,this.pointY=r.pageY,!this.hooks.trigger(this.hooks.eventTypes.move,{deltaX:n,deltaY:i,e:t})){var o=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,a=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,s=this.pointX-o,u=this.pointY-a,l=this.options.autoEndDistance;(s>document.documentElement.clientWidth-l||u>document.documentElement.clientHeight-l||s<l||u<l)&&this.end(t)}}},e.prototype.end=function(t){ld[t.type]===this.initiated&&(this.setInitiated(),this.beforeHandler(t,"end"),this.hooks.trigger(this.hooks.eventTypes.end,t))},e.prototype.click=function(t){this.hooks.trigger(this.hooks.eventTypes.click,t)},e.prototype.setContent=function(t){t!==this.wrapper&&(this.wrapper=t,this.rebindDOMEvents())},e.prototype.rebindDOMEvents=function(){this.wrapperEventRegister.destroy(),this.targetEventRegister.destroy(),this.handleDOMEvents()},e.prototype.destroy=function(){this.wrapperEventRegister.destroy(),this.targetEventRegister.destroy(),this.hooks.destroy()},e}(),fd={x:["translateX","px"],y:["translateY","px"]},Pae=function(){function e(t){this.setContent(t),this.hooks=new Vi(["beforeTranslate","translate"])}return e.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.content,null),r=t[mo.transform].split(")")[0].split(", "),n=+(r[12]||r[4])||0,i=+(r[13]||r[5])||0;return{x:n,y:i}},e.prototype.translate=function(t){var r=[];Object.keys(t).forEach(function(n){if(fd[n]){var i=fd[n][0];if(i){var o=fd[n][1],a=t[n];r.push(i+"("+a+o+")")}}}),this.hooks.trigger(this.hooks.eventTypes.beforeTranslate,r,t),this.style[mo.transform]=r.join(" "),this.hooks.trigger(this.hooks.eventTypes.translate,t)},e.prototype.setContent=function(t){this.content!==t&&(this.content=t,this.style=t.style)},e.prototype.destroy=function(){this.hooks.destroy()},e}(),JS=function(){function e(t,r,n){this.translater=r,this.options=n,this.timer=0,this.hooks=new Vi(["move","end","beforeForceStop","forceStop","callStop","time","timeFunction"]),this.setContent(t)}return e.prototype.translate=function(t){this.translater.translate(t)},e.prototype.setPending=function(t){this.pending=t},e.prototype.setForceStopped=function(t){this.forceStopped=t},e.prototype.setCallStop=function(t){this.callStopWhenPending=t},e.prototype.setContent=function(t){this.content!==t&&(this.content=t,this.style=t.style,this.stop())},e.prototype.clearTimer=function(){this.timer&&(Mo(this.timer),this.timer=0)},e.prototype.destroy=function(){this.hooks.destroy(),Mo(this.timer)},e}(),kae=function(e,t,r,n){var i=function(l,f){var c=l-f,h=c>0?-1:c<0?1:0;return h},o=i(t.x,e.x),a=i(t.y,e.y),s=r.x-n.x,u=r.y-n.y;return o*s<=0&&a*u<=0},Nae=function(e){gf(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.startProbe=function(r,n){var i=this,o=r,a=function(){var s=i.translater.getComputedPosition();kae(r,n,s,o)&&i.hooks.trigger(i.hooks.eventTypes.move,s),i.pending||(i.callStopWhenPending?i.callStopWhenPending=!1:i.hooks.trigger(i.hooks.eventTypes.end,s)),o=s,i.pending&&(i.timer=ZS(a))};this.callStopWhenPending&&this.setCallStop(!1),Mo(this.timer),a()},t.prototype.transitionTime=function(r){r===void 0&&(r=0),this.style[mo.transitionDuration]=r+"ms",this.hooks.trigger(this.hooks.eventTypes.time,r)},t.prototype.transitionTimingFunction=function(r){this.style[mo.transitionTimingFunction]=r,this.hooks.trigger(this.hooks.eventTypes.timeFunction,r)},t.prototype.transitionProperty=function(){this.style[mo.transitionProperty]=mo.transform},t.prototype.move=function(r,n,i,o){this.setPending(i>0),this.transitionTimingFunction(o),this.transitionProperty(),this.transitionTime(i),this.translate(n);var a=this.options.probeType===3;i&&a&&this.startProbe(r,n),i||(this._reflow=this.content.offsetHeight,a&&this.hooks.trigger(this.hooks.eventTypes.move,n),this.hooks.trigger(this.hooks.eventTypes.end,n))},t.prototype.doStop=function(){var r=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),r){this.setPending(!1),Mo(this.timer);var n=this.translater.getComputedPosition(),i=n.x,o=n.y;this.transitionTime(),this.translate({x:i,y:o}),this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,{x:i,y:o})}return r},t.prototype.stop=function(){var r=this.doStop();r&&this.hooks.trigger(this.hooks.eventTypes.callStop)},t}(JS),Iae=function(e){gf(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.move=function(r,n,i,o){if(!i){this.translate(n),this.options.probeType===3&&this.hooks.trigger(this.hooks.eventTypes.move,n),this.hooks.trigger(this.hooks.eventTypes.end,n);return}this.animate(r,n,i,o)},t.prototype.animate=function(r,n,i,o){var a=this,s=Eo(),u=s+i,l=this.options.probeType===3,f=function(){var c=Eo();if(c>=u){a.translate(n),l&&a.hooks.trigger(a.hooks.eventTypes.move,n),a.hooks.trigger(a.hooks.eventTypes.end,n);return}c=(c-s)/i;var h=o(c),d={};Object.keys(n).forEach(function(p){var v=r[p],g=n[p];d[p]=(g-v)*h+v}),a.translate(d),l&&a.hooks.trigger(a.hooks.eventTypes.move,d),a.pending&&(a.timer=ZS(f)),a.pending||(a.callStopWhenPending?a.callStopWhenPending=!1:a.hooks.trigger(a.hooks.eventTypes.end,n))};this.setPending(!0),this.callStopWhenPending&&this.setCallStop(!1),Mo(this.timer),f()},t.prototype.doStop=function(){var r=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),r){this.setPending(!1),Mo(this.timer);var n=this.translater.getComputedPosition();this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,n)}return r},t.prototype.stop=function(){var r=this.doStop();r&&this.hooks.trigger(this.hooks.eventTypes.callStop)},t}(JS);function Rae(e,t,r){var n=r.useTransition,i={};return Object.defineProperty(i,"probeType",{enumerable:!0,configurable:!1,get:function(){return r.probeType}}),n?new Nae(e,t,i):new Iae(e,t,i)}var Qy=function(){function e(t,r,n){this.wrapper=t,this.options=n,this.hooks=new Vi(["beforeComputeBoundary","computeBoundary","momentum","end","ignoreHasScroll"]),this.refresh(r)}return e.prototype.start=function(){this.dist=0,this.setMovingDirection(0),this.setDirection(0)},e.prototype.move=function(t){return t=this.hasScroll?t:0,this.setMovingDirection(t),this.performDampingAlgorithm(t,this.options.outOfBoundaryDampingFactor)},e.prototype.setMovingDirection=function(t){this.movingDirection=t>0?-1:t<0?1:0},e.prototype.setDirection=function(t){this.direction=t>0?-1:t<0?1:0},e.prototype.performDampingAlgorithm=function(t,r){var n=this.currentPos+t;return(n>this.minScrollPos||n<this.maxScrollPos)&&(n>this.minScrollPos&&this.options.bounces[0]||n<this.maxScrollPos&&this.options.bounces[1]?n=this.currentPos+t*r:n=n>this.minScrollPos?this.minScrollPos:this.maxScrollPos),n},e.prototype.end=function(t){var r={duration:0},n=Math.abs(this.currentPos-this.startPos);if(this.options.momentum&&t<this.options.momentumLimitTime&&n>this.options.momentumLimitDistance){var i=this.direction===-1&&this.options.bounces[0]||this.direction===1&&this.options.bounces[1]?this.wrapperSize:0;r=this.hasScroll?this.momentum(this.currentPos,this.startPos,t,this.maxScrollPos,this.minScrollPos,i,this.options):{destination:this.currentPos,duration:0}}else this.hooks.trigger(this.hooks.eventTypes.end,r);return r},e.prototype.momentum=function(t,r,n,i,o,a,s){s===void 0&&(s=this.options);var u=t-r,l=Math.abs(u)/n,f=s.deceleration,c=s.swipeBounceTime,h=s.swipeTime,d=Math.min(h,l*2/f),p={destination:t+l*l/f*(u<0?-1:1),duration:d,rate:15};return this.hooks.trigger(this.hooks.eventTypes.momentum,p,u),p.destination<i?(p.destination=a?Math.max(i-a/4,i-a/p.rate*l):i,p.duration=c):p.destination>o&&(p.destination=a?Math.min(o+a/4,o+a/p.rate*l):o,p.duration=c),p.destination=Math.round(p.destination),p},e.prototype.updateDirection=function(){var t=this.currentPos-this.absStartPos;this.setDirection(t)},e.prototype.refresh=function(t){var r=this.options.rect,n=r.size,i=r.position,o=window.getComputedStyle(this.wrapper,null).position==="static",a=Zy(this.wrapper);this.wrapperSize=this.wrapper[n==="width"?"clientWidth":"clientHeight"],this.setContent(t);var s=Zy(this.content);this.contentSize=s[n],this.relativeOffset=s[i],o&&(this.relativeOffset-=a[i]),this.computeBoundary(),this.setDirection(0)},e.prototype.setContent=function(t){t!==this.content&&(this.content=t,this.resetState())},e.prototype.resetState=function(){this.currentPos=0,this.startPos=0,this.dist=0,this.setDirection(0),this.setMovingDirection(0),this.resetStartPos()},e.prototype.computeBoundary=function(){this.hooks.trigger(this.hooks.eventTypes.beforeComputeBoundary);var t={minScrollPos:0,maxScrollPos:this.wrapperSize-this.contentSize};t.maxScrollPos<0&&(t.maxScrollPos-=this.relativeOffset,this.options.specifiedIndexAsContent===0&&(t.minScrollPos=-this.relativeOffset)),this.hooks.trigger(this.hooks.eventTypes.computeBoundary,t),this.minScrollPos=t.minScrollPos,this.maxScrollPos=t.maxScrollPos,this.hasScroll=this.options.scrollable&&this.maxScrollPos<this.minScrollPos,!this.hasScroll&&this.minScrollPos<this.maxScrollPos&&(this.maxScrollPos=this.minScrollPos,this.contentSize=this.wrapperSize)},e.prototype.updatePosition=function(t){this.currentPos=t},e.prototype.getCurrentPos=function(){return this.currentPos},e.prototype.checkInBoundary=function(){var t=this.adjustPosition(this.currentPos),r=t===this.getCurrentPos();return{position:t,inBoundary:r}},e.prototype.adjustPosition=function(t){return!this.hasScroll&&!this.hooks.trigger(this.hooks.eventTypes.ignoreHasScroll)?t=this.minScrollPos:t>this.minScrollPos?t=this.minScrollPos:t<this.maxScrollPos&&(t=this.maxScrollPos),t},e.prototype.updateStartPos=function(){this.startPos=this.currentPos},e.prototype.updateAbsStartPos=function(){this.absStartPos=this.currentPos},e.prototype.resetStartPos=function(){this.updateStartPos(),this.updateAbsStartPos()},e.prototype.getAbsDist=function(t){return this.dist+=t,Math.abs(this.dist)},e.prototype.destroy=function(){this.hooks.destroy()},e}(),pl,vl,ml,gl,e2=(pl={},pl.yes=function(e){return!0},pl.no=function(e){return GS(e),!1},pl),Fae=(vl={},vl.horizontal=(ml={},ml.yes="horizontal",ml.no="vertical",ml),vl.vertical=(gl={},gl.yes="vertical",gl.no="horizontal",gl),vl),Lae=function(){function e(t,r,n){this.directionLockThreshold=t,this.freeScroll=r,this.eventPassthrough=n,this.reset()}return e.prototype.reset=function(){this.directionLocked=""},e.prototype.checkMovingDirection=function(t,r,n){return this.computeDirectionLock(t,r),this.handleEventPassthrough(n)},e.prototype.adjustDelta=function(t,r){return this.directionLocked==="horizontal"?r=0:this.directionLocked==="vertical"&&(t=0),{deltaX:t,deltaY:r}},e.prototype.computeDirectionLock=function(t,r){this.directionLocked===""&&!this.freeScroll&&(t>r+this.directionLockThreshold?this.directionLocked="horizontal":r>=t+this.directionLockThreshold?this.directionLocked="vertical":this.directionLocked="none")},e.prototype.handleEventPassthrough=function(t){var r=Fae[this.directionLocked];if(r){if(this.eventPassthrough===r.yes)return e2.yes(t);if(this.eventPassthrough===r.no)return e2.no(t)}return!1},e}(),Bae=function(e,t,r){return r===2?[t,-e]:r===3?[-e,-t]:r===4?[-t,e]:[e,t]},Yae=function(){function e(t,r,n,i,o){this.hooks=new Vi(["start","beforeMove","scrollStart","scroll","beforeEnd","end","scrollEnd","contentNotMoved","detectMovingDirection","coordinateTransformation"]),this.scrollBehaviorX=t,this.scrollBehaviorY=r,this.actionsHandler=n,this.animater=i,this.options=o,this.directionLockAction=new Lae(o.directionLockThreshold,o.freeScroll,o.eventPassthrough),this.enabled=!0,this.bindActionsHandler()}return e.prototype.bindActionsHandler=function(){var t=this;this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.start,function(r){return t.enabled?t.handleStart(r):!0}),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.move,function(r){var n=r.deltaX,i=r.deltaY,o=r.e;if(!t.enabled)return!0;var a=Bae(n,i,t.options.quadrant),s=a[0],u=a[1],l={deltaX:s,deltaY:u};return t.hooks.trigger(t.hooks.eventTypes.coordinateTransformation,l),t.handleMove(l.deltaX,l.deltaY,o)}),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.end,function(r){return t.enabled?t.handleEnd(r):!0}),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.click,function(r){t.enabled&&!r._constructed&&t.handleClick(r)})},e.prototype.handleStart=function(t){var r=Eo();this.fingerMoved=!1,this.contentMoved=!1,this.startTime=r,this.directionLockAction.reset(),this.scrollBehaviorX.start(),this.scrollBehaviorY.start(),this.animater.doStop(),this.scrollBehaviorX.resetStartPos(),this.scrollBehaviorY.resetStartPos(),this.hooks.trigger(this.hooks.eventTypes.start,t)},e.prototype.handleMove=function(t,r,n){if(!this.hooks.trigger(this.hooks.eventTypes.beforeMove,n)){var i=this.scrollBehaviorX.getAbsDist(t),o=this.scrollBehaviorY.getAbsDist(r),a=Eo();if(this.checkMomentum(i,o,a))return!0;if(this.directionLockAction.checkMovingDirection(i,o,n))return this.actionsHandler.setInitiated(),!0;var s=this.directionLockAction.adjustDelta(t,r),u=this.scrollBehaviorX.getCurrentPos(),l=this.scrollBehaviorX.move(s.deltaX),f=this.scrollBehaviorY.getCurrentPos(),c=this.scrollBehaviorY.move(s.deltaY);if(!this.hooks.trigger(this.hooks.eventTypes.detectMovingDirection)){this.fingerMoved||(this.fingerMoved=!0);var h=l!==u||c!==f;!this.contentMoved&&!h&&this.hooks.trigger(this.hooks.eventTypes.contentNotMoved),!this.contentMoved&&h&&(this.contentMoved=!0,this.hooks.trigger(this.hooks.eventTypes.scrollStart)),this.contentMoved&&h&&(this.animater.translate({x:l,y:c}),this.dispatchScroll(a))}}},e.prototype.dispatchScroll=function(t){t-this.startTime>this.options.momentumLimitTime&&(this.startTime=t,this.scrollBehaviorX.updateStartPos(),this.scrollBehaviorY.updateStartPos(),this.options.probeType===1&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())),this.options.probeType>1&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())},e.prototype.checkMomentum=function(t,r,n){return n-this.endTime>this.options.momentumLimitTime&&r<this.options.momentumLimitDistance&&t<this.options.momentumLimitDistance},e.prototype.handleEnd=function(t){if(!this.hooks.trigger(this.hooks.eventTypes.beforeEnd,t)){var r=this.getCurrentPos();if(this.scrollBehaviorX.updateDirection(),this.scrollBehaviorY.updateDirection(),this.hooks.trigger(this.hooks.eventTypes.end,t,r))return!0;r=this.ensureIntegerPos(r),this.animater.translate(r),this.endTime=Eo();var n=this.endTime-this.startTime;this.hooks.trigger(this.hooks.eventTypes.scrollEnd,r,n)}},e.prototype.ensureIntegerPos=function(t){this.ensuringInteger=!0;var r=t.x,n=t.y,i=this.scrollBehaviorX,o=i.minScrollPos,a=i.maxScrollPos,s=this.scrollBehaviorY,u=s.minScrollPos,l=s.maxScrollPos;return r=r>0?Math.ceil(r):Math.floor(r),n=n>0?Math.ceil(n):Math.floor(n),r=Gy(r,a,o),n=Gy(n,l,u),{x:r,y:n}},e.prototype.handleClick=function(t){tu(t.target,this.options.preventDefaultException)||(GS(t),t.stopPropagation())},e.prototype.getCurrentPos=function(){return{x:this.scrollBehaviorX.getCurrentPos(),y:this.scrollBehaviorY.getCurrentPos()}},e.prototype.refresh=function(){this.endTime=0},e.prototype.destroy=function(){this.hooks.destroy()},e}();function Wae(e){var t=["click","bindToWrapper","disableMouse","disableTouch","preventDefault","stopPropagation","tagException","preventDefaultException","autoEndDistance"].reduce(function(r,n){return r[n]=e[n],r},{});return t}function t2(e,t,r,n){var i=["momentum","momentumLimitTime","momentumLimitDistance","deceleration","swipeBounceTime","swipeTime","outOfBoundaryDampingFactor","specifiedIndexAsContent"].reduce(function(o,a){return o[a]=e[a],o},{});return i.scrollable=!!e[t],i.bounces=r,i.rect=n,i}function Op(e,t,r){r.forEach(function(n){var i,o;typeof n=="string"?i=o=n:(i=n.source,o=n.target),e.on(i,function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return t.trigger.apply(t,jS([o],a))})})}function Uae(e,t){for(var r=Object.keys(e),n=0,i=r;n<i.length;n++){var o=i[n];if(e[o]!==t[o])return!1}return!0}var r2=1,Hae=function(){function e(t,r,n){this.wrapper=t,this.content=r,this.resizeTimeout=0,this.hooks=new Vi(["beforeStart","beforeMove","beforeScrollStart","scrollStart","scroll","beforeEnd","scrollEnd","resize","touchEnd","end","flick","scrollCancel","momentum","scrollTo","minDistanceScroll","scrollToElement","beforeRefresh"]),this.options=n;var i=this.options.bounce,o=i.left,a=i.right,s=i.top,u=i.bottom;this.scrollBehaviorX=new Qy(t,r,t2(n,"scrollX",[o,a],{size:"width",position:"left"})),this.scrollBehaviorY=new Qy(t,r,t2(n,"scrollY",[s,u],{size:"height",position:"top"})),this.translater=new Pae(this.content),this.animater=Rae(this.content,this.translater,this.options),this.actionsHandler=new Cae(this.options.bindToTarget?this.content:t,Wae(this.options)),this.actions=new Yae(this.scrollBehaviorX,this.scrollBehaviorY,this.actionsHandler,this.animater,this.options);var l=this.resize.bind(this);this.resizeRegister=new yc(window,[{name:"orientationchange",handler:l},{name:"resize",handler:l}]),this.registerTransitionEnd(),this.init()}return e.prototype.init=function(){var t=this;this.bindTranslater(),this.bindAnimater(),this.bindActions(),this.hooks.on(this.hooks.eventTypes.scrollEnd,function(){t.togglePointerEvents(!0)})},e.prototype.registerTransitionEnd=function(){this.transitionEndRegister=new yc(this.content,[{name:mo.transitionEnd,handler:this.transitionEnd.bind(this)}])},e.prototype.bindTranslater=function(){var t=this,r=this.translater.hooks;r.on(r.eventTypes.beforeTranslate,function(n){t.options.translateZ&&n.push(t.options.translateZ)}),r.on(r.eventTypes.translate,function(n){var i=t.getCurrentPos();if(t.updatePositions(n),t.actions.ensuringInteger===!0){t.actions.ensuringInteger=!1;return}(n.x!==i.x||n.y!==i.y)&&t.togglePointerEvents(!1)})},e.prototype.bindAnimater=function(){var t=this;this.animater.hooks.on(this.animater.hooks.eventTypes.end,function(r){t.resetPosition(t.options.bounceTime)||(t.animater.setPending(!1),t.hooks.trigger(t.hooks.eventTypes.scrollEnd,r))}),Op(this.animater.hooks,this.hooks,[{source:this.animater.hooks.eventTypes.move,target:this.hooks.eventTypes.scroll},{source:this.animater.hooks.eventTypes.forceStop,target:this.hooks.eventTypes.scrollEnd}])},e.prototype.bindActions=function(){var t=this,r=this.actions;Op(r.hooks,this.hooks,[{source:r.hooks.eventTypes.start,target:this.hooks.eventTypes.beforeStart},{source:r.hooks.eventTypes.start,target:this.hooks.eventTypes.beforeScrollStart},{source:r.hooks.eventTypes.beforeMove,target:this.hooks.eventTypes.beforeMove},{source:r.hooks.eventTypes.scrollStart,target:this.hooks.eventTypes.scrollStart},{source:r.hooks.eventTypes.scroll,target:this.hooks.eventTypes.scroll},{source:r.hooks.eventTypes.beforeEnd,target:this.hooks.eventTypes.beforeEnd}]),r.hooks.on(r.hooks.eventTypes.end,function(n,i){if(t.hooks.trigger(t.hooks.eventTypes.touchEnd,i),t.hooks.trigger(t.hooks.eventTypes.end,i)||!r.fingerMoved&&(t.hooks.trigger(t.hooks.eventTypes.scrollCancel),t.checkClick(n)))return!0;if(t.resetPosition(t.options.bounceTime,io.bounce))return t.animater.setForceStopped(!1),!0}),r.hooks.on(r.hooks.eventTypes.scrollEnd,function(n,i){var o=Math.abs(n.x-t.scrollBehaviorX.startPos),a=Math.abs(n.y-t.scrollBehaviorY.startPos);if(t.checkFlick(i,o,a)){t.animater.setForceStopped(!1),t.hooks.trigger(t.hooks.eventTypes.flick);return}if(t.momentum(n,i)){t.animater.setForceStopped(!1);return}r.contentMoved&&t.hooks.trigger(t.hooks.eventTypes.scrollEnd,n),t.animater.forceStopped&&t.animater.setForceStopped(!1)})},e.prototype.checkFlick=function(t,r,n){var i=1;if(this.hooks.events.flick.length>1&&t<this.options.flickLimitTime&&r<this.options.flickLimitDistance&&n<this.options.flickLimitDistance&&(n>i||r>i))return!0},e.prototype.momentum=function(t,r){var n={time:0,easing:io.swiper,newX:t.x,newY:t.y},i=this.scrollBehaviorX.end(r),o=this.scrollBehaviorY.end(r);if(n.newX=Ep(i.destination)?n.newX:i.destination,n.newY=Ep(o.destination)?n.newY:o.destination,n.time=Math.max(i.duration,o.duration),this.hooks.trigger(this.hooks.eventTypes.momentum,n,this),n.newX!==t.x||n.newY!==t.y)return(n.newX>this.scrollBehaviorX.minScrollPos||n.newX<this.scrollBehaviorX.maxScrollPos||n.newY>this.scrollBehaviorY.minScrollPos||n.newY<this.scrollBehaviorY.maxScrollPos)&&(n.easing=io.swipeBounce),this.scrollTo(n.newX,n.newY,n.time,n.easing),!0},e.prototype.checkClick=function(t){var r={preventClick:this.animater.forceStopped};if(this.hooks.trigger(this.hooks.eventTypes.checkClick))return this.animater.setForceStopped(!1),!0;if(!r.preventClick){var n=this.options.dblclick,i=!1;if(n&&this.lastClickTime){var o=n.delay,a=o===void 0?300:o;Eo()-this.lastClickTime<a&&(i=!0,Eae(t))}return this.options.tap&&xae(t,this.options.tap),this.options.click&&!tu(t.target,this.options.preventDefaultException)&&XS(t),this.lastClickTime=i?null:Eo(),!0}return!1},e.prototype.resize=function(){var t=this;this.actions.enabled&&(dae&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(function(){t.hooks.trigger(t.hooks.eventTypes.resize)},this.options.resizePolling))},e.prototype.transitionEnd=function(t){if(!(t.target!==this.content||!this.animater.pending)){var r=this.animater;r.transitionTime(),this.resetPosition(this.options.bounceTime,io.bounce)||(this.animater.setPending(!1),this.options.probeType!==3&&this.hooks.trigger(this.hooks.eventTypes.scrollEnd,this.getCurrentPos()))}},e.prototype.togglePointerEvents=function(t){t===void 0&&(t=!0);for(var r=this.content.children.length?this.content.children:[this.content],n=t?"auto":"none",i=0;i<r.length;i++){var o=r[i];o.isBScrollContainer||(o.style.pointerEvents=n)}},e.prototype.refresh=function(t){var r=this.setContent(t);this.hooks.trigger(this.hooks.eventTypes.beforeRefresh),this.scrollBehaviorX.refresh(t),this.scrollBehaviorY.refresh(t),r&&(this.translater.setContent(t),this.animater.setContent(t),this.transitionEndRegister.destroy(),this.registerTransitionEnd(),this.options.bindToTarget&&this.actionsHandler.setContent(t)),this.actions.refresh(),this.wrapperOffset=Xy(this.wrapper)},e.prototype.setContent=function(t){var r=t!==this.content;return r&&(this.content=t),r},e.prototype.scrollBy=function(t,r,n,i){n===void 0&&(n=0);var o=this.getCurrentPos(),a=o.x,s=o.y;i=i||io.bounce,t+=a,r+=s,this.scrollTo(t,r,n,i)},e.prototype.scrollTo=function(t,r,n,i,o){n===void 0&&(n=0),i===void 0&&(i=io.bounce),o===void 0&&(o={start:{},end:{}});var a=this.options.useTransition?i.style:i.fn,s=this.getCurrentPos(),u=eu({x:s.x,y:s.y},o.start),l=eu({x:t,y:r},o.end);if(this.hooks.trigger(this.hooks.eventTypes.scrollTo,l),!Uae(u,l)){var f=Math.abs(l.x-u.x),c=Math.abs(l.y-u.y);f<r2&&c<r2&&(n=0,this.hooks.trigger(this.hooks.eventTypes.minDistanceScroll)),this.animater.move(u,l,n,a)}},e.prototype.scrollToElement=function(t,r,n,i,o){var a=qS(t),s=Xy(a),u=function(f,c,h){return typeof f=="number"?f:f?Math.round(c/2-h/2):0};n=u(n,a.offsetWidth,this.wrapper.offsetWidth),i=u(i,a.offsetHeight,this.wrapper.offsetHeight);var l=function(f,c,h,d){return f-=c,f=d.adjustPosition(f-h),f};s.left=l(s.left,this.wrapperOffset.left,n,this.scrollBehaviorX),s.top=l(s.top,this.wrapperOffset.top,i,this.scrollBehaviorY),!this.hooks.trigger(this.hooks.eventTypes.scrollToElement,a,s)&&this.scrollTo(s.left,s.top,r,o)},e.prototype.resetPosition=function(t,r){t===void 0&&(t=0),r===void 0&&(r=io.bounce);var n=this.scrollBehaviorX.checkInBoundary(),i=n.position,o=n.inBoundary,a=this.scrollBehaviorY.checkInBoundary(),s=a.position,u=a.inBoundary;return o&&u?!1:(pae&&this.reflow(),this.scrollTo(i,s,t,r),!0)},e.prototype.reflow=function(){this._reflow=this.content.offsetHeight},e.prototype.updatePositions=function(t){this.scrollBehaviorX.updatePosition(t.x),this.scrollBehaviorY.updatePosition(t.y)},e.prototype.getCurrentPos=function(){return this.actions.getCurrentPos()},e.prototype.enable=function(){this.actions.enabled=!0},e.prototype.disable=function(){Mo(this.animater.timer),this.actions.enabled=!1},e.prototype.destroy=function(){var t=this,r=["resizeRegister","transitionEndRegister","actionsHandler","actions","hooks","animater","translater","scrollBehaviorX","scrollBehaviorY"];r.forEach(function(n){return t[n].destroy()})},e}(),yf=function(e){gf(t,e);function t(r,n){var i=e.call(this,["refresh","contentChanged","enable","disable","beforeScrollStart","scrollStart","scroll","scrollEnd","scrollCancel","touchEnd","flick","destroy"])||this,o=qS(r);return o?(i.plugins={},i.options=new Aae().merge(n).process(),i.setContent(o).valid&&(i.hooks=new Vi(["refresh","enable","disable","destroy","beforeInitialScrollTo","contentChanged"]),i.init(o)),i):(Ul("Can not resolve the wrapper DOM."),i)}return t.use=function(r){var n=r.pluginName,i=t.plugins.some(function(o){return r===o.ctor});return i?t:Ep(n)?(Ul("Plugin Class must specify plugin's name in static property by 'pluginName' field."),t):(t.pluginsMap[n]=!0,t.plugins.push({name:n,applyOrder:r.applyOrder,ctor:r}),t)},t.prototype.setContent=function(r){var n=!1,i=!0,o=r.children[this.options.specifiedIndexAsContent];return o?(n=this.content!==o,n&&(this.content=o)):(Ul("The wrapper need at least one child element to be content element to scroll."),i=!1),{valid:i,contentChanged:n}},t.prototype.init=function(r){var n=this;this.wrapper=r,r.isBScrollContainer=!0,this.scroller=new Hae(r,this.content,this.options),this.scroller.hooks.on(this.scroller.hooks.eventTypes.resize,function(){n.refresh()}),this.eventBubbling(),this.handleAutoBlur(),this.enable(),this.proxy(fae),this.applyPlugins(),this.refreshWithoutReset(this.content);var i=this.options,o=i.startX,a=i.startY,s={x:o,y:a};this.hooks.trigger(this.hooks.eventTypes.beforeInitialScrollTo,s)||this.scroller.scrollTo(s.x,s.y)},t.prototype.applyPlugins=function(){var r=this,n=this.options;t.plugins.sort(function(i,o){var a,s=(a={},a.pre=-1,a.post=1,a),u=i.applyOrder?s[i.applyOrder]:0,l=o.applyOrder?s[o.applyOrder]:0;return u-l}).forEach(function(i){var o=i.ctor;n[i.name]&&typeof o=="function"&&(r.plugins[i.name]=new o(r))})},t.prototype.handleAutoBlur=function(){this.options.autoBlur&&this.on(this.eventTypes.beforeScrollStart,function(){var r=document.activeElement;r&&(r.tagName==="INPUT"||r.tagName==="TEXTAREA")&&r.blur()})},t.prototype.eventBubbling=function(){Op(this.scroller.hooks,this,[this.eventTypes.beforeScrollStart,this.eventTypes.scrollStart,this.eventTypes.scroll,this.eventTypes.scrollEnd,this.eventTypes.scrollCancel,this.eventTypes.touchEnd,this.eventTypes.flick])},t.prototype.refreshWithoutReset=function(r){this.scroller.refresh(r),this.hooks.trigger(this.hooks.eventTypes.refresh,r),this.trigger(this.eventTypes.refresh,r)},t.prototype.proxy=function(r){var n=this;r.forEach(function(i){var o=i.key,a=i.sourceKey;Dae(n,a,o)})},t.prototype.refresh=function(){var r=this.setContent(this.wrapper),n=r.contentChanged,i=r.valid;if(i){var o=this.content;this.refreshWithoutReset(o),n&&(this.hooks.trigger(this.hooks.eventTypes.contentChanged,o),this.trigger(this.eventTypes.contentChanged,o)),this.scroller.resetPosition()}},t.prototype.enable=function(){this.scroller.enable(),this.hooks.trigger(this.hooks.eventTypes.enable),this.trigger(this.eventTypes.enable)},t.prototype.disable=function(){this.scroller.disable(),this.hooks.trigger(this.hooks.eventTypes.disable),this.trigger(this.eventTypes.disable)},t.prototype.destroy=function(){this.hooks.trigger(this.hooks.eventTypes.destroy),this.trigger(this.eventTypes.destroy),this.scroller.destroy()},t.prototype.eventRegister=function(r){this.registerType(r)},t.plugins=[],t.pluginsMap={},t}(Vi);function wf(e,t){var r=new yf(e,t);return r}wf.use=yf.use;wf.plugins=yf.plugins;wf.pluginsMap=yf.pluginsMap;var zae=wf;function ru(e){"@babel/helpers - typeof";return ru=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ru(e)}function jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vae(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Gae(n.key),n)}}function qae(e,t,r){return t&&Vae(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gae(e){var t=Xae(e,"string");return ru(t)=="symbol"?t:t+""}function Xae(e,t){if(ru(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ru(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Kae=/Android|iPhone|iPad|Mobile/i.test(navigator.userAgent),Zae=function(){function e(t,r){var n=this;jae(this,e),this.canvas={},this.ctx={},this.width=320,this.height=200,this.scale=window.devicePixelRatio||1,this.color="black",this.bgColor="",this.canDraw=!1,this.openSmooth=!0,this.minWidth=2,this.maxWidth=6,this.minSpeed=1.5,this.maxWidthDiffRate=20,this.points=[],this.undoList=[],this.redoList=[],this.onStart=function(){},this.onEnd=function(){},this.addListener=function(){n.removeListener(),n.canvas.style.touchAction="none",Kae&&("ontouchstart"in window||navigator.maxTouchPoints)?(n.canvas.addEventListener("touchstart",n.onDrawStart,{passive:!1}),n.canvas.addEventListener("touchmove",n.onDrawMove,{passive:!1}),document.addEventListener("touchcancel",n.onDrawEnd,{passive:!1}),document.addEventListener("touchend",n.onDrawEnd,{passive:!1})):(n.canvas.addEventListener("mousedown",n.onDrawStart),n.canvas.addEventListener("mousemove",n.onDrawMove),document.addEventListener("mouseup",n.onDrawEnd))},this.removeListener=function(){n.canvas.style.touchAction="auto",n.canvas.removeEventListener("touchstart",n.onDrawStart),n.canvas.removeEventListener("touchmove",n.onDrawMove),document.removeEventListener("touchend",n.onDrawEnd),document.removeEventListener("touchcancel",n.onDrawEnd),n.canvas.removeEventListener("mousedown",n.onDrawStart),n.canvas.removeEventListener("mousemove",n.onDrawMove),document.removeEventListener("mouseup",n.onDrawEnd)},this.onDrawStart=function(i){i.preventDefault(),n.canDraw=!0,n.initPoint(i),n.onStart&&n.onStart(i)},this.onDrawMove=function(i){if(i.preventDefault(),!!n.canDraw&&(n.initPoint(i),!(n.points.length<2))){var o=n.points.slice(-1)[0],a=n.points.slice(-2,-1)[0];window.requestAnimationFrame?window.requestAnimationFrame(function(){return n.onDraw(a,o)}):n.onDraw(a,o)}},this.onDraw=function(i,o){n.ctx.strokeStyle=o.color||n.color,n.openSmooth?n.drawSmoothLine(i,o):n.drawNoSmoothLine(i,o)},this.onDrawEnd=function(i){n.canDraw&&(n.undoList.push(n.points),n.redoList=[],n.canDraw=!1,n.points=[],n.onEnd&&n.onEnd(i))},this.getLineWidth=function(i){var o=n.minSpeed>10?10:n.minSpeed<1?1:n.minSpeed,a=(n.maxWidth-n.minWidth)*i/o,s=Math.max(n.maxWidth-a,n.minWidth);return Math.min(s,n.maxWidth)},this.getRadianData=function(i,o,a,s){var u=a-i,l=s-o;if(u===0)return{val:0,pos:-1};if(l===0)return{val:0,pos:1};var f=Math.abs(Math.atan(l/u));return a>i&&s<o||a<i&&s>o?{val:f,pos:1}:{val:f,pos:-1}},this.getRadianPoints=function(i,o,a,s){if(i.val===0)return i.pos===1?[{x:o,y:a+s},{x:o,y:a-s}]:[{y:a,x:o+s},{y:a,x:o-s}];var u=Math.sin(i.val)*s,l=Math.cos(i.val)*s;return i.pos===1?[{x:o+u,y:a+l},{x:o-u,y:a-l}]:[{x:o+u,y:a-l},{x:o-u,y:a+l}]},this.initPoint=function(i){var o=Date.now(),a=n.points.slice(-1)[0];if(!(a&&a.t===o)){var s=n.canvas.getBoundingClientRect(),u=i.touches&&i.touches[0]||i,l=u.clientX-s.left,f=u.clientY-s.top;if(!(a&&a.x===l&&a.y===f)){var c={x:l,y:f,t:o,color:n.color};if(n.openSmooth&&a){var h=n.points.slice(-2,-1)[0];if(c.distance=Math.sqrt(Math.pow(c.x-a.x,2)+Math.pow(c.y-a.y,2)),c.speed=c.distance/(c.t-a.t||.1),c.lineWidth=n.getLineWidth(c.speed),h&&h.lineWidth&&a.lineWidth){var d=(c.lineWidth-a.lineWidth)/a.lineWidth,p=n.maxWidthDiffRate/100;if(p=p>1?1:p<.01?.01:p,Math.abs(d)>p){var v=d>0?p:-p;c.lineWidth=a.lineWidth*(1+v)}}}n.points.push(c)}}},this.drawSmoothLine=function(i,o){var a=o.x-i.x,s=o.y-i.y;if(Math.abs(a)+Math.abs(s)<=n.scale?(o.lastX1=o.lastX2=i.x+a*.5,o.lastY1=o.lastY2=i.y+s*.5):(o.lastX1=i.x+a*.3,o.lastY1=i.y+s*.3,o.lastX2=i.x+a*.7,o.lastY2=i.y+s*.7),o.perLineWidth=(i.lineWidth+o.lineWidth)/2,typeof i.lastX1=="number"){if(n.drawCurveLine(i.lastX2,i.lastY2,i.x,i.y,o.lastX1,o.lastY1,o.perLineWidth),i.isFirstPoint||i.lastX1===i.lastX2&&i.lastY1===i.lastY2)return;var u=n.getRadianData(i.lastX1,i.lastY1,i.lastX2,i.lastY2),l=n.getRadianPoints(u,i.lastX1,i.lastY1,i.perLineWidth/2),f=n.getRadianPoints(u,i.lastX2,i.lastY2,o.perLineWidth/2);n.drawTrapezoid(l[0],f[0],f[1],l[1],o.color)}else o.isFirstPoint=!0},this.drawNoSmoothLine=function(i,o){o.lastX=i.x+(o.x-i.x)*.5,o.lastY=i.y+(o.y-i.y)*.5,typeof i.lastX=="number"&&n.drawCurveLine(i.lastX,i.lastY,i.x,i.y,o.lastX,o.lastY,n.maxWidth)},this.drawCurveLine=function(i,o,a,s,u,l,f){n.ctx.lineWidth=Number(f.toFixed(1)),n.ctx.beginPath(),n.ctx.moveTo(Number(i.toFixed(1)),Number(o.toFixed(1))),n.ctx.quadraticCurveTo(Number(a.toFixed(1)),Number(s.toFixed(1)),Number(u.toFixed(1)),Number(l.toFixed(1))),n.ctx.stroke()},this.drawTrapezoid=function(i,o,a,s,u){n.ctx.beginPath(),n.ctx.moveTo(Number(i.x.toFixed(1)),Number(i.y.toFixed(1))),n.ctx.lineTo(Number(o.x.toFixed(1)),Number(o.y.toFixed(1))),n.ctx.lineTo(Number(a.x.toFixed(1)),Number(a.y.toFixed(1))),n.ctx.lineTo(Number(s.x.toFixed(1)),Number(s.y.toFixed(1))),n.ctx.fillStyle=u||n.color,n.ctx.fill()},this.drawBgColor=function(){n.bgColor&&(n.ctx.fillStyle=n.bgColor,n.ctx.fillRect(0,0,n.width,n.height))},this.drawByImageUrl=function(i){var o=new Image;o.onload=function(){n.ctx.clearRect(0,0,n.width,n.height),n.ctx.drawImage(o,0,0,n.width,n.height)},o.crossOrigin="anonymous",o.src=i},this.clear=function(){n.ctx.clearRect(0,0,n.width,n.height),n.drawBgColor(),n.undoList=[],n.redoList=[]},this.undo=function(){if(n.undoList.length){var i=n.undoList.pop();i&&n.redoList.unshift(i),n.ctx.clearRect(0,0,n.width,n.height),n.drawBgColor(),n.undoList.forEach(function(o){o.forEach(function(a,s){s!==0&&n.onDraw(o[s-1],a)})})}},this.redo=function(){if(n.redoList.length){var i=n.redoList.shift();i&&n.undoList.push(i),n.ctx.clearRect(0,0,n.width,n.height),n.drawBgColor(),n.undoList.forEach(function(o){o.forEach(function(a,s){s!==0&&n.onDraw(o[s-1],a)})})}},this.toDataURL=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"image/png",o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(n.canvas.width===n.width)return n.canvas.toDataURL(i,o);var a=document.createElement("canvas");a.width=n.width,a.height=n.height;var s=a.getContext("2d");return s.drawImage(n.canvas,0,0,a.width,a.height),a.toDataURL(i,o)},this.getPNG=function(){return n.toDataURL()},this.getJPG=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:.8;return n.toDataURL("image/jpeg",i)},this.isEmpty=function(){var i=document.createElement("canvas"),o=i.getContext("2d");return i.width=n.canvas.width,i.height=n.canvas.height,n.bgColor?(o.fillStyle=n.bgColor,o.fillRect(0,0,i.width,i.height)):n.scale!==1&&o.scale(n.scale,n.scale),i.toDataURL()===n.canvas.toDataURL()},this.getRotateCanvas=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:90;i>0?i=i>90?180:90:i=i<-90?180:-90;var o=document.createElement("canvas"),a=n.width,s=n.height;i===180?(o.width=a,o.height=s):(o.width=s,o.height=a);var u=o.getContext("2d");return u.rotate(i*Math.PI/180),i===90?u.drawImage(n.canvas,0,-s,a,s):i===-90?u.drawImage(n.canvas,-a,0,a,s):i===180&&u.drawImage(n.canvas,-a,-s,a,s),o},this.init(t,r)}return qae(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r&&(this.canvas=r,this.ctx=r.getContext("2d"),this.width=n.width||r.clientWidth||this.width,this.height=n.height||r.clientHeight||this.height,this.scale=n.scale||this.scale,this.color=n.color||this.color,this.bgColor=n.bgColor||this.bgColor,this.openSmooth=n.openSmooth===void 0?this.openSmooth:!!n.openSmooth,this.minWidth=n.minWidth||this.minWidth,this.maxWidth=n.maxWidth||this.maxWidth,this.minSpeed=n.minSpeed||this.minSpeed,this.maxWidthDiffRate=n.maxWidthDiffRate||this.maxWidthDiffRate,this.onStart=n.onStart,this.onEnd=n.onEnd,this.scale>0&&(this.canvas.height=this.height*this.scale,this.canvas.width=this.width*this.scale,this.scale!==1&&(this.canvas.style.width=this.width+"px",this.canvas.style.height=this.height+"px",this.ctx.scale(this.scale,this.scale))),this.ctx.lineCap="round",this.drawBgColor(),this.addListener())}}]),e}();exports.BScroll=zae;exports.Complex=U;exports.Decimal=_u;exports.DomZIndex=i3;exports.Ee=jp;exports.Fraction=Mi;exports.GLOBAL_EVENT_KEYS=$i;exports.Md5=Mt;exports.NOOP=Vx;exports.Rn=Bb;exports.Schema=pu;exports.SmoothSignature=Zae;exports.TinyColor=cC;exports.VxeCore=Zi;exports.VxeUI=lp;exports.XEUtils=De;exports.Y=bC;exports._defineProperty=MF;exports._export_sfc=zw;exports._extends=Zd;exports.advancedFormat=EC;exports.api=xR;exports.arrow=wA;exports.arrow_down_bold_default=HT;exports.arrow_down_default=jT;exports.arrow_left_default=qT;exports.arrow_right_default=XT;exports.arrow_up_bold_default=ZT;exports.arrow_up_default=QT;exports.autoUpdate=pA;exports.axios=$t;exports.back_default=t5;exports.calendar_default=n5;exports.camelize=n6;exports.capitalize=a6;exports.caret_right_default=o5;exports.caret_top_default=s5;exports.castArray=LO;exports.checkVersion=k3;exports.check_default=l5;exports.circle_check_default=d5;exports.circle_check_filled_default=f5;exports.circle_close_default=g5;exports.circle_close_filled_default=v5;exports.clipboard=S3;exports.clock_default=w5;exports.clone=h$;exports.cloneDeep=v$;exports.close_default=_5;exports.commands=Z0;exports.component=C3;exports.computePosition=bA;exports.computedEager=dx;exports.coreVersion=e_;exports.createEvent=d3;exports.customParseFormat=pC;exports.d_arrow_left_default=x5;exports.d_arrow_right_default=O5;exports.dayOfYear=AC;exports.dayjs=hC;exports.debounce=z2;exports.delete_default=T5;exports.detectOverflow=vA;exports.document_default=M5;exports.escapeLatexLib=RF;exports.findLastIndex=dT;exports.flatMap=mT;exports.flatten=S2;exports.flattenDeep=yT;exports.flip=yA;exports.formats=K0;exports.fromPairs=wT;exports.full_screen_default=C5;exports.get=_2;exports.getComponent=M3;exports.getConfig=u3;exports.getI18n=q0;exports.getIcon=j0;exports.getLanguage=b3;exports.getSlotVNs=z0;exports.getTheme=a3;exports.globalEvents=p3;exports.globalResize=m3;exports.globalStore=l3;exports.handleCheckInfo=Ms;exports.hasComponent=A3;exports.hasLanguage=w3;exports.hasOwn=Gx;exports.hide_default=k5;exports.hooks=E3;exports.hooks$1=pe;exports.hyphenate=o6;exports.info_filled_default=I5;exports.interceptor=Ds;exports.isArray=Xx;exports.isClient=nu;exports.isDate=Kx;exports.isEqual=_T;exports.isFunction=yl;exports.isIOS=n2;exports.isNil=ST;exports.isObject=s2;exports.isPlainObject=t6;exports.isPromise=Jx;exports.isSameOrAfter=PC;exports.isSameOrBefore=NC;exports.isString=Zx;exports.isUndefined=xT;exports.loading_default=F5;exports.localeData=SC;exports.localforage=OR;exports.log=tn;exports.memoize=xc;exports.memoizeOne=FC;exports.menus=X0;exports.merge=ET;exports.minus_default=B5;exports.mitt=NP;exports.more_default=H5;exports.more_filled_default=W5;exports.naturalSort=CF;exports.offset=mA;exports.omit=AT;exports.onClickOutside=Ox;exports.onClickOutside$1=Vee;exports.onKeyStroke=Gee;exports.operation_default=j5;exports.permission=x3;exports.pick=kT;exports.picture_filled_default=q5;exports.plus_default=X5;exports.qs=Y7;exports.question_filled_default=Z5;exports.refDebounced=_x;exports.refresh_left_default=Q5;exports.refresh_right_default=tD;exports.renderCustomIcon=V0;exports.renderEmptyElement=P3;exports.renderGlobalIcon=f3;exports.renderer=co;exports.scale_to_original_default=nD;exports.screenfull=coe;exports.search_default=oD;exports.seedrandom=ZF;exports.set=NT;exports.setConfig=s3;exports.setI18n=y3;exports.setIcon=c3;exports.setLanguage=g3;exports.setTheme=rf;exports.shift=gA;exports.sort_down_default=sD;exports.sort_up_default=lD;exports.star_default=dD;exports.star_filled_default=fD;exports.success_filled_default=vD;exports.throttle=RT;exports.to=cae;exports.toRawType=e6;exports.tryOnScopeDispose=iu;exports.typedFunction=$R;exports.union=WT;exports.unrefElement=Xr;exports.use=D3;exports.useActiveElement=$x;exports.useActiveElement$1=Zee;exports.useClipboard=doe;exports.useCssVar=Dx;exports.useDevicesList=ete;exports.useDocumentVisibility=Mx;exports.useDocumentVisibility$1=tte;exports.useElementBounding=kx;exports.useElementSize=nte;exports.useEventListener=Er;exports.useFns=T3;exports.useMouseInElement=ate;exports.useMousePressed=ste;exports.useMutationObserver=Fx;exports.usePermission=$3;exports.useResizeObserver=a2;exports.useSize=O3;exports.useThrottleFn=Sx;exports.useTimeoutFn=xx;exports.useUserMedia=ute;exports.useVModel=Hx;exports.useWindowFocus=zx;exports.useWindowSize=jx;exports.useWindowSize$1=lte;exports.v4=yoe;exports.validators=G0;exports.view_default=gD;exports.vueQr=kP;exports.warning_filled_default=wD;exports.watchOnce=zee;exports.weekOfYear=$C;exports.weekYear=DC;exports.yn=OM;exports.zoom_in_default=_D;exports.zoom_out_default=xD;