mixdashboards 1.0.32 → 1.0.39

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 (413) hide show
  1. package/dist/CoordinateSystem-BMkAxlii.js +6 -0
  2. package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
  3. package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
  4. package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
  5. package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
  6. package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
  7. package/dist/MarkerView-BG_nYESR.cjs +1 -0
  8. package/dist/MarkerView-CtWJi5UZ.js +192 -0
  9. package/dist/RoamController--cgD3aNm.cjs +1 -0
  10. package/dist/RoamController-DmBIwcAZ.js +124 -0
  11. package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
  12. package/dist/UniverSheet-MSHzUXq0.js +180 -0
  13. package/dist/VisualMapping-D-MA7S0X.js +260 -0
  14. package/dist/VisualMapping-MilpZvD_.cjs +1 -0
  15. package/dist/accelerationChart-B1HPMmd2.js +577 -0
  16. package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
  17. package/dist/actionItem-BYCPoQK7.cjs +1 -0
  18. package/dist/actionItem-Bb2xiYlY.js +686 -0
  19. package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
  20. package/dist/alarmLevelChart-CCioESvL.js +182 -0
  21. package/dist/alertTable-CQwr8YYt.js +301 -0
  22. package/dist/alertTable-oaX5eJC0.cjs +1 -0
  23. package/dist/annualRainfallChart-C21jEMBe.js +185 -0
  24. package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
  25. package/dist/api-C0GhBpqd.js +125 -0
  26. package/dist/api-P_s372dW.cjs +1 -0
  27. package/dist/aqi-DlY2r7OA.cjs +3 -0
  28. package/dist/aqi-iLwQH4rc.js +145 -0
  29. package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
  30. package/dist/aqiIndass-DBeVSBdy.js +301 -0
  31. package/dist/arrayCard-DNNUEPvW.js +93 -0
  32. package/dist/arrayCard-OlVAAsZq.cjs +1 -0
  33. package/dist/audio-CAP4D-J2.js +301 -0
  34. package/dist/audio-CThzVIDU.cjs +1 -0
  35. package/dist/axisAlignTicks-BqVUa467.js +481 -0
  36. package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
  37. package/dist/bar-BjR566__.cjs +2 -0
  38. package/dist/bar-D8C06GO4.js +232 -0
  39. package/dist/bmp-Cjizh2x6.js +226 -0
  40. package/dist/bmp-DsmTzyce.cjs +1 -0
  41. package/dist/box-DqewT3MF.js +352 -0
  42. package/dist/box-qgu_67OD.cjs +1 -0
  43. package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
  44. package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
  45. package/dist/circleBar-CO89T7kj.cjs +4 -0
  46. package/dist/circleBar-DGHDWQih.js +196 -0
  47. package/dist/clock-32hGccm4.cjs +1 -0
  48. package/dist/clock-CT8YXEU3.js +274 -0
  49. package/dist/clt-5bP_g1O-.cjs +1 -0
  50. package/dist/clt-FfIEfGtn.js +293 -0
  51. package/dist/cmc-B2nQFZIS.js +269 -0
  52. package/dist/cmc-dbuLkE8o.cjs +1 -0
  53. package/dist/cmp-QQlYcnqo.js +378 -0
  54. package/dist/cmp-l3U9fIrz.cjs +6 -0
  55. package/dist/composite-CbsUYl-u.js +136 -0
  56. package/dist/composite-Cf24lSyN.cjs +1 -0
  57. package/dist/composite-DjhrBgG1.js +323 -0
  58. package/dist/composite-DlY2_x6P.cjs +3 -0
  59. package/dist/config-BLSroAzs.cjs +1 -0
  60. package/dist/config-Cc2W4vke.js +9 -0
  61. package/dist/controlList-BdF8xNAi.js +879 -0
  62. package/dist/controlList-De6PXdOc.cjs +1 -0
  63. package/dist/controlRecordList-CKpAr1ON.js +421 -0
  64. package/dist/controlRecordList-u5a7chIX.cjs +1 -0
  65. package/dist/crd-BVAf41oX.js +113 -0
  66. package/dist/crd-BoaXQhFQ.cjs +1 -0
  67. package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
  68. package/dist/createSeriesData-E53TTCAt.js +116 -0
  69. package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
  70. package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
  71. package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
  72. package/dist/ctrBtn-ZPRYWE66.js +215 -0
  73. package/dist/ctrSet-C87dxLfQ.js +247 -0
  74. package/dist/ctrSet-CNCrnLSs.cjs +1 -0
  75. package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
  76. package/dist/ctrSwitch-CkC_Axtp.js +207 -0
  77. package/dist/cursorHelper-DE0KU4_J.js +29 -0
  78. package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
  79. package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
  80. package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
  81. package/dist/dataManagement-CjlNfeYq.js +672 -0
  82. package/dist/dataManagement-n711sd1g.cjs +1 -0
  83. package/dist/dataReport-BsVjW3p7.cjs +4 -0
  84. package/dist/dataReport-ByjswEqq.js +787 -0
  85. package/dist/dataSample-BXwc06Sb.js +114 -0
  86. package/dist/dataSample-D4ycwmll.cjs +1 -0
  87. package/dist/dataTable-DX500R1i.js +217 -0
  88. package/dist/dataTable-K7j4fhnq.cjs +1 -0
  89. package/dist/datetime-DVbJtALf.js +113 -0
  90. package/dist/datetime-DYXWKrXI.cjs +1 -0
  91. package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
  92. package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
  93. package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
  94. package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
  95. package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
  96. package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
  97. package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
  98. package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
  99. package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
  100. package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
  101. package/dist/deepDisplacementView-BedWJsx7.js +231 -0
  102. package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
  103. package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
  104. package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
  105. package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
  106. package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
  107. package/dist/deepTemperatureField-B-y94GPV.js +398 -0
  108. package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
  109. package/dist/deepTrendChart-DCkV2HNv.js +345 -0
  110. package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
  111. package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
  112. package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
  113. package/dist/deviceStatus-B2ibBDSi.js +194 -0
  114. package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
  115. package/dist/displacementDataTable-BDqG1IvI.js +256 -0
  116. package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
  117. package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
  118. package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
  119. package/dist/displacementTrendChart-10n_lC9j.js +364 -0
  120. package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
  121. package/dist/dxf-D8zHpz5g.js +2768 -0
  122. package/dist/dxf-DDh_DcQy.cjs +1 -0
  123. package/dist/dzc-DLCdTCwW.js +144 -0
  124. package/dist/dzc-uNTDJqpi.cjs +2 -0
  125. package/dist/echarts-BB8O2KSA.cjs +21 -0
  126. package/dist/echarts-BVht3HHb.js +13787 -0
  127. package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
  128. package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
  129. package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
  130. package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
  131. package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
  132. package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
  133. package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
  134. package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
  135. package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
  136. package/dist/ele-clt-icon-DuU4Q401.js +5 -0
  137. package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
  138. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
  139. package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
  140. package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
  141. package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
  142. package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
  143. package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
  144. package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
  145. package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
  146. package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
  147. package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
  148. package/dist/ele-evn-icon-MWzAujnD.js +5 -0
  149. package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
  150. package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
  151. package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
  152. package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
  153. package/dist/ele-grd-icon-DR52zwGR.js +5 -0
  154. package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
  155. package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
  156. package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
  157. package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
  158. package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
  159. package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
  160. package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
  161. package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
  162. package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
  163. package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
  164. package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
  165. package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
  166. package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
  167. package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
  168. package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
  169. package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
  170. package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
  171. package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
  172. package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
  173. package/dist/evn-DuL5oVRl.cjs +1 -0
  174. package/dist/evn-YwCALVXj.js +116 -0
  175. package/dist/evolutionChart-4noZSdLX.js +406 -0
  176. package/dist/evolutionChart-AeL67MAt.cjs +1 -0
  177. package/dist/fileViewer-DiH3PM0r.js +415 -0
  178. package/dist/fileViewer-bsrjlJkC.cjs +1 -0
  179. package/dist/filterBar-CWEguwYc.js +394 -0
  180. package/dist/filterBar-Ct1BFhrS.cjs +1 -0
  181. package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
  182. package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
  183. package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
  184. package/dist/fireFilterBar-DGHPNTwF.js +221 -0
  185. package/dist/gag-HiNaL81R.cjs +1 -0
  186. package/dist/gag-kvkKzJuO.js +125 -0
  187. package/dist/glbModel-CUz6CyVF.js +2724 -0
  188. package/dist/glbModel-DtBI72ap.cjs +5 -0
  189. package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
  190. package/dist/gnssFilterBar-TBtirXIB.js +310 -0
  191. package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
  192. package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
  193. package/dist/gnssMapView-42zmAd9q.cjs +7 -0
  194. package/dist/gnssMapView-CaBfWeT1.js +699 -0
  195. package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
  196. package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
  197. package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
  198. package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
  199. package/dist/grd-B0GUjLm9.js +339 -0
  200. package/dist/grd-DW8cSFVR.cjs +1 -0
  201. package/dist/grdIndass-BeBXVsos.cjs +1 -0
  202. package/dist/grdIndass-DduUKZJm.js +216 -0
  203. package/dist/grg-CeX0pirQ.js +194 -0
  204. package/dist/grg-fnpcXtju.cjs +1 -0
  205. package/dist/gridview-BPwWXza9.js +183 -0
  206. package/dist/gridview-DpABhCIw.cjs +1 -0
  207. package/dist/groupCard-De1E15mW.js +132 -0
  208. package/dist/groupCard-WNE6gAAl.cjs +1 -0
  209. package/dist/headerBar-CZ3qcLHo.js +210 -0
  210. package/dist/headerBar-Qi1EXrr6.cjs +1 -0
  211. package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
  212. package/dist/history-DAmBl4_5.cjs +1 -0
  213. package/dist/index-ButoLLAe.js +8655 -0
  214. package/dist/index-Mh5Dw2sd.cjs +585 -0
  215. package/dist/index-kShjySl9.js +5313 -0
  216. package/dist/index-mAPVa0s4.cjs +11 -0
  217. package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
  218. package/dist/insarDeformChart-CnuSL1d9.js +216 -0
  219. package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
  220. package/dist/insarImageViewer-EmVThmVQ.js +268 -0
  221. package/dist/install-8XfFtnlL.js +853 -0
  222. package/dist/install-9_V0b6vf.js +497 -0
  223. package/dist/install-B0x4IqQr.js +1258 -0
  224. package/dist/install-B1IEhhn3.cjs +1 -0
  225. package/dist/install-B2TChEcT.js +895 -0
  226. package/dist/install-B65ZIqAx.cjs +1 -0
  227. package/dist/install-BBrAry2m.js +8 -0
  228. package/dist/install-BRjgycz_.cjs +1 -0
  229. package/dist/install-BUu5ESB7.js +447 -0
  230. package/dist/install-BamnGDPb.cjs +1 -0
  231. package/dist/install-BifpoHNI.js +1817 -0
  232. package/dist/install-BvOpNm0Y.cjs +1 -0
  233. package/dist/install-ByPD0oOh.cjs +1 -0
  234. package/dist/install-BzdOSCzO.js +785 -0
  235. package/dist/install-C8buXQPI.cjs +1 -0
  236. package/dist/install-C9Cdzkc6.js +265 -0
  237. package/dist/install-CBde4hAM.js +112 -0
  238. package/dist/install-CIT6k8Ga.cjs +1 -0
  239. package/dist/install-CYwVETsi.cjs +1 -0
  240. package/dist/install-C_3uGWLu.js +2328 -0
  241. package/dist/install-Ch5d8i37.cjs +1 -0
  242. package/dist/install-CltTFs4e.cjs +3 -0
  243. package/dist/install-Csxa7Kv7.cjs +18 -0
  244. package/dist/install-Cx1i_m0k.js +1168 -0
  245. package/dist/install-D1QM80AD.js +227 -0
  246. package/dist/install-D7znHb-b.js +604 -0
  247. package/dist/install-DHY9y86B.cjs +3 -0
  248. package/dist/install-DIlB2q7w.cjs +1 -0
  249. package/dist/install-DV5cEgNV.cjs +1 -0
  250. package/dist/install-DWm3j_D3.js +38 -0
  251. package/dist/install-FDYiy_gL.js +250 -0
  252. package/dist/install-LtoYukZU.cjs +1 -0
  253. package/dist/install-MS3ZY7fF.js +685 -0
  254. package/dist/install-hfre7yvV.js +727 -0
  255. package/dist/install-kGXY_57n.cjs +1 -0
  256. package/dist/install-nDY6w-GK.cjs +1 -0
  257. package/dist/install-oGjJ0_bF.js +588 -0
  258. package/dist/install-z6wShIZI.cjs +1 -0
  259. package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
  260. package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
  261. package/dist/installMarkArea-Cdg4iciO.js +206 -0
  262. package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
  263. package/dist/installMarkLine-BgE0YACE.js +533 -0
  264. package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
  265. package/dist/installSimple-BWTCwMdY.js +586 -0
  266. package/dist/installSimple-c87Ufc4_.cjs +1 -0
  267. package/dist/kds-CpIQFgeY.js +1203 -0
  268. package/dist/kds-DTYWOq4K.cjs +3 -0
  269. package/dist/labelHelper-Cd8oB-sZ.js +26 -0
  270. package/dist/labelHelper-npJGYQ1j.cjs +1 -0
  271. package/dist/layerTabs-BATcBkTA.cjs +1 -0
  272. package/dist/layerTabs-uze6K91A.js +139 -0
  273. package/dist/lin-Ba6fHkYf.cjs +2 -0
  274. package/dist/lin-DU_EuPRg.js +239 -0
  275. package/dist/linIndass-XHKElG7L.js +273 -0
  276. package/dist/linIndass-urYe5inp.cjs +2 -0
  277. package/dist/lst-C7aee1cU.js +147 -0
  278. package/dist/lst-CpmoEQDY.cjs +1 -0
  279. package/dist/manualEntry-CJPiO5nh.cjs +1 -0
  280. package/dist/manualEntry-D9m_WPw3.js +662 -0
  281. package/dist/mapBackground-6g_71Fwa.js +6658 -0
  282. package/dist/mapBackground-CF_TqNBy.cjs +17 -0
  283. package/dist/mappingList-CR55Tq4t.cjs +1 -0
  284. package/dist/mappingList-luT5YE0d.js +917 -0
  285. package/dist/markdownViewer-CnguoUr8.js +261 -0
  286. package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
  287. package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
  288. package/dist/mix-control-modal-CHiX3hQs.js +147 -0
  289. package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
  290. package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
  291. package/dist/mixGrid-3BqQCvg8.cjs +1 -0
  292. package/dist/mixGrid-C0eEvwPy.js +180 -0
  293. package/dist/mixMap-7upgYwWk.js +258 -0
  294. package/dist/mixMap-Bw-We4Cm.cjs +1 -0
  295. package/dist/mixModel-BqE_Kd4c.js +245 -0
  296. package/dist/mixModel-CgV4XptM.cjs +3 -0
  297. package/dist/mixPie-9LfMCTQV.cjs +2 -0
  298. package/dist/mixPie-B-HeglUn.js +168 -0
  299. package/dist/mixdashboards.cjs +1 -1
  300. package/dist/mixdashboards.css +1 -1
  301. package/dist/mixdashboards.js +7 -7
  302. package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
  303. package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
  304. package/dist/monitorAlert-Bg5vzzyG.js +225 -0
  305. package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
  306. package/dist/monitorData-BvAMeOrp.js +319 -0
  307. package/dist/monitorData-CzPVIk_4.cjs +1 -0
  308. package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
  309. package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
  310. package/dist/mxa-BW80xKCc.js +143 -0
  311. package/dist/mxa-eLAgZPMC.cjs +2 -0
  312. package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
  313. package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
  314. package/dist/objectList-Cf9GMyXN.js +1809 -0
  315. package/dist/objectList-CpqQxG8L.cjs +1 -0
  316. package/dist/params-3W3p8QeC.cjs +1 -0
  317. package/dist/params-DfgBemk0.js +75 -0
  318. package/dist/photo-BODEtaYh.cjs +1 -0
  319. package/dist/photo-BfLkWAo8.js +256 -0
  320. package/dist/pie-BDLg-Rls.js +199 -0
  321. package/dist/pie-DxoBrm0D.cjs +2 -0
  322. package/dist/points-DcRmizmA.cjs +1 -0
  323. package/dist/points-DkG9FRF9.js +277 -0
  324. package/dist/pressBtn-CXG1eSWC.js +242 -0
  325. package/dist/pressBtn-t0g4vk7s.cjs +1 -0
  326. package/dist/progressBar-BXaFKSCq.js +130 -0
  327. package/dist/progressBar-CJEWkZ42.cjs +1 -0
  328. package/dist/progressCircle-DpOI5D5z.js +168 -0
  329. package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
  330. package/dist/qrcode-CX8aymYZ.js +814 -0
  331. package/dist/qrcode-DHCRfp0M.cjs +1 -0
  332. package/dist/raceBar-Cv0-0ogd.cjs +4 -0
  333. package/dist/raceBar-DFaH342G.js +197 -0
  334. package/dist/rad-CFswUTwi.cjs +1 -0
  335. package/dist/rad-NS2G_nMg.js +143 -0
  336. package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
  337. package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
  338. package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
  339. package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
  340. package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
  341. package/dist/rangeLin-GMYEgLeP.js +278 -0
  342. package/dist/request-BD0x5Hkt.js +75 -0
  343. package/dist/request-Bn100qAJ.cjs +1 -0
  344. package/dist/retainer1-D2XmjXYH.cjs +1 -0
  345. package/dist/retainer1-h-Whr2c9.js +290 -0
  346. package/dist/retainer2-ByQdiRjq.js +504 -0
  347. package/dist/retainer2-cF-trL2g.cjs +1 -0
  348. package/dist/riskRegionTable-CQxAkG7k.js +170 -0
  349. package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
  350. package/dist/sankey-Bk1IcVJQ.js +171 -0
  351. package/dist/sankey-MRirEgU0.cjs +1 -0
  352. package/dist/sausage-DRCw7Qmr.cjs +1 -0
  353. package/dist/sausage-xU3hOdxD.js +30 -0
  354. package/dist/scd-BDRpzmsa.js +2577 -0
  355. package/dist/scd-J-mN3eI5.cjs +1 -0
  356. package/dist/sectorHelper-BFEnYqut.cjs +1 -0
  357. package/dist/sectorHelper-DIlWFMnU.js +18 -0
  358. package/dist/sideMenu-BgTMtnMq.js +225 -0
  359. package/dist/sideMenu-l8X2E00H.cjs +1 -0
  360. package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
  361. package/dist/slopeStability-C5RqZ1im.js +331 -0
  362. package/dist/speedCurve-C3pK-zZy.js +394 -0
  363. package/dist/speedCurve-CluwNAZl.cjs +1 -0
  364. package/dist/staticLine-C6tGGXcN.cjs +1 -0
  365. package/dist/staticLine-DXWOLj15.js +362 -0
  366. package/dist/store-BJW2NQkK.cjs +5 -0
  367. package/dist/store-DzDtVfSX.js +1673 -0
  368. package/dist/swiper-DGqDoUkX.cjs +1 -0
  369. package/dist/swiper-IMlGje3t.js +128 -0
  370. package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
  371. package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
  372. package/dist/terminalList-CjSHshiR.js +1211 -0
  373. package/dist/terminalList-ml2C18MY.cjs +1 -0
  374. package/dist/textbox-AQtCe25j.cjs +1 -0
  375. package/dist/textbox-BLV-SY8e.js +172 -0
  376. package/dist/three.module-DNVo041Q.cjs +3824 -0
  377. package/dist/three.module-DcOQNgKS.js +16561 -0
  378. package/dist/timeQueryBar-BeMu_DYr.js +155 -0
  379. package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
  380. package/dist/timeSeries-DP5iZKVM.js +587 -0
  381. package/dist/timeSeries-DfGgFWiF.cjs +4 -0
  382. package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
  383. package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
  384. package/dist/titleStyle-BT5GlpAb.js +49 -0
  385. package/dist/titleStyle-NSnz6cUg.cjs +1 -0
  386. package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
  387. package/dist/toggleBtn-O2Y75Uen.js +249 -0
  388. package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
  389. package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
  390. package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
  391. package/dist/trajectoryScatter-VLrmImlq.js +525 -0
  392. package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
  393. package/dist/universalConfigPanel-DBg76b4F.js +477 -0
  394. package/dist/universalTable-Bzq9VqzA.cjs +2 -0
  395. package/dist/universalTable-DGK02ywi.js +410 -0
  396. package/dist/universalTransition-Bv7ibBUh.js +988 -0
  397. package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
  398. package/dist/video-CyRoSQf1.cjs +1 -0
  399. package/dist/video-DCzzaEmV.js +310 -0
  400. package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
  401. package/dist/videoMonitor-ByaQeIWR.js +241 -0
  402. package/dist/vlu-CYZjYHaV.cjs +1 -0
  403. package/dist/vlu-h-9twmCr.js +100 -0
  404. package/dist/vue-i18n-5Nahpzrm.js +2732 -0
  405. package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
  406. package/dist/weather-B7B5E1EJ.cjs +1 -0
  407. package/dist/weather-C_aC0XJ1.js +94 -0
  408. package/dist/windLin-B7V4NUV8.js +1226 -0
  409. package/dist/windLin-DPNzX7JN.cjs +1 -0
  410. package/package.json +17 -10
  411. package/dist/history-fvcbbxGa.cjs +0 -1
  412. package/dist/index-B-aA7889.js +0 -154003
  413. package/dist/index-CdJ-j9Gj.cjs +0 -8893
