@flyfish-group/file-viewer3 1.0.26 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +3 -388
- package/README.md +3 -364
- package/dist/file-viewer3.css +1 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +22 -126
- package/dist/components/3MFLoader.js +0 -527
- package/dist/components/AMFLoader.js +0 -188
- package/dist/components/ArchiveViewer.js +0 -526
- package/dist/components/AudioViewer.js +0 -66
- package/dist/components/CadViewer.js +0 -9040
- package/dist/components/CodeViewer.js +0 -151
- package/dist/components/ColladaLoader.js +0 -2282
- package/dist/components/DrawingViewer.js +0 -295
- package/dist/components/EdaViewer.js +0 -630
- package/dist/components/EmailViewer.js +0 -276
- package/dist/components/EpubViewer.js +0 -172
- package/dist/components/FBXLoader.js +0 -1574
- package/dist/components/GLTFLoader.js +0 -1383
- package/dist/components/ImageViewer.js +0 -1519
- package/dist/components/KMZLoader.js +0 -45
- package/dist/components/MarkdownViewer.js +0 -1476
- package/dist/components/ModelViewer.js +0 -797
- package/dist/components/OBJLoader.js +0 -287
- package/dist/components/OfdViewer.js +0 -133
- package/dist/components/PCDLoader.js +0 -141
- package/dist/components/PLYLoader.js +0 -305
- package/dist/components/PdfView.js +0 -27667
- package/dist/components/PptxRender.js +0 -11217
- package/dist/components/STLLoader.js +0 -83
- package/dist/components/TDSLoader.js +0 -228
- package/dist/components/TypstViewer.js +0 -1697
- package/dist/components/USDLoader.js +0 -2526
- package/dist/components/UmdViewer.js +0 -1873
- package/dist/components/VRMLLoader.js +0 -6422
- package/dist/components/VTKLoader.js +0 -337
- package/dist/components/XYZLoader.js +0 -30
- package/dist/components/XlsxTable.js +0 -7879
- package/dist/components/__vite-browser-external.js +0 -7
- package/dist/components/_plugin-vue_export-helper.js +0 -8
- package/dist/components/ar-SA-G6X2FPQ2.js +0 -523
- package/dist/components/arc.js +0 -79
- package/dist/components/architecture-7EHR7CIX.js +0 -3
- package/dist/components/architectureDiagram-3BPJPVTR.js +0 -4096
- package/dist/components/archive.js +0 -24
- package/dist/components/asyncToGenerator.js +0 -29
- package/dist/components/audio.js +0 -19
- package/dist/components/az-AZ-76LH7QW2.js +0 -523
- package/dist/components/bash.js +0 -169
- package/dist/components/bg-BG-XCXSNQG7.js +0 -523
- package/dist/components/blockDiagram-GPEHLZMM.js +0 -3357
- package/dist/components/bn-BD-2XOGV67Q.js +0 -523
- package/dist/components/c4Diagram-AAUBKEIU.js +0 -2957
- package/dist/components/ca-ES-6MX7JW3Y.js +0 -523
- package/dist/components/cad.js +0 -23
- package/dist/components/cfb.js +0 -1174
- package/dist/components/channel.js +0 -5
- package/dist/components/chunk-2J33WTMH.js +0 -26
- package/dist/components/chunk-3OPIFGDE.js +0 -4167
- package/dist/components/chunk-4BX2VUAB.js +0 -19
- package/dist/components/chunk-55IACEB6.js +0 -9
- package/dist/components/chunk-5ZQYHXKU.js +0 -669
- package/dist/components/chunk-6U3AYISY.js +0 -624
- package/dist/components/chunk-727SXJPM.js +0 -3356
- package/dist/components/chunk-AGHRB4JF.js +0 -324
- package/dist/components/chunk-AQP2D5EJ.js +0 -2055
- package/dist/components/chunk-BSJP7CBP.js +0 -83
- package/dist/components/chunk-CSCIHK7Q.js +0 -3500
- package/dist/components/chunk-EIO257PC.js +0 -1836
- package/dist/components/chunk-FMBD7UC4.js +0 -5
- package/dist/components/chunk-K2UTITRG.js +0 -17627
- package/dist/components/chunk-KSCS5N6A.js +0 -572
- package/dist/components/chunk-L5ZTLDWV.js +0 -40
- package/dist/components/chunk-LZXEDZCA.js +0 -60
- package/dist/components/chunk-ND2GUHAM.js +0 -61
- package/dist/components/chunk-NNHCCRGN.js +0 -20425
- package/dist/components/chunk-NZK2D7GU.js +0 -68
- package/dist/components/chunk-O5CBEL6O.js +0 -1894
- package/dist/components/chunk-QZHKN3VN.js +0 -12
- package/dist/components/chunk-SRAX5OIU.js +0 -22
- package/dist/components/chunk-WU5MYG2G.js +0 -14
- package/dist/components/chunk-XPW4576I.js +0 -1146
- package/dist/components/chunk-Z3N5DIM6.js +0 -59
- package/dist/components/chunk-ZUYEQ4TG.js +0 -22
- package/dist/components/chunk.js +0 -23
- package/dist/components/classDiagram-4FO5ZUOK.js +0 -29
- package/dist/components/classDiagram-v2-Q7XG4LA2.js +0 -29
- package/dist/components/compiler.js +0 -2
- package/dist/components/core.js +0 -845
- package/dist/components/cose-bilkent-S5V4N54A.js +0 -2268
- package/dist/components/cpp.js +0 -225
- package/dist/components/cs-CZ-2BRQDIVT.js +0 -523
- package/dist/components/csharp.js +0 -260
- package/dist/components/css.js +0 -140
- package/dist/components/cytoscape.esm.js +0 -18114
- package/dist/components/da-DK-5WZEPLOC.js +0 -523
- package/dist/components/dagre-BM42HDAG.js +0 -325
- package/dist/components/dagre.js +0 -1936
- package/dist/components/de-DE-XR44H4JA.js +0 -523
- package/dist/components/defaultLocale.js +0 -201
- package/dist/components/defineProperty.js +0 -50
- package/dist/components/diagram-2AECGRRQ.js +0 -229
- package/dist/components/diagram-5GNKFQAL.js +0 -108
- package/dist/components/diagram-KO2AKTUF.js +0 -443
- package/dist/components/diagram-LMA3HP47.js +0 -139
- package/dist/components/diagram-OG6HWLK6.js +0 -541
- package/dist/components/diff.js +0 -39
- package/dist/components/directory-open-01563666.js +0 -26
- package/dist/components/directory-open-4ed118d0.js +0 -83
- package/dist/components/dist.js +0 -50
- package/dist/components/dist2.js +0 -3291
- package/dist/components/dist3.js +0 -1593
- package/dist/components/documentSearch.js +0 -378
- package/dist/components/docx-preview.js +0 -3113
- package/dist/components/drawing.js +0 -19
- package/dist/components/ebook.js +0 -16
- package/dist/components/eda.js +0 -20
- package/dist/components/el-GR-BZB4AONW.js +0 -523
- package/dist/components/email.js +0 -21
- package/dist/components/en-B4ZKOASM.js +0 -3
- package/dist/components/erDiagram-TEJ5UH35.js +0 -1719
- package/dist/components/es-ES-U4NZUMDT.js +0 -523
- package/dist/components/eu-ES-A7QVB2H4.js +0 -523
- package/dist/components/eventmodeling-FCH6USID.js +0 -3
- package/dist/components/fa-IR-HGAKTJCU.js +0 -523
- package/dist/components/fflate.module.js +0 -323
- package/dist/components/fi-FI-Z5N7JZ37.js +0 -523
- package/dist/components/file-open-002ab408.js +0 -38
- package/dist/components/file-open-7c801643.js +0 -24
- package/dist/components/file-save-3189631c.js +0 -40
- package/dist/components/file-save-745eba88.js +0 -36
- package/dist/components/flowDiagram-I6XJVG4X.js +0 -4181
- package/dist/components/fr-FR-RHASNOE6.js +0 -523
- package/dist/components/ganttDiagram-6RSMTGT7.js +0 -2182
- package/dist/components/gitGraph-WXDBUCRP.js +0 -3
- package/dist/components/gitGraphDiagram-PVQCEYII.js +0 -788
- package/dist/components/gl-ES-HMX3MZ6V.js +0 -523
- package/dist/components/global-compiler.js +0 -23
- package/dist/components/global-renderer.js +0 -23
- package/dist/components/go.js +0 -140
- package/dist/components/graphlib.js +0 -1267
- package/dist/components/he-IL-6SHJWFNN.js +0 -523
- package/dist/components/hi-IN-IWLTKZ5I.js +0 -523
- package/dist/components/hu-HU-A5ZG7DT2.js +0 -523
- package/dist/components/id-ID-SAP4L64H.js +0 -523
- package/dist/components/image-GAAHSSAO.js +0 -3
- package/dist/components/image-blob-reduce.esm.js +0 -1429
- package/dist/components/image.js +0 -17
- package/dist/components/info-J43DQDTF.js +0 -3
- package/dist/components/infoDiagram-5YYISTIA.js +0 -26
- package/dist/components/ini.js +0 -88
- package/dist/components/init.js +0 -15
- package/dist/components/ishikawaDiagram-YF4QCWOH.js +0 -718
- package/dist/components/it-IT-JPQ66NNP.js +0 -523
- package/dist/components/ja-JP-DBVTYXUO.js +0 -523
- package/dist/components/java.js +0 -169
- package/dist/components/javascript.js +0 -436
- package/dist/components/journeyDiagram-JHISSGLW.js +0 -885
- package/dist/components/json.js +0 -36
- package/dist/components/jszip.min.js +0 -3033
- package/dist/components/kaa-6HZHGXH3.js +0 -523
- package/dist/components/kab-KAB-ZGHBKWFO.js +0 -523
- package/dist/components/kanban-definition-UN3LZRKU.js +0 -986
- package/dist/components/katex.js +0 -21979
- package/dist/components/kk-KZ-P5N5QNE5.js +0 -523
- package/dist/components/km-KH-HSX4SM5Z.js +0 -523
- package/dist/components/ko-KR-MTYHY66A.js +0 -523
- package/dist/components/ku-TR-6OUDTVRD.js +0 -523
- package/dist/components/lib.js +0 -4877
- package/dist/components/libarchive.js +0 -360
- package/dist/components/linear.js +0 -289
- package/dist/components/lt-LT-XHIRWOB4.js +0 -523
- package/dist/components/lv-LV-5QDEKY6T.js +0 -523
- package/dist/components/markdown.js +0 -181
- package/dist/components/md.js +0 -17
- package/dist/components/mermaid-parser.core.js +0 -328
- package/dist/components/mindmap-definition-RKZ34NQL.js +0 -1016
- package/dist/components/model.js +0 -21
- package/dist/components/mp4.js +0 -12
- package/dist/components/mr-IN-CRQNXWMA.js +0 -523
- package/dist/components/my-MM-5M5IBNSE.js +0 -523
- package/dist/components/nb-NO-T6EIAALU.js +0 -523
- package/dist/components/nestedRender.js +0 -158
- package/dist/components/nl-NL-IS3SIHDZ.js +0 -523
- package/dist/components/nn-NO-6E72VCQL.js +0 -523
- package/dist/components/objectSpread2.js +0 -29
- package/dist/components/objectWithoutProperties.js +0 -28
- package/dist/components/oc-FR-POXYY2M6.js +0 -523
- package/dist/components/ofd.js +0 -5261
- package/dist/components/ofd2.js +0 -16
- package/dist/components/ordinal.js +0 -65
- package/dist/components/pa-IN-N4M65BXN.js +0 -523
- package/dist/components/packet-YPE3B663.js +0 -3
- package/dist/components/pdf.js +0 -24
- package/dist/components/percentages-BXMCSKIN.js +0 -3
- package/dist/components/php.js +0 -294
- package/dist/components/pica.js +0 -1009
- package/dist/components/pie-LRSECV5Y.js +0 -3
- package/dist/components/pie.js +0 -47
- package/dist/components/pieDiagram-4H26LBE5.js +0 -130
- package/dist/components/pl-PL-T2D74RX3.js +0 -523
- package/dist/components/postal-mime.js +0 -3146
- package/dist/components/pptx.js +0 -15
- package/dist/components/printLayout.js +0 -42
- package/dist/components/prod.js +0 -21770
- package/dist/components/pt-BR-5N22H2LF.js +0 -523
- package/dist/components/pt-PT-UZXXM6DQ.js +0 -523
- package/dist/components/python.js +0 -238
- package/dist/components/quadrantDiagram-W4KKPZXB.js +0 -1988
- package/dist/components/radar-GUYGQ44K.js +0 -3
- package/dist/components/renderer.js +0 -2
- package/dist/components/requirementDiagram-4Y6WPE33.js +0 -2230
- package/dist/components/ro-RO-JPDTUUEW.js +0 -523
- package/dist/components/rough.esm.js +0 -1355
- package/dist/components/roundRect.js +0 -90
- package/dist/components/ru-RU-B4JR7IUQ.js +0 -523
- package/dist/components/rust.js +0 -169
- package/dist/components/sankeyDiagram-5OEKKPKP.js +0 -972
- package/dist/components/sequenceDiagram-3UESZ5HK.js +0 -4255
- package/dist/components/shared.js +0 -175
- package/dist/components/shared2.js +0 -4
- package/dist/components/si-LK-N5RQ5JYF.js +0 -523
- package/dist/components/sk-SK-C5VTKIMK.js +0 -523
- package/dist/components/sl-SI-NN7IZMDC.js +0 -523
- package/dist/components/sourceLoading.js +0 -134
- package/dist/components/sql.js +0 -118
- package/dist/components/src.js +0 -2664
- package/dist/components/src2.js +0 -10722
- package/dist/components/stateDiagram-AJRCARHV.js +0 -217
- package/dist/components/stateDiagram-v2-BHNVJYJU.js +0 -27
- package/dist/components/subset-shared.chunk.js +0 -3
- package/dist/components/subset-worker.chunk.js +0 -21
- package/dist/components/sv-SE-XGPEYMSR.js +0 -523
- package/dist/components/ta-IN-2NMHFXQM.js +0 -523
- package/dist/components/text.js +0 -20
- package/dist/components/th-TH-HPSO5L25.js +0 -523
- package/dist/components/three.module.js +0 -13134
- package/dist/components/time.js +0 -910
- package/dist/components/timeline-definition-PNZ67QCA.js +0 -1084
- package/dist/components/tr-TR-DEFEU3FU.js +0 -523
- package/dist/components/treeView-BLDUP644.js +0 -3
- package/dist/components/treemap-LRROVOQU.js +0 -3
- package/dist/components/typescript.js +0 -521
- package/dist/components/typst.js +0 -25
- package/dist/components/uk-UA-QMV73CPH.js +0 -523
- package/dist/components/umd.js +0 -16
- package/dist/components/use.js +0 -422
- package/dist/components/util.js +0 -49
- package/dist/components/vennDiagram-CIIHVFJN.js +0 -1880
- package/dist/components/vi-VN-M7AON7JQ.js +0 -523
- package/dist/components/viewerZoom.js +0 -92
- package/dist/components/wardley-L42UT6IY.js +0 -3
- package/dist/components/wardleyDiagram-YWT4CUSO.js +0 -656
- package/dist/components/wasm-pack-shim.js +0 -1711
- package/dist/components/wasm-pack-shim2.js +0 -934
- package/dist/components/wasm.js +0 -97
- package/dist/components/word.js +0 -3055
- package/dist/components/worker-ref.js +0 -16
- package/dist/components/xlsx.js +0 -21
- package/dist/components/xml.js +0 -166
- package/dist/components/xychartDiagram-2RQKCTM6.js +0 -2015
- package/dist/components/yaml.js +0 -144
- package/dist/components/zh-CN-LNUGB5OW.js +0 -523
- package/dist/components/zh-HK-E62DVLB3.js +0 -523
- package/dist/components/zh-TW-RAJ6MFWO.js +0 -523
- package/dist/index.mjs +0 -3293
- package/dist/src/App.vue.d.ts +0 -3
- package/dist/src/compare/CompareApp.vue.d.ts +0 -3
- package/dist/src/compare/main.d.ts +0 -0
- package/dist/src/compare/useSynchronizedScroll.d.ts +0 -7
- package/dist/src/components/HelloWorld.vue.d.ts +0 -3
- package/dist/src/components/utils.d.ts +0 -4
- package/dist/src/main.d.ts +0 -0
- package/dist/src/package/common/printCapability.d.ts +0 -27
- package/dist/src/package/common/printLayout.d.ts +0 -16
- package/dist/src/package/common/sourceLoading.d.ts +0 -10
- package/dist/src/package/common/type.d.ts +0 -544
- package/dist/src/package/common/util.d.ts +0 -5
- package/dist/src/package/common/worker-ref.d.ts +0 -12
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +0 -75
- package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +0 -9
- package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +0 -29
- package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +0 -21
- package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +0 -8
- package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +0 -34
- package/dist/src/package/components/FileViewer/index.d.ts +0 -2
- package/dist/src/package/components/FileViewer/util.d.ts +0 -3
- package/dist/src/package/index.d.ts +0 -22
- package/dist/src/package/use/documentLocation.d.ts +0 -15
- package/dist/src/package/use/documentSearch.d.ts +0 -234
- package/dist/src/package/use/index.d.ts +0 -5
- package/dist/src/package/use/loading.d.ts +0 -33
- package/dist/src/package/use/viewerZoom.d.ts +0 -42
- package/dist/src/package/use/worker.d.ts +0 -24
- package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +0 -9
- package/dist/src/package/vendors/archive/cache.d.ts +0 -10
- package/dist/src/package/vendors/archive/fallback.d.ts +0 -9
- package/dist/src/package/vendors/archive/index.d.ts +0 -3
- package/dist/src/package/vendors/archive/shared.d.ts +0 -24
- package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +0 -7
- package/dist/src/package/vendors/audio/index.d.ts +0 -7
- package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +0 -9
- package/dist/src/package/vendors/cad/index.d.ts +0 -8
- package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +0 -15
- package/dist/src/package/vendors/drawing/index.d.ts +0 -7
- package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/ebook/index.d.ts +0 -7
- package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +0 -8
- package/dist/src/package/vendors/eda/index.d.ts +0 -2
- package/dist/src/package/vendors/eda/parser.d.ts +0 -77
- package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +0 -10
- package/dist/src/package/vendors/email/index.d.ts +0 -2
- package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/image/index.d.ts +0 -4
- package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/md/index.d.ts +0 -4
- package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +0 -8
- package/dist/src/package/vendors/model/index.d.ts +0 -3
- package/dist/src/package/vendors/model/shared.d.ts +0 -1
- package/dist/src/package/vendors/mp4/index.d.ts +0 -4
- package/dist/src/package/vendors/nestedRender.d.ts +0 -10
- package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/ofd/index.d.ts +0 -7
- package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +0 -10
- package/dist/src/package/vendors/pdf/index.d.ts +0 -2
- package/dist/src/package/vendors/pdf/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
- package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +0 -9
- package/dist/src/package/vendors/pptx/index.d.ts +0 -6
- package/dist/src/package/vendors/pptx/options.d.ts +0 -39
- package/dist/src/package/vendors/pptx/support/chart.d.ts +0 -4
- package/dist/src/package/vendors/pptx/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/renders.d.ts +0 -3
- package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +0 -7
- package/dist/src/package/vendors/text/index.d.ts +0 -10
- package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +0 -15
- package/dist/src/package/vendors/typst/index.d.ts +0 -8
- package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +0 -6
- package/dist/src/package/vendors/umd/index.d.ts +0 -7
- package/dist/src/package/vendors/umd/parser.d.ts +0 -30
- package/dist/src/package/vendors/word/doc.d.ts +0 -5
- package/dist/src/package/vendors/word/docx.d.ts +0 -5
- package/dist/src/package/vendors/word/docx.worker.d.ts +0 -1
- package/dist/src/package/vendors/word/index.d.ts +0 -3
- package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +0 -80
- package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +0 -25
- package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/index.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/util.d.ts +0 -3
- package/dist/src/package/vendors/xlsx/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +0 -73
- package/dist/src/package/vendors/xlsx/worker/sheetjs/color.d.ts +0 -2
- package/dist/src/package/vendors/xlsx/worker/sheetjs/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +0 -1
- package/dist/style.css +0 -1
- package/dist/wasm/cad/dwfv-render.wasm +0 -0
- package/dist/wasm/cad/dwg-worker.js +0 -24
- package/dist/wasm/cad/libredwg-web.js +0 -15
- package/dist/wasm/cad/libredwg-web.wasm +0 -0
|
@@ -1,1267 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
2
|
-
var e = typeof global == "object" && global && global.Object === Object && global, t = typeof self == "object" && self && self.Object === Object && self, n = e || t || Function("return this")(), r = n.Symbol, i = Object.prototype, a = i.hasOwnProperty, o = i.toString, s = r ? r.toStringTag : void 0;
|
|
3
|
-
function c(e) {
|
|
4
|
-
var t = a.call(e, s), n = e[s];
|
|
5
|
-
try {
|
|
6
|
-
e[s] = void 0;
|
|
7
|
-
var r = !0;
|
|
8
|
-
} catch (e) {}
|
|
9
|
-
var i = o.call(e);
|
|
10
|
-
return r && (t ? e[s] = n : delete e[s]), i;
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
14
|
-
var l = Object.prototype.toString;
|
|
15
|
-
function u(e) {
|
|
16
|
-
return l.call(e);
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
20
|
-
var d = "[object Null]", f = "[object Undefined]", p = r ? r.toStringTag : void 0;
|
|
21
|
-
function m(e) {
|
|
22
|
-
return e == null ? e === void 0 ? f : d : p && p in Object(e) ? c(e) : u(e);
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
26
|
-
function h(e) {
|
|
27
|
-
return typeof e == "object" && !!e;
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
31
|
-
var g = "[object Symbol]";
|
|
32
|
-
function _(e) {
|
|
33
|
-
return typeof e == "symbol" || h(e) && m(e) == g;
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
37
|
-
function v(e, t) {
|
|
38
|
-
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
|
|
39
|
-
return i;
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
43
|
-
var y = Array.isArray, ee = Infinity, te = r ? r.prototype : void 0, ne = te ? te.toString : void 0;
|
|
44
|
-
function re(e) {
|
|
45
|
-
if (typeof e == "string") return e;
|
|
46
|
-
if (y(e)) return v(e, re) + "";
|
|
47
|
-
if (_(e)) return ne ? ne.call(e) : "";
|
|
48
|
-
var t = e + "";
|
|
49
|
-
return t == "0" && 1 / e == -ee ? "-0" : t;
|
|
50
|
-
}
|
|
51
|
-
//#endregion
|
|
52
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
53
|
-
function b(e) {
|
|
54
|
-
var t = typeof e;
|
|
55
|
-
return e != null && (t == "object" || t == "function");
|
|
56
|
-
}
|
|
57
|
-
//#endregion
|
|
58
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
|
|
59
|
-
function x(e) {
|
|
60
|
-
return e;
|
|
61
|
-
}
|
|
62
|
-
//#endregion
|
|
63
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
64
|
-
var ie = "[object AsyncFunction]", ae = "[object Function]", oe = "[object GeneratorFunction]", se = "[object Proxy]";
|
|
65
|
-
function S(e) {
|
|
66
|
-
if (!b(e)) return !1;
|
|
67
|
-
var t = m(e);
|
|
68
|
-
return t == ae || t == oe || t == ie || t == se;
|
|
69
|
-
}
|
|
70
|
-
//#endregion
|
|
71
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
72
|
-
var ce = n["__core-js_shared__"], le = function() {
|
|
73
|
-
var e = /[^.]+$/.exec(ce && ce.keys && ce.keys.IE_PROTO || "");
|
|
74
|
-
return e ? "Symbol(src)_1." + e : "";
|
|
75
|
-
}();
|
|
76
|
-
function ue(e) {
|
|
77
|
-
return !!le && le in e;
|
|
78
|
-
}
|
|
79
|
-
//#endregion
|
|
80
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
81
|
-
var de = Function.prototype.toString;
|
|
82
|
-
function C(e) {
|
|
83
|
-
if (e != null) {
|
|
84
|
-
try {
|
|
85
|
-
return de.call(e);
|
|
86
|
-
} catch (e) {}
|
|
87
|
-
try {
|
|
88
|
-
return e + "";
|
|
89
|
-
} catch (e) {}
|
|
90
|
-
}
|
|
91
|
-
return "";
|
|
92
|
-
}
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
95
|
-
var fe = /[\\^$.*+?()[\]{}|]/g, pe = /^\[object .+?Constructor\]$/, me = Function.prototype, he = Object.prototype, ge = me.toString, _e = he.hasOwnProperty, ve = RegExp("^" + ge.call(_e).replace(fe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
96
|
-
function ye(e) {
|
|
97
|
-
return !b(e) || ue(e) ? !1 : (S(e) ? ve : pe).test(C(e));
|
|
98
|
-
}
|
|
99
|
-
//#endregion
|
|
100
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
101
|
-
function be(e, t) {
|
|
102
|
-
return e == null ? void 0 : e[t];
|
|
103
|
-
}
|
|
104
|
-
//#endregion
|
|
105
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
106
|
-
function w(e, t) {
|
|
107
|
-
var n = be(e, t);
|
|
108
|
-
return ye(n) ? n : void 0;
|
|
109
|
-
}
|
|
110
|
-
//#endregion
|
|
111
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
112
|
-
var xe = w(n, "WeakMap");
|
|
113
|
-
//#endregion
|
|
114
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
|
|
115
|
-
function Se(e, t, n) {
|
|
116
|
-
switch (n.length) {
|
|
117
|
-
case 0: return e.call(t);
|
|
118
|
-
case 1: return e.call(t, n[0]);
|
|
119
|
-
case 2: return e.call(t, n[0], n[1]);
|
|
120
|
-
case 3: return e.call(t, n[0], n[1], n[2]);
|
|
121
|
-
}
|
|
122
|
-
return e.apply(t, n);
|
|
123
|
-
}
|
|
124
|
-
//#endregion
|
|
125
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/noop.js
|
|
126
|
-
function Ce() {}
|
|
127
|
-
//#endregion
|
|
128
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
129
|
-
var we = 800, Te = 16, Ee = Date.now;
|
|
130
|
-
function De(e) {
|
|
131
|
-
var t = 0, n = 0;
|
|
132
|
-
return function() {
|
|
133
|
-
var r = Ee(), i = Te - (r - n);
|
|
134
|
-
if (n = r, i > 0) {
|
|
135
|
-
if (++t >= we) return arguments[0];
|
|
136
|
-
} else t = 0;
|
|
137
|
-
return e.apply(void 0, arguments);
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
//#endregion
|
|
141
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
|
|
142
|
-
function T(e) {
|
|
143
|
-
return function() {
|
|
144
|
-
return e;
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
//#endregion
|
|
148
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
|
|
149
|
-
var Oe = function() {
|
|
150
|
-
try {
|
|
151
|
-
var e = w(Object, "defineProperty");
|
|
152
|
-
return e({}, "", {}), e;
|
|
153
|
-
} catch (e) {}
|
|
154
|
-
}(), ke = De(Oe ? function(e, t) {
|
|
155
|
-
return Oe(e, "toString", {
|
|
156
|
-
configurable: !0,
|
|
157
|
-
enumerable: !1,
|
|
158
|
-
value: T(t),
|
|
159
|
-
writable: !0
|
|
160
|
-
});
|
|
161
|
-
} : x);
|
|
162
|
-
//#endregion
|
|
163
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
|
|
164
|
-
function Ae(e, t) {
|
|
165
|
-
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
|
|
166
|
-
return e;
|
|
167
|
-
}
|
|
168
|
-
//#endregion
|
|
169
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js
|
|
170
|
-
function je(e, t, n, r) {
|
|
171
|
-
for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
|
|
172
|
-
return -1;
|
|
173
|
-
}
|
|
174
|
-
//#endregion
|
|
175
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js
|
|
176
|
-
function Me(e) {
|
|
177
|
-
return e !== e;
|
|
178
|
-
}
|
|
179
|
-
//#endregion
|
|
180
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js
|
|
181
|
-
function Ne(e, t, n) {
|
|
182
|
-
for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
|
|
183
|
-
return -1;
|
|
184
|
-
}
|
|
185
|
-
//#endregion
|
|
186
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js
|
|
187
|
-
function Pe(e, t, n) {
|
|
188
|
-
return t === t ? Ne(e, t, n) : je(e, Me, n);
|
|
189
|
-
}
|
|
190
|
-
//#endregion
|
|
191
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js
|
|
192
|
-
function Fe(e, t) {
|
|
193
|
-
return !!(e != null && e.length) && Pe(e, t, 0) > -1;
|
|
194
|
-
}
|
|
195
|
-
//#endregion
|
|
196
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
197
|
-
var Ie = 9007199254740991, Le = /^(?:0|[1-9]\d*)$/;
|
|
198
|
-
function Re(e, t) {
|
|
199
|
-
var n = typeof e;
|
|
200
|
-
return t = t == null ? Ie : t, !!t && (n == "number" || n != "symbol" && Le.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
201
|
-
}
|
|
202
|
-
//#endregion
|
|
203
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
204
|
-
function ze(e, t) {
|
|
205
|
-
return e === t || e !== e && t !== t;
|
|
206
|
-
}
|
|
207
|
-
//#endregion
|
|
208
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
|
|
209
|
-
var Be = Math.max;
|
|
210
|
-
function Ve(e, t, n) {
|
|
211
|
-
return t = Be(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
212
|
-
for (var r = arguments, i = -1, a = Be(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
|
|
213
|
-
i = -1;
|
|
214
|
-
for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
|
|
215
|
-
return s[t] = n(o), Se(e, this, s);
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
//#endregion
|
|
219
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
|
|
220
|
-
function He(e, t) {
|
|
221
|
-
return ke(Ve(e, t, x), e + "");
|
|
222
|
-
}
|
|
223
|
-
//#endregion
|
|
224
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
225
|
-
var Ue = 9007199254740991;
|
|
226
|
-
function We(e) {
|
|
227
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ue;
|
|
228
|
-
}
|
|
229
|
-
//#endregion
|
|
230
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
231
|
-
function E(e) {
|
|
232
|
-
return e != null && We(e.length) && !S(e);
|
|
233
|
-
}
|
|
234
|
-
//#endregion
|
|
235
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
236
|
-
var Ge = Object.prototype;
|
|
237
|
-
function Ke(e) {
|
|
238
|
-
var t = e && e.constructor;
|
|
239
|
-
return e === (typeof t == "function" && t.prototype || Ge);
|
|
240
|
-
}
|
|
241
|
-
//#endregion
|
|
242
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
243
|
-
function qe(e, t) {
|
|
244
|
-
for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
|
|
245
|
-
return r;
|
|
246
|
-
}
|
|
247
|
-
//#endregion
|
|
248
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
249
|
-
var Je = "[object Arguments]";
|
|
250
|
-
function Ye(e) {
|
|
251
|
-
return h(e) && m(e) == Je;
|
|
252
|
-
}
|
|
253
|
-
//#endregion
|
|
254
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
255
|
-
var Xe = Object.prototype, Ze = Xe.hasOwnProperty, Qe = Xe.propertyIsEnumerable, D = Ye(function() {
|
|
256
|
-
return arguments;
|
|
257
|
-
}()) ? Ye : function(e) {
|
|
258
|
-
return h(e) && Ze.call(e, "callee") && !Qe.call(e, "callee");
|
|
259
|
-
};
|
|
260
|
-
//#endregion
|
|
261
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
262
|
-
function $e() {
|
|
263
|
-
return !1;
|
|
264
|
-
}
|
|
265
|
-
//#endregion
|
|
266
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
267
|
-
var et = typeof exports == "object" && exports && !exports.nodeType && exports, tt = et && typeof module == "object" && module && !module.nodeType && module, nt = tt && tt.exports === et ? n.Buffer : void 0, O = (nt ? nt.isBuffer : void 0) || $e, rt = "[object Arguments]", it = "[object Array]", at = "[object Boolean]", ot = "[object Date]", st = "[object Error]", ct = "[object Function]", lt = "[object Map]", ut = "[object Number]", dt = "[object Object]", ft = "[object RegExp]", pt = "[object Set]", mt = "[object String]", ht = "[object WeakMap]", gt = "[object ArrayBuffer]", _t = "[object DataView]", vt = "[object Float32Array]", yt = "[object Float64Array]", bt = "[object Int8Array]", xt = "[object Int16Array]", St = "[object Int32Array]", Ct = "[object Uint8Array]", wt = "[object Uint8ClampedArray]", Tt = "[object Uint16Array]", Et = "[object Uint32Array]", k = {};
|
|
268
|
-
k[vt] = k[yt] = k[bt] = k[xt] = k[St] = k[Ct] = k[wt] = k[Tt] = k[Et] = !0, k[rt] = k[it] = k[gt] = k[at] = k[_t] = k[ot] = k[st] = k[ct] = k[lt] = k[ut] = k[dt] = k[ft] = k[pt] = k[mt] = k[ht] = !1;
|
|
269
|
-
function Dt(e) {
|
|
270
|
-
return h(e) && We(e.length) && !!k[m(e)];
|
|
271
|
-
}
|
|
272
|
-
//#endregion
|
|
273
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
274
|
-
function Ot(e) {
|
|
275
|
-
return function(t) {
|
|
276
|
-
return e(t);
|
|
277
|
-
};
|
|
278
|
-
}
|
|
279
|
-
//#endregion
|
|
280
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
281
|
-
var kt = typeof exports == "object" && exports && !exports.nodeType && exports, A = kt && typeof module == "object" && module && !module.nodeType && module, At = A && A.exports === kt && e.process, jt = function() {
|
|
282
|
-
try {
|
|
283
|
-
return A && A.require && A.require("util").types || At && At.binding && At.binding("util");
|
|
284
|
-
} catch (e) {}
|
|
285
|
-
}(), Mt = jt && jt.isTypedArray, j = Mt ? Ot(Mt) : Dt, Nt = Object.prototype.hasOwnProperty;
|
|
286
|
-
function Pt(e, t) {
|
|
287
|
-
var n = y(e), r = !n && D(e), i = !n && !r && O(e), a = !n && !r && !i && j(e), o = n || r || i || a, s = o ? qe(e.length, String) : [], c = s.length;
|
|
288
|
-
for (var l in e) (t || Nt.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || Re(l, c))) && s.push(l);
|
|
289
|
-
return s;
|
|
290
|
-
}
|
|
291
|
-
//#endregion
|
|
292
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
293
|
-
function Ft(e, t) {
|
|
294
|
-
return function(n) {
|
|
295
|
-
return e(t(n));
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
//#endregion
|
|
299
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
300
|
-
var It = Ft(Object.keys, Object), Lt = Object.prototype.hasOwnProperty;
|
|
301
|
-
function Rt(e) {
|
|
302
|
-
if (!Ke(e)) return It(e);
|
|
303
|
-
var t = [];
|
|
304
|
-
for (var n in Object(e)) Lt.call(e, n) && n != "constructor" && t.push(n);
|
|
305
|
-
return t;
|
|
306
|
-
}
|
|
307
|
-
//#endregion
|
|
308
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
309
|
-
function M(e) {
|
|
310
|
-
return E(e) ? Pt(e) : Rt(e);
|
|
311
|
-
}
|
|
312
|
-
//#endregion
|
|
313
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
314
|
-
var zt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Bt = /^\w*$/;
|
|
315
|
-
function Vt(e, t) {
|
|
316
|
-
if (y(e)) return !1;
|
|
317
|
-
var n = typeof e;
|
|
318
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null || _(e) ? !0 : Bt.test(e) || !zt.test(e) || t != null && e in Object(t);
|
|
319
|
-
}
|
|
320
|
-
//#endregion
|
|
321
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
322
|
-
var N = w(Object, "create");
|
|
323
|
-
//#endregion
|
|
324
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
325
|
-
function Ht() {
|
|
326
|
-
this.__data__ = N ? N(null) : {}, this.size = 0;
|
|
327
|
-
}
|
|
328
|
-
//#endregion
|
|
329
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
330
|
-
function Ut(e) {
|
|
331
|
-
var t = this.has(e) && delete this.__data__[e];
|
|
332
|
-
return this.size -= +!!t, t;
|
|
333
|
-
}
|
|
334
|
-
//#endregion
|
|
335
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
336
|
-
var Wt = "__lodash_hash_undefined__", Gt = Object.prototype.hasOwnProperty;
|
|
337
|
-
function Kt(e) {
|
|
338
|
-
var t = this.__data__;
|
|
339
|
-
if (N) {
|
|
340
|
-
var n = t[e];
|
|
341
|
-
return n === Wt ? void 0 : n;
|
|
342
|
-
}
|
|
343
|
-
return Gt.call(t, e) ? t[e] : void 0;
|
|
344
|
-
}
|
|
345
|
-
//#endregion
|
|
346
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
347
|
-
var qt = Object.prototype.hasOwnProperty;
|
|
348
|
-
function Jt(e) {
|
|
349
|
-
var t = this.__data__;
|
|
350
|
-
return N ? t[e] !== void 0 : qt.call(t, e);
|
|
351
|
-
}
|
|
352
|
-
//#endregion
|
|
353
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
354
|
-
var Yt = "__lodash_hash_undefined__";
|
|
355
|
-
function Xt(e, t) {
|
|
356
|
-
var n = this.__data__;
|
|
357
|
-
return this.size += +!this.has(e), n[e] = N && t === void 0 ? Yt : t, this;
|
|
358
|
-
}
|
|
359
|
-
//#endregion
|
|
360
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
361
|
-
function P(e) {
|
|
362
|
-
var t = -1, n = e == null ? 0 : e.length;
|
|
363
|
-
for (this.clear(); ++t < n;) {
|
|
364
|
-
var r = e[t];
|
|
365
|
-
this.set(r[0], r[1]);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
P.prototype.clear = Ht, P.prototype.delete = Ut, P.prototype.get = Kt, P.prototype.has = Jt, P.prototype.set = Xt;
|
|
369
|
-
//#endregion
|
|
370
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
371
|
-
function Zt() {
|
|
372
|
-
this.__data__ = [], this.size = 0;
|
|
373
|
-
}
|
|
374
|
-
//#endregion
|
|
375
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
376
|
-
function F(e, t) {
|
|
377
|
-
for (var n = e.length; n--;) if (ze(e[n][0], t)) return n;
|
|
378
|
-
return -1;
|
|
379
|
-
}
|
|
380
|
-
//#endregion
|
|
381
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
382
|
-
var Qt = Array.prototype.splice;
|
|
383
|
-
function $t(e) {
|
|
384
|
-
var t = this.__data__, n = F(t, e);
|
|
385
|
-
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : Qt.call(t, n, 1), --this.size, !0);
|
|
386
|
-
}
|
|
387
|
-
//#endregion
|
|
388
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
389
|
-
function en(e) {
|
|
390
|
-
var t = this.__data__, n = F(t, e);
|
|
391
|
-
return n < 0 ? void 0 : t[n][1];
|
|
392
|
-
}
|
|
393
|
-
//#endregion
|
|
394
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
395
|
-
function tn(e) {
|
|
396
|
-
return F(this.__data__, e) > -1;
|
|
397
|
-
}
|
|
398
|
-
//#endregion
|
|
399
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
400
|
-
function nn(e, t) {
|
|
401
|
-
var n = this.__data__, r = F(n, e);
|
|
402
|
-
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
403
|
-
}
|
|
404
|
-
//#endregion
|
|
405
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
406
|
-
function I(e) {
|
|
407
|
-
var t = -1, n = e == null ? 0 : e.length;
|
|
408
|
-
for (this.clear(); ++t < n;) {
|
|
409
|
-
var r = e[t];
|
|
410
|
-
this.set(r[0], r[1]);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
I.prototype.clear = Zt, I.prototype.delete = $t, I.prototype.get = en, I.prototype.has = tn, I.prototype.set = nn;
|
|
414
|
-
//#endregion
|
|
415
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
416
|
-
var L = w(n, "Map");
|
|
417
|
-
//#endregion
|
|
418
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
419
|
-
function rn() {
|
|
420
|
-
this.size = 0, this.__data__ = {
|
|
421
|
-
hash: new P(),
|
|
422
|
-
map: new (L || I)(),
|
|
423
|
-
string: new P()
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
//#endregion
|
|
427
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
428
|
-
function an(e) {
|
|
429
|
-
var t = typeof e;
|
|
430
|
-
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
431
|
-
}
|
|
432
|
-
//#endregion
|
|
433
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
434
|
-
function R(e, t) {
|
|
435
|
-
var n = e.__data__;
|
|
436
|
-
return an(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
437
|
-
}
|
|
438
|
-
//#endregion
|
|
439
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
440
|
-
function on(e) {
|
|
441
|
-
var t = R(this, e).delete(e);
|
|
442
|
-
return this.size -= +!!t, t;
|
|
443
|
-
}
|
|
444
|
-
//#endregion
|
|
445
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
446
|
-
function sn(e) {
|
|
447
|
-
return R(this, e).get(e);
|
|
448
|
-
}
|
|
449
|
-
//#endregion
|
|
450
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
451
|
-
function cn(e) {
|
|
452
|
-
return R(this, e).has(e);
|
|
453
|
-
}
|
|
454
|
-
//#endregion
|
|
455
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
456
|
-
function ln(e, t) {
|
|
457
|
-
var n = R(this, e), r = n.size;
|
|
458
|
-
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
459
|
-
}
|
|
460
|
-
//#endregion
|
|
461
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
462
|
-
function z(e) {
|
|
463
|
-
var t = -1, n = e == null ? 0 : e.length;
|
|
464
|
-
for (this.clear(); ++t < n;) {
|
|
465
|
-
var r = e[t];
|
|
466
|
-
this.set(r[0], r[1]);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
z.prototype.clear = rn, z.prototype.delete = on, z.prototype.get = sn, z.prototype.has = cn, z.prototype.set = ln;
|
|
470
|
-
//#endregion
|
|
471
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
|
|
472
|
-
var un = "Expected a function";
|
|
473
|
-
function dn(e, t) {
|
|
474
|
-
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(un);
|
|
475
|
-
var n = function() {
|
|
476
|
-
var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
|
|
477
|
-
if (a.has(i)) return a.get(i);
|
|
478
|
-
var o = e.apply(this, r);
|
|
479
|
-
return n.cache = a.set(i, o) || a, o;
|
|
480
|
-
};
|
|
481
|
-
return n.cache = new (dn.Cache || z)(), n;
|
|
482
|
-
}
|
|
483
|
-
dn.Cache = z;
|
|
484
|
-
//#endregion
|
|
485
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
|
|
486
|
-
var fn = 500;
|
|
487
|
-
function pn(e) {
|
|
488
|
-
var t = dn(e, function(e) {
|
|
489
|
-
return n.size === fn && n.clear(), e;
|
|
490
|
-
}), n = t.cache;
|
|
491
|
-
return t;
|
|
492
|
-
}
|
|
493
|
-
//#endregion
|
|
494
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
|
|
495
|
-
var mn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, hn = /\\(\\)?/g, gn = pn(function(e) {
|
|
496
|
-
var t = [];
|
|
497
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(mn, function(e, n, r, i) {
|
|
498
|
-
t.push(r ? i.replace(hn, "$1") : n || e);
|
|
499
|
-
}), t;
|
|
500
|
-
});
|
|
501
|
-
//#endregion
|
|
502
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
503
|
-
function _n(e) {
|
|
504
|
-
return e == null ? "" : re(e);
|
|
505
|
-
}
|
|
506
|
-
//#endregion
|
|
507
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
|
|
508
|
-
function vn(e, t) {
|
|
509
|
-
return y(e) ? e : Vt(e, t) ? [e] : gn(_n(e));
|
|
510
|
-
}
|
|
511
|
-
//#endregion
|
|
512
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
|
|
513
|
-
var yn = Infinity;
|
|
514
|
-
function B(e) {
|
|
515
|
-
if (typeof e == "string" || _(e)) return e;
|
|
516
|
-
var t = e + "";
|
|
517
|
-
return t == "0" && 1 / e == -yn ? "-0" : t;
|
|
518
|
-
}
|
|
519
|
-
//#endregion
|
|
520
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
|
|
521
|
-
function bn(e, t) {
|
|
522
|
-
t = vn(t, e);
|
|
523
|
-
for (var n = 0, r = t.length; e != null && n < r;) e = e[B(t[n++])];
|
|
524
|
-
return n && n == r ? e : void 0;
|
|
525
|
-
}
|
|
526
|
-
//#endregion
|
|
527
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
|
|
528
|
-
function xn(e, t, n) {
|
|
529
|
-
var r = e == null ? void 0 : bn(e, t);
|
|
530
|
-
return r === void 0 ? n : r;
|
|
531
|
-
}
|
|
532
|
-
//#endregion
|
|
533
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
534
|
-
function Sn(e, t) {
|
|
535
|
-
for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
|
|
536
|
-
return e;
|
|
537
|
-
}
|
|
538
|
-
//#endregion
|
|
539
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js
|
|
540
|
-
var Cn = r ? r.isConcatSpreadable : void 0;
|
|
541
|
-
function wn(e) {
|
|
542
|
-
return y(e) || D(e) || !!(Cn && e && e[Cn]);
|
|
543
|
-
}
|
|
544
|
-
//#endregion
|
|
545
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js
|
|
546
|
-
function Tn(e, t, n, r, i) {
|
|
547
|
-
var a = -1, o = e.length;
|
|
548
|
-
for (n || (n = wn), i || (i = []); ++a < o;) {
|
|
549
|
-
var s = e[a];
|
|
550
|
-
t > 0 && n(s) ? t > 1 ? Tn(s, t - 1, n, r, i) : Sn(i, s) : r || (i[i.length] = s);
|
|
551
|
-
}
|
|
552
|
-
return i;
|
|
553
|
-
}
|
|
554
|
-
//#endregion
|
|
555
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js
|
|
556
|
-
function En(e, t, n, r) {
|
|
557
|
-
var i = -1, a = e == null ? 0 : e.length;
|
|
558
|
-
for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
|
|
559
|
-
return n;
|
|
560
|
-
}
|
|
561
|
-
//#endregion
|
|
562
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
563
|
-
function Dn() {
|
|
564
|
-
this.__data__ = new I(), this.size = 0;
|
|
565
|
-
}
|
|
566
|
-
//#endregion
|
|
567
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
568
|
-
function On(e) {
|
|
569
|
-
var t = this.__data__, n = t.delete(e);
|
|
570
|
-
return this.size = t.size, n;
|
|
571
|
-
}
|
|
572
|
-
//#endregion
|
|
573
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
574
|
-
function kn(e) {
|
|
575
|
-
return this.__data__.get(e);
|
|
576
|
-
}
|
|
577
|
-
//#endregion
|
|
578
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
579
|
-
function An(e) {
|
|
580
|
-
return this.__data__.has(e);
|
|
581
|
-
}
|
|
582
|
-
//#endregion
|
|
583
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
584
|
-
var jn = 200;
|
|
585
|
-
function Mn(e, t) {
|
|
586
|
-
var n = this.__data__;
|
|
587
|
-
if (n instanceof I) {
|
|
588
|
-
var r = n.__data__;
|
|
589
|
-
if (!L || r.length < jn - 1) return r.push([e, t]), this.size = ++n.size, this;
|
|
590
|
-
n = this.__data__ = new z(r);
|
|
591
|
-
}
|
|
592
|
-
return n.set(e, t), this.size = n.size, this;
|
|
593
|
-
}
|
|
594
|
-
//#endregion
|
|
595
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
596
|
-
function V(e) {
|
|
597
|
-
var t = this.__data__ = new I(e);
|
|
598
|
-
this.size = t.size;
|
|
599
|
-
}
|
|
600
|
-
V.prototype.clear = Dn, V.prototype.delete = On, V.prototype.get = kn, V.prototype.has = An, V.prototype.set = Mn;
|
|
601
|
-
//#endregion
|
|
602
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
603
|
-
function Nn(e, t) {
|
|
604
|
-
for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
|
|
605
|
-
var o = e[n];
|
|
606
|
-
t(o, n, e) && (a[i++] = o);
|
|
607
|
-
}
|
|
608
|
-
return a;
|
|
609
|
-
}
|
|
610
|
-
//#endregion
|
|
611
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
612
|
-
function Pn() {
|
|
613
|
-
return [];
|
|
614
|
-
}
|
|
615
|
-
//#endregion
|
|
616
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
617
|
-
var Fn = Object.prototype.propertyIsEnumerable, In = Object.getOwnPropertySymbols, Ln = In ? function(e) {
|
|
618
|
-
return e == null ? [] : (e = Object(e), Nn(In(e), function(t) {
|
|
619
|
-
return Fn.call(e, t);
|
|
620
|
-
}));
|
|
621
|
-
} : Pn;
|
|
622
|
-
//#endregion
|
|
623
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
624
|
-
function Rn(e, t, n) {
|
|
625
|
-
var r = t(e);
|
|
626
|
-
return y(e) ? r : Sn(r, n(e));
|
|
627
|
-
}
|
|
628
|
-
//#endregion
|
|
629
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
630
|
-
function zn(e) {
|
|
631
|
-
return Rn(e, M, Ln);
|
|
632
|
-
}
|
|
633
|
-
//#endregion
|
|
634
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
635
|
-
var Bn = w(n, "DataView"), Vn = w(n, "Promise"), H = w(n, "Set"), Hn = "[object Map]", Un = "[object Object]", Wn = "[object Promise]", Gn = "[object Set]", Kn = "[object WeakMap]", qn = "[object DataView]", Jn = C(Bn), Yn = C(L), Xn = C(Vn), Zn = C(H), Qn = C(xe), U = m;
|
|
636
|
-
(Bn && U(new Bn(/* @__PURE__ */ new ArrayBuffer(1))) != qn || L && U(new L()) != Hn || Vn && U(Vn.resolve()) != Wn || H && U(new H()) != Gn || xe && U(new xe()) != Kn) && (U = function(e) {
|
|
637
|
-
var t = m(e), n = t == Un ? e.constructor : void 0, r = n ? C(n) : "";
|
|
638
|
-
if (r) switch (r) {
|
|
639
|
-
case Jn: return qn;
|
|
640
|
-
case Yn: return Hn;
|
|
641
|
-
case Xn: return Wn;
|
|
642
|
-
case Zn: return Gn;
|
|
643
|
-
case Qn: return Kn;
|
|
644
|
-
}
|
|
645
|
-
return t;
|
|
646
|
-
});
|
|
647
|
-
var W = U, $n = n.Uint8Array, er = "__lodash_hash_undefined__";
|
|
648
|
-
function tr(e) {
|
|
649
|
-
return this.__data__.set(e, er), this;
|
|
650
|
-
}
|
|
651
|
-
//#endregion
|
|
652
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
|
|
653
|
-
function nr(e) {
|
|
654
|
-
return this.__data__.has(e);
|
|
655
|
-
}
|
|
656
|
-
//#endregion
|
|
657
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
|
|
658
|
-
function G(e) {
|
|
659
|
-
var t = -1, n = e == null ? 0 : e.length;
|
|
660
|
-
for (this.__data__ = new z(); ++t < n;) this.add(e[t]);
|
|
661
|
-
}
|
|
662
|
-
G.prototype.add = G.prototype.push = tr, G.prototype.has = nr;
|
|
663
|
-
//#endregion
|
|
664
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
|
|
665
|
-
function rr(e, t) {
|
|
666
|
-
for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
|
|
667
|
-
return !1;
|
|
668
|
-
}
|
|
669
|
-
//#endregion
|
|
670
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
|
|
671
|
-
function ir(e, t) {
|
|
672
|
-
return e.has(t);
|
|
673
|
-
}
|
|
674
|
-
//#endregion
|
|
675
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
|
|
676
|
-
var ar = 1, or = 2;
|
|
677
|
-
function sr(e, t, n, r, i, a) {
|
|
678
|
-
var o = n & ar, s = e.length, c = t.length;
|
|
679
|
-
if (s != c && !(o && c > s)) return !1;
|
|
680
|
-
var l = a.get(e), u = a.get(t);
|
|
681
|
-
if (l && u) return l == t && u == e;
|
|
682
|
-
var d = -1, f = !0, p = n & or ? new G() : void 0;
|
|
683
|
-
for (a.set(e, t), a.set(t, e); ++d < s;) {
|
|
684
|
-
var m = e[d], h = t[d];
|
|
685
|
-
if (r) var g = o ? r(h, m, d, t, e, a) : r(m, h, d, e, t, a);
|
|
686
|
-
if (g !== void 0) {
|
|
687
|
-
if (g) continue;
|
|
688
|
-
f = !1;
|
|
689
|
-
break;
|
|
690
|
-
}
|
|
691
|
-
if (p) {
|
|
692
|
-
if (!rr(t, function(e, t) {
|
|
693
|
-
if (!ir(p, t) && (m === e || i(m, e, n, r, a))) return p.push(t);
|
|
694
|
-
})) {
|
|
695
|
-
f = !1;
|
|
696
|
-
break;
|
|
697
|
-
}
|
|
698
|
-
} else if (!(m === h || i(m, h, n, r, a))) {
|
|
699
|
-
f = !1;
|
|
700
|
-
break;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
return a.delete(e), a.delete(t), f;
|
|
704
|
-
}
|
|
705
|
-
//#endregion
|
|
706
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
|
|
707
|
-
function cr(e) {
|
|
708
|
-
var t = -1, n = Array(e.size);
|
|
709
|
-
return e.forEach(function(e, r) {
|
|
710
|
-
n[++t] = [r, e];
|
|
711
|
-
}), n;
|
|
712
|
-
}
|
|
713
|
-
//#endregion
|
|
714
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
|
|
715
|
-
function lr(e) {
|
|
716
|
-
var t = -1, n = Array(e.size);
|
|
717
|
-
return e.forEach(function(e) {
|
|
718
|
-
n[++t] = e;
|
|
719
|
-
}), n;
|
|
720
|
-
}
|
|
721
|
-
//#endregion
|
|
722
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
|
|
723
|
-
var ur = 1, dr = 2, fr = "[object Boolean]", pr = "[object Date]", mr = "[object Error]", hr = "[object Map]", gr = "[object Number]", _r = "[object RegExp]", vr = "[object Set]", yr = "[object String]", br = "[object Symbol]", xr = "[object ArrayBuffer]", Sr = "[object DataView]", Cr = r ? r.prototype : void 0, wr = Cr ? Cr.valueOf : void 0;
|
|
724
|
-
function Tr(e, t, n, r, i, a, o) {
|
|
725
|
-
switch (n) {
|
|
726
|
-
case Sr:
|
|
727
|
-
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
|
|
728
|
-
e = e.buffer, t = t.buffer;
|
|
729
|
-
case xr: return !(e.byteLength != t.byteLength || !a(new $n(e), new $n(t)));
|
|
730
|
-
case fr:
|
|
731
|
-
case pr:
|
|
732
|
-
case gr: return ze(+e, +t);
|
|
733
|
-
case mr: return e.name == t.name && e.message == t.message;
|
|
734
|
-
case _r:
|
|
735
|
-
case yr: return e == t + "";
|
|
736
|
-
case hr: var s = cr;
|
|
737
|
-
case vr:
|
|
738
|
-
var c = r & ur;
|
|
739
|
-
if (s || (s = lr), e.size != t.size && !c) return !1;
|
|
740
|
-
var l = o.get(e);
|
|
741
|
-
if (l) return l == t;
|
|
742
|
-
r |= dr, o.set(e, t);
|
|
743
|
-
var u = sr(s(e), s(t), r, i, a, o);
|
|
744
|
-
return o.delete(e), u;
|
|
745
|
-
case br: if (wr) return wr.call(e) == wr.call(t);
|
|
746
|
-
}
|
|
747
|
-
return !1;
|
|
748
|
-
}
|
|
749
|
-
//#endregion
|
|
750
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
|
|
751
|
-
var Er = 1, Dr = Object.prototype.hasOwnProperty;
|
|
752
|
-
function Or(e, t, n, r, i, a) {
|
|
753
|
-
var o = n & Er, s = zn(e), c = s.length;
|
|
754
|
-
if (c != zn(t).length && !o) return !1;
|
|
755
|
-
for (var l = c; l--;) {
|
|
756
|
-
var u = s[l];
|
|
757
|
-
if (!(o ? u in t : Dr.call(t, u))) return !1;
|
|
758
|
-
}
|
|
759
|
-
var d = a.get(e), f = a.get(t);
|
|
760
|
-
if (d && f) return d == t && f == e;
|
|
761
|
-
var p = !0;
|
|
762
|
-
a.set(e, t), a.set(t, e);
|
|
763
|
-
for (var m = o; ++l < c;) {
|
|
764
|
-
u = s[l];
|
|
765
|
-
var h = e[u], g = t[u];
|
|
766
|
-
if (r) var _ = o ? r(g, h, u, t, e, a) : r(h, g, u, e, t, a);
|
|
767
|
-
if (!(_ === void 0 ? h === g || i(h, g, n, r, a) : _)) {
|
|
768
|
-
p = !1;
|
|
769
|
-
break;
|
|
770
|
-
}
|
|
771
|
-
m || (m = u == "constructor");
|
|
772
|
-
}
|
|
773
|
-
if (p && !m) {
|
|
774
|
-
var v = e.constructor, y = t.constructor;
|
|
775
|
-
v != y && "constructor" in e && "constructor" in t && !(typeof v == "function" && v instanceof v && typeof y == "function" && y instanceof y) && (p = !1);
|
|
776
|
-
}
|
|
777
|
-
return a.delete(e), a.delete(t), p;
|
|
778
|
-
}
|
|
779
|
-
//#endregion
|
|
780
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
|
|
781
|
-
var kr = 1, Ar = "[object Arguments]", jr = "[object Array]", K = "[object Object]", Mr = Object.prototype.hasOwnProperty;
|
|
782
|
-
function Nr(e, t, n, r, i, a) {
|
|
783
|
-
var o = y(e), s = y(t), c = o ? jr : W(e), l = s ? jr : W(t);
|
|
784
|
-
c = c == Ar ? K : c, l = l == Ar ? K : l;
|
|
785
|
-
var u = c == K, d = l == K, f = c == l;
|
|
786
|
-
if (f && O(e)) {
|
|
787
|
-
if (!O(t)) return !1;
|
|
788
|
-
o = !0, u = !1;
|
|
789
|
-
}
|
|
790
|
-
if (f && !u) return a || (a = new V()), o || j(e) ? sr(e, t, n, r, i, a) : Tr(e, t, c, n, r, i, a);
|
|
791
|
-
if (!(n & kr)) {
|
|
792
|
-
var p = u && Mr.call(e, "__wrapped__"), m = d && Mr.call(t, "__wrapped__");
|
|
793
|
-
if (p || m) {
|
|
794
|
-
var h = p ? e.value() : e, g = m ? t.value() : t;
|
|
795
|
-
return a || (a = new V()), i(h, g, n, r, a);
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
return f ? (a || (a = new V()), Or(e, t, n, r, i, a)) : !1;
|
|
799
|
-
}
|
|
800
|
-
//#endregion
|
|
801
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
|
|
802
|
-
function Pr(e, t, n, r, i) {
|
|
803
|
-
return e === t ? !0 : e == null || t == null || !h(e) && !h(t) ? e !== e && t !== t : Nr(e, t, n, r, Pr, i);
|
|
804
|
-
}
|
|
805
|
-
//#endregion
|
|
806
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
|
|
807
|
-
var Fr = 1, Ir = 2;
|
|
808
|
-
function Lr(e, t, n, r) {
|
|
809
|
-
var i = n.length, a = i, o = !r;
|
|
810
|
-
if (e == null) return !a;
|
|
811
|
-
for (e = Object(e); i--;) {
|
|
812
|
-
var s = n[i];
|
|
813
|
-
if (o && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1;
|
|
814
|
-
}
|
|
815
|
-
for (; ++i < a;) {
|
|
816
|
-
s = n[i];
|
|
817
|
-
var c = s[0], l = e[c], u = s[1];
|
|
818
|
-
if (o && s[2]) {
|
|
819
|
-
if (l === void 0 && !(c in e)) return !1;
|
|
820
|
-
} else {
|
|
821
|
-
var d = new V();
|
|
822
|
-
if (r) var f = r(l, u, c, e, t, d);
|
|
823
|
-
if (!(f === void 0 ? Pr(u, l, Fr | Ir, r, d) : f)) return !1;
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
return !0;
|
|
827
|
-
}
|
|
828
|
-
//#endregion
|
|
829
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js
|
|
830
|
-
function Rr(e) {
|
|
831
|
-
return e === e && !b(e);
|
|
832
|
-
}
|
|
833
|
-
//#endregion
|
|
834
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js
|
|
835
|
-
function zr(e) {
|
|
836
|
-
for (var t = M(e), n = t.length; n--;) {
|
|
837
|
-
var r = t[n], i = e[r];
|
|
838
|
-
t[n] = [
|
|
839
|
-
r,
|
|
840
|
-
i,
|
|
841
|
-
Rr(i)
|
|
842
|
-
];
|
|
843
|
-
}
|
|
844
|
-
return t;
|
|
845
|
-
}
|
|
846
|
-
//#endregion
|
|
847
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js
|
|
848
|
-
function Br(e, t) {
|
|
849
|
-
return function(n) {
|
|
850
|
-
return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
|
|
851
|
-
};
|
|
852
|
-
}
|
|
853
|
-
//#endregion
|
|
854
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js
|
|
855
|
-
function Vr(e) {
|
|
856
|
-
var t = zr(e);
|
|
857
|
-
return t.length == 1 && t[0][2] ? Br(t[0][0], t[0][1]) : function(n) {
|
|
858
|
-
return n === e || Lr(n, e, t);
|
|
859
|
-
};
|
|
860
|
-
}
|
|
861
|
-
//#endregion
|
|
862
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js
|
|
863
|
-
function Hr(e, t) {
|
|
864
|
-
return e != null && t in Object(e);
|
|
865
|
-
}
|
|
866
|
-
//#endregion
|
|
867
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js
|
|
868
|
-
function Ur(e, t, n) {
|
|
869
|
-
t = vn(t, e);
|
|
870
|
-
for (var r = -1, i = t.length, a = !1; ++r < i;) {
|
|
871
|
-
var o = B(t[r]);
|
|
872
|
-
if (!(a = e != null && n(e, o))) break;
|
|
873
|
-
e = e[o];
|
|
874
|
-
}
|
|
875
|
-
return a || ++r != i ? a : (i = e == null ? 0 : e.length, !!i && We(i) && Re(o, i) && (y(e) || D(e)));
|
|
876
|
-
}
|
|
877
|
-
//#endregion
|
|
878
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js
|
|
879
|
-
function Wr(e, t) {
|
|
880
|
-
return e != null && Ur(e, t, Hr);
|
|
881
|
-
}
|
|
882
|
-
//#endregion
|
|
883
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
|
|
884
|
-
var Gr = 1, Kr = 2;
|
|
885
|
-
function qr(e, t) {
|
|
886
|
-
return Vt(e) && Rr(t) ? Br(B(e), t) : function(n) {
|
|
887
|
-
var r = xn(n, e);
|
|
888
|
-
return r === void 0 && r === t ? Wr(n, e) : Pr(t, r, Gr | Kr);
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
//#endregion
|
|
892
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js
|
|
893
|
-
function Jr(e) {
|
|
894
|
-
return function(t) {
|
|
895
|
-
return t == null ? void 0 : t[e];
|
|
896
|
-
};
|
|
897
|
-
}
|
|
898
|
-
//#endregion
|
|
899
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js
|
|
900
|
-
function Yr(e) {
|
|
901
|
-
return function(t) {
|
|
902
|
-
return bn(t, e);
|
|
903
|
-
};
|
|
904
|
-
}
|
|
905
|
-
//#endregion
|
|
906
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js
|
|
907
|
-
function Xr(e) {
|
|
908
|
-
return Vt(e) ? Jr(B(e)) : Yr(e);
|
|
909
|
-
}
|
|
910
|
-
//#endregion
|
|
911
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js
|
|
912
|
-
function Zr(e) {
|
|
913
|
-
return typeof e == "function" ? e : e == null ? x : typeof e == "object" ? y(e) ? qr(e[0], e[1]) : Vr(e) : Xr(e);
|
|
914
|
-
}
|
|
915
|
-
//#endregion
|
|
916
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
|
|
917
|
-
function Qr(e) {
|
|
918
|
-
return function(t, n, r) {
|
|
919
|
-
for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
|
|
920
|
-
var c = o[e ? s : ++i];
|
|
921
|
-
if (n(a[c], c, a) === !1) break;
|
|
922
|
-
}
|
|
923
|
-
return t;
|
|
924
|
-
};
|
|
925
|
-
}
|
|
926
|
-
//#endregion
|
|
927
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
|
|
928
|
-
var $r = Qr();
|
|
929
|
-
//#endregion
|
|
930
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js
|
|
931
|
-
function ei(e, t) {
|
|
932
|
-
return e && $r(e, t, M);
|
|
933
|
-
}
|
|
934
|
-
//#endregion
|
|
935
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js
|
|
936
|
-
function ti(e, t) {
|
|
937
|
-
return function(n, r) {
|
|
938
|
-
if (n == null) return n;
|
|
939
|
-
if (!E(n)) return e(n, r);
|
|
940
|
-
for (var i = n.length, a = t ? i : -1, o = Object(n); (t ? a-- : ++a < i) && r(o[a], a, o) !== !1;);
|
|
941
|
-
return n;
|
|
942
|
-
};
|
|
943
|
-
}
|
|
944
|
-
//#endregion
|
|
945
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js
|
|
946
|
-
var q = ti(ei);
|
|
947
|
-
//#endregion
|
|
948
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
|
|
949
|
-
function ni(e) {
|
|
950
|
-
return h(e) && E(e);
|
|
951
|
-
}
|
|
952
|
-
//#endregion
|
|
953
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js
|
|
954
|
-
function ri(e, t, n) {
|
|
955
|
-
for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
|
|
956
|
-
return !1;
|
|
957
|
-
}
|
|
958
|
-
//#endregion
|
|
959
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castFunction.js
|
|
960
|
-
function ii(e) {
|
|
961
|
-
return typeof e == "function" ? e : x;
|
|
962
|
-
}
|
|
963
|
-
//#endregion
|
|
964
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/forEach.js
|
|
965
|
-
function J(e, t) {
|
|
966
|
-
return (y(e) ? Ae : q)(e, ii(t));
|
|
967
|
-
}
|
|
968
|
-
//#endregion
|
|
969
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFilter.js
|
|
970
|
-
function ai(e, t) {
|
|
971
|
-
var n = [];
|
|
972
|
-
return q(e, function(e, r, i) {
|
|
973
|
-
t(e, r, i) && n.push(e);
|
|
974
|
-
}), n;
|
|
975
|
-
}
|
|
976
|
-
//#endregion
|
|
977
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/filter.js
|
|
978
|
-
function Y(e, t) {
|
|
979
|
-
return (y(e) ? Nn : ai)(e, Zr(t, 3));
|
|
980
|
-
}
|
|
981
|
-
//#endregion
|
|
982
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseValues.js
|
|
983
|
-
function oi(e, t) {
|
|
984
|
-
return v(t, function(t) {
|
|
985
|
-
return e[t];
|
|
986
|
-
});
|
|
987
|
-
}
|
|
988
|
-
//#endregion
|
|
989
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/values.js
|
|
990
|
-
function X(e) {
|
|
991
|
-
return e == null ? [] : oi(e, M(e));
|
|
992
|
-
}
|
|
993
|
-
//#endregion
|
|
994
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
|
|
995
|
-
var si = "[object Map]", ci = "[object Set]", li = Object.prototype.hasOwnProperty;
|
|
996
|
-
function ui(e) {
|
|
997
|
-
if (e == null) return !0;
|
|
998
|
-
if (E(e) && (y(e) || typeof e == "string" || typeof e.splice == "function" || O(e) || j(e) || D(e))) return !e.length;
|
|
999
|
-
var t = W(e);
|
|
1000
|
-
if (t == si || t == ci) return !e.size;
|
|
1001
|
-
if (Ke(e)) return !Rt(e).length;
|
|
1002
|
-
for (var n in e) if (li.call(e, n)) return !1;
|
|
1003
|
-
return !0;
|
|
1004
|
-
}
|
|
1005
|
-
//#endregion
|
|
1006
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.js
|
|
1007
|
-
function Z(e) {
|
|
1008
|
-
return e === void 0;
|
|
1009
|
-
}
|
|
1010
|
-
//#endregion
|
|
1011
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js
|
|
1012
|
-
function di(e, t, n, r, i) {
|
|
1013
|
-
return i(e, function(e, i, a) {
|
|
1014
|
-
n = r ? (r = !1, e) : t(n, e, i, a);
|
|
1015
|
-
}), n;
|
|
1016
|
-
}
|
|
1017
|
-
//#endregion
|
|
1018
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/reduce.js
|
|
1019
|
-
function fi(e, t, n) {
|
|
1020
|
-
var r = y(e) ? En : di, i = arguments.length < 3;
|
|
1021
|
-
return r(e, Zr(t, 4), n, i, q);
|
|
1022
|
-
}
|
|
1023
|
-
//#endregion
|
|
1024
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js
|
|
1025
|
-
var pi = H && 1 / lr(new H([, -0]))[1] == Infinity ? function(e) {
|
|
1026
|
-
return new H(e);
|
|
1027
|
-
} : Ce, mi = 200;
|
|
1028
|
-
function hi(e, t, n) {
|
|
1029
|
-
var r = -1, i = Fe, a = e.length, o = !0, s = [], c = s;
|
|
1030
|
-
if (n) o = !1, i = ri;
|
|
1031
|
-
else if (a >= mi) {
|
|
1032
|
-
var l = t ? null : pi(e);
|
|
1033
|
-
if (l) return lr(l);
|
|
1034
|
-
o = !1, i = ir, c = new G();
|
|
1035
|
-
} else c = t ? [] : s;
|
|
1036
|
-
outer: for (; ++r < a;) {
|
|
1037
|
-
var u = e[r], d = t ? t(u) : u;
|
|
1038
|
-
if (u = n || u !== 0 ? u : 0, o && d === d) {
|
|
1039
|
-
for (var f = c.length; f--;) if (c[f] === d) continue outer;
|
|
1040
|
-
t && c.push(d), s.push(u);
|
|
1041
|
-
} else i(c, d, n) || (c !== s && c.push(d), s.push(u));
|
|
1042
|
-
}
|
|
1043
|
-
return s;
|
|
1044
|
-
}
|
|
1045
|
-
//#endregion
|
|
1046
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/union.js
|
|
1047
|
-
var gi = He(function(e) {
|
|
1048
|
-
return hi(Tn(e, 1, ni, !0));
|
|
1049
|
-
}), _i = "\0", Q = "\0", vi = "", yi = class {
|
|
1050
|
-
constructor(e = {}) {
|
|
1051
|
-
this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = T(void 0), this._defaultEdgeLabelFn = T(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[Q] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
|
|
1052
|
-
}
|
|
1053
|
-
isDirected() {
|
|
1054
|
-
return this._isDirected;
|
|
1055
|
-
}
|
|
1056
|
-
isMultigraph() {
|
|
1057
|
-
return this._isMultigraph;
|
|
1058
|
-
}
|
|
1059
|
-
isCompound() {
|
|
1060
|
-
return this._isCompound;
|
|
1061
|
-
}
|
|
1062
|
-
setGraph(e) {
|
|
1063
|
-
return this._label = e, this;
|
|
1064
|
-
}
|
|
1065
|
-
graph() {
|
|
1066
|
-
return this._label;
|
|
1067
|
-
}
|
|
1068
|
-
setDefaultNodeLabel(e) {
|
|
1069
|
-
return S(e) || (e = T(e)), this._defaultNodeLabelFn = e, this;
|
|
1070
|
-
}
|
|
1071
|
-
nodeCount() {
|
|
1072
|
-
return this._nodeCount;
|
|
1073
|
-
}
|
|
1074
|
-
nodes() {
|
|
1075
|
-
return M(this._nodes);
|
|
1076
|
-
}
|
|
1077
|
-
sources() {
|
|
1078
|
-
var e = this;
|
|
1079
|
-
return Y(this.nodes(), function(t) {
|
|
1080
|
-
return ui(e._in[t]);
|
|
1081
|
-
});
|
|
1082
|
-
}
|
|
1083
|
-
sinks() {
|
|
1084
|
-
var e = this;
|
|
1085
|
-
return Y(this.nodes(), function(t) {
|
|
1086
|
-
return ui(e._out[t]);
|
|
1087
|
-
});
|
|
1088
|
-
}
|
|
1089
|
-
setNodes(e, t) {
|
|
1090
|
-
var n = arguments, r = this;
|
|
1091
|
-
return J(e, function(e) {
|
|
1092
|
-
n.length > 1 ? r.setNode(e, t) : r.setNode(e);
|
|
1093
|
-
}), this;
|
|
1094
|
-
}
|
|
1095
|
-
setNode(e, t) {
|
|
1096
|
-
return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = t), this) : (this._nodes[e] = arguments.length > 1 ? t : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = Q, this._children[e] = {}, this._children[Q][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
|
|
1097
|
-
}
|
|
1098
|
-
node(e) {
|
|
1099
|
-
return this._nodes[e];
|
|
1100
|
-
}
|
|
1101
|
-
hasNode(e) {
|
|
1102
|
-
return Object.prototype.hasOwnProperty.call(this._nodes, e);
|
|
1103
|
-
}
|
|
1104
|
-
removeNode(e) {
|
|
1105
|
-
if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
|
|
1106
|
-
var t = (e) => this.removeEdge(this._edgeObjs[e]);
|
|
1107
|
-
delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], J(this.children(e), (e) => {
|
|
1108
|
-
this.setParent(e);
|
|
1109
|
-
}), delete this._children[e]), J(M(this._in[e]), t), delete this._in[e], delete this._preds[e], J(M(this._out[e]), t), delete this._out[e], delete this._sucs[e], --this._nodeCount;
|
|
1110
|
-
}
|
|
1111
|
-
return this;
|
|
1112
|
-
}
|
|
1113
|
-
setParent(e, t) {
|
|
1114
|
-
if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
|
|
1115
|
-
if (Z(t)) t = Q;
|
|
1116
|
-
else {
|
|
1117
|
-
t += "";
|
|
1118
|
-
for (var n = t; !Z(n); n = this.parent(n)) if (n === e) throw Error("Setting " + t + " as parent of " + e + " would create a cycle");
|
|
1119
|
-
this.setNode(t);
|
|
1120
|
-
}
|
|
1121
|
-
return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
|
|
1122
|
-
}
|
|
1123
|
-
_removeFromParentsChildList(e) {
|
|
1124
|
-
delete this._children[this._parent[e]][e];
|
|
1125
|
-
}
|
|
1126
|
-
parent(e) {
|
|
1127
|
-
if (this._isCompound) {
|
|
1128
|
-
var t = this._parent[e];
|
|
1129
|
-
if (t !== Q) return t;
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
children(e) {
|
|
1133
|
-
if (Z(e) && (e = Q), this._isCompound) {
|
|
1134
|
-
var t = this._children[e];
|
|
1135
|
-
if (t) return M(t);
|
|
1136
|
-
} else if (e === Q) return this.nodes();
|
|
1137
|
-
else if (this.hasNode(e)) return [];
|
|
1138
|
-
}
|
|
1139
|
-
predecessors(e) {
|
|
1140
|
-
var t = this._preds[e];
|
|
1141
|
-
if (t) return M(t);
|
|
1142
|
-
}
|
|
1143
|
-
successors(e) {
|
|
1144
|
-
var t = this._sucs[e];
|
|
1145
|
-
if (t) return M(t);
|
|
1146
|
-
}
|
|
1147
|
-
neighbors(e) {
|
|
1148
|
-
var t = this.predecessors(e);
|
|
1149
|
-
if (t) return gi(t, this.successors(e));
|
|
1150
|
-
}
|
|
1151
|
-
isLeaf(e) {
|
|
1152
|
-
return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
|
|
1153
|
-
}
|
|
1154
|
-
filterNodes(e) {
|
|
1155
|
-
var t = new this.constructor({
|
|
1156
|
-
directed: this._isDirected,
|
|
1157
|
-
multigraph: this._isMultigraph,
|
|
1158
|
-
compound: this._isCompound
|
|
1159
|
-
});
|
|
1160
|
-
t.setGraph(this.graph());
|
|
1161
|
-
var n = this;
|
|
1162
|
-
J(this._nodes, function(n, r) {
|
|
1163
|
-
e(r) && t.setNode(r, n);
|
|
1164
|
-
}), J(this._edgeObjs, function(e) {
|
|
1165
|
-
t.hasNode(e.v) && t.hasNode(e.w) && t.setEdge(e, n.edge(e));
|
|
1166
|
-
});
|
|
1167
|
-
var r = {};
|
|
1168
|
-
function i(e) {
|
|
1169
|
-
var a = n.parent(e);
|
|
1170
|
-
return a === void 0 || t.hasNode(a) ? (r[e] = a, a) : a in r ? r[a] : i(a);
|
|
1171
|
-
}
|
|
1172
|
-
return this._isCompound && J(t.nodes(), function(e) {
|
|
1173
|
-
t.setParent(e, i(e));
|
|
1174
|
-
}), t;
|
|
1175
|
-
}
|
|
1176
|
-
setDefaultEdgeLabel(e) {
|
|
1177
|
-
return S(e) || (e = T(e)), this._defaultEdgeLabelFn = e, this;
|
|
1178
|
-
}
|
|
1179
|
-
edgeCount() {
|
|
1180
|
-
return this._edgeCount;
|
|
1181
|
-
}
|
|
1182
|
-
edges() {
|
|
1183
|
-
return X(this._edgeObjs);
|
|
1184
|
-
}
|
|
1185
|
-
setPath(e, t) {
|
|
1186
|
-
var n = this, r = arguments;
|
|
1187
|
-
return fi(e, function(e, i) {
|
|
1188
|
-
return r.length > 1 ? n.setEdge(e, i, t) : n.setEdge(e, i), i;
|
|
1189
|
-
}), this;
|
|
1190
|
-
}
|
|
1191
|
-
setEdge() {
|
|
1192
|
-
var e, t, n, r, i = !1, a = arguments[0];
|
|
1193
|
-
typeof a == "object" && a && "v" in a ? (e = a.v, t = a.w, n = a.name, arguments.length === 2 && (r = arguments[1], i = !0)) : (e = a, t = arguments[1], n = arguments[3], arguments.length > 2 && (r = arguments[2], i = !0)), e = "" + e, t = "" + t, Z(n) || (n = "" + n);
|
|
1194
|
-
var o = $(this._isDirected, e, t, n);
|
|
1195
|
-
if (Object.prototype.hasOwnProperty.call(this._edgeLabels, o)) return i && (this._edgeLabels[o] = r), this;
|
|
1196
|
-
if (!Z(n) && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
|
|
1197
|
-
this.setNode(e), this.setNode(t), this._edgeLabels[o] = i ? r : this._defaultEdgeLabelFn(e, t, n);
|
|
1198
|
-
var s = Si(this._isDirected, e, t, n);
|
|
1199
|
-
return e = s.v, t = s.w, Object.freeze(s), this._edgeObjs[o] = s, bi(this._preds[t], e), bi(this._sucs[e], t), this._in[t][o] = s, this._out[e][o] = s, this._edgeCount++, this;
|
|
1200
|
-
}
|
|
1201
|
-
edge(e, t, n) {
|
|
1202
|
-
var r = arguments.length === 1 ? Ci(this._isDirected, arguments[0]) : $(this._isDirected, e, t, n);
|
|
1203
|
-
return this._edgeLabels[r];
|
|
1204
|
-
}
|
|
1205
|
-
hasEdge(e, t, n) {
|
|
1206
|
-
var r = arguments.length === 1 ? Ci(this._isDirected, arguments[0]) : $(this._isDirected, e, t, n);
|
|
1207
|
-
return Object.prototype.hasOwnProperty.call(this._edgeLabels, r);
|
|
1208
|
-
}
|
|
1209
|
-
removeEdge(e, t, n) {
|
|
1210
|
-
var r = arguments.length === 1 ? Ci(this._isDirected, arguments[0]) : $(this._isDirected, e, t, n), i = this._edgeObjs[r];
|
|
1211
|
-
return i && (e = i.v, t = i.w, delete this._edgeLabels[r], delete this._edgeObjs[r], xi(this._preds[t], e), xi(this._sucs[e], t), delete this._in[t][r], delete this._out[e][r], this._edgeCount--), this;
|
|
1212
|
-
}
|
|
1213
|
-
inEdges(e, t) {
|
|
1214
|
-
var n = this._in[e];
|
|
1215
|
-
if (n) {
|
|
1216
|
-
var r = X(n);
|
|
1217
|
-
return t ? Y(r, function(e) {
|
|
1218
|
-
return e.v === t;
|
|
1219
|
-
}) : r;
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
outEdges(e, t) {
|
|
1223
|
-
var n = this._out[e];
|
|
1224
|
-
if (n) {
|
|
1225
|
-
var r = X(n);
|
|
1226
|
-
return t ? Y(r, function(e) {
|
|
1227
|
-
return e.w === t;
|
|
1228
|
-
}) : r;
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
nodeEdges(e, t) {
|
|
1232
|
-
var n = this.inEdges(e, t);
|
|
1233
|
-
if (n) return n.concat(this.outEdges(e, t));
|
|
1234
|
-
}
|
|
1235
|
-
};
|
|
1236
|
-
yi.prototype._nodeCount = 0, yi.prototype._edgeCount = 0;
|
|
1237
|
-
function bi(e, t) {
|
|
1238
|
-
e[t] ? e[t]++ : e[t] = 1;
|
|
1239
|
-
}
|
|
1240
|
-
function xi(e, t) {
|
|
1241
|
-
--e[t] || delete e[t];
|
|
1242
|
-
}
|
|
1243
|
-
function $(e, t, n, r) {
|
|
1244
|
-
var i = "" + t, a = "" + n;
|
|
1245
|
-
if (!e && i > a) {
|
|
1246
|
-
var o = i;
|
|
1247
|
-
i = a, a = o;
|
|
1248
|
-
}
|
|
1249
|
-
return i + vi + a + vi + (Z(r) ? _i : r);
|
|
1250
|
-
}
|
|
1251
|
-
function Si(e, t, n, r) {
|
|
1252
|
-
var i = "" + t, a = "" + n;
|
|
1253
|
-
if (!e && i > a) {
|
|
1254
|
-
var o = i;
|
|
1255
|
-
i = a, a = o;
|
|
1256
|
-
}
|
|
1257
|
-
var s = {
|
|
1258
|
-
v: i,
|
|
1259
|
-
w: a
|
|
1260
|
-
};
|
|
1261
|
-
return r && (s.name = r), s;
|
|
1262
|
-
}
|
|
1263
|
-
function Ci(e, t) {
|
|
1264
|
-
return $(e, t.v, t.w, t.name);
|
|
1265
|
-
}
|
|
1266
|
-
//#endregion
|
|
1267
|
-
export { v as $, Rt as A, He as B, Tn as C, vn as D, B as E, Ot as F, Ae as G, ze as H, O as I, T as J, ke as K, D as L, Pt as M, j as N, _n as O, jt as P, y as Q, Ke as R, V as S, bn as T, Re as U, Ve as V, je as W, x as X, S as Y, b as Z, W as _, Y as a, Ln as b, ni as c, $r as d, _ as et, Zr as f, $n as g, Ur as h, X as i, n as it, Ft as j, M as k, q as l, Wr as m, fi as n, m as nt, J as o, Jr as p, Oe as q, Z as r, r as rt, ii as s, yi as t, h as tt, ei as u, zn as v, Sn as w, Pn as x, Rn as y, E as z };
|