mixdashboards 1.0.78 → 1.0.80
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.
- package/dist/{BaseComponent-Dwhb9Mde.js → BaseComponent-CEp8NJiX.js} +8 -8
- package/dist/{BaseComponent-bzb58Hhs.cjs → BaseComponent-DaYX7dUF.cjs} +1 -1
- package/dist/{EChartComponentBase-BmS2KONN.js → EChartComponentBase-B-VNAC8K.js} +2 -2
- package/dist/{EChartComponentBase-CMN_pOMr.cjs → EChartComponentBase-C2sxqwSE.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-FtvC-aXY.js → EmergencyPlanPanel-CwWvSELn.js} +1 -1
- package/dist/{EmergencyPlanPanel-CVusdpDo.cjs → EmergencyPlanPanel-Dcj6mNDZ.cjs} +1 -1
- package/dist/{HistoryPlanDialog-CrYylrTC.cjs → HistoryPlanDialog-CHHKFCEb.cjs} +1 -1
- package/dist/{HistoryPlanDialog-DliuSi0p.js → HistoryPlanDialog-MDXWiel6.js} +1 -1
- package/dist/{MonitoringMap-CBnv001f.cjs → MonitoringMap-CfcXyLMN.cjs} +1 -1
- package/dist/{MonitoringMap-DB3R5nAJ.js → MonitoringMap-Disr1Wm4.js} +2 -2
- package/dist/{UniverSheet-DFyIjurx.js → UniverSheet-BcuvQ33A.js} +2 -2
- package/dist/{UniverSheet-jy9kOyPN.cjs → UniverSheet-M8Z5JVxm.cjs} +1 -1
- package/dist/{accelerationChart-Ceo371ch.cjs → accelerationChart-DoqDRcpd.cjs} +1 -1
- package/dist/{accelerationChart-Q_Q_QlU7.js → accelerationChart-Dq5_6weP.js} +14 -14
- package/dist/{actionItem-BzMI_4-S.js → actionItem-BryBezOd.js} +2 -2
- package/dist/{actionItem-DB74CPi2.cjs → actionItem-JVOxJr61.cjs} +1 -1
- package/dist/{alarmLevelChart-CxmiBIKh.cjs → alarmLevelChart-C4_IhtlF.cjs} +1 -1
- package/dist/{alarmLevelChart-Bp3SLCMe.js → alarmLevelChart-DUysIMGJ.js} +2 -2
- package/dist/{alertTable-B1w_i0VB.cjs → alertTable-DWQGvAmY.cjs} +1 -1
- package/dist/{alertTable-DXzTm7mA.js → alertTable-nLYwM6ix.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-Dfanalux.js → aliasObjectSelectorDemo-Cgnw6vkp.js} +1 -1
- package/dist/{aliasObjectSelectorDemo-CRuq8zju.cjs → aliasObjectSelectorDemo-DdAJ_krx.cjs} +1 -1
- package/dist/{annualRainfallChart-DEeyac7q.cjs → annualRainfallChart-BVoSl6rW.cjs} +1 -1
- package/dist/{annualRainfallChart-D4Rhc84p.js → annualRainfallChart-C4P7sAvp.js} +2 -2
- package/dist/{aqi-BzCTxj0q.js → aqi-BZTi1MAr.js} +2 -2
- package/dist/{aqi-CBknBfTF.cjs → aqi-jvYPQWm2.cjs} +1 -1
- package/dist/{aqiIndass-CUs24FxP.cjs → aqiIndass-C028TDT1.cjs} +1 -1
- package/dist/{aqiIndass-BJGsJsmz.js → aqiIndass-CZfEX0GU.js} +18 -18
- package/dist/{areaDeformCurve-bSAkB3Pt.js → areaDeformCurve-B0DUtSgh.js} +2 -2
- package/dist/{areaDeformCurve-B8VGdoKK.cjs → areaDeformCurve-BXhSeaoy.cjs} +1 -1
- package/dist/{arrayCard-BkD5sytz.js → arrayCard-BlEclzhU.js} +2 -2
- package/dist/{arrayCard-kh5WRweD.cjs → arrayCard-CH1c-fdy.cjs} +1 -1
- package/dist/{audio-BTrvZwCy.js → audio-DssRoD8a.js} +2 -2
- package/dist/{audio-DwJN2gca.cjs → audio-kCcoKcES.cjs} +1 -1
- package/dist/{bar-DYIb4143.js → bar-C19ODKbU.js} +2 -2
- package/dist/{bar-DsyyzcxB.cjs → bar-Dijd0sQu.cjs} +1 -1
- package/dist/{bmp-DbEyuBZw.cjs → bmp-Bxw4TwUB.cjs} +1 -1
- package/dist/{bmp-Dt3mSkAr.js → bmp-DUTgixKN.js} +2 -2
- package/dist/{box-D7RsK5Qp.js → box-B44mc692.js} +2 -2
- package/dist/{box--u3HQFj9.cjs → box-CeE915Ww.cjs} +1 -1
- package/dist/{chartConfigPanel-DybQRqg6.cjs → chartConfigPanel-0O_o7wlV.cjs} +1 -1
- package/dist/{chartConfigPanel-CD-csrX-.js → chartConfigPanel-w0x44bWL.js} +1 -1
- package/dist/circleBar-BJoBZfyx.js +310 -0
- package/dist/circleBar-CVYAERg4.cjs +4 -0
- package/dist/{clock-Cj0HsizY.js → clock-C5FWG3xy.js} +2 -2
- package/dist/{clock-Dc9jgxHT.cjs → clock-CFE1WkOQ.cjs} +1 -1
- package/dist/{clt-uJT1jgHk.js → clt-Cycf8W0K.js} +2 -2
- package/dist/{clt-CBbtQxMc.cjs → clt-DEzN6BGU.cjs} +1 -1
- package/dist/{cmc-JJ6eTxB3.js → cmc-C9PYd5ym.js} +2 -2
- package/dist/{cmc-CeTCKLBx.cjs → cmc-DR3T47y4.cjs} +1 -1
- package/dist/{cmp-CGZ_2BdE.cjs → cmp-DsKyXUHa.cjs} +1 -1
- package/dist/{cmp-D9qlHJoW.js → cmp-Dsc6RprW.js} +2 -2
- package/dist/{conclusionCard-BsLeh3yq.js → conclusionCard-BGUQzWMI.js} +2 -2
- package/dist/{conclusionCard-CwLwj3zj.cjs → conclusionCard-sUyiTSA6.cjs} +1 -1
- package/dist/{controlList-l2ZYM6m5.cjs → controlList-B6EasOKV.cjs} +1 -1
- package/dist/{controlList-CYNS0ArB.js → controlList-DeLBnY0K.js} +2 -2
- package/dist/{controlRecordList-N79_cTON.cjs → controlRecordList-D63e4vQn.cjs} +1 -1
- package/dist/{controlRecordList-BZmCvISO.js → controlRecordList-DCz4Xt9n.js} +2 -2
- package/dist/{controlRecordListAPP-aDj520mp.js → controlRecordListAPP-D0cUYXLY.js} +2 -2
- package/dist/{controlRecordListAPP-DOzMDV4x.cjs → controlRecordListAPP-pfRdnvv1.cjs} +1 -1
- package/dist/{crd-bm_BHuoV.js → crd-B4ZnlIJq.js} +2 -2
- package/dist/{crd-CV4kMUTB.cjs → crd-DRUEk13j.cjs} +1 -1
- package/dist/{ctrBtn-DYceHTAq.js → ctrBtn-5odXmYf7.js} +17 -17
- package/dist/{ctrBtn-Cs6ZmfyJ.cjs → ctrBtn-Bm79a5Sj.cjs} +1 -1
- package/dist/{ctrSet-B6PlTSBE.js → ctrSet-B1dpatKF.js} +33 -33
- package/dist/ctrSet-BMnG-OkK.cjs +1 -0
- package/dist/{ctrSwitch-B9lHJgQn.cjs → ctrSwitch-A9LVcYIN.cjs} +1 -1
- package/dist/{ctrSwitch-E0FM_4f2.js → ctrSwitch-C5aPCuez.js} +39 -39
- package/dist/{dataManagement-bKmkV2VY.cjs → dataManagement-8NQDTifq.cjs} +1 -1
- package/dist/{dataManagement-BAHa-OHl.js → dataManagement-Dqf-T0x4.js} +2 -2
- package/dist/{dataReport-B60Rb4sb.js → dataReport-CT4_ly92.js} +2 -2
- package/dist/{dataReport-JcrjpK_j.cjs → dataReport-CiB4XAKO.cjs} +1 -1
- package/dist/{dataTable-BmvewFlr.js → dataTable-BWc0XycI.js} +1 -1
- package/dist/{dataTable-CX6uktOu.cjs → dataTable-BiyK3INj.cjs} +1 -1
- package/dist/{datetime-BPM_lGiY.cjs → datetime-BVigJCWY.cjs} +1 -1
- package/dist/{datetime-DARBbZJx.js → datetime-Du0fBPZ3.js} +2 -2
- package/dist/{deepClusterSlipSurface-BF77Vp7G.js → deepClusterSlipSurface-BJBW_lMx.js} +2 -2
- package/dist/{deepClusterSlipSurface-IywdiDlA.cjs → deepClusterSlipSurface-Dh-nEUwt.cjs} +1 -1
- package/dist/{deepDataMatrix-sRXkGqdm.cjs → deepDataMatrix-CGCLKdVW.cjs} +1 -1
- package/dist/{deepDataMatrix--zgQoWer.js → deepDataMatrix-CMJMtqVu.js} +2 -2
- package/dist/{deepDisplacement3D-BYt49pzj.js → deepDisplacement3D-BdzBAOZZ.js} +2 -2
- package/dist/{deepDisplacement3D-BET8Ftuc.cjs → deepDisplacement3D-DcwFkrri.cjs} +1 -1
- package/dist/{deepDisplacementChart-BGBhipUx.js → deepDisplacementChart-Be9lxAWP.js} +25 -25
- package/dist/{deepDisplacementChart-D7loYUI5.cjs → deepDisplacementChart-Ct7iZvof.cjs} +1 -1
- package/dist/{deepDisplacementChart-B2zPpsk6.js → deepDisplacementChart-D_dq-XPI.js} +16 -16
- package/dist/{deepDisplacementChart-BuuM485C.cjs → deepDisplacementChart-EjGt1LJp.cjs} +1 -1
- package/dist/{deepDisplacementView-Bwk9p_Qc.js → deepDisplacementView-1eSVkmqk.js} +1 -1
- package/dist/{deepDisplacementView-CTBH3IxP.cjs → deepDisplacementView-VyO91qP0.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-BqTigCTs.js → deepNodeTemperatureChart-BUvEk5T9.js} +2 -2
- package/dist/{deepNodeTemperatureChart-CTLHLf0w.cjs → deepNodeTemperatureChart-DPnQPYKr.cjs} +1 -1
- package/dist/{deepTangentAngleChart-5oxzMpMF.js → deepTangentAngleChart-5mJOFDsK.js} +2 -2
- package/dist/{deepTangentAngleChart-CHxB8OFL.cjs → deepTangentAngleChart-hJHt5aoD.cjs} +1 -1
- package/dist/{deepTemperatureField-Cr6YbuR_.cjs → deepTemperatureField-BAS3omfm.cjs} +1 -1
- package/dist/{deepTemperatureField-Bhk89D3D.js → deepTemperatureField-DlrB4dKP.js} +3 -3
- package/dist/{deepTrendChart-CAbdVR8d.js → deepTrendChart-CLNAoy8P.js} +2 -2
- package/dist/{deepTrendChart-Ch94j4W9.cjs → deepTrendChart-DAM_Ds5z.cjs} +1 -1
- package/dist/{deviceOnlineStatus-C5ODwFsY.js → deviceOnlineStatus-1UHPkOr2.js} +2 -2
- package/dist/{deviceOnlineStatus-DxsTb4Vb.cjs → deviceOnlineStatus-D_oS1F9j.cjs} +1 -1
- package/dist/{deviceStatus-DPfOQCSX.js → deviceStatus-CcPjyhrB.js} +10 -10
- package/dist/{deviceStatus-CjFTpCaU.cjs → deviceStatus-DdFB86J7.cjs} +1 -1
- package/dist/{displacementDataTable-DG36VWok.js → displacementDataTable-B7x4ogcW.js} +9 -9
- package/dist/{displacementDataTable-BIqBEkul.cjs → displacementDataTable-NlqtVyYg.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-DRltcPfa.cjs → displacementTrajectoryChart-BRy93sPt.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-Cpmj24Jn.js → displacementTrajectoryChart-C10Uroic.js} +11 -11
- package/dist/{displacementTrendChart-DpD79zii.cjs → displacementTrendChart-B5NRRQzD.cjs} +1 -1
- package/dist/{displacementTrendChart-D1yfRFQb.js → displacementTrendChart-D-_Ls7J4.js} +11 -11
- package/dist/{dxf-C_9cH0WU.cjs → dxf-B7DB_30i.cjs} +1 -1
- package/dist/{dxf-zbCakRgh.js → dxf-CqFFtWRq.js} +2 -2
- package/dist/{dzc-CfPVaIgj.js → dzc-BjA7dXWS.js} +2 -2
- package/dist/{dzc-CejqHneE.cjs → dzc-DT6Chp2Q.cjs} +1 -1
- package/dist/{emergencyPlan-dEwML5xC.cjs → emergencyPlan-DkErPudJ.cjs} +1 -1
- package/dist/{emergencyPlan-LbeRH-P9.js → emergencyPlan-IJ0wIcFl.js} +3 -3
- package/dist/{evn-DsD_MKQd.js → evn-DeaQXEPO.js} +2 -2
- package/dist/{evn-BvgQ3o3T.cjs → evn-Dh71UuO9.cjs} +1 -1
- package/dist/{evolutionChart-B4C9qB3I.js → evolutionChart-C3oCrBf3.js} +3 -3
- package/dist/{evolutionChart-Dt5-xRsy.cjs → evolutionChart-C7Ae0ZiT.cjs} +1 -1
- package/dist/{fileViewer-B0LdLy2P.js → fileViewer-8Us72XkI.js} +2 -2
- package/dist/{fileViewer-DZIREgL0.cjs → fileViewer-ERPHU_Zd.cjs} +1 -1
- package/dist/{filterBar-D_jcuqwP.cjs → filterBar-CW7bn1-p.cjs} +1 -1
- package/dist/{filterBar-Bt6w4_xK.js → filterBar-D9xz6-NL.js} +2 -2
- package/dist/{fireCombustionCurve-CHRd1nSv.cjs → fireCombustionCurve-CqiMMU_8.cjs} +1 -1
- package/dist/{fireCombustionCurve-C2rWY89D.js → fireCombustionCurve-DIUwJpXU.js} +3 -3
- package/dist/{fireFilterBar-CpwHRisZ.js → fireFilterBar-BG-StguC.js} +2 -2
- package/dist/{fireFilterBar-DX8qH1rr.cjs → fireFilterBar-Beqb_Dns.cjs} +1 -1
- package/dist/{fireHistoryTable-B38M6w5w.cjs → fireHistoryTable-CRzrvuo8.cjs} +1 -1
- package/dist/{fireHistoryTable-DcSgHt5q.js → fireHistoryTable-ChqoTAYc.js} +2 -2
- package/dist/{gag-qDNPdFJu.cjs → gag-Bx9QvvT7.cjs} +1 -1
- package/dist/{gag-BErw_nsf.js → gag-Cf3zHBXx.js} +2 -2
- package/dist/{gasStationList-BREZbC_k.js → gasStationList--rmQJ0jp.js} +2 -2
- package/dist/{gasStationList-NhJa4GO6.cjs → gasStationList-BjyCsqqM.cjs} +1 -1
- package/dist/{geo3dViewer-D9uSt0up.cjs → geo3dViewer-Ch6d1IMg.cjs} +1 -1
- package/dist/{geo3dViewer-zAN1eIza.js → geo3dViewer-mDKnyJMa.js} +3 -3
- package/dist/{glbModel-C4FiDMM5.cjs → glbModel-DAofoZCs.cjs} +1 -1
- package/dist/{glbModel-i6HvK0m8.js → glbModel-aQXnlO7p.js} +2 -2
- package/dist/{globalObjectSelector-BrVwJEgp.js → globalObjectSelector-AF67vBmT.js} +1 -1
- package/dist/{globalObjectSelector-CR74psMa.cjs → globalObjectSelector-C2t3Jtm6.cjs} +1 -1
- package/dist/{gnssFilterBar-BkfBQWXF.cjs → gnssFilterBar-4JNWA-CR.cjs} +1 -1
- package/dist/{gnssFilterBar-BEHXIIKI.js → gnssFilterBar-BgpevrmL.js} +2 -2
- package/dist/{gnssHistoryTable-DDWGE_ge.js → gnssHistoryTable-De2cn5dP.js} +2 -2
- package/dist/{gnssHistoryTable-CQ-7ESYj.cjs → gnssHistoryTable-xnzV8l_Q.cjs} +1 -1
- package/dist/{gnssMapView-C9iRAzym.js → gnssMapView-C9IqBqEw.js} +4 -4
- package/dist/{gnssMapView-P6ed3l_W.cjs → gnssMapView-D9V5XNlw.cjs} +2 -2
- package/dist/{gnssSectionProfile-CIZnF7VA.cjs → gnssSectionProfile-CxXhhOCd.cjs} +1 -1
- package/dist/{gnssSectionProfile-BIqyABEf.js → gnssSectionProfile-HfiKe0-s.js} +2 -2
- package/dist/{gnssTimeSeriesChart-BgIM5U-H.cjs → gnssTimeSeriesChart-C4onoU3C.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-DqH9JFBF.js → gnssTimeSeriesChart-CvoTHHqa.js} +2 -2
- package/dist/{gnssXYTrajectory-CH8864n6.cjs → gnssXYTrajectory-Dug2OwRw.cjs} +1 -1
- package/dist/{gnssXYTrajectory-BviUjxG9.js → gnssXYTrajectory-g_pRuL75.js} +2 -2
- package/dist/{grd-BhpBxrpa.cjs → grd-CYg3e2B0.cjs} +1 -1
- package/dist/{grd-DfkGlcW6.js → grd-DqKnlgw_.js} +20 -20
- package/dist/{grdIndass-ByznFwzc.js → grdIndass-CUE7Gb-W.js} +2 -2
- package/dist/{grdIndass-DhMfHz31.cjs → grdIndass-D3wFyDpD.cjs} +1 -1
- package/dist/{grg-CVBoetQY.js → grg-BpNY4dsd.js} +6 -6
- package/dist/{grg-uzBlEm_K.cjs → grg-Cu7muu3_.cjs} +1 -1
- package/dist/{gridview-Dt3i1t5d.js → gridview-BLabvs9I.js} +2 -2
- package/dist/{gridview-CyXCqWKq.cjs → gridview-BUsfJz0o.cjs} +1 -1
- package/dist/{groundwaterFilterBar-BbS81e9a.js → groundwaterFilterBar-BQFayVwl.js} +2 -2
- package/dist/{groundwaterFilterBar-C4xCPqa_.cjs → groundwaterFilterBar-f9qXTkoQ.cjs} +1 -1
- package/dist/{groundwaterProfileChart-DvjFvCm5.cjs → groundwaterProfileChart-AN7OLcKv.cjs} +2 -2
- package/dist/{groundwaterProfileChart-BBPFrt5W.js → groundwaterProfileChart-pVEgD-ec.js} +3 -3
- package/dist/{groundwaterTimeCurve-Cb3xlM78.cjs → groundwaterTimeCurve-BoJnmOYq.cjs} +1 -1
- package/dist/{groundwaterTimeCurve-CKlvc2nQ.js → groundwaterTimeCurve-DRoycHDe.js} +3 -3
- package/dist/{groupCard-BVdjzdqF.cjs → groupCard-Dq6TXOZt.cjs} +1 -1
- package/dist/{groupCard-BBzDl9uX.js → groupCard-fPMXeW8L.js} +2 -2
- package/dist/{headerBar-B5Z8UviF.cjs → headerBar-Da-XmgLi.cjs} +1 -1
- package/dist/{headerBar-Dty08mHR.js → headerBar-ap2M954P.js} +2 -2
- package/dist/{history-yI8XiwXi.cjs → history-3PgmioqY.cjs} +1 -1
- package/dist/{history-TkSKA8F1.js → history-BC8RESyu.js} +1 -1
- package/dist/{index-YNdVib_6.js → index-CqVPeq0-.js} +455 -453
- package/dist/index-OgmTZiO-.cjs +612 -0
- package/dist/{insarDeformChart-C9UkWIL9.js → insarDeformChart-CKBcUJCV.js} +2 -2
- package/dist/{insarDeformChart-Dr9Ve1vY.cjs → insarDeformChart-DABg6b8J.cjs} +1 -1
- package/dist/{insarImageViewer-DAKBn2vV.cjs → insarImageViewer-9FpJDh1K.cjs} +1 -1
- package/dist/{insarImageViewer-DZbq2xch.js → insarImageViewer-C1XBU0YL.js} +2 -2
- package/dist/{kds-BkH8cJCu.cjs → kds-B04fJsat.cjs} +1 -1
- package/dist/{kds-__I8-o5i.js → kds-D6TYb16w.js} +21 -21
- package/dist/{kpiCard-fRfv1QPb.cjs → kpiCard-Bfi2W9cH.cjs} +1 -1
- package/dist/{kpiCard-BzuF0qdE.js → kpiCard-D5S1M8Rs.js} +2 -2
- package/dist/{landslideMap-zD8SU2Lh.cjs → landslideMap-CWmIK6ca.cjs} +1 -1
- package/dist/{landslideMap-D84pku4Y.js → landslideMap-DXyIahAi.js} +3 -3
- package/dist/{landslideWarning-Cq-di-hN.cjs → landslideWarning-CPwRDf3u.cjs} +1 -1
- package/dist/{landslideWarning-0mckvEoZ.js → landslideWarning-DaI_F3dC.js} +5 -5
- package/dist/{layerTabs-COzqQ9mn.js → layerTabs-DJaWhtYa.js} +2 -2
- package/dist/{layerTabs-C2zq6a5M.cjs → layerTabs-DfVZUJvC.cjs} +1 -1
- package/dist/{leaflet-src-2tPn7QVH.js → leaflet-src-DU74PJcX.js} +1 -1
- package/dist/{leaflet-src-D8MF2j44.cjs → leaflet-src-gpxoqh6Y.cjs} +1 -1
- package/dist/{lerc-BHcVhBOn.cjs → lerc-ACN_ZV5f.cjs} +1 -1
- package/dist/{lerc-BCmG0CMS.js → lerc-ZmeF7NhV.js} +2 -2
- package/dist/{lin-niA_T9Ql.cjs → lin-BqSPUdmV.cjs} +1 -1
- package/dist/{lin-CQ6TCBCr.js → lin-DXM61jXV.js} +2 -2
- package/dist/{linIndass-J9rdji6E.js → linIndass-DQZjD3lL.js} +12 -12
- package/dist/{linIndass-nZx16Vos.cjs → linIndass-jqzXVoXv.cjs} +1 -1
- package/dist/{lst-DieyrYCh.js → lst-Bpf41jqR.js} +2 -2
- package/dist/{lst-Cw1XCAv0.cjs → lst-C9RrqCgo.cjs} +1 -1
- package/dist/{manualEntry-CCmyPMJm.js → manualEntry-BvKEwOnY.js} +2 -2
- package/dist/{manualEntry-ChhTpAF2.cjs → manualEntry-wG0RcQYe.cjs} +1 -1
- package/dist/{mapBackground-BzOdjhnZ.cjs → mapBackground-DOsGw2Dh.cjs} +1 -1
- package/dist/{mapBackground-CiiG2nHi.js → mapBackground-DxQdqWM2.js} +3 -3
- package/dist/{mappingList-CoBD8D27.js → mappingList-BRpK5eX_.js} +2 -2
- package/dist/{mappingList-D42mILiq.cjs → mappingList-C7qyzN6o.cjs} +1 -1
- package/dist/{markdownViewer-C3HUXDvf.js → markdownViewer-CZVNZ8jN.js} +2 -2
- package/dist/{markdownViewer-DHs9ekCh.cjs → markdownViewer-C_TA7AX-.cjs} +1 -1
- package/dist/{mix-control-modal-BEwriuWS.js → mix-control-modal-DITf1VAp.js} +1 -1
- package/dist/{mix-control-modal-DGd2S6Jd.cjs → mix-control-modal-DjG-ChQu.cjs} +1 -1
- package/dist/{mixGrid-Cnq99D09.cjs → mixGrid-Zk7NKpBw.cjs} +1 -1
- package/dist/{mixGrid-CBenxHD_.js → mixGrid-mbFlywYp.js} +2 -2
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/{mixiotObjectListApi-e1qL7PHh.cjs → mixiotObjectListApi-CRPxZbIS.cjs} +1 -1
- package/dist/{mixiotObjectListApi-CKJLXcnf.js → mixiotObjectListApi-cTDvF31d.js} +1 -1
- package/dist/{mjpegCamera-D8lB701i.js → mjpegCamera-B3m55jok.js} +2 -2
- package/dist/{mjpegCamera-DDFrZo-x.cjs → mjpegCamera-Da5NZX0r.cjs} +1 -1
- package/dist/{monitorAlert-C-mo-lDe.cjs → monitorAlert-BqUYN_BF.cjs} +1 -1
- package/dist/{monitorAlert-Z1dFDfPh.js → monitorAlert-sn_3TrGJ.js} +9 -9
- package/dist/{monitorData-CNRfV5Wt.cjs → monitorData-B-dcmDx3.cjs} +1 -1
- package/dist/{monitorData-DZhO9Gos.js → monitorData-RhTZn3fI.js} +11 -11
- package/dist/{monitorSpeedChart-DrRdMdGD.cjs → monitorSpeedChart-_L0zgWxs.cjs} +1 -1
- package/dist/{monitorSpeedChart-C5pN46lO.js → monitorSpeedChart-uWpHlkZd.js} +1 -1
- package/dist/{mxa-COpw24fq.cjs → mxa-BNnKgDyq.cjs} +1 -1
- package/dist/{mxa-BFQ70ksk.js → mxa-ClEVeLaa.js} +2 -2
- package/dist/{myValue-Eb3asTOC.cjs → myValue-DoBpTp1-.cjs} +1 -1
- package/dist/{myValue-Dosl4Ro5.js → myValue-Drhoqp_w.js} +2 -2
- package/dist/{myValueList-mcqRZanE.cjs → myValueList-BT6mKnwJ.cjs} +1 -1
- package/dist/{myValueList-Dkc10vr6.js → myValueList-BfIDIHUe.js} +2 -2
- package/dist/{objectList-FWkZ6PAs.js → objectList-CATv4N0g.js} +3 -3
- package/dist/{objectList-D4owr3ED.cjs → objectList-CM1T-IQo.cjs} +1 -1
- package/dist/{objectListAPP-CdfeZTgm.js → objectListAPP-BG9iL6S_.js} +3 -3
- package/dist/{objectListAPP-Bzevu1od.cjs → objectListAPP-lNp3RQsA.cjs} +1 -1
- package/dist/percentBar-BOQp427o.js +369 -0
- package/dist/percentBar-By73saGo.cjs +5 -0
- package/dist/{photo-Dmxxqgrg.cjs → photo-CFomIdjq.cjs} +1 -1
- package/dist/{photo-DxXTYq73.js → photo-N8uk9UzU.js} +2 -2
- package/dist/{pie-BxpiCEYe.cjs → pie-BzkMCV5O.cjs} +1 -1
- package/dist/{pie-COixdWUz.js → pie-DuWuL4rb.js} +2 -2
- package/dist/{placeholder-Ole-Or58.cjs → placeholder-B9T7qNoD.cjs} +1 -1
- package/dist/{placeholder-CLLNLxRC.js → placeholder-DI_zsp-O.js} +1 -1
- package/dist/{pressBtn-DwKg9PbD.cjs → pressBtn-B_D3cFPd.cjs} +1 -1
- package/dist/{pressBtn-C7Y-B8Dz.js → pressBtn-D-j1_nDJ.js} +38 -38
- package/dist/{processTable-CTkwZWWJ.js → processTable-B-X05x32.js} +2 -2
- package/dist/{processTable-DDcKkjJx.cjs → processTable-B5WzGKQr.cjs} +1 -1
- package/dist/{progressBar-7qHg67Sf.cjs → progressBar-19d-9U9p.cjs} +1 -1
- package/dist/{progressBar-9npgJ9jD.js → progressBar-F61-3H3E.js} +2 -2
- package/dist/{progressCircle-DP08TX08.js → progressCircle-Dp4XWdE0.js} +2 -2
- package/dist/{progressCircle-Xgjnl1KF.cjs → progressCircle-RZ36ttud.cjs} +1 -1
- package/dist/{qrcode-D6wDMo-f.cjs → qrcode-D8C5cFka.cjs} +1 -1
- package/dist/{qrcode-ClTSNzEN.js → qrcode-PeEXEcDd.js} +2 -2
- package/dist/{raceBar-CTmsN8VC.js → raceBar-BnkzNqH0.js} +2 -2
- package/dist/{raceBar-C8mVFHnd.cjs → raceBar-DuCYwMoq.cjs} +1 -1
- package/dist/{rad-DWCSD35t.js → rad-BdQ-1k0K.js} +66 -56
- package/dist/{rad-Dxaakm82.cjs → rad-DND2sEzm.cjs} +1 -1
- package/dist/{radarMapViewer-eEBE3MS-.js → radarMapViewer-BUT7ZD47.js} +2 -2
- package/dist/{radarMapViewer-U7IQJjQs.cjs → radarMapViewer-BtwXLg65.cjs} +1 -1
- package/dist/{rainfallFilterBar-DJTDGu7Z.js → rainfallFilterBar-0IX3rYUD.js} +2 -2
- package/dist/{rainfallFilterBar-ow_wdOwq.cjs → rainfallFilterBar-BVD1fsJF.cjs} +1 -1
- package/dist/{rainfallTimeCurve-CwGmJhxu.js → rainfallTimeCurve-BIt0Ax0l.js} +3 -3
- package/dist/{rainfallTimeCurve-BL1I5Z2D.cjs → rainfallTimeCurve-DvYAvU9a.cjs} +1 -1
- package/dist/{rangeLin-BqcJpIva.js → rangeLin-BpAilzGc.js} +2 -2
- package/dist/{rangeLin-BEz9xapa.cjs → rangeLin-DKjgf_Ab.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-NOkyU7G3.js → realtimeEvolutionMap-5rOyArZq.js} +2 -2
- package/dist/{realtimeEvolutionMap-mzXlR8gS.cjs → realtimeEvolutionMap-Feks0bxX.cjs} +1 -1
- package/dist/{regionBar-DDk-2UWS.js → regionBar-D2if9Cyv.js} +2 -2
- package/dist/{regionBar-CEfz0Yol.cjs → regionBar-oWO1HZta.cjs} +1 -1
- package/dist/{request-BIXfJXjX.js → request-BAa7KXPI.js} +1 -1
- package/dist/{request-BfG3yDz6.cjs → request-DRttaVjf.cjs} +1 -1
- package/dist/{retainer1-Cz5rXIJj.js → retainer1-Bz3hKsxS.js} +3 -3
- package/dist/{retainer1-Ch1oZMeA.cjs → retainer1-CA3lV3eb.cjs} +1 -1
- package/dist/{retainer2-DJ1R2GJE.cjs → retainer2-BnfP4WPr.cjs} +1 -1
- package/dist/{retainer2-DeelXgAZ.js → retainer2-UsoVsRXo.js} +3 -3
- package/dist/{retainerRecordList-DyhfjtfF.js → retainerRecordList-DbXRpaHy.js} +2 -2
- package/dist/{retainerRecordList-D3MsCnqy.cjs → retainerRecordList-jkXbz9xr.cjs} +1 -1
- package/dist/{retainerRecordListAPP-B_hCyRak.cjs → retainerRecordListAPP-CS4s1t0e.cjs} +1 -1
- package/dist/{retainerRecordListAPP-3Gr7db3D.js → retainerRecordListAPP-DI4f5Q6f.js} +2 -2
- package/dist/{ringTopN-fLinQVwX.cjs → ringTopN-BBryDUi9.cjs} +1 -1
- package/dist/{ringTopN-t9xaVCWg.js → ringTopN-BCZhDz0U.js} +2 -2
- package/dist/{riskRegionTable-CagcISBC.cjs → riskRegionTable-DtG9zTy5.cjs} +1 -1
- package/dist/{riskRegionTable-BThwQbTf.js → riskRegionTable-Dw573XX4.js} +2 -2
- package/dist/{sankey-BY_nwThw.cjs → sankey-BNmzRTH5.cjs} +1 -1
- package/dist/{sankey-Bwm0omQr.js → sankey-DHbOEbzP.js} +2 -2
- package/dist/{scd-DeYC1Rqx.js → scd-CNcTAStO.js} +2 -2
- package/dist/{scd-Bs1dG1w8.cjs → scd-Cf68XDF5.cjs} +1 -1
- package/dist/{sideMenu-CAEh3bwF.cjs → sideMenu-BW8ddV-x.cjs} +1 -1
- package/dist/{sideMenu-Db_Nc_xz.js → sideMenu-DKAAQcWF.js} +2 -2
- package/dist/{slopeStability-CVC68Qcj.js → slopeStability-Ds4exWb_.js} +10 -10
- package/dist/{slopeStability-BWg6jhBB.cjs → slopeStability-eVwuAmlY.cjs} +1 -1
- package/dist/{speedCurve-CK4CXHeC.js → speedCurve-B_j8P273.js} +2 -2
- package/dist/{speedCurve-DNNEIz4o.cjs → speedCurve-PtxSVJ8J.cjs} +1 -1
- package/dist/stackedBar-CC0JmrlS.cjs +2 -0
- package/dist/stackedBar-uMr9A877.js +325 -0
- package/dist/{stressFilterBar-DQ8nq8jV.js → stressFilterBar-B02kr6zY.js} +2 -2
- package/dist/{stressFilterBar-Cigl3IyR.cjs → stressFilterBar-Dh4fWQ90.cjs} +1 -1
- package/dist/{stressTimeCurve-BiduKfcg.cjs → stressTimeCurve-6eALY4dC.cjs} +1 -1
- package/dist/{stressTimeCurve-BEANw1F8.js → stressTimeCurve-D_Rc1PAY.js} +3 -3
- package/dist/{swiper-BgkvIN5U.js → swiper-BsAeDuw3.js} +2 -2
- package/dist/{swiper-MIRXMnxk.cjs → swiper-CMP_sa_i.cjs} +1 -1
- package/dist/{terminalConfigList-B3lqvQel.js → terminalConfigList-BjbgbZHU.js} +2 -2
- package/dist/{terminalConfigList-C3zRbQvM.cjs → terminalConfigList-C83kqf7d.cjs} +1 -1
- package/dist/{terminalList-ArxJ1jdO.cjs → terminalList-BnitlFL5.cjs} +1 -1
- package/dist/{terminalList-BevfdySj.js → terminalList-DPOBOIu3.js} +2 -2
- package/dist/{terminalListAPP-Cs0nnBfc.cjs → terminalListAPP-CSYL2-0G.cjs} +1 -1
- package/dist/{terminalListAPP-CbpVft_s.js → terminalListAPP-DI6ePX4Y.js} +2 -2
- package/dist/{textbox-CjkfmdaO.js → textbox-Dk4Q0jq3.js} +2 -2
- package/dist/{textbox-DC9YLTn5.cjs → textbox-OEvn1Q-J.cjs} +1 -1
- package/dist/{timeQueryBar-B69eldHQ.cjs → timeQueryBar-Bnqyhyy7.cjs} +1 -1
- package/dist/{timeQueryBar-CXd9yNgD.js → timeQueryBar-CoFozltp.js} +1 -1
- package/dist/{timeSeries-CLnLd-gX.js → timeSeries-BYWoWCYY.js} +3 -3
- package/dist/{timeSeries-fB14CgRy.cjs → timeSeries-Dw-90k-1.cjs} +1 -1
- package/dist/{timeSeriesCurve-DOaxDpjr.cjs → timeSeriesCurve-BkdQ_KeE.cjs} +1 -1
- package/dist/{timeSeriesCurve-CMcCzR13.js → timeSeriesCurve-iPezzxLC.js} +3 -3
- package/dist/{toggleBtn-BiUyrx_o.cjs → toggleBtn-BC4vsMGo.cjs} +1 -1
- package/dist/{toggleBtn-CWmuTxSD.js → toggleBtn-CAXFfijH.js} +2 -2
- package/dist/{trajectoryConfigPanel-D7IDlQIH.cjs → trajectoryConfigPanel-BXpItzqc.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-DKLN3KY5.js → trajectoryConfigPanel-DlN8AZFo.js} +1 -1
- package/dist/{trajectoryScatter-TEactc8J.js → trajectoryScatter-CxDHL1um.js} +2 -2
- package/dist/{trajectoryScatter-CL-2FKZe.cjs → trajectoryScatter-_1LoFjV7.cjs} +1 -1
- package/dist/{universalConfigPanel-B8JIiLXp.cjs → universalConfigPanel-B6jchzUf.cjs} +1 -1
- package/dist/{universalConfigPanel-wicv4Ypw.js → universalConfigPanel-BlDmNWc0.js} +1 -1
- package/dist/{universalTable-BlTdL3c0.cjs → universalTable-C-oWFP8u.cjs} +1 -1
- package/dist/{universalTable-8e3LrZvD.js → universalTable-DbqMwXuL.js} +2 -2
- package/dist/{video-DpRcCZZQ.js → video-DHJ-flUN.js} +2 -2
- package/dist/{video-nPkrKQyL.cjs → video-HxDzMY56.cjs} +1 -1
- package/dist/{videoMonitor-DOVw5mE0.cjs → videoMonitor-CGlM7hRf.cjs} +1 -1
- package/dist/{videoMonitor-Z_7cZk5Y.js → videoMonitor-Golf73FP.js} +9 -9
- package/dist/{vlu-BQCrHSlq.js → vlu-Wd6itaBz.js} +2 -2
- package/dist/{vlu-DEIgGiO-.cjs → vlu-ZFZU2wAQ.cjs} +1 -1
- package/dist/{warningOverview-DXJNk5bT.cjs → warningOverview-BkDN-4f-.cjs} +1 -1
- package/dist/{warningOverview-C7J5aXTJ.js → warningOverview-DuBMKv_H.js} +3 -3
- package/dist/{weather-C1sjTcwC.js → weather-BRKZBZR9.js} +2 -2
- package/dist/{weather-B1Pfcn75.cjs → weather-C_9Xmi0b.cjs} +1 -1
- package/dist/{windLin-QKZKJ1h_.cjs → windLin-6KfyL12C.cjs} +1 -1
- package/dist/{windLin-vlM63Hu7.js → windLin-DCZqaY1W.js} +2 -2
- package/package.json +1 -1
- package/dist/circleBar-4md65KCX.js +0 -305
- package/dist/circleBar-DJY37bwB.cjs +0 -5
- package/dist/ctrSet-XqnGgYPn.cjs +0 -1
- package/dist/index-6QhTSPkL.cjs +0 -612
|
@@ -12,8 +12,8 @@ var P = (p, u, r) => u in p ? le(p, u, { enumerable: !0, configurable: !0, writa
|
|
|
12
12
|
}, W = (p, u) => ne(p, se(u));
|
|
13
13
|
import { defineComponent as re, ref as T, reactive as ce, computed as D, onMounted as ue, nextTick as B, onUnmounted as de, watch as ve, openBlock as U, createElementBlock as X, normalizeStyle as O, createElementVNode as l, unref as me, toDisplayString as C, normalizeClass as fe, withModifiers as pe, mergeProps as ye, createTextVNode as E, createCommentVNode as he, renderSlot as xe } from "vue";
|
|
14
14
|
import "html2canvas";
|
|
15
|
-
import { B as ge } from "./BaseComponent-
|
|
16
|
-
import { _ as Se } from "./index-
|
|
15
|
+
import { B as ge } from "./BaseComponent-CEp8NJiX.js";
|
|
16
|
+
import { _ as Se } from "./index-CqVPeq0-.js";
|
|
17
17
|
import { A as be, D as Me } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
18
18
|
const Ce = { class: "panel-header" }, ze = { class: "header-left" }, Te = { class: "header-btns" }, De = {
|
|
19
19
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var H=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var w=(p,u,c)=>u in p?H(p,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):p[u]=c,I=(p,u)=>{for(var c in u||(u={}))Q.call(u,c)&&w(p,c,u[c]);if(A)for(var c of A(u))ee.call(u,c)&&w(p,c,u[c]);return p},R=(p,u)=>J(p,K(u));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("html2canvas");const te=require("./BaseComponent-
|
|
1
|
+
"use strict";var H=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var w=(p,u,c)=>u in p?H(p,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):p[u]=c,I=(p,u)=>{for(var c in u||(u={}))Q.call(u,c)&&w(p,c,u[c]);if(A)for(var c of A(u))ee.call(u,c)&&w(p,c,u[c]);return p},R=(p,u)=>J(p,K(u));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("html2canvas");const te=require("./BaseComponent-DaYX7dUF.cjs"),ae=require("./index-OgmTZiO-.cjs"),O=require("./ele-lin-icon-Dke_1AmT.cjs"),ne={class:"panel-header"},le={class:"header-left"},oe={class:"header-btns"},se={key:0,class:"result-box"},re={style:{color:"#f5222d"}},ce={style:{color:"#fa8c16"}},ie={class:"insar-legend"},ue={class:"legend-title"},de={class:"legend-body"},me={DEFAULT_ICON:O.DEFAULT_ICON,ACTIVE_ICON:O.ACTIVE_ICON,NAME_CN:"InSAR形变3D图",NAME_EN:"InSAR Deform 3D Chart",ORDER:22,PLATFORM:["pc","screen"]},ve={bgColor:{value:"#4a4a4a",type:"color",label:"setting.bgColor"},titleFontSize:{value:14,type:"number",label:"标题字体大小",min:12,max:24},gridSize:{value:50,type:"number",label:"网格密度",min:20,max:80},canvasSize:{value:240,type:"number",label:"画布尺寸(px)",min:150,max:400},defaultDataType:{value:"rate",type:"select",label:"默认数据类型",options:[{label:"形变速率",value:"rate"},{label:"累计形变量",value:"amount"}]},linkChannel:{value:"satellite",type:"select",label:"联动频道",options:[{label:"遥感卫星",value:"satellite"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},fe=[],pe=["object_id","name","fv","fvDeviceName"],ye=["mosaic"],xe={useAlias:!1,multiObject:!1,source:"mosaic"},ge={DEFAULT:me,OPTIONS:ve,DATA:fe,PARAMS:pe,SOURCE:ye,COMMON:xe},he=t.defineComponent(R(I({},ge),{__name:"insarDeformChart",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(p){const u=p,c={rate:{title:"InSAR 形变速率(mm/yr)",legendTitle:"形变速率 (mm/yr)",maxVal:20,unit:"mm/yr",noise:.15},amount:{title:"InSAR 累计形变量(mm)",legendTitle:"累计形变量 (mm)",maxVal:500,unit:"mm",noise:.25}};class F extends te.BaseComponent{extractStyles(){var i,n,y,s,o,v,f,N;const e=(i=this.props.conf)==null?void 0:i.options,l=((n=e==null?void 0:e.linkChannel)==null?void 0:n.value)||"satellite",r=((y=e==null?void 0:e.customChannel)==null?void 0:y.value)||"";return{bgColor:((s=e==null?void 0:e.bgColor)==null?void 0:s.value)||"#4a4a4a",titleFontSize:((o=e==null?void 0:e.titleFontSize)==null?void 0:o.value)||14,gridSize:((v=e==null?void 0:e.gridSize)==null?void 0:v.value)||50,canvasSize:((f=e==null?void 0:e.canvasSize)==null?void 0:f.value)||240,defaultDataType:((N=e==null?void 0:e.defaultDataType)==null?void 0:N.value)||"rate",linkChannel:l==="custom"&&r?r:l}}onLinkEvent(e){const l=e==null?void 0:e.payload;l!=null&&l.dataType&&(l.dataType==="rate"||l.dataType==="amount")&&(g.value=l.dataType,T())}}const E=new F(u,"insarDeformChart");E.setupLifecycle();const x=E.getStyle(),D=t.ref(null),g=t.ref("rate"),h=t.ref(!1),C=t.ref(!1),S=t.reactive({count:0,max:"0.00",avg:"0.00"});let b=[],d=null,m=null,M=!1;const _=t.ref(1),P=t.computed(()=>c[g.value].title),L=t.computed(()=>c[g.value].legendTitle),q=t.computed(()=>c[g.value].maxVal),B=t.computed(()=>({backgroundColor:x.value.bgColor})),U=t.computed(()=>`rotateX(60deg) rotateZ(45deg) scale(${_.value})`),W={onMousedown:a=>{h.value&&(M=!0,d=k(a),m=d,V(),C.value=!1)},onMousemove:a=>{!h.value||!M||(m=k(a),V())},onMouseup:()=>{M&&(M=!1,Y())}},k=a=>{if(!D.value)return{x:0,y:0};const l=x.value.gridSize,r=x.value.canvasSize,i=a.offsetX/r*l,n=a.offsetY/r*l;return{x:Math.max(0,Math.min(l-1,Math.floor(i))),y:Math.max(0,Math.min(l-1,Math.floor(n)))}},j=()=>{const a=x.value.gridSize,e=c[g.value],l=a/2,r=a/2,i=(Math.random()-.5)*5,n=(Math.random()-.5)*5;b=[];for(let y=0;y<a;y++){const s=[];for(let o=0;o<a;o++){const v=o-(l+i),f=y-(r+n),N=Math.sqrt(v*v+f*f),Z=a*.6;let z=N/Z;z+=(Math.random()-.5)*e.noise,z=Math.max(0,Math.min(1,z)),s.push(z)}b.push(s)}},X=a=>`hsl(${(1-a)*240}, 90%, 55%)`,V=()=>{const a=D.value;if(!a)return;const e=a.getContext("2d");if(!e)return;const l=x.value.gridSize,r=x.value.canvasSize,i=window.devicePixelRatio||1;a.width=r*i,a.height=r*i,a.style.width=r+"px",a.style.height=r+"px",e.scale(i,i),e.clearRect(0,0,r,r);const n=r/l,y=n*.45;for(let s=0;s<l;s++)for(let o=0;o<l;o++){if(!b[s])continue;const v=b[s][o],f=o*n+n/2,N=s*n+n/2;e.beginPath(),e.arc(f,N,y,0,Math.PI*2),e.fillStyle=X(v),e.fill(),e.lineWidth=.5,e.strokeStyle="rgba(0,0,0,0.4)",e.stroke()}if(d&&m){const s=Math.min(d.x,m.x),o=Math.min(d.y,m.y),v=Math.abs(m.x-d.x)+1,f=Math.abs(m.y-d.y)+1;e.save(),e.fillStyle="rgba(255,255,255,0.3)",e.strokeStyle="#00ffcc",e.lineWidth=2,e.fillRect(s*n,o*n,v*n,f*n),e.strokeRect(s*n,o*n,v*n,f*n),e.restore()}},Y=()=>{if(!d||!m)return;const a=Math.min(d.x,m.x),e=Math.max(d.x,m.x),l=Math.min(d.y,m.y),r=Math.max(d.y,m.y),i=c[g.value];let n=0,y=0,s=0;for(let o=l;o<=r;o++)for(let v=a;v<=e;v++){if(!b[o])continue;const f=b[o][v];y+=f,f>s&&(s=f),n++}n>0&&(S.count=n,S.max=(s*i.maxVal).toFixed(2)+" "+i.unit,S.avg=(y/n*i.maxVal).toFixed(2)+" "+i.unit,C.value=!0)},$=()=>{h.value=!h.value,h.value||(d=null,m=null,C.value=!1,V())},G=a=>{const e=a.deltaY>0?.9:1.1;_.value=Math.max(.3,Math.min(_.value*e,5))},T=()=>{j(),V(),d=null,m=null,C.value=!1};return t.onMounted(()=>{E.init(),g.value=x.value.defaultDataType||"rate",t.nextTick(()=>{T()})}),t.onUnmounted(()=>{E.cleanup()}),t.watch(()=>u.conf,()=>{t.nextTick(()=>{T()})},{deep:!0}),(a,e)=>(t.openBlock(),t.createElementBlock("div",{class:"insar-deform-chart",style:t.normalizeStyle(B.value)},[t.createElementVNode("div",ne,[t.createElementVNode("div",le,[e[0]||(e[0]=t.createElementVNode("span",{class:"indicator-dot"},null,-1)),t.createElementVNode("span",{class:"panel-title",style:t.normalizeStyle({color:"#fff",fontSize:t.unref(x).titleFontSize+"px"})},t.toDisplayString(P.value),5)]),t.createElementVNode("div",oe,[t.createElementVNode("button",{class:t.normalizeClass(["ctrl-btn",{"btn-active":h.value}]),onClick:$},"📐 圈选分析",2),t.createElementVNode("button",{class:"ctrl-btn",onClick:T},"🔄")])]),t.createElementVNode("div",{class:"insar-container",onWheel:t.withModifiers(G,["prevent"])},[t.createElementVNode("div",{class:"canvas-3d-wrapper",style:t.normalizeStyle({transform:U.value})},[t.createElementVNode("canvas",t.mergeProps({ref_key:"canvasRef",ref:D,class:"insar-canvas"},p.mode!=="edit"?W:{}),null,16)],4),C.value?(t.openBlock(),t.createElementBlock("div",se,[e[5]||(e[5]=t.createElementVNode("div",{class:"result-title"},"📊 区域分析结果",-1)),t.createElementVNode("div",null,[e[1]||(e[1]=t.createTextVNode("选中点数:",-1)),t.createElementVNode("span",null,t.toDisplayString(S.count),1),e[2]||(e[2]=t.createTextVNode(" 个",-1))]),t.createElementVNode("div",null,[e[3]||(e[3]=t.createTextVNode("最大形变:",-1)),t.createElementVNode("span",re,t.toDisplayString(S.max),1)]),t.createElementVNode("div",null,[e[4]||(e[4]=t.createTextVNode("平均形变:",-1)),t.createElementVNode("span",ce,t.toDisplayString(S.avg),1)])])):t.createCommentVNode("",!0),t.createElementVNode("div",ie,[t.createElementVNode("div",ue,t.toDisplayString(L.value),1),t.createElementVNode("div",de,[e[6]||(e[6]=t.createElementVNode("span",null,"0",-1)),e[7]||(e[7]=t.createElementVNode("div",{class:"color-bar"},null,-1)),t.createElementVNode("span",null,t.toDisplayString(q.value),1)])])],32),t.renderSlot(a.$slots,"default",{},void 0,!0)],4))}})),Se=ae._export_sfc(he,[["__scopeId","data-v-695fe676"]]);exports.default=Se;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var X=Object.defineProperty,j=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var _=(r,o,s)=>o in r?X(r,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[o]=s,A=(r,o)=>{for(var s in o||(o={}))$.call(o,s)&&_(r,s,o[s]);if(x)for(var s of x(o))G.call(o,s)&&_(r,s,o[s]);return r},D=(r,o)=>j(r,P(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const W=require("./BaseComponent-
|
|
1
|
+
"use strict";var X=Object.defineProperty,j=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var _=(r,o,s)=>o in r?X(r,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[o]=s,A=(r,o)=>{for(var s in o||(o={}))$.call(o,s)&&_(r,s,o[s]);if(x)for(var s of x(o))G.call(o,s)&&_(r,s,o[s]);return r},D=(r,o)=>j(r,P(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const W=require("./BaseComponent-DaYX7dUF.cjs"),K=require("./index-OgmTZiO-.cjs"),R=require("./ele-lin-icon-Dke_1AmT.cjs"),Q={class:"toolbar-left"},H={class:"drawer-icons"},J=["onClick"],Z={class:"drawer-icon"},ee={class:"drawer-label"},te=["src"],le={class:"map-legend-vertical"},ae={class:"legend-scale"},ne={DEFAULT_ICON:R.DEFAULT_ICON,ACTIVE_ICON:R.ACTIVE_ICON,NAME_CN:"InSAR形变影像",NAME_EN:"InSAR Image Viewer",ORDER:21,PLATFORM:["pc","screen"]},oe={bgColor:{value:"#0b1a31",type:"color",label:"setting.bgColor"},toolbarBg:{value:"#ffffff",type:"color",label:"工具栏背景色"},toolbarFontSize:{value:13,type:"number",label:"工具栏字体大小",min:10,max:20},imageUrl:{value:"",type:"string",label:"默认影像URL"},linkChannel:{value:"satellite",type:"select",label:"联动频道",options:[{label:"遥感卫星",value:"satellite"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},se=[{name:"2025-08-12",fv:"",fvDeviceName:"",object_id:"",src:"",year:2025,issue:3},{name:"2025-07-25",fv:"",fvDeviceName:"",object_id:"",src:"",year:2025,issue:2},{name:"2025-05-30",fv:"",fvDeviceName:"",object_id:"",src:"",year:2025,issue:1}],re=["object_id","name","fv","fvDeviceName","src","year","issue"],ie=["mosaic"],ce={useAlias:!1,multiObject:!0,source:"mosaic"},de=200,ue={DEFAULT:ne,OPTIONS:oe,DATA:se,PARAMS:re,SOURCE:ie,COMMON:ce,ITEMS:de},me=e.defineComponent(D(A({},ue),{__name:"insarImageViewer",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(r){const o=r,s=[{key:"GNSS",label:"GNSS",icon:"📍"},{key:"DEEP",label:"深部位移",icon:"⚓"},{key:"RADAR",label:"雷达",icon:"📡"},{key:"SURFACE",label:"地表",icon:"📐"},{key:"CRACK",label:"裂缝",icon:"🧱"},{key:"FIRE",label:"煤自燃",icon:"🔥"},{key:"WATER",label:"降雨",icon:"💧"},{key:"GROUND",label:"地下水",icon:"🌍"},{key:"STRESS",label:"应力",icon:"📊"},{key:"VIB",label:"爆破震动",icon:"💥"},{key:"SAT",label:"遥感监测",icon:"🛸"}];class O extends W.BaseComponent{extractStyles(){var u,p,n,V,w,I,T;const t=(u=this.props.conf)==null?void 0:u.options,c=((p=t==null?void 0:t.linkChannel)==null?void 0:p.value)||"satellite",m=((n=t==null?void 0:t.customChannel)==null?void 0:n.value)||"";return{bgColor:((V=t==null?void 0:t.bgColor)==null?void 0:V.value)||"#0b1a31",toolbarBg:((w=t==null?void 0:t.toolbarBg)==null?void 0:w.value)||"#ffffff",toolbarFontSize:((I=t==null?void 0:t.toolbarFontSize)==null?void 0:I.value)||13,imageUrl:((T=t==null?void 0:t.imageUrl)==null?void 0:T.value)||"",linkChannel:c==="custom"&&m?m:c}}onLinkEvent(t){}}const v=new O(o,"insarImageViewer");v.setupLifecycle();const E=v.getStyle(),S=e.ref(null),y=e.ref(!1),d=e.reactive(new Set(s.map(l=>l.key))),i=e.reactive({dataType:"rate",year:2025,issue:3}),a=e.reactive({scale:1,posX:0,posY:0}),f=e.ref(!1),b=e.reactive({x:0,y:0}),g=e.computed(()=>i.dataType==="rate"?.04:20),z=e.computed(()=>{var l;return((l=o.conf)==null?void 0:l.data)||[]}),C=e.computed(()=>{const l=z.value.find(t=>Number(t.year)===i.year&&Number(t.issue)===i.issue);return l!=null&&l.src?l.src:E.value.imageUrl||""}),B=e.computed(()=>({backgroundColor:E.value.bgColor})),M=e.computed(()=>({transform:`translate(${a.posX}px, ${a.posY}px) scale(${a.scale})`,transformOrigin:"0 0"})),U={onWheel:l=>{l.preventDefault();const t=l.deltaY>0?.9:1.1,c=Math.max(.1,Math.min(a.scale*t,20)),m=S.value;if(!m)return;const u=m.getBoundingClientRect(),p=l.clientX-u.left,n=l.clientY-u.top;a.posX=p-(p-a.posX)*(c/a.scale),a.posY=n-(n-a.posY)*(c/a.scale),a.scale=c},onMousedown:l=>{l.button===0&&(f.value=!0,b.x=l.clientX-a.posX,b.y=l.clientY-a.posY)},onMousemove:l=>{f.value&&(a.posX=l.clientX-b.x,a.posY=l.clientY-b.y)},onMouseup:()=>{f.value=!1},onMouseleave:()=>{f.value=!1}},F=()=>{k()},k=()=>{a.scale=1,a.posX=0,a.posY=0},h=()=>{},q=()=>{k(),v.publish({dataType:i.dataType,year:i.year,issue:i.issue})},L=l=>{d.has(l)?d.delete(l):d.add(l)},Y=()=>{d.size===s.length?d.clear():s.forEach(l=>d.add(l.key))};return e.onMounted(()=>{v.init()}),e.onUnmounted(()=>{v.cleanup()}),e.watch(()=>o.conf,()=>{},{deep:!0}),(l,t)=>{const c=N.ElOption,m=N.ElSelect,u=N.ElInputNumber,p=N.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"insar-image-viewer",style:e.normalizeStyle(B.value)},[e.createElementVNode("div",{class:"map-toolbar",style:e.normalizeStyle({fontSize:e.unref(E).toolbarFontSize+"px"})},[e.createElementVNode("div",Q,[t[5]||(t[5]=e.createElementVNode("span",{class:"toolbar-icon"},"🛰️",-1)),t[6]||(t[6]=e.createElementVNode("span",{class:"toolbar-title"},"InSAR 形变影像",-1)),t[7]||(t[7]=e.createElementVNode("div",{class:"toolbar-divider"},null,-1)),t[8]||(t[8]=e.createElementVNode("span",{class:"filter-label"},"数据类型",-1)),e.createVNode(m,{modelValue:i.dataType,"onUpdate:modelValue":t[0]||(t[0]=n=>i.dataType=n),size:"small",style:{width:"100px"},onChange:h},{default:e.withCtx(()=>[e.createVNode(c,{label:"形变速率",value:"rate"}),e.createVNode(c,{label:"形变量",value:"amount"})]),_:1},8,["modelValue"]),t[9]||(t[9]=e.createElementVNode("span",{class:"filter-label"},"年度",-1)),e.createVNode(u,{modelValue:i.year,"onUpdate:modelValue":t[1]||(t[1]=n=>i.year=n),size:"small",min:2e3,max:2099,style:{width:"120px"}},null,8,["modelValue"]),t[10]||(t[10]=e.createElementVNode("span",{class:"filter-label"},"期数",-1)),e.createVNode(u,{modelValue:i.issue,"onUpdate:modelValue":t[2]||(t[2]=n=>i.issue=n),size:"small",min:1,max:99,controls:!1,style:{width:"60px"}},null,8,["modelValue"]),e.createVNode(p,{size:"small",type:"primary",onClick:q},{default:e.withCtx(()=>[...t[4]||(t[4]=[e.createTextVNode("查询",-1)])]),_:1})])],4),r.mode!=="edit"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["device-drawer",{active:y.value}])},[e.createElementVNode("div",{class:"drawer-bar",onClick:t[3]||(t[3]=n=>y.value=!y.value)},[e.createElementVNode("span",null,e.toDisplayString(y.value?"▼":"▲")+" 监测设备类型切换",1)]),e.withDirectives(e.createElementVNode("div",H,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(s,n=>e.createElementVNode("div",{key:n.key,class:e.normalizeClass(["drawer-item",{checked:d.has(n.key)}]),onClick:V=>L(n.key)},[e.createElementVNode("span",Z,e.toDisplayString(n.icon),1),e.createElementVNode("span",ee,e.toDisplayString(n.label),1)],10,J)),64)),e.createElementVNode("div",{class:e.normalizeClass(["drawer-item",{checked:d.size===s.length}]),onClick:Y},[...t[11]||(t[11]=[e.createElementVNode("span",{class:"drawer-icon"},"🔘",-1),e.createElementVNode("span",{class:"drawer-label"},"全部显示",-1)])],2)],512),[[e.vShow,y.value]])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:"map-viewer",ref_key:"viewerRef",ref:S},r.mode!=="edit"?U:{}),[e.createElementVNode("div",{class:"map-canvas",style:e.normalizeStyle(M.value)},[C.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:C.value,class:"sat-img",draggable:"false",onLoad:F},null,40,te)):e.createCommentVNode("",!0)],4),e.createElementVNode("div",le,[e.createElementVNode("div",ae,[e.createElementVNode("span",null,e.toDisplayString(g.value),1),e.createElementVNode("span",null,e.toDisplayString((g.value/2).toFixed(2)),1),t[12]||(t[12]=e.createElementVNode("span",null,"0.00",-1)),e.createElementVNode("span",null,e.toDisplayString((-g.value/2).toFixed(2)),1),e.createElementVNode("span",null,e.toDisplayString((-g.value).toFixed(2)),1)]),t[13]||(t[13]=e.createElementVNode("div",{class:"legend-bar-v"},null,-1))])],16),e.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),pe=K._export_sfc(me,[["__scopeId","data-v-0d9b7c14"]]);exports.default=pe;
|
|
@@ -18,8 +18,8 @@ import "element-plus/es/components/select/style/css";
|
|
|
18
18
|
import "element-plus/es/components/option/style/css";
|
|
19
19
|
import { defineComponent as ie, ref as A, reactive as w, computed as g, onMounted as re, onUnmounted as ce, watch as ue, openBlock as x, createElementBlock as E, normalizeStyle as I, createElementVNode as t, unref as de, createVNode as f, withCtx as B, createTextVNode as me, normalizeClass as N, toDisplayString as v, withDirectives as pe, Fragment as ve, renderList as fe, vShow as ye, createCommentVNode as X, mergeProps as be, renderSlot as ge } from "vue";
|
|
20
20
|
import "html2canvas";
|
|
21
|
-
import { B as Se } from "./BaseComponent-
|
|
22
|
-
import { _ as ke } from "./index-
|
|
21
|
+
import { B as Se } from "./BaseComponent-CEp8NJiX.js";
|
|
22
|
+
import { _ as ke } from "./index-CqVPeq0-.js";
|
|
23
23
|
import { A as Ce, D as we } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
24
24
|
const xe = { class: "toolbar-left" }, Ee = { class: "drawer-icons" }, Te = ["onClick"], _e = { class: "drawer-icon" }, Ae = { class: "drawer-label" }, Ie = ["src"], Ne = { class: "map-legend-vertical" }, Ve = { class: "legend-scale" }, Re = {
|
|
25
25
|
DEFAULT_ICON: we,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";var Ke=Object.defineProperty,We=Object.defineProperties;var Xe=Object.getOwnPropertyDescriptors;var Ae=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable;var _e=(e,i,t)=>i in e?Ke(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Oe=(e,i)=>{for(var t in i||(i={}))ye.call(i,t)&&_e(e,t,i[t]);if(Ae)for(var t of Ae(i))Je.call(i,t)&&_e(e,t,i[t]);return e},Te=(e,i)=>We(e,Xe(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("vue"),pe=require("./BaseComponent-bzb58Hhs.cjs"),G=require("./index-6QhTSPkL.cjs"),Qe=require("./titleStyle-NSnz6cUg.cjs"),De=require("./ele-lin-icon-Dke_1AmT.cjs"),ge=require("./install-Csxa7Kv7.cjs"),ei=require("./universalTransition-CIN_u2Cu.cjs"),me=require("./installCanvasRenderer-CyhM1Qpl.cjs"),ii=require("./install-C8buXQPI.cjs"),ti=require("./install-CIT6k8Ga.cjs"),ni=require("./install-CltTFs4e.cjs"),ri=require("./install-z6wShIZI.cjs"),si=require("./install-Ch5d8i37.cjs"),Ie=require("./echarts-BB8O2KSA.cjs");var ee=9e15,y=1e9,we="0123456789abcdef",se="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",oe="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",ve={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-ee,maxE:ee,crypto:!1},Re,j,N=!0,le="[DecimalError] ",X=le+"Invalid argument: ",Ue=le+"Precision limit exceeded",Ze=le+"crypto unavailable",Ve="[object Decimal]",U=Math.floor,L=Math.pow,oi=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,ui=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,li=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Be=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,x=1e7,w=7,fi=9007199254740991,ai=se.length-1,Ne=oe.length-1,h={toStringTag:Ve};h.absoluteValue=h.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),m(e)};h.ceil=function(){return m(new this.constructor(this),this.e+1,2)};h.clampedTo=h.clamp=function(e,i){var t,n=this,r=n.constructor;if(e=new r(e),i=new r(i),!e.s||!i.s)return new r(NaN);if(e.gt(i))throw Error(X+i);return t=n.cmp(e),t<0?e:n.cmp(i)>0?i:new r(n)};h.comparedTo=h.cmp=function(e){var i,t,n,r,s=this,o=s.d,u=(e=new s.constructor(e)).d,f=s.s,l=e.s;if(!o||!u)return!f||!l?NaN:f!==l?f:o===u?0:!o^f<0?1:-1;if(!o[0]||!u[0])return o[0]?f:u[0]?-l:0;if(f!==l)return f;if(s.e!==e.e)return s.e>e.e^f<0?1:-1;for(n=o.length,r=u.length,i=0,t=n<r?n:r;i<t;++i)if(o[i]!==u[i])return o[i]>u[i]^f<0?1:-1;return n===r?0:n>r^f<0?1:-1};h.cosine=h.cos=function(){var e,i,t=this,n=t.constructor;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=ci(n,je(n,t)),n.precision=e,n.rounding=i,m(j==2||j==3?t.neg():t,e,i,!0)):new n(1):new n(NaN)};h.cubeRoot=h.cbrt=function(){var e,i,t,n,r,s,o,u,f,l,a=this,c=a.constructor;if(!a.isFinite()||a.isZero())return new c(a);for(N=!1,s=a.s*L(a.s*a,1/3),!s||Math.abs(s)==1/0?(t=F(a.d),e=a.e,(s=(e-t.length+1)%3)&&(t+=s==1||s==-2?"0":"00"),s=L(t,1/3),e=U((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;;)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),F(u.d).slice(0,o)===(t=F(n.d)).slice(0,o))if(t=t.slice(o-3,o+1),t=="9999"||!r&&t=="4999"){if(!r&&(m(u,e+1,0),u.times(u).times(u).eq(a))){n=u;break}o+=4,r=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(m(n,e+1,1),i=!n.times(n).times(n).eq(a));break}return N=!0,m(n,e,c.rounding,i)};h.decimalPlaces=h.dp=function(){var e,i=this.d,t=NaN;if(i){if(e=i.length-1,t=(e-U(this.e/w))*w,e=i[e],e)for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t};h.dividedBy=h.div=function(e){return M(this,new this.constructor(e))};h.dividedToIntegerBy=h.divToInt=function(e){var i=this,t=i.constructor;return m(M(i,new t(e),0,1,1),t.precision,t.rounding)};h.equals=h.eq=function(e){return this.cmp(e)===0};h.floor=function(){return m(new this.constructor(this),this.e+1,3)};h.greaterThan=h.gt=function(e){return this.cmp(e)>0};h.greaterThanOrEqualTo=h.gte=function(e){var i=this.cmp(e);return i==1||i===0};h.hyperbolicCosine=h.cosh=function(){var e,i,t,n,r,s=this,o=s.constructor,u=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return u;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/ae(4,e)).toString()):(e=16,i="2.3283064365386962890625e-10"),s=ie(o,1,s.times(i),new o(1),!0);for(var f,l=e,a=new o(8);l--;)f=s.times(s),s=u.minus(f.times(a.minus(f.times(a))));return m(s,o.precision=t,o.rounding=n,!0)};h.hyperbolicSine=h.sinh=function(){var e,i,t,n,r=this,s=r.constructor;if(!r.isFinite()||r.isZero())return new s(r);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)r=ie(s,2,r,r,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,r=r.times(1/ae(5,e)),r=ie(s,2,r,r,!0);for(var o,u=new s(5),f=new s(16),l=new s(20);e--;)o=r.times(r),r=r.times(u.plus(o.times(f.times(o).plus(l))))}return s.precision=i,s.rounding=t,m(r,i,t,!0)};h.hyperbolicTangent=h.tanh=function(){var e,i,t=this,n=t.constructor;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)};h.inverseCosine=h.acos=function(){var e=this,i=e.constructor,t=e.abs().cmp(1),n=i.precision,r=i.rounding;return t!==-1?t===0?e.isNeg()?$(i,n,r):new i(0):new i(NaN):e.isZero()?$(i,n+4,r).times(.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))};h.inverseHyperbolicCosine=h.acosh=function(){var e,i,t=this,n=t.constructor;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)};h.inverseHyperbolicSine=h.asinh=function(){var e,i,t=this,n=t.constructor;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())};h.inverseHyperbolicTangent=h.atanh=function(){var e,i,t,n,r=this,s=r.constructor;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(.5))):new s(NaN)};h.inverseSine=h.asin=function(){var e,i,t,n,r=this,s=r.constructor;return r.isZero()?new s(r):(i=r.abs().cmp(1),t=s.precision,n=s.rounding,i!==-1?i===0?(e=$(s,t+4,n).times(.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)))};h.inverseTangent=h.atan=function(){var e,i,t,n,r,s,o,u,f,l=this,a=l.constructor,c=a.precision,d=a.rounding;if(l.isFinite()){if(l.isZero())return new a(l);if(l.abs().eq(1)&&c+4<=Ne)return o=$(a,c+4,d).times(.25),o.s=l.s,o}else{if(!l.s)return new a(NaN);if(c+4<=Ne)return o=$(a,c+4,d).times(.5),o.s=l.s,o}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));for(N=!1,i=Math.ceil(u/w),n=1,f=l.times(l),o=new a(l),r=l;e!==-1;)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--;);return t&&(o=o.times(2<<t-1)),N=!0,m(o,a.precision=c,a.rounding=d,!0)};h.isFinite=function(){return!!this.d};h.isInteger=h.isInt=function(){return!!this.d&&U(this.e/w)>this.d.length-2};h.isNaN=function(){return!this.s};h.isNegative=h.isNeg=function(){return this.s<0};h.isPositive=h.isPos=function(){return this.s>0};h.isZero=function(){return!!this.d&&this.d[0]===0};h.lessThan=h.lt=function(e){return this.cmp(e)<0};h.lessThanOrEqualTo=h.lte=function(e){return this.cmp(e)<1};h.logarithm=h.log=function(e){var i,t,n,r,s,o,u,f,l=this,a=l.constructor,c=a.precision,d=a.rounding,g=5;if(e==null)e=new a(10),i=!0;else{if(e=new a(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new a(NaN);i=e.eq(10)}if(t=l.d,l.s<0||!t||!t[0]||l.eq(1))return new a(t&&!t[0]?-1/0:l.s!=1?NaN:t?0:1/0);if(i)if(t.length>1)s=!0;else{for(r=t[0];r%10===0;)r/=10;s=r!==1}if(N=!1,u=c+g,o=K(l,u),n=i?ue(a,u+10):K(e,u),f=M(o,n,u,1),te(f.d,r=c,d))do if(u+=10,o=K(l,u),n=i?ue(a,u+10):K(e,u),f=M(o,n,u,1),!s){+F(f.d).slice(r+1,r+15)+1==1e14&&(f=m(f,c+1,0));break}while(te(f.d,r+=10,d));return N=!0,m(f,c,d)};h.minus=h.sub=function(e){var i,t,n,r,s,o,u,f,l,a,c,d,g=this,E=g.constructor;if(e=new E(e),!g.d||!e.d)return!g.s||!e.s?e=new E(NaN):g.d?e.s=-e.s:e=new E(e.d||g.s!==e.s?g:NaN),e;if(g.s!=e.s)return e.s=-e.s,g.plus(e);if(l=g.d,d=e.d,u=E.precision,f=E.rounding,!l[0]||!d[0]){if(d[0])e.s=-e.s;else if(l[0])e=new E(g);else return new E(f===3?-0:0);return N?m(e,u,f):e}if(t=U(e.e/w),a=U(g.e/w),l=l.slice(),s=a-t,s){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);i.reverse()}else{for(n=l.length,o=d.length,c=n<o,c&&(o=n),n=0;n<o;n++)if(l[n]!=d[n]){c=l[n]<d[n];break}s=0}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;for(n=d.length;n>s;){if(l[--n]<d[n]){for(r=n;r&&l[--r]===0;)l[r]=x-1;--l[r],l[n]+=x}l[n]-=d[n]}for(;l[--o]===0;)l.pop();for(;l[0]===0;l.shift())--t;return l[0]?(e.d=l,e.e=fe(l,t),N?m(e,u,f):e):new E(f===3?-0:0)};h.modulo=h.mod=function(e){var i,t=this,n=t.constructor;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))};h.naturalExponential=h.exp=function(){return Ce(this)};h.naturalLogarithm=h.ln=function(){return K(this)};h.negated=h.neg=function(){var e=new this.constructor(this);return e.s=-e.s,m(e)};h.plus=h.add=function(e){var i,t,n,r,s,o,u,f,l,a,c=this,d=c.constructor;if(e=new d(e),!c.d||!e.d)return!c.s||!e.s?e=new d(NaN):c.d||(e=new d(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,a=e.d,u=d.precision,f=d.rounding,!l[0]||!a[0])return a[0]||(e=new d(c)),N?m(e,u,f):e;if(s=U(c.e/w),n=U(e.e/w),l=l.slice(),r=s-n,r){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);t.reverse()}for(o=l.length,r=a.length,o-r<0&&(r=o,t=a,a=l,l=t),i=0;r;)i=(l[--r]=l[r]+a[r]+i)/x|0,l[r]%=x;for(i&&(l.unshift(i),++n),o=l.length;l[--o]==0;)l.pop();return e.d=l,e.e=fe(l,n),N?m(e,u,f):e};h.precision=h.sd=function(e){var i,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(X+e);return t.d?(i=He(t.d),e&&t.e+1>i&&(i=t.e+1)):i=NaN,i};h.round=function(){var e=this,i=e.constructor;return m(new i(e),e.e+1,i.rounding)};h.sine=h.sin=function(){var e,i,t=this,n=t.constructor;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=hi(n,je(n,t)),n.precision=e,n.rounding=i,m(j>2?t.neg():t,e,i,!0)):new n(NaN)};h.squareRoot=h.sqrt=function(){var e,i,t,n,r,s,o=this,u=o.d,f=o.e,l=o.s,a=o.constructor;if(l!==1||!u||!u[0])return new a(!l||l<0&&(!u||u[0])?NaN:u?o:1/0);for(N=!1,l=Math.sqrt(+o),l==0||l==1/0?(i=F(u),(i.length+f)%2==0&&(i+="0"),l=Math.sqrt(i),f=U((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;;)if(s=n,n=s.plus(M(o,s,t+2,1)).times(.5),F(s.d).slice(0,t)===(i=F(n.d)).slice(0,t))if(i=i.slice(t-3,t+1),i=="9999"||!r&&i=="4999"){if(!r&&(m(s,f+1,0),s.times(s).eq(o))){n=s;break}t+=4,r=1}else{(!+i||!+i.slice(1)&&i.charAt(0)=="5")&&(m(n,f+1,1),e=!n.times(n).eq(o));break}return N=!0,m(n,f,a.rounding,e)};h.tangent=h.tan=function(){var e,i,t=this,n=t.constructor;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(j==2||j==4?t.neg():t,e,i,!0)):new n(NaN)};h.times=h.mul=function(e){var i,t,n,r,s,o,u,f,l,a=this,c=a.constructor,d=a.d,g=(e=new c(e)).d;if(e.s*=a.s,!d||!d[0]||!g||!g[0])return new c(!e.s||d&&!d[0]&&!g||g&&!g[0]&&!d?NaN:!d||!g?e.s/0:e.s*0);for(t=U(a.e/w)+U(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);for(n=l;--n>=0;){for(i=0,r=f+n;r>n;)u=s[r]+g[n]*d[r-n-1]+i,s[r--]=u%x|0,i=u/x|0;s[r]=(s[r]+i)%x|0}for(;!s[--o];)s.pop();return i?++t:s.shift(),e.d=s,e.e=fe(s,t),N?m(e,c.precision,c.rounding):e};h.toBinary=function(e,i){return Ee(this,2,e,i)};h.toDecimalPlaces=h.toDP=function(e,i){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(V(e,0,y),i===void 0?i=n.rounding:V(i,0,8),m(t,e+t.e+1,i))};h.toExponential=function(e,i){var t,n=this,r=n.constructor;return e===void 0?t=z(n,!0):(V(e,0,y),i===void 0?i=r.rounding:V(i,0,8),n=m(new r(n),e+1,i),t=z(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+t:t};h.toFixed=function(e,i){var t,n,r=this,s=r.constructor;return e===void 0?t=z(r):(V(e,0,y),i===void 0?i=s.rounding:V(i,0,8),n=m(new s(r),e+r.e+1,i),t=z(n,!1,e+n.e+1)),r.isNeg()&&!r.isZero()?"-"+t:t};h.toFraction=function(e){var i,t,n,r,s,o,u,f,l,a,c,d,g=this,E=g.d,v=g.constructor;if(!E)return new v(g);if(l=t=new v(1),n=f=new v(0),i=new v(n),s=i.e=He(E)-g.e-1,o=s%w,i.d[0]=L(10,o<0?w+o:o),e==null)e=s>0?i:l;else{if(u=new v(e),!u.isInt()||u.lt(l))throw Error(X+u);e=u.gt(i)?s>0?i:l:u}for(N=!1,u=new v(F(E)),a=v.precision,v.precision=s=E.length*w*2;c=M(u,i,0,1,1),r=t.plus(c.times(n)),r.cmp(e)!=1;)t=n,n=r,r=l,l=f.plus(c.times(r)),f=r,r=i,i=u.minus(c.times(r)),u=r;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};h.toHexadecimal=h.toHex=function(e,i){return Ee(this,16,e,i)};h.toNearest=function(e,i){var t=this,n=t.constructor;if(t=new n(t),e==null){if(!t.d)return t;e=new n(1),i=n.rounding}else{if(e=new n(e),i===void 0?i=n.rounding:V(i,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}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};h.toNumber=function(){return+this};h.toOctal=function(e,i){return Ee(this,8,e,i)};h.toPower=h.pow=function(e){var i,t,n,r,s,o,u=this,f=u.constructor,l=+(e=new f(e));if(!u.d||!e.d||!u.d[0]||!e.d[0])return new f(L(+u,l));if(u=new f(u),u.eq(1))return u;if(n=f.precision,s=f.rounding,e.eq(1))return m(u,n,s);if(i=U(e.e/w),i>=e.d.length-1&&(t=l<0?-l:l)<=fi)return r=xe(f,u,t,n),e.s<0?new f(1).div(r):m(r,n,s);if(o=u.s,o<0){if(i<e.d.length-1)return new f(NaN);if((e.d[i]&1)==0&&(o=1),u.e==0&&u.d[0]==1&&u.d.length==1)return u.s=o,u}return t=L(+u,l),i=t==0||!isFinite(t)?U(l*(Math.log("0."+F(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=Ce(e.times(K(u,n+t)),n),r.d&&(r=m(r,n+5,1),te(r.d,n,s)&&(i=n+10,r=m(Ce(e.times(K(u,i+t)),i),i+5,1),+F(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))};h.toPrecision=function(e,i){var t,n=this,r=n.constructor;return e===void 0?t=z(n,n.e<=r.toExpNeg||n.e>=r.toExpPos):(V(e,1,y),i===void 0?i=r.rounding:V(i,0,8),n=m(new r(n),e,i),t=z(n,e<=n.e||n.e<=r.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+t:t};h.toSignificantDigits=h.toSD=function(e,i){var t=this,n=t.constructor;return e===void 0?(e=n.precision,i=n.rounding):(V(e,1,y),i===void 0?i=n.rounding:V(i,0,8)),m(new n(t),e,i)};h.toString=function(){var e=this,i=e.constructor,t=z(e,e.e<=i.toExpNeg||e.e>=i.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t};h.truncated=h.trunc=function(){return m(new this.constructor(this),this.e+1,1)};h.valueOf=h.toJSON=function(){var e=this,i=e.constructor,t=z(e,e.e<=i.toExpNeg||e.e>=i.toExpPos);return e.isNeg()?"-"+t:t};function F(e){var i,t,n,r=e.length-1,s="",o=e[0];if(r>0){for(s+=o,i=1;i<r;i++)n=e[i]+"",t=w-n.length,t&&(s+=Y(t)),s+=n;o=e[i],n=o+"",t=w-n.length,t&&(s+=Y(t))}else if(o===0)return"0";for(;o%10===0;)o/=10;return s+o}function V(e,i,t){if(e!==~~e||e<i||e>t)throw Error(X+e)}function te(e,i,t,n){var r,s,o,u;for(s=e[0];s>=10;s/=10)--i;return--i<0?(i+=w,r=0):(r=Math.ceil((i+1)/w),i%=w),s=L(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)==L(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)==L(10,i-3)-1,o}function ne(e,i,t){for(var n,r=[0],s,o=0,u=e.length;o<u;){for(s=r.length;s--;)r[s]*=i;for(r[0]+=we.indexOf(e.charAt(o++)),n=0;n<r.length;n++)r[n]>t-1&&(r[n+1]===void 0&&(r[n+1]=0),r[n+1]+=r[n]/t|0,r[n]%=t)}return r.reverse()}function ci(e,i){var t,n,r;if(i.isZero())return i;n=i.d.length,n<32?(t=Math.ceil(n/3),r=(1/ae(4,t)).toString()):(t=16,r="2.3283064365386962890625e-10"),e.precision+=t,i=ie(e,1,i.times(r),new e(1));for(var s=t;s--;){var o=i.times(i);i=o.times(o).minus(o).times(8).plus(1)}return e.precision-=t,i}var M=(function(){function e(n,r,s){var o,u=0,f=n.length;for(n=n.slice();f--;)o=n[f]*r+u,n[f]=o%s|0,u=o/s|0;return u&&n.unshift(u),n}function i(n,r,s,o){var u,f;if(s!=o)f=s>o?1:-1;else for(u=f=0;u<s;u++)if(n[u]!=r[u]){f=n[u]>r[u]?1:-1;break}return f}function t(n,r,s,o){for(var u=0;s--;)n[s]-=u,u=n[s]<r[s]?1:0,n[s]=u*o+n[s]-r[s];for(;!n[0]&&n.length>1;)n.shift()}return function(n,r,s,o,u,f){var l,a,c,d,g,E,v,P,b,Z,p,C,_,q,B,O,k,R,A,H,I=n.constructor,J=n.s==r.s?1:-1,T=n.d,S=r.d;if(!T||!T[0]||!S||!S[0])return new I(!n.s||!r.s||(T?S&&T[0]==S[0]:!S)?NaN:T&&T[0]==0||!S?J*0:J/0);for(f?(g=1,a=n.e-r.e):(f=x,g=w,a=U(n.e/g)-U(r.e/g)),A=S.length,k=T.length,b=new I(J),Z=b.d=[],c=0;S[c]==(T[c]||0);c++);if(S[c]>(T[c]||0)&&a--,s==null?(q=s=I.precision,o=I.rounding):u?q=s+(n.e-r.e)+1:q=s,q<0)Z.push(1),E=!0;else{if(q=q/g+2|0,c=0,A==1){for(d=0,S=S[0],q++;(c<k||d)&&q--;c++)B=d*f+(T[c]||0),Z[c]=B/S|0,d=B%S|0;E=d||c<k}else{for(d=f/(S[0]+1)|0,d>1&&(S=e(S,d,f),T=e(T,d,f),A=S.length,k=T.length),O=A,p=T.slice(0,A),C=p.length;C<A;)p[C++]=0;H=S.slice(),H.unshift(0),R=S[0],S[1]>=f/2&&++R;do d=0,l=i(S,p,A,C),l<0?(_=p[0],A!=C&&(_=_*f+(p[1]||0)),d=_/R|0,d>1?(d>=f&&(d=f-1),v=e(S,d,f),P=v.length,C=p.length,l=i(v,p,P,C),l==1&&(d--,t(v,A<P?H:S,P,f))):(d==0&&(l=d=1),v=S.slice()),P=v.length,P<C&&v.unshift(0),t(p,v,C,f),l==-1&&(C=p.length,l=i(S,p,A,C),l<1&&(d++,t(p,A<C?H:S,C,f))),C=p.length):l===0&&(d++,p=[0]),Z[c++]=d,l&&p[0]?p[C++]=T[O]||0:(p=[T[O]],C=1);while((O++<k||p[0]!==void 0)&&q--);E=p[0]!==void 0}Z[0]||Z.shift()}if(g==1)b.e=a,Re=E;else{for(c=1,d=Z[0];d>=10;d/=10)c++;b.e=c+a*g-1,m(b,u?s+b.e+1:s,o,E)}return b}})();function m(e,i,t,n){var r,s,o,u,f,l,a,c,d,g=e.constructor;e:if(i!=null){if(c=e.d,!c)return e;for(r=1,u=c[0];u>=10;u/=10)r++;if(s=i-r,s<0)s+=w,o=i,a=c[d=0],f=a/L(10,r-o-1)%10|0;else if(d=Math.ceil((s+1)/w),u=c.length,d>=u)if(n){for(;u++<=d;)c.push(0);a=f=0,r=1,s%=w,o=s-w+1}else break e;else{for(a=u=c[d],r=1;u>=10;u/=10)r++;s%=w,o=s-w+r,f=o<0?0:a/L(10,r-o-1)%10|0}if(n=n||i<0||c[d+1]!==void 0||(o<0?a:a%L(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&&(s>0?o>0?a/L(10,r-o):0:c[d-1])%10&1||t==(e.s<0?8:7)),i<1||!c[0])return c.length=0,l?(i-=e.e+1,c[0]=L(10,(w-i%w)%w),e.e=-i||0):c[0]=e.e=0,e;if(s==0?(c.length=d,u=1,d--):(c.length=d+1,u=L(10,w-s),c[d]=o>0?(a/L(10,r-o)%L(10,o)|0)*u:0),l)for(;;)if(d==0){for(s=1,o=c[0];o>=10;o/=10)s++;for(o=c[0]+=u,u=1;o>=10;o/=10)u++;s!=u&&(e.e++,c[0]==x&&(c[0]=1));break}else{if(c[d]+=u,c[d]!=x)break;c[d--]=0,u=1}for(s=c.length;c[--s]===0;)c.pop()}return N&&(e.e>g.maxE?(e.d=null,e.e=NaN):e.e<g.minE&&(e.e=0,e.d=[0])),e}function z(e,i,t){if(!e.isFinite())return ze(e);var n,r=e.e,s=F(e.d),o=s.length;return i?(t&&(n=t-o)>0?s=s.charAt(0)+"."+s.slice(1)+Y(n):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):r<0?(s="0."+Y(-r-1)+s,t&&(n=t-o)>0&&(s+=Y(n))):r>=o?(s+=Y(r+1-o),t&&(n=t-r-1)>0&&(s=s+"."+Y(n))):((n=r+1)<o&&(s=s.slice(0,n)+"."+s.slice(n)),t&&(n=t-o)>0&&(r+1===o&&(s+="."),s+=Y(n))),s}function fe(e,i){var t=e[0];for(i*=w;t>=10;t/=10)i++;return i}function ue(e,i,t){if(i>ai)throw N=!0,t&&(e.precision=t),Error(Ue);return m(new e(se),i,1,!0)}function $(e,i,t){if(i>Ne)throw Error(Ue);return m(new e(oe),i,t,!0)}function He(e){var i=e.length-1,t=i*w+1;if(i=e[i],i){for(;i%10==0;i/=10)t--;for(i=e[0];i>=10;i/=10)t++}return t}function Y(e){for(var i="";e--;)i+="0";return i}function xe(e,i,t,n){var r,s=new e(1),o=Math.ceil(n/w+4);for(N=!1;;){if(t%2&&(s=s.times(i),Pe(s.d,o)&&(r=!0)),t=U(t/2),t===0){t=s.d.length-1,r&&s.d[t]===0&&++s.d[t];break}i=i.times(i),Pe(i.d,o)}return N=!0,s}function Le(e){return e.d[e.d.length-1]&1}function $e(e,i,t){for(var n,r,s=new e(i[0]),o=0;++o<i.length;){if(r=new e(i[o]),!r.s){s=r;break}n=s.cmp(r),(n===t||n===0&&s.s===t)&&(s=r)}return s}function Ce(e,i){var t,n,r,s,o,u,f,l=0,a=0,c=0,d=e.constructor,g=d.rounding,E=d.precision;if(!e.d||!e.d[0]||e.e>17)return new d(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(i==null?(N=!1,f=E):f=i,u=new d(.03125);e.e>-2;)e=e.times(u),c+=5;for(n=Math.log(L(2,c))/Math.LN10*2+5|0,f+=n,t=s=o=new d(1),d.precision=f;;){if(s=m(s.times(e),f,1),t=t.times(++a),u=o.plus(M(s,t,f,1)),F(u.d).slice(0,f)===F(o.d).slice(0,f)){for(r=c;r--;)o=m(o.times(o),f,1);if(i==null)if(l<3&&te(o.d,f-n,g,l))d.precision=f+=10,t=s=u=new d(1),a=0,l++;else return m(o,d.precision=E,g,N=!0);else return d.precision=E,o}o=u}}function K(e,i){var t,n,r,s,o,u,f,l,a,c,d,g=1,E=10,v=e,P=v.d,b=v.constructor,Z=b.rounding,p=b.precision;if(v.s<0||!P||!P[0]||!v.e&&P[0]==1&&P.length==1)return new b(P&&!P[0]?-1/0:v.s!=1?NaN:P?0:v);if(i==null?(N=!1,a=p):a=i,b.precision=a+=E,t=F(P),n=t.charAt(0),Math.abs(s=v.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)v=v.times(e),t=F(v.d),n=t.charAt(0),g++;s=v.e,n>1?(v=new b("0."+t),s++):v=new b(n+"."+t.slice(1))}else return l=ue(b,a+2,p).times(s+""),v=K(new b(n+"."+t.slice(1)),a-E).plus(l),b.precision=p,i==null?m(v,p,Z,N=!0):v;for(c=v,f=o=v=M(v.minus(1),v.plus(1),a,1),d=m(v.times(v),a,1),r=3;;){if(o=m(o.times(d),a,1),l=f.plus(M(o,new b(r),a,1)),F(l.d).slice(0,a)===F(f.d).slice(0,a))if(f=f.times(2),s!==0&&(f=f.plus(ue(b,a+2,p).times(s+""))),f=M(f,new b(g),a,1),i==null)if(te(f.d,a-E,Z,u))b.precision=a+=E,l=o=v=M(c.minus(1),c.plus(1),a,1),d=m(v.times(v),a,1),r=u=1;else return m(f,b.precision=p,Z,N=!0);else return b.precision=p,f;f=l,r+=2}}function ze(e){return String(e.s*e.s/0)}function re(e,i){var t,n,r;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++);for(r=i.length;i.charCodeAt(r-1)===48;--r);if(i=i.slice(n,r),i){if(r-=n,e.e=t=t-n-1,e.d=[],n=(t+1)%w,t<0&&(n+=w),n<r){for(n&&e.d.push(+i.slice(0,n)),r-=w;n<r;)e.d.push(+i.slice(n,n+=w));i=i.slice(n),n=w-i.length}else n-=r;for(;n--;)i+="0";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]))}else e.e=0,e.d=[0];return e}function di(e,i){var t,n,r,s,o,u,f,l,a;if(i.indexOf("_")>-1){if(i=i.replace(/(\d)_(?=\d)/g,"$1"),Be.test(i))return re(e,i)}else if(i==="Infinity"||i==="NaN")return+i||(e.s=NaN),e.e=NaN,e.d=null,e;if(ui.test(i))t=16,i=i.toLowerCase();else if(oi.test(i))t=2;else if(li.test(i))t=8;else throw Error(X+i);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=xe(n,new n(t),s,s*2)),l=ne(i,t,x),a=l.length-1,s=a;l[s]===0;--s)l.pop();return s<0?new n(e.s*0):(e.e=fe(l,a),e.d=l,N=!1,o&&(e=M(e,r,u*4)),f&&(e=e.times(Math.abs(f)<54?L(2,f):W.pow(2,f))),N=!0,e)}function hi(e,i){var t,n=i.d.length;if(n<3)return i.isZero()?i:ie(e,2,i,i);t=1.4*Math.sqrt(n),t=t>16?16:t|0,i=i.times(1/ae(5,t)),i=ie(e,2,i,i);for(var r,s=new e(5),o=new e(16),u=new e(20);t--;)r=i.times(i),i=i.times(s.plus(r.times(o.times(r).minus(u))));return i}function ie(e,i,t,n,r){var s,o,u,f,l=e.precision,a=Math.ceil(l/w);for(N=!1,f=t.times(t),u=new e(n);;){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){for(s=a;o.d[s]===u.d[s]&&s--;);if(s==-1)break}s=u,u=n,n=o,o=s}return N=!0,o.d.length=a+1,o}function ae(e,i){for(var t=e;--i;)t*=e;return t}function je(e,i){var t,n=i.s<0,r=$(e,e.precision,1),s=r.times(.5);if(i=i.abs(),i.lte(s))return j=n?4:1,i;if(t=i.divToInt(r),t.isZero())j=n?3:2;else{if(i=i.minus(t.times(r)),i.lte(s))return j=Le(t)?n?2:3:n?4:1,i;j=Le(t)?n?1:4:n?3:2}return i.minus(r).abs()}function Ee(e,i,t,n){var r,s,o,u,f,l,a,c,d,g=e.constructor,E=t!==void 0;if(E?(V(t,1,y),n===void 0?n=g.rounding:V(n,0,8)):(t=g.precision,n=g.rounding),!e.isFinite())a=ze(e);else{for(a=z(e),o=a.indexOf("."),E?(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=ne(z(d),10,r),d.e=d.d.length),c=ne(a,10,r),s=f=c.length;c[--f]==0;)c.pop();if(!c[0])a=E?"0p+0":"0";else{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=Re),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)for(;++c[--t]>r-1;)c[t]=0,t||(++s,c.unshift(1));for(f=c.length;!c[f-1];--f);for(o=0,a="";o<f;o++)a+=we.charAt(c[o]);if(E){if(f>1)if(i==16||i==8){for(o=i==16?4:3,--f;f%o;f++)a+="0";for(c=ne(a,r,i),f=c.length;!c[f-1];--f);for(o=1,a="1.";o<f;o++)a+=we.charAt(c[o])}else a=a.charAt(0)+"."+a.slice(1);a=a+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)a="0"+a;a="0."+a}else if(++s>f)for(s-=f;s--;)a+="0";else s<f&&(a=a.slice(0,s)+"."+a.slice(s))}a=(i==16?"0x":i==2?"0b":i==8?"0o":"")+a}return e.s<0?"-"+a:a}function Pe(e,i){if(e.length>i)return e.length=i,!0}function pi(e){return new this(e).abs()}function gi(e){return new this(e).acos()}function mi(e){return new this(e).acosh()}function wi(e,i){return new this(e).plus(i)}function vi(e){return new this(e).asin()}function Ni(e){return new this(e).asinh()}function Ci(e){return new this(e).atan()}function Ei(e){return new this(e).atanh()}function Si(e,i){e=new this(e),i=new this(i);var t,n=this.precision,r=this.rounding,s=n+4;return!e.s||!i.s?t=new this(NaN):!e.d&&!i.d?(t=$(this,s,1).times(i.s>0?.25:.75),t.s=e.s):!i.d||e.isZero()?(t=i.s<0?$(this,n,r):new this(0),t.s=e.s):!e.d||i.isZero()?(t=$(this,s,1).times(.5),t.s=e.s):i.s<0?(this.precision=s,this.rounding=1,t=this.atan(M(e,i,s,1)),i=$(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}function ki(e){return new this(e).cbrt()}function Mi(e){return m(e=new this(e),e.e+1,2)}function bi(e,i,t){return new this(e).clamp(i,t)}function qi(e){if(!e||typeof e!="object")throw Error(le+"Object expected");var i,t,n,r=e.defaults===!0,s=["precision",1,y,"rounding",0,8,"toExpNeg",-ee,0,"toExpPos",0,ee,"maxE",0,ee,"minE",-ee,0,"modulo",0,9];for(i=0;i<s.length;i+=3)if(t=s[i],r&&(this[t]=ve[t]),(n=e[t])!==void 0)if(U(n)===n&&n>=s[i+1]&&n<=s[i+2])this[t]=n;else throw Error(X+t+": "+n);if(t="crypto",r&&(this[t]=ve[t]),(n=e[t])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(Ze);else this[t]=!1;else throw Error(X+t+": "+n);return this}function Ai(e){return new this(e).cos()}function _i(e){return new this(e).cosh()}function Ge(e){var i,t,n;function r(s){var o,u,f,l=this;if(!(l instanceof r))return new r(s);if(l.constructor=r,Fe(s)){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);return}if(f=typeof s,f==="number"){if(s===0){l.s=1/s<0?-1:1,l.e=0,l.d=[0];return}if(s<0?(s=-s,l.s=-1):l.s=1,s===~~s&&s<1e7){for(o=0,u=s;u>=10;u/=10)o++;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]);return}if(s*0!==0){s||(l.s=NaN),l.e=NaN,l.d=null;return}return re(l,s.toString())}if(f==="string")return(u=s.charCodeAt(0))===45?(s=s.slice(1),l.s=-1):(u===43&&(s=s.slice(1)),l.s=1),Be.test(s)?re(l,s):di(l,s);if(f==="bigint")return s<0?(s=-s,l.s=-1):l.s=1,re(l,s.toString());throw Error(X+s)}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=qi,r.clone=Ge,r.isDecimal=Fe,r.abs=pi,r.acos=gi,r.acosh=mi,r.add=wi,r.asin=vi,r.asinh=Ni,r.atan=Ci,r.atanh=Ei,r.atan2=Si,r.cbrt=ki,r.ceil=Mi,r.clamp=bi,r.cos=Ai,r.cosh=_i,r.div=Oi,r.exp=Ti,r.floor=Di,r.hypot=Ii,r.ln=Li,r.log=Pi,r.log10=Ri,r.log2=Fi,r.max=Ui,r.min=Zi,r.mod=Vi,r.mul=Bi,r.pow=Hi,r.random=xi,r.round=$i,r.sign=zi,r.sin=ji,r.sinh=Gi,r.sqrt=Yi,r.sub=Ki,r.sum=Wi,r.tan=Xi,r.tanh=yi,r.trunc=Ji,e===void 0&&(e={}),e&&e.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],i=0;i<n.length;)e.hasOwnProperty(t=n[i++])||(e[t]=this[t]);return r.config(e),r}function Oi(e,i){return new this(e).div(i)}function Ti(e){return new this(e).exp()}function Di(e){return m(e=new this(e),e.e+1,3)}function Ii(){var e,i,t=new this(0);for(N=!1,e=0;e<arguments.length;)if(i=new this(arguments[e++]),i.d)t.d&&(t=t.plus(i.times(i)));else{if(i.s)return N=!0,new this(1/0);t=i}return N=!0,t.sqrt()}function Fe(e){return e instanceof W||e&&e.toStringTag===Ve||!1}function Li(e){return new this(e).ln()}function Pi(e,i){return new this(e).log(i)}function Fi(e){return new this(e).log(2)}function Ri(e){return new this(e).log(10)}function Ui(){return $e(this,arguments,-1)}function Zi(){return $e(this,arguments,1)}function Vi(e,i){return new this(e).mod(i)}function Bi(e,i){return new this(e).mul(i)}function Hi(e,i){return new this(e).pow(i)}function xi(e){var i,t,n,r,s=0,o=new this(1),u=[];if(e===void 0?e=this.precision:V(e,1,y),n=Math.ceil(e/w),this.crypto)if(crypto.getRandomValues)for(i=crypto.getRandomValues(new Uint32Array(n));s<n;)r=i[s],r>=429e7?i[s]=crypto.getRandomValues(new Uint32Array(1))[0]:u[s++]=r%1e7;else if(crypto.randomBytes){for(i=crypto.randomBytes(n*=4);s<n;)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);s=n/4}else throw Error(Ze);else for(;s<n;)u[s++]=Math.random()*1e7|0;for(n=u[--s],e%=w,n&&e&&(r=L(10,w-e),u[s]=(n/r|0)*r);u[s]===0;s--)u.pop();if(s<0)t=0,u=[0];else{for(t=-1;u[0]===0;t-=w)u.shift();for(n=1,r=u[0];r>=10;r/=10)n++;n<w&&(t-=w-n)}return o.e=t,o.d=u,o}function $i(e){return m(e=new this(e),e.e+1,this.rounding)}function zi(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function ji(e){return new this(e).sin()}function Gi(e){return new this(e).sinh()}function Yi(e){return new this(e).sqrt()}function Ki(e,i){return new this(e).sub(i)}function Wi(){var e=0,i=arguments,t=new this(i[e]);for(N=!1;t.s&&++e<i.length;)t=t.plus(i[e]);return N=!0,m(t,this.precision,this.rounding)}function Xi(e){return new this(e).tan()}function yi(e){return new this(e).tanh()}function Ji(e){return m(e=new this(e),e.e+1,1)}h[Symbol.for("nodejs.util.inspect.custom")]=h.toString;h[Symbol.toStringTag]="Decimal";var W=h.constructor=Ge(ve);se=new W(se);oe=new W(oe);const Qi={DEFAULT_ICON:De.DEFAULT_ICON,ACTIVE_ICON:De.ACTIVE_ICON,NAME_CN:"K线图",NAME_EN:"Candlestick",ORDER:3,PLATFORM:["pc","screen","mobile"]},et={titleColor:"#111",bgColor:"#fff",textColor:"#111",upColor:"#c23531",downColor:"#314656",barColor:"#314656",radiusSize:8,textSize:12,top:30,bottom:40,left:40,right:30,points:100,isSmooth:!1,isHideTitle:!1},Ye=[{name:"参数一",项目编号:"",object_id:""}],it=["name","项目编号","object_id","source"],tt=["index","increment","balance","risk"],nt=1,rt={useAlias:!1,null:{type:"0",value:""},source:"index"},st={DEFAULT:Qi,OPTIONS:et,DATA:Ye,PARAMS:it,SOURCE:tt,ITEMS:nt,COMMON:rt},ot=D.defineComponent(Te(Oe({},st),{__name:"kds",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(e){me.use([ge.install$1,me.install,ii.install,ti.install,ni.install,ge.install$2,ri.install,ge.install,si.install,me.install$1,ei.installUniversalTransition]);const i=D.ref(D.inject("session",null)),{proxy:t}=D.getCurrentInstance(),n="kds_"+Math.random().toString(16).substring(4,12);let r=null,s=null;const o=e;let u={data:[],dates:[],volumes:[]};class f extends pe.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),upColor:this.getOptionValue("upColor","#c23531"),downColor:this.getOptionValue("downColor","#314656"),barColor:this.getOptionValue("barColor","#314656"),radiusSize:this.getOptionValue("radiusSize",4),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),points:this.getOptionValue("points",100)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:Ye,D.nextTick(()=>{let C=document.querySelector("#"+n);E({num:a.value.points,max:200,min:0,mode:o.mode}),C&&(r||(r=Ie.init(C),s=G.elementResizeDetectorMaker({strategy:"scroll"}),s.listenTo(C,()=>r==null?void 0:r.resize())),r.setOption(d(),!0))})}onPreview(){b.preview()}cleanup(){s&&s.uninstall(document.querySelector("#"+n)),r&&r.clear(),r&&Ie.dispose(r),r=null,b.unregister()}}const l=new f(o,"kds");l.setupLifecycle();const a=l.getStyle(),c=D.computed(()=>Qe.generateTitleStyle(o.conf.options)),d=()=>{var C,_,q,B,O,k,R,A,H,I,J,T,S,Q,Se,ke,Me,be,qe;const{conf:p}=o;return{animation:!1,color:[a.value.upColor,a.value.downColor],tooltip:{textStyle:{fontSize:12,color:a.value.textColor},position:function(ce,lt,ft,at,de){const he={top:10};return de.viewSize[0]-ce[0]<=de.contentSize[0]+20?he.right=de.viewSize[0]-ce[0]+30:he.left=ce[0]+30,he}},axisPointer:{link:[{xAxisIndex:[0,1]}]},dataZoom:[{type:"slider",xAxisIndex:[0,1],height:12,bottom:12},{type:"inside",xAxisIndex:[0,1],height:12,bottom:12}],xAxis:[{type:"category",data:u.dates,boundaryGap:!0,axisPointer:{show:!0},axisLabel:{color:a.value.textColor}},{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}}}],yAxis:[{scale:!0,splitNumber:2,axisLine:{lineStyle:{color:a.value.textColor}},axisLabel:{formatter:`{value}
|
|
1
|
+
"use strict";var Ke=Object.defineProperty,We=Object.defineProperties;var Xe=Object.getOwnPropertyDescriptors;var Ae=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable;var _e=(e,i,t)=>i in e?Ke(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Oe=(e,i)=>{for(var t in i||(i={}))ye.call(i,t)&&_e(e,t,i[t]);if(Ae)for(var t of Ae(i))Je.call(i,t)&&_e(e,t,i[t]);return e},Te=(e,i)=>We(e,Xe(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("vue"),pe=require("./BaseComponent-DaYX7dUF.cjs"),G=require("./index-OgmTZiO-.cjs"),Qe=require("./titleStyle-NSnz6cUg.cjs"),De=require("./ele-lin-icon-Dke_1AmT.cjs"),ge=require("./install-Csxa7Kv7.cjs"),ei=require("./universalTransition-CIN_u2Cu.cjs"),me=require("./installCanvasRenderer-CyhM1Qpl.cjs"),ii=require("./install-C8buXQPI.cjs"),ti=require("./install-CIT6k8Ga.cjs"),ni=require("./install-CltTFs4e.cjs"),ri=require("./install-z6wShIZI.cjs"),si=require("./install-Ch5d8i37.cjs"),Ie=require("./echarts-BB8O2KSA.cjs");var ee=9e15,y=1e9,we="0123456789abcdef",se="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",oe="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",ve={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-ee,maxE:ee,crypto:!1},Re,j,N=!0,le="[DecimalError] ",X=le+"Invalid argument: ",Ue=le+"Precision limit exceeded",Ze=le+"crypto unavailable",Ve="[object Decimal]",U=Math.floor,L=Math.pow,oi=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,ui=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,li=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Be=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,x=1e7,w=7,fi=9007199254740991,ai=se.length-1,Ne=oe.length-1,h={toStringTag:Ve};h.absoluteValue=h.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),m(e)};h.ceil=function(){return m(new this.constructor(this),this.e+1,2)};h.clampedTo=h.clamp=function(e,i){var t,n=this,r=n.constructor;if(e=new r(e),i=new r(i),!e.s||!i.s)return new r(NaN);if(e.gt(i))throw Error(X+i);return t=n.cmp(e),t<0?e:n.cmp(i)>0?i:new r(n)};h.comparedTo=h.cmp=function(e){var i,t,n,r,s=this,o=s.d,u=(e=new s.constructor(e)).d,f=s.s,l=e.s;if(!o||!u)return!f||!l?NaN:f!==l?f:o===u?0:!o^f<0?1:-1;if(!o[0]||!u[0])return o[0]?f:u[0]?-l:0;if(f!==l)return f;if(s.e!==e.e)return s.e>e.e^f<0?1:-1;for(n=o.length,r=u.length,i=0,t=n<r?n:r;i<t;++i)if(o[i]!==u[i])return o[i]>u[i]^f<0?1:-1;return n===r?0:n>r^f<0?1:-1};h.cosine=h.cos=function(){var e,i,t=this,n=t.constructor;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=ci(n,je(n,t)),n.precision=e,n.rounding=i,m(j==2||j==3?t.neg():t,e,i,!0)):new n(1):new n(NaN)};h.cubeRoot=h.cbrt=function(){var e,i,t,n,r,s,o,u,f,l,a=this,c=a.constructor;if(!a.isFinite()||a.isZero())return new c(a);for(N=!1,s=a.s*L(a.s*a,1/3),!s||Math.abs(s)==1/0?(t=F(a.d),e=a.e,(s=(e-t.length+1)%3)&&(t+=s==1||s==-2?"0":"00"),s=L(t,1/3),e=U((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;;)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),F(u.d).slice(0,o)===(t=F(n.d)).slice(0,o))if(t=t.slice(o-3,o+1),t=="9999"||!r&&t=="4999"){if(!r&&(m(u,e+1,0),u.times(u).times(u).eq(a))){n=u;break}o+=4,r=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(m(n,e+1,1),i=!n.times(n).times(n).eq(a));break}return N=!0,m(n,e,c.rounding,i)};h.decimalPlaces=h.dp=function(){var e,i=this.d,t=NaN;if(i){if(e=i.length-1,t=(e-U(this.e/w))*w,e=i[e],e)for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t};h.dividedBy=h.div=function(e){return M(this,new this.constructor(e))};h.dividedToIntegerBy=h.divToInt=function(e){var i=this,t=i.constructor;return m(M(i,new t(e),0,1,1),t.precision,t.rounding)};h.equals=h.eq=function(e){return this.cmp(e)===0};h.floor=function(){return m(new this.constructor(this),this.e+1,3)};h.greaterThan=h.gt=function(e){return this.cmp(e)>0};h.greaterThanOrEqualTo=h.gte=function(e){var i=this.cmp(e);return i==1||i===0};h.hyperbolicCosine=h.cosh=function(){var e,i,t,n,r,s=this,o=s.constructor,u=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return u;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/ae(4,e)).toString()):(e=16,i="2.3283064365386962890625e-10"),s=ie(o,1,s.times(i),new o(1),!0);for(var f,l=e,a=new o(8);l--;)f=s.times(s),s=u.minus(f.times(a.minus(f.times(a))));return m(s,o.precision=t,o.rounding=n,!0)};h.hyperbolicSine=h.sinh=function(){var e,i,t,n,r=this,s=r.constructor;if(!r.isFinite()||r.isZero())return new s(r);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)r=ie(s,2,r,r,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,r=r.times(1/ae(5,e)),r=ie(s,2,r,r,!0);for(var o,u=new s(5),f=new s(16),l=new s(20);e--;)o=r.times(r),r=r.times(u.plus(o.times(f.times(o).plus(l))))}return s.precision=i,s.rounding=t,m(r,i,t,!0)};h.hyperbolicTangent=h.tanh=function(){var e,i,t=this,n=t.constructor;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)};h.inverseCosine=h.acos=function(){var e=this,i=e.constructor,t=e.abs().cmp(1),n=i.precision,r=i.rounding;return t!==-1?t===0?e.isNeg()?$(i,n,r):new i(0):new i(NaN):e.isZero()?$(i,n+4,r).times(.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))};h.inverseHyperbolicCosine=h.acosh=function(){var e,i,t=this,n=t.constructor;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)};h.inverseHyperbolicSine=h.asinh=function(){var e,i,t=this,n=t.constructor;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())};h.inverseHyperbolicTangent=h.atanh=function(){var e,i,t,n,r=this,s=r.constructor;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(.5))):new s(NaN)};h.inverseSine=h.asin=function(){var e,i,t,n,r=this,s=r.constructor;return r.isZero()?new s(r):(i=r.abs().cmp(1),t=s.precision,n=s.rounding,i!==-1?i===0?(e=$(s,t+4,n).times(.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)))};h.inverseTangent=h.atan=function(){var e,i,t,n,r,s,o,u,f,l=this,a=l.constructor,c=a.precision,d=a.rounding;if(l.isFinite()){if(l.isZero())return new a(l);if(l.abs().eq(1)&&c+4<=Ne)return o=$(a,c+4,d).times(.25),o.s=l.s,o}else{if(!l.s)return new a(NaN);if(c+4<=Ne)return o=$(a,c+4,d).times(.5),o.s=l.s,o}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));for(N=!1,i=Math.ceil(u/w),n=1,f=l.times(l),o=new a(l),r=l;e!==-1;)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--;);return t&&(o=o.times(2<<t-1)),N=!0,m(o,a.precision=c,a.rounding=d,!0)};h.isFinite=function(){return!!this.d};h.isInteger=h.isInt=function(){return!!this.d&&U(this.e/w)>this.d.length-2};h.isNaN=function(){return!this.s};h.isNegative=h.isNeg=function(){return this.s<0};h.isPositive=h.isPos=function(){return this.s>0};h.isZero=function(){return!!this.d&&this.d[0]===0};h.lessThan=h.lt=function(e){return this.cmp(e)<0};h.lessThanOrEqualTo=h.lte=function(e){return this.cmp(e)<1};h.logarithm=h.log=function(e){var i,t,n,r,s,o,u,f,l=this,a=l.constructor,c=a.precision,d=a.rounding,g=5;if(e==null)e=new a(10),i=!0;else{if(e=new a(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new a(NaN);i=e.eq(10)}if(t=l.d,l.s<0||!t||!t[0]||l.eq(1))return new a(t&&!t[0]?-1/0:l.s!=1?NaN:t?0:1/0);if(i)if(t.length>1)s=!0;else{for(r=t[0];r%10===0;)r/=10;s=r!==1}if(N=!1,u=c+g,o=K(l,u),n=i?ue(a,u+10):K(e,u),f=M(o,n,u,1),te(f.d,r=c,d))do if(u+=10,o=K(l,u),n=i?ue(a,u+10):K(e,u),f=M(o,n,u,1),!s){+F(f.d).slice(r+1,r+15)+1==1e14&&(f=m(f,c+1,0));break}while(te(f.d,r+=10,d));return N=!0,m(f,c,d)};h.minus=h.sub=function(e){var i,t,n,r,s,o,u,f,l,a,c,d,g=this,E=g.constructor;if(e=new E(e),!g.d||!e.d)return!g.s||!e.s?e=new E(NaN):g.d?e.s=-e.s:e=new E(e.d||g.s!==e.s?g:NaN),e;if(g.s!=e.s)return e.s=-e.s,g.plus(e);if(l=g.d,d=e.d,u=E.precision,f=E.rounding,!l[0]||!d[0]){if(d[0])e.s=-e.s;else if(l[0])e=new E(g);else return new E(f===3?-0:0);return N?m(e,u,f):e}if(t=U(e.e/w),a=U(g.e/w),l=l.slice(),s=a-t,s){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);i.reverse()}else{for(n=l.length,o=d.length,c=n<o,c&&(o=n),n=0;n<o;n++)if(l[n]!=d[n]){c=l[n]<d[n];break}s=0}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;for(n=d.length;n>s;){if(l[--n]<d[n]){for(r=n;r&&l[--r]===0;)l[r]=x-1;--l[r],l[n]+=x}l[n]-=d[n]}for(;l[--o]===0;)l.pop();for(;l[0]===0;l.shift())--t;return l[0]?(e.d=l,e.e=fe(l,t),N?m(e,u,f):e):new E(f===3?-0:0)};h.modulo=h.mod=function(e){var i,t=this,n=t.constructor;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))};h.naturalExponential=h.exp=function(){return Ce(this)};h.naturalLogarithm=h.ln=function(){return K(this)};h.negated=h.neg=function(){var e=new this.constructor(this);return e.s=-e.s,m(e)};h.plus=h.add=function(e){var i,t,n,r,s,o,u,f,l,a,c=this,d=c.constructor;if(e=new d(e),!c.d||!e.d)return!c.s||!e.s?e=new d(NaN):c.d||(e=new d(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,a=e.d,u=d.precision,f=d.rounding,!l[0]||!a[0])return a[0]||(e=new d(c)),N?m(e,u,f):e;if(s=U(c.e/w),n=U(e.e/w),l=l.slice(),r=s-n,r){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);t.reverse()}for(o=l.length,r=a.length,o-r<0&&(r=o,t=a,a=l,l=t),i=0;r;)i=(l[--r]=l[r]+a[r]+i)/x|0,l[r]%=x;for(i&&(l.unshift(i),++n),o=l.length;l[--o]==0;)l.pop();return e.d=l,e.e=fe(l,n),N?m(e,u,f):e};h.precision=h.sd=function(e){var i,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(X+e);return t.d?(i=He(t.d),e&&t.e+1>i&&(i=t.e+1)):i=NaN,i};h.round=function(){var e=this,i=e.constructor;return m(new i(e),e.e+1,i.rounding)};h.sine=h.sin=function(){var e,i,t=this,n=t.constructor;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=hi(n,je(n,t)),n.precision=e,n.rounding=i,m(j>2?t.neg():t,e,i,!0)):new n(NaN)};h.squareRoot=h.sqrt=function(){var e,i,t,n,r,s,o=this,u=o.d,f=o.e,l=o.s,a=o.constructor;if(l!==1||!u||!u[0])return new a(!l||l<0&&(!u||u[0])?NaN:u?o:1/0);for(N=!1,l=Math.sqrt(+o),l==0||l==1/0?(i=F(u),(i.length+f)%2==0&&(i+="0"),l=Math.sqrt(i),f=U((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;;)if(s=n,n=s.plus(M(o,s,t+2,1)).times(.5),F(s.d).slice(0,t)===(i=F(n.d)).slice(0,t))if(i=i.slice(t-3,t+1),i=="9999"||!r&&i=="4999"){if(!r&&(m(s,f+1,0),s.times(s).eq(o))){n=s;break}t+=4,r=1}else{(!+i||!+i.slice(1)&&i.charAt(0)=="5")&&(m(n,f+1,1),e=!n.times(n).eq(o));break}return N=!0,m(n,f,a.rounding,e)};h.tangent=h.tan=function(){var e,i,t=this,n=t.constructor;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(j==2||j==4?t.neg():t,e,i,!0)):new n(NaN)};h.times=h.mul=function(e){var i,t,n,r,s,o,u,f,l,a=this,c=a.constructor,d=a.d,g=(e=new c(e)).d;if(e.s*=a.s,!d||!d[0]||!g||!g[0])return new c(!e.s||d&&!d[0]&&!g||g&&!g[0]&&!d?NaN:!d||!g?e.s/0:e.s*0);for(t=U(a.e/w)+U(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);for(n=l;--n>=0;){for(i=0,r=f+n;r>n;)u=s[r]+g[n]*d[r-n-1]+i,s[r--]=u%x|0,i=u/x|0;s[r]=(s[r]+i)%x|0}for(;!s[--o];)s.pop();return i?++t:s.shift(),e.d=s,e.e=fe(s,t),N?m(e,c.precision,c.rounding):e};h.toBinary=function(e,i){return Ee(this,2,e,i)};h.toDecimalPlaces=h.toDP=function(e,i){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(V(e,0,y),i===void 0?i=n.rounding:V(i,0,8),m(t,e+t.e+1,i))};h.toExponential=function(e,i){var t,n=this,r=n.constructor;return e===void 0?t=z(n,!0):(V(e,0,y),i===void 0?i=r.rounding:V(i,0,8),n=m(new r(n),e+1,i),t=z(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+t:t};h.toFixed=function(e,i){var t,n,r=this,s=r.constructor;return e===void 0?t=z(r):(V(e,0,y),i===void 0?i=s.rounding:V(i,0,8),n=m(new s(r),e+r.e+1,i),t=z(n,!1,e+n.e+1)),r.isNeg()&&!r.isZero()?"-"+t:t};h.toFraction=function(e){var i,t,n,r,s,o,u,f,l,a,c,d,g=this,E=g.d,v=g.constructor;if(!E)return new v(g);if(l=t=new v(1),n=f=new v(0),i=new v(n),s=i.e=He(E)-g.e-1,o=s%w,i.d[0]=L(10,o<0?w+o:o),e==null)e=s>0?i:l;else{if(u=new v(e),!u.isInt()||u.lt(l))throw Error(X+u);e=u.gt(i)?s>0?i:l:u}for(N=!1,u=new v(F(E)),a=v.precision,v.precision=s=E.length*w*2;c=M(u,i,0,1,1),r=t.plus(c.times(n)),r.cmp(e)!=1;)t=n,n=r,r=l,l=f.plus(c.times(r)),f=r,r=i,i=u.minus(c.times(r)),u=r;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};h.toHexadecimal=h.toHex=function(e,i){return Ee(this,16,e,i)};h.toNearest=function(e,i){var t=this,n=t.constructor;if(t=new n(t),e==null){if(!t.d)return t;e=new n(1),i=n.rounding}else{if(e=new n(e),i===void 0?i=n.rounding:V(i,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}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};h.toNumber=function(){return+this};h.toOctal=function(e,i){return Ee(this,8,e,i)};h.toPower=h.pow=function(e){var i,t,n,r,s,o,u=this,f=u.constructor,l=+(e=new f(e));if(!u.d||!e.d||!u.d[0]||!e.d[0])return new f(L(+u,l));if(u=new f(u),u.eq(1))return u;if(n=f.precision,s=f.rounding,e.eq(1))return m(u,n,s);if(i=U(e.e/w),i>=e.d.length-1&&(t=l<0?-l:l)<=fi)return r=xe(f,u,t,n),e.s<0?new f(1).div(r):m(r,n,s);if(o=u.s,o<0){if(i<e.d.length-1)return new f(NaN);if((e.d[i]&1)==0&&(o=1),u.e==0&&u.d[0]==1&&u.d.length==1)return u.s=o,u}return t=L(+u,l),i=t==0||!isFinite(t)?U(l*(Math.log("0."+F(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=Ce(e.times(K(u,n+t)),n),r.d&&(r=m(r,n+5,1),te(r.d,n,s)&&(i=n+10,r=m(Ce(e.times(K(u,i+t)),i),i+5,1),+F(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))};h.toPrecision=function(e,i){var t,n=this,r=n.constructor;return e===void 0?t=z(n,n.e<=r.toExpNeg||n.e>=r.toExpPos):(V(e,1,y),i===void 0?i=r.rounding:V(i,0,8),n=m(new r(n),e,i),t=z(n,e<=n.e||n.e<=r.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+t:t};h.toSignificantDigits=h.toSD=function(e,i){var t=this,n=t.constructor;return e===void 0?(e=n.precision,i=n.rounding):(V(e,1,y),i===void 0?i=n.rounding:V(i,0,8)),m(new n(t),e,i)};h.toString=function(){var e=this,i=e.constructor,t=z(e,e.e<=i.toExpNeg||e.e>=i.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t};h.truncated=h.trunc=function(){return m(new this.constructor(this),this.e+1,1)};h.valueOf=h.toJSON=function(){var e=this,i=e.constructor,t=z(e,e.e<=i.toExpNeg||e.e>=i.toExpPos);return e.isNeg()?"-"+t:t};function F(e){var i,t,n,r=e.length-1,s="",o=e[0];if(r>0){for(s+=o,i=1;i<r;i++)n=e[i]+"",t=w-n.length,t&&(s+=Y(t)),s+=n;o=e[i],n=o+"",t=w-n.length,t&&(s+=Y(t))}else if(o===0)return"0";for(;o%10===0;)o/=10;return s+o}function V(e,i,t){if(e!==~~e||e<i||e>t)throw Error(X+e)}function te(e,i,t,n){var r,s,o,u;for(s=e[0];s>=10;s/=10)--i;return--i<0?(i+=w,r=0):(r=Math.ceil((i+1)/w),i%=w),s=L(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)==L(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)==L(10,i-3)-1,o}function ne(e,i,t){for(var n,r=[0],s,o=0,u=e.length;o<u;){for(s=r.length;s--;)r[s]*=i;for(r[0]+=we.indexOf(e.charAt(o++)),n=0;n<r.length;n++)r[n]>t-1&&(r[n+1]===void 0&&(r[n+1]=0),r[n+1]+=r[n]/t|0,r[n]%=t)}return r.reverse()}function ci(e,i){var t,n,r;if(i.isZero())return i;n=i.d.length,n<32?(t=Math.ceil(n/3),r=(1/ae(4,t)).toString()):(t=16,r="2.3283064365386962890625e-10"),e.precision+=t,i=ie(e,1,i.times(r),new e(1));for(var s=t;s--;){var o=i.times(i);i=o.times(o).minus(o).times(8).plus(1)}return e.precision-=t,i}var M=(function(){function e(n,r,s){var o,u=0,f=n.length;for(n=n.slice();f--;)o=n[f]*r+u,n[f]=o%s|0,u=o/s|0;return u&&n.unshift(u),n}function i(n,r,s,o){var u,f;if(s!=o)f=s>o?1:-1;else for(u=f=0;u<s;u++)if(n[u]!=r[u]){f=n[u]>r[u]?1:-1;break}return f}function t(n,r,s,o){for(var u=0;s--;)n[s]-=u,u=n[s]<r[s]?1:0,n[s]=u*o+n[s]-r[s];for(;!n[0]&&n.length>1;)n.shift()}return function(n,r,s,o,u,f){var l,a,c,d,g,E,v,P,b,Z,p,C,_,q,B,O,k,R,A,H,I=n.constructor,J=n.s==r.s?1:-1,T=n.d,S=r.d;if(!T||!T[0]||!S||!S[0])return new I(!n.s||!r.s||(T?S&&T[0]==S[0]:!S)?NaN:T&&T[0]==0||!S?J*0:J/0);for(f?(g=1,a=n.e-r.e):(f=x,g=w,a=U(n.e/g)-U(r.e/g)),A=S.length,k=T.length,b=new I(J),Z=b.d=[],c=0;S[c]==(T[c]||0);c++);if(S[c]>(T[c]||0)&&a--,s==null?(q=s=I.precision,o=I.rounding):u?q=s+(n.e-r.e)+1:q=s,q<0)Z.push(1),E=!0;else{if(q=q/g+2|0,c=0,A==1){for(d=0,S=S[0],q++;(c<k||d)&&q--;c++)B=d*f+(T[c]||0),Z[c]=B/S|0,d=B%S|0;E=d||c<k}else{for(d=f/(S[0]+1)|0,d>1&&(S=e(S,d,f),T=e(T,d,f),A=S.length,k=T.length),O=A,p=T.slice(0,A),C=p.length;C<A;)p[C++]=0;H=S.slice(),H.unshift(0),R=S[0],S[1]>=f/2&&++R;do d=0,l=i(S,p,A,C),l<0?(_=p[0],A!=C&&(_=_*f+(p[1]||0)),d=_/R|0,d>1?(d>=f&&(d=f-1),v=e(S,d,f),P=v.length,C=p.length,l=i(v,p,P,C),l==1&&(d--,t(v,A<P?H:S,P,f))):(d==0&&(l=d=1),v=S.slice()),P=v.length,P<C&&v.unshift(0),t(p,v,C,f),l==-1&&(C=p.length,l=i(S,p,A,C),l<1&&(d++,t(p,A<C?H:S,C,f))),C=p.length):l===0&&(d++,p=[0]),Z[c++]=d,l&&p[0]?p[C++]=T[O]||0:(p=[T[O]],C=1);while((O++<k||p[0]!==void 0)&&q--);E=p[0]!==void 0}Z[0]||Z.shift()}if(g==1)b.e=a,Re=E;else{for(c=1,d=Z[0];d>=10;d/=10)c++;b.e=c+a*g-1,m(b,u?s+b.e+1:s,o,E)}return b}})();function m(e,i,t,n){var r,s,o,u,f,l,a,c,d,g=e.constructor;e:if(i!=null){if(c=e.d,!c)return e;for(r=1,u=c[0];u>=10;u/=10)r++;if(s=i-r,s<0)s+=w,o=i,a=c[d=0],f=a/L(10,r-o-1)%10|0;else if(d=Math.ceil((s+1)/w),u=c.length,d>=u)if(n){for(;u++<=d;)c.push(0);a=f=0,r=1,s%=w,o=s-w+1}else break e;else{for(a=u=c[d],r=1;u>=10;u/=10)r++;s%=w,o=s-w+r,f=o<0?0:a/L(10,r-o-1)%10|0}if(n=n||i<0||c[d+1]!==void 0||(o<0?a:a%L(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&&(s>0?o>0?a/L(10,r-o):0:c[d-1])%10&1||t==(e.s<0?8:7)),i<1||!c[0])return c.length=0,l?(i-=e.e+1,c[0]=L(10,(w-i%w)%w),e.e=-i||0):c[0]=e.e=0,e;if(s==0?(c.length=d,u=1,d--):(c.length=d+1,u=L(10,w-s),c[d]=o>0?(a/L(10,r-o)%L(10,o)|0)*u:0),l)for(;;)if(d==0){for(s=1,o=c[0];o>=10;o/=10)s++;for(o=c[0]+=u,u=1;o>=10;o/=10)u++;s!=u&&(e.e++,c[0]==x&&(c[0]=1));break}else{if(c[d]+=u,c[d]!=x)break;c[d--]=0,u=1}for(s=c.length;c[--s]===0;)c.pop()}return N&&(e.e>g.maxE?(e.d=null,e.e=NaN):e.e<g.minE&&(e.e=0,e.d=[0])),e}function z(e,i,t){if(!e.isFinite())return ze(e);var n,r=e.e,s=F(e.d),o=s.length;return i?(t&&(n=t-o)>0?s=s.charAt(0)+"."+s.slice(1)+Y(n):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):r<0?(s="0."+Y(-r-1)+s,t&&(n=t-o)>0&&(s+=Y(n))):r>=o?(s+=Y(r+1-o),t&&(n=t-r-1)>0&&(s=s+"."+Y(n))):((n=r+1)<o&&(s=s.slice(0,n)+"."+s.slice(n)),t&&(n=t-o)>0&&(r+1===o&&(s+="."),s+=Y(n))),s}function fe(e,i){var t=e[0];for(i*=w;t>=10;t/=10)i++;return i}function ue(e,i,t){if(i>ai)throw N=!0,t&&(e.precision=t),Error(Ue);return m(new e(se),i,1,!0)}function $(e,i,t){if(i>Ne)throw Error(Ue);return m(new e(oe),i,t,!0)}function He(e){var i=e.length-1,t=i*w+1;if(i=e[i],i){for(;i%10==0;i/=10)t--;for(i=e[0];i>=10;i/=10)t++}return t}function Y(e){for(var i="";e--;)i+="0";return i}function xe(e,i,t,n){var r,s=new e(1),o=Math.ceil(n/w+4);for(N=!1;;){if(t%2&&(s=s.times(i),Pe(s.d,o)&&(r=!0)),t=U(t/2),t===0){t=s.d.length-1,r&&s.d[t]===0&&++s.d[t];break}i=i.times(i),Pe(i.d,o)}return N=!0,s}function Le(e){return e.d[e.d.length-1]&1}function $e(e,i,t){for(var n,r,s=new e(i[0]),o=0;++o<i.length;){if(r=new e(i[o]),!r.s){s=r;break}n=s.cmp(r),(n===t||n===0&&s.s===t)&&(s=r)}return s}function Ce(e,i){var t,n,r,s,o,u,f,l=0,a=0,c=0,d=e.constructor,g=d.rounding,E=d.precision;if(!e.d||!e.d[0]||e.e>17)return new d(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(i==null?(N=!1,f=E):f=i,u=new d(.03125);e.e>-2;)e=e.times(u),c+=5;for(n=Math.log(L(2,c))/Math.LN10*2+5|0,f+=n,t=s=o=new d(1),d.precision=f;;){if(s=m(s.times(e),f,1),t=t.times(++a),u=o.plus(M(s,t,f,1)),F(u.d).slice(0,f)===F(o.d).slice(0,f)){for(r=c;r--;)o=m(o.times(o),f,1);if(i==null)if(l<3&&te(o.d,f-n,g,l))d.precision=f+=10,t=s=u=new d(1),a=0,l++;else return m(o,d.precision=E,g,N=!0);else return d.precision=E,o}o=u}}function K(e,i){var t,n,r,s,o,u,f,l,a,c,d,g=1,E=10,v=e,P=v.d,b=v.constructor,Z=b.rounding,p=b.precision;if(v.s<0||!P||!P[0]||!v.e&&P[0]==1&&P.length==1)return new b(P&&!P[0]?-1/0:v.s!=1?NaN:P?0:v);if(i==null?(N=!1,a=p):a=i,b.precision=a+=E,t=F(P),n=t.charAt(0),Math.abs(s=v.e)<15e14){for(;n<7&&n!=1||n==1&&t.charAt(1)>3;)v=v.times(e),t=F(v.d),n=t.charAt(0),g++;s=v.e,n>1?(v=new b("0."+t),s++):v=new b(n+"."+t.slice(1))}else return l=ue(b,a+2,p).times(s+""),v=K(new b(n+"."+t.slice(1)),a-E).plus(l),b.precision=p,i==null?m(v,p,Z,N=!0):v;for(c=v,f=o=v=M(v.minus(1),v.plus(1),a,1),d=m(v.times(v),a,1),r=3;;){if(o=m(o.times(d),a,1),l=f.plus(M(o,new b(r),a,1)),F(l.d).slice(0,a)===F(f.d).slice(0,a))if(f=f.times(2),s!==0&&(f=f.plus(ue(b,a+2,p).times(s+""))),f=M(f,new b(g),a,1),i==null)if(te(f.d,a-E,Z,u))b.precision=a+=E,l=o=v=M(c.minus(1),c.plus(1),a,1),d=m(v.times(v),a,1),r=u=1;else return m(f,b.precision=p,Z,N=!0);else return b.precision=p,f;f=l,r+=2}}function ze(e){return String(e.s*e.s/0)}function re(e,i){var t,n,r;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++);for(r=i.length;i.charCodeAt(r-1)===48;--r);if(i=i.slice(n,r),i){if(r-=n,e.e=t=t-n-1,e.d=[],n=(t+1)%w,t<0&&(n+=w),n<r){for(n&&e.d.push(+i.slice(0,n)),r-=w;n<r;)e.d.push(+i.slice(n,n+=w));i=i.slice(n),n=w-i.length}else n-=r;for(;n--;)i+="0";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]))}else e.e=0,e.d=[0];return e}function di(e,i){var t,n,r,s,o,u,f,l,a;if(i.indexOf("_")>-1){if(i=i.replace(/(\d)_(?=\d)/g,"$1"),Be.test(i))return re(e,i)}else if(i==="Infinity"||i==="NaN")return+i||(e.s=NaN),e.e=NaN,e.d=null,e;if(ui.test(i))t=16,i=i.toLowerCase();else if(oi.test(i))t=2;else if(li.test(i))t=8;else throw Error(X+i);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=xe(n,new n(t),s,s*2)),l=ne(i,t,x),a=l.length-1,s=a;l[s]===0;--s)l.pop();return s<0?new n(e.s*0):(e.e=fe(l,a),e.d=l,N=!1,o&&(e=M(e,r,u*4)),f&&(e=e.times(Math.abs(f)<54?L(2,f):W.pow(2,f))),N=!0,e)}function hi(e,i){var t,n=i.d.length;if(n<3)return i.isZero()?i:ie(e,2,i,i);t=1.4*Math.sqrt(n),t=t>16?16:t|0,i=i.times(1/ae(5,t)),i=ie(e,2,i,i);for(var r,s=new e(5),o=new e(16),u=new e(20);t--;)r=i.times(i),i=i.times(s.plus(r.times(o.times(r).minus(u))));return i}function ie(e,i,t,n,r){var s,o,u,f,l=e.precision,a=Math.ceil(l/w);for(N=!1,f=t.times(t),u=new e(n);;){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){for(s=a;o.d[s]===u.d[s]&&s--;);if(s==-1)break}s=u,u=n,n=o,o=s}return N=!0,o.d.length=a+1,o}function ae(e,i){for(var t=e;--i;)t*=e;return t}function je(e,i){var t,n=i.s<0,r=$(e,e.precision,1),s=r.times(.5);if(i=i.abs(),i.lte(s))return j=n?4:1,i;if(t=i.divToInt(r),t.isZero())j=n?3:2;else{if(i=i.minus(t.times(r)),i.lte(s))return j=Le(t)?n?2:3:n?4:1,i;j=Le(t)?n?1:4:n?3:2}return i.minus(r).abs()}function Ee(e,i,t,n){var r,s,o,u,f,l,a,c,d,g=e.constructor,E=t!==void 0;if(E?(V(t,1,y),n===void 0?n=g.rounding:V(n,0,8)):(t=g.precision,n=g.rounding),!e.isFinite())a=ze(e);else{for(a=z(e),o=a.indexOf("."),E?(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=ne(z(d),10,r),d.e=d.d.length),c=ne(a,10,r),s=f=c.length;c[--f]==0;)c.pop();if(!c[0])a=E?"0p+0":"0";else{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=Re),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)for(;++c[--t]>r-1;)c[t]=0,t||(++s,c.unshift(1));for(f=c.length;!c[f-1];--f);for(o=0,a="";o<f;o++)a+=we.charAt(c[o]);if(E){if(f>1)if(i==16||i==8){for(o=i==16?4:3,--f;f%o;f++)a+="0";for(c=ne(a,r,i),f=c.length;!c[f-1];--f);for(o=1,a="1.";o<f;o++)a+=we.charAt(c[o])}else a=a.charAt(0)+"."+a.slice(1);a=a+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)a="0"+a;a="0."+a}else if(++s>f)for(s-=f;s--;)a+="0";else s<f&&(a=a.slice(0,s)+"."+a.slice(s))}a=(i==16?"0x":i==2?"0b":i==8?"0o":"")+a}return e.s<0?"-"+a:a}function Pe(e,i){if(e.length>i)return e.length=i,!0}function pi(e){return new this(e).abs()}function gi(e){return new this(e).acos()}function mi(e){return new this(e).acosh()}function wi(e,i){return new this(e).plus(i)}function vi(e){return new this(e).asin()}function Ni(e){return new this(e).asinh()}function Ci(e){return new this(e).atan()}function Ei(e){return new this(e).atanh()}function Si(e,i){e=new this(e),i=new this(i);var t,n=this.precision,r=this.rounding,s=n+4;return!e.s||!i.s?t=new this(NaN):!e.d&&!i.d?(t=$(this,s,1).times(i.s>0?.25:.75),t.s=e.s):!i.d||e.isZero()?(t=i.s<0?$(this,n,r):new this(0),t.s=e.s):!e.d||i.isZero()?(t=$(this,s,1).times(.5),t.s=e.s):i.s<0?(this.precision=s,this.rounding=1,t=this.atan(M(e,i,s,1)),i=$(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}function ki(e){return new this(e).cbrt()}function Mi(e){return m(e=new this(e),e.e+1,2)}function bi(e,i,t){return new this(e).clamp(i,t)}function qi(e){if(!e||typeof e!="object")throw Error(le+"Object expected");var i,t,n,r=e.defaults===!0,s=["precision",1,y,"rounding",0,8,"toExpNeg",-ee,0,"toExpPos",0,ee,"maxE",0,ee,"minE",-ee,0,"modulo",0,9];for(i=0;i<s.length;i+=3)if(t=s[i],r&&(this[t]=ve[t]),(n=e[t])!==void 0)if(U(n)===n&&n>=s[i+1]&&n<=s[i+2])this[t]=n;else throw Error(X+t+": "+n);if(t="crypto",r&&(this[t]=ve[t]),(n=e[t])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(Ze);else this[t]=!1;else throw Error(X+t+": "+n);return this}function Ai(e){return new this(e).cos()}function _i(e){return new this(e).cosh()}function Ge(e){var i,t,n;function r(s){var o,u,f,l=this;if(!(l instanceof r))return new r(s);if(l.constructor=r,Fe(s)){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);return}if(f=typeof s,f==="number"){if(s===0){l.s=1/s<0?-1:1,l.e=0,l.d=[0];return}if(s<0?(s=-s,l.s=-1):l.s=1,s===~~s&&s<1e7){for(o=0,u=s;u>=10;u/=10)o++;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]);return}if(s*0!==0){s||(l.s=NaN),l.e=NaN,l.d=null;return}return re(l,s.toString())}if(f==="string")return(u=s.charCodeAt(0))===45?(s=s.slice(1),l.s=-1):(u===43&&(s=s.slice(1)),l.s=1),Be.test(s)?re(l,s):di(l,s);if(f==="bigint")return s<0?(s=-s,l.s=-1):l.s=1,re(l,s.toString());throw Error(X+s)}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=qi,r.clone=Ge,r.isDecimal=Fe,r.abs=pi,r.acos=gi,r.acosh=mi,r.add=wi,r.asin=vi,r.asinh=Ni,r.atan=Ci,r.atanh=Ei,r.atan2=Si,r.cbrt=ki,r.ceil=Mi,r.clamp=bi,r.cos=Ai,r.cosh=_i,r.div=Oi,r.exp=Ti,r.floor=Di,r.hypot=Ii,r.ln=Li,r.log=Pi,r.log10=Ri,r.log2=Fi,r.max=Ui,r.min=Zi,r.mod=Vi,r.mul=Bi,r.pow=Hi,r.random=xi,r.round=$i,r.sign=zi,r.sin=ji,r.sinh=Gi,r.sqrt=Yi,r.sub=Ki,r.sum=Wi,r.tan=Xi,r.tanh=yi,r.trunc=Ji,e===void 0&&(e={}),e&&e.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],i=0;i<n.length;)e.hasOwnProperty(t=n[i++])||(e[t]=this[t]);return r.config(e),r}function Oi(e,i){return new this(e).div(i)}function Ti(e){return new this(e).exp()}function Di(e){return m(e=new this(e),e.e+1,3)}function Ii(){var e,i,t=new this(0);for(N=!1,e=0;e<arguments.length;)if(i=new this(arguments[e++]),i.d)t.d&&(t=t.plus(i.times(i)));else{if(i.s)return N=!0,new this(1/0);t=i}return N=!0,t.sqrt()}function Fe(e){return e instanceof W||e&&e.toStringTag===Ve||!1}function Li(e){return new this(e).ln()}function Pi(e,i){return new this(e).log(i)}function Fi(e){return new this(e).log(2)}function Ri(e){return new this(e).log(10)}function Ui(){return $e(this,arguments,-1)}function Zi(){return $e(this,arguments,1)}function Vi(e,i){return new this(e).mod(i)}function Bi(e,i){return new this(e).mul(i)}function Hi(e,i){return new this(e).pow(i)}function xi(e){var i,t,n,r,s=0,o=new this(1),u=[];if(e===void 0?e=this.precision:V(e,1,y),n=Math.ceil(e/w),this.crypto)if(crypto.getRandomValues)for(i=crypto.getRandomValues(new Uint32Array(n));s<n;)r=i[s],r>=429e7?i[s]=crypto.getRandomValues(new Uint32Array(1))[0]:u[s++]=r%1e7;else if(crypto.randomBytes){for(i=crypto.randomBytes(n*=4);s<n;)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);s=n/4}else throw Error(Ze);else for(;s<n;)u[s++]=Math.random()*1e7|0;for(n=u[--s],e%=w,n&&e&&(r=L(10,w-e),u[s]=(n/r|0)*r);u[s]===0;s--)u.pop();if(s<0)t=0,u=[0];else{for(t=-1;u[0]===0;t-=w)u.shift();for(n=1,r=u[0];r>=10;r/=10)n++;n<w&&(t-=w-n)}return o.e=t,o.d=u,o}function $i(e){return m(e=new this(e),e.e+1,this.rounding)}function zi(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function ji(e){return new this(e).sin()}function Gi(e){return new this(e).sinh()}function Yi(e){return new this(e).sqrt()}function Ki(e,i){return new this(e).sub(i)}function Wi(){var e=0,i=arguments,t=new this(i[e]);for(N=!1;t.s&&++e<i.length;)t=t.plus(i[e]);return N=!0,m(t,this.precision,this.rounding)}function Xi(e){return new this(e).tan()}function yi(e){return new this(e).tanh()}function Ji(e){return m(e=new this(e),e.e+1,1)}h[Symbol.for("nodejs.util.inspect.custom")]=h.toString;h[Symbol.toStringTag]="Decimal";var W=h.constructor=Ge(ve);se=new W(se);oe=new W(oe);const Qi={DEFAULT_ICON:De.DEFAULT_ICON,ACTIVE_ICON:De.ACTIVE_ICON,NAME_CN:"K线图",NAME_EN:"Candlestick",ORDER:3,PLATFORM:["pc","screen","mobile"]},et={titleColor:"#111",bgColor:"#fff",textColor:"#111",upColor:"#c23531",downColor:"#314656",barColor:"#314656",radiusSize:8,textSize:12,top:30,bottom:40,left:40,right:30,points:100,isSmooth:!1,isHideTitle:!1},Ye=[{name:"参数一",项目编号:"",object_id:""}],it=["name","项目编号","object_id","source"],tt=["index","increment","balance","risk"],nt=1,rt={useAlias:!1,null:{type:"0",value:""},source:"index"},st={DEFAULT:Qi,OPTIONS:et,DATA:Ye,PARAMS:it,SOURCE:tt,ITEMS:nt,COMMON:rt},ot=D.defineComponent(Te(Oe({},st),{__name:"kds",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(e){me.use([ge.install$1,me.install,ii.install,ti.install,ni.install,ge.install$2,ri.install,ge.install,si.install,me.install$1,ei.installUniversalTransition]);const i=D.ref(D.inject("session",null)),{proxy:t}=D.getCurrentInstance(),n="kds_"+Math.random().toString(16).substring(4,12);let r=null,s=null;const o=e;let u={data:[],dates:[],volumes:[]};class f extends pe.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),upColor:this.getOptionValue("upColor","#c23531"),downColor:this.getOptionValue("downColor","#314656"),barColor:this.getOptionValue("barColor","#314656"),radiusSize:this.getOptionValue("radiusSize",4),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),points:this.getOptionValue("points",100)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:Ye,D.nextTick(()=>{let C=document.querySelector("#"+n);E({num:a.value.points,max:200,min:0,mode:o.mode}),C&&(r||(r=Ie.init(C),s=G.elementResizeDetectorMaker({strategy:"scroll"}),s.listenTo(C,()=>r==null?void 0:r.resize())),r.setOption(d(),!0))})}onPreview(){b.preview()}cleanup(){s&&s.uninstall(document.querySelector("#"+n)),r&&r.clear(),r&&Ie.dispose(r),r=null,b.unregister()}}const l=new f(o,"kds");l.setupLifecycle();const a=l.getStyle(),c=D.computed(()=>Qe.generateTitleStyle(o.conf.options)),d=()=>{var C,_,q,B,O,k,R,A,H,I,J,T,S,Q,Se,ke,Me,be,qe;const{conf:p}=o;return{animation:!1,color:[a.value.upColor,a.value.downColor],tooltip:{textStyle:{fontSize:12,color:a.value.textColor},position:function(ce,lt,ft,at,de){const he={top:10};return de.viewSize[0]-ce[0]<=de.contentSize[0]+20?he.right=de.viewSize[0]-ce[0]+30:he.left=ce[0]+30,he}},axisPointer:{link:[{xAxisIndex:[0,1]}]},dataZoom:[{type:"slider",xAxisIndex:[0,1],height:12,bottom:12},{type:"inside",xAxisIndex:[0,1],height:12,bottom:12}],xAxis:[{type:"category",data:u.dates,boundaryGap:!0,axisPointer:{show:!0},axisLabel:{color:a.value.textColor}},{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}}}],yAxis:[{scale:!0,splitNumber:2,axisLine:{lineStyle:{color:a.value.textColor}},axisLabel:{formatter:`{value}
|
|
2
2
|
`}},{scale:!0,gridIndex:1,splitNumber:2,axisLabel:{formatter:`{value}
|
|
3
3
|
`},splitLine:{show:!1},axisLine:{lineStyle:{color:a.value.textColor}}}],grid:[{left:(q=(_=(C=p==null?void 0:p.options)==null?void 0:C.left)==null?void 0:_.value)!=null?q:60,right:(k=(O=(B=p==null?void 0:p.options)==null?void 0:B.right)==null?void 0:O.value)!=null?k:30,top:(H=(A=(R=p==null?void 0:p.options)==null?void 0:R.top)==null?void 0:A.value)!=null?H:30,height:"55%"},{left:(T=(J=(I=p==null?void 0:p.options)==null?void 0:I.left)==null?void 0:J.value)!=null?T:60,right:(Se=(Q=(S=p==null?void 0:p.options)==null?void 0:S.right)==null?void 0:Q.value)!=null?Se:30,height:"20%",bottom:(be=(Me=(ke=p==null?void 0:p.options)==null?void 0:ke.bottom)==null?void 0:Me.value)!=null?be:40}],series:[{name:t.$t("common.total"),type:"bar",xAxisIndex:1,yAxisIndex:1,itemStyle:{color:a.value.barColor},data:u.volumes},{type:"candlestick",name:p!=null&&p.data?(qe=p==null?void 0:p.data[0])==null?void 0:qe.name:"--",data:u.data,itemStyle:{color:a.value.upColor,color0:a.value.downColor,borderColor:a.value.upColor,borderColor0:a.value.downColor}}]}},g=(p,C)=>{const _=[],q=[],B=G.dayjs(C[0]);let O=[],k=[],R=1,A=o.conf.calcPeriod?Number(o.conf.calcPeriod):30;for(let I=0;I<C.length;I++)G.dayjs(C[I]).diff(B,"minutes")>A*R&&(R++,O.length>0&&(_.push(O[O.length-1]),q.push({data:[k[0],k[k.length-1],Math.min(...k),Math.max(...k)],total:k.reduce((S,Q)=>W(String(S)).add(W(String(Q))),0).toNumber()}),O=[],k=[])),O.push(C[I]),k.push(p[I]),I===C.length-1&&(_.push(O[O.length-1]),q.push({data:[k[0],k[k.length-1],Math.max(...k),Math.min(...k)],total:k.reduce((S,Q)=>W(String(S)).add(W(String(Q))),0).toNumber()}));let H={data:[],dates:_,volumes:[]};q.forEach(I=>{H.data.push(I.data),H.volumes.push(I.total)}),u=H},E=p=>{let{num:C,max:_,min:q,mode:B}=p;C=C!=null?C:7,_=_!=null?_:200,q=q!=null?q:10;let O=G.dayjs(),k=[],R=[];for(var A=0;A<C;A++){let H=B==="edit"?Math.floor(Math.random()*(_-q+1)+q):0;k.push(H);const I=O.subtract(A*5,"minutes").format("YYYY-MM-DD HH:mm:ss");R.unshift(I)}g(k,R)},v=p=>{if(!G.hasDataSource(o.conf))return;const{data:C}=o.conf;let _=G.handleNullData(p,o,"history"),q=[],B=[];_.history.length&&(_.history.forEach((O,k)=>{q=O.map(R=>{var A;return(A=R[C[k].fv])!=null?A:"--"}),B=O.map(R=>R.time)}),g(q,B),r==null||r.setOption(d(),!0))},P=p=>{G.hasDataSource(o.conf)},b={preview:()=>pe.preview(o,i.value,v,P,"kds"),unregister:()=>pe.unregister(o,i.value)};D.watchEffect(()=>{o.conf.socketData&&P(o.conf.socketData)});const Z=o.conf;return(p,C)=>(D.openBlock(),D.createElementBlock("div",{class:"mix-component",style:D.normalizeStyle({background:D.unref(a).bgColor,borderRadius:`${D.unref(a).radiusSize}px`})},[D.createElementVNode("div",{class:"mix-title",style:D.normalizeStyle(c.value)},D.toDisplayString(D.unref(Z).caption||D.unref(Z).name),5),D.createElementVNode("div",{class:"mix-body"},[D.createElementVNode("div",{class:"w-full h-full",id:n})]),D.renderSlot(p.$slots,"default",{},void 0,!0)],4))}})),ut=G._export_sfc(ot,[["__scopeId","data-v-4c3d39c1"]]);exports.default=ut;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ye = Object.defineProperty, Ke = Object.defineProperties;
|
|
2
2
|
var We = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var be = Object.getOwnPropertySymbols;
|
|
4
4
|
var Xe = Object.prototype.hasOwnProperty, je = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ae = (e, i, t) => i in e ?
|
|
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
6
|
for (var t in i || (i = {}))
|
|
7
7
|
Xe.call(i, t) && Ae(e, t, i[t]);
|
|
8
8
|
if (be)
|
|
9
9
|
for (var t of be(i))
|
|
10
10
|
je.call(i, t) && Ae(e, t, i[t]);
|
|
11
11
|
return e;
|
|
12
|
-
}, Oe = (e, i) =>
|
|
12
|
+
}, Oe = (e, i) => Ke(e, We(i));
|
|
13
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, u as fi, p as ai } from "./BaseComponent-
|
|
15
|
-
import {
|
|
14
|
+
import { B as li, u as fi, p as ai } from "./BaseComponent-CEp8NJiX.js";
|
|
15
|
+
import { I as ci, d as pe, J as Te, E as di, _ as hi } from "./index-CqVPeq0-.js";
|
|
16
16
|
import { g as pi } from "./titleStyle-BT5GlpAb.js";
|
|
17
17
|
import { A as gi, D as mi } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
18
18
|
import { c as wi, d as vi, i as Ni } from "./install-FXyLnlJE.js";
|
|
@@ -259,9 +259,9 @@ h.logarithm = h.log = function(e) {
|
|
|
259
259
|
for (r = t[0]; r % 10 === 0; ) r /= 10;
|
|
260
260
|
s = r !== 1;
|
|
261
261
|
}
|
|
262
|
-
if (N = !1, u = c + g, o =
|
|
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
263
|
do
|
|
264
|
-
if (u += 10, o =
|
|
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
265
|
+q(f.d).slice(r + 1, r + 15) + 1 == 1e14 && (f = m(f, c + 1, 0));
|
|
266
266
|
break;
|
|
267
267
|
}
|
|
@@ -311,7 +311,7 @@ h.naturalExponential = h.exp = function() {
|
|
|
311
311
|
return ve(this);
|
|
312
312
|
};
|
|
313
313
|
h.naturalLogarithm = h.ln = function() {
|
|
314
|
-
return
|
|
314
|
+
return Y(this);
|
|
315
315
|
};
|
|
316
316
|
h.negated = h.neg = function() {
|
|
317
317
|
var e = new this.constructor(this);
|
|
@@ -443,7 +443,7 @@ h.toPower = h.pow = function(e) {
|
|
|
443
443
|
if ((e.d[i] & 1) == 0 && (o = 1), u.e == 0 && u.d[0] == 1 && u.d.length == 1)
|
|
444
444
|
return u.s = o, u;
|
|
445
445
|
}
|
|
446
|
-
return t = L(+u, l), i = t == 0 || !isFinite(t) ? R(l * (Math.log("0." + q(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(
|
|
446
|
+
return t = L(+u, l), i = t == 0 || !isFinite(t) ? R(l * (Math.log("0." + q(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), +q(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
447
|
};
|
|
448
448
|
h.toPrecision = function(e, i) {
|
|
449
449
|
var t, n = this, r = n.constructor;
|
|
@@ -673,7 +673,7 @@ function ve(e, i) {
|
|
|
673
673
|
o = u;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Y(e, i) {
|
|
677
677
|
var t, n, r, s, o, u, f, l, a, c, d, g = 1, C = 10, v = e, P = v.d, b = v.constructor, U = b.rounding, p = b.precision;
|
|
678
678
|
if (v.s < 0 || !P || !P[0] || !v.e && P[0] == 1 && P.length == 1)
|
|
679
679
|
return new b(P && !P[0] ? -1 / 0 : v.s != 1 ? NaN : P ? 0 : v);
|
|
@@ -682,7 +682,7 @@ function K(e, i) {
|
|
|
682
682
|
v = v.times(e), t = q(v.d), n = t.charAt(0), g++;
|
|
683
683
|
s = v.e, n > 1 ? (v = new b("0." + t), s++) : v = new b(n + "." + t.slice(1));
|
|
684
684
|
} else
|
|
685
|
-
return l = oe(b, a + 2, p).times(s + ""), v =
|
|
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
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
687
|
if (o = m(o.times(d), a, 1), l = f.plus(M(o, new b(r), a, 1)), q(l.d).slice(0, a) === q(f.d).slice(0, a))
|
|
688
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)
|
|
@@ -729,7 +729,7 @@ function Ui(e, i) {
|
|
|
729
729
|
else
|
|
730
730
|
throw Error(W + i);
|
|
731
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 ? L(2, f) :
|
|
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 ? L(2, f) : K.pow(2, f))), N = !0, e);
|
|
733
733
|
}
|
|
734
734
|
function Zi(e, i) {
|
|
735
735
|
var t, n = i.d.length;
|
|
@@ -826,10 +826,10 @@ function zi(e) {
|
|
|
826
826
|
function Gi(e) {
|
|
827
827
|
return new this(e).atan();
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Yi(e) {
|
|
830
830
|
return new this(e).atanh();
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function Ki(e, i) {
|
|
833
833
|
e = new this(e), i = new this(i);
|
|
834
834
|
var t, n = this.precision, r = this.rounding, s = n + 4;
|
|
835
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;
|
|
@@ -922,7 +922,7 @@ function ze(e) {
|
|
|
922
922
|
return s < 0 ? (s = -s, l.s = -1) : l.s = 1, ne(l, s.toString());
|
|
923
923
|
throw Error(W + s);
|
|
924
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 = Pe, r.abs = Bi, r.acos = Hi, r.acosh = Vi, r.add = xi, r.asin = $i, r.asinh = zi, r.atan = Gi, r.atanh =
|
|
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 = Pe, 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 = Ki, r.cbrt = Wi, r.ceil = Xi, r.clamp = ji, 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
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
927
|
return r.config(e), r;
|
|
928
928
|
}
|
|
@@ -948,7 +948,7 @@ function nt() {
|
|
|
948
948
|
return N = !0, t.sqrt();
|
|
949
949
|
}
|
|
950
950
|
function Pe(e) {
|
|
951
|
-
return e instanceof
|
|
951
|
+
return e instanceof K || e && e.toStringTag === Ue || !1;
|
|
952
952
|
}
|
|
953
953
|
function rt(e) {
|
|
954
954
|
return new this(e).ln();
|
|
@@ -1034,9 +1034,9 @@ function kt(e) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
h[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = h.toString;
|
|
1036
1036
|
h[Symbol.toStringTag] = "Decimal";
|
|
1037
|
-
var
|
|
1038
|
-
re = new
|
|
1039
|
-
se = new
|
|
1037
|
+
var K = h.constructor = ze(me);
|
|
1038
|
+
re = new K(re);
|
|
1039
|
+
se = new K(se);
|
|
1040
1040
|
const Mt = {
|
|
1041
1041
|
DEFAULT_ICON: mi,
|
|
1042
1042
|
ACTIVE_ICON: gi,
|
|
@@ -1147,10 +1147,10 @@ const Mt = {
|
|
|
1147
1147
|
for (let I = 0; I < E.length; I++)
|
|
1148
1148
|
pe(E[I]).diff(B, "minutes") > _ * F && (F++, D.length > 0 && (O.push(D[D.length - 1]), A.push({
|
|
1149
1149
|
data: [k[0], k[k.length - 1], Math.min(...k), Math.max(...k)],
|
|
1150
|
-
total: k.reduce((S, J) =>
|
|
1150
|
+
total: k.reduce((S, J) => K(String(S)).add(K(String(J))), 0).toNumber()
|
|
1151
1151
|
}), D = [], k = [])), D.push(E[I]), k.push(p[I]), I === E.length - 1 && (O.push(D[D.length - 1]), A.push({
|
|
1152
1152
|
data: [k[0], k[k.length - 1], Math.max(...k), Math.min(...k)],
|
|
1153
|
-
total: k.reduce((S, J) =>
|
|
1153
|
+
total: k.reduce((S, J) => K(String(S)).add(K(String(J))), 0).toNumber()
|
|
1154
1154
|
}));
|
|
1155
1155
|
let H = { data: [], dates: O, volumes: [] };
|
|
1156
1156
|
A.forEach((I) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var Y=Object.defineProperty,H=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var k=(d,r,c)=>r in d?Y(d,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):d[r]=c,D=(d,r)=>{for(var c in r||(r={}))W.call(r,c)&&k(d,c,r[c]);if(x)for(var c of x(r))G.call(r,c)&&k(d,c,r[c]);return d},O=(d,r)=>H(d,K(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/upload/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/date-picker/style/css");const e=require("vue"),J=require("./safeI18n-DR20q_h1.cjs"),y=require("element-plus"),Q=require("./BaseComponent-
|
|
1
|
+
"use strict";var Y=Object.defineProperty,H=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var k=(d,r,c)=>r in d?Y(d,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):d[r]=c,D=(d,r)=>{for(var c in r||(r={}))W.call(r,c)&&k(d,c,r[c]);if(x)for(var c of x(r))G.call(r,c)&&k(d,c,r[c]);return d},O=(d,r)=>H(d,K(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/upload/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/date-picker/style/css");const e=require("vue"),J=require("./safeI18n-DR20q_h1.cjs"),y=require("element-plus"),Q=require("./BaseComponent-DaYX7dUF.cjs"),X=require("./index-OgmTZiO-.cjs"),Z=require("./titleStyle-NSnz6cUg.cjs"),T=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),ee={class:"title-text"},te={key:0,class:"title-actions"},oe={class:"mix-body"},ne={key:0,class:"body-unit"},le={class:"ee-form"},ie={class:"ee-row"},ae={class:"ee-field"},re={class:"ee-label"},se={class:"ee-field"},ce={class:"ee-label"},de={class:"ee-field"},ue={class:"ee-label"},pe={class:"ee-field"},me={class:"ee-label"},_e={class:"ee-field"},fe={class:"ee-label"},ve={class:"ee-field"},he={class:"ee-label"},be={class:"ee-file-name"},ge={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"KPI数字卡",NAME_EN:"KPI Card",ORDER:11,PLATFORM:["pc","screen"]},ye={bgColor:"#fff",titleColor:"#111",textColor:"#666",radiusSize:8,textSize:12,valueSize:36,isHideTitle:!1,description:"实际发生但未触发预警的事件占比",unit:"%",colorMode:{value:"lower-better",type:"select",label:"component.options.lw_colorMode",options:[{label:"component.options.lw_colorMode_lowerBetter",value:"lower-better"},{label:"component.options.lw_colorMode_higherBetter",value:"higher-better"},{label:"component.options.lw_colorMode_neutral",value:"neutral"}]},goodColor:"#22c55e",badColor:"#ef4444",neutralColor:"#1f2329",threshold:10,btnText1:"事件录入",btnAction1:{value:"eventEntry",type:"select",label:"component.options.lw_btnAction1",options:[{label:"component.options.lw_btnAction_eventEntry",value:"eventEntry"},{label:"component.options.lw_btnAction_eventDownload",value:"eventDownload"},{label:"component.options.lw_btnAction_dataDownload",value:"dataDownload"},{label:"component.options.lw_btnAction_publish",value:"publish"}]},btnText2:"事件下载",btnAction2:{value:"eventDownload",type:"select",label:"component.options.lw_btnAction2",options:[{label:"component.options.lw_btnAction_eventEntry",value:"eventEntry"},{label:"component.options.lw_btnAction_eventDownload",value:"eventDownload"},{label:"component.options.lw_btnAction_dataDownload",value:"dataDownload"},{label:"component.options.lw_btnAction_publish",value:"publish"}]},linkChannel:{value:"landslide",type:"select",label:"component.options.lw_linkChannel",options:[{label:"component.options.lw_linkChannel_landslide",value:"landslide"},{label:"component.options.lw_linkChannel_custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.options.lw_customChannel",showWhen:{linkChannel:"custom"}},eventRegions:{value:"东帮,南帮,北帮土场,西帮",type:"text",label:"component.options.lw_ee_regions"},eventLocationPlaceholder:{value:"如:+862水平,靠近岩破附近",type:"text",label:"component.options.lw_ee_locationPh"},eventRecorderPlaceholder:{value:"请输入录入人",type:"text",label:"component.options.lw_ee_recorderPh"},eventDescPlaceholder:{value:"请输入事件描述",type:"text",label:"component.options.lw_ee_descPh"}},we=[{name:"漏报率",fv:"",object_id:"",value:5}],Ve=["name","fv","object_id"],Ce=["mosaic","statistics","calculate","statisticsRealtime"],Se={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"statistics"},Ee=1,Ne={DEFAULT:ge,OPTIONS:ye,DATA:we,PARAMS:Ve,SOURCE:Ce,ITEMS:Ee,COMMON:Se},xe=e.defineComponent(O(D({},Ne),{__name:"kpiCard",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(d){const r=d;class c extends Q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#666"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),valueSize:this.getOptionValue("valueSize",36),description:this.getOptionValue("description",""),unit:this.getOptionValue("unit",""),colorMode:this.getOptionValue("colorMode","lower-better"),goodColor:this.getOptionValue("goodColor","#22c55e"),badColor:this.getOptionValue("badColor","#ef4444"),neutralColor:this.getOptionValue("neutralColor","#1f2329"),threshold:Number(this.getOptionValue("threshold",10)),btnText1:this.getOptionValue("btnText1",""),btnAction1:this.getOptionValue("btnAction1","eventEntry"),btnText2:this.getOptionValue("btnText2",""),btnAction2:this.getOptionValue("btnAction2","eventDownload"),linkChannel:this.getOptionValue("linkChannel","landslide"),customChannel:this.getOptionValue("customChannel",""),eventRegions:this.getOptionValue("eventRegions","东帮,南帮,北帮土场,西帮"),eventLocationPlaceholder:this.getOptionValue("eventLocationPlaceholder","如:+862水平,靠近岩破附近"),eventRecorderPlaceholder:this.getOptionValue("eventRecorderPlaceholder","请输入录入人"),eventDescPlaceholder:this.getOptionValue("eventDescPlaceholder","请输入事件描述")}}init(){var o;this.Style.value=this.extractStyles(),this.applyTheme(),(o=this.props.conf.data)!=null&&o.length||(this.props.conf.data=[{name:"",fv:"",object_id:"",value:0}])}getLinkChannel(){const o=this.Style.value;return(o==null?void 0:o.linkChannel)==="custom"?o.customChannel||"":(o==null?void 0:o.linkChannel)||""}}const b=new c(r,"kpiCard");b.setupLifecycle();const l=b.getStyle(),u=r.conf,M=e.computed(()=>Z.generateTitleStyle(r.conf.options)),w=e.computed(()=>{var t,o,p;return(p=(o=(t=r.conf)==null?void 0:t.data)==null?void 0:o[0])==null?void 0:p.value}),A=e.computed(()=>{const t=w.value;return t==null||t===""?"--":typeof t=="number"?Number.isInteger(t)?String(t):t.toFixed(1):String(t)}),B=e.computed(()=>{const t=l.value,o=Number(w.value);return t.colorMode==="neutral"||isNaN(o)?t.neutralColor||t.titleColor:t.colorMode==="lower-better"?o<=t.threshold?t.goodColor:t.badColor:t.colorMode==="higher-better"?o>=t.threshold?t.goodColor:t.badColor:t.titleColor}),{t:i}=J.useSafeI18n(),f=e.ref(!1),S=e.ref(""),n=e.reactive({time:"",region:"",location:"",recorder:"",description:"",fileName:"",file:null}),V=e.reactive([]),P=e.computed(()=>String(l.value.eventRegions||"").split(/[,,]/).map(t=>t.trim()).filter(Boolean)),z=e.computed(()=>{const t=i("component.options.lw_ee_titleSuffix"),o=u.caption||u.name||"";return o?`${o}${t}`:t});function $(){const t=new Date,o=p=>String(p).padStart(2,"0");return`${t.getFullYear()}-${o(t.getMonth()+1)}-${o(t.getDate())} ${o(t.getHours())}:${o(t.getMinutes())}`}function R(){n.time=$(),n.region="",n.location="",n.recorder="",n.description="",n.fileName="",n.file=null}function q(t){S.value=t,R(),f.value=!0}function F(){f.value=!1}function I(t){n.fileName=(t==null?void 0:t.name)||"",n.file=(t==null?void 0:t.raw)||null}function L(){if(!n.time||!n.region||!n.recorder){y.ElMessage.warning(i("component.options.lw_ee_validateTip"));return}V.push({time:n.time,region:n.region,location:n.location,recorder:n.recorder,description:n.description,fileName:n.fileName});const t={type:"eventEntrySaved",kpi:u.caption||u.name,action:S.value,time:n.time,region:n.region,location:n.location,recorder:n.recorder,description:n.description,fileName:n.fileName};r.mode==="preview"&&b.publish(t),y.ElMessage.success(i("component.options.lw_ee_savedTip")),f.value=!1}function E(t){const o=(t!=null?t:"").toString().replace(/"/g,'""');return/[",\n\r]/.test(o)?`"${o}"`:o}function U(){if(V.length===0){y.ElMessage.info(i("component.options.lw_ee_noEvents"));return}const o=[[i("component.options.lw_ee_time"),i("component.options.lw_ee_region"),i("component.options.lw_ee_location"),i("component.options.lw_ee_recorder"),i("component.options.lw_ee_desc"),i("component.options.lw_ee_photo")].map(E).join(",")];for(const s of V)o.push([s.time,s.region,s.location,s.recorder,s.description,s.fileName].map(E).join(","));const p="\uFEFF"+o.join(`\r
|
|
2
2
|
`),C=new Blob([p],{type:"text/csv;charset=utf-8;"}),g=URL.createObjectURL(C),v=String(u.caption||u.name||"event").replace(/[\\/:*?"<>|]/g,"_"),h=(()=>{const s=new Date,a=j=>String(j).padStart(2,"0");return`${s.getFullYear()}${a(s.getMonth()+1)}${a(s.getDate())}_${a(s.getHours())}${a(s.getMinutes())}`})(),m=document.createElement("a");m.href=g,m.download=`${v}_${h}.csv`,document.body.appendChild(m),m.click(),document.body.removeChild(m),URL.revokeObjectURL(g),y.ElMessage.success(i("component.options.lw_ee_downloadedTip"))}function N(t,o){if(t==="eventEntry"){q(o);return}if(t==="eventDownload"){U();return}if(r.mode!=="preview")return;const p={type:t==="publish"?"kpi-action":t,kpi:u.caption||u.name,action:o,value:w.value};b.publish(p)}return(t,o)=>{const p=_.ElDatePicker,C=_.ElOption,g=_.ElSelect,v=_.ElInput,h=_.ElButton,m=_.ElUpload,s=_.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(l).bgColor,borderRadius:`${e.unref(l).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(M.value)},[e.createElementVNode("span",ee,e.toDisplayString(e.unref(u).caption||e.unref(u).name),1),e.unref(l).btnText1||e.unref(l).btnText2?(e.openBlock(),e.createElementBlock("div",te,[e.unref(l).btnText1?(e.openBlock(),e.createElementBlock("button",{key:0,class:"kpi-btn",onClick:o[0]||(o[0]=a=>N(e.unref(l).btnAction1,e.unref(l).btnText1))},e.toDisplayString(e.unref(l).btnText1),1)):e.createCommentVNode("",!0),e.unref(l).btnText2?(e.openBlock(),e.createElementBlock("button",{key:1,class:"kpi-btn",onClick:o[1]||(o[1]=a=>N(e.unref(l).btnAction2,e.unref(l).btnText2))},e.toDisplayString(e.unref(l).btnText2),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4),e.createElementVNode("div",oe,[e.createElementVNode("div",{class:"body-value",style:e.normalizeStyle({fontSize:`${e.unref(l).valueSize}px`,color:B.value})},[e.createTextVNode(e.toDisplayString(A.value),1),e.unref(l).unit?(e.openBlock(),e.createElementBlock("span",ne,e.toDisplayString(e.unref(l).unit),1)):e.createCommentVNode("",!0)],4),e.unref(l).description?(e.openBlock(),e.createElementBlock("div",{key:0,class:"body-desc",style:e.normalizeStyle({fontSize:`${e.unref(l).textSize}px`,color:e.unref(l).textColor})},e.toDisplayString(e.unref(l).description),5)):e.createCommentVNode("",!0)]),e.createVNode(s,{modelValue:f.value,"onUpdate:modelValue":o[7]||(o[7]=a=>f.value=a),title:z.value,width:"640px",top:"8vh","close-on-click-modal":!1,"destroy-on-close":"","append-to-body":"",class:"kpi-event-dialog"},{footer:e.withCtx(()=>[e.createVNode(h,{onClick:F},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("component.options.lw_ee_cancel")),1)]),_:1}),e.createVNode(h,{type:"primary",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("component.options.lw_ee_save")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",le,[e.createElementVNode("div",ie,[e.createElementVNode("div",ae,[e.createElementVNode("label",re,e.toDisplayString(e.unref(i)("component.options.lw_ee_time")),1),e.createVNode(p,{modelValue:n.time,"onUpdate:modelValue":o[2]||(o[2]=a=>n.time=a),type:"datetime",size:"default",style:{width:"100%"},"value-format":"YYYY-MM-DD HH:mm",format:"YYYY/MM/DD HH:mm",placeholder:"yyyy/mm/日 --:--"},null,8,["modelValue"])]),e.createElementVNode("div",se,[e.createElementVNode("label",ce,e.toDisplayString(e.unref(i)("component.options.lw_ee_region")),1),e.createVNode(g,{modelValue:n.region,"onUpdate:modelValue":o[3]||(o[3]=a=>n.region=a),placeholder:e.unref(i)("component.options.lw_ee_regionSelectPh"),size:"default",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,a=>(e.openBlock(),e.createBlock(C,{key:a,label:a,value:a},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])]),e.createElementVNode("div",de,[e.createElementVNode("label",ue,e.toDisplayString(e.unref(i)("component.options.lw_ee_location")),1),e.createVNode(v,{modelValue:n.location,"onUpdate:modelValue":o[4]||(o[4]=a=>n.location=a),placeholder:e.unref(l).eventLocationPlaceholder,size:"default"},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",pe,[e.createElementVNode("label",me,e.toDisplayString(e.unref(i)("component.options.lw_ee_recorder")),1),e.createVNode(v,{modelValue:n.recorder,"onUpdate:modelValue":o[5]||(o[5]=a=>n.recorder=a),placeholder:e.unref(l).eventRecorderPlaceholder,size:"default"},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",_e,[e.createElementVNode("label",fe,e.toDisplayString(e.unref(i)("component.options.lw_ee_desc")),1),e.createVNode(v,{modelValue:n.description,"onUpdate:modelValue":o[6]||(o[6]=a=>n.description=a),type:"textarea",rows:3,placeholder:e.unref(l).eventDescPlaceholder},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",ve,[e.createElementVNode("label",he,e.toDisplayString(e.unref(i)("component.options.lw_ee_photo")),1),e.createVNode(m,{action:"#","auto-upload":!1,"on-change":I,"show-file-list":!1},{default:e.withCtx(()=>[e.createVNode(h,{size:"default"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("component.options.lw_ee_chooseFile")),1)]),_:1}),e.createElementVNode("span",be,e.toDisplayString(n.fileName||e.unref(i)("component.options.lw_ee_noFile")),1)]),_:1})])])]),_:1},8,["modelValue","title"]),e.renderSlot(t.$slots,"default",{},void 0,!0)],4)}}})),ke=X._export_sfc(xe,[["__scopeId","data-v-d2e4f518"]]);exports.default=ke;
|
|
@@ -22,8 +22,8 @@ import "element-plus/es/components/date-picker/style/css";
|
|
|
22
22
|
import { defineComponent as me, computed as w, ref as U, reactive as j, openBlock as h, createElementBlock as f, normalizeStyle as E, unref as n, createElementVNode as r, toDisplayString as c, createCommentVNode as x, createTextVNode as O, createVNode as v, withCtx as g, Fragment as _e, renderList as ve, createBlock as he, renderSlot as be } from "vue";
|
|
23
23
|
import { u as fe } from "./safeI18n-CXZgGKWp.js";
|
|
24
24
|
import { ElMessage as A } from "element-plus";
|
|
25
|
-
import { B as ge } from "./BaseComponent-
|
|
26
|
-
import { _ as we } from "./index-
|
|
25
|
+
import { B as ge } from "./BaseComponent-CEp8NJiX.js";
|
|
26
|
+
import { _ as we } from "./index-CqVPeq0-.js";
|
|
27
27
|
import { g as ye } from "./titleStyle-BT5GlpAb.js";
|
|
28
28
|
import { A as Ce, D as Ve } from "./ele-vlu-icon-Bg6EHZdJ.js";
|
|
29
29
|
const xe = { class: "title-text" }, Se = {
|