file-viewer3 1.0.8 → 1.0.26
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/LICENSE +160 -0
- package/README.en.md +390 -0
- package/README.md +306 -89
- package/dist/components/3MFLoader.js +527 -0
- package/dist/components/AMFLoader.js +188 -0
- package/dist/components/ArchiveViewer.js +526 -0
- package/dist/components/AudioViewer.js +66 -0
- package/dist/components/CadViewer.js +9040 -0
- package/dist/components/CodeViewer.js +151 -0
- package/dist/components/ColladaLoader.js +2282 -0
- package/dist/components/DrawingViewer.js +295 -0
- package/dist/components/EdaViewer.js +630 -0
- package/dist/components/EmailViewer.js +276 -0
- package/dist/components/EpubViewer.js +172 -0
- package/dist/components/FBXLoader.js +1574 -0
- package/dist/components/GLTFLoader.js +1383 -0
- package/dist/components/ImageViewer.js +1516 -1895
- package/dist/components/KMZLoader.js +45 -0
- package/dist/components/MarkdownViewer.js +1456 -1557
- package/dist/components/ModelViewer.js +797 -0
- package/dist/components/OBJLoader.js +287 -0
- package/dist/components/OfdViewer.js +133 -0
- package/dist/components/PCDLoader.js +141 -0
- package/dist/components/PLYLoader.js +305 -0
- package/dist/components/PdfView.js +27662 -21655
- package/dist/components/PptxRender.js +11170 -21118
- package/dist/components/STLLoader.js +83 -0
- package/dist/components/TDSLoader.js +228 -0
- package/dist/components/TypstViewer.js +1697 -0
- package/dist/components/USDLoader.js +2526 -0
- package/dist/components/UmdViewer.js +1873 -0
- package/dist/components/VRMLLoader.js +6422 -0
- package/dist/components/VTKLoader.js +337 -0
- package/dist/components/XYZLoader.js +30 -0
- package/dist/components/XlsxTable.js +7871 -69873
- package/dist/components/__vite-browser-external.js +7 -0
- package/dist/components/_plugin-vue_export-helper.js +8 -0
- package/dist/components/ar-SA-G6X2FPQ2.js +523 -0
- package/dist/components/arc.js +79 -0
- package/dist/components/architecture-7EHR7CIX.js +3 -0
- package/dist/components/architectureDiagram-3BPJPVTR.js +4096 -0
- package/dist/components/archive.js +24 -0
- package/dist/components/asyncToGenerator.js +29 -0
- package/dist/components/audio.js +19 -0
- package/dist/components/az-AZ-76LH7QW2.js +523 -0
- package/dist/components/bash.js +169 -0
- package/dist/components/bg-BG-XCXSNQG7.js +523 -0
- package/dist/components/blockDiagram-GPEHLZMM.js +3357 -0
- package/dist/components/bn-BD-2XOGV67Q.js +523 -0
- package/dist/components/c4Diagram-AAUBKEIU.js +2957 -0
- package/dist/components/ca-ES-6MX7JW3Y.js +523 -0
- package/dist/components/cad.js +23 -0
- package/dist/components/cfb.js +1174 -0
- package/dist/components/channel.js +5 -0
- package/dist/components/chunk-2J33WTMH.js +26 -0
- package/dist/components/chunk-3OPIFGDE.js +4167 -0
- package/dist/components/chunk-4BX2VUAB.js +19 -0
- package/dist/components/chunk-55IACEB6.js +9 -0
- package/dist/components/chunk-5ZQYHXKU.js +669 -0
- package/dist/components/chunk-6U3AYISY.js +624 -0
- package/dist/components/chunk-727SXJPM.js +3356 -0
- package/dist/components/chunk-AGHRB4JF.js +324 -0
- package/dist/components/chunk-AQP2D5EJ.js +2055 -0
- package/dist/components/chunk-BSJP7CBP.js +83 -0
- package/dist/components/chunk-CSCIHK7Q.js +3500 -0
- package/dist/components/chunk-EIO257PC.js +1836 -0
- package/dist/components/chunk-FMBD7UC4.js +5 -0
- package/dist/components/chunk-K2UTITRG.js +17627 -0
- package/dist/components/chunk-KSCS5N6A.js +572 -0
- package/dist/components/chunk-L5ZTLDWV.js +40 -0
- package/dist/components/chunk-LZXEDZCA.js +60 -0
- package/dist/components/chunk-ND2GUHAM.js +61 -0
- package/dist/components/chunk-NNHCCRGN.js +20425 -0
- package/dist/components/chunk-NZK2D7GU.js +68 -0
- package/dist/components/chunk-O5CBEL6O.js +1894 -0
- package/dist/components/chunk-QZHKN3VN.js +12 -0
- package/dist/components/chunk-SRAX5OIU.js +22 -0
- package/dist/components/chunk-WU5MYG2G.js +14 -0
- package/dist/components/chunk-XPW4576I.js +1146 -0
- package/dist/components/chunk-Z3N5DIM6.js +59 -0
- package/dist/components/chunk-ZUYEQ4TG.js +22 -0
- package/dist/components/chunk.js +23 -0
- package/dist/components/classDiagram-4FO5ZUOK.js +29 -0
- package/dist/components/classDiagram-v2-Q7XG4LA2.js +29 -0
- package/dist/components/compiler.js +2 -0
- package/dist/components/core.js +845 -0
- package/dist/components/cose-bilkent-S5V4N54A.js +2268 -0
- package/dist/components/cpp.js +225 -0
- package/dist/components/cs-CZ-2BRQDIVT.js +523 -0
- package/dist/components/csharp.js +260 -0
- package/dist/components/css.js +140 -0
- package/dist/components/cytoscape.esm.js +18114 -0
- package/dist/components/da-DK-5WZEPLOC.js +523 -0
- package/dist/components/dagre-BM42HDAG.js +325 -0
- package/dist/components/dagre.js +1936 -0
- package/dist/components/de-DE-XR44H4JA.js +523 -0
- package/dist/components/defaultLocale.js +201 -0
- package/dist/components/defineProperty.js +50 -0
- package/dist/components/diagram-2AECGRRQ.js +229 -0
- package/dist/components/diagram-5GNKFQAL.js +108 -0
- package/dist/components/diagram-KO2AKTUF.js +443 -0
- package/dist/components/diagram-LMA3HP47.js +139 -0
- package/dist/components/diagram-OG6HWLK6.js +541 -0
- package/dist/components/diff.js +39 -0
- package/dist/components/directory-open-01563666.js +26 -0
- package/dist/components/directory-open-4ed118d0.js +83 -0
- package/dist/components/dist.js +50 -0
- package/dist/components/dist2.js +3291 -0
- package/dist/components/dist3.js +1593 -0
- package/dist/components/documentSearch.js +378 -0
- package/dist/components/docx-preview.js +3113 -0
- package/dist/components/drawing.js +19 -0
- package/dist/components/ebook.js +16 -0
- package/dist/components/eda.js +20 -0
- package/dist/components/el-GR-BZB4AONW.js +523 -0
- package/dist/components/email.js +21 -0
- package/dist/components/en-B4ZKOASM.js +3 -0
- package/dist/components/erDiagram-TEJ5UH35.js +1719 -0
- package/dist/components/es-ES-U4NZUMDT.js +523 -0
- package/dist/components/eu-ES-A7QVB2H4.js +523 -0
- package/dist/components/eventmodeling-FCH6USID.js +3 -0
- package/dist/components/fa-IR-HGAKTJCU.js +523 -0
- package/dist/components/fflate.module.js +323 -0
- package/dist/components/fi-FI-Z5N7JZ37.js +523 -0
- package/dist/components/file-open-002ab408.js +38 -0
- package/dist/components/file-open-7c801643.js +24 -0
- package/dist/components/file-save-3189631c.js +40 -0
- package/dist/components/file-save-745eba88.js +36 -0
- package/dist/components/flowDiagram-I6XJVG4X.js +4181 -0
- package/dist/components/fr-FR-RHASNOE6.js +523 -0
- package/dist/components/ganttDiagram-6RSMTGT7.js +2182 -0
- package/dist/components/gitGraph-WXDBUCRP.js +3 -0
- package/dist/components/gitGraphDiagram-PVQCEYII.js +788 -0
- package/dist/components/gl-ES-HMX3MZ6V.js +523 -0
- package/dist/components/global-compiler.js +23 -0
- package/dist/components/global-renderer.js +23 -0
- package/dist/components/go.js +140 -0
- package/dist/components/graphlib.js +1267 -0
- package/dist/components/he-IL-6SHJWFNN.js +523 -0
- package/dist/components/hi-IN-IWLTKZ5I.js +523 -0
- package/dist/components/hu-HU-A5ZG7DT2.js +523 -0
- package/dist/components/id-ID-SAP4L64H.js +523 -0
- package/dist/components/image-GAAHSSAO.js +3 -0
- package/dist/components/image-blob-reduce.esm.js +1429 -0
- package/dist/components/image.js +17 -0
- package/dist/components/info-J43DQDTF.js +3 -0
- package/dist/components/infoDiagram-5YYISTIA.js +26 -0
- package/dist/components/ini.js +88 -0
- package/dist/components/init.js +15 -0
- package/dist/components/ishikawaDiagram-YF4QCWOH.js +718 -0
- package/dist/components/it-IT-JPQ66NNP.js +523 -0
- package/dist/components/ja-JP-DBVTYXUO.js +523 -0
- package/dist/components/java.js +169 -0
- package/dist/components/javascript.js +436 -0
- package/dist/components/journeyDiagram-JHISSGLW.js +885 -0
- package/dist/components/json.js +36 -0
- package/dist/components/jszip.min.js +3033 -0
- package/dist/components/kaa-6HZHGXH3.js +523 -0
- package/dist/components/kab-KAB-ZGHBKWFO.js +523 -0
- package/dist/components/kanban-definition-UN3LZRKU.js +986 -0
- package/dist/components/katex.js +21979 -0
- package/dist/components/kk-KZ-P5N5QNE5.js +523 -0
- package/dist/components/km-KH-HSX4SM5Z.js +523 -0
- package/dist/components/ko-KR-MTYHY66A.js +523 -0
- package/dist/components/ku-TR-6OUDTVRD.js +523 -0
- package/dist/components/lib.js +4877 -0
- package/dist/components/libarchive.js +360 -0
- package/dist/components/linear.js +289 -0
- package/dist/components/lt-LT-XHIRWOB4.js +523 -0
- package/dist/components/lv-LV-5QDEKY6T.js +523 -0
- package/dist/components/markdown.js +181 -0
- package/dist/components/md.js +17 -0
- package/dist/components/mermaid-parser.core.js +328 -0
- package/dist/components/mindmap-definition-RKZ34NQL.js +1016 -0
- package/dist/components/model.js +21 -0
- package/dist/components/mp4.js +12 -0
- package/dist/components/mr-IN-CRQNXWMA.js +523 -0
- package/dist/components/my-MM-5M5IBNSE.js +523 -0
- package/dist/components/nb-NO-T6EIAALU.js +523 -0
- package/dist/components/nestedRender.js +158 -0
- package/dist/components/nl-NL-IS3SIHDZ.js +523 -0
- package/dist/components/nn-NO-6E72VCQL.js +523 -0
- package/dist/components/objectSpread2.js +29 -0
- package/dist/components/objectWithoutProperties.js +28 -0
- package/dist/components/oc-FR-POXYY2M6.js +523 -0
- package/dist/components/ofd.js +5261 -0
- package/dist/components/ofd2.js +16 -0
- package/dist/components/ordinal.js +65 -0
- package/dist/components/pa-IN-N4M65BXN.js +523 -0
- package/dist/components/packet-YPE3B663.js +3 -0
- package/dist/components/pdf.js +24 -0
- package/dist/components/percentages-BXMCSKIN.js +3 -0
- package/dist/components/php.js +294 -0
- package/dist/components/pica.js +1009 -0
- package/dist/components/pie-LRSECV5Y.js +3 -0
- package/dist/components/pie.js +47 -0
- package/dist/components/pieDiagram-4H26LBE5.js +130 -0
- package/dist/components/pl-PL-T2D74RX3.js +523 -0
- package/dist/components/postal-mime.js +3146 -0
- package/dist/components/pptx.js +15 -0
- package/dist/components/printLayout.js +42 -0
- package/dist/components/prod.js +21770 -0
- package/dist/components/pt-BR-5N22H2LF.js +523 -0
- package/dist/components/pt-PT-UZXXM6DQ.js +523 -0
- package/dist/components/python.js +238 -0
- package/dist/components/quadrantDiagram-W4KKPZXB.js +1988 -0
- package/dist/components/radar-GUYGQ44K.js +3 -0
- package/dist/components/renderer.js +2 -0
- package/dist/components/requirementDiagram-4Y6WPE33.js +2230 -0
- package/dist/components/ro-RO-JPDTUUEW.js +523 -0
- package/dist/components/rough.esm.js +1355 -0
- package/dist/components/roundRect.js +90 -0
- package/dist/components/ru-RU-B4JR7IUQ.js +523 -0
- package/dist/components/rust.js +169 -0
- package/dist/components/sankeyDiagram-5OEKKPKP.js +972 -0
- package/dist/components/sequenceDiagram-3UESZ5HK.js +4255 -0
- package/dist/components/shared.js +175 -0
- package/dist/components/shared2.js +4 -0
- package/dist/components/si-LK-N5RQ5JYF.js +523 -0
- package/dist/components/sk-SK-C5VTKIMK.js +523 -0
- package/dist/components/sl-SI-NN7IZMDC.js +523 -0
- package/dist/components/sourceLoading.js +134 -0
- package/dist/components/sql.js +118 -0
- package/dist/components/src.js +2664 -0
- package/dist/components/src2.js +10722 -0
- package/dist/components/stateDiagram-AJRCARHV.js +217 -0
- package/dist/components/stateDiagram-v2-BHNVJYJU.js +27 -0
- package/dist/components/subset-shared.chunk.js +3 -0
- package/dist/components/subset-worker.chunk.js +21 -0
- package/dist/components/sv-SE-XGPEYMSR.js +523 -0
- package/dist/components/ta-IN-2NMHFXQM.js +523 -0
- package/dist/components/text.js +20 -0
- package/dist/components/th-TH-HPSO5L25.js +523 -0
- package/dist/components/three.module.js +13134 -0
- package/dist/components/time.js +910 -0
- package/dist/components/timeline-definition-PNZ67QCA.js +1084 -0
- package/dist/components/tr-TR-DEFEU3FU.js +523 -0
- package/dist/components/treeView-BLDUP644.js +3 -0
- package/dist/components/treemap-LRROVOQU.js +3 -0
- package/dist/components/typescript.js +521 -0
- package/dist/components/typst.js +25 -0
- package/dist/components/uk-UA-QMV73CPH.js +523 -0
- package/dist/components/umd.js +16 -0
- package/dist/components/use.js +422 -0
- package/dist/components/util.js +49 -0
- package/dist/components/vennDiagram-CIIHVFJN.js +1880 -0
- package/dist/components/vi-VN-M7AON7JQ.js +523 -0
- package/dist/components/viewerZoom.js +92 -0
- package/dist/components/wardley-L42UT6IY.js +3 -0
- package/dist/components/wardleyDiagram-YWT4CUSO.js +656 -0
- package/dist/components/wasm-pack-shim.js +1711 -0
- package/dist/components/wasm-pack-shim2.js +934 -0
- package/dist/components/wasm.js +97 -0
- package/dist/components/word.js +3055 -0
- package/dist/components/worker-ref.js +15 -20
- package/dist/components/xlsx.js +21 -0
- package/dist/components/xml.js +166 -0
- package/dist/components/xychartDiagram-2RQKCTM6.js +2015 -0
- package/dist/components/yaml.js +144 -0
- package/dist/components/zh-CN-LNUGB5OW.js +523 -0
- package/dist/components/zh-HK-E62DVLB3.js +523 -0
- package/dist/components/zh-TW-RAJ6MFWO.js +523 -0
- package/dist/file-viewer3.css +2 -0
- package/dist/index.mjs +3292 -5
- package/dist/src/App.vue.d.ts +3 -0
- package/dist/src/compare/CompareApp.vue.d.ts +3 -0
- package/dist/src/compare/main.d.ts +0 -0
- package/dist/src/compare/useSynchronizedScroll.d.ts +7 -0
- package/dist/src/components/HelloWorld.vue.d.ts +3 -0
- package/dist/src/components/utils.d.ts +4 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/package/common/printCapability.d.ts +27 -0
- package/dist/src/package/common/printLayout.d.ts +16 -0
- package/dist/src/package/common/sourceLoading.d.ts +10 -0
- package/dist/src/package/common/type.d.ts +522 -8
- package/dist/src/package/common/worker-ref.d.ts +1 -1
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +74 -24
- package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +9 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +29 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +21 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +8 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +34 -0
- package/dist/src/package/components/FileViewer/index.d.ts +1 -1
- package/dist/src/package/components/FileViewer/util.d.ts +2 -1
- package/dist/src/package/index.d.ts +14 -4
- package/dist/src/package/use/documentLocation.d.ts +15 -0
- package/dist/src/package/use/documentSearch.d.ts +234 -0
- package/dist/src/package/use/index.d.ts +4 -0
- package/dist/src/package/use/loading.d.ts +33 -0
- package/dist/src/package/use/viewerZoom.d.ts +42 -0
- package/dist/src/package/use/worker.d.ts +2 -2
- package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +9 -0
- package/dist/src/package/vendors/archive/cache.d.ts +10 -0
- package/dist/src/package/vendors/archive/fallback.d.ts +9 -0
- package/dist/src/package/vendors/archive/index.d.ts +3 -0
- package/dist/src/package/vendors/archive/shared.d.ts +24 -0
- package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +7 -0
- package/dist/src/package/vendors/audio/index.d.ts +7 -0
- package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +9 -0
- package/dist/src/package/vendors/cad/index.d.ts +8 -0
- package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +15 -0
- package/dist/src/package/vendors/drawing/index.d.ts +7 -0
- package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +6 -0
- package/dist/src/package/vendors/ebook/index.d.ts +7 -0
- package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +8 -0
- package/dist/src/package/vendors/eda/index.d.ts +2 -0
- package/dist/src/package/vendors/eda/parser.d.ts +77 -0
- package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +10 -0
- package/dist/src/package/vendors/email/index.d.ts +2 -0
- package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +6 -13
- package/dist/src/package/vendors/image/index.d.ts +1 -1
- package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +6 -13
- package/dist/src/package/vendors/md/index.d.ts +1 -1
- package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +8 -0
- package/dist/src/package/vendors/model/index.d.ts +3 -0
- package/dist/src/package/vendors/model/shared.d.ts +1 -0
- package/dist/src/package/vendors/nestedRender.d.ts +10 -0
- package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +6 -0
- package/dist/src/package/vendors/ofd/index.d.ts +7 -0
- package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +10 -13
- package/dist/src/package/vendors/pdf/index.d.ts +2 -1
- package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
- package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +9 -81
- package/dist/src/package/vendors/pptx/index.d.ts +1 -1
- package/dist/src/package/vendors/renders.d.ts +1 -1
- package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +7 -13
- package/dist/src/package/vendors/text/index.d.ts +6 -2
- package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +15 -0
- package/dist/src/package/vendors/typst/index.d.ts +8 -0
- package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +6 -0
- package/dist/src/package/vendors/umd/index.d.ts +7 -0
- package/dist/src/package/vendors/umd/parser.d.ts +30 -0
- package/dist/src/package/vendors/word/doc.d.ts +5 -0
- package/dist/src/package/vendors/word/docx.d.ts +5 -0
- package/dist/src/package/vendors/word/docx.worker.d.ts +1 -0
- package/dist/src/package/vendors/word/index.d.ts +3 -0
- package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +80 -0
- package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +25 -0
- package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +6 -21
- package/dist/src/package/vendors/xlsx/index.d.ts +3 -2
- package/dist/src/package/vendors/xlsx/util.d.ts +0 -5
- package/dist/src/package/vendors/xlsx/worker/index.d.ts +4 -6
- package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +73 -0
- package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +1 -0
- package/dist/style.css +1 -57
- package/dist/wasm/cad/dwfv-render.wasm +0 -0
- package/dist/wasm/cad/dwg-worker.js +24 -0
- package/dist/wasm/cad/libredwg-web.js +15 -0
- package/dist/wasm/cad/libredwg-web.wasm +0 -0
- package/package.json +118 -42
- package/.vscode/extensions.json +0 -3
- package/dist/components/_commonjs-dynamic-modules.js +0 -6
- package/dist/components/_commonjsHelpers.js +0 -36
- package/dist/components/docx-preview.min.js +0 -5287
- package/dist/components/index.js +0 -1717
- package/dist/favicon.ico +0 -0
- package/dist/index.umd.js +0 -436
- package/dist/src/package/vendors/docx/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/render.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/worker/xls/SheetJsModel.d.ts +0 -36
- package/dist/src/package/vendors/xlsx/worker/xlsx/ExcelJsModel.d.ts +0 -39
- package/dist/src/package/vendors/xlsx/worker/xlsx/context.d.ts +0 -7
- package/dist/src/package/vendors/xlsx/worker/xlsx/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/worker/xlsx/util.d.ts +0 -10
- package/dist/worker/pdf.worker.js +0 -66
- package/dist/worker/pptx.worker.js +0 -21
- package/dist/worker/sheet.worker.js +0 -38
- package/dist/worker/xlsx.worker.js +0 -65
- /package/dist/src/package/vendors/xlsx/worker/{xlsx → sheetjs}/color.d.ts +0 -0
- /package/dist/src/package/vendors/xlsx/worker/{xls → sheetjs}/index.d.ts +0 -0
|
@@ -0,0 +1,2664 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.js
|
|
2
|
+
var e = { value: () => {} };
|
|
3
|
+
function t() {
|
|
4
|
+
for (var e = 0, t = arguments.length, r = {}, i; e < t; ++e) {
|
|
5
|
+
if (!(i = arguments[e] + "") || i in r || /[\s.]/.test(i)) throw Error("illegal type: " + i);
|
|
6
|
+
r[i] = [];
|
|
7
|
+
}
|
|
8
|
+
return new n(r);
|
|
9
|
+
}
|
|
10
|
+
function n(e) {
|
|
11
|
+
this._ = e;
|
|
12
|
+
}
|
|
13
|
+
function r(e, t) {
|
|
14
|
+
return e.trim().split(/^|\s+/).map(function(e) {
|
|
15
|
+
var n = "", r = e.indexOf(".");
|
|
16
|
+
if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
|
|
17
|
+
return {
|
|
18
|
+
type: e,
|
|
19
|
+
name: n
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n.prototype = t.prototype = {
|
|
24
|
+
constructor: n,
|
|
25
|
+
on: function(e, t) {
|
|
26
|
+
var n = this._, o = r(e + "", n), s, c = -1, l = o.length;
|
|
27
|
+
if (arguments.length < 2) {
|
|
28
|
+
for (; ++c < l;) if ((s = (e = o[c]).type) && (s = i(n[s], e.name))) return s;
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
|
|
32
|
+
for (; ++c < l;) if (s = (e = o[c]).type) n[s] = a(n[s], e.name, t);
|
|
33
|
+
else if (t == null) for (s in n) n[s] = a(n[s], e.name, null);
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
copy: function() {
|
|
37
|
+
var e = {}, t = this._;
|
|
38
|
+
for (var r in t) e[r] = t[r].slice();
|
|
39
|
+
return new n(e);
|
|
40
|
+
},
|
|
41
|
+
call: function(e, t) {
|
|
42
|
+
if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
|
|
43
|
+
if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
|
|
44
|
+
for (a = this._[e], r = 0, i = a.length; r < i; ++r) a[r].value.apply(t, n);
|
|
45
|
+
},
|
|
46
|
+
apply: function(e, t, n) {
|
|
47
|
+
if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
|
|
48
|
+
for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
function i(e, t) {
|
|
52
|
+
for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
|
|
53
|
+
}
|
|
54
|
+
function a(t, n, r) {
|
|
55
|
+
for (var i = 0, a = t.length; i < a; ++i) if (t[i].name === n) {
|
|
56
|
+
t[i] = e, t = t.slice(0, i).concat(t.slice(i + 1));
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
return r != null && t.push({
|
|
60
|
+
name: n,
|
|
61
|
+
value: r
|
|
62
|
+
}), t;
|
|
63
|
+
}
|
|
64
|
+
var o = {
|
|
65
|
+
svg: "http://www.w3.org/2000/svg",
|
|
66
|
+
xhtml: "http://www.w3.org/1999/xhtml",
|
|
67
|
+
xlink: "http://www.w3.org/1999/xlink",
|
|
68
|
+
xml: "http://www.w3.org/XML/1998/namespace",
|
|
69
|
+
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
70
|
+
};
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js
|
|
73
|
+
function s(e) {
|
|
74
|
+
var t = e += "", n = t.indexOf(":");
|
|
75
|
+
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), o.hasOwnProperty(t) ? {
|
|
76
|
+
space: o[t],
|
|
77
|
+
local: e
|
|
78
|
+
} : e;
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js
|
|
82
|
+
function c(e) {
|
|
83
|
+
return function() {
|
|
84
|
+
var t = this.ownerDocument, n = this.namespaceURI;
|
|
85
|
+
return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function l(e) {
|
|
89
|
+
return function() {
|
|
90
|
+
return this.ownerDocument.createElementNS(e.space, e.local);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function u(e) {
|
|
94
|
+
var t = s(e);
|
|
95
|
+
return (t.local ? l : c)(t);
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js
|
|
99
|
+
function d() {}
|
|
100
|
+
function f(e) {
|
|
101
|
+
return e == null ? d : function() {
|
|
102
|
+
return this.querySelector(e);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js
|
|
107
|
+
function p(e) {
|
|
108
|
+
typeof e != "function" && (e = f(e));
|
|
109
|
+
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
|
|
110
|
+
return new C(r, this._parents);
|
|
111
|
+
}
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js
|
|
114
|
+
function m(e) {
|
|
115
|
+
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
116
|
+
}
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js
|
|
119
|
+
function h() {
|
|
120
|
+
return [];
|
|
121
|
+
}
|
|
122
|
+
function g(e) {
|
|
123
|
+
return e == null ? h : function() {
|
|
124
|
+
return this.querySelectorAll(e);
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js
|
|
129
|
+
function _(e) {
|
|
130
|
+
return function() {
|
|
131
|
+
return m(e.apply(this, arguments));
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function v(e) {
|
|
135
|
+
e = typeof e == "function" ? _(e) : g(e);
|
|
136
|
+
for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
|
|
137
|
+
return new C(r, i);
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js
|
|
141
|
+
function y(e) {
|
|
142
|
+
return function() {
|
|
143
|
+
return this.matches(e);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
function b(e) {
|
|
147
|
+
return function(t) {
|
|
148
|
+
return t.matches(e);
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js
|
|
153
|
+
var ee = Array.prototype.find;
|
|
154
|
+
function te(e) {
|
|
155
|
+
return function() {
|
|
156
|
+
return ee.call(this.children, e);
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
function ne() {
|
|
160
|
+
return this.firstElementChild;
|
|
161
|
+
}
|
|
162
|
+
function re(e) {
|
|
163
|
+
return this.select(e == null ? ne : te(typeof e == "function" ? e : b(e)));
|
|
164
|
+
}
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js
|
|
167
|
+
var ie = Array.prototype.filter;
|
|
168
|
+
function ae() {
|
|
169
|
+
return Array.from(this.children);
|
|
170
|
+
}
|
|
171
|
+
function oe(e) {
|
|
172
|
+
return function() {
|
|
173
|
+
return ie.call(this.children, e);
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
function se(e) {
|
|
177
|
+
return this.selectAll(e == null ? ae : oe(typeof e == "function" ? e : b(e)));
|
|
178
|
+
}
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js
|
|
181
|
+
function ce(e) {
|
|
182
|
+
typeof e != "function" && (e = y(e));
|
|
183
|
+
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
|
|
184
|
+
return new C(r, this._parents);
|
|
185
|
+
}
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js
|
|
188
|
+
function le(e) {
|
|
189
|
+
return Array(e.length);
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js
|
|
193
|
+
function ue() {
|
|
194
|
+
return new C(this._enter || this._groups.map(le), this._parents);
|
|
195
|
+
}
|
|
196
|
+
function x(e, t) {
|
|
197
|
+
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
198
|
+
}
|
|
199
|
+
x.prototype = {
|
|
200
|
+
constructor: x,
|
|
201
|
+
appendChild: function(e) {
|
|
202
|
+
return this._parent.insertBefore(e, this._next);
|
|
203
|
+
},
|
|
204
|
+
insertBefore: function(e, t) {
|
|
205
|
+
return this._parent.insertBefore(e, t);
|
|
206
|
+
},
|
|
207
|
+
querySelector: function(e) {
|
|
208
|
+
return this._parent.querySelector(e);
|
|
209
|
+
},
|
|
210
|
+
querySelectorAll: function(e) {
|
|
211
|
+
return this._parent.querySelectorAll(e);
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js
|
|
216
|
+
function de(e) {
|
|
217
|
+
return function() {
|
|
218
|
+
return e;
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js
|
|
223
|
+
function fe(e, t, n, r, i, a) {
|
|
224
|
+
for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new x(e, a[o]);
|
|
225
|
+
for (; o < c; ++o) (s = t[o]) && (i[o] = s);
|
|
226
|
+
}
|
|
227
|
+
function pe(e, t, n, r, i, a, o) {
|
|
228
|
+
var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
|
|
229
|
+
for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
|
|
230
|
+
for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new x(e, a[s]);
|
|
231
|
+
for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
|
|
232
|
+
}
|
|
233
|
+
function me(e) {
|
|
234
|
+
return e.__data__;
|
|
235
|
+
}
|
|
236
|
+
function he(e, t) {
|
|
237
|
+
if (!arguments.length) return Array.from(this, me);
|
|
238
|
+
var n = t ? pe : fe, r = this._parents, i = this._groups;
|
|
239
|
+
typeof e != "function" && (e = de(e));
|
|
240
|
+
for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
|
|
241
|
+
var u = r[l], d = i[l], f = d.length, p = ge(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
|
|
242
|
+
n(u, d, h, g, c[l] = Array(f), p, t);
|
|
243
|
+
for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
|
|
244
|
+
for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
|
|
245
|
+
y._next = b || null;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
return o = new C(o, r), o._enter = s, o._exit = c, o;
|
|
249
|
+
}
|
|
250
|
+
function ge(e) {
|
|
251
|
+
return typeof e == "object" && "length" in e ? e : Array.from(e);
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js
|
|
255
|
+
function _e() {
|
|
256
|
+
return new C(this._exit || this._groups.map(le), this._parents);
|
|
257
|
+
}
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js
|
|
260
|
+
function ve(e, t, n) {
|
|
261
|
+
var r = this.enter(), i = this, a = this.exit();
|
|
262
|
+
return typeof e == "function" ? (r = e(r), r && (r = r.selection())) : r = r.append(e + ""), t != null && (i = t(i), i && (i = i.selection())), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
|
|
263
|
+
}
|
|
264
|
+
//#endregion
|
|
265
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js
|
|
266
|
+
function ye(e) {
|
|
267
|
+
for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
|
|
268
|
+
for (; c < i; ++c) s[c] = n[c];
|
|
269
|
+
return new C(s, this._parents);
|
|
270
|
+
}
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js
|
|
273
|
+
function be() {
|
|
274
|
+
for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
|
|
275
|
+
return this;
|
|
276
|
+
}
|
|
277
|
+
//#endregion
|
|
278
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js
|
|
279
|
+
function xe(e) {
|
|
280
|
+
e || (e = Se);
|
|
281
|
+
function t(t, n) {
|
|
282
|
+
return t && n ? e(t.__data__, n.__data__) : !t - !n;
|
|
283
|
+
}
|
|
284
|
+
for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) {
|
|
285
|
+
for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
|
|
286
|
+
c.sort(t);
|
|
287
|
+
}
|
|
288
|
+
return new C(i, this._parents).order();
|
|
289
|
+
}
|
|
290
|
+
function Se(e, t) {
|
|
291
|
+
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
292
|
+
}
|
|
293
|
+
//#endregion
|
|
294
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js
|
|
295
|
+
function Ce() {
|
|
296
|
+
var e = arguments[0];
|
|
297
|
+
return arguments[0] = this, e.apply(null, arguments), this;
|
|
298
|
+
}
|
|
299
|
+
//#endregion
|
|
300
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js
|
|
301
|
+
function we() {
|
|
302
|
+
return Array.from(this);
|
|
303
|
+
}
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js
|
|
306
|
+
function Te() {
|
|
307
|
+
for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
|
|
308
|
+
var o = r[i];
|
|
309
|
+
if (o) return o;
|
|
310
|
+
}
|
|
311
|
+
return null;
|
|
312
|
+
}
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js
|
|
315
|
+
function Ee() {
|
|
316
|
+
let e = 0;
|
|
317
|
+
for (let t of this) ++e;
|
|
318
|
+
return e;
|
|
319
|
+
}
|
|
320
|
+
//#endregion
|
|
321
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js
|
|
322
|
+
function De() {
|
|
323
|
+
return !this.node();
|
|
324
|
+
}
|
|
325
|
+
//#endregion
|
|
326
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js
|
|
327
|
+
function Oe(e) {
|
|
328
|
+
for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
|
|
329
|
+
return this;
|
|
330
|
+
}
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js
|
|
333
|
+
function ke(e) {
|
|
334
|
+
return function() {
|
|
335
|
+
this.removeAttribute(e);
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
function Ae(e) {
|
|
339
|
+
return function() {
|
|
340
|
+
this.removeAttributeNS(e.space, e.local);
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
function je(e, t) {
|
|
344
|
+
return function() {
|
|
345
|
+
this.setAttribute(e, t);
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
function Me(e, t) {
|
|
349
|
+
return function() {
|
|
350
|
+
this.setAttributeNS(e.space, e.local, t);
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
function Ne(e, t) {
|
|
354
|
+
return function() {
|
|
355
|
+
var n = t.apply(this, arguments);
|
|
356
|
+
n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
function Pe(e, t) {
|
|
360
|
+
return function() {
|
|
361
|
+
var n = t.apply(this, arguments);
|
|
362
|
+
n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
function Fe(e, t) {
|
|
366
|
+
var n = s(e);
|
|
367
|
+
if (arguments.length < 2) {
|
|
368
|
+
var r = this.node();
|
|
369
|
+
return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
|
|
370
|
+
}
|
|
371
|
+
return this.each((t == null ? n.local ? Ae : ke : typeof t == "function" ? n.local ? Pe : Ne : n.local ? Me : je)(n, t));
|
|
372
|
+
}
|
|
373
|
+
//#endregion
|
|
374
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js
|
|
375
|
+
function Ie(e) {
|
|
376
|
+
return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
|
|
377
|
+
}
|
|
378
|
+
//#endregion
|
|
379
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js
|
|
380
|
+
function Le(e) {
|
|
381
|
+
return function() {
|
|
382
|
+
this.style.removeProperty(e);
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
function Re(e, t, n) {
|
|
386
|
+
return function() {
|
|
387
|
+
this.style.setProperty(e, t, n);
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
function ze(e, t, n) {
|
|
391
|
+
return function() {
|
|
392
|
+
var r = t.apply(this, arguments);
|
|
393
|
+
r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
function Be(e, t, n) {
|
|
397
|
+
return arguments.length > 1 ? this.each((t == null ? Le : typeof t == "function" ? ze : Re)(e, t, n == null ? "" : n)) : S(this.node(), e);
|
|
398
|
+
}
|
|
399
|
+
function S(e, t) {
|
|
400
|
+
return e.style.getPropertyValue(t) || Ie(e).getComputedStyle(e, null).getPropertyValue(t);
|
|
401
|
+
}
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js
|
|
404
|
+
function Ve(e) {
|
|
405
|
+
return function() {
|
|
406
|
+
delete this[e];
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
function He(e, t) {
|
|
410
|
+
return function() {
|
|
411
|
+
this[e] = t;
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
function Ue(e, t) {
|
|
415
|
+
return function() {
|
|
416
|
+
var n = t.apply(this, arguments);
|
|
417
|
+
n == null ? delete this[e] : this[e] = n;
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
function We(e, t) {
|
|
421
|
+
return arguments.length > 1 ? this.each((t == null ? Ve : typeof t == "function" ? Ue : He)(e, t)) : this.node()[e];
|
|
422
|
+
}
|
|
423
|
+
//#endregion
|
|
424
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js
|
|
425
|
+
function Ge(e) {
|
|
426
|
+
return e.trim().split(/^|\s+/);
|
|
427
|
+
}
|
|
428
|
+
function Ke(e) {
|
|
429
|
+
return e.classList || new qe(e);
|
|
430
|
+
}
|
|
431
|
+
function qe(e) {
|
|
432
|
+
this._node = e, this._names = Ge(e.getAttribute("class") || "");
|
|
433
|
+
}
|
|
434
|
+
qe.prototype = {
|
|
435
|
+
add: function(e) {
|
|
436
|
+
this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
437
|
+
},
|
|
438
|
+
remove: function(e) {
|
|
439
|
+
var t = this._names.indexOf(e);
|
|
440
|
+
t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
|
|
441
|
+
},
|
|
442
|
+
contains: function(e) {
|
|
443
|
+
return this._names.indexOf(e) >= 0;
|
|
444
|
+
}
|
|
445
|
+
};
|
|
446
|
+
function Je(e, t) {
|
|
447
|
+
for (var n = Ke(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
|
|
448
|
+
}
|
|
449
|
+
function Ye(e, t) {
|
|
450
|
+
for (var n = Ke(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
|
|
451
|
+
}
|
|
452
|
+
function Xe(e) {
|
|
453
|
+
return function() {
|
|
454
|
+
Je(this, e);
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
function Ze(e) {
|
|
458
|
+
return function() {
|
|
459
|
+
Ye(this, e);
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
function Qe(e, t) {
|
|
463
|
+
return function() {
|
|
464
|
+
(t.apply(this, arguments) ? Je : Ye)(this, e);
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
function $e(e, t) {
|
|
468
|
+
var n = Ge(e + "");
|
|
469
|
+
if (arguments.length < 2) {
|
|
470
|
+
for (var r = Ke(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
|
|
471
|
+
return !0;
|
|
472
|
+
}
|
|
473
|
+
return this.each((typeof t == "function" ? Qe : t ? Xe : Ze)(n, t));
|
|
474
|
+
}
|
|
475
|
+
//#endregion
|
|
476
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js
|
|
477
|
+
function et() {
|
|
478
|
+
this.textContent = "";
|
|
479
|
+
}
|
|
480
|
+
function tt(e) {
|
|
481
|
+
return function() {
|
|
482
|
+
this.textContent = e;
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
function nt(e) {
|
|
486
|
+
return function() {
|
|
487
|
+
var t = e.apply(this, arguments);
|
|
488
|
+
this.textContent = t == null ? "" : t;
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
function rt(e) {
|
|
492
|
+
return arguments.length ? this.each(e == null ? et : (typeof e == "function" ? nt : tt)(e)) : this.node().textContent;
|
|
493
|
+
}
|
|
494
|
+
//#endregion
|
|
495
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js
|
|
496
|
+
function it() {
|
|
497
|
+
this.innerHTML = "";
|
|
498
|
+
}
|
|
499
|
+
function at(e) {
|
|
500
|
+
return function() {
|
|
501
|
+
this.innerHTML = e;
|
|
502
|
+
};
|
|
503
|
+
}
|
|
504
|
+
function ot(e) {
|
|
505
|
+
return function() {
|
|
506
|
+
var t = e.apply(this, arguments);
|
|
507
|
+
this.innerHTML = t == null ? "" : t;
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
function st(e) {
|
|
511
|
+
return arguments.length ? this.each(e == null ? it : (typeof e == "function" ? ot : at)(e)) : this.node().innerHTML;
|
|
512
|
+
}
|
|
513
|
+
//#endregion
|
|
514
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js
|
|
515
|
+
function ct() {
|
|
516
|
+
this.nextSibling && this.parentNode.appendChild(this);
|
|
517
|
+
}
|
|
518
|
+
function lt() {
|
|
519
|
+
return this.each(ct);
|
|
520
|
+
}
|
|
521
|
+
//#endregion
|
|
522
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js
|
|
523
|
+
function ut() {
|
|
524
|
+
this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
525
|
+
}
|
|
526
|
+
function dt() {
|
|
527
|
+
return this.each(ut);
|
|
528
|
+
}
|
|
529
|
+
//#endregion
|
|
530
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js
|
|
531
|
+
function ft(e) {
|
|
532
|
+
var t = typeof e == "function" ? e : u(e);
|
|
533
|
+
return this.select(function() {
|
|
534
|
+
return this.appendChild(t.apply(this, arguments));
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
//#endregion
|
|
538
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js
|
|
539
|
+
function pt() {
|
|
540
|
+
return null;
|
|
541
|
+
}
|
|
542
|
+
function mt(e, t) {
|
|
543
|
+
var n = typeof e == "function" ? e : u(e), r = t == null ? pt : typeof t == "function" ? t : f(t);
|
|
544
|
+
return this.select(function() {
|
|
545
|
+
return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
//#endregion
|
|
549
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js
|
|
550
|
+
function ht() {
|
|
551
|
+
var e = this.parentNode;
|
|
552
|
+
e && e.removeChild(this);
|
|
553
|
+
}
|
|
554
|
+
function gt() {
|
|
555
|
+
return this.each(ht);
|
|
556
|
+
}
|
|
557
|
+
//#endregion
|
|
558
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js
|
|
559
|
+
function _t() {
|
|
560
|
+
var e = this.cloneNode(!1), t = this.parentNode;
|
|
561
|
+
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
562
|
+
}
|
|
563
|
+
function vt() {
|
|
564
|
+
var e = this.cloneNode(!0), t = this.parentNode;
|
|
565
|
+
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
566
|
+
}
|
|
567
|
+
function yt(e) {
|
|
568
|
+
return this.select(e ? vt : _t);
|
|
569
|
+
}
|
|
570
|
+
//#endregion
|
|
571
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js
|
|
572
|
+
function bt(e) {
|
|
573
|
+
return arguments.length ? this.property("__data__", e) : this.node().__data__;
|
|
574
|
+
}
|
|
575
|
+
//#endregion
|
|
576
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js
|
|
577
|
+
function xt(e) {
|
|
578
|
+
return function(t) {
|
|
579
|
+
e.call(this, t, this.__data__);
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
function St(e) {
|
|
583
|
+
return e.trim().split(/^|\s+/).map(function(e) {
|
|
584
|
+
var t = "", n = e.indexOf(".");
|
|
585
|
+
return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
|
|
586
|
+
type: e,
|
|
587
|
+
name: t
|
|
588
|
+
};
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
function Ct(e) {
|
|
592
|
+
return function() {
|
|
593
|
+
var t = this.__on;
|
|
594
|
+
if (t) {
|
|
595
|
+
for (var n = 0, r = -1, i = t.length, a; n < i; ++n) a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.options) : t[++r] = a;
|
|
596
|
+
++r ? t.length = r : delete this.__on;
|
|
597
|
+
}
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
function wt(e, t, n) {
|
|
601
|
+
return function() {
|
|
602
|
+
var r = this.__on, i, a = xt(t);
|
|
603
|
+
if (r) {
|
|
604
|
+
for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
|
|
605
|
+
this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
|
|
606
|
+
return;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
this.addEventListener(e.type, a, n), i = {
|
|
610
|
+
type: e.type,
|
|
611
|
+
name: e.name,
|
|
612
|
+
value: t,
|
|
613
|
+
listener: a,
|
|
614
|
+
options: n
|
|
615
|
+
}, r ? r.push(i) : this.__on = [i];
|
|
616
|
+
};
|
|
617
|
+
}
|
|
618
|
+
function Tt(e, t, n) {
|
|
619
|
+
var r = St(e + ""), i, a = r.length, o;
|
|
620
|
+
if (arguments.length < 2) {
|
|
621
|
+
var s = this.node().__on;
|
|
622
|
+
if (s) {
|
|
623
|
+
for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
|
|
624
|
+
}
|
|
625
|
+
return;
|
|
626
|
+
}
|
|
627
|
+
for (s = t ? wt : Ct, i = 0; i < a; ++i) this.each(s(r[i], t, n));
|
|
628
|
+
return this;
|
|
629
|
+
}
|
|
630
|
+
//#endregion
|
|
631
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js
|
|
632
|
+
function Et(e, t, n) {
|
|
633
|
+
var r = Ie(e), i = r.CustomEvent;
|
|
634
|
+
typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
|
|
635
|
+
}
|
|
636
|
+
function Dt(e, t) {
|
|
637
|
+
return function() {
|
|
638
|
+
return Et(this, e, t);
|
|
639
|
+
};
|
|
640
|
+
}
|
|
641
|
+
function Ot(e, t) {
|
|
642
|
+
return function() {
|
|
643
|
+
return Et(this, e, t.apply(this, arguments));
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
function kt(e, t) {
|
|
647
|
+
return this.each((typeof t == "function" ? Ot : Dt)(e, t));
|
|
648
|
+
}
|
|
649
|
+
//#endregion
|
|
650
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js
|
|
651
|
+
function* At() {
|
|
652
|
+
for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
|
|
653
|
+
}
|
|
654
|
+
//#endregion
|
|
655
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js
|
|
656
|
+
var jt = [null];
|
|
657
|
+
function C(e, t) {
|
|
658
|
+
this._groups = e, this._parents = t;
|
|
659
|
+
}
|
|
660
|
+
function w() {
|
|
661
|
+
return new C([[document.documentElement]], jt);
|
|
662
|
+
}
|
|
663
|
+
function Mt() {
|
|
664
|
+
return this;
|
|
665
|
+
}
|
|
666
|
+
C.prototype = w.prototype = {
|
|
667
|
+
constructor: C,
|
|
668
|
+
select: p,
|
|
669
|
+
selectAll: v,
|
|
670
|
+
selectChild: re,
|
|
671
|
+
selectChildren: se,
|
|
672
|
+
filter: ce,
|
|
673
|
+
data: he,
|
|
674
|
+
enter: ue,
|
|
675
|
+
exit: _e,
|
|
676
|
+
join: ve,
|
|
677
|
+
merge: ye,
|
|
678
|
+
selection: Mt,
|
|
679
|
+
order: be,
|
|
680
|
+
sort: xe,
|
|
681
|
+
call: Ce,
|
|
682
|
+
nodes: we,
|
|
683
|
+
node: Te,
|
|
684
|
+
size: Ee,
|
|
685
|
+
empty: De,
|
|
686
|
+
each: Oe,
|
|
687
|
+
attr: Fe,
|
|
688
|
+
style: Be,
|
|
689
|
+
property: We,
|
|
690
|
+
classed: $e,
|
|
691
|
+
text: rt,
|
|
692
|
+
html: st,
|
|
693
|
+
raise: lt,
|
|
694
|
+
lower: dt,
|
|
695
|
+
append: ft,
|
|
696
|
+
insert: mt,
|
|
697
|
+
remove: gt,
|
|
698
|
+
clone: yt,
|
|
699
|
+
datum: bt,
|
|
700
|
+
on: Tt,
|
|
701
|
+
dispatch: kt,
|
|
702
|
+
[Symbol.iterator]: At
|
|
703
|
+
};
|
|
704
|
+
//#endregion
|
|
705
|
+
//#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js
|
|
706
|
+
function Nt(e) {
|
|
707
|
+
return typeof e == "string" ? new C([[document.querySelector(e)]], [document.documentElement]) : new C([[e]], jt);
|
|
708
|
+
}
|
|
709
|
+
//#endregion
|
|
710
|
+
//#region node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js
|
|
711
|
+
function Pt(e, t, n) {
|
|
712
|
+
e.prototype = t.prototype = n, n.constructor = e;
|
|
713
|
+
}
|
|
714
|
+
function Ft(e, t) {
|
|
715
|
+
var n = Object.create(e.prototype);
|
|
716
|
+
for (var r in t) n[r] = t[r];
|
|
717
|
+
return n;
|
|
718
|
+
}
|
|
719
|
+
//#endregion
|
|
720
|
+
//#region node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js
|
|
721
|
+
function T() {}
|
|
722
|
+
var E = .7, It = 1 / E, D = "\\s*([+-]?\\d+)\\s*", O = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", k = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Lt = /^#([0-9a-f]{3,8})$/, Rt = RegExp(`^rgb\\(${D},${D},${D}\\)$`), zt = RegExp(`^rgb\\(${k},${k},${k}\\)$`), Bt = RegExp(`^rgba\\(${D},${D},${D},${O}\\)$`), Vt = RegExp(`^rgba\\(${k},${k},${k},${O}\\)$`), Ht = RegExp(`^hsl\\(${O},${k},${k}\\)$`), Ut = RegExp(`^hsla\\(${O},${k},${k},${O}\\)$`), Wt = {
|
|
723
|
+
aliceblue: 15792383,
|
|
724
|
+
antiquewhite: 16444375,
|
|
725
|
+
aqua: 65535,
|
|
726
|
+
aquamarine: 8388564,
|
|
727
|
+
azure: 15794175,
|
|
728
|
+
beige: 16119260,
|
|
729
|
+
bisque: 16770244,
|
|
730
|
+
black: 0,
|
|
731
|
+
blanchedalmond: 16772045,
|
|
732
|
+
blue: 255,
|
|
733
|
+
blueviolet: 9055202,
|
|
734
|
+
brown: 10824234,
|
|
735
|
+
burlywood: 14596231,
|
|
736
|
+
cadetblue: 6266528,
|
|
737
|
+
chartreuse: 8388352,
|
|
738
|
+
chocolate: 13789470,
|
|
739
|
+
coral: 16744272,
|
|
740
|
+
cornflowerblue: 6591981,
|
|
741
|
+
cornsilk: 16775388,
|
|
742
|
+
crimson: 14423100,
|
|
743
|
+
cyan: 65535,
|
|
744
|
+
darkblue: 139,
|
|
745
|
+
darkcyan: 35723,
|
|
746
|
+
darkgoldenrod: 12092939,
|
|
747
|
+
darkgray: 11119017,
|
|
748
|
+
darkgreen: 25600,
|
|
749
|
+
darkgrey: 11119017,
|
|
750
|
+
darkkhaki: 12433259,
|
|
751
|
+
darkmagenta: 9109643,
|
|
752
|
+
darkolivegreen: 5597999,
|
|
753
|
+
darkorange: 16747520,
|
|
754
|
+
darkorchid: 10040012,
|
|
755
|
+
darkred: 9109504,
|
|
756
|
+
darksalmon: 15308410,
|
|
757
|
+
darkseagreen: 9419919,
|
|
758
|
+
darkslateblue: 4734347,
|
|
759
|
+
darkslategray: 3100495,
|
|
760
|
+
darkslategrey: 3100495,
|
|
761
|
+
darkturquoise: 52945,
|
|
762
|
+
darkviolet: 9699539,
|
|
763
|
+
deeppink: 16716947,
|
|
764
|
+
deepskyblue: 49151,
|
|
765
|
+
dimgray: 6908265,
|
|
766
|
+
dimgrey: 6908265,
|
|
767
|
+
dodgerblue: 2003199,
|
|
768
|
+
firebrick: 11674146,
|
|
769
|
+
floralwhite: 16775920,
|
|
770
|
+
forestgreen: 2263842,
|
|
771
|
+
fuchsia: 16711935,
|
|
772
|
+
gainsboro: 14474460,
|
|
773
|
+
ghostwhite: 16316671,
|
|
774
|
+
gold: 16766720,
|
|
775
|
+
goldenrod: 14329120,
|
|
776
|
+
gray: 8421504,
|
|
777
|
+
green: 32768,
|
|
778
|
+
greenyellow: 11403055,
|
|
779
|
+
grey: 8421504,
|
|
780
|
+
honeydew: 15794160,
|
|
781
|
+
hotpink: 16738740,
|
|
782
|
+
indianred: 13458524,
|
|
783
|
+
indigo: 4915330,
|
|
784
|
+
ivory: 16777200,
|
|
785
|
+
khaki: 15787660,
|
|
786
|
+
lavender: 15132410,
|
|
787
|
+
lavenderblush: 16773365,
|
|
788
|
+
lawngreen: 8190976,
|
|
789
|
+
lemonchiffon: 16775885,
|
|
790
|
+
lightblue: 11393254,
|
|
791
|
+
lightcoral: 15761536,
|
|
792
|
+
lightcyan: 14745599,
|
|
793
|
+
lightgoldenrodyellow: 16448210,
|
|
794
|
+
lightgray: 13882323,
|
|
795
|
+
lightgreen: 9498256,
|
|
796
|
+
lightgrey: 13882323,
|
|
797
|
+
lightpink: 16758465,
|
|
798
|
+
lightsalmon: 16752762,
|
|
799
|
+
lightseagreen: 2142890,
|
|
800
|
+
lightskyblue: 8900346,
|
|
801
|
+
lightslategray: 7833753,
|
|
802
|
+
lightslategrey: 7833753,
|
|
803
|
+
lightsteelblue: 11584734,
|
|
804
|
+
lightyellow: 16777184,
|
|
805
|
+
lime: 65280,
|
|
806
|
+
limegreen: 3329330,
|
|
807
|
+
linen: 16445670,
|
|
808
|
+
magenta: 16711935,
|
|
809
|
+
maroon: 8388608,
|
|
810
|
+
mediumaquamarine: 6737322,
|
|
811
|
+
mediumblue: 205,
|
|
812
|
+
mediumorchid: 12211667,
|
|
813
|
+
mediumpurple: 9662683,
|
|
814
|
+
mediumseagreen: 3978097,
|
|
815
|
+
mediumslateblue: 8087790,
|
|
816
|
+
mediumspringgreen: 64154,
|
|
817
|
+
mediumturquoise: 4772300,
|
|
818
|
+
mediumvioletred: 13047173,
|
|
819
|
+
midnightblue: 1644912,
|
|
820
|
+
mintcream: 16121850,
|
|
821
|
+
mistyrose: 16770273,
|
|
822
|
+
moccasin: 16770229,
|
|
823
|
+
navajowhite: 16768685,
|
|
824
|
+
navy: 128,
|
|
825
|
+
oldlace: 16643558,
|
|
826
|
+
olive: 8421376,
|
|
827
|
+
olivedrab: 7048739,
|
|
828
|
+
orange: 16753920,
|
|
829
|
+
orangered: 16729344,
|
|
830
|
+
orchid: 14315734,
|
|
831
|
+
palegoldenrod: 15657130,
|
|
832
|
+
palegreen: 10025880,
|
|
833
|
+
paleturquoise: 11529966,
|
|
834
|
+
palevioletred: 14381203,
|
|
835
|
+
papayawhip: 16773077,
|
|
836
|
+
peachpuff: 16767673,
|
|
837
|
+
peru: 13468991,
|
|
838
|
+
pink: 16761035,
|
|
839
|
+
plum: 14524637,
|
|
840
|
+
powderblue: 11591910,
|
|
841
|
+
purple: 8388736,
|
|
842
|
+
rebeccapurple: 6697881,
|
|
843
|
+
red: 16711680,
|
|
844
|
+
rosybrown: 12357519,
|
|
845
|
+
royalblue: 4286945,
|
|
846
|
+
saddlebrown: 9127187,
|
|
847
|
+
salmon: 16416882,
|
|
848
|
+
sandybrown: 16032864,
|
|
849
|
+
seagreen: 3050327,
|
|
850
|
+
seashell: 16774638,
|
|
851
|
+
sienna: 10506797,
|
|
852
|
+
silver: 12632256,
|
|
853
|
+
skyblue: 8900331,
|
|
854
|
+
slateblue: 6970061,
|
|
855
|
+
slategray: 7372944,
|
|
856
|
+
slategrey: 7372944,
|
|
857
|
+
snow: 16775930,
|
|
858
|
+
springgreen: 65407,
|
|
859
|
+
steelblue: 4620980,
|
|
860
|
+
tan: 13808780,
|
|
861
|
+
teal: 32896,
|
|
862
|
+
thistle: 14204888,
|
|
863
|
+
tomato: 16737095,
|
|
864
|
+
turquoise: 4251856,
|
|
865
|
+
violet: 15631086,
|
|
866
|
+
wheat: 16113331,
|
|
867
|
+
white: 16777215,
|
|
868
|
+
whitesmoke: 16119285,
|
|
869
|
+
yellow: 16776960,
|
|
870
|
+
yellowgreen: 10145074
|
|
871
|
+
};
|
|
872
|
+
Pt(T, A, {
|
|
873
|
+
copy(e) {
|
|
874
|
+
return Object.assign(new this.constructor(), this, e);
|
|
875
|
+
},
|
|
876
|
+
displayable() {
|
|
877
|
+
return this.rgb().displayable();
|
|
878
|
+
},
|
|
879
|
+
hex: Gt,
|
|
880
|
+
formatHex: Gt,
|
|
881
|
+
formatHex8: Kt,
|
|
882
|
+
formatHsl: qt,
|
|
883
|
+
formatRgb: Jt,
|
|
884
|
+
toString: Jt
|
|
885
|
+
});
|
|
886
|
+
function Gt() {
|
|
887
|
+
return this.rgb().formatHex();
|
|
888
|
+
}
|
|
889
|
+
function Kt() {
|
|
890
|
+
return this.rgb().formatHex8();
|
|
891
|
+
}
|
|
892
|
+
function qt() {
|
|
893
|
+
return rn(this).formatHsl();
|
|
894
|
+
}
|
|
895
|
+
function Jt() {
|
|
896
|
+
return this.rgb().formatRgb();
|
|
897
|
+
}
|
|
898
|
+
function A(e) {
|
|
899
|
+
var t, n;
|
|
900
|
+
return e = (e + "").trim().toLowerCase(), (t = Lt.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Yt(t) : n === 3 ? new j(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Xt(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Xt(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Rt.exec(e)) ? new j(t[1], t[2], t[3], 1) : (t = zt.exec(e)) ? new j(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Bt.exec(e)) ? Xt(t[1], t[2], t[3], t[4]) : (t = Vt.exec(e)) ? Xt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Ht.exec(e)) ? nn(t[1], t[2] / 100, t[3] / 100, 1) : (t = Ut.exec(e)) ? nn(t[1], t[2] / 100, t[3] / 100, t[4]) : Wt.hasOwnProperty(e) ? Yt(Wt[e]) : e === "transparent" ? new j(NaN, NaN, NaN, 0) : null;
|
|
901
|
+
}
|
|
902
|
+
function Yt(e) {
|
|
903
|
+
return new j(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
904
|
+
}
|
|
905
|
+
function Xt(e, t, n, r) {
|
|
906
|
+
return r <= 0 && (e = t = n = NaN), new j(e, t, n, r);
|
|
907
|
+
}
|
|
908
|
+
function Zt(e) {
|
|
909
|
+
return e instanceof T || (e = A(e)), e ? (e = e.rgb(), new j(e.r, e.g, e.b, e.opacity)) : new j();
|
|
910
|
+
}
|
|
911
|
+
function Qt(e, t, n, r) {
|
|
912
|
+
return arguments.length === 1 ? Zt(e) : new j(e, t, n, r == null ? 1 : r);
|
|
913
|
+
}
|
|
914
|
+
function j(e, t, n, r) {
|
|
915
|
+
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
916
|
+
}
|
|
917
|
+
Pt(j, Qt, Ft(T, {
|
|
918
|
+
brighter(e) {
|
|
919
|
+
return e = e == null ? It : Math.pow(It, e), new j(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
920
|
+
},
|
|
921
|
+
darker(e) {
|
|
922
|
+
return e = e == null ? E : Math.pow(E, e), new j(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
923
|
+
},
|
|
924
|
+
rgb() {
|
|
925
|
+
return this;
|
|
926
|
+
},
|
|
927
|
+
clamp() {
|
|
928
|
+
return new j(N(this.r), N(this.g), N(this.b), M(this.opacity));
|
|
929
|
+
},
|
|
930
|
+
displayable() {
|
|
931
|
+
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
932
|
+
},
|
|
933
|
+
hex: $t,
|
|
934
|
+
formatHex: $t,
|
|
935
|
+
formatHex8: en,
|
|
936
|
+
formatRgb: tn,
|
|
937
|
+
toString: tn
|
|
938
|
+
}));
|
|
939
|
+
function $t() {
|
|
940
|
+
return `#${P(this.r)}${P(this.g)}${P(this.b)}`;
|
|
941
|
+
}
|
|
942
|
+
function en() {
|
|
943
|
+
return `#${P(this.r)}${P(this.g)}${P(this.b)}${P((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
944
|
+
}
|
|
945
|
+
function tn() {
|
|
946
|
+
let e = M(this.opacity);
|
|
947
|
+
return `${e === 1 ? "rgb(" : "rgba("}${N(this.r)}, ${N(this.g)}, ${N(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
948
|
+
}
|
|
949
|
+
function M(e) {
|
|
950
|
+
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
|
|
951
|
+
}
|
|
952
|
+
function N(e) {
|
|
953
|
+
return Math.max(0, Math.min(255, Math.round(e) || 0));
|
|
954
|
+
}
|
|
955
|
+
function P(e) {
|
|
956
|
+
return e = N(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
957
|
+
}
|
|
958
|
+
function nn(e, t, n, r) {
|
|
959
|
+
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new F(e, t, n, r);
|
|
960
|
+
}
|
|
961
|
+
function rn(e) {
|
|
962
|
+
if (e instanceof F) return new F(e.h, e.s, e.l, e.opacity);
|
|
963
|
+
if (e instanceof T || (e = A(e)), !e) return new F();
|
|
964
|
+
if (e instanceof F) return e;
|
|
965
|
+
e = e.rgb();
|
|
966
|
+
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
|
|
967
|
+
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new F(o, s, c, e.opacity);
|
|
968
|
+
}
|
|
969
|
+
function an(e, t, n, r) {
|
|
970
|
+
return arguments.length === 1 ? rn(e) : new F(e, t, n, r == null ? 1 : r);
|
|
971
|
+
}
|
|
972
|
+
function F(e, t, n, r) {
|
|
973
|
+
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
974
|
+
}
|
|
975
|
+
Pt(F, an, Ft(T, {
|
|
976
|
+
brighter(e) {
|
|
977
|
+
return e = e == null ? It : Math.pow(It, e), new F(this.h, this.s, this.l * e, this.opacity);
|
|
978
|
+
},
|
|
979
|
+
darker(e) {
|
|
980
|
+
return e = e == null ? E : Math.pow(E, e), new F(this.h, this.s, this.l * e, this.opacity);
|
|
981
|
+
},
|
|
982
|
+
rgb() {
|
|
983
|
+
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
|
|
984
|
+
return new j(sn(e >= 240 ? e - 240 : e + 120, i, r), sn(e, i, r), sn(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
|
|
985
|
+
},
|
|
986
|
+
clamp() {
|
|
987
|
+
return new F(on(this.h), I(this.s), I(this.l), M(this.opacity));
|
|
988
|
+
},
|
|
989
|
+
displayable() {
|
|
990
|
+
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
991
|
+
},
|
|
992
|
+
formatHsl() {
|
|
993
|
+
let e = M(this.opacity);
|
|
994
|
+
return `${e === 1 ? "hsl(" : "hsla("}${on(this.h)}, ${I(this.s) * 100}%, ${I(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
|
|
995
|
+
}
|
|
996
|
+
}));
|
|
997
|
+
function on(e) {
|
|
998
|
+
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
|
|
999
|
+
}
|
|
1000
|
+
function I(e) {
|
|
1001
|
+
return Math.max(0, Math.min(1, e || 0));
|
|
1002
|
+
}
|
|
1003
|
+
function sn(e, t, n) {
|
|
1004
|
+
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
|
|
1005
|
+
}
|
|
1006
|
+
//#endregion
|
|
1007
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js
|
|
1008
|
+
var L = (e) => () => e;
|
|
1009
|
+
//#endregion
|
|
1010
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js
|
|
1011
|
+
function cn(e, t) {
|
|
1012
|
+
return function(n) {
|
|
1013
|
+
return e + n * t;
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
function ln(e, t, n) {
|
|
1017
|
+
return e = Math.pow(e, n), t = Math.pow(t, n) - e, n = 1 / n, function(r) {
|
|
1018
|
+
return Math.pow(e + r * t, n);
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
function un(e, t) {
|
|
1022
|
+
var n = t - e;
|
|
1023
|
+
return n ? cn(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : L(isNaN(e) ? t : e);
|
|
1024
|
+
}
|
|
1025
|
+
function dn(e) {
|
|
1026
|
+
return (e = +e) == 1 ? fn : function(t, n) {
|
|
1027
|
+
return n - t ? ln(t, n, e) : L(isNaN(t) ? n : t);
|
|
1028
|
+
};
|
|
1029
|
+
}
|
|
1030
|
+
function fn(e, t) {
|
|
1031
|
+
var n = t - e;
|
|
1032
|
+
return n ? cn(e, n) : L(isNaN(e) ? t : e);
|
|
1033
|
+
}
|
|
1034
|
+
//#endregion
|
|
1035
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js
|
|
1036
|
+
var pn = (function e(t) {
|
|
1037
|
+
var n = dn(t);
|
|
1038
|
+
function r(e, t) {
|
|
1039
|
+
var r = n((e = Qt(e)).r, (t = Qt(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = fn(e.opacity, t.opacity);
|
|
1040
|
+
return function(t) {
|
|
1041
|
+
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
return r.gamma = e, r;
|
|
1045
|
+
})(1);
|
|
1046
|
+
//#endregion
|
|
1047
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js
|
|
1048
|
+
function R(e, t) {
|
|
1049
|
+
return e = +e, t = +t, function(n) {
|
|
1050
|
+
return e * (1 - n) + t * n;
|
|
1051
|
+
};
|
|
1052
|
+
}
|
|
1053
|
+
//#endregion
|
|
1054
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js
|
|
1055
|
+
var mn = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, hn = new RegExp(mn.source, "g");
|
|
1056
|
+
function gn(e) {
|
|
1057
|
+
return function() {
|
|
1058
|
+
return e;
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1061
|
+
function _n(e) {
|
|
1062
|
+
return function(t) {
|
|
1063
|
+
return e(t) + "";
|
|
1064
|
+
};
|
|
1065
|
+
}
|
|
1066
|
+
function vn(e, t) {
|
|
1067
|
+
var n = mn.lastIndex = hn.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
|
|
1068
|
+
for (e += "", t += ""; (r = mn.exec(e)) && (i = hn.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
|
|
1069
|
+
i: o,
|
|
1070
|
+
x: R(r, i)
|
|
1071
|
+
})), n = hn.lastIndex;
|
|
1072
|
+
return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? _n(c[0].x) : gn(t) : (t = c.length, function(e) {
|
|
1073
|
+
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
|
|
1074
|
+
return s.join("");
|
|
1075
|
+
});
|
|
1076
|
+
}
|
|
1077
|
+
//#endregion
|
|
1078
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.js
|
|
1079
|
+
var yn = 180 / Math.PI, bn = {
|
|
1080
|
+
translateX: 0,
|
|
1081
|
+
translateY: 0,
|
|
1082
|
+
rotate: 0,
|
|
1083
|
+
skewX: 0,
|
|
1084
|
+
scaleX: 1,
|
|
1085
|
+
scaleY: 1
|
|
1086
|
+
};
|
|
1087
|
+
function xn(e, t, n, r, i, a) {
|
|
1088
|
+
var o, s, c;
|
|
1089
|
+
return (o = Math.sqrt(e * e + t * t)) && (e /= o, t /= o), (c = e * n + t * r) && (n -= e * c, r -= t * c), (s = Math.sqrt(n * n + r * r)) && (n /= s, r /= s, c /= s), e * r < t * n && (e = -e, t = -t, c = -c, o = -o), {
|
|
1090
|
+
translateX: i,
|
|
1091
|
+
translateY: a,
|
|
1092
|
+
rotate: Math.atan2(t, e) * yn,
|
|
1093
|
+
skewX: Math.atan(c) * yn,
|
|
1094
|
+
scaleX: o,
|
|
1095
|
+
scaleY: s
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
//#endregion
|
|
1099
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.js
|
|
1100
|
+
var Sn;
|
|
1101
|
+
function Cn(e) {
|
|
1102
|
+
let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
|
|
1103
|
+
return t.isIdentity ? bn : xn(t.a, t.b, t.c, t.d, t.e, t.f);
|
|
1104
|
+
}
|
|
1105
|
+
function wn(e) {
|
|
1106
|
+
return e == null || (Sn || (Sn = document.createElementNS("http://www.w3.org/2000/svg", "g")), Sn.setAttribute("transform", e), !(e = Sn.transform.baseVal.consolidate())) ? bn : (e = e.matrix, xn(e.a, e.b, e.c, e.d, e.e, e.f));
|
|
1107
|
+
}
|
|
1108
|
+
//#endregion
|
|
1109
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.js
|
|
1110
|
+
function Tn(e, t, n, r) {
|
|
1111
|
+
function i(e) {
|
|
1112
|
+
return e.length ? e.pop() + " " : "";
|
|
1113
|
+
}
|
|
1114
|
+
function a(e, r, i, a, o, s) {
|
|
1115
|
+
if (e !== i || r !== a) {
|
|
1116
|
+
var c = o.push("translate(", null, t, null, n);
|
|
1117
|
+
s.push({
|
|
1118
|
+
i: c - 4,
|
|
1119
|
+
x: R(e, i)
|
|
1120
|
+
}, {
|
|
1121
|
+
i: c - 2,
|
|
1122
|
+
x: R(r, a)
|
|
1123
|
+
});
|
|
1124
|
+
} else (i || a) && o.push("translate(" + i + t + a + n);
|
|
1125
|
+
}
|
|
1126
|
+
function o(e, t, n, a) {
|
|
1127
|
+
e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
|
|
1128
|
+
i: n.push(i(n) + "rotate(", null, r) - 2,
|
|
1129
|
+
x: R(e, t)
|
|
1130
|
+
}));
|
|
1131
|
+
}
|
|
1132
|
+
function s(e, t, n, a) {
|
|
1133
|
+
e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
|
|
1134
|
+
i: n.push(i(n) + "skewX(", null, r) - 2,
|
|
1135
|
+
x: R(e, t)
|
|
1136
|
+
});
|
|
1137
|
+
}
|
|
1138
|
+
function c(e, t, n, r, a, o) {
|
|
1139
|
+
if (e !== n || t !== r) {
|
|
1140
|
+
var s = a.push(i(a) + "scale(", null, ",", null, ")");
|
|
1141
|
+
o.push({
|
|
1142
|
+
i: s - 4,
|
|
1143
|
+
x: R(e, n)
|
|
1144
|
+
}, {
|
|
1145
|
+
i: s - 2,
|
|
1146
|
+
x: R(t, r)
|
|
1147
|
+
});
|
|
1148
|
+
} else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
|
|
1149
|
+
}
|
|
1150
|
+
return function(t, n) {
|
|
1151
|
+
var r = [], i = [];
|
|
1152
|
+
return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), s(t.skewX, n.skewX, r, i), c(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
|
|
1153
|
+
for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
|
|
1154
|
+
return r.join("");
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
}
|
|
1158
|
+
var En = Tn(Cn, "px, ", "px)", "deg)"), Dn = Tn(wn, ", ", ")", ")"), z = 0, B = 0, V = 0, On = 1e3, kn, H, U = 0, W = 0, An = 0, G = typeof performance == "object" && performance.now ? performance : Date, jn = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
1159
|
+
setTimeout(e, 17);
|
|
1160
|
+
};
|
|
1161
|
+
function Mn() {
|
|
1162
|
+
return W || (jn(Nn), W = G.now() + An);
|
|
1163
|
+
}
|
|
1164
|
+
function Nn() {
|
|
1165
|
+
W = 0;
|
|
1166
|
+
}
|
|
1167
|
+
function Pn() {
|
|
1168
|
+
this._call = this._time = this._next = null;
|
|
1169
|
+
}
|
|
1170
|
+
Pn.prototype = Fn.prototype = {
|
|
1171
|
+
constructor: Pn,
|
|
1172
|
+
restart: function(e, t, n) {
|
|
1173
|
+
if (typeof e != "function") throw TypeError("callback is not a function");
|
|
1174
|
+
n = (n == null ? Mn() : +n) + (t == null ? 0 : +t), !this._next && H !== this && (H ? H._next = this : kn = this, H = this), this._call = e, this._time = n, Bn();
|
|
1175
|
+
},
|
|
1176
|
+
stop: function() {
|
|
1177
|
+
this._call && (this._call = null, this._time = Infinity, Bn());
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
function Fn(e, t, n) {
|
|
1181
|
+
var r = new Pn();
|
|
1182
|
+
return r.restart(e, t, n), r;
|
|
1183
|
+
}
|
|
1184
|
+
function In() {
|
|
1185
|
+
Mn(), ++z;
|
|
1186
|
+
for (var e = kn, t; e;) (t = W - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
1187
|
+
--z;
|
|
1188
|
+
}
|
|
1189
|
+
function Ln() {
|
|
1190
|
+
W = (U = G.now()) + An, z = B = 0;
|
|
1191
|
+
try {
|
|
1192
|
+
In();
|
|
1193
|
+
} finally {
|
|
1194
|
+
z = 0, zn(), W = 0;
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
function Rn() {
|
|
1198
|
+
var e = G.now(), t = e - U;
|
|
1199
|
+
t > On && (An -= t, U = e);
|
|
1200
|
+
}
|
|
1201
|
+
function zn() {
|
|
1202
|
+
for (var e, t = kn, n, r = Infinity; t;) t._call ? (r > t._time && (r = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : kn = n);
|
|
1203
|
+
H = e, Bn(r);
|
|
1204
|
+
}
|
|
1205
|
+
function Bn(e) {
|
|
1206
|
+
z || (B && (B = clearTimeout(B)), e - W > 24 ? (e < Infinity && (B = setTimeout(Ln, e - G.now() - An)), V && (V = clearInterval(V))) : (V || (U = G.now(), V = setInterval(Rn, On)), z = 1, jn(Ln)));
|
|
1207
|
+
}
|
|
1208
|
+
//#endregion
|
|
1209
|
+
//#region node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.js
|
|
1210
|
+
function Vn(e, t, n) {
|
|
1211
|
+
var r = new Pn();
|
|
1212
|
+
return t = t == null ? 0 : +t, r.restart((n) => {
|
|
1213
|
+
r.stop(), e(n + t);
|
|
1214
|
+
}, t, n), r;
|
|
1215
|
+
}
|
|
1216
|
+
//#endregion
|
|
1217
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.js
|
|
1218
|
+
var Hn = t("start", "end", "cancel", "interrupt"), Un = [];
|
|
1219
|
+
function Wn(e, t, n, r, i, a) {
|
|
1220
|
+
var o = e.__transition;
|
|
1221
|
+
if (!o) e.__transition = {};
|
|
1222
|
+
else if (n in o) return;
|
|
1223
|
+
Kn(e, n, {
|
|
1224
|
+
name: t,
|
|
1225
|
+
index: r,
|
|
1226
|
+
group: i,
|
|
1227
|
+
on: Hn,
|
|
1228
|
+
tween: Un,
|
|
1229
|
+
time: a.time,
|
|
1230
|
+
delay: a.delay,
|
|
1231
|
+
duration: a.duration,
|
|
1232
|
+
ease: a.ease,
|
|
1233
|
+
timer: null,
|
|
1234
|
+
state: 0
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
function Gn(e, t) {
|
|
1238
|
+
var n = q(e, t);
|
|
1239
|
+
if (n.state > 0) throw Error("too late; already scheduled");
|
|
1240
|
+
return n;
|
|
1241
|
+
}
|
|
1242
|
+
function K(e, t) {
|
|
1243
|
+
var n = q(e, t);
|
|
1244
|
+
if (n.state > 3) throw Error("too late; already running");
|
|
1245
|
+
return n;
|
|
1246
|
+
}
|
|
1247
|
+
function q(e, t) {
|
|
1248
|
+
var n = e.__transition;
|
|
1249
|
+
if (!n || !(n = n[t])) throw Error("transition not found");
|
|
1250
|
+
return n;
|
|
1251
|
+
}
|
|
1252
|
+
function Kn(e, t, n) {
|
|
1253
|
+
var r = e.__transition, i;
|
|
1254
|
+
r[t] = n, n.timer = Fn(a, 0, n.time);
|
|
1255
|
+
function a(e) {
|
|
1256
|
+
n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
|
|
1257
|
+
}
|
|
1258
|
+
function o(a) {
|
|
1259
|
+
var l, u, d, f;
|
|
1260
|
+
if (n.state !== 1) return c();
|
|
1261
|
+
for (l in r) if (f = r[l], f.name === n.name) {
|
|
1262
|
+
if (f.state === 3) return Vn(o);
|
|
1263
|
+
f.state === 4 ? (f.state = 6, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete r[l]) : +l < t && (f.state = 6, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete r[l]);
|
|
1264
|
+
}
|
|
1265
|
+
if (Vn(function() {
|
|
1266
|
+
n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
|
|
1267
|
+
}), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
|
|
1268
|
+
for (n.state = 3, i = Array(d = n.tween.length), l = 0, u = -1; l < d; ++l) (f = n.tween[l].value.call(e, e.__data__, n.index, n.group)) && (i[++u] = f);
|
|
1269
|
+
i.length = u + 1;
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
function s(t) {
|
|
1273
|
+
for (var r = t < n.duration ? n.ease.call(null, t / n.duration) : (n.timer.restart(c), n.state = 5, 1), a = -1, o = i.length; ++a < o;) i[a].call(e, r);
|
|
1274
|
+
n.state === 5 && (n.on.call("end", e, e.__data__, n.index, n.group), c());
|
|
1275
|
+
}
|
|
1276
|
+
function c() {
|
|
1277
|
+
for (var i in n.state = 6, n.timer.stop(), delete r[t], r) return;
|
|
1278
|
+
delete e.__transition;
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
//#endregion
|
|
1282
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.js
|
|
1283
|
+
function qn(e, t) {
|
|
1284
|
+
var n = e.__transition, r, i, a = !0, o;
|
|
1285
|
+
if (n) {
|
|
1286
|
+
for (o in t = t == null ? null : t + "", n) {
|
|
1287
|
+
if ((r = n[o]).name !== t) {
|
|
1288
|
+
a = !1;
|
|
1289
|
+
continue;
|
|
1290
|
+
}
|
|
1291
|
+
i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o];
|
|
1292
|
+
}
|
|
1293
|
+
a && delete e.__transition;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
//#endregion
|
|
1297
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.js
|
|
1298
|
+
function Jn(e) {
|
|
1299
|
+
return this.each(function() {
|
|
1300
|
+
qn(this, e);
|
|
1301
|
+
});
|
|
1302
|
+
}
|
|
1303
|
+
//#endregion
|
|
1304
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.js
|
|
1305
|
+
function Yn(e, t) {
|
|
1306
|
+
var n, r;
|
|
1307
|
+
return function() {
|
|
1308
|
+
var i = K(this, e), a = i.tween;
|
|
1309
|
+
if (a !== n) {
|
|
1310
|
+
r = n = a;
|
|
1311
|
+
for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
|
|
1312
|
+
r = r.slice(), r.splice(o, 1);
|
|
1313
|
+
break;
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
i.tween = r;
|
|
1317
|
+
};
|
|
1318
|
+
}
|
|
1319
|
+
function Xn(e, t, n) {
|
|
1320
|
+
var r, i;
|
|
1321
|
+
if (typeof n != "function") throw Error();
|
|
1322
|
+
return function() {
|
|
1323
|
+
var a = K(this, e), o = a.tween;
|
|
1324
|
+
if (o !== r) {
|
|
1325
|
+
i = (r = o).slice();
|
|
1326
|
+
for (var s = {
|
|
1327
|
+
name: t,
|
|
1328
|
+
value: n
|
|
1329
|
+
}, c = 0, l = i.length; c < l; ++c) if (i[c].name === t) {
|
|
1330
|
+
i[c] = s;
|
|
1331
|
+
break;
|
|
1332
|
+
}
|
|
1333
|
+
c === l && i.push(s);
|
|
1334
|
+
}
|
|
1335
|
+
a.tween = i;
|
|
1336
|
+
};
|
|
1337
|
+
}
|
|
1338
|
+
function Zn(e, t) {
|
|
1339
|
+
var n = this._id;
|
|
1340
|
+
if (e += "", arguments.length < 2) {
|
|
1341
|
+
for (var r = q(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
|
|
1342
|
+
return null;
|
|
1343
|
+
}
|
|
1344
|
+
return this.each((t == null ? Yn : Xn)(n, e, t));
|
|
1345
|
+
}
|
|
1346
|
+
function Qn(e, t, n) {
|
|
1347
|
+
var r = e._id;
|
|
1348
|
+
return e.each(function() {
|
|
1349
|
+
var e = K(this, r);
|
|
1350
|
+
(e.value || (e.value = {}))[t] = n.apply(this, arguments);
|
|
1351
|
+
}), function(e) {
|
|
1352
|
+
return q(e, r).value[t];
|
|
1353
|
+
};
|
|
1354
|
+
}
|
|
1355
|
+
//#endregion
|
|
1356
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.js
|
|
1357
|
+
function $n(e, t) {
|
|
1358
|
+
var n;
|
|
1359
|
+
return (typeof t == "number" ? R : t instanceof A ? pn : (n = A(t)) ? (t = n, pn) : vn)(e, t);
|
|
1360
|
+
}
|
|
1361
|
+
//#endregion
|
|
1362
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.js
|
|
1363
|
+
function er(e) {
|
|
1364
|
+
return function() {
|
|
1365
|
+
this.removeAttribute(e);
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1368
|
+
function tr(e) {
|
|
1369
|
+
return function() {
|
|
1370
|
+
this.removeAttributeNS(e.space, e.local);
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
function nr(e, t, n) {
|
|
1374
|
+
var r, i = n + "", a;
|
|
1375
|
+
return function() {
|
|
1376
|
+
var o = this.getAttribute(e);
|
|
1377
|
+
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
function rr(e, t, n) {
|
|
1381
|
+
var r, i = n + "", a;
|
|
1382
|
+
return function() {
|
|
1383
|
+
var o = this.getAttributeNS(e.space, e.local);
|
|
1384
|
+
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
1385
|
+
};
|
|
1386
|
+
}
|
|
1387
|
+
function ir(e, t, n) {
|
|
1388
|
+
var r, i, a;
|
|
1389
|
+
return function() {
|
|
1390
|
+
var o, s = n(this), c;
|
|
1391
|
+
return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
function ar(e, t, n) {
|
|
1395
|
+
var r, i, a;
|
|
1396
|
+
return function() {
|
|
1397
|
+
var o, s = n(this), c;
|
|
1398
|
+
return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
1399
|
+
};
|
|
1400
|
+
}
|
|
1401
|
+
function or(e, t) {
|
|
1402
|
+
var n = s(e), r = n === "transform" ? Dn : $n;
|
|
1403
|
+
return this.attrTween(e, typeof t == "function" ? (n.local ? ar : ir)(n, r, Qn(this, "attr." + e, t)) : t == null ? (n.local ? tr : er)(n) : (n.local ? rr : nr)(n, r, t));
|
|
1404
|
+
}
|
|
1405
|
+
//#endregion
|
|
1406
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.js
|
|
1407
|
+
function sr(e, t) {
|
|
1408
|
+
return function(n) {
|
|
1409
|
+
this.setAttribute(e, t.call(this, n));
|
|
1410
|
+
};
|
|
1411
|
+
}
|
|
1412
|
+
function cr(e, t) {
|
|
1413
|
+
return function(n) {
|
|
1414
|
+
this.setAttributeNS(e.space, e.local, t.call(this, n));
|
|
1415
|
+
};
|
|
1416
|
+
}
|
|
1417
|
+
function lr(e, t) {
|
|
1418
|
+
var n, r;
|
|
1419
|
+
function i() {
|
|
1420
|
+
var i = t.apply(this, arguments);
|
|
1421
|
+
return i !== r && (n = (r = i) && cr(e, i)), n;
|
|
1422
|
+
}
|
|
1423
|
+
return i._value = t, i;
|
|
1424
|
+
}
|
|
1425
|
+
function ur(e, t) {
|
|
1426
|
+
var n, r;
|
|
1427
|
+
function i() {
|
|
1428
|
+
var i = t.apply(this, arguments);
|
|
1429
|
+
return i !== r && (n = (r = i) && sr(e, i)), n;
|
|
1430
|
+
}
|
|
1431
|
+
return i._value = t, i;
|
|
1432
|
+
}
|
|
1433
|
+
function dr(e, t) {
|
|
1434
|
+
var n = "attr." + e;
|
|
1435
|
+
if (arguments.length < 2) return (n = this.tween(n)) && n._value;
|
|
1436
|
+
if (t == null) return this.tween(n, null);
|
|
1437
|
+
if (typeof t != "function") throw Error();
|
|
1438
|
+
var r = s(e);
|
|
1439
|
+
return this.tween(n, (r.local ? lr : ur)(r, t));
|
|
1440
|
+
}
|
|
1441
|
+
//#endregion
|
|
1442
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.js
|
|
1443
|
+
function fr(e, t) {
|
|
1444
|
+
return function() {
|
|
1445
|
+
Gn(this, e).delay = +t.apply(this, arguments);
|
|
1446
|
+
};
|
|
1447
|
+
}
|
|
1448
|
+
function pr(e, t) {
|
|
1449
|
+
return t = +t, function() {
|
|
1450
|
+
Gn(this, e).delay = t;
|
|
1451
|
+
};
|
|
1452
|
+
}
|
|
1453
|
+
function mr(e) {
|
|
1454
|
+
var t = this._id;
|
|
1455
|
+
return arguments.length ? this.each((typeof e == "function" ? fr : pr)(t, e)) : q(this.node(), t).delay;
|
|
1456
|
+
}
|
|
1457
|
+
//#endregion
|
|
1458
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.js
|
|
1459
|
+
function hr(e, t) {
|
|
1460
|
+
return function() {
|
|
1461
|
+
K(this, e).duration = +t.apply(this, arguments);
|
|
1462
|
+
};
|
|
1463
|
+
}
|
|
1464
|
+
function gr(e, t) {
|
|
1465
|
+
return t = +t, function() {
|
|
1466
|
+
K(this, e).duration = t;
|
|
1467
|
+
};
|
|
1468
|
+
}
|
|
1469
|
+
function _r(e) {
|
|
1470
|
+
var t = this._id;
|
|
1471
|
+
return arguments.length ? this.each((typeof e == "function" ? hr : gr)(t, e)) : q(this.node(), t).duration;
|
|
1472
|
+
}
|
|
1473
|
+
//#endregion
|
|
1474
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.js
|
|
1475
|
+
function vr(e, t) {
|
|
1476
|
+
if (typeof t != "function") throw Error();
|
|
1477
|
+
return function() {
|
|
1478
|
+
K(this, e).ease = t;
|
|
1479
|
+
};
|
|
1480
|
+
}
|
|
1481
|
+
function yr(e) {
|
|
1482
|
+
var t = this._id;
|
|
1483
|
+
return arguments.length ? this.each(vr(t, e)) : q(this.node(), t).ease;
|
|
1484
|
+
}
|
|
1485
|
+
//#endregion
|
|
1486
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.js
|
|
1487
|
+
function br(e, t) {
|
|
1488
|
+
return function() {
|
|
1489
|
+
var n = t.apply(this, arguments);
|
|
1490
|
+
if (typeof n != "function") throw Error();
|
|
1491
|
+
K(this, e).ease = n;
|
|
1492
|
+
};
|
|
1493
|
+
}
|
|
1494
|
+
function xr(e) {
|
|
1495
|
+
if (typeof e != "function") throw Error();
|
|
1496
|
+
return this.each(br(this._id, e));
|
|
1497
|
+
}
|
|
1498
|
+
//#endregion
|
|
1499
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.js
|
|
1500
|
+
function Sr(e) {
|
|
1501
|
+
typeof e != "function" && (e = y(e));
|
|
1502
|
+
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
|
|
1503
|
+
return new J(r, this._parents, this._name, this._id);
|
|
1504
|
+
}
|
|
1505
|
+
//#endregion
|
|
1506
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.js
|
|
1507
|
+
function Cr(e) {
|
|
1508
|
+
if (e._id !== this._id) throw Error();
|
|
1509
|
+
for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
|
|
1510
|
+
for (; s < r; ++s) o[s] = t[s];
|
|
1511
|
+
return new J(o, this._parents, this._name, this._id);
|
|
1512
|
+
}
|
|
1513
|
+
//#endregion
|
|
1514
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.js
|
|
1515
|
+
function wr(e) {
|
|
1516
|
+
return (e + "").trim().split(/^|\s+/).every(function(e) {
|
|
1517
|
+
var t = e.indexOf(".");
|
|
1518
|
+
return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
|
|
1519
|
+
});
|
|
1520
|
+
}
|
|
1521
|
+
function Tr(e, t, n) {
|
|
1522
|
+
var r, i, a = wr(t) ? Gn : K;
|
|
1523
|
+
return function() {
|
|
1524
|
+
var o = a(this, e), s = o.on;
|
|
1525
|
+
s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
|
|
1526
|
+
};
|
|
1527
|
+
}
|
|
1528
|
+
function Er(e, t) {
|
|
1529
|
+
var n = this._id;
|
|
1530
|
+
return arguments.length < 2 ? q(this.node(), n).on.on(e) : this.each(Tr(n, e, t));
|
|
1531
|
+
}
|
|
1532
|
+
//#endregion
|
|
1533
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.js
|
|
1534
|
+
function Dr(e) {
|
|
1535
|
+
return function() {
|
|
1536
|
+
var t = this.parentNode;
|
|
1537
|
+
for (var n in this.__transition) if (+n !== e) return;
|
|
1538
|
+
t && t.removeChild(this);
|
|
1539
|
+
};
|
|
1540
|
+
}
|
|
1541
|
+
function Or() {
|
|
1542
|
+
return this.on("end.remove", Dr(this._id));
|
|
1543
|
+
}
|
|
1544
|
+
//#endregion
|
|
1545
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.js
|
|
1546
|
+
function kr(e) {
|
|
1547
|
+
var t = this._name, n = this._id;
|
|
1548
|
+
typeof e != "function" && (e = f(e));
|
|
1549
|
+
for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, p = 0; p < c; ++p) (u = s[p]) && (d = e.call(u, u.__data__, p, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[p] = d, Wn(l[p], t, n, p, l, q(u, n)));
|
|
1550
|
+
return new J(a, this._parents, t, n);
|
|
1551
|
+
}
|
|
1552
|
+
//#endregion
|
|
1553
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.js
|
|
1554
|
+
function Ar(e) {
|
|
1555
|
+
var t = this._name, n = this._id;
|
|
1556
|
+
typeof e != "function" && (e = g(e));
|
|
1557
|
+
for (var r = this._groups, i = r.length, a = [], o = [], s = 0; s < i; ++s) for (var c = r[s], l = c.length, u, d = 0; d < l; ++d) if (u = c[d]) {
|
|
1558
|
+
for (var f = e.call(u, u.__data__, d, c), p, m = q(u, n), h = 0, _ = f.length; h < _; ++h) (p = f[h]) && Wn(p, t, n, h, f, m);
|
|
1559
|
+
a.push(f), o.push(u);
|
|
1560
|
+
}
|
|
1561
|
+
return new J(a, o, t, n);
|
|
1562
|
+
}
|
|
1563
|
+
//#endregion
|
|
1564
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.js
|
|
1565
|
+
var jr = w.prototype.constructor;
|
|
1566
|
+
function Mr() {
|
|
1567
|
+
return new jr(this._groups, this._parents);
|
|
1568
|
+
}
|
|
1569
|
+
//#endregion
|
|
1570
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.js
|
|
1571
|
+
function Nr(e, t) {
|
|
1572
|
+
var n, r, i;
|
|
1573
|
+
return function() {
|
|
1574
|
+
var a = S(this, e), o = (this.style.removeProperty(e), S(this, e));
|
|
1575
|
+
return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
|
|
1576
|
+
};
|
|
1577
|
+
}
|
|
1578
|
+
function Pr(e) {
|
|
1579
|
+
return function() {
|
|
1580
|
+
this.style.removeProperty(e);
|
|
1581
|
+
};
|
|
1582
|
+
}
|
|
1583
|
+
function Fr(e, t, n) {
|
|
1584
|
+
var r, i = n + "", a;
|
|
1585
|
+
return function() {
|
|
1586
|
+
var o = S(this, e);
|
|
1587
|
+
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
1588
|
+
};
|
|
1589
|
+
}
|
|
1590
|
+
function Ir(e, t, n) {
|
|
1591
|
+
var r, i, a;
|
|
1592
|
+
return function() {
|
|
1593
|
+
var o = S(this, e), s = n(this), c = s + "";
|
|
1594
|
+
return s == null && (c = s = (this.style.removeProperty(e), S(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
|
|
1595
|
+
};
|
|
1596
|
+
}
|
|
1597
|
+
function Lr(e, t) {
|
|
1598
|
+
var n, r, i, a = "style." + t, o = "end." + a, s;
|
|
1599
|
+
return function() {
|
|
1600
|
+
var c = K(this, e), l = c.on, u = c.value[a] == null ? s || (s = Pr(t)) : void 0;
|
|
1601
|
+
(l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1604
|
+
function Rr(e, t, n) {
|
|
1605
|
+
var r = (e += "") == "transform" ? En : $n;
|
|
1606
|
+
return t == null ? this.styleTween(e, Nr(e, r)).on("end.style." + e, Pr(e)) : typeof t == "function" ? this.styleTween(e, Ir(e, r, Qn(this, "style." + e, t))).each(Lr(this._id, e)) : this.styleTween(e, Fr(e, r, t), n).on("end.style." + e, null);
|
|
1607
|
+
}
|
|
1608
|
+
//#endregion
|
|
1609
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.js
|
|
1610
|
+
function zr(e, t, n) {
|
|
1611
|
+
return function(r) {
|
|
1612
|
+
this.style.setProperty(e, t.call(this, r), n);
|
|
1613
|
+
};
|
|
1614
|
+
}
|
|
1615
|
+
function Br(e, t, n) {
|
|
1616
|
+
var r, i;
|
|
1617
|
+
function a() {
|
|
1618
|
+
var a = t.apply(this, arguments);
|
|
1619
|
+
return a !== i && (r = (i = a) && zr(e, a, n)), r;
|
|
1620
|
+
}
|
|
1621
|
+
return a._value = t, a;
|
|
1622
|
+
}
|
|
1623
|
+
function Vr(e, t, n) {
|
|
1624
|
+
var r = "style." + (e += "");
|
|
1625
|
+
if (arguments.length < 2) return (r = this.tween(r)) && r._value;
|
|
1626
|
+
if (t == null) return this.tween(r, null);
|
|
1627
|
+
if (typeof t != "function") throw Error();
|
|
1628
|
+
return this.tween(r, Br(e, t, n == null ? "" : n));
|
|
1629
|
+
}
|
|
1630
|
+
//#endregion
|
|
1631
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.js
|
|
1632
|
+
function Hr(e) {
|
|
1633
|
+
return function() {
|
|
1634
|
+
this.textContent = e;
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
function Ur(e) {
|
|
1638
|
+
return function() {
|
|
1639
|
+
var t = e(this);
|
|
1640
|
+
this.textContent = t == null ? "" : t;
|
|
1641
|
+
};
|
|
1642
|
+
}
|
|
1643
|
+
function Wr(e) {
|
|
1644
|
+
return this.tween("text", typeof e == "function" ? Ur(Qn(this, "text", e)) : Hr(e == null ? "" : e + ""));
|
|
1645
|
+
}
|
|
1646
|
+
//#endregion
|
|
1647
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.js
|
|
1648
|
+
function Gr(e) {
|
|
1649
|
+
return function(t) {
|
|
1650
|
+
this.textContent = e.call(this, t);
|
|
1651
|
+
};
|
|
1652
|
+
}
|
|
1653
|
+
function Kr(e) {
|
|
1654
|
+
var t, n;
|
|
1655
|
+
function r() {
|
|
1656
|
+
var r = e.apply(this, arguments);
|
|
1657
|
+
return r !== n && (t = (n = r) && Gr(r)), t;
|
|
1658
|
+
}
|
|
1659
|
+
return r._value = e, r;
|
|
1660
|
+
}
|
|
1661
|
+
function qr(e) {
|
|
1662
|
+
var t = "text";
|
|
1663
|
+
if (arguments.length < 1) return (t = this.tween(t)) && t._value;
|
|
1664
|
+
if (e == null) return this.tween(t, null);
|
|
1665
|
+
if (typeof e != "function") throw Error();
|
|
1666
|
+
return this.tween(t, Kr(e));
|
|
1667
|
+
}
|
|
1668
|
+
//#endregion
|
|
1669
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.js
|
|
1670
|
+
function Jr() {
|
|
1671
|
+
for (var e = this._name, t = this._id, n = Qr(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
|
|
1672
|
+
var u = q(c, t);
|
|
1673
|
+
Wn(c, e, n, l, o, {
|
|
1674
|
+
time: u.time + u.delay + u.duration,
|
|
1675
|
+
delay: 0,
|
|
1676
|
+
duration: u.duration,
|
|
1677
|
+
ease: u.ease
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
return new J(r, this._parents, e, n);
|
|
1681
|
+
}
|
|
1682
|
+
//#endregion
|
|
1683
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.js
|
|
1684
|
+
function Yr() {
|
|
1685
|
+
var e, t, n = this, r = n._id, i = n.size();
|
|
1686
|
+
return new Promise(function(a, o) {
|
|
1687
|
+
var s = { value: o }, c = { value: function() {
|
|
1688
|
+
--i === 0 && a();
|
|
1689
|
+
} };
|
|
1690
|
+
n.each(function() {
|
|
1691
|
+
var n = K(this, r), i = n.on;
|
|
1692
|
+
i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
|
|
1693
|
+
}), i === 0 && a();
|
|
1694
|
+
});
|
|
1695
|
+
}
|
|
1696
|
+
//#endregion
|
|
1697
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.js
|
|
1698
|
+
var Xr = 0;
|
|
1699
|
+
function J(e, t, n, r) {
|
|
1700
|
+
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
1701
|
+
}
|
|
1702
|
+
function Zr(e) {
|
|
1703
|
+
return w().transition(e);
|
|
1704
|
+
}
|
|
1705
|
+
function Qr() {
|
|
1706
|
+
return ++Xr;
|
|
1707
|
+
}
|
|
1708
|
+
var Y = w.prototype;
|
|
1709
|
+
J.prototype = Zr.prototype = {
|
|
1710
|
+
constructor: J,
|
|
1711
|
+
select: kr,
|
|
1712
|
+
selectAll: Ar,
|
|
1713
|
+
selectChild: Y.selectChild,
|
|
1714
|
+
selectChildren: Y.selectChildren,
|
|
1715
|
+
filter: Sr,
|
|
1716
|
+
merge: Cr,
|
|
1717
|
+
selection: Mr,
|
|
1718
|
+
transition: Jr,
|
|
1719
|
+
call: Y.call,
|
|
1720
|
+
nodes: Y.nodes,
|
|
1721
|
+
node: Y.node,
|
|
1722
|
+
size: Y.size,
|
|
1723
|
+
empty: Y.empty,
|
|
1724
|
+
each: Y.each,
|
|
1725
|
+
on: Er,
|
|
1726
|
+
attr: or,
|
|
1727
|
+
attrTween: dr,
|
|
1728
|
+
style: Rr,
|
|
1729
|
+
styleTween: Vr,
|
|
1730
|
+
text: Wr,
|
|
1731
|
+
textTween: qr,
|
|
1732
|
+
remove: Or,
|
|
1733
|
+
tween: Zn,
|
|
1734
|
+
delay: mr,
|
|
1735
|
+
duration: _r,
|
|
1736
|
+
ease: yr,
|
|
1737
|
+
easeVarying: xr,
|
|
1738
|
+
end: Yr,
|
|
1739
|
+
[Symbol.iterator]: Y[Symbol.iterator]
|
|
1740
|
+
};
|
|
1741
|
+
//#endregion
|
|
1742
|
+
//#region node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.js
|
|
1743
|
+
function $r(e) {
|
|
1744
|
+
return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
|
|
1745
|
+
}
|
|
1746
|
+
//#endregion
|
|
1747
|
+
//#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.js
|
|
1748
|
+
var ei = {
|
|
1749
|
+
time: null,
|
|
1750
|
+
delay: 0,
|
|
1751
|
+
duration: 250,
|
|
1752
|
+
ease: $r
|
|
1753
|
+
};
|
|
1754
|
+
function ti(e, t) {
|
|
1755
|
+
for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
|
|
1756
|
+
return n;
|
|
1757
|
+
}
|
|
1758
|
+
function ni(e) {
|
|
1759
|
+
var t, n;
|
|
1760
|
+
e instanceof J ? (t = e._id, e = e._name) : (t = Qr(), (n = ei).time = Mn(), e = e == null ? null : e + "");
|
|
1761
|
+
for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && Wn(c, e, t, l, o, n || ti(c, t));
|
|
1762
|
+
return new J(r, this._parents, e, t);
|
|
1763
|
+
}
|
|
1764
|
+
w.prototype.interrupt = Jn, w.prototype.transition = ni;
|
|
1765
|
+
//#endregion
|
|
1766
|
+
//#region node_modules/.pnpm/d3-brush@3.0.0/node_modules/d3-brush/src/brush.js
|
|
1767
|
+
var { abs: ri, max: ii, min: ai } = Math;
|
|
1768
|
+
["w", "e"].map(oi), ["n", "s"].map(oi), [
|
|
1769
|
+
"n",
|
|
1770
|
+
"w",
|
|
1771
|
+
"e",
|
|
1772
|
+
"s",
|
|
1773
|
+
"nw",
|
|
1774
|
+
"ne",
|
|
1775
|
+
"sw",
|
|
1776
|
+
"se"
|
|
1777
|
+
].map(oi);
|
|
1778
|
+
function oi(e) {
|
|
1779
|
+
return { type: e };
|
|
1780
|
+
}
|
|
1781
|
+
function si(e) {
|
|
1782
|
+
var t = e.__brush;
|
|
1783
|
+
return t ? t.dim.output(t.selection) : null;
|
|
1784
|
+
}
|
|
1785
|
+
//#endregion
|
|
1786
|
+
//#region node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.js
|
|
1787
|
+
var ci = Math.PI, li = 2 * ci, X = 1e-6, ui = li - X;
|
|
1788
|
+
function di(e) {
|
|
1789
|
+
this._ += e[0];
|
|
1790
|
+
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
|
|
1791
|
+
}
|
|
1792
|
+
function fi(e) {
|
|
1793
|
+
let t = Math.floor(e);
|
|
1794
|
+
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
|
|
1795
|
+
if (t > 15) return di;
|
|
1796
|
+
let n = Math.pow(10, t);
|
|
1797
|
+
return function(e) {
|
|
1798
|
+
this._ += e[0];
|
|
1799
|
+
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
|
|
1800
|
+
};
|
|
1801
|
+
}
|
|
1802
|
+
var pi = class {
|
|
1803
|
+
constructor(e) {
|
|
1804
|
+
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? di : fi(e);
|
|
1805
|
+
}
|
|
1806
|
+
moveTo(e, t) {
|
|
1807
|
+
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
|
|
1808
|
+
}
|
|
1809
|
+
closePath() {
|
|
1810
|
+
this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
|
|
1811
|
+
}
|
|
1812
|
+
lineTo(e, t) {
|
|
1813
|
+
this._append`L${this._x1 = +e},${this._y1 = +t}`;
|
|
1814
|
+
}
|
|
1815
|
+
quadraticCurveTo(e, t, n, r) {
|
|
1816
|
+
this._append`Q${+e},${+t},${this._x1 = +n},${this._y1 = +r}`;
|
|
1817
|
+
}
|
|
1818
|
+
bezierCurveTo(e, t, n, r, i, a) {
|
|
1819
|
+
this._append`C${+e},${+t},${+n},${+r},${this._x1 = +i},${this._y1 = +a}`;
|
|
1820
|
+
}
|
|
1821
|
+
arcTo(e, t, n, r, i) {
|
|
1822
|
+
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
|
|
1823
|
+
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
|
|
1824
|
+
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
|
|
1825
|
+
else if (d > X) if (!(Math.abs(u * s - c * l) > X) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
|
|
1826
|
+
else {
|
|
1827
|
+
let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((ci - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
|
|
1828
|
+
Math.abs(y - 1) > X && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
arc(e, t, n, r, i, a) {
|
|
1832
|
+
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
|
|
1833
|
+
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
|
|
1834
|
+
this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > X || Math.abs(this._y1 - l) > X) && this._append`L${c},${l}`, n && (d < 0 && (d = d % li + li), d > ui ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > X && this._append`A${n},${n},0,${+(d >= ci)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
|
|
1835
|
+
}
|
|
1836
|
+
rect(e, t, n, r) {
|
|
1837
|
+
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
|
|
1838
|
+
}
|
|
1839
|
+
toString() {
|
|
1840
|
+
return this._;
|
|
1841
|
+
}
|
|
1842
|
+
};
|
|
1843
|
+
function mi() {
|
|
1844
|
+
return new pi();
|
|
1845
|
+
}
|
|
1846
|
+
mi.prototype = pi.prototype;
|
|
1847
|
+
//#endregion
|
|
1848
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.js
|
|
1849
|
+
function Z(e) {
|
|
1850
|
+
return function() {
|
|
1851
|
+
return e;
|
|
1852
|
+
};
|
|
1853
|
+
}
|
|
1854
|
+
//#endregion
|
|
1855
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.js
|
|
1856
|
+
var hi = Math.abs, gi = Math.atan2, _i = Math.cos, vi = Math.max, yi = Math.min, bi = Math.sin, xi = Math.sqrt, Si = 1e-12, Ci = Math.PI, wi = Ci / 2, Ti = 2 * Ci;
|
|
1857
|
+
function Ei(e) {
|
|
1858
|
+
return e > 1 ? 0 : e < -1 ? Ci : Math.acos(e);
|
|
1859
|
+
}
|
|
1860
|
+
function Di(e) {
|
|
1861
|
+
return e >= 1 ? wi : e <= -1 ? -wi : Math.asin(e);
|
|
1862
|
+
}
|
|
1863
|
+
//#endregion
|
|
1864
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.js
|
|
1865
|
+
function Oi(e) {
|
|
1866
|
+
let t = 3;
|
|
1867
|
+
return e.digits = function(n) {
|
|
1868
|
+
if (!arguments.length) return t;
|
|
1869
|
+
if (n == null) t = null;
|
|
1870
|
+
else {
|
|
1871
|
+
let e = Math.floor(n);
|
|
1872
|
+
if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);
|
|
1873
|
+
t = e;
|
|
1874
|
+
}
|
|
1875
|
+
return e;
|
|
1876
|
+
}, () => new pi(t);
|
|
1877
|
+
}
|
|
1878
|
+
Array.prototype.slice;
|
|
1879
|
+
function ki(e) {
|
|
1880
|
+
return typeof e == "object" && "length" in e ? e : Array.from(e);
|
|
1881
|
+
}
|
|
1882
|
+
//#endregion
|
|
1883
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js
|
|
1884
|
+
function Ai(e) {
|
|
1885
|
+
this._context = e;
|
|
1886
|
+
}
|
|
1887
|
+
Ai.prototype = {
|
|
1888
|
+
areaStart: function() {
|
|
1889
|
+
this._line = 0;
|
|
1890
|
+
},
|
|
1891
|
+
areaEnd: function() {
|
|
1892
|
+
this._line = NaN;
|
|
1893
|
+
},
|
|
1894
|
+
lineStart: function() {
|
|
1895
|
+
this._point = 0;
|
|
1896
|
+
},
|
|
1897
|
+
lineEnd: function() {
|
|
1898
|
+
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
1899
|
+
},
|
|
1900
|
+
point: function(e, t) {
|
|
1901
|
+
switch (e = +e, t = +t, this._point) {
|
|
1902
|
+
case 0:
|
|
1903
|
+
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
1904
|
+
break;
|
|
1905
|
+
case 1: this._point = 2;
|
|
1906
|
+
default:
|
|
1907
|
+
this._context.lineTo(e, t);
|
|
1908
|
+
break;
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
};
|
|
1912
|
+
function ji(e) {
|
|
1913
|
+
return new Ai(e);
|
|
1914
|
+
}
|
|
1915
|
+
//#endregion
|
|
1916
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js
|
|
1917
|
+
function Mi(e) {
|
|
1918
|
+
return e[0];
|
|
1919
|
+
}
|
|
1920
|
+
function Ni(e) {
|
|
1921
|
+
return e[1];
|
|
1922
|
+
}
|
|
1923
|
+
//#endregion
|
|
1924
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.js
|
|
1925
|
+
function Pi(e, t) {
|
|
1926
|
+
var n = Z(!0), r = null, i = ji, a = null, o = Oi(s);
|
|
1927
|
+
e = typeof e == "function" ? e : e === void 0 ? Mi : Z(e), t = typeof t == "function" ? t : t === void 0 ? Ni : Z(t);
|
|
1928
|
+
function s(s) {
|
|
1929
|
+
var c, l = (s = ki(s)).length, u, d = !1, f;
|
|
1930
|
+
for (r == null && (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
|
|
1931
|
+
if (f) return a = null, f + "" || null;
|
|
1932
|
+
}
|
|
1933
|
+
return s.x = function(t) {
|
|
1934
|
+
return arguments.length ? (e = typeof t == "function" ? t : Z(+t), s) : e;
|
|
1935
|
+
}, s.y = function(e) {
|
|
1936
|
+
return arguments.length ? (t = typeof e == "function" ? e : Z(+e), s) : t;
|
|
1937
|
+
}, s.defined = function(e) {
|
|
1938
|
+
return arguments.length ? (n = typeof e == "function" ? e : Z(!!e), s) : n;
|
|
1939
|
+
}, s.curve = function(e) {
|
|
1940
|
+
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
|
|
1941
|
+
}, s.context = function(e) {
|
|
1942
|
+
return arguments.length ? (e == null ? r = a = null : a = i(r = e), s) : r;
|
|
1943
|
+
}, s;
|
|
1944
|
+
}
|
|
1945
|
+
//#endregion
|
|
1946
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.js
|
|
1947
|
+
function Q() {}
|
|
1948
|
+
//#endregion
|
|
1949
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.js
|
|
1950
|
+
function Fi(e, t, n) {
|
|
1951
|
+
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
|
|
1952
|
+
}
|
|
1953
|
+
function Ii(e) {
|
|
1954
|
+
this._context = e;
|
|
1955
|
+
}
|
|
1956
|
+
Ii.prototype = {
|
|
1957
|
+
areaStart: function() {
|
|
1958
|
+
this._line = 0;
|
|
1959
|
+
},
|
|
1960
|
+
areaEnd: function() {
|
|
1961
|
+
this._line = NaN;
|
|
1962
|
+
},
|
|
1963
|
+
lineStart: function() {
|
|
1964
|
+
this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
|
|
1965
|
+
},
|
|
1966
|
+
lineEnd: function() {
|
|
1967
|
+
switch (this._point) {
|
|
1968
|
+
case 3: Fi(this, this._x1, this._y1);
|
|
1969
|
+
case 2:
|
|
1970
|
+
this._context.lineTo(this._x1, this._y1);
|
|
1971
|
+
break;
|
|
1972
|
+
}
|
|
1973
|
+
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
1974
|
+
},
|
|
1975
|
+
point: function(e, t) {
|
|
1976
|
+
switch (e = +e, t = +t, this._point) {
|
|
1977
|
+
case 0:
|
|
1978
|
+
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
1979
|
+
break;
|
|
1980
|
+
case 1:
|
|
1981
|
+
this._point = 2;
|
|
1982
|
+
break;
|
|
1983
|
+
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
|
|
1984
|
+
default:
|
|
1985
|
+
Fi(this, e, t);
|
|
1986
|
+
break;
|
|
1987
|
+
}
|
|
1988
|
+
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
1989
|
+
}
|
|
1990
|
+
};
|
|
1991
|
+
function Li(e) {
|
|
1992
|
+
return new Ii(e);
|
|
1993
|
+
}
|
|
1994
|
+
//#endregion
|
|
1995
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.js
|
|
1996
|
+
function Ri(e) {
|
|
1997
|
+
this._context = e;
|
|
1998
|
+
}
|
|
1999
|
+
Ri.prototype = {
|
|
2000
|
+
areaStart: Q,
|
|
2001
|
+
areaEnd: Q,
|
|
2002
|
+
lineStart: function() {
|
|
2003
|
+
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
|
|
2004
|
+
},
|
|
2005
|
+
lineEnd: function() {
|
|
2006
|
+
switch (this._point) {
|
|
2007
|
+
case 1:
|
|
2008
|
+
this._context.moveTo(this._x2, this._y2), this._context.closePath();
|
|
2009
|
+
break;
|
|
2010
|
+
case 2:
|
|
2011
|
+
this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
|
|
2012
|
+
break;
|
|
2013
|
+
case 3:
|
|
2014
|
+
this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
|
|
2015
|
+
break;
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
point: function(e, t) {
|
|
2019
|
+
switch (e = +e, t = +t, this._point) {
|
|
2020
|
+
case 0:
|
|
2021
|
+
this._point = 1, this._x2 = e, this._y2 = t;
|
|
2022
|
+
break;
|
|
2023
|
+
case 1:
|
|
2024
|
+
this._point = 2, this._x3 = e, this._y3 = t;
|
|
2025
|
+
break;
|
|
2026
|
+
case 2:
|
|
2027
|
+
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
|
|
2028
|
+
break;
|
|
2029
|
+
default:
|
|
2030
|
+
Fi(this, e, t);
|
|
2031
|
+
break;
|
|
2032
|
+
}
|
|
2033
|
+
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
2034
|
+
}
|
|
2035
|
+
};
|
|
2036
|
+
function zi(e) {
|
|
2037
|
+
return new Ri(e);
|
|
2038
|
+
}
|
|
2039
|
+
//#endregion
|
|
2040
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.js
|
|
2041
|
+
function Bi(e) {
|
|
2042
|
+
this._context = e;
|
|
2043
|
+
}
|
|
2044
|
+
Bi.prototype = {
|
|
2045
|
+
areaStart: function() {
|
|
2046
|
+
this._line = 0;
|
|
2047
|
+
},
|
|
2048
|
+
areaEnd: function() {
|
|
2049
|
+
this._line = NaN;
|
|
2050
|
+
},
|
|
2051
|
+
lineStart: function() {
|
|
2052
|
+
this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
|
|
2053
|
+
},
|
|
2054
|
+
lineEnd: function() {
|
|
2055
|
+
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
2056
|
+
},
|
|
2057
|
+
point: function(e, t) {
|
|
2058
|
+
switch (e = +e, t = +t, this._point) {
|
|
2059
|
+
case 0:
|
|
2060
|
+
this._point = 1;
|
|
2061
|
+
break;
|
|
2062
|
+
case 1:
|
|
2063
|
+
this._point = 2;
|
|
2064
|
+
break;
|
|
2065
|
+
case 2:
|
|
2066
|
+
this._point = 3;
|
|
2067
|
+
var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
|
|
2068
|
+
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
|
|
2069
|
+
break;
|
|
2070
|
+
case 3: this._point = 4;
|
|
2071
|
+
default:
|
|
2072
|
+
Fi(this, e, t);
|
|
2073
|
+
break;
|
|
2074
|
+
}
|
|
2075
|
+
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
2076
|
+
}
|
|
2077
|
+
};
|
|
2078
|
+
function Vi(e) {
|
|
2079
|
+
return new Bi(e);
|
|
2080
|
+
}
|
|
2081
|
+
//#endregion
|
|
2082
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.js
|
|
2083
|
+
function Hi(e, t) {
|
|
2084
|
+
this._basis = new Ii(e), this._beta = t;
|
|
2085
|
+
}
|
|
2086
|
+
Hi.prototype = {
|
|
2087
|
+
lineStart: function() {
|
|
2088
|
+
this._x = [], this._y = [], this._basis.lineStart();
|
|
2089
|
+
},
|
|
2090
|
+
lineEnd: function() {
|
|
2091
|
+
var e = this._x, t = this._y, n = e.length - 1;
|
|
2092
|
+
if (n > 0) for (var r = e[0], i = t[0], a = e[n] - r, o = t[n] - i, s = -1, c; ++s <= n;) c = s / n, this._basis.point(this._beta * e[s] + (1 - this._beta) * (r + c * a), this._beta * t[s] + (1 - this._beta) * (i + c * o));
|
|
2093
|
+
this._x = this._y = null, this._basis.lineEnd();
|
|
2094
|
+
},
|
|
2095
|
+
point: function(e, t) {
|
|
2096
|
+
this._x.push(+e), this._y.push(+t);
|
|
2097
|
+
}
|
|
2098
|
+
};
|
|
2099
|
+
var Ui = (function e(t) {
|
|
2100
|
+
function n(e) {
|
|
2101
|
+
return t === 1 ? new Ii(e) : new Hi(e, t);
|
|
2102
|
+
}
|
|
2103
|
+
return n.beta = function(t) {
|
|
2104
|
+
return e(+t);
|
|
2105
|
+
}, n;
|
|
2106
|
+
})(.85);
|
|
2107
|
+
//#endregion
|
|
2108
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.js
|
|
2109
|
+
function Wi(e, t, n) {
|
|
2110
|
+
e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
|
|
2111
|
+
}
|
|
2112
|
+
function Gi(e, t) {
|
|
2113
|
+
this._context = e, this._k = (1 - t) / 6;
|
|
2114
|
+
}
|
|
2115
|
+
Gi.prototype = {
|
|
2116
|
+
areaStart: function() {
|
|
2117
|
+
this._line = 0;
|
|
2118
|
+
},
|
|
2119
|
+
areaEnd: function() {
|
|
2120
|
+
this._line = NaN;
|
|
2121
|
+
},
|
|
2122
|
+
lineStart: function() {
|
|
2123
|
+
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
|
|
2124
|
+
},
|
|
2125
|
+
lineEnd: function() {
|
|
2126
|
+
switch (this._point) {
|
|
2127
|
+
case 2:
|
|
2128
|
+
this._context.lineTo(this._x2, this._y2);
|
|
2129
|
+
break;
|
|
2130
|
+
case 3:
|
|
2131
|
+
Wi(this, this._x1, this._y1);
|
|
2132
|
+
break;
|
|
2133
|
+
}
|
|
2134
|
+
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
2135
|
+
},
|
|
2136
|
+
point: function(e, t) {
|
|
2137
|
+
switch (e = +e, t = +t, this._point) {
|
|
2138
|
+
case 0:
|
|
2139
|
+
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
2140
|
+
break;
|
|
2141
|
+
case 1:
|
|
2142
|
+
this._point = 2, this._x1 = e, this._y1 = t;
|
|
2143
|
+
break;
|
|
2144
|
+
case 2: this._point = 3;
|
|
2145
|
+
default:
|
|
2146
|
+
Wi(this, e, t);
|
|
2147
|
+
break;
|
|
2148
|
+
}
|
|
2149
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
2150
|
+
}
|
|
2151
|
+
};
|
|
2152
|
+
var Ki = (function e(t) {
|
|
2153
|
+
function n(e) {
|
|
2154
|
+
return new Gi(e, t);
|
|
2155
|
+
}
|
|
2156
|
+
return n.tension = function(t) {
|
|
2157
|
+
return e(+t);
|
|
2158
|
+
}, n;
|
|
2159
|
+
})(0);
|
|
2160
|
+
//#endregion
|
|
2161
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.js
|
|
2162
|
+
function qi(e, t) {
|
|
2163
|
+
this._context = e, this._k = (1 - t) / 6;
|
|
2164
|
+
}
|
|
2165
|
+
qi.prototype = {
|
|
2166
|
+
areaStart: Q,
|
|
2167
|
+
areaEnd: Q,
|
|
2168
|
+
lineStart: function() {
|
|
2169
|
+
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
|
|
2170
|
+
},
|
|
2171
|
+
lineEnd: function() {
|
|
2172
|
+
switch (this._point) {
|
|
2173
|
+
case 1:
|
|
2174
|
+
this._context.moveTo(this._x3, this._y3), this._context.closePath();
|
|
2175
|
+
break;
|
|
2176
|
+
case 2:
|
|
2177
|
+
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
2178
|
+
break;
|
|
2179
|
+
case 3:
|
|
2180
|
+
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
2181
|
+
break;
|
|
2182
|
+
}
|
|
2183
|
+
},
|
|
2184
|
+
point: function(e, t) {
|
|
2185
|
+
switch (e = +e, t = +t, this._point) {
|
|
2186
|
+
case 0:
|
|
2187
|
+
this._point = 1, this._x3 = e, this._y3 = t;
|
|
2188
|
+
break;
|
|
2189
|
+
case 1:
|
|
2190
|
+
this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
|
|
2191
|
+
break;
|
|
2192
|
+
case 2:
|
|
2193
|
+
this._point = 3, this._x5 = e, this._y5 = t;
|
|
2194
|
+
break;
|
|
2195
|
+
default:
|
|
2196
|
+
Wi(this, e, t);
|
|
2197
|
+
break;
|
|
2198
|
+
}
|
|
2199
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
2200
|
+
}
|
|
2201
|
+
};
|
|
2202
|
+
var Ji = (function e(t) {
|
|
2203
|
+
function n(e) {
|
|
2204
|
+
return new qi(e, t);
|
|
2205
|
+
}
|
|
2206
|
+
return n.tension = function(t) {
|
|
2207
|
+
return e(+t);
|
|
2208
|
+
}, n;
|
|
2209
|
+
})(0);
|
|
2210
|
+
//#endregion
|
|
2211
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.js
|
|
2212
|
+
function Yi(e, t) {
|
|
2213
|
+
this._context = e, this._k = (1 - t) / 6;
|
|
2214
|
+
}
|
|
2215
|
+
Yi.prototype = {
|
|
2216
|
+
areaStart: function() {
|
|
2217
|
+
this._line = 0;
|
|
2218
|
+
},
|
|
2219
|
+
areaEnd: function() {
|
|
2220
|
+
this._line = NaN;
|
|
2221
|
+
},
|
|
2222
|
+
lineStart: function() {
|
|
2223
|
+
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
|
|
2224
|
+
},
|
|
2225
|
+
lineEnd: function() {
|
|
2226
|
+
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
2227
|
+
},
|
|
2228
|
+
point: function(e, t) {
|
|
2229
|
+
switch (e = +e, t = +t, this._point) {
|
|
2230
|
+
case 0:
|
|
2231
|
+
this._point = 1;
|
|
2232
|
+
break;
|
|
2233
|
+
case 1:
|
|
2234
|
+
this._point = 2;
|
|
2235
|
+
break;
|
|
2236
|
+
case 2:
|
|
2237
|
+
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
2238
|
+
break;
|
|
2239
|
+
case 3: this._point = 4;
|
|
2240
|
+
default:
|
|
2241
|
+
Wi(this, e, t);
|
|
2242
|
+
break;
|
|
2243
|
+
}
|
|
2244
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
2245
|
+
}
|
|
2246
|
+
};
|
|
2247
|
+
var Xi = (function e(t) {
|
|
2248
|
+
function n(e) {
|
|
2249
|
+
return new Yi(e, t);
|
|
2250
|
+
}
|
|
2251
|
+
return n.tension = function(t) {
|
|
2252
|
+
return e(+t);
|
|
2253
|
+
}, n;
|
|
2254
|
+
})(0);
|
|
2255
|
+
//#endregion
|
|
2256
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.js
|
|
2257
|
+
function Zi(e, t, n) {
|
|
2258
|
+
var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
|
|
2259
|
+
if (e._l01_a > 1e-12) {
|
|
2260
|
+
var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, c = 3 * e._l01_a * (e._l01_a + e._l12_a);
|
|
2261
|
+
r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / c, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / c;
|
|
2262
|
+
}
|
|
2263
|
+
if (e._l23_a > 1e-12) {
|
|
2264
|
+
var l = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, u = 3 * e._l23_a * (e._l23_a + e._l12_a);
|
|
2265
|
+
a = (a * l + e._x1 * e._l23_2a - t * e._l12_2a) / u, o = (o * l + e._y1 * e._l23_2a - n * e._l12_2a) / u;
|
|
2266
|
+
}
|
|
2267
|
+
e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
|
|
2268
|
+
}
|
|
2269
|
+
function Qi(e, t) {
|
|
2270
|
+
this._context = e, this._alpha = t;
|
|
2271
|
+
}
|
|
2272
|
+
Qi.prototype = {
|
|
2273
|
+
areaStart: function() {
|
|
2274
|
+
this._line = 0;
|
|
2275
|
+
},
|
|
2276
|
+
areaEnd: function() {
|
|
2277
|
+
this._line = NaN;
|
|
2278
|
+
},
|
|
2279
|
+
lineStart: function() {
|
|
2280
|
+
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
2281
|
+
},
|
|
2282
|
+
lineEnd: function() {
|
|
2283
|
+
switch (this._point) {
|
|
2284
|
+
case 2:
|
|
2285
|
+
this._context.lineTo(this._x2, this._y2);
|
|
2286
|
+
break;
|
|
2287
|
+
case 3:
|
|
2288
|
+
this.point(this._x2, this._y2);
|
|
2289
|
+
break;
|
|
2290
|
+
}
|
|
2291
|
+
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
2292
|
+
},
|
|
2293
|
+
point: function(e, t) {
|
|
2294
|
+
if (e = +e, t = +t, this._point) {
|
|
2295
|
+
var n = this._x2 - e, r = this._y2 - t;
|
|
2296
|
+
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(n * n + r * r, this._alpha));
|
|
2297
|
+
}
|
|
2298
|
+
switch (this._point) {
|
|
2299
|
+
case 0:
|
|
2300
|
+
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
2301
|
+
break;
|
|
2302
|
+
case 1:
|
|
2303
|
+
this._point = 2;
|
|
2304
|
+
break;
|
|
2305
|
+
case 2: this._point = 3;
|
|
2306
|
+
default:
|
|
2307
|
+
Zi(this, e, t);
|
|
2308
|
+
break;
|
|
2309
|
+
}
|
|
2310
|
+
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
2311
|
+
}
|
|
2312
|
+
};
|
|
2313
|
+
var $i = (function e(t) {
|
|
2314
|
+
function n(e) {
|
|
2315
|
+
return t ? new Qi(e, t) : new Gi(e, 0);
|
|
2316
|
+
}
|
|
2317
|
+
return n.alpha = function(t) {
|
|
2318
|
+
return e(+t);
|
|
2319
|
+
}, n;
|
|
2320
|
+
})(.5);
|
|
2321
|
+
//#endregion
|
|
2322
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.js
|
|
2323
|
+
function ea(e, t) {
|
|
2324
|
+
this._context = e, this._alpha = t;
|
|
2325
|
+
}
|
|
2326
|
+
ea.prototype = {
|
|
2327
|
+
areaStart: Q,
|
|
2328
|
+
areaEnd: Q,
|
|
2329
|
+
lineStart: function() {
|
|
2330
|
+
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
2331
|
+
},
|
|
2332
|
+
lineEnd: function() {
|
|
2333
|
+
switch (this._point) {
|
|
2334
|
+
case 1:
|
|
2335
|
+
this._context.moveTo(this._x3, this._y3), this._context.closePath();
|
|
2336
|
+
break;
|
|
2337
|
+
case 2:
|
|
2338
|
+
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
2339
|
+
break;
|
|
2340
|
+
case 3:
|
|
2341
|
+
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
2342
|
+
break;
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
point: function(e, t) {
|
|
2346
|
+
if (e = +e, t = +t, this._point) {
|
|
2347
|
+
var n = this._x2 - e, r = this._y2 - t;
|
|
2348
|
+
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(n * n + r * r, this._alpha));
|
|
2349
|
+
}
|
|
2350
|
+
switch (this._point) {
|
|
2351
|
+
case 0:
|
|
2352
|
+
this._point = 1, this._x3 = e, this._y3 = t;
|
|
2353
|
+
break;
|
|
2354
|
+
case 1:
|
|
2355
|
+
this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
|
|
2356
|
+
break;
|
|
2357
|
+
case 2:
|
|
2358
|
+
this._point = 3, this._x5 = e, this._y5 = t;
|
|
2359
|
+
break;
|
|
2360
|
+
default:
|
|
2361
|
+
Zi(this, e, t);
|
|
2362
|
+
break;
|
|
2363
|
+
}
|
|
2364
|
+
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
2365
|
+
}
|
|
2366
|
+
};
|
|
2367
|
+
var ta = (function e(t) {
|
|
2368
|
+
function n(e) {
|
|
2369
|
+
return t ? new ea(e, t) : new qi(e, 0);
|
|
2370
|
+
}
|
|
2371
|
+
return n.alpha = function(t) {
|
|
2372
|
+
return e(+t);
|
|
2373
|
+
}, n;
|
|
2374
|
+
})(.5);
|
|
2375
|
+
//#endregion
|
|
2376
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.js
|
|
2377
|
+
function na(e, t) {
|
|
2378
|
+
this._context = e, this._alpha = t;
|
|
2379
|
+
}
|
|
2380
|
+
na.prototype = {
|
|
2381
|
+
areaStart: function() {
|
|
2382
|
+
this._line = 0;
|
|
2383
|
+
},
|
|
2384
|
+
areaEnd: function() {
|
|
2385
|
+
this._line = NaN;
|
|
2386
|
+
},
|
|
2387
|
+
lineStart: function() {
|
|
2388
|
+
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
2389
|
+
},
|
|
2390
|
+
lineEnd: function() {
|
|
2391
|
+
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
2392
|
+
},
|
|
2393
|
+
point: function(e, t) {
|
|
2394
|
+
if (e = +e, t = +t, this._point) {
|
|
2395
|
+
var n = this._x2 - e, r = this._y2 - t;
|
|
2396
|
+
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(n * n + r * r, this._alpha));
|
|
2397
|
+
}
|
|
2398
|
+
switch (this._point) {
|
|
2399
|
+
case 0:
|
|
2400
|
+
this._point = 1;
|
|
2401
|
+
break;
|
|
2402
|
+
case 1:
|
|
2403
|
+
this._point = 2;
|
|
2404
|
+
break;
|
|
2405
|
+
case 2:
|
|
2406
|
+
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
2407
|
+
break;
|
|
2408
|
+
case 3: this._point = 4;
|
|
2409
|
+
default:
|
|
2410
|
+
Zi(this, e, t);
|
|
2411
|
+
break;
|
|
2412
|
+
}
|
|
2413
|
+
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
2414
|
+
}
|
|
2415
|
+
};
|
|
2416
|
+
var ra = (function e(t) {
|
|
2417
|
+
function n(e) {
|
|
2418
|
+
return t ? new na(e, t) : new Yi(e, 0);
|
|
2419
|
+
}
|
|
2420
|
+
return n.alpha = function(t) {
|
|
2421
|
+
return e(+t);
|
|
2422
|
+
}, n;
|
|
2423
|
+
})(.5);
|
|
2424
|
+
//#endregion
|
|
2425
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.js
|
|
2426
|
+
function ia(e) {
|
|
2427
|
+
this._context = e;
|
|
2428
|
+
}
|
|
2429
|
+
ia.prototype = {
|
|
2430
|
+
areaStart: Q,
|
|
2431
|
+
areaEnd: Q,
|
|
2432
|
+
lineStart: function() {
|
|
2433
|
+
this._point = 0;
|
|
2434
|
+
},
|
|
2435
|
+
lineEnd: function() {
|
|
2436
|
+
this._point && this._context.closePath();
|
|
2437
|
+
},
|
|
2438
|
+
point: function(e, t) {
|
|
2439
|
+
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
|
|
2440
|
+
}
|
|
2441
|
+
};
|
|
2442
|
+
function aa(e) {
|
|
2443
|
+
return new ia(e);
|
|
2444
|
+
}
|
|
2445
|
+
//#endregion
|
|
2446
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.js
|
|
2447
|
+
function oa(e) {
|
|
2448
|
+
return e < 0 ? -1 : 1;
|
|
2449
|
+
}
|
|
2450
|
+
function sa(e, t, n) {
|
|
2451
|
+
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
|
|
2452
|
+
return (oa(a) + oa(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
|
|
2453
|
+
}
|
|
2454
|
+
function ca(e, t) {
|
|
2455
|
+
var n = e._x1 - e._x0;
|
|
2456
|
+
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
|
|
2457
|
+
}
|
|
2458
|
+
function la(e, t, n) {
|
|
2459
|
+
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
|
|
2460
|
+
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
|
|
2461
|
+
}
|
|
2462
|
+
function ua(e) {
|
|
2463
|
+
this._context = e;
|
|
2464
|
+
}
|
|
2465
|
+
ua.prototype = {
|
|
2466
|
+
areaStart: function() {
|
|
2467
|
+
this._line = 0;
|
|
2468
|
+
},
|
|
2469
|
+
areaEnd: function() {
|
|
2470
|
+
this._line = NaN;
|
|
2471
|
+
},
|
|
2472
|
+
lineStart: function() {
|
|
2473
|
+
this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
|
|
2474
|
+
},
|
|
2475
|
+
lineEnd: function() {
|
|
2476
|
+
switch (this._point) {
|
|
2477
|
+
case 2:
|
|
2478
|
+
this._context.lineTo(this._x1, this._y1);
|
|
2479
|
+
break;
|
|
2480
|
+
case 3:
|
|
2481
|
+
la(this, this._t0, ca(this, this._t0));
|
|
2482
|
+
break;
|
|
2483
|
+
}
|
|
2484
|
+
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
2485
|
+
},
|
|
2486
|
+
point: function(e, t) {
|
|
2487
|
+
var n = NaN;
|
|
2488
|
+
if (e = +e, t = +t, !(e === this._x1 && t === this._y1)) {
|
|
2489
|
+
switch (this._point) {
|
|
2490
|
+
case 0:
|
|
2491
|
+
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
2492
|
+
break;
|
|
2493
|
+
case 1:
|
|
2494
|
+
this._point = 2;
|
|
2495
|
+
break;
|
|
2496
|
+
case 2:
|
|
2497
|
+
this._point = 3, la(this, ca(this, n = sa(this, e, t)), n);
|
|
2498
|
+
break;
|
|
2499
|
+
default:
|
|
2500
|
+
la(this, this._t0, n = sa(this, e, t));
|
|
2501
|
+
break;
|
|
2502
|
+
}
|
|
2503
|
+
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
};
|
|
2507
|
+
function da(e) {
|
|
2508
|
+
this._context = new fa(e);
|
|
2509
|
+
}
|
|
2510
|
+
(da.prototype = Object.create(ua.prototype)).point = function(e, t) {
|
|
2511
|
+
ua.prototype.point.call(this, t, e);
|
|
2512
|
+
};
|
|
2513
|
+
function fa(e) {
|
|
2514
|
+
this._context = e;
|
|
2515
|
+
}
|
|
2516
|
+
fa.prototype = {
|
|
2517
|
+
moveTo: function(e, t) {
|
|
2518
|
+
this._context.moveTo(t, e);
|
|
2519
|
+
},
|
|
2520
|
+
closePath: function() {
|
|
2521
|
+
this._context.closePath();
|
|
2522
|
+
},
|
|
2523
|
+
lineTo: function(e, t) {
|
|
2524
|
+
this._context.lineTo(t, e);
|
|
2525
|
+
},
|
|
2526
|
+
bezierCurveTo: function(e, t, n, r, i, a) {
|
|
2527
|
+
this._context.bezierCurveTo(t, e, r, n, a, i);
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
function pa(e) {
|
|
2531
|
+
return new ua(e);
|
|
2532
|
+
}
|
|
2533
|
+
function ma(e) {
|
|
2534
|
+
return new da(e);
|
|
2535
|
+
}
|
|
2536
|
+
//#endregion
|
|
2537
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.js
|
|
2538
|
+
function ha(e) {
|
|
2539
|
+
this._context = e;
|
|
2540
|
+
}
|
|
2541
|
+
ha.prototype = {
|
|
2542
|
+
areaStart: function() {
|
|
2543
|
+
this._line = 0;
|
|
2544
|
+
},
|
|
2545
|
+
areaEnd: function() {
|
|
2546
|
+
this._line = NaN;
|
|
2547
|
+
},
|
|
2548
|
+
lineStart: function() {
|
|
2549
|
+
this._x = [], this._y = [];
|
|
2550
|
+
},
|
|
2551
|
+
lineEnd: function() {
|
|
2552
|
+
var e = this._x, t = this._y, n = e.length;
|
|
2553
|
+
if (n) if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
|
|
2554
|
+
else for (var r = ga(e), i = ga(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
|
|
2555
|
+
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
|
|
2556
|
+
},
|
|
2557
|
+
point: function(e, t) {
|
|
2558
|
+
this._x.push(+e), this._y.push(+t);
|
|
2559
|
+
}
|
|
2560
|
+
};
|
|
2561
|
+
function ga(e) {
|
|
2562
|
+
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
|
|
2563
|
+
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
|
|
2564
|
+
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
|
|
2565
|
+
for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];
|
|
2566
|
+
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
|
|
2567
|
+
return [i, a];
|
|
2568
|
+
}
|
|
2569
|
+
function _a(e) {
|
|
2570
|
+
return new ha(e);
|
|
2571
|
+
}
|
|
2572
|
+
//#endregion
|
|
2573
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.js
|
|
2574
|
+
function va(e, t) {
|
|
2575
|
+
this._context = e, this._t = t;
|
|
2576
|
+
}
|
|
2577
|
+
va.prototype = {
|
|
2578
|
+
areaStart: function() {
|
|
2579
|
+
this._line = 0;
|
|
2580
|
+
},
|
|
2581
|
+
areaEnd: function() {
|
|
2582
|
+
this._line = NaN;
|
|
2583
|
+
},
|
|
2584
|
+
lineStart: function() {
|
|
2585
|
+
this._x = this._y = NaN, this._point = 0;
|
|
2586
|
+
},
|
|
2587
|
+
lineEnd: function() {
|
|
2588
|
+
0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);
|
|
2589
|
+
},
|
|
2590
|
+
point: function(e, t) {
|
|
2591
|
+
switch (e = +e, t = +t, this._point) {
|
|
2592
|
+
case 0:
|
|
2593
|
+
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
2594
|
+
break;
|
|
2595
|
+
case 1: this._point = 2;
|
|
2596
|
+
default:
|
|
2597
|
+
if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
|
|
2598
|
+
else {
|
|
2599
|
+
var n = this._x * (1 - this._t) + e * this._t;
|
|
2600
|
+
this._context.lineTo(n, this._y), this._context.lineTo(n, t);
|
|
2601
|
+
}
|
|
2602
|
+
break;
|
|
2603
|
+
}
|
|
2604
|
+
this._x = e, this._y = t;
|
|
2605
|
+
}
|
|
2606
|
+
};
|
|
2607
|
+
function ya(e) {
|
|
2608
|
+
return new va(e, .5);
|
|
2609
|
+
}
|
|
2610
|
+
function ba(e) {
|
|
2611
|
+
return new va(e, 0);
|
|
2612
|
+
}
|
|
2613
|
+
function xa(e) {
|
|
2614
|
+
return new va(e, 1);
|
|
2615
|
+
}
|
|
2616
|
+
//#endregion
|
|
2617
|
+
//#region node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js
|
|
2618
|
+
function $(e, t, n) {
|
|
2619
|
+
this.k = e, this.x = t, this.y = n;
|
|
2620
|
+
}
|
|
2621
|
+
$.prototype = {
|
|
2622
|
+
constructor: $,
|
|
2623
|
+
scale: function(e) {
|
|
2624
|
+
return e === 1 ? this : new $(this.k * e, this.x, this.y);
|
|
2625
|
+
},
|
|
2626
|
+
translate: function(e, t) {
|
|
2627
|
+
return e === 0 & t === 0 ? this : new $(this.k, this.x + this.k * e, this.y + this.k * t);
|
|
2628
|
+
},
|
|
2629
|
+
apply: function(e) {
|
|
2630
|
+
return [e[0] * this.k + this.x, e[1] * this.k + this.y];
|
|
2631
|
+
},
|
|
2632
|
+
applyX: function(e) {
|
|
2633
|
+
return e * this.k + this.x;
|
|
2634
|
+
},
|
|
2635
|
+
applyY: function(e) {
|
|
2636
|
+
return e * this.k + this.y;
|
|
2637
|
+
},
|
|
2638
|
+
invert: function(e) {
|
|
2639
|
+
return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k];
|
|
2640
|
+
},
|
|
2641
|
+
invertX: function(e) {
|
|
2642
|
+
return (e - this.x) / this.k;
|
|
2643
|
+
},
|
|
2644
|
+
invertY: function(e) {
|
|
2645
|
+
return (e - this.y) / this.k;
|
|
2646
|
+
},
|
|
2647
|
+
rescaleX: function(e) {
|
|
2648
|
+
return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e));
|
|
2649
|
+
},
|
|
2650
|
+
rescaleY: function(e) {
|
|
2651
|
+
return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e));
|
|
2652
|
+
},
|
|
2653
|
+
toString: function() {
|
|
2654
|
+
return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
|
|
2655
|
+
}
|
|
2656
|
+
};
|
|
2657
|
+
var Sa = new $(1, 0, 0);
|
|
2658
|
+
Ca.prototype = $.prototype;
|
|
2659
|
+
function Ca(e) {
|
|
2660
|
+
for (; !e.__zoom;) if (!(e = e.parentNode)) return Sa;
|
|
2661
|
+
return e.__zoom;
|
|
2662
|
+
}
|
|
2663
|
+
//#endregion
|
|
2664
|
+
export { C as $, wi as A, vn as B, Oi as C, gi as D, Di as E, xi as F, L as G, pn as H, Ti as I, A as J, T as K, Z as L, yi as M, Ci as N, _i as O, bi as P, Nt as Q, si as R, ki as S, Ei as T, un as U, R as V, fn as W, Pt as X, Zt as Y, Ft as Z, Li as _, pa as a, Ni as b, ra as c, Xi as d, jt as et, Ji as f, zi as g, Vi as h, _a as i, vi as j, Si as k, ta as l, Ui as m, ba as n, o as nt, ma as o, Ki as p, j as q, ya as r, t as rt, aa as s, xa as t, m as tt, $i as u, Pi as v, hi as w, ji as x, Mi as y, Zr as z };
|