@@ -0,0 +1,1203 @@
1
+ var Ye = Object.defineProperty, je = Object.defineProperties;
2
+ var Ke = Object.getOwnPropertyDescriptors;
3
+ var be = Object.getOwnPropertySymbols;
4
+ var We = Object.prototype.hasOwnProperty, Xe = Object.prototype.propertyIsEnumerable;
5
+ var Ae = (e, i, t) => i in e ? Ye(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, _e = (e, i) => {
6
+ for (var t in i || (i = {}))
7
+ We.call(i, t) && Ae(e, t, i[t]);
8
+ if (be)
9
+ for (var t of be(i))
10
+ Xe.call(i, t) && Ae(e, t, i[t]);
11
+ return e;
12
+ }, Oe = (e, i) => je(e, Ke(i));
13
+ import { defineComponent as Je, ref as Qe, inject as ye, getCurrentInstance as ei, computed as ii, watchEffect as ti, openBlock as ni, createElementBlock as ri, normalizeStyle as De, unref as ie, createElementVNode as he, toDisplayString as si, renderSlot as oi, nextTick as ui } from "vue";
14
+ import { B as li, e as fi, h as Te, u as ai, p as ci, j as di } from "./element-resize-detector-DJcsrJ8s.js";
15
+ import { g as hi } from "./titleStyle-BT5GlpAb.js";
16
+ import { d as pe, _ as pi } from "./index-kShjySl9.js";
17
+ import { A as gi, D as mi } from "./ele-lin-icon-Dax-ZiWV.js";
18
+ import { c as wi, d as vi, i as Ni } from "./install-C_3uGWLu.js";
19
+ import { u as Ei, i as Ci, a as Si } from "./installCanvasRenderer-CLT2hquJ.js";
20
+ import { i as ki } from "./install-BBrAry2m.js";
21
+ import { i as Mi } from "./install-B0x4IqQr.js";
22
+ import { i as bi } from "./install-hfre7yvV.js";
23
+ import { i as Ai } from "./install-Cx1i_m0k.js";
24
+ import { i as _i } from "./install-MS3ZY7fF.js";
25
+ import { i as Oi } from "./universalTransition-Bv7ibBUh.js";
26
+ import { i as Di, d as Ti } from "./echarts-BVht3HHb.js";
27
+ var Q = 9e15, W = 1e9, ge = "0123456789abcdef", re = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058", se = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789", me = {
28
+ // These values must be integers within the stated ranges (inclusive).
29
+ // Most of these values can be changed at run-time using the `Decimal.config` method.
30
+ // The maximum number of significant digits of the result of a calculation or base conversion.
31
+ // E.g. `Decimal.config({ precision: 20 });`
32
+ precision: 20,
33
+ // 1 to MAX_DIGITS
34
+ // The rounding mode used when rounding to `precision`.
35
+ //
36
+ // ROUND_UP 0 Away from zero.
37
+ // ROUND_DOWN 1 Towards zero.
38
+ // ROUND_CEIL 2 Towards +Infinity.
39
+ // ROUND_FLOOR 3 Towards -Infinity.
40
+ // ROUND_HALF_UP 4 Towards nearest neighbour. If equidistant, up.
41
+ // ROUND_HALF_DOWN 5 Towards nearest neighbour. If equidistant, down.
42
+ // ROUND_HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour.
43
+ // ROUND_HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity.
44
+ // ROUND_HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity.
45
+ //
46
+ // E.g.
47
+ // `Decimal.rounding = 4;`
48
+ // `Decimal.rounding = Decimal.ROUND_HALF_UP;`
49
+ rounding: 4,
50
+ // 0 to 8
51
+ // The modulo mode used when calculating the modulus: a mod n.
52
+ // The quotient (q = a / n) is calculated according to the corresponding rounding mode.
53
+ // The remainder (r) is calculated as: r = a - n * q.
54
+ //
55
+ // UP 0 The remainder is positive if the dividend is negative, else is negative.
56
+ // DOWN 1 The remainder has the same sign as the dividend (JavaScript %).
57
+ // FLOOR 3 The remainder has the same sign as the divisor (Python %).
58
+ // HALF_EVEN 6 The IEEE 754 remainder function.
59
+ // EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)). Always positive.
60
+ //
61
+ // Truncated division (1), floored division (3), the IEEE 754 remainder (6), and Euclidian
62
+ // division (9) are commonly used for the modulus operation. The other rounding modes can also
63
+ // be used, but they may not give useful results.
64
+ modulo: 1,
65
+ // 0 to 9
66
+ // The exponent value at and beneath which `toString` returns exponential notation.
67
+ // JavaScript numbers: -7
68
+ toExpNeg: -7,
69
+ // 0 to -EXP_LIMIT
70
+ // The exponent value at and above which `toString` returns exponential notation.
71
+ // JavaScript numbers: 21
72
+ toExpPos: 21,
73
+ // 0 to EXP_LIMIT
74
+ // The minimum exponent value, beneath which underflow to zero occurs.
75
+ // JavaScript numbers: -324 (5e-324)
76
+ minE: -Q,
77
+ // -1 to -EXP_LIMIT
78
+ // The maximum exponent value, above which overflow to Infinity occurs.
79
+ // JavaScript numbers: 308 (1.7976931348623157e+308)
80
+ maxE: Q,
81
+ // 1 to EXP_LIMIT
82
+ // Whether to use cryptographically-secure random number generation, if available.
83
+ crypto: !1
84
+ // true/false
85
+ }, Pe, z, N = !0, ue = "[DecimalError] ", K = ue + "Invalid argument: ", Fe = ue + "Precision limit exceeded", Re = ue + "crypto unavailable", Ue = "[object Decimal]", R = Math.floor, q = Math.pow, Ii = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, qi = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, Li = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, Ze = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, V = 1e7, w = 7, Pi = 9007199254740991, Fi = re.length - 1, we = se.length - 1, h = { toStringTag: Ue };
86
+ h.absoluteValue = h.abs = function() {
87
+ var e = new this.constructor(this);
88
+ return e.s < 0 && (e.s = 1), m(e);
89
+ };
90
+ h.ceil = function() {
91
+ return m(new this.constructor(this), this.e + 1, 2);
92
+ };
93
+ h.clampedTo = h.clamp = function(e, i) {
94
+ var t, n = this, r = n.constructor;
95
+ if (e = new r(e), i = new r(i), !e.s || !i.s) return new r(NaN);
96
+ if (e.gt(i)) throw Error(K + i);
97
+ return t = n.cmp(e), t < 0 ? e : n.cmp(i) > 0 ? i : new r(n);
98
+ };
99
+ h.comparedTo = h.cmp = function(e) {
100
+ var i, t, n, r, s = this, o = s.d, u = (e = new s.constructor(e)).d, f = s.s, l = e.s;
101
+ if (!o || !u)
102
+ return !f || !l ? NaN : f !== l ? f : o === u ? 0 : !o ^ f < 0 ? 1 : -1;
103
+ if (!o[0] || !u[0]) return o[0] ? f : u[0] ? -l : 0;
104
+ if (f !== l) return f;
105
+ if (s.e !== e.e) return s.e > e.e ^ f < 0 ? 1 : -1;
106
+ for (n = o.length, r = u.length, i = 0, t = n < r ? n : r; i < t; ++i)
107
+ if (o[i] !== u[i]) return o[i] > u[i] ^ f < 0 ? 1 : -1;
108
+ return n === r ? 0 : n > r ^ f < 0 ? 1 : -1;
109
+ };
110
+ h.cosine = h.cos = function() {
111
+ var e, i, t = this, n = t.constructor;
112
+ return t.d ? t.d[0] ? (e = n.precision, i = n.rounding, n.precision = e + Math.max(t.e, t.sd()) + w, n.rounding = 1, t = Ri(n, $e(n, t)), n.precision = e, n.rounding = i, m(z == 2 || z == 3 ? t.neg() : t, e, i, !0)) : new n(1) : new n(NaN);
113
+ };
114
+ h.cubeRoot = h.cbrt = function() {
115
+ var e, i, t, n, r, s, o, u, f, l, a = this, c = a.constructor;
116
+ if (!a.isFinite() || a.isZero()) return new c(a);
117
+ for (N = !1, s = a.s * q(a.s * a, 1 / 3), !s || Math.abs(s) == 1 / 0 ? (t = P(a.d), e = a.e, (s = (e - t.length + 1) % 3) && (t += s == 1 || s == -2 ? "0" : "00"), s = q(t, 1 / 3), e = R((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), s == 1 / 0 ? t = "5e" + e : (t = s.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + e), n = new c(t), n.s = a.s) : n = new c(s.toString()), o = (e = c.precision) + 3; ; )
118
+ if (u = n, f = u.times(u).times(u), l = f.plus(a), n = M(l.plus(a).times(u), l.plus(f), o + 2, 1), P(u.d).slice(0, o) === (t = P(n.d)).slice(0, o))
119
+ if (t = t.slice(o - 3, o + 1), t == "9999" || !r && t == "4999") {
120
+ if (!r && (m(u, e + 1, 0), u.times(u).times(u).eq(a))) {
121
+ n = u;
122
+ break;
123
+ }
124
+ o += 4, r = 1;
125
+ } else {
126
+ (!+t || !+t.slice(1) && t.charAt(0) == "5") && (m(n, e + 1, 1), i = !n.times(n).times(n).eq(a));
127
+ break;
128
+ }
129
+ return N = !0, m(n, e, c.rounding, i);
130
+ };
131
+ h.decimalPlaces = h.dp = function() {
132
+ var e, i = this.d, t = NaN;
133
+ if (i) {
134
+ if (e = i.length - 1, t = (e - R(this.e / w)) * w, e = i[e], e) for (; e % 10 == 0; e /= 10) t--;
135
+ t < 0 && (t = 0);
136
+ }
137
+ return t;
138
+ };
139
+ h.dividedBy = h.div = function(e) {
140
+ return M(this, new this.constructor(e));
141
+ };
142
+ h.dividedToIntegerBy = h.divToInt = function(e) {
143
+ var i = this, t = i.constructor;
144
+ return m(M(i, new t(e), 0, 1, 1), t.precision, t.rounding);
145
+ };
146
+ h.equals = h.eq = function(e) {
147
+ return this.cmp(e) === 0;
148
+ };
149
+ h.floor = function() {
150
+ return m(new this.constructor(this), this.e + 1, 3);
151
+ };
152
+ h.greaterThan = h.gt = function(e) {
153
+ return this.cmp(e) > 0;
154
+ };
155
+ h.greaterThanOrEqualTo = h.gte = function(e) {
156
+ var i = this.cmp(e);
157
+ return i == 1 || i === 0;
158
+ };
159
+ h.hyperbolicCosine = h.cosh = function() {
160
+ var e, i, t, n, r, s = this, o = s.constructor, u = new o(1);
161
+ if (!s.isFinite()) return new o(s.s ? 1 / 0 : NaN);
162
+ if (s.isZero()) return u;
163
+ t = o.precision, n = o.rounding, o.precision = t + Math.max(s.e, s.sd()) + 4, o.rounding = 1, r = s.d.length, r < 32 ? (e = Math.ceil(r / 3), i = (1 / fe(4, e)).toString()) : (e = 16, i = "2.3283064365386962890625e-10"), s = y(o, 1, s.times(i), new o(1), !0);
164
+ for (var f, l = e, a = new o(8); l--; )
165
+ f = s.times(s), s = u.minus(f.times(a.minus(f.times(a))));
166
+ return m(s, o.precision = t, o.rounding = n, !0);
167
+ };
168
+ h.hyperbolicSine = h.sinh = function() {
169
+ var e, i, t, n, r = this, s = r.constructor;
170
+ if (!r.isFinite() || r.isZero()) return new s(r);
171
+ if (i = s.precision, t = s.rounding, s.precision = i + Math.max(r.e, r.sd()) + 4, s.rounding = 1, n = r.d.length, n < 3)
172
+ r = y(s, 2, r, r, !0);
173
+ else {
174
+ e = 1.4 * Math.sqrt(n), e = e > 16 ? 16 : e | 0, r = r.times(1 / fe(5, e)), r = y(s, 2, r, r, !0);
175
+ for (var o, u = new s(5), f = new s(16), l = new s(20); e--; )
176
+ o = r.times(r), r = r.times(u.plus(o.times(f.times(o).plus(l))));
177
+ }
178
+ return s.precision = i, s.rounding = t, m(r, i, t, !0);
179
+ };
180
+ h.hyperbolicTangent = h.tanh = function() {
181
+ var e, i, t = this, n = t.constructor;
182
+ return t.isFinite() ? t.isZero() ? new n(t) : (e = n.precision, i = n.rounding, n.precision = e + 7, n.rounding = 1, M(t.sinh(), t.cosh(), n.precision = e, n.rounding = i)) : new n(t.s);
183
+ };
184
+ h.inverseCosine = h.acos = function() {
185
+ var e = this, i = e.constructor, t = e.abs().cmp(1), n = i.precision, r = i.rounding;
186
+ return t !== -1 ? t === 0 ? e.isNeg() ? x(i, n, r) : new i(0) : new i(NaN) : e.isZero() ? x(i, n + 4, r).times(0.5) : (i.precision = n + 6, i.rounding = 1, e = new i(1).minus(e).div(e.plus(1)).sqrt().atan(), i.precision = n, i.rounding = r, e.times(2));
187
+ };
188
+ h.inverseHyperbolicCosine = h.acosh = function() {
189
+ var e, i, t = this, n = t.constructor;
190
+ return t.lte(1) ? new n(t.eq(1) ? 0 : NaN) : t.isFinite() ? (e = n.precision, i = n.rounding, n.precision = e + Math.max(Math.abs(t.e), t.sd()) + 4, n.rounding = 1, N = !1, t = t.times(t).minus(1).sqrt().plus(t), N = !0, n.precision = e, n.rounding = i, t.ln()) : new n(t);
191
+ };
192
+ h.inverseHyperbolicSine = h.asinh = function() {
193
+ var e, i, t = this, n = t.constructor;
194
+ return !t.isFinite() || t.isZero() ? new n(t) : (e = n.precision, i = n.rounding, n.precision = e + 2 * Math.max(Math.abs(t.e), t.sd()) + 6, n.rounding = 1, N = !1, t = t.times(t).plus(1).sqrt().plus(t), N = !0, n.precision = e, n.rounding = i, t.ln());
195
+ };
196
+ h.inverseHyperbolicTangent = h.atanh = function() {
197
+ var e, i, t, n, r = this, s = r.constructor;
198
+ return r.isFinite() ? r.e >= 0 ? new s(r.abs().eq(1) ? r.s / 0 : r.isZero() ? r : NaN) : (e = s.precision, i = s.rounding, n = r.sd(), Math.max(n, e) < 2 * -r.e - 1 ? m(new s(r), e, i, !0) : (s.precision = t = n - r.e, r = M(r.plus(1), new s(1).minus(r), t + e, 1), s.precision = e + 4, s.rounding = 1, r = r.ln(), s.precision = e, s.rounding = i, r.times(0.5))) : new s(NaN);
199
+ };
200
+ h.inverseSine = h.asin = function() {
201
+ var e, i, t, n, r = this, s = r.constructor;
202
+ return r.isZero() ? new s(r) : (i = r.abs().cmp(1), t = s.precision, n = s.rounding, i !== -1 ? i === 0 ? (e = x(s, t + 4, n).times(0.5), e.s = r.s, e) : new s(NaN) : (s.precision = t + 6, s.rounding = 1, r = r.div(new s(1).minus(r.times(r)).sqrt().plus(1)).atan(), s.precision = t, s.rounding = n, r.times(2)));
203
+ };
204
+ h.inverseTangent = h.atan = function() {
205
+ var e, i, t, n, r, s, o, u, f, l = this, a = l.constructor, c = a.precision, d = a.rounding;
206
+ if (l.isFinite()) {
207
+ if (l.isZero())
208
+ return new a(l);
209
+ if (l.abs().eq(1) && c + 4 <= we)
210
+ return o = x(a, c + 4, d).times(0.25), o.s = l.s, o;
211
+ } else {
212
+ if (!l.s) return new a(NaN);
213
+ if (c + 4 <= we)
214
+ return o = x(a, c + 4, d).times(0.5), o.s = l.s, o;
215
+ }
216
+ for (a.precision = u = c + 10, a.rounding = 1, t = Math.min(28, u / w + 2 | 0), e = t; e; --e) l = l.div(l.times(l).plus(1).sqrt().plus(1));
217
+ for (N = !1, i = Math.ceil(u / w), n = 1, f = l.times(l), o = new a(l), r = l; e !== -1; )
218
+ if (r = r.times(f), s = o.minus(r.div(n += 2)), r = r.times(f), o = s.plus(r.div(n += 2)), o.d[i] !== void 0) for (e = i; o.d[e] === s.d[e] && e--; ) ;
219
+ return t && (o = o.times(2 << t - 1)), N = !0, m(o, a.precision = c, a.rounding = d, !0);
220
+ };
221
+ h.isFinite = function() {
222
+ return !!this.d;
223
+ };
224
+ h.isInteger = h.isInt = function() {
225
+ return !!this.d && R(this.e / w) > this.d.length - 2;
226
+ };
227
+ h.isNaN = function() {
228
+ return !this.s;
229
+ };
230
+ h.isNegative = h.isNeg = function() {
231
+ return this.s < 0;
232
+ };
233
+ h.isPositive = h.isPos = function() {
234
+ return this.s > 0;
235
+ };
236
+ h.isZero = function() {
237
+ return !!this.d && this.d[0] === 0;
238
+ };
239
+ h.lessThan = h.lt = function(e) {
240
+ return this.cmp(e) < 0;
241
+ };
242
+ h.lessThanOrEqualTo = h.lte = function(e) {
243
+ return this.cmp(e) < 1;
244
+ };
245
+ h.logarithm = h.log = function(e) {
246
+ var i, t, n, r, s, o, u, f, l = this, a = l.constructor, c = a.precision, d = a.rounding, g = 5;
247
+ if (e == null)
248
+ e = new a(10), i = !0;
249
+ else {
250
+ if (e = new a(e), t = e.d, e.s < 0 || !t || !t[0] || e.eq(1)) return new a(NaN);
251
+ i = e.eq(10);
252
+ }
253
+ if (t = l.d, l.s < 0 || !t || !t[0] || l.eq(1))
254
+ return new a(t && !t[0] ? -1 / 0 : l.s != 1 ? NaN : t ? 0 : 1 / 0);
255
+ if (i)
256
+ if (t.length > 1)
257
+ s = !0;
258
+ else {
259
+ for (r = t[0]; r % 10 === 0; ) r /= 10;
260
+ s = r !== 1;
261
+ }
262
+ if (N = !1, u = c + g, o = Y(l, u), n = i ? oe(a, u + 10) : Y(e, u), f = M(o, n, u, 1), ee(f.d, r = c, d))
263
+ do
264
+ if (u += 10, o = Y(l, u), n = i ? oe(a, u + 10) : Y(e, u), f = M(o, n, u, 1), !s) {
265
+ +P(f.d).slice(r + 1, r + 15) + 1 == 1e14 && (f = m(f, c + 1, 0));
266
+ break;
267
+ }
268
+ while (ee(f.d, r += 10, d));
269
+ return N = !0, m(f, c, d);
270
+ };
271
+ h.minus = h.sub = function(e) {
272
+ var i, t, n, r, s, o, u, f, l, a, c, d, g = this, C = g.constructor;
273
+ if (e = new C(e), !g.d || !e.d)
274
+ return !g.s || !e.s ? e = new C(NaN) : g.d ? e.s = -e.s : e = new C(e.d || g.s !== e.s ? g : NaN), e;
275
+ if (g.s != e.s)
276
+ return e.s = -e.s, g.plus(e);
277
+ if (l = g.d, d = e.d, u = C.precision, f = C.rounding, !l[0] || !d[0]) {
278
+ if (d[0]) e.s = -e.s;
279
+ else if (l[0]) e = new C(g);
280
+ else return new C(f === 3 ? -0 : 0);
281
+ return N ? m(e, u, f) : e;
282
+ }
283
+ if (t = R(e.e / w), a = R(g.e / w), l = l.slice(), s = a - t, s) {
284
+ for (c = s < 0, c ? (i = l, s = -s, o = d.length) : (i = d, t = a, o = l.length), n = Math.max(Math.ceil(u / w), o) + 2, s > n && (s = n, i.length = 1), i.reverse(), n = s; n--; ) i.push(0);
285
+ i.reverse();
286
+ } else {
287
+ for (n = l.length, o = d.length, c = n < o, c && (o = n), n = 0; n < o; n++)
288
+ if (l[n] != d[n]) {
289
+ c = l[n] < d[n];
290
+ break;
291
+ }
292
+ s = 0;
293
+ }
294
+ for (c && (i = l, l = d, d = i, e.s = -e.s), o = l.length, n = d.length - o; n > 0; --n) l[o++] = 0;
295
+ for (n = d.length; n > s; ) {
296
+ if (l[--n] < d[n]) {
297
+ for (r = n; r && l[--r] === 0; ) l[r] = V - 1;
298
+ --l[r], l[n] += V;
299
+ }
300
+ l[n] -= d[n];
301
+ }
302
+ for (; l[--o] === 0; ) l.pop();
303
+ for (; l[0] === 0; l.shift()) --t;
304
+ return l[0] ? (e.d = l, e.e = le(l, t), N ? m(e, u, f) : e) : new C(f === 3 ? -0 : 0);
305
+ };
306
+ h.modulo = h.mod = function(e) {
307
+ var i, t = this, n = t.constructor;
308
+ return e = new n(e), !t.d || !e.s || e.d && !e.d[0] ? new n(NaN) : !e.d || t.d && !t.d[0] ? m(new n(t), n.precision, n.rounding) : (N = !1, n.modulo == 9 ? (i = M(t, e.abs(), 0, 3, 1), i.s *= e.s) : i = M(t, e, 0, n.modulo, 1), i = i.times(e), N = !0, t.minus(i));
309
+ };
310
+ h.naturalExponential = h.exp = function() {
311
+ return ve(this);
312
+ };
313
+ h.naturalLogarithm = h.ln = function() {
314
+ return Y(this);
315
+ };
316
+ h.negated = h.neg = function() {
317
+ var e = new this.constructor(this);
318
+ return e.s = -e.s, m(e);
319
+ };
320
+ h.plus = h.add = function(e) {
321
+ var i, t, n, r, s, o, u, f, l, a, c = this, d = c.constructor;
322
+ if (e = new d(e), !c.d || !e.d)
323
+ return !c.s || !e.s ? e = new d(NaN) : c.d || (e = new d(e.d || c.s === e.s ? c : NaN)), e;
324
+ if (c.s != e.s)
325
+ return e.s = -e.s, c.minus(e);
326
+ if (l = c.d, a = e.d, u = d.precision, f = d.rounding, !l[0] || !a[0])
327
+ return a[0] || (e = new d(c)), N ? m(e, u, f) : e;
328
+ if (s = R(c.e / w), n = R(e.e / w), l = l.slice(), r = s - n, r) {
329
+ for (r < 0 ? (t = l, r = -r, o = a.length) : (t = a, n = s, o = l.length), s = Math.ceil(u / w), o = s > o ? s + 1 : o + 1, r > o && (r = o, t.length = 1), t.reverse(); r--; ) t.push(0);
330
+ t.reverse();
331
+ }
332
+ for (o = l.length, r = a.length, o - r < 0 && (r = o, t = a, a = l, l = t), i = 0; r; )
333
+ i = (l[--r] = l[r] + a[r] + i) / V | 0, l[r] %= V;
334
+ for (i && (l.unshift(i), ++n), o = l.length; l[--o] == 0; ) l.pop();
335
+ return e.d = l, e.e = le(l, n), N ? m(e, u, f) : e;
336
+ };
337
+ h.precision = h.sd = function(e) {
338
+ var i, t = this;
339
+ if (e !== void 0 && e !== !!e && e !== 1 && e !== 0) throw Error(K + e);
340
+ return t.d ? (i = Be(t.d), e && t.e + 1 > i && (i = t.e + 1)) : i = NaN, i;
341
+ };
342
+ h.round = function() {
343
+ var e = this, i = e.constructor;
344
+ return m(new i(e), e.e + 1, i.rounding);
345
+ };
346
+ h.sine = h.sin = function() {
347
+ var e, i, t = this, n = t.constructor;
348
+ return t.isFinite() ? t.isZero() ? new n(t) : (e = n.precision, i = n.rounding, n.precision = e + Math.max(t.e, t.sd()) + w, n.rounding = 1, t = Zi(n, $e(n, t)), n.precision = e, n.rounding = i, m(z > 2 ? t.neg() : t, e, i, !0)) : new n(NaN);
349
+ };
350
+ h.squareRoot = h.sqrt = function() {
351
+ var e, i, t, n, r, s, o = this, u = o.d, f = o.e, l = o.s, a = o.constructor;
352
+ if (l !== 1 || !u || !u[0])
353
+ return new a(!l || l < 0 && (!u || u[0]) ? NaN : u ? o : 1 / 0);
354
+ for (N = !1, l = Math.sqrt(+o), l == 0 || l == 1 / 0 ? (i = P(u), (i.length + f) % 2 == 0 && (i += "0"), l = Math.sqrt(i), f = R((f + 1) / 2) - (f < 0 || f % 2), l == 1 / 0 ? i = "5e" + f : (i = l.toExponential(), i = i.slice(0, i.indexOf("e") + 1) + f), n = new a(i)) : n = new a(l.toString()), t = (f = a.precision) + 3; ; )
355
+ if (s = n, n = s.plus(M(o, s, t + 2, 1)).times(0.5), P(s.d).slice(0, t) === (i = P(n.d)).slice(0, t))
356
+ if (i = i.slice(t - 3, t + 1), i == "9999" || !r && i == "4999") {
357
+ if (!r && (m(s, f + 1, 0), s.times(s).eq(o))) {
358
+ n = s;
359
+ break;
360
+ }
361
+ t += 4, r = 1;
362
+ } else {
363
+ (!+i || !+i.slice(1) && i.charAt(0) == "5") && (m(n, f + 1, 1), e = !n.times(n).eq(o));
364
+ break;
365
+ }
366
+ return N = !0, m(n, f, a.rounding, e);
367
+ };
368
+ h.tangent = h.tan = function() {
369
+ var e, i, t = this, n = t.constructor;
370
+ return t.isFinite() ? t.isZero() ? new n(t) : (e = n.precision, i = n.rounding, n.precision = e + 10, n.rounding = 1, t = t.sin(), t.s = 1, t = M(t, new n(1).minus(t.times(t)).sqrt(), e + 10, 0), n.precision = e, n.rounding = i, m(z == 2 || z == 4 ? t.neg() : t, e, i, !0)) : new n(NaN);
371
+ };
372
+ h.times = h.mul = function(e) {
373
+ var i, t, n, r, s, o, u, f, l, a = this, c = a.constructor, d = a.d, g = (e = new c(e)).d;
374
+ if (e.s *= a.s, !d || !d[0] || !g || !g[0])
375
+ return new c(!e.s || d && !d[0] && !g || g && !g[0] && !d ? NaN : !d || !g ? e.s / 0 : e.s * 0);
376
+ for (t = R(a.e / w) + R(e.e / w), f = d.length, l = g.length, f < l && (s = d, d = g, g = s, o = f, f = l, l = o), s = [], o = f + l, n = o; n--; ) s.push(0);
377
+ for (n = l; --n >= 0; ) {
378
+ for (i = 0, r = f + n; r > n; )
379
+ u = s[r] + g[n] * d[r - n - 1] + i, s[r--] = u % V | 0, i = u / V | 0;
380
+ s[r] = (s[r] + i) % V | 0;
381
+ }
382
+ for (; !s[--o]; ) s.pop();
383
+ return i ? ++t : s.shift(), e.d = s, e.e = le(s, t), N ? m(e, c.precision, c.rounding) : e;
384
+ };
385
+ h.toBinary = function(e, i) {
386
+ return Ne(this, 2, e, i);
387
+ };
388
+ h.toDecimalPlaces = h.toDP = function(e, i) {
389
+ var t = this, n = t.constructor;
390
+ return t = new n(t), e === void 0 ? t : (Z(e, 0, W), i === void 0 ? i = n.rounding : Z(i, 0, 8), m(t, e + t.e + 1, i));
391
+ };
392
+ h.toExponential = function(e, i) {
393
+ var t, n = this, r = n.constructor;
394
+ return e === void 0 ? t = $(n, !0) : (Z(e, 0, W), i === void 0 ? i = r.rounding : Z(i, 0, 8), n = m(new r(n), e + 1, i), t = $(n, !0, e + 1)), n.isNeg() && !n.isZero() ? "-" + t : t;
395
+ };
396
+ h.toFixed = function(e, i) {
397
+ var t, n, r = this, s = r.constructor;
398
+ return e === void 0 ? t = $(r) : (Z(e, 0, W), i === void 0 ? i = s.rounding : Z(i, 0, 8), n = m(new s(r), e + r.e + 1, i), t = $(n, !1, e + n.e + 1)), r.isNeg() && !r.isZero() ? "-" + t : t;
399
+ };
400
+ h.toFraction = function(e) {
401
+ var i, t, n, r, s, o, u, f, l, a, c, d, g = this, C = g.d, v = g.constructor;
402
+ if (!C) return new v(g);
403
+ if (l = t = new v(1), n = f = new v(0), i = new v(n), s = i.e = Be(C) - g.e - 1, o = s % w, i.d[0] = q(10, o < 0 ? w + o : o), e == null)
404
+ e = s > 0 ? i : l;
405
+ else {
406
+ if (u = new v(e), !u.isInt() || u.lt(l)) throw Error(K + u);
407
+ e = u.gt(i) ? s > 0 ? i : l : u;
408
+ }
409
+ for (N = !1, u = new v(P(C)), a = v.precision, v.precision = s = C.length * w * 2; c = M(u, i, 0, 1, 1), r = t.plus(c.times(n)), r.cmp(e) != 1; )
410
+ t = n, n = r, r = l, l = f.plus(c.times(r)), f = r, r = i, i = u.minus(c.times(r)), u = r;
411
+ return r = M(e.minus(t), n, 0, 1, 1), f = f.plus(r.times(l)), t = t.plus(r.times(n)), f.s = l.s = g.s, d = M(l, n, s, 1).minus(g).abs().cmp(M(f, t, s, 1).minus(g).abs()) < 1 ? [l, n] : [f, t], v.precision = a, N = !0, d;
412
+ };
413
+ h.toHexadecimal = h.toHex = function(e, i) {
414
+ return Ne(this, 16, e, i);
415
+ };
416
+ h.toNearest = function(e, i) {
417
+ var t = this, n = t.constructor;
418
+ if (t = new n(t), e == null) {
419
+ if (!t.d) return t;
420
+ e = new n(1), i = n.rounding;
421
+ } else {
422
+ if (e = new n(e), i === void 0 ? i = n.rounding : Z(i, 0, 8), !t.d) return e.s ? t : e;
423
+ if (!e.d)
424
+ return e.s && (e.s = t.s), e;
425
+ }
426
+ return e.d[0] ? (N = !1, t = M(t, e, 0, i, 1).times(e), N = !0, m(t)) : (e.s = t.s, t = e), t;
427
+ };
428
+ h.toNumber = function() {
429
+ return +this;
430
+ };
431
+ h.toOctal = function(e, i) {
432
+ return Ne(this, 8, e, i);
433
+ };
434
+ h.toPower = h.pow = function(e) {
435
+ var i, t, n, r, s, o, u = this, f = u.constructor, l = +(e = new f(e));
436
+ if (!u.d || !e.d || !u.d[0] || !e.d[0]) return new f(q(+u, l));
437
+ if (u = new f(u), u.eq(1)) return u;
438
+ if (n = f.precision, s = f.rounding, e.eq(1)) return m(u, n, s);
439
+ if (i = R(e.e / w), i >= e.d.length - 1 && (t = l < 0 ? -l : l) <= Pi)
440
+ return r = He(f, u, t, n), e.s < 0 ? new f(1).div(r) : m(r, n, s);
441
+ if (o = u.s, o < 0) {
442
+ if (i < e.d.length - 1) return new f(NaN);
443
+ if ((e.d[i] & 1) == 0 && (o = 1), u.e == 0 && u.d[0] == 1 && u.d.length == 1)
444
+ return u.s = o, u;
445
+ }
446
+ return t = q(+u, l), i = t == 0 || !isFinite(t) ? R(l * (Math.log("0." + P(u.d)) / Math.LN10 + u.e + 1)) : new f(t + "").e, i > f.maxE + 1 || i < f.minE - 1 ? new f(i > 0 ? o / 0 : 0) : (N = !1, f.rounding = u.s = 1, t = Math.min(12, (i + "").length), r = ve(e.times(Y(u, n + t)), n), r.d && (r = m(r, n + 5, 1), ee(r.d, n, s) && (i = n + 10, r = m(ve(e.times(Y(u, i + t)), i), i + 5, 1), +P(r.d).slice(n + 1, n + 15) + 1 == 1e14 && (r = m(r, n + 1, 0)))), r.s = o, N = !0, f.rounding = s, m(r, n, s));
447
+ };
448
+ h.toPrecision = function(e, i) {
449
+ var t, n = this, r = n.constructor;
450
+ return e === void 0 ? t = $(n, n.e <= r.toExpNeg || n.e >= r.toExpPos) : (Z(e, 1, W), i === void 0 ? i = r.rounding : Z(i, 0, 8), n = m(new r(n), e, i), t = $(n, e <= n.e || n.e <= r.toExpNeg, e)), n.isNeg() && !n.isZero() ? "-" + t : t;
451
+ };
452
+ h.toSignificantDigits = h.toSD = function(e, i) {
453
+ var t = this, n = t.constructor;
454
+ return e === void 0 ? (e = n.precision, i = n.rounding) : (Z(e, 1, W), i === void 0 ? i = n.rounding : Z(i, 0, 8)), m(new n(t), e, i);
455
+ };
456
+ h.toString = function() {
457
+ var e = this, i = e.constructor, t = $(e, e.e <= i.toExpNeg || e.e >= i.toExpPos);
458
+ return e.isNeg() && !e.isZero() ? "-" + t : t;
459
+ };
460
+ h.truncated = h.trunc = function() {
461
+ return m(new this.constructor(this), this.e + 1, 1);
462
+ };
463
+ h.valueOf = h.toJSON = function() {
464
+ var e = this, i = e.constructor, t = $(e, e.e <= i.toExpNeg || e.e >= i.toExpPos);
465
+ return e.isNeg() ? "-" + t : t;
466
+ };
467
+ function P(e) {
468
+ var i, t, n, r = e.length - 1, s = "", o = e[0];
469
+ if (r > 0) {
470
+ for (s += o, i = 1; i < r; i++)
471
+ n = e[i] + "", t = w - n.length, t && (s += G(t)), s += n;
472
+ o = e[i], n = o + "", t = w - n.length, t && (s += G(t));
473
+ } else if (o === 0)
474
+ return "0";
475
+ for (; o % 10 === 0; ) o /= 10;
476
+ return s + o;
477
+ }
478
+ function Z(e, i, t) {
479
+ if (e !== ~~e || e < i || e > t)
480
+ throw Error(K + e);
481
+ }
482
+ function ee(e, i, t, n) {
483
+ var r, s, o, u;
484
+ for (s = e[0]; s >= 10; s /= 10) --i;
485
+ return --i < 0 ? (i += w, r = 0) : (r = Math.ceil((i + 1) / w), i %= w), s = q(10, w - i), u = e[r] % s | 0, n == null ? i < 3 ? (i == 0 ? u = u / 100 | 0 : i == 1 && (u = u / 10 | 0), o = t < 4 && u == 99999 || t > 3 && u == 49999 || u == 5e4 || u == 0) : o = (t < 4 && u + 1 == s || t > 3 && u + 1 == s / 2) && (e[r + 1] / s / 100 | 0) == q(10, i - 2) - 1 || (u == s / 2 || u == 0) && (e[r + 1] / s / 100 | 0) == 0 : i < 4 ? (i == 0 ? u = u / 1e3 | 0 : i == 1 ? u = u / 100 | 0 : i == 2 && (u = u / 10 | 0), o = (n || t < 4) && u == 9999 || !n && t > 3 && u == 4999) : o = ((n || t < 4) && u + 1 == s || !n && t > 3 && u + 1 == s / 2) && (e[r + 1] / s / 1e3 | 0) == q(10, i - 3) - 1, o;
486
+ }
487
+ function te(e, i, t) {
488
+ for (var n, r = [0], s, o = 0, u = e.length; o < u; ) {
489
+ for (s = r.length; s--; ) r[s] *= i;
490
+ for (r[0] += ge.indexOf(e.charAt(o++)), n = 0; n < r.length; n++)
491
+ r[n] > t - 1 && (r[n + 1] === void 0 && (r[n + 1] = 0), r[n + 1] += r[n] / t | 0, r[n] %= t);
492
+ }
493
+ return r.reverse();
494
+ }
495
+ function Ri(e, i) {
496
+ var t, n, r;
497
+ if (i.isZero()) return i;
498
+ n = i.d.length, n < 32 ? (t = Math.ceil(n / 3), r = (1 / fe(4, t)).toString()) : (t = 16, r = "2.3283064365386962890625e-10"), e.precision += t, i = y(e, 1, i.times(r), new e(1));
499
+ for (var s = t; s--; ) {
500
+ var o = i.times(i);
501
+ i = o.times(o).minus(o).times(8).plus(1);
502
+ }
503
+ return e.precision -= t, i;
504
+ }
505
+ var M = /* @__PURE__ */ (function() {
506
+ function e(n, r, s) {
507
+ var o, u = 0, f = n.length;
508
+ for (n = n.slice(); f--; )
509
+ o = n[f] * r + u, n[f] = o % s | 0, u = o / s | 0;
510
+ return u && n.unshift(u), n;
511
+ }
512
+ function i(n, r, s, o) {
513
+ var u, f;
514
+ if (s != o)
515
+ f = s > o ? 1 : -1;
516
+ else
517
+ for (u = f = 0; u < s; u++)
518
+ if (n[u] != r[u]) {
519
+ f = n[u] > r[u] ? 1 : -1;
520
+ break;
521
+ }
522
+ return f;
523
+ }
524
+ function t(n, r, s, o) {
525
+ for (var u = 0; s--; )
526
+ n[s] -= u, u = n[s] < r[s] ? 1 : 0, n[s] = u * o + n[s] - r[s];
527
+ for (; !n[0] && n.length > 1; ) n.shift();
528
+ }
529
+ return function(n, r, s, o, u, f) {
530
+ var l, a, c, d, g, C, v, L, b, U, p, E, O, A, B, D, k, F, _, H, I = n.constructor, X = n.s == r.s ? 1 : -1, T = n.d, S = r.d;
531
+ if (!T || !T[0] || !S || !S[0])
532
+ return new I(
533
+ // Return NaN if either NaN, or both Infinity or 0.
534
+ !n.s || !r.s || (T ? S && T[0] == S[0] : !S) ? NaN : (
535
+ // Return ±0 if x is 0 or y is ±Infinity, or return ±Infinity as y is 0.
536
+ T && T[0] == 0 || !S ? X * 0 : X / 0
537
+ )
538
+ );
539
+ for (f ? (g = 1, a = n.e - r.e) : (f = V, g = w, a = R(n.e / g) - R(r.e / g)), _ = S.length, k = T.length, b = new I(X), U = b.d = [], c = 0; S[c] == (T[c] || 0); c++) ;
540
+ if (S[c] > (T[c] || 0) && a--, s == null ? (A = s = I.precision, o = I.rounding) : u ? A = s + (n.e - r.e) + 1 : A = s, A < 0)
541
+ U.push(1), C = !0;
542
+ else {
543
+ if (A = A / g + 2 | 0, c = 0, _ == 1) {
544
+ for (d = 0, S = S[0], A++; (c < k || d) && A--; c++)
545
+ B = d * f + (T[c] || 0), U[c] = B / S | 0, d = B % S | 0;
546
+ C = d || c < k;
547
+ } else {
548
+ for (d = f / (S[0] + 1) | 0, d > 1 && (S = e(S, d, f), T = e(T, d, f), _ = S.length, k = T.length), D = _, p = T.slice(0, _), E = p.length; E < _; ) p[E++] = 0;
549
+ H = S.slice(), H.unshift(0), F = S[0], S[1] >= f / 2 && ++F;
550
+ do
551
+ d = 0, l = i(S, p, _, E), l < 0 ? (O = p[0], _ != E && (O = O * f + (p[1] || 0)), d = O / F | 0, d > 1 ? (d >= f && (d = f - 1), v = e(S, d, f), L = v.length, E = p.length, l = i(v, p, L, E), l == 1 && (d--, t(v, _ < L ? H : S, L, f))) : (d == 0 && (l = d = 1), v = S.slice()), L = v.length, L < E && v.unshift(0), t(p, v, E, f), l == -1 && (E = p.length, l = i(S, p, _, E), l < 1 && (d++, t(p, _ < E ? H : S, E, f))), E = p.length) : l === 0 && (d++, p = [0]), U[c++] = d, l && p[0] ? p[E++] = T[D] || 0 : (p = [T[D]], E = 1);
552
+ while ((D++ < k || p[0] !== void 0) && A--);
553
+ C = p[0] !== void 0;
554
+ }
555
+ U[0] || U.shift();
556
+ }
557
+ if (g == 1)
558
+ b.e = a, Pe = C;
559
+ else {
560
+ for (c = 1, d = U[0]; d >= 10; d /= 10) c++;
561
+ b.e = c + a * g - 1, m(b, u ? s + b.e + 1 : s, o, C);
562
+ }
563
+ return b;
564
+ };
565
+ })();
566
+ function m(e, i, t, n) {
567
+ var r, s, o, u, f, l, a, c, d, g = e.constructor;
568
+ e: if (i != null) {
569
+ if (c = e.d, !c) return e;
570
+ for (r = 1, u = c[0]; u >= 10; u /= 10) r++;
571
+ if (s = i - r, s < 0)
572
+ s += w, o = i, a = c[d = 0], f = a / q(10, r - o - 1) % 10 | 0;
573
+ else if (d = Math.ceil((s + 1) / w), u = c.length, d >= u)
574
+ if (n) {
575
+ for (; u++ <= d; ) c.push(0);
576
+ a = f = 0, r = 1, s %= w, o = s - w + 1;
577
+ } else
578
+ break e;
579
+ else {
580
+ for (a = u = c[d], r = 1; u >= 10; u /= 10) r++;
581
+ s %= w, o = s - w + r, f = o < 0 ? 0 : a / q(10, r - o - 1) % 10 | 0;
582
+ }
583
+ if (n = n || i < 0 || c[d + 1] !== void 0 || (o < 0 ? a : a % q(10, r - o - 1)), l = t < 4 ? (f || n) && (t == 0 || t == (e.s < 0 ? 3 : 2)) : f > 5 || f == 5 && (t == 4 || n || t == 6 && // Check whether the digit to the left of the rounding digit is odd.
584
+ (s > 0 ? o > 0 ? a / q(10, r - o) : 0 : c[d - 1]) % 10 & 1 || t == (e.s < 0 ? 8 : 7)), i < 1 || !c[0])
585
+ return c.length = 0, l ? (i -= e.e + 1, c[0] = q(10, (w - i % w) % w), e.e = -i || 0) : c[0] = e.e = 0, e;
586
+ if (s == 0 ? (c.length = d, u = 1, d--) : (c.length = d + 1, u = q(10, w - s), c[d] = o > 0 ? (a / q(10, r - o) % q(10, o) | 0) * u : 0), l)
587
+ for (; ; )
588
+ if (d == 0) {
589
+ for (s = 1, o = c[0]; o >= 10; o /= 10) s++;
590
+ for (o = c[0] += u, u = 1; o >= 10; o /= 10) u++;
591
+ s != u && (e.e++, c[0] == V && (c[0] = 1));
592
+ break;
593
+ } else {
594
+ if (c[d] += u, c[d] != V) break;
595
+ c[d--] = 0, u = 1;
596
+ }
597
+ for (s = c.length; c[--s] === 0; ) c.pop();
598
+ }
599
+ return N && (e.e > g.maxE ? (e.d = null, e.e = NaN) : e.e < g.minE && (e.e = 0, e.d = [0])), e;
600
+ }
601
+ function $(e, i, t) {
602
+ if (!e.isFinite()) return xe(e);
603
+ var n, r = e.e, s = P(e.d), o = s.length;
604
+ return i ? (t && (n = t - o) > 0 ? s = s.charAt(0) + "." + s.slice(1) + G(n) : o > 1 && (s = s.charAt(0) + "." + s.slice(1)), s = s + (e.e < 0 ? "e" : "e+") + e.e) : r < 0 ? (s = "0." + G(-r - 1) + s, t && (n = t - o) > 0 && (s += G(n))) : r >= o ? (s += G(r + 1 - o), t && (n = t - r - 1) > 0 && (s = s + "." + G(n))) : ((n = r + 1) < o && (s = s.slice(0, n) + "." + s.slice(n)), t && (n = t - o) > 0 && (r + 1 === o && (s += "."), s += G(n))), s;
605
+ }
606
+ function le(e, i) {
607
+ var t = e[0];
608
+ for (i *= w; t >= 10; t /= 10) i++;
609
+ return i;
610
+ }
611
+ function oe(e, i, t) {
612
+ if (i > Fi)
613
+ throw N = !0, t && (e.precision = t), Error(Fe);
614
+ return m(new e(re), i, 1, !0);
615
+ }
616
+ function x(e, i, t) {
617
+ if (i > we) throw Error(Fe);
618
+ return m(new e(se), i, t, !0);
619
+ }
620
+ function Be(e) {
621
+ var i = e.length - 1, t = i * w + 1;
622
+ if (i = e[i], i) {
623
+ for (; i % 10 == 0; i /= 10) t--;
624
+ for (i = e[0]; i >= 10; i /= 10) t++;
625
+ }
626
+ return t;
627
+ }
628
+ function G(e) {
629
+ for (var i = ""; e--; ) i += "0";
630
+ return i;
631
+ }
632
+ function He(e, i, t, n) {
633
+ var r, s = new e(1), o = Math.ceil(n / w + 4);
634
+ for (N = !1; ; ) {
635
+ if (t % 2 && (s = s.times(i), qe(s.d, o) && (r = !0)), t = R(t / 2), t === 0) {
636
+ t = s.d.length - 1, r && s.d[t] === 0 && ++s.d[t];
637
+ break;
638
+ }
639
+ i = i.times(i), qe(i.d, o);
640
+ }
641
+ return N = !0, s;
642
+ }
643
+ function Ie(e) {
644
+ return e.d[e.d.length - 1] & 1;
645
+ }
646
+ function Ve(e, i, t) {
647
+ for (var n, r, s = new e(i[0]), o = 0; ++o < i.length; ) {
648
+ if (r = new e(i[o]), !r.s) {
649
+ s = r;
650
+ break;
651
+ }
652
+ n = s.cmp(r), (n === t || n === 0 && s.s === t) && (s = r);
653
+ }
654
+ return s;
655
+ }
656
+ function ve(e, i) {
657
+ var t, n, r, s, o, u, f, l = 0, a = 0, c = 0, d = e.constructor, g = d.rounding, C = d.precision;
658
+ if (!e.d || !e.d[0] || e.e > 17)
659
+ return new d(e.d ? e.d[0] ? e.s < 0 ? 0 : 1 / 0 : 1 : e.s ? e.s < 0 ? 0 : e : NaN);
660
+ for (i == null ? (N = !1, f = C) : f = i, u = new d(0.03125); e.e > -2; )
661
+ e = e.times(u), c += 5;
662
+ for (n = Math.log(q(2, c)) / Math.LN10 * 2 + 5 | 0, f += n, t = s = o = new d(1), d.precision = f; ; ) {
663
+ if (s = m(s.times(e), f, 1), t = t.times(++a), u = o.plus(M(s, t, f, 1)), P(u.d).slice(0, f) === P(o.d).slice(0, f)) {
664
+ for (r = c; r--; ) o = m(o.times(o), f, 1);
665
+ if (i == null)
666
+ if (l < 3 && ee(o.d, f - n, g, l))
667
+ d.precision = f += 10, t = s = u = new d(1), a = 0, l++;
668
+ else
669
+ return m(o, d.precision = C, g, N = !0);
670
+ else
671
+ return d.precision = C, o;
672
+ }
673
+ o = u;
674
+ }
675
+ }
676
+ function Y(e, i) {
677
+ var t, n, r, s, o, u, f, l, a, c, d, g = 1, C = 10, v = e, L = v.d, b = v.constructor, U = b.rounding, p = b.precision;
678
+ if (v.s < 0 || !L || !L[0] || !v.e && L[0] == 1 && L.length == 1)
679
+ return new b(L && !L[0] ? -1 / 0 : v.s != 1 ? NaN : L ? 0 : v);
680
+ if (i == null ? (N = !1, a = p) : a = i, b.precision = a += C, t = P(L), n = t.charAt(0), Math.abs(s = v.e) < 15e14) {
681
+ for (; n < 7 && n != 1 || n == 1 && t.charAt(1) > 3; )
682
+ v = v.times(e), t = P(v.d), n = t.charAt(0), g++;
683
+ s = v.e, n > 1 ? (v = new b("0." + t), s++) : v = new b(n + "." + t.slice(1));
684
+ } else
685
+ return l = oe(b, a + 2, p).times(s + ""), v = Y(new b(n + "." + t.slice(1)), a - C).plus(l), b.precision = p, i == null ? m(v, p, U, N = !0) : v;
686
+ for (c = v, f = o = v = M(v.minus(1), v.plus(1), a, 1), d = m(v.times(v), a, 1), r = 3; ; ) {
687
+ if (o = m(o.times(d), a, 1), l = f.plus(M(o, new b(r), a, 1)), P(l.d).slice(0, a) === P(f.d).slice(0, a))
688
+ if (f = f.times(2), s !== 0 && (f = f.plus(oe(b, a + 2, p).times(s + ""))), f = M(f, new b(g), a, 1), i == null)
689
+ if (ee(f.d, a - C, U, u))
690
+ b.precision = a += C, l = o = v = M(c.minus(1), c.plus(1), a, 1), d = m(v.times(v), a, 1), r = u = 1;
691
+ else
692
+ return m(f, b.precision = p, U, N = !0);
693
+ else
694
+ return b.precision = p, f;
695
+ f = l, r += 2;
696
+ }
697
+ }
698
+ function xe(e) {
699
+ return String(e.s * e.s / 0);
700
+ }
701
+ function ne(e, i) {
702
+ var t, n, r;
703
+ for ((t = i.indexOf(".")) > -1 && (i = i.replace(".", "")), (n = i.search(/e/i)) > 0 ? (t < 0 && (t = n), t += +i.slice(n + 1), i = i.substring(0, n)) : t < 0 && (t = i.length), n = 0; i.charCodeAt(n) === 48; n++) ;
704
+ for (r = i.length; i.charCodeAt(r - 1) === 48; --r) ;
705
+ if (i = i.slice(n, r), i) {
706
+ if (r -= n, e.e = t = t - n - 1, e.d = [], n = (t + 1) % w, t < 0 && (n += w), n < r) {
707
+ for (n && e.d.push(+i.slice(0, n)), r -= w; n < r; ) e.d.push(+i.slice(n, n += w));
708
+ i = i.slice(n), n = w - i.length;
709
+ } else
710
+ n -= r;
711
+ for (; n--; ) i += "0";
712
+ e.d.push(+i), N && (e.e > e.constructor.maxE ? (e.d = null, e.e = NaN) : e.e < e.constructor.minE && (e.e = 0, e.d = [0]));
713
+ } else
714
+ e.e = 0, e.d = [0];
715
+ return e;
716
+ }
717
+ function Ui(e, i) {
718
+ var t, n, r, s, o, u, f, l, a;
719
+ if (i.indexOf("_") > -1) {
720
+ if (i = i.replace(/(\d)_(?=\d)/g, "$1"), Ze.test(i)) return ne(e, i);
721
+ } else if (i === "Infinity" || i === "NaN")
722
+ return +i || (e.s = NaN), e.e = NaN, e.d = null, e;
723
+ if (qi.test(i))
724
+ t = 16, i = i.toLowerCase();
725
+ else if (Ii.test(i))
726
+ t = 2;
727
+ else if (Li.test(i))
728
+ t = 8;
729
+ else
730
+ throw Error(K + i);
731
+ for (s = i.search(/p/i), s > 0 ? (f = +i.slice(s + 1), i = i.substring(2, s)) : i = i.slice(2), s = i.indexOf("."), o = s >= 0, n = e.constructor, o && (i = i.replace(".", ""), u = i.length, s = u - s, r = He(n, new n(t), s, s * 2)), l = te(i, t, V), a = l.length - 1, s = a; l[s] === 0; --s) l.pop();
732
+ return s < 0 ? new n(e.s * 0) : (e.e = le(l, a), e.d = l, N = !1, o && (e = M(e, r, u * 4)), f && (e = e.times(Math.abs(f) < 54 ? q(2, f) : j.pow(2, f))), N = !0, e);
733
+ }
734
+ function Zi(e, i) {
735
+ var t, n = i.d.length;
736
+ if (n < 3)
737
+ return i.isZero() ? i : y(e, 2, i, i);
738
+ t = 1.4 * Math.sqrt(n), t = t > 16 ? 16 : t | 0, i = i.times(1 / fe(5, t)), i = y(e, 2, i, i);
739
+ for (var r, s = new e(5), o = new e(16), u = new e(20); t--; )
740
+ r = i.times(i), i = i.times(s.plus(r.times(o.times(r).minus(u))));
741
+ return i;
742
+ }
743
+ function y(e, i, t, n, r) {
744
+ var s, o, u, f, l = e.precision, a = Math.ceil(l / w);
745
+ for (N = !1, f = t.times(t), u = new e(n); ; ) {
746
+ if (o = M(u.times(f), new e(i++ * i++), l, 1), u = r ? n.plus(o) : n.minus(o), n = M(o.times(f), new e(i++ * i++), l, 1), o = u.plus(n), o.d[a] !== void 0) {
747
+ for (s = a; o.d[s] === u.d[s] && s--; ) ;
748
+ if (s == -1) break;
749
+ }
750
+ s = u, u = n, n = o, o = s;
751
+ }
752
+ return N = !0, o.d.length = a + 1, o;
753
+ }
754
+ function fe(e, i) {
755
+ for (var t = e; --i; ) t *= e;
756
+ return t;
757
+ }
758
+ function $e(e, i) {
759
+ var t, n = i.s < 0, r = x(e, e.precision, 1), s = r.times(0.5);
760
+ if (i = i.abs(), i.lte(s))
761
+ return z = n ? 4 : 1, i;
762
+ if (t = i.divToInt(r), t.isZero())
763
+ z = n ? 3 : 2;
764
+ else {
765
+ if (i = i.minus(t.times(r)), i.lte(s))
766
+ return z = Ie(t) ? n ? 2 : 3 : n ? 4 : 1, i;
767
+ z = Ie(t) ? n ? 1 : 4 : n ? 3 : 2;
768
+ }
769
+ return i.minus(r).abs();
770
+ }
771
+ function Ne(e, i, t, n) {
772
+ var r, s, o, u, f, l, a, c, d, g = e.constructor, C = t !== void 0;
773
+ if (C ? (Z(t, 1, W), n === void 0 ? n = g.rounding : Z(n, 0, 8)) : (t = g.precision, n = g.rounding), !e.isFinite())
774
+ a = xe(e);
775
+ else {
776
+ for (a = $(e), o = a.indexOf("."), C ? (r = 2, i == 16 ? t = t * 4 - 3 : i == 8 && (t = t * 3 - 2)) : r = i, o >= 0 && (a = a.replace(".", ""), d = new g(1), d.e = a.length - o, d.d = te($(d), 10, r), d.e = d.d.length), c = te(a, 10, r), s = f = c.length; c[--f] == 0; ) c.pop();
777
+ if (!c[0])
778
+ a = C ? "0p+0" : "0";
779
+ else {
780
+ if (o < 0 ? s-- : (e = new g(e), e.d = c, e.e = s, e = M(e, d, t, n, 0, r), c = e.d, s = e.e, l = Pe), o = c[t], u = r / 2, l = l || c[t + 1] !== void 0, l = n < 4 ? (o !== void 0 || l) && (n === 0 || n === (e.s < 0 ? 3 : 2)) : o > u || o === u && (n === 4 || l || n === 6 && c[t - 1] & 1 || n === (e.s < 0 ? 8 : 7)), c.length = t, l)
781
+ for (; ++c[--t] > r - 1; )
782
+ c[t] = 0, t || (++s, c.unshift(1));
783
+ for (f = c.length; !c[f - 1]; --f) ;
784
+ for (o = 0, a = ""; o < f; o++) a += ge.charAt(c[o]);
785
+ if (C) {
786
+ if (f > 1)
787
+ if (i == 16 || i == 8) {
788
+ for (o = i == 16 ? 4 : 3, --f; f % o; f++) a += "0";
789
+ for (c = te(a, r, i), f = c.length; !c[f - 1]; --f) ;
790
+ for (o = 1, a = "1."; o < f; o++) a += ge.charAt(c[o]);
791
+ } else
792
+ a = a.charAt(0) + "." + a.slice(1);
793
+ a = a + (s < 0 ? "p" : "p+") + s;
794
+ } else if (s < 0) {
795
+ for (; ++s; ) a = "0" + a;
796
+ a = "0." + a;
797
+ } else if (++s > f) for (s -= f; s--; ) a += "0";
798
+ else s < f && (a = a.slice(0, s) + "." + a.slice(s));
799
+ }
800
+ a = (i == 16 ? "0x" : i == 2 ? "0b" : i == 8 ? "0o" : "") + a;
801
+ }
802
+ return e.s < 0 ? "-" + a : a;
803
+ }
804
+ function qe(e, i) {
805
+ if (e.length > i)
806
+ return e.length = i, !0;
807
+ }
808
+ function Bi(e) {
809
+ return new this(e).abs();
810
+ }
811
+ function Hi(e) {
812
+ return new this(e).acos();
813
+ }
814
+ function Vi(e) {
815
+ return new this(e).acosh();
816
+ }
817
+ function xi(e, i) {
818
+ return new this(e).plus(i);
819
+ }
820
+ function $i(e) {
821
+ return new this(e).asin();
822
+ }
823
+ function zi(e) {
824
+ return new this(e).asinh();
825
+ }
826
+ function Gi(e) {
827
+ return new this(e).atan();
828
+ }
829
+ function Yi(e) {
830
+ return new this(e).atanh();
831
+ }
832
+ function ji(e, i) {
833
+ e = new this(e), i = new this(i);
834
+ var t, n = this.precision, r = this.rounding, s = n + 4;
835
+ return !e.s || !i.s ? t = new this(NaN) : !e.d && !i.d ? (t = x(this, s, 1).times(i.s > 0 ? 0.25 : 0.75), t.s = e.s) : !i.d || e.isZero() ? (t = i.s < 0 ? x(this, n, r) : new this(0), t.s = e.s) : !e.d || i.isZero() ? (t = x(this, s, 1).times(0.5), t.s = e.s) : i.s < 0 ? (this.precision = s, this.rounding = 1, t = this.atan(M(e, i, s, 1)), i = x(this, s, 1), this.precision = n, this.rounding = r, t = e.s < 0 ? t.minus(i) : t.plus(i)) : t = this.atan(M(e, i, s, 1)), t;
836
+ }
837
+ function Ki(e) {
838
+ return new this(e).cbrt();
839
+ }
840
+ function Wi(e) {
841
+ return m(e = new this(e), e.e + 1, 2);
842
+ }
843
+ function Xi(e, i, t) {
844
+ return new this(e).clamp(i, t);
845
+ }
846
+ function Ji(e) {
847
+ if (!e || typeof e != "object") throw Error(ue + "Object expected");
848
+ var i, t, n, r = e.defaults === !0, s = [
849
+ "precision",
850
+ 1,
851
+ W,
852
+ "rounding",
853
+ 0,
854
+ 8,
855
+ "toExpNeg",
856
+ -Q,
857
+ 0,
858
+ "toExpPos",
859
+ 0,
860
+ Q,
861
+ "maxE",
862
+ 0,
863
+ Q,
864
+ "minE",
865
+ -Q,
866
+ 0,
867
+ "modulo",
868
+ 0,
869
+ 9
870
+ ];
871
+ for (i = 0; i < s.length; i += 3)
872
+ if (t = s[i], r && (this[t] = me[t]), (n = e[t]) !== void 0)
873
+ if (R(n) === n && n >= s[i + 1] && n <= s[i + 2]) this[t] = n;
874
+ else throw Error(K + t + ": " + n);
875
+ if (t = "crypto", r && (this[t] = me[t]), (n = e[t]) !== void 0)
876
+ if (n === !0 || n === !1 || n === 0 || n === 1)
877
+ if (n)
878
+ if (typeof crypto != "undefined" && crypto && (crypto.getRandomValues || crypto.randomBytes))
879
+ this[t] = !0;
880
+ else
881
+ throw Error(Re);
882
+ else
883
+ this[t] = !1;
884
+ else
885
+ throw Error(K + t + ": " + n);
886
+ return this;
887
+ }
888
+ function Qi(e) {
889
+ return new this(e).cos();
890
+ }
891
+ function yi(e) {
892
+ return new this(e).cosh();
893
+ }
894
+ function ze(e) {
895
+ var i, t, n;
896
+ function r(s) {
897
+ var o, u, f, l = this;
898
+ if (!(l instanceof r)) return new r(s);
899
+ if (l.constructor = r, Le(s)) {
900
+ l.s = s.s, N ? !s.d || s.e > r.maxE ? (l.e = NaN, l.d = null) : s.e < r.minE ? (l.e = 0, l.d = [0]) : (l.e = s.e, l.d = s.d.slice()) : (l.e = s.e, l.d = s.d ? s.d.slice() : s.d);
901
+ return;
902
+ }
903
+ if (f = typeof s, f === "number") {
904
+ if (s === 0) {
905
+ l.s = 1 / s < 0 ? -1 : 1, l.e = 0, l.d = [0];
906
+ return;
907
+ }
908
+ if (s < 0 ? (s = -s, l.s = -1) : l.s = 1, s === ~~s && s < 1e7) {
909
+ for (o = 0, u = s; u >= 10; u /= 10) o++;
910
+ N ? o > r.maxE ? (l.e = NaN, l.d = null) : o < r.minE ? (l.e = 0, l.d = [0]) : (l.e = o, l.d = [s]) : (l.e = o, l.d = [s]);
911
+ return;
912
+ }
913
+ if (s * 0 !== 0) {
914
+ s || (l.s = NaN), l.e = NaN, l.d = null;
915
+ return;
916
+ }
917
+ return ne(l, s.toString());
918
+ }
919
+ if (f === "string")
920
+ return (u = s.charCodeAt(0)) === 45 ? (s = s.slice(1), l.s = -1) : (u === 43 && (s = s.slice(1)), l.s = 1), Ze.test(s) ? ne(l, s) : Ui(l, s);
921
+ if (f === "bigint")
922
+ return s < 0 ? (s = -s, l.s = -1) : l.s = 1, ne(l, s.toString());
923
+ throw Error(K + s);
924
+ }
925
+ if (r.prototype = h, r.ROUND_UP = 0, r.ROUND_DOWN = 1, r.ROUND_CEIL = 2, r.ROUND_FLOOR = 3, r.ROUND_HALF_UP = 4, r.ROUND_HALF_DOWN = 5, r.ROUND_HALF_EVEN = 6, r.ROUND_HALF_CEIL = 7, r.ROUND_HALF_FLOOR = 8, r.EUCLID = 9, r.config = r.set = Ji, r.clone = ze, r.isDecimal = Le, r.abs = Bi, r.acos = Hi, r.acosh = Vi, r.add = xi, r.asin = $i, r.asinh = zi, r.atan = Gi, r.atanh = Yi, r.atan2 = ji, r.cbrt = Ki, r.ceil = Wi, r.clamp = Xi, r.cos = Qi, r.cosh = yi, r.div = et, r.exp = it, r.floor = tt, r.hypot = nt, r.ln = rt, r.log = st, r.log10 = ut, r.log2 = ot, r.max = lt, r.min = ft, r.mod = at, r.mul = ct, r.pow = dt, r.random = ht, r.round = pt, r.sign = gt, r.sin = mt, r.sinh = wt, r.sqrt = vt, r.sub = Nt, r.sum = Et, r.tan = Ct, r.tanh = St, r.trunc = kt, e === void 0 && (e = {}), e && e.defaults !== !0)
926
+ for (n = ["precision", "rounding", "toExpNeg", "toExpPos", "maxE", "minE", "modulo", "crypto"], i = 0; i < n.length; ) e.hasOwnProperty(t = n[i++]) || (e[t] = this[t]);
927
+ return r.config(e), r;
928
+ }
929
+ function et(e, i) {
930
+ return new this(e).div(i);
931
+ }
932
+ function it(e) {
933
+ return new this(e).exp();
934
+ }
935
+ function tt(e) {
936
+ return m(e = new this(e), e.e + 1, 3);
937
+ }
938
+ function nt() {
939
+ var e, i, t = new this(0);
940
+ for (N = !1, e = 0; e < arguments.length; )
941
+ if (i = new this(arguments[e++]), i.d)
942
+ t.d && (t = t.plus(i.times(i)));
943
+ else {
944
+ if (i.s)
945
+ return N = !0, new this(1 / 0);
946
+ t = i;
947
+ }
948
+ return N = !0, t.sqrt();
949
+ }
950
+ function Le(e) {
951
+ return e instanceof j || e && e.toStringTag === Ue || !1;
952
+ }
953
+ function rt(e) {
954
+ return new this(e).ln();
955
+ }
956
+ function st(e, i) {
957
+ return new this(e).log(i);
958
+ }
959
+ function ot(e) {
960
+ return new this(e).log(2);
961
+ }
962
+ function ut(e) {
963
+ return new this(e).log(10);
964
+ }
965
+ function lt() {
966
+ return Ve(this, arguments, -1);
967
+ }
968
+ function ft() {
969
+ return Ve(this, arguments, 1);
970
+ }
971
+ function at(e, i) {
972
+ return new this(e).mod(i);
973
+ }
974
+ function ct(e, i) {
975
+ return new this(e).mul(i);
976
+ }
977
+ function dt(e, i) {
978
+ return new this(e).pow(i);
979
+ }
980
+ function ht(e) {
981
+ var i, t, n, r, s = 0, o = new this(1), u = [];
982
+ if (e === void 0 ? e = this.precision : Z(e, 1, W), n = Math.ceil(e / w), this.crypto)
983
+ if (crypto.getRandomValues)
984
+ for (i = crypto.getRandomValues(new Uint32Array(n)); s < n; )
985
+ r = i[s], r >= 429e7 ? i[s] = crypto.getRandomValues(new Uint32Array(1))[0] : u[s++] = r % 1e7;
986
+ else if (crypto.randomBytes) {
987
+ for (i = crypto.randomBytes(n *= 4); s < n; )
988
+ r = i[s] + (i[s + 1] << 8) + (i[s + 2] << 16) + ((i[s + 3] & 127) << 24), r >= 214e7 ? crypto.randomBytes(4).copy(i, s) : (u.push(r % 1e7), s += 4);
989
+ s = n / 4;
990
+ } else
991
+ throw Error(Re);
992
+ else for (; s < n; ) u[s++] = Math.random() * 1e7 | 0;
993
+ for (n = u[--s], e %= w, n && e && (r = q(10, w - e), u[s] = (n / r | 0) * r); u[s] === 0; s--) u.pop();
994
+ if (s < 0)
995
+ t = 0, u = [0];
996
+ else {
997
+ for (t = -1; u[0] === 0; t -= w) u.shift();
998
+ for (n = 1, r = u[0]; r >= 10; r /= 10) n++;
999
+ n < w && (t -= w - n);
1000
+ }
1001
+ return o.e = t, o.d = u, o;
1002
+ }
1003
+ function pt(e) {
1004
+ return m(e = new this(e), e.e + 1, this.rounding);
1005
+ }
1006
+ function gt(e) {
1007
+ return e = new this(e), e.d ? e.d[0] ? e.s : 0 * e.s : e.s || NaN;
1008
+ }
1009
+ function mt(e) {
1010
+ return new this(e).sin();
1011
+ }
1012
+ function wt(e) {
1013
+ return new this(e).sinh();
1014
+ }
1015
+ function vt(e) {
1016
+ return new this(e).sqrt();
1017
+ }
1018
+ function Nt(e, i) {
1019
+ return new this(e).sub(i);
1020
+ }
1021
+ function Et() {
1022
+ var e = 0, i = arguments, t = new this(i[e]);
1023
+ for (N = !1; t.s && ++e < i.length; ) t = t.plus(i[e]);
1024
+ return N = !0, m(t, this.precision, this.rounding);
1025
+ }
1026
+ function Ct(e) {
1027
+ return new this(e).tan();
1028
+ }
1029
+ function St(e) {
1030
+ return new this(e).tanh();
1031
+ }
1032
+ function kt(e) {
1033
+ return m(e = new this(e), e.e + 1, 1);
1034
+ }
1035
+ h[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = h.toString;
1036
+ h[Symbol.toStringTag] = "Decimal";
1037
+ var j = h.constructor = ze(me);
1038
+ re = new j(re);
1039
+ se = new j(se);
1040
+ const Mt = { DEFAULT_ICON: mi, ACTIVE_ICON: gi, NAME_CN: "K线图", NAME_EN: "Candlestick", ORDER: 3 }, bt = {
1041
+ titleColor: "#111",
1042
+ bgColor: "#fff",
1043
+ textColor: "#111",
1044
+ upColor: "#c23531",
1045
+ downColor: "#314656",
1046
+ barColor: "#314656",
1047
+ radiusSize: 8,
1048
+ textSize: 12,
1049
+ top: 30,
1050
+ bottom: 40,
1051
+ left: 40,
1052
+ right: 30,
1053
+ points: 100,
1054
+ isSmooth: !1,
1055
+ isHideTitle: !1
1056
+ }, Ge = [{ name: "参数一", 项目编号: "", object_id: "" }], At = ["name", "项目编号", "object_id", "source"], _t = ["index", "increment", "balance", "risk"], Ot = 1, Dt = { useAlias: !1, null: { type: "0", value: "" }, source: "index" }, Tt = { DEFAULT: Mt, OPTIONS: bt, DATA: Ge, PARAMS: At, SOURCE: _t, ITEMS: Ot, COMMON: Dt }, It = /* @__PURE__ */ Je(Oe(_e({}, Tt), {
1057
+ __name: "kds",
1058
+ props: {
1059
+ conf: { type: Object, default: () => ({ data: [] }) },
1060
+ uid: { type: String, default: "" },
1061
+ mode: { type: String, default: "edit" },
1062
+ theme: { type: String, default: "light" }
1063
+ },
1064
+ setup(e) {
1065
+ Ei([wi, Ci, ki, Mi, bi, vi, Ai, Ni, _i, Si, Oi]);
1066
+ const i = Qe(ye("session", null)), { proxy: t } = ei(), n = "kds_" + Math.random().toString(16).substring(4, 12);
1067
+ let r = null, s = null;
1068
+ const o = e;
1069
+ let u = { data: [], dates: [], volumes: [] };
1070
+ class f extends li {
1071
+ extractStyles() {
1072
+ return {
1073
+ bgColor: this.getOptionValue("bgColor", "#fff"),
1074
+ titleColor: this.getOptionValue("titleColor", "#111"),
1075
+ textColor: this.getOptionValue("textColor", "#111"),
1076
+ upColor: this.getOptionValue("upColor", "#c23531"),
1077
+ downColor: this.getOptionValue("downColor", "#314656"),
1078
+ barColor: this.getOptionValue("barColor", "#314656"),
1079
+ radiusSize: this.getOptionValue("radiusSize", 4),
1080
+ textSize: this.getOptionValue("textSize", 12),
1081
+ isHideTitle: this.getOptionValue("isHideTitle", !1),
1082
+ points: this.getOptionValue("points", 100)
1083
+ };
1084
+ }
1085
+ init() {
1086
+ super.init(), this.props.conf.data = this.props.conf.data.length ? this.props.conf.data : Ge, ui(() => {
1087
+ let E = document.querySelector("#" + n);
1088
+ C({ num: a.value.points, max: 200, min: 0, mode: o.mode }), E && (r || (r = Di(E), s = fi({ strategy: "scroll" }), s.listenTo(E, () => r == null ? void 0 : r.resize())), r.setOption(d(), !0));
1089
+ });
1090
+ }
1091
+ onPreview() {
1092
+ b.preview();
1093
+ }
1094
+ cleanup() {
1095
+ s && s.uninstall(document.querySelector("#" + n)), r && r.clear(), r && Ti(r), r = null, b.unregister();
1096
+ }
1097
+ }
1098
+ const l = new f(o, "kds");
1099
+ l.setupLifecycle();
1100
+ const a = l.getStyle(), c = ii(() => hi(o.conf.options)), d = () => {
1101
+ var E, O, A, B, D, k, F, _, H, I, X, T, S, J, Ee, Ce, Se, ke, Me;
1102
+ const { conf: p } = o;
1103
+ return {
1104
+ animation: !1,
1105
+ color: [a.value.upColor, a.value.downColor],
1106
+ tooltip: {
1107
+ textStyle: { fontSize: 12, color: a.value.textColor },
1108
+ position: function(ae, qt, Lt, Pt, ce) {
1109
+ const de = { top: 10 };
1110
+ return ce.viewSize[0] - ae[0] <= ce.contentSize[0] + 20 ? de.right = ce.viewSize[0] - ae[0] + 30 : de.left = ae[0] + 30, de;
1111
+ }
1112
+ },
1113
+ axisPointer: { link: [{ xAxisIndex: [0, 1] }] },
1114
+ dataZoom: [
1115
+ { type: "slider", xAxisIndex: [0, 1], height: 12, bottom: 12 },
1116
+ { type: "inside", xAxisIndex: [0, 1], height: 12, bottom: 12 }
1117
+ ],
1118
+ xAxis: [
1119
+ { type: "category", data: u.dates, boundaryGap: !0, axisPointer: { show: !0 }, axisLabel: { color: a.value.textColor } },
1120
+ { type: "category", gridIndex: 1, data: u.dates, boundaryGap: !0, splitLine: { show: !1 }, axisLabel: { show: !1 }, axisTick: { show: !1 }, axisPointer: { type: "shadow", label: { show: !1 }, triggerTooltip: !0, handle: { show: !0, margin: 16, color: "#B80C00", size: 24 } } }
1121
+ ],
1122
+ yAxis: [
1123
+ { scale: !0, splitNumber: 2, axisLine: { lineStyle: { color: a.value.textColor } }, axisLabel: { formatter: `{value}
1124
+ ` } },
1125
+ { scale: !0, gridIndex: 1, splitNumber: 2, axisLabel: { formatter: `{value}
1126
+ ` }, splitLine: { show: !1 }, axisLine: { lineStyle: { color: a.value.textColor } } }
1127
+ ],
1128
+ grid: [
1129
+ { left: (A = (O = (E = p == null ? void 0 : p.options) == null ? void 0 : E.left) == null ? void 0 : O.value) != null ? A : 60, right: (k = (D = (B = p == null ? void 0 : p.options) == null ? void 0 : B.right) == null ? void 0 : D.value) != null ? k : 30, top: (H = (_ = (F = p == null ? void 0 : p.options) == null ? void 0 : F.top) == null ? void 0 : _.value) != null ? H : 30, height: "55%" },
1130
+ { left: (T = (X = (I = p == null ? void 0 : p.options) == null ? void 0 : I.left) == null ? void 0 : X.value) != null ? T : 60, right: (Ee = (J = (S = p == null ? void 0 : p.options) == null ? void 0 : S.right) == null ? void 0 : J.value) != null ? Ee : 30, height: "20%", bottom: (ke = (Se = (Ce = p == null ? void 0 : p.options) == null ? void 0 : Ce.bottom) == null ? void 0 : Se.value) != null ? ke : 40 }
1131
+ ],
1132
+ series: [
1133
+ { name: t.$t("common.total"), type: "bar", xAxisIndex: 1, yAxisIndex: 1, itemStyle: { color: a.value.barColor }, data: u.volumes },
1134
+ { type: "candlestick", name: p != null && p.data ? (Me = p == null ? void 0 : p.data[0]) == null ? void 0 : Me.name : "--", data: u.data, itemStyle: { color: a.value.upColor, color0: a.value.downColor, borderColor: a.value.upColor, borderColor0: a.value.downColor } }
1135
+ ]
1136
+ };
1137
+ }, g = (p, E) => {
1138
+ const O = [], A = [], B = pe(E[0]);
1139
+ let D = [], k = [], F = 1, _ = o.conf.calcPeriod ? Number(o.conf.calcPeriod) : 30;
1140
+ for (let I = 0; I < E.length; I++)
1141
+ pe(E[I]).diff(B, "minutes") > _ * F && (F++, D.length > 0 && (O.push(D[D.length - 1]), A.push({
1142
+ data: [k[0], k[k.length - 1], Math.min(...k), Math.max(...k)],
1143
+ total: k.reduce((S, J) => j(String(S)).add(j(String(J))), 0).toNumber()
1144
+ }), D = [], k = [])), D.push(E[I]), k.push(p[I]), I === E.length - 1 && (O.push(D[D.length - 1]), A.push({
1145
+ data: [k[0], k[k.length - 1], Math.max(...k), Math.min(...k)],
1146
+ total: k.reduce((S, J) => j(String(S)).add(j(String(J))), 0).toNumber()
1147
+ }));
1148
+ let H = { data: [], dates: O, volumes: [] };
1149
+ A.forEach((I) => {
1150
+ H.data.push(I.data), H.volumes.push(I.total);
1151
+ }), u = H;
1152
+ }, C = (p) => {
1153
+ let { num: E, max: O, min: A, mode: B } = p;
1154
+ E = E != null ? E : 7, O = O != null ? O : 200, A = A != null ? A : 10;
1155
+ let D = pe(), k = [], F = [];
1156
+ for (var _ = 0; _ < E; _++) {
1157
+ let H = B === "edit" ? Math.floor(Math.random() * (O - A + 1) + A) : 0;
1158
+ k.push(H);
1159
+ const I = D.subtract(_ * 5, "minutes").format("YYYY-MM-DD HH:mm:ss");
1160
+ F.unshift(I);
1161
+ }
1162
+ g(k, F);
1163
+ }, v = (p) => {
1164
+ if (!Te(o.conf)) return;
1165
+ const { data: E } = o.conf;
1166
+ let O = di(p, o, "history"), A = [], B = [];
1167
+ O.history.length && (O.history.forEach((D, k) => {
1168
+ A = D.map((F) => {
1169
+ var _;
1170
+ return (_ = F[E[k].fv]) != null ? _ : "--";
1171
+ }), B = D.map((F) => F.time);
1172
+ }), g(A, B), r == null || r.setOption(d(), !0));
1173
+ }, L = (p) => {
1174
+ Te(o.conf);
1175
+ }, b = {
1176
+ preview: () => ci(o, i.value, v, L, "kds"),
1177
+ unregister: () => ai(o, i.value)
1178
+ };
1179
+ ti(() => {
1180
+ o.conf.socketData && L(o.conf.socketData);
1181
+ });
1182
+ const U = o.conf;
1183
+ return (p, E) => (ni(), ri("div", {
1184
+ class: "mix-component",
1185
+ style: De({ background: ie(a).bgColor, borderRadius: `${ie(a).radiusSize}px` })
1186
+ }, [
1187
+ he("div", {
1188
+ class: "mix-title",
1189
+ style: De(c.value)
1190
+ }, si(ie(U).caption || ie(U).name), 5),
1191
+ he("div", { class: "mix-body" }, [
1192
+ he("div", {
1193
+ class: "w-full h-full",
1194
+ id: n
1195
+ })
1196
+ ]),
1197
+ oi(p.$slots, "default", {}, void 0, !0)
1198
+ ], 4));
1199
+ }
1200
+ })), Xt = /* @__PURE__ */ pi(It, [["__scopeId", "data-v-08c5058e"]]);
1201
+ export {
1202
+ Xt as default
1203
+ };