mio-previewer 0.2.73 → 0.2.76
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/README.md +1 -0
- package/README.zh-CN.md +2 -1
- package/dist/_basePickBy-CXmXW7jd.js +166 -0
- package/dist/_basePickBy-CtuVwROD.cjs +1 -0
- package/dist/_baseUniq-CGoiOkSa.js +682 -0
- package/dist/_baseUniq-CYtOXxfV.cjs +1 -0
- package/dist/_createAssigner-DqH64jc7.cjs +1 -0
- package/dist/_createAssigner-IEX8lwxm.js +573 -0
- package/dist/arc-C78br9Yj.cjs +1 -0
- package/dist/arc-vLgDTVZZ.js +80 -0
- package/dist/architecture-O4VJ6CD3-B9qzjtV8.cjs +1 -0
- package/dist/architecture-O4VJ6CD3-wqAP4onK.js +2 -0
- package/dist/architectureDiagram-VXUJARFQ-CYbuyVAs.js +4039 -0
- package/dist/architectureDiagram-VXUJARFQ-DEGYSl1f.cjs +36 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/array-DZSRzHA_.cjs +1 -0
- package/dist/assets/parser.worker-Bzb1GItl.js +14 -0
- package/dist/blockDiagram-VD42YOAC-DaH3L5Ng.js +3009 -0
- package/dist/blockDiagram-VD42YOAC-DeX0dq72.cjs +122 -0
- package/dist/c4Diagram-YG6GDRKO-CIThIYo6.js +2959 -0
- package/dist/c4Diagram-YG6GDRKO-Dz6dif_9.cjs +10 -0
- package/dist/channel-BWHkpgVD.cjs +1 -0
- package/dist/channel-JT7eWw2w.js +5 -0
- package/dist/chunk-4BX2VUAB-BZTgbbzC.js +8 -0
- package/dist/chunk-4BX2VUAB-HXFjpyQg.cjs +1 -0
- package/dist/chunk-55IACEB6-DWUqxxdp.js +8 -0
- package/dist/chunk-55IACEB6-Hy_THNUs.cjs +1 -0
- package/dist/chunk-ABZYJK2D-CbIYYZa_.cjs +80 -0
- package/dist/chunk-ABZYJK2D-DDrmE3Q7.js +2518 -0
- package/dist/chunk-ATLVNIR6-DHlCNWnJ.js +67 -0
- package/dist/chunk-ATLVNIR6-shAOudT0.cjs +1 -0
- package/dist/chunk-B4BG7PRW-C67vroOS.cjs +165 -0
- package/dist/chunk-B4BG7PRW-DSYuK8dI.js +3116 -0
- package/dist/chunk-BNMv73og.cjs +1 -0
- package/dist/chunk-CVBHYZKI-CLVcv_xh.cjs +1 -0
- package/dist/chunk-CVBHYZKI-CiCGetln.js +12 -0
- package/dist/chunk-DI55MBZ5-BCvBgHrp.cjs +220 -0
- package/dist/chunk-DI55MBZ5-Clru0TyG.js +2000 -0
- package/dist/chunk-Dbv0sNQl.js +20 -0
- package/dist/chunk-FMBD7UC4-D4kohRVY.js +5 -0
- package/dist/{chunk-FMBD7UC4-DxkUZTpt.cjs → chunk-FMBD7UC4-DWMVCXKq.cjs} +2 -2
- package/dist/chunk-HN2XXSSU-BwmRMa2r.cjs +1 -0
- package/dist/chunk-HN2XXSSU-CJL8wAZ2.js +76 -0
- package/dist/chunk-JA3XYJ7Z-BaAdjYEy.cjs +70 -0
- package/dist/chunk-JA3XYJ7Z-CpKHrbOX.js +1849 -0
- package/dist/chunk-JZLCHNYA-CYo7ykJf.js +4863 -0
- package/dist/chunk-JZLCHNYA-CvPIQFXP.cjs +54 -0
- package/dist/chunk-QN33PNHL-BFbXAWI4.js +25 -0
- package/dist/chunk-QN33PNHL-Cu0FHarG.cjs +1 -0
- package/dist/chunk-QXUST7PY-CnnfdJrM.cjs +7 -0
- package/dist/chunk-QXUST7PY-CxCAwQqP.js +488 -0
- package/dist/chunk-QZHKN3VN-2e6nJr8c.cjs +1 -0
- package/dist/chunk-QZHKN3VN-Dal4kx9B.js +15 -0
- package/dist/chunk-S3R3BYOJ-B2ozcJNg.cjs +2 -0
- package/dist/chunk-S3R3BYOJ-CG6GoSCd.js +1119 -0
- package/dist/chunk-TZMSLE5B-CooeLs4Q.js +57 -0
- package/dist/chunk-TZMSLE5B-D92K1Ja5.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-Bv1XCvDZ.js +28 -0
- package/dist/classDiagram-2ON5EDUG-BzMV1CJW.cjs +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-Bqxv5U7u.js +28 -0
- package/dist/classDiagram-v2-WZHVMYZB-BzMV1CJW.cjs +1 -0
- package/dist/clone-B0KDIkSS.js +8 -0
- package/dist/clone-wvtBTB6v.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-DMHTv1aW.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-bGPAcpg6.js +2250 -0
- package/dist/custom-Bl_fVJZ0.cjs +84 -0
- package/dist/custom-D-TzPpWT.js +5281 -0
- package/dist/cytoscape.esm-CElDUMAx.cjs +321 -0
- package/dist/cytoscape.esm-xf9dtmBj.js +18100 -0
- package/dist/dagre-6UL2VRFP-3bgUxzqG.js +294 -0
- package/dist/dagre-6UL2VRFP-B3NqmIxs.cjs +4 -0
- package/dist/dagre-BfAHSwtP.js +1472 -0
- package/dist/dagre-Buvkww-e.cjs +1 -0
- package/dist/defaultLocale-B5dSAwiC.js +201 -0
- package/dist/defaultLocale-G0HsdRIB.cjs +1 -0
- package/dist/diagram-PSM6KHXK-C4FjxUHt.cjs +24 -0
- package/dist/diagram-PSM6KHXK-CF8TkgzX.js +527 -0
- package/dist/diagram-QEK2KX5R-Dl3IHeA5.js +213 -0
- package/dist/diagram-QEK2KX5R-Z9DYjr44.cjs +43 -0
- package/dist/diagram-S2PKOQOG-Bib-zL2S.cjs +24 -0
- package/dist/diagram-S2PKOQOG-ZKvn7IEe.js +133 -0
- package/dist/dist-DC-lM4uX.cjs +1 -0
- package/dist/dist-zNcLEPGR.js +51 -0
- package/dist/erDiagram-Q2GNP2WA-DFMV9OUT.cjs +60 -0
- package/dist/erDiagram-Q2GNP2WA-DJYJEzEB.js +1600 -0
- package/dist/flowDiagram-NV44I4VS-7TxeawHS.cjs +162 -0
- package/dist/flowDiagram-NV44I4VS-CXa6ycqs.js +4128 -0
- package/dist/ganttDiagram-LVOFAZNH-DqT7pu4m.js +2869 -0
- package/dist/ganttDiagram-LVOFAZNH-iiExGpwF.cjs +267 -0
- package/dist/gitGraph-ZV4HHKMB-BjaEVcYh.cjs +1 -0
- package/dist/gitGraph-ZV4HHKMB-Cl2I6-l3.js +2 -0
- package/dist/gitGraphDiagram-NY62KEGX-Tphu_MeC.js +621 -0
- package/dist/gitGraphDiagram-NY62KEGX-k5xzXg7C.cjs +65 -0
- package/dist/graphlib-C3tPLMbC.js +225 -0
- package/dist/graphlib-Cdg0u3TT.cjs +1 -0
- package/dist/info-63CPKGFF-D2A5GDFo.js +2 -0
- package/dist/info-63CPKGFF-MRaucWlf.cjs +1 -0
- package/dist/infoDiagram-F6ZHWCRC-3Jwo4J0f.cjs +2 -0
- package/dist/infoDiagram-F6ZHWCRC-BUoruN76.js +19 -0
- package/dist/init-07zIhv_j.cjs +1 -0
- package/dist/init-Bwwdo3M6.js +15 -0
- package/dist/journeyDiagram-XKPGCS4Q-C_3oD9RV.cjs +139 -0
- package/dist/journeyDiagram-XKPGCS4Q-DB7INfrf.js +883 -0
- package/dist/kanban-definition-3W4ZIXB7-AVLIBuMF.js +968 -0
- package/dist/kanban-definition-3W4ZIXB7-txUXjKzB.cjs +89 -0
- package/dist/katex-6UpFeIdV.cjs +261 -0
- package/dist/katex-BHcJffnM.js +22112 -0
- package/dist/line-DYhVGH2B.js +34 -0
- package/dist/line-DdNAPGaw.cjs +1 -0
- package/dist/linear-n4_iirEu.js +289 -0
- package/dist/linear-rQLpRrSH.cjs +1 -0
- package/dist/loadCss-D6257oR0.js +8 -0
- package/dist/loadCss-DhrQh6-A.cjs +1 -0
- package/dist/markdown-it-Cz3KGZjR.cjs +2 -0
- package/dist/markdown-it-D-hH4G7k.js +173 -0
- package/dist/math-G8rF7UWn.cjs +1 -0
- package/dist/math-H49DsxYR.js +10 -0
- package/dist/mermaid-parser.core-B84fnaGG.js +11904 -0
- package/dist/mermaid-parser.core-C9EbhVVg.cjs +82 -0
- package/dist/mindmap-definition-VGOIOE7T-CXlyYsc6.cjs +68 -0
- package/dist/mindmap-definition-VGOIOE7T-VIt9sDN3.js +963 -0
- package/dist/mio-previewer.cjs.js +11 -21
- package/dist/mio-previewer.css +2 -9
- package/dist/mio-previewer.esm.js +4939 -0
- package/dist/ordinal-C55HfHHp.js +65 -0
- package/dist/ordinal-CUPR-p0T.cjs +1 -0
- package/dist/packet-HUATNLJX-CGNko_oS.cjs +1 -0
- package/dist/packet-HUATNLJX-CVx40lqO.js +2 -0
- package/dist/path-DNvJyUE8.js +85 -0
- package/dist/path-Kklx0M1v.cjs +1 -0
- package/dist/pie-WTHONI2E-BdPx0Cfg.cjs +1 -0
- package/dist/pie-WTHONI2E-DX5V8x0L.js +2 -0
- package/dist/pieDiagram-ADFJNKIX-BysReYfx.js +165 -0
- package/dist/pieDiagram-ADFJNKIX-CTT1YMsk.cjs +30 -0
- package/dist/plugins/custom.cjs.js +1 -1
- package/dist/plugins/custom.esm.js +2 -0
- package/dist/plugins/markdown-it.cjs.js +1 -3
- package/dist/plugins/markdown-it.esm.js +2 -0
- package/dist/quadrantDiagram-AYHSOK5B-8-V3cwsC.cjs +7 -0
- package/dist/quadrantDiagram-AYHSOK5B-DRutDK03.js +1974 -0
- package/dist/radar-NJJJXTRR-CTD6M8nl.js +2 -0
- package/dist/radar-NJJJXTRR-wJoTnQbj.cjs +1 -0
- package/dist/requirementDiagram-UZGBJVZJ-DFRpWnfW.cjs +64 -0
- package/dist/requirementDiagram-UZGBJVZJ-DNYoJyhG.js +2191 -0
- package/dist/sankeyDiagram-TZEHDZUN-B9fxDP0Q.cjs +10 -0
- package/dist/sankeyDiagram-TZEHDZUN-DD6bkI4Z.js +920 -0
- package/dist/sequenceDiagram-WL72ISMW-Bmptok1c.js +3562 -0
- package/dist/sequenceDiagram-WL72ISMW-D9sXtgAn.cjs +145 -0
- package/dist/src-BMjps4Ui.cjs +1 -0
- package/dist/src-BuisGndr.js +2149 -0
- package/dist/stateDiagram-FKZM4ZOC-Bmiw8fnW.js +217 -0
- package/dist/stateDiagram-FKZM4ZOC-DiD1WJPM.cjs +1 -0
- package/dist/stateDiagram-v2-4FDKWEC3-5ADhn1IF.js +27 -0
- package/dist/stateDiagram-v2-4FDKWEC3-BjhmCPL1.cjs +1 -0
- package/dist/timeline-definition-IT6M3QCI-C9VMls3W.js +830 -0
- package/dist/timeline-definition-IT6M3QCI-ZzbHXhNl.cjs +61 -0
- package/dist/treemap-75Q7IDZK-9TPMYr3R.cjs +1 -0
- package/dist/treemap-75Q7IDZK-u3p-cHDL.js +2 -0
- package/dist/types/plugins/custom/codeBlockPlugin.d.ts +8 -0
- package/dist/types/plugins/custom/mermaidPlugin.d.ts +4 -0
- package/dist/xychartDiagram-PRI3JC2R-BI6KuGZ2.cjs +7 -0
- package/dist/xychartDiagram-PRI3JC2R-BWabDL1u.js +2041 -0
- package/package.json +2 -2
- package/dist/_basePickBy-Be3yyf2d.js +0 -151
- package/dist/_basePickBy-Z0DtrAKQ.cjs +0 -1
- package/dist/_baseUniq-BXkA0Pgx.js +0 -614
- package/dist/_baseUniq-Dq2eV1vY.cjs +0 -1
- package/dist/arc-B-QGG8RZ.cjs +0 -1
- package/dist/arc-djW14lrn.js +0 -83
- package/dist/architecture-O4VJ6CD3-Cws_zM2K.cjs +0 -1
- package/dist/architecture-O4VJ6CD3-pdMXTCaT.js +0 -5
- package/dist/architectureDiagram-VXUJARFQ-BwchhvqL.js +0 -4661
- package/dist/architectureDiagram-VXUJARFQ-DxDLWGpO.cjs +0 -36
- package/dist/assets/parser.worker-67NQKZt5.js +0 -16
- package/dist/blockDiagram-VD42YOAC-B4Xc8gfX.cjs +0 -122
- package/dist/blockDiagram-VD42YOAC-DpPneP6J.js +0 -2261
- package/dist/c4Diagram-YG6GDRKO-695lQbrZ.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-Cnlax2Xq.js +0 -1580
- package/dist/channel-D_ITz6Jy.cjs +0 -1
- package/dist/channel-sXy9EduO.js +0 -5
- package/dist/chunk-4BX2VUAB-Bdx3_f83.cjs +0 -1
- package/dist/chunk-4BX2VUAB-DRkGmgAZ.js +0 -8
- package/dist/chunk-55IACEB6-BB03hpRC.cjs +0 -1
- package/dist/chunk-55IACEB6-Ord5OQlh.js +0 -8
- package/dist/chunk-B4BG7PRW-Ca0fOgzA.cjs +0 -165
- package/dist/chunk-B4BG7PRW-D-cs8bDX.js +0 -1375
- package/dist/chunk-DI55MBZ5-BsRe2B2M.cjs +0 -220
- package/dist/chunk-DI55MBZ5-DSmlLD1s.js +0 -1370
- package/dist/chunk-FMBD7UC4-IYQmAMTo.js +0 -19
- package/dist/chunk-QN33PNHL-B7G6Qlf3.cjs +0 -1
- package/dist/chunk-QN33PNHL-EYMc4JVr.js +0 -19
- package/dist/chunk-QZHKN3VN-B8NJ6Ahx.cjs +0 -1
- package/dist/chunk-QZHKN3VN-C4WIG5z8.js +0 -15
- package/dist/chunk-TZMSLE5B-BoM53RHv.js +0 -64
- package/dist/chunk-TZMSLE5B-CgLDb48A.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-CxmdZvqc.js +0 -16
- package/dist/classDiagram-2ON5EDUG-DIRim8qa.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-CxmdZvqc.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-DIRim8qa.cjs +0 -1
- package/dist/clone-DOYxaT_d.js +0 -8
- package/dist/clone-DSlm33NG.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-BD3p1OC_.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-yLoaqH3G.js +0 -2608
- package/dist/cytoscape.esm-DHF7mANN.cjs +0 -331
- package/dist/cytoscape.esm-DfdJODL8.js +0 -18735
- package/dist/dagre-6UL2VRFP-DG1oQ4B2.cjs +0 -4
- package/dist/dagre-6UL2VRFP-VjboDBbp.js +0 -444
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-C1p0l5TY.js +0 -531
- package/dist/diagram-PSM6KHXK-a4rni6rJ.cjs +0 -24
- package/dist/diagram-QEK2KX5R-CErKOsX1.cjs +0 -43
- package/dist/diagram-QEK2KX5R-CKmmuumX.js +0 -217
- package/dist/diagram-S2PKOQOG-B1M7qCNl.cjs +0 -24
- package/dist/diagram-S2PKOQOG-BMLCJExF.js +0 -142
- package/dist/erDiagram-Q2GNP2WA-BfuCa_Za.cjs +0 -60
- package/dist/erDiagram-Q2GNP2WA-fOTsQA-d.js +0 -841
- package/dist/flowDiagram-NV44I4VS-BEqeUuqz.cjs +0 -162
- package/dist/flowDiagram-NV44I4VS-DDwRAjVG.js +0 -1620
- package/dist/ganttDiagram-LVOFAZNH-BbuRS8g3.js +0 -2505
- package/dist/ganttDiagram-LVOFAZNH-BlVeWKRf.cjs +0 -267
- package/dist/gitGraph-ZV4HHKMB-Bmu8r_Iq.cjs +0 -1
- package/dist/gitGraph-ZV4HHKMB-DcQ2E4dF.js +0 -5
- package/dist/gitGraphDiagram-NY62KEGX-DcMEeNh7.cjs +0 -65
- package/dist/gitGraphDiagram-NY62KEGX-_sWVSKbL.js +0 -699
- package/dist/graph-DEnt0OtZ.js +0 -247
- package/dist/graph-Dgcjs2XL.cjs +0 -1
- package/dist/info-63CPKGFF-DVDDcoHy.js +0 -5
- package/dist/info-63CPKGFF-Dc3cWL0G.cjs +0 -1
- package/dist/infoDiagram-F6ZHWCRC-DoUSS0kC.js +0 -24
- package/dist/infoDiagram-F6ZHWCRC-ZeTrjgaE.cjs +0 -2
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-DGe13iBu.js +0 -834
- package/dist/journeyDiagram-XKPGCS4Q-Ihl9g4mY.cjs +0 -139
- package/dist/kanban-definition-3W4ZIXB7-2qkrkVLK.cjs +0 -89
- package/dist/kanban-definition-3W4ZIXB7-BhWe5nMU.js +0 -719
- package/dist/katex-CmGeg_OO.js +0 -11692
- package/dist/katex-DEiiRhcn.cjs +0 -261
- package/dist/layout-BDNzBIaA.cjs +0 -1
- package/dist/layout-DTBfbHzy.js +0 -1324
- package/dist/linear-BRl2UYUr.cjs +0 -1
- package/dist/linear-CwbXkgvF.js +0 -259
- package/dist/loadCss-BbD6mdv-.cjs +0 -1
- package/dist/loadCss-DS0Fuaxe.js +0 -8
- package/dist/mermaid-parser.core-CJ1yJm0s.js +0 -12966
- package/dist/mermaid-parser.core-CxTcWSA2.cjs +0 -128
- package/dist/mindmap-definition-VGOIOE7T-BPUEmP7g.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-DSqZBgzR.js +0 -784
- package/dist/mio-previewer.es.js +0 -6171
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/ordinal-DfAQgscy.js +0 -61
- package/dist/packet-HUATNLJX-B-qfkr5X.cjs +0 -1
- package/dist/packet-HUATNLJX-Dxob_meO.js +0 -5
- package/dist/pie-WTHONI2E-BRtdTGWt.js +0 -5
- package/dist/pie-WTHONI2E-DK7f6qJw.cjs +0 -1
- package/dist/pieDiagram-ADFJNKIX-Dhq_bEzm.js +0 -161
- package/dist/pieDiagram-ADFJNKIX-V04ms3gr.cjs +0 -30
- package/dist/plugins/custom.es.js +0 -85
- package/dist/plugins/markdown-it.es.js +0 -173
- package/dist/quadrantDiagram-AYHSOK5B-C97bOmUE.js +0 -1022
- package/dist/quadrantDiagram-AYHSOK5B-DlqFPVhi.cjs +0 -7
- package/dist/radar-NJJJXTRR-B9jT3LP3.cjs +0 -1
- package/dist/radar-NJJJXTRR-D8plmle3.js +0 -5
- package/dist/requirementDiagram-UZGBJVZJ-BxVMLKfQ.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-DENJ74Ew.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-DwgW7Suq.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-lTBLhaSq.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-BAOeX1dA.js +0 -2511
- package/dist/sequenceDiagram-WL72ISMW-BRVvH1X4.cjs +0 -145
- package/dist/stateDiagram-FKZM4ZOC-BrFQE7Gl.js +0 -263
- package/dist/stateDiagram-FKZM4ZOC-D8GjooGL.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-4VRIY-eH.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-DnrWD6a3.js +0 -16
- package/dist/timeline-definition-IT6M3QCI-BJMIlueb.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-BQFGUuGP.cjs +0 -61
- package/dist/treemap-75Q7IDZK-BX1vBFWf.cjs +0 -1
- package/dist/treemap-75Q7IDZK-CMTkunTV.js +0 -5
- package/dist/viewer-CZUSHxhf.js +0 -19131
- package/dist/viewer-Canph5Zx.cjs +0 -305
- package/dist/xychartDiagram-PRI3JC2R-Sl8WX8wc.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-WnFI7Ezu.js +0 -1340
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { n as e, t } from "./path-DNvJyUE8.js";
|
|
2
|
+
import { t as n } from "./array-CApNbSU9.js";
|
|
3
|
+
import { k as r } from "./chunk-S3R3BYOJ-CG6GoSCd.js";
|
|
4
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js
|
|
5
|
+
function i(e) {
|
|
6
|
+
return e[0];
|
|
7
|
+
}
|
|
8
|
+
function a(e) {
|
|
9
|
+
return e[1];
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.js
|
|
13
|
+
function o(o, s) {
|
|
14
|
+
var c = e(!0), l = null, u = r, d = null, f = t(p);
|
|
15
|
+
o = typeof o == "function" ? o : o === void 0 ? i : e(o), s = typeof s == "function" ? s : s === void 0 ? a : e(s);
|
|
16
|
+
function p(e) {
|
|
17
|
+
var t, r = (e = n(e)).length, i, a = !1, p;
|
|
18
|
+
for (l ?? (d = u(p = f())), t = 0; t <= r; ++t) !(t < r && c(i = e[t], t, e)) === a && ((a = !a) ? d.lineStart() : d.lineEnd()), a && d.point(+o(i, t, e), +s(i, t, e));
|
|
19
|
+
if (p) return d = null, p + "" || null;
|
|
20
|
+
}
|
|
21
|
+
return p.x = function(t) {
|
|
22
|
+
return arguments.length ? (o = typeof t == "function" ? t : e(+t), p) : o;
|
|
23
|
+
}, p.y = function(t) {
|
|
24
|
+
return arguments.length ? (s = typeof t == "function" ? t : e(+t), p) : s;
|
|
25
|
+
}, p.defined = function(t) {
|
|
26
|
+
return arguments.length ? (c = typeof t == "function" ? t : e(!!t), p) : c;
|
|
27
|
+
}, p.curve = function(e) {
|
|
28
|
+
return arguments.length ? (u = e, l != null && (d = u(l)), p) : u;
|
|
29
|
+
}, p.context = function(e) {
|
|
30
|
+
return arguments.length ? (e == null ? l = d = null : d = u(l = e), p) : l;
|
|
31
|
+
}, p;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { o as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./path-Kklx0M1v.cjs"),t=require("./array-DZSRzHA_.cjs"),n=require("./chunk-S3R3BYOJ-B2ozcJNg.cjs");function r(e){return e[0]}function i(e){return e[1]}function a(a,o){var s=e.n(!0),c=null,l=n.k,u=null,d=e.t(f);a=typeof a==`function`?a:a===void 0?r:e.n(a),o=typeof o==`function`?o:o===void 0?i:e.n(o);function f(e){var n,r=(e=t.t(e)).length,i,f=!1,p;for(c??(u=l(p=d())),n=0;n<=r;++n)!(n<r&&s(i=e[n],n,e))===f&&((f=!f)?u.lineStart():u.lineEnd()),f&&u.point(+a(i,n,e),+o(i,n,e));if(p)return u=null,p+``||null}return f.x=function(t){return arguments.length?(a=typeof t==`function`?t:e.n(+t),f):a},f.y=function(t){return arguments.length?(o=typeof t==`function`?t:e.n(+t),f):o},f.defined=function(t){return arguments.length?(s=typeof t==`function`?t:e.n(!!t),f):s},f.curve=function(e){return arguments.length?(l=e,c!=null&&(u=l(c)),f):l},f.context=function(e){return arguments.length?(e==null?c=u=null:u=l(c=e),f):c},f}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { l as e, n as t, o as n, r, t as i } from "./src-BuisGndr.js";
|
|
2
|
+
import { i as a, n as o, r as s, t as c } from "./defaultLocale-B5dSAwiC.js";
|
|
3
|
+
import { t as l } from "./init-Bwwdo3M6.js";
|
|
4
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.js
|
|
5
|
+
function u(e, t) {
|
|
6
|
+
return e == null || t == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js
|
|
10
|
+
function d(e, t) {
|
|
11
|
+
return e == null || t == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js
|
|
15
|
+
function f(e) {
|
|
16
|
+
let t, n, r;
|
|
17
|
+
e.length === 2 ? (t = e === u || e === d ? e : p, n = e, r = e) : (t = u, n = (t, n) => u(e(t), n), r = (t, n) => e(t) - n);
|
|
18
|
+
function i(e, r, i = 0, a = e.length) {
|
|
19
|
+
if (i < a) {
|
|
20
|
+
if (t(r, r) !== 0) return a;
|
|
21
|
+
do {
|
|
22
|
+
let t = i + a >>> 1;
|
|
23
|
+
n(e[t], r) < 0 ? i = t + 1 : a = t;
|
|
24
|
+
} while (i < a);
|
|
25
|
+
}
|
|
26
|
+
return i;
|
|
27
|
+
}
|
|
28
|
+
function a(e, r, i = 0, a = e.length) {
|
|
29
|
+
if (i < a) {
|
|
30
|
+
if (t(r, r) !== 0) return a;
|
|
31
|
+
do {
|
|
32
|
+
let t = i + a >>> 1;
|
|
33
|
+
n(e[t], r) <= 0 ? i = t + 1 : a = t;
|
|
34
|
+
} while (i < a);
|
|
35
|
+
}
|
|
36
|
+
return i;
|
|
37
|
+
}
|
|
38
|
+
function o(e, t, n = 0, a = e.length) {
|
|
39
|
+
let o = i(e, t, n, a - 1);
|
|
40
|
+
return o > n && r(e[o - 1], t) > -r(e[o], t) ? o - 1 : o;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
left: i,
|
|
44
|
+
center: o,
|
|
45
|
+
right: a
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function p() {
|
|
49
|
+
return 0;
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js
|
|
53
|
+
function m(e) {
|
|
54
|
+
return e === null ? NaN : +e;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js
|
|
58
|
+
var h = f(u), g = h.right;
|
|
59
|
+
h.left, f(m).center;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js
|
|
62
|
+
var _ = Math.sqrt(50), v = Math.sqrt(10), y = Math.sqrt(2);
|
|
63
|
+
function b(e, t, n) {
|
|
64
|
+
let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >= _ ? 10 : a >= v ? 5 : a >= y ? 2 : 1, s, c, l;
|
|
65
|
+
return i < 0 ? (l = 10 ** -i / o, s = Math.round(e * l), c = Math.round(t * l), s / l < e && ++s, c / l > t && --c, l = -l) : (l = 10 ** i * o, s = Math.round(e / l), c = Math.round(t / l), s * l < e && ++s, c * l > t && --c), c < s && .5 <= n && n < 2 ? b(e, t, n * 2) : [
|
|
66
|
+
s,
|
|
67
|
+
c,
|
|
68
|
+
l
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
function x(e, t, n) {
|
|
72
|
+
if (t = +t, e = +e, n = +n, !(n > 0)) return [];
|
|
73
|
+
if (e === t) return [e];
|
|
74
|
+
let r = t < e, [i, a, o] = r ? b(t, e, n) : b(e, t, n);
|
|
75
|
+
if (!(a >= i)) return [];
|
|
76
|
+
let s = a - i + 1, c = Array(s);
|
|
77
|
+
if (r) if (o < 0) for (let e = 0; e < s; ++e) c[e] = (a - e) / -o;
|
|
78
|
+
else for (let e = 0; e < s; ++e) c[e] = (a - e) * o;
|
|
79
|
+
else if (o < 0) for (let e = 0; e < s; ++e) c[e] = (i + e) / -o;
|
|
80
|
+
else for (let e = 0; e < s; ++e) c[e] = (i + e) * o;
|
|
81
|
+
return c;
|
|
82
|
+
}
|
|
83
|
+
function S(e, t, n) {
|
|
84
|
+
return t = +t, e = +e, n = +n, b(e, t, n)[2];
|
|
85
|
+
}
|
|
86
|
+
function C(e, t, n) {
|
|
87
|
+
t = +t, e = +e, n = +n;
|
|
88
|
+
let r = t < e, i = r ? S(t, e, n) : S(e, t, n);
|
|
89
|
+
return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.js
|
|
93
|
+
function w(e, t) {
|
|
94
|
+
t ||= [];
|
|
95
|
+
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
|
|
96
|
+
return function(a) {
|
|
97
|
+
for (i = 0; i < n; ++i) r[i] = e[i] * (1 - a) + t[i] * a;
|
|
98
|
+
return r;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function T(e) {
|
|
102
|
+
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js
|
|
106
|
+
function E(e, t) {
|
|
107
|
+
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
|
|
108
|
+
for (o = 0; o < r; ++o) i[o] = k(e[o], t[o]);
|
|
109
|
+
for (; o < n; ++o) a[o] = t[o];
|
|
110
|
+
return function(e) {
|
|
111
|
+
for (o = 0; o < r; ++o) a[o] = i[o](e);
|
|
112
|
+
return a;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.js
|
|
117
|
+
function D(e, t) {
|
|
118
|
+
var n = /* @__PURE__ */ new Date();
|
|
119
|
+
return e = +e, t = +t, function(r) {
|
|
120
|
+
return n.setTime(e * (1 - r) + t * r), n;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js
|
|
125
|
+
function O(e, t) {
|
|
126
|
+
var n = {}, r = {}, i;
|
|
127
|
+
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = k(e[i], t[i]) : r[i] = t[i];
|
|
128
|
+
return function(e) {
|
|
129
|
+
for (i in n) r[i] = n[i](e);
|
|
130
|
+
return r;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js
|
|
135
|
+
function k(a, o) {
|
|
136
|
+
var s = typeof o, c;
|
|
137
|
+
return o == null || s === "boolean" ? n(o) : (s === "number" ? t : s === "string" ? (c = e(o)) ? (o = c, r) : i : o instanceof e ? r : o instanceof Date ? D : T(o) ? w : Array.isArray(o) ? E : typeof o.valueOf != "function" && typeof o.toString != "function" || isNaN(o) ? O : t)(a, o);
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js
|
|
141
|
+
function A(e, t) {
|
|
142
|
+
return e = +e, t = +t, function(n) {
|
|
143
|
+
return Math.round(e * (1 - n) + t * n);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.js
|
|
148
|
+
function j(e) {
|
|
149
|
+
return Math.max(0, -a(Math.abs(e)));
|
|
150
|
+
}
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.js
|
|
153
|
+
function M(e, t) {
|
|
154
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(a(t) / 3))) * 3 - a(Math.abs(e)));
|
|
155
|
+
}
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.js
|
|
158
|
+
function N(e, t) {
|
|
159
|
+
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, a(t) - a(e)) + 1;
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js
|
|
163
|
+
function P(e) {
|
|
164
|
+
return function() {
|
|
165
|
+
return e;
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.js
|
|
170
|
+
function F(e) {
|
|
171
|
+
return +e;
|
|
172
|
+
}
|
|
173
|
+
//#endregion
|
|
174
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js
|
|
175
|
+
var I = [0, 1];
|
|
176
|
+
function L(e) {
|
|
177
|
+
return e;
|
|
178
|
+
}
|
|
179
|
+
function R(e, t) {
|
|
180
|
+
return (t -= e = +e) ? function(n) {
|
|
181
|
+
return (n - e) / t;
|
|
182
|
+
} : P(isNaN(t) ? NaN : .5);
|
|
183
|
+
}
|
|
184
|
+
function z(e, t) {
|
|
185
|
+
var n;
|
|
186
|
+
return e > t && (n = e, e = t, t = n), function(n) {
|
|
187
|
+
return Math.max(e, Math.min(t, n));
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function B(e, t, n) {
|
|
191
|
+
var r = e[0], i = e[1], a = t[0], o = t[1];
|
|
192
|
+
return i < r ? (r = R(i, r), a = n(o, a)) : (r = R(r, i), a = n(a, o)), function(e) {
|
|
193
|
+
return a(r(e));
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
function V(e, t, n) {
|
|
197
|
+
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
|
|
198
|
+
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = R(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
|
|
199
|
+
return function(t) {
|
|
200
|
+
var n = g(e, t, 1, r) - 1;
|
|
201
|
+
return a[n](i[n](t));
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function H(e, t) {
|
|
205
|
+
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
|
|
206
|
+
}
|
|
207
|
+
function U() {
|
|
208
|
+
var e = I, n = I, r = k, i, a, o, s = L, c, l, u;
|
|
209
|
+
function d() {
|
|
210
|
+
var t = Math.min(e.length, n.length);
|
|
211
|
+
return s !== L && (s = z(e[0], e[t - 1])), c = t > 2 ? V : B, l = u = null, f;
|
|
212
|
+
}
|
|
213
|
+
function f(t) {
|
|
214
|
+
return t == null || isNaN(t = +t) ? o : (l ||= c(e.map(i), n, r))(i(s(t)));
|
|
215
|
+
}
|
|
216
|
+
return f.invert = function(r) {
|
|
217
|
+
return s(a((u ||= c(n, e.map(i), t))(r)));
|
|
218
|
+
}, f.domain = function(t) {
|
|
219
|
+
return arguments.length ? (e = Array.from(t, F), d()) : e.slice();
|
|
220
|
+
}, f.range = function(e) {
|
|
221
|
+
return arguments.length ? (n = Array.from(e), d()) : n.slice();
|
|
222
|
+
}, f.rangeRound = function(e) {
|
|
223
|
+
return n = Array.from(e), r = A, d();
|
|
224
|
+
}, f.clamp = function(e) {
|
|
225
|
+
return arguments.length ? (s = e ? !0 : L, d()) : s !== L;
|
|
226
|
+
}, f.interpolate = function(e) {
|
|
227
|
+
return arguments.length ? (r = e, d()) : r;
|
|
228
|
+
}, f.unknown = function(e) {
|
|
229
|
+
return arguments.length ? (o = e, f) : o;
|
|
230
|
+
}, function(e, t) {
|
|
231
|
+
return i = e, a = t, d();
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
function W() {
|
|
235
|
+
return U()(L, L);
|
|
236
|
+
}
|
|
237
|
+
//#endregion
|
|
238
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js
|
|
239
|
+
function G(e, t, n, r) {
|
|
240
|
+
var i = C(e, t, n), a;
|
|
241
|
+
switch (r = s(r ?? ",f"), r.type) {
|
|
242
|
+
case "s":
|
|
243
|
+
var l = Math.max(Math.abs(e), Math.abs(t));
|
|
244
|
+
return r.precision == null && !isNaN(a = M(i, l)) && (r.precision = a), o(r, l);
|
|
245
|
+
case "":
|
|
246
|
+
case "e":
|
|
247
|
+
case "g":
|
|
248
|
+
case "p":
|
|
249
|
+
case "r":
|
|
250
|
+
r.precision == null && !isNaN(a = N(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
|
|
251
|
+
break;
|
|
252
|
+
case "f":
|
|
253
|
+
case "%":
|
|
254
|
+
r.precision == null && !isNaN(a = j(i)) && (r.precision = a - (r.type === "%") * 2);
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
return c(r);
|
|
258
|
+
}
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.js
|
|
261
|
+
function K(e) {
|
|
262
|
+
var t = e.domain;
|
|
263
|
+
return e.ticks = function(e) {
|
|
264
|
+
var n = t();
|
|
265
|
+
return x(n[0], n[n.length - 1], e ?? 10);
|
|
266
|
+
}, e.tickFormat = function(e, n) {
|
|
267
|
+
var r = t();
|
|
268
|
+
return G(r[0], r[r.length - 1], e ?? 10, n);
|
|
269
|
+
}, e.nice = function(n) {
|
|
270
|
+
n ??= 10;
|
|
271
|
+
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
|
|
272
|
+
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
|
|
273
|
+
if (l = S(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
|
|
274
|
+
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
|
|
275
|
+
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
|
|
276
|
+
else break;
|
|
277
|
+
c = l;
|
|
278
|
+
}
|
|
279
|
+
return e;
|
|
280
|
+
}, e;
|
|
281
|
+
}
|
|
282
|
+
function q() {
|
|
283
|
+
var e = W();
|
|
284
|
+
return e.copy = function() {
|
|
285
|
+
return H(e, q());
|
|
286
|
+
}, l.apply(e, arguments), K(e);
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
289
|
+
export { f as a, C as i, W as n, H as r, q as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./src-BMjps4Ui.cjs"),t=require("./defaultLocale-G0HsdRIB.cjs"),n=require("./init-07zIhv_j.cjs");function r(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function i(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function a(e){let t,n,a;e.length===2?(t=e===r||e===i?e:o,n=e,a=e):(t=r,n=(t,n)=>r(e(t),n),a=(t,n)=>e(t)-n);function s(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function c(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function l(e,t,n=0,r=e.length){let i=s(e,t,n,r-1);return i>n&&a(e[i-1],t)>-a(e[i],t)?i-1:i}return{left:s,center:l,right:c}}function o(){return 0}function s(e){return e===null?NaN:+e}var c=a(r),l=c.right;c.left,a(s).center;var u=Math.sqrt(50),d=Math.sqrt(10),f=Math.sqrt(2);function p(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=u?10:a>=d?5:a>=f?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?p(e,t,n*2):[s,c,l]}function m(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?p(t,e,n):p(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function h(e,t,n){return t=+t,e=+e,n=+n,p(e,t,n)[2]}function g(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?h(t,e,n):h(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function _(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function v(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function y(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=S(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function b(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function x(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=S(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}function S(t,n){var r=typeof n,i;return n==null||r===`boolean`?e.o(n):(r===`number`?e.n:r===`string`?(i=e.l(n))?(n=i,e.r):e.t:n instanceof e.l?e.r:n instanceof Date?b:v(n)?_:Array.isArray(n)?y:typeof n.valueOf!=`function`&&typeof n.toString!=`function`||isNaN(n)?x:e.n)(t,n)}function C(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function w(e){return Math.max(0,-t.i(Math.abs(e)))}function T(e,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(t.i(n)/3)))*3-t.i(Math.abs(e)))}function E(e,n){return e=Math.abs(e),n=Math.abs(n)-e,Math.max(0,t.i(n)-t.i(e))+1}function D(e){return function(){return e}}function O(e){return+e}var k=[0,1];function A(e){return e}function j(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:D(isNaN(t)?NaN:.5)}function M(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function N(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=j(i,r),a=n(o,a)):(r=j(r,i),a=n(a,o)),function(e){return a(r(e))}}function P(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=j(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=l(e,t,1,r)-1;return a[n](i[n](t))}}function F(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function I(){var t=k,n=k,r=S,i,a,o,s=A,c,l,u;function d(){var e=Math.min(t.length,n.length);return s!==A&&(s=M(t[0],t[e-1])),c=e>2?P:N,l=u=null,f}function f(e){return e==null||isNaN(e=+e)?o:(l||=c(t.map(i),n,r))(i(s(e)))}return f.invert=function(r){return s(a((u||=c(n,t.map(i),e.n))(r)))},f.domain=function(e){return arguments.length?(t=Array.from(e,O),d()):t.slice()},f.range=function(e){return arguments.length?(n=Array.from(e),d()):n.slice()},f.rangeRound=function(e){return n=Array.from(e),r=C,d()},f.clamp=function(e){return arguments.length?(s=e?!0:A,d()):s!==A},f.interpolate=function(e){return arguments.length?(r=e,d()):r},f.unknown=function(e){return arguments.length?(o=e,f):o},function(e,t){return i=e,a=t,d()}}function L(){return I()(A,A)}function R(e,n,r,i){var a=g(e,n,r),o;switch(i=t.r(i??`,f`),i.type){case`s`:var s=Math.max(Math.abs(e),Math.abs(n));return i.precision==null&&!isNaN(o=T(a,s))&&(i.precision=o),t.n(i,s);case``:case`e`:case`g`:case`p`:case`r`:i.precision==null&&!isNaN(o=E(a,Math.max(Math.abs(e),Math.abs(n))))&&(i.precision=o-(i.type===`e`));break;case`f`:case`%`:i.precision==null&&!isNaN(o=w(a))&&(i.precision=o-(i.type===`%`)*2);break}return t.t(i)}function z(e){var t=e.domain;return e.ticks=function(e){var n=t();return m(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return R(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=h(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function B(){var e=L();return e.copy=function(){return F(e,B())},n.t.apply(e,arguments),z(e)}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return B}});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/utils/loadCss.ts
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (typeof document > "u" || t && document.getElementById(t) || Array.from(document.querySelectorAll("link[rel=\"stylesheet\"]")).some((n) => n.href === e || t && n.id === t)) return;
|
|
4
|
+
let n = document.createElement("link");
|
|
5
|
+
n.rel = "stylesheet", n.href = e, t && (n.id = t), document.head.appendChild(n);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){if(typeof document>`u`||t&&document.getElementById(t)||Array.from(document.querySelectorAll(`link[rel="stylesheet"]`)).some(n=>n.href===e||t&&n.id===t))return;let n=document.createElement(`link`);n.rel=`stylesheet`,n.href=e,t&&(n.id=t),document.head.appendChild(n)}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("./loadCss-DhrQh6-A.cjs"),t=require("./katex-6UpFeIdV.cjs");function n(e,t,n){function r(e){return e.trim().split(` `,2)[0]===t}function i(e,n,r,i,a){return e[n].nesting===1&&e[n].attrJoin(`class`,t),a.renderToken(e,n,r,i,a)}n||={};let a=n.marker||`:`,o=a.charCodeAt(0),s=a.length,c=n.validate||r,l=n.render||i;function u(e,n,r,i){let l,u=!1,d=e.bMarks[n]+e.tShift[n],f=e.eMarks[n];if(o!==e.src.charCodeAt(d))return!1;for(l=d+1;l<=f&&a[(l-d)%s]===e.src[l];l++);let p=Math.floor((l-d)/s);if(p<3)return!1;l-=(l-d)%s;let m=e.src.slice(d,l),h=e.src.slice(l,f);if(!c(h,m))return!1;if(i)return!0;let g=n;for(;g++,!(g>=r||(d=e.bMarks[g]+e.tShift[g],f=e.eMarks[g],d<f&&e.sCount[g]<e.blkIndent));)if(o===e.src.charCodeAt(d)&&!(e.sCount[g]-e.blkIndent>=4)){for(l=d+1;l<=f&&a[(l-d)%s]===e.src[l];l++);if(!(Math.floor((l-d)/s)<p)&&(l-=(l-d)%s,l=e.skipSpaces(l),!(l<f))){u=!0;break}}let _=e.parentType,v=e.lineMax;e.parentType=`container`,e.lineMax=g;let y=e.push(`container_`+t+`_open`,`div`,1);y.markup=m,y.block=!0,y.info=h,y.map=[n,g],e.md.block.tokenize(e,n+1,g);let b=e.push(`container_`+t+`_close`,`div`,-1);return b.markup=e.src.slice(d,l),b.block=!0,e.parentType=_,e.lineMax=v,e.line=g+ +!!u,!0}e.block.ruler.before(`fence`,`container_`+t,u,{alt:[`paragraph`,`reference`,`blockquote`,`list`]}),e.renderer.rules[`container_`+t+`_open`]=l,e.renderer.rules[`container_`+t+`_close`]=l}function r(e){let t=[`info`,`warning`,`error`,`success`],r={info:`#0ea5e9`,warning:`#f59e0b`,error:`#ef4444`,success:`#10b981`};t.forEach(t=>{e.use(n,t,{render:(e,n)=>{let i=r[t];return e[n].nesting===1?`<div class="custom-alert alert-${t}" style="padding: 12px 16px; border-left: 4px solid ${i}; background-color: ${i}15; margin: 8px 0; border-radius: 4px; font-family: system-ui, -apple-system, sans-serif;">\n`:`</div>
|
|
2
|
+
`}})})}function i(e){return o(e)}function a(t){let{cssUrl:n}=t||{};return t=>(n&&typeof window<`u`&&e.t(n),o(t))}function o(e){let n=[{open:`$$`,close:`$$`,display:!0},{open:`\\[`,close:`\\]`,display:!0},{open:`\\(`,close:`\\)`,display:!1},{open:`$`,close:`$`,display:!1}],r=(e,t)=>{let r=e.src;for(let i of n){if(!r.startsWith(i.open,e.pos))continue;let n=e.pos+i.open.length,a=n,o=-1;for(;(a=r.indexOf(i.close,a))!==-1;){let e=a-1,t=0;for(;e>=0&&r[e]===`\\`;)t++,e--;if(t%2==0){o=a;break}a+=i.close.length}if(o===-1)return t||(e.pending+=i.open),e.pos+=i.open.length,!0;let s=r.slice(n,o);if(!t){let t=e.push(`math`,`math`,0);t.content=s,t.markup=i.open,t.meta={display:i.display}}return e.pos=o+i.close.length,!0}return!1},i=(n,r)=>{let i=n[r],a=i.meta?.display||!1;try{let e=t.t.renderToString(i.content,{displayMode:a,throwOnError:!1,output:`mathml`,trust:!1});return a?`<div class="katex-block">${e}</div>`:e}catch(t){let n=t instanceof Error?t.message:String(t),r=e.utils?e.utils.escapeHtml(i.content):i.content;return`<span class="katex-error" title="${e.utils?e.utils.escapeHtml(n):n}">${r}</span>`}};e.inline.ruler.before(`escape`,`math`,r),e.renderer.rules.math=i,e.block.ruler.before(`fence`,`math_block`,(e,t,r,i)=>{for(let a of n){if(!a.display)continue;let n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(n+a.open.length>o||e.src.slice(n,n+a.open.length)!==a.open)continue;n+=a.open.length;let s=e.src.slice(n,o);if(s.trim().endsWith(a.close)){let n=s.trim().slice(0,-a.close.length);if(!i){let r=e.push(`math`,`math`,0);r.block=!0,r.content=n,r.markup=a.open,r.meta={display:a.display},r.map=[t,t+1]}return e.line=t+1,!0}let c=t,l=!1;for(;c<r&&(c++,!(c>=r||(n=e.bMarks[c]+e.tShift[c],o=e.eMarks[c],n<o&&e.tShift[c]<e.blkIndent)));)if(e.src.slice(n,o).trim()===a.close){l=!0;break}if(!l)continue;let u=e.parentType,d=e.lineMax;e.parentType=`math`;let f=``;for(let n=t+1;n<c;n++){let r=e.getLines(n,n+1,e.tShift[t],!1);f+=r}if(!i){let n=e.push(`math`,`math`,0);n.block=!0,n.content=f.trim(),n.markup=a.open,n.meta={display:a.display},n.map=[t,c+1]}return e.parentType=u,e.lineMax=d,e.line=c+1,!0}return!1})}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { t as e } from "./loadCss-D6257oR0.js";
|
|
2
|
+
import { t } from "./katex-BHcJffnM.js";
|
|
3
|
+
//#region node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs
|
|
4
|
+
function n(e, t, n) {
|
|
5
|
+
function r(e) {
|
|
6
|
+
return e.trim().split(" ", 2)[0] === t;
|
|
7
|
+
}
|
|
8
|
+
function i(e, n, r, i, a) {
|
|
9
|
+
return e[n].nesting === 1 && e[n].attrJoin("class", t), a.renderToken(e, n, r, i, a);
|
|
10
|
+
}
|
|
11
|
+
n ||= {};
|
|
12
|
+
let a = n.marker || ":", o = a.charCodeAt(0), s = a.length, c = n.validate || r, l = n.render || i;
|
|
13
|
+
function u(e, n, r, i) {
|
|
14
|
+
let l, u = !1, d = e.bMarks[n] + e.tShift[n], f = e.eMarks[n];
|
|
15
|
+
if (o !== e.src.charCodeAt(d)) return !1;
|
|
16
|
+
for (l = d + 1; l <= f && a[(l - d) % s] === e.src[l]; l++);
|
|
17
|
+
let p = Math.floor((l - d) / s);
|
|
18
|
+
if (p < 3) return !1;
|
|
19
|
+
l -= (l - d) % s;
|
|
20
|
+
let m = e.src.slice(d, l), h = e.src.slice(l, f);
|
|
21
|
+
if (!c(h, m)) return !1;
|
|
22
|
+
if (i) return !0;
|
|
23
|
+
let g = n;
|
|
24
|
+
for (; g++, !(g >= r || (d = e.bMarks[g] + e.tShift[g], f = e.eMarks[g], d < f && e.sCount[g] < e.blkIndent));) if (o === e.src.charCodeAt(d) && !(e.sCount[g] - e.blkIndent >= 4)) {
|
|
25
|
+
for (l = d + 1; l <= f && a[(l - d) % s] === e.src[l]; l++);
|
|
26
|
+
if (!(Math.floor((l - d) / s) < p) && (l -= (l - d) % s, l = e.skipSpaces(l), !(l < f))) {
|
|
27
|
+
u = !0;
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
let _ = e.parentType, v = e.lineMax;
|
|
32
|
+
e.parentType = "container", e.lineMax = g;
|
|
33
|
+
let y = e.push("container_" + t + "_open", "div", 1);
|
|
34
|
+
y.markup = m, y.block = !0, y.info = h, y.map = [n, g], e.md.block.tokenize(e, n + 1, g);
|
|
35
|
+
let b = e.push("container_" + t + "_close", "div", -1);
|
|
36
|
+
return b.markup = e.src.slice(d, l), b.block = !0, e.parentType = _, e.lineMax = v, e.line = g + +!!u, !0;
|
|
37
|
+
}
|
|
38
|
+
e.block.ruler.before("fence", "container_" + t, u, { alt: [
|
|
39
|
+
"paragraph",
|
|
40
|
+
"reference",
|
|
41
|
+
"blockquote",
|
|
42
|
+
"list"
|
|
43
|
+
] }), e.renderer.rules["container_" + t + "_open"] = l, e.renderer.rules["container_" + t + "_close"] = l;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/plugins/markdown-it/alertPlugin.ts
|
|
47
|
+
function r(e) {
|
|
48
|
+
let t = [
|
|
49
|
+
"info",
|
|
50
|
+
"warning",
|
|
51
|
+
"error",
|
|
52
|
+
"success"
|
|
53
|
+
], r = {
|
|
54
|
+
info: "#0ea5e9",
|
|
55
|
+
warning: "#f59e0b",
|
|
56
|
+
error: "#ef4444",
|
|
57
|
+
success: "#10b981"
|
|
58
|
+
};
|
|
59
|
+
t.forEach((t) => {
|
|
60
|
+
e.use(n, t, { render: (e, n) => {
|
|
61
|
+
let i = r[t];
|
|
62
|
+
return e[n].nesting === 1 ? `<div class="custom-alert alert-${t}" style="padding: 12px 16px; border-left: 4px solid ${i}; background-color: ${i}15; margin: 8px 0; border-radius: 4px; font-family: system-ui, -apple-system, sans-serif;">\n` : "</div>\n";
|
|
63
|
+
} });
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/plugins/markdown-it/katexPlugin.ts
|
|
68
|
+
function i(e) {
|
|
69
|
+
return o(e);
|
|
70
|
+
}
|
|
71
|
+
function a(t) {
|
|
72
|
+
let { cssUrl: n } = t || {};
|
|
73
|
+
return (t) => (n && typeof window < "u" && e(n), o(t));
|
|
74
|
+
}
|
|
75
|
+
function o(e) {
|
|
76
|
+
let n = [
|
|
77
|
+
{
|
|
78
|
+
open: "$$",
|
|
79
|
+
close: "$$",
|
|
80
|
+
display: !0
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
open: "\\[",
|
|
84
|
+
close: "\\]",
|
|
85
|
+
display: !0
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
open: "\\(",
|
|
89
|
+
close: "\\)",
|
|
90
|
+
display: !1
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
open: "$",
|
|
94
|
+
close: "$",
|
|
95
|
+
display: !1
|
|
96
|
+
}
|
|
97
|
+
], r = (e, t) => {
|
|
98
|
+
let r = e.src;
|
|
99
|
+
for (let i of n) {
|
|
100
|
+
if (!r.startsWith(i.open, e.pos)) continue;
|
|
101
|
+
let n = e.pos + i.open.length, a = n, o = -1;
|
|
102
|
+
for (; (a = r.indexOf(i.close, a)) !== -1;) {
|
|
103
|
+
let e = a - 1, t = 0;
|
|
104
|
+
for (; e >= 0 && r[e] === "\\";) t++, e--;
|
|
105
|
+
if (t % 2 == 0) {
|
|
106
|
+
o = a;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
a += i.close.length;
|
|
110
|
+
}
|
|
111
|
+
if (o === -1) return t || (e.pending += i.open), e.pos += i.open.length, !0;
|
|
112
|
+
let s = r.slice(n, o);
|
|
113
|
+
if (!t) {
|
|
114
|
+
let t = e.push("math", "math", 0);
|
|
115
|
+
t.content = s, t.markup = i.open, t.meta = { display: i.display };
|
|
116
|
+
}
|
|
117
|
+
return e.pos = o + i.close.length, !0;
|
|
118
|
+
}
|
|
119
|
+
return !1;
|
|
120
|
+
}, i = (n, r) => {
|
|
121
|
+
let i = n[r], a = i.meta?.display || !1;
|
|
122
|
+
try {
|
|
123
|
+
let e = t.renderToString(i.content, {
|
|
124
|
+
displayMode: a,
|
|
125
|
+
throwOnError: !1,
|
|
126
|
+
output: "mathml",
|
|
127
|
+
trust: !1
|
|
128
|
+
});
|
|
129
|
+
return a ? `<div class="katex-block">${e}</div>` : e;
|
|
130
|
+
} catch (t) {
|
|
131
|
+
let n = t instanceof Error ? t.message : String(t), r = e.utils ? e.utils.escapeHtml(i.content) : i.content;
|
|
132
|
+
return `<span class="katex-error" title="${e.utils ? e.utils.escapeHtml(n) : n}">${r}</span>`;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
e.inline.ruler.before("escape", "math", r), e.renderer.rules.math = i, e.block.ruler.before("fence", "math_block", (e, t, r, i) => {
|
|
136
|
+
for (let a of n) {
|
|
137
|
+
if (!a.display) continue;
|
|
138
|
+
let n = e.bMarks[t] + e.tShift[t], o = e.eMarks[t];
|
|
139
|
+
if (n + a.open.length > o || e.src.slice(n, n + a.open.length) !== a.open) continue;
|
|
140
|
+
n += a.open.length;
|
|
141
|
+
let s = e.src.slice(n, o);
|
|
142
|
+
if (s.trim().endsWith(a.close)) {
|
|
143
|
+
let n = s.trim().slice(0, -a.close.length);
|
|
144
|
+
if (!i) {
|
|
145
|
+
let r = e.push("math", "math", 0);
|
|
146
|
+
r.block = !0, r.content = n, r.markup = a.open, r.meta = { display: a.display }, r.map = [t, t + 1];
|
|
147
|
+
}
|
|
148
|
+
return e.line = t + 1, !0;
|
|
149
|
+
}
|
|
150
|
+
let c = t, l = !1;
|
|
151
|
+
for (; c < r && (c++, !(c >= r || (n = e.bMarks[c] + e.tShift[c], o = e.eMarks[c], n < o && e.tShift[c] < e.blkIndent)));) if (e.src.slice(n, o).trim() === a.close) {
|
|
152
|
+
l = !0;
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
155
|
+
if (!l) continue;
|
|
156
|
+
let u = e.parentType, d = e.lineMax;
|
|
157
|
+
e.parentType = "math";
|
|
158
|
+
let f = "";
|
|
159
|
+
for (let n = t + 1; n < c; n++) {
|
|
160
|
+
let r = e.getLines(n, n + 1, e.tShift[t], !1);
|
|
161
|
+
f += r;
|
|
162
|
+
}
|
|
163
|
+
if (!i) {
|
|
164
|
+
let n = e.push("math", "math", 0);
|
|
165
|
+
n.block = !0, n.content = f.trim(), n.markup = a.open, n.meta = { display: a.display }, n.map = [t, c + 1];
|
|
166
|
+
}
|
|
167
|
+
return e.parentType = u, e.lineMax = d, e.line = c + 1, !0;
|
|
168
|
+
}
|
|
169
|
+
return !1;
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
//#endregion
|
|
173
|
+
export { i as n, r, a as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Math.abs,t=Math.atan2,n=Math.cos,r=Math.max,i=Math.min,a=Math.sin,o=Math.sqrt,s=1e-12,c=Math.PI,l=c/2,u=2*c;function d(e){return e>1?0:e<-1?c:Math.acos(e)}function f(e){return e>=1?l:e<=-1?-l:Math.asin(e)}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return c}});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.js
|
|
2
|
+
var e = Math.abs, t = Math.atan2, n = Math.cos, r = Math.max, i = Math.min, a = Math.sin, o = Math.sqrt, s = 1e-12, c = Math.PI, l = c / 2, u = 2 * c;
|
|
3
|
+
function d(e) {
|
|
4
|
+
return e > 1 ? 0 : e < -1 ? c : Math.acos(e);
|
|
5
|
+
}
|
|
6
|
+
function f(e) {
|
|
7
|
+
return e >= 1 ? l : e <= -1 ? -l : Math.asin(e);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { n as a, r as c, a as d, o as f, t as i, i as l, d as n, s as o, u as p, f as r, l as s, e as t, c as u };
|