@chaibuilder/pages 0.16.10 → 0.16.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2AITGKQY-C0A7leVc.cjs → 2AITGKQY-AK2WgbeT.cjs} +1 -1
- package/dist/{2AITGKQY-LtoYzpXb.js → 2AITGKQY-D1mM4eEh.js} +2 -2
- package/dist/{NCMVHL6D-BqKNTZhH.js → NCMVHL6D-BeRsWdGV.js} +2 -2
- package/dist/{NCMVHL6D-BbCiXTDR.cjs → NCMVHL6D-DItDf9IY.cjs} +1 -1
- package/dist/{ZDWCUMSJ-DEjMuvHw.cjs → ZDWCUMSJ-COSBY-at.cjs} +1 -1
- package/dist/{ZDWCUMSJ-CudD-G3A.js → ZDWCUMSJ-D6caRaY7.js} +1 -1
- package/dist/{add-new-language-page-CTZglguY.cjs → add-new-language-page-CQcFi0Tp.cjs} +1 -1
- package/dist/{add-new-language-page-C3R8vwOA.js → add-new-language-page-nnaUe-qk.js} +2 -2
- package/dist/{add-new-page-Dn-jphFf.js → add-new-page-Ba1fq6LH.js} +1 -1
- package/dist/{add-new-page-ByCsABU-.cjs → add-new-page-DxObnvo_.cjs} +1 -1
- package/dist/{ai-panel-content-VYS5Bn3a.cjs → ai-panel-content-B2AgBWqo.cjs} +1 -1
- package/dist/{ai-panel-content-CF7-wrq0.js → ai-panel-content-M1UnzG_f.js} +2 -2
- package/dist/{ai-panel-default-lang-C_zJzkZ4.js → ai-panel-default-lang-CHOFEwmV.js} +2 -2
- package/dist/{ai-panel-default-lang-D5vpT3cL.cjs → ai-panel-default-lang-sy6vkQJh.cjs} +3 -3
- package/dist/{ai-panel-other-lang-5Hdkr4eJ.js → ai-panel-other-lang-B4euTuod.js} +2 -2
- package/dist/ai-panel-other-lang-BwjSDD3L.cjs +1 -0
- package/dist/ai-prompt-input-B_NRADBT.js +988 -0
- package/dist/ai-prompt-input-DcyVXcLG.cjs +1 -0
- package/dist/{ai-translation-prompt-E3TEDobP.js → ai-translation-prompt-CVuPbgXw.js} +1 -1
- package/dist/{ai-translation-prompt-BYubvAxO.cjs → ai-translation-prompt-Ip7w2_Ey.cjs} +1 -1
- package/dist/{delete-page-CecAr8Ev.cjs → delete-page-CbY8q5M3.cjs} +1 -1
- package/dist/{delete-page-BtWRzpTh.js → delete-page-SX9X35nA.js} +1 -1
- package/dist/{digital-asset-manager-Y8YMABE1.cjs → digital-asset-manager-CIMo79Di.cjs} +1 -1
- package/dist/{digital-asset-manager-CyBlpHrq.js → digital-asset-manager-SAFNO_mx.js} +1 -1
- package/dist/{duplicate-page-3Dv56tPR.js → duplicate-page-5SwLvmkX.js} +2 -2
- package/dist/{duplicate-page-nGQAYVQc.cjs → duplicate-page-CXK2HcxD.cjs} +1 -1
- package/dist/{dynamic-page-selector-B9XaZMxt.cjs → dynamic-page-selector-Crd3y4Hk.cjs} +1 -1
- package/dist/{dynamic-page-selector-BapENUmp.js → dynamic-page-selector-DfcuTqRN.js} +1 -1
- package/dist/{image-editor-EmBN_Nn_.cjs → image-editor-CnDnY97s.cjs} +1 -1
- package/dist/{index-C1bimRWu.cjs → index-Bz7smSC0.cjs} +2 -2
- package/dist/{index-C_34q9jG.js → index-EnM7J19_.js} +16 -16
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{json-diff-viewer-D2tCblUU.js → json-diff-viewer-CDwpbuag.js} +1 -1
- package/dist/{json-diff-viewer-B9kQEwcr.cjs → json-diff-viewer-D34kDA_c.cjs} +2 -2
- package/dist/{lang-panel-CsA6jzez.js → lang-panel-CUIeO5bb.js} +2 -2
- package/dist/{lang-panel-ClCAoE4L.cjs → lang-panel-CaFrYllL.cjs} +1 -1
- package/dist/{mark-as-template-BsOhlLYx.js → mark-as-template-D0dLQaIB.js} +1 -1
- package/dist/{mark-as-template-DUeGBAgn.cjs → mark-as-template-v182tmN6.cjs} +1 -1
- package/dist/{no-language-page-content-KLiCVKWw.cjs → no-language-page-content-Bk4fEx_p.cjs} +1 -1
- package/dist/{no-language-page-content-DveHrqZF.js → no-language-page-content-ByRFD_qA.js} +1 -1
- package/dist/{page-creator-Du1tv5PL.js → page-creator-Bh0IUGR3.js} +2 -2
- package/dist/{page-creator-I5z6OA-y.cjs → page-creator-BnvaGZVI.cjs} +1 -1
- package/dist/{page-lock-request-DSCZ2b9Y.cjs → page-lock-request-C2b1kqyA.cjs} +1 -1
- package/dist/{page-lock-request-C_FjXr4-.js → page-lock-request-CaNqxfD6.js} +1 -1
- package/dist/{page-locked-by-dialog-DAJlxcUt.js → page-locked-by-dialog--WLDdkw9.js} +1 -1
- package/dist/{page-locked-by-dialog-Daefw0-2.cjs → page-locked-by-dialog-90ElC8aG.cjs} +1 -1
- package/dist/{page-manager-new-BNk_0XVK.js → page-manager-new-Bo4-zwfW.js} +2 -2
- package/dist/{page-manager-new-DmA0Ka0c.cjs → page-manager-new-SNRQn7Az.cjs} +1 -1
- package/dist/{page-manager-search-and-filter-heV_U9x0.js → page-manager-search-and-filter-BETHSa3y.js} +1 -1
- package/dist/{page-manager-search-and-filter-DkR8sFPh.cjs → page-manager-search-and-filter-hyUIHOD_.cjs} +1 -1
- package/dist/{page-revisions-content-BIhjzS21.cjs → page-revisions-content-BCMjvZRZ.cjs} +1 -1
- package/dist/{page-revisions-content-BVg59skx.js → page-revisions-content-VWthKL7O.js} +2 -2
- package/dist/pages.css +1 -1
- package/dist/{publish-pages-content-BhJ_uRxQ.js → publish-pages-content-6N7aEcM1.js} +2 -2
- package/dist/{publish-pages-content-CKydxoZ_.cjs → publish-pages-content-CaBwfekc.cjs} +1 -1
- package/dist/{save-to-lib-C3mx8iXu.cjs → save-to-lib-CtGpDkC6.cjs} +1 -1
- package/dist/{save-to-lib-Byfa7tCG.js → save-to-lib-YYBxY7MV.js} +1 -1
- package/dist/selected-block-display-BEbuJn0l.cjs +16 -0
- package/dist/selected-block-display-DdW-DWF1.js +394 -0
- package/dist/{seo-panel-DxaEiunO.cjs → seo-panel-B9P7fXjo.cjs} +1 -1
- package/dist/{seo-panel-CrpYigIp.js → seo-panel-CqJDhbj-.js} +1 -1
- package/dist/server.cjs +4 -52
- package/dist/server.js +309 -10089
- package/dist/{shared-json-ld-CcUhox6j.cjs → shared-json-ld-CyxmC9y5.cjs} +1 -1
- package/dist/{shared-json-ld-DczSLaqw.js → shared-json-ld-DxEPILj_.js} +1 -1
- package/dist/{slug-input-CsniBgYf.cjs → slug-input-RNiSrU3p.cjs} +1 -1
- package/dist/{slug-input-CjagPxIn.js → slug-input-j5z5ZQn9.js} +1 -1
- package/dist/{theme-panel-footer-BYI0_a19.cjs → theme-panel-footer-CCsiDIVl.cjs} +1 -1
- package/dist/{theme-panel-footer-C-uSbeOf.js → theme-panel-footer-DD2yalfG.js} +1 -1
- package/dist/{unmark-as-template-CGKkAZPZ.js → unmark-as-template-B2hKhAHn.js} +1 -1
- package/dist/{unmark-as-template-GuUssCYI.cjs → unmark-as-template-DXjLbqOM.cjs} +1 -1
- package/dist/{unpublish-page-D67IrGmd.cjs → unpublish-page-BdJScWMX.cjs} +1 -1
- package/dist/{unpublish-page-ow8e1CXO.js → unpublish-page-BvB1PGSz.js} +1 -1
- package/dist/use-page-expand-manager-2KjeYfVS.cjs +1 -0
- package/dist/{web-preview-Dm8A9E8S.cjs → web-preview-BI4jd0O7.cjs} +1 -1
- package/dist/{web-preview-NCfHy3pB.js → web-preview-CwVpkcwU.js} +1 -1
- package/package.json +1 -1
- package/dist/_arrayEach-7nw56Qes.cjs +0 -1
- package/dist/_arrayEach-CBNlJl8q.js +0 -44
- package/dist/abap-DV7Q1lGP.cjs +0 -1
- package/dist/abap-Y8Dl9g_6.js +0 -6
- package/dist/actionscript-3-DXOxkRa2.cjs +0 -1
- package/dist/actionscript-3-DZzbMeqX.js +0 -6
- package/dist/ada-D46EKCNf.cjs +0 -1
- package/dist/ada-vP6ak0IW.js +0 -6
- package/dist/ai-panel-other-lang-BFnghH5Z.cjs +0 -1
- package/dist/ai-prompt-input-BXp7SxcJ.cjs +0 -45
- package/dist/ai-prompt-input-CrBweB8X.js +0 -4027
- package/dist/andromeeda-BIpZ7gaU.js +0 -4
- package/dist/andromeeda-DVDxRwp5.cjs +0 -1
- package/dist/angular-html-DPB4Rf0C.js +0 -32
- package/dist/angular-html-KMf2QdtP.cjs +0 -1
- package/dist/angular-ts-BxIbo3R1.cjs +0 -1
- package/dist/angular-ts-CTOR2ofC.js +0 -21
- package/dist/apache-BUjz-sD2.js +0 -6
- package/dist/apache-DL1xuH1f.cjs +0 -1
- package/dist/apex-CtcXmQ6V.js +0 -6
- package/dist/apex-UUd3Occv.cjs +0 -1
- package/dist/apl-CjNiDgad.js +0 -16
- package/dist/apl-Dj2G2M9w.cjs +0 -1
- package/dist/applescript-BPx7YFFu.js +0 -6
- package/dist/applescript-COilsSrZ.cjs +0 -1
- package/dist/ara-B6Lpq1YJ.cjs +0 -1
- package/dist/ara-Z2fSOxSw.js +0 -6
- package/dist/arc-CuYV2Z4i.js +0 -83
- package/dist/arc-Dzs-yn9V.cjs +0 -1
- package/dist/architecture-U656AL7Q-BFW69Rn1.js +0 -5
- package/dist/architecture-U656AL7Q-C1RBosC-.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-C7E-J7qp.js +0 -4669
- package/dist/architectureDiagram-VXUJARFQ-i1olysFf.cjs +0 -36
- package/dist/asciidoc-B-pCoB3G.js +0 -6
- package/dist/asciidoc-DcKqW72n.cjs +0 -1
- package/dist/asm-BTWLY5ym.js +0 -6
- package/dist/asm-DYMFy-sD.cjs +0 -1
- package/dist/astro-CFFExE8Q.js +0 -18
- package/dist/astro-DAOP_Xq6.cjs +0 -1
- package/dist/aurora-x-BwoVEUWZ.js +0 -4
- package/dist/aurora-x-C5IpmIOG.cjs +0 -1
- package/dist/awk-Fb0P9dkn.js +0 -6
- package/dist/awk-IEszImW6.cjs +0 -1
- package/dist/ayu-dark-Cv7nTiif.cjs +0 -1
- package/dist/ayu-dark-CxPZkpb2.js +0 -4
- package/dist/ballerina-Dr6dU4hP.cjs +0 -1
- package/dist/ballerina-oZK-YekG.js +0 -6
- package/dist/bat-0FvbqU9S.js +0 -6
- package/dist/bat-DGkUhhn2.cjs +0 -1
- package/dist/beancount-Bv1Sweoy.cjs +0 -1
- package/dist/beancount-DqJEb89h.js +0 -6
- package/dist/berry-DZkhZ7K3.cjs +0 -1
- package/dist/berry-PwsHPR_K.js +0 -6
- package/dist/bibtex-BgA36Z3k.cjs +0 -1
- package/dist/bibtex-EULQRLY5.js +0 -6
- package/dist/bicep-BorU73w0.js +0 -6
- package/dist/bicep-DL0zb-7W.cjs +0 -1
- package/dist/blade-BYkiyM-T.cjs +0 -1
- package/dist/blade-CRa6j5zS.js +0 -20
- package/dist/blockDiagram-VD42YOAC-8bGFphRU.js +0 -2368
- package/dist/blockDiagram-VD42YOAC-DG8nN7FI.cjs +0 -122
- package/dist/bsl-9bVgFeM9.cjs +0 -1
- package/dist/bsl-NkNNwerW.js +0 -8
- package/dist/c-CtlmKnPF.cjs +0 -1
- package/dist/c-eeMepfLm.js +0 -6
- package/dist/c4Diagram-YG6GDRKO-C5vTWKII.js +0 -1581
- package/dist/c4Diagram-YG6GDRKO-ojLwrHAZ.cjs +0 -10
- package/dist/cadence-02UX7mW8.js +0 -6
- package/dist/cadence-DcbmM5v3.cjs +0 -1
- package/dist/cairo-DM6WF2e3.js +0 -8
- package/dist/cairo-li7sQsxU.cjs +0 -1
- package/dist/catppuccin-frappe-Bn4lgmUk.cjs +0 -1
- package/dist/catppuccin-frappe-D3cH2rXe.js +0 -4
- package/dist/catppuccin-latte-BPtsb8jD.cjs +0 -1
- package/dist/catppuccin-latte-C0LRGUW4.js +0 -4
- package/dist/catppuccin-macchiato-BLfpQWhT.cjs +0 -1
- package/dist/catppuccin-macchiato-c5wQ11TT.js +0 -4
- package/dist/catppuccin-mocha-COMta283.cjs +0 -1
- package/dist/catppuccin-mocha-WMD6Qvya.js +0 -4
- package/dist/channel-Cdlcq82Q.js +0 -5
- package/dist/channel-D8SQrHOQ.cjs +0 -1
- package/dist/chunk-4BX2VUAB-D0Nkkvke.cjs +0 -1
- package/dist/chunk-4BX2VUAB-kRXCJxGQ.js +0 -9
- package/dist/chunk-55IACEB6-Ya_-e5Gj.cjs +0 -1
- package/dist/chunk-55IACEB6-xzVewFKl.js +0 -8
- package/dist/chunk-B4BG7PRW-C8Sj4Rta.cjs +0 -165
- package/dist/chunk-B4BG7PRW-DG5qX3ch.js +0 -1376
- package/dist/chunk-DI55MBZ5-C9He0Rku.cjs +0 -220
- package/dist/chunk-DI55MBZ5-CI_Ti_F2.js +0 -1382
- package/dist/chunk-FMBD7UC4-9Wx_99-Q.js +0 -19
- package/dist/chunk-FMBD7UC4-Be12B01Q.cjs +0 -15
- package/dist/chunk-QN33PNHL-B65aZfT8.cjs +0 -1
- package/dist/chunk-QN33PNHL-qSV2Zj2E.js +0 -20
- package/dist/chunk-QZHKN3VN-Dcw61eWf.js +0 -15
- package/dist/chunk-QZHKN3VN-V8GIXVhC.cjs +0 -1
- package/dist/chunk-TZMSLE5B-BUsuXR8P.cjs +0 -1
- package/dist/chunk-TZMSLE5B-De8BBIp6.js +0 -64
- package/dist/clarity-PKm5CwqM.js +0 -6
- package/dist/clarity-gPuvqtpF.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-DD8PWOat.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-DYXMSnp5.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-DD8PWOat.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-DYXMSnp5.js +0 -16
- package/dist/clojure-CXJfHrL3.js +0 -6
- package/dist/clojure-OUsr1SUl.cjs +0 -1
- package/dist/cmake-BJz8BOTU.js +0 -6
- package/dist/cmake-jM6P58qY.cjs +0 -1
- package/dist/cobol-CcrsCSUZ.cjs +0 -1
- package/dist/cobol-HihOMwht.js +0 -10
- package/dist/codeowners-Bt9yU6NX.js +0 -6
- package/dist/codeowners-QhPK6lIJ.cjs +0 -1
- package/dist/codeql-D9-TdUN8.cjs +0 -1
- package/dist/codeql-DHkodjjI.js +0 -6
- package/dist/coffee-DGBR_nr_.js +0 -8
- package/dist/coffee-DycxIFwY.cjs +0 -1
- package/dist/common-lisp-C77gR-8i.cjs +0 -1
- package/dist/common-lisp-EVqT9Zhp.js +0 -6
- package/dist/coq-B0L9upzn.js +0 -6
- package/dist/coq-vlPdR5hP.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-BzynRFve.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-C0LrMYq9.js +0 -2609
- package/dist/cpp-Cj177cuW.js +0 -18
- package/dist/cpp-DvI2Eoso.cjs +0 -1
- package/dist/crystal-B_WXhL2O.cjs +0 -1
- package/dist/crystal-CRJyc4G-.js +0 -18
- package/dist/csharp-C902_8Dy.cjs +0 -1
- package/dist/csharp-COJ2mCKr.js +0 -6
- package/dist/css-CECN5uSL.js +0 -6
- package/dist/css-Do0mp2lm.cjs +0 -1
- package/dist/csv-CmYOceLb.js +0 -6
- package/dist/csv-DiEdJzSJ.cjs +0 -1
- package/dist/cue-D1vJRJEx.cjs +0 -1
- package/dist/cue-ZzumE7IT.js +0 -6
- package/dist/cypher-atSM3NsM.cjs +0 -1
- package/dist/cypher-jpdmjtA6.js +0 -6
- package/dist/cytoscape.esm-DdQZKk9f.js +0 -18735
- package/dist/cytoscape.esm-DkGgpG6d.cjs +0 -331
- package/dist/d-2qe3NhmZ.cjs +0 -1
- package/dist/d-CBagWSwH.js +0 -6
- package/dist/dagre-6UL2VRFP-CJe6baLS.cjs +0 -4
- package/dist/dagre-6UL2VRFP-DK7rwVEg.js +0 -445
- package/dist/dark-plus-CRFsux2L.js +0 -4
- package/dist/dark-plus-DwC1RSst.cjs +0 -1
- package/dist/dart-6ObCrKr9.js +0 -6
- package/dist/dart-Ds0_0fwe.cjs +0 -1
- package/dist/dax-CcDT-8dH.js +0 -6
- package/dist/dax-DbkQa40E.cjs +0 -1
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/desktop-B93p9R9O.js +0 -6
- package/dist/desktop-tn3MFXCZ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-C_A00ng9.js +0 -534
- package/dist/diagram-PSM6KHXK-X4v5dsQ4.cjs +0 -24
- package/dist/diagram-QEK2KX5R-rhfU6qwd.cjs +0 -43
- package/dist/diagram-QEK2KX5R-tTChUtDg.js +0 -221
- package/dist/diagram-S2PKOQOG-CJixlBq7.js +0 -143
- package/dist/diagram-S2PKOQOG-XyZUZk_b.cjs +0 -24
- package/dist/diff-BxzP2J8R.js +0 -6
- package/dist/diff-CA31fCOg.cjs +0 -1
- package/dist/docker-CsHqm9tx.js +0 -6
- package/dist/docker-zJpMwmYa.cjs +0 -1
- package/dist/dotenv-BMjVjUL1.js +0 -6
- package/dist/dotenv-DpcNCNek.cjs +0 -1
- package/dist/dracula-BNgwAJ-d.cjs +0 -1
- package/dist/dracula-BtZx2Kac.js +0 -4
- package/dist/dracula-soft-BHZ7sHFu.cjs +0 -1
- package/dist/dracula-soft-BKa-aqBv.js +0 -4
- package/dist/dream-maker-BkijXDkm.cjs +0 -1
- package/dist/dream-maker-PAx17jaB.js +0 -6
- package/dist/edge-BYQkOzbF.js +0 -12
- package/dist/edge-DaIYN5Mx.cjs +0 -1
- package/dist/elixir-BH_wmMK4.cjs +0 -1
- package/dist/elixir-Dh036GMp.js +0 -8
- package/dist/elm-BtNbw_Cd.js +0 -8
- package/dist/elm-Dc4sEBjc.cjs +0 -1
- package/dist/emacs-lisp-C1UCIjUO.cjs +0 -1
- package/dist/emacs-lisp-Cfxdx5D-.js +0 -6
- package/dist/erDiagram-Q2GNP2WA-B1QcX93p.js +0 -842
- package/dist/erDiagram-Q2GNP2WA-Up8_IT91.cjs +0 -60
- package/dist/erb-BqFQADjR.cjs +0 -1
- package/dist/erb-CS4zioBv.js +0 -10
- package/dist/erlang-CB2cfp6Z.cjs +0 -1
- package/dist/erlang-DNcDT8Hi.js +0 -8
- package/dist/everforest-dark-DMCBqXCK.js +0 -4
- package/dist/everforest-dark-_sBMomR1.cjs +0 -1
- package/dist/everforest-light-BbXl82Em.js +0 -4
- package/dist/everforest-light-H0xoYxl0.cjs +0 -1
- package/dist/fennel-Bz9-EMMc.cjs +0 -1
- package/dist/fennel-N4WcXuKx.js +0 -6
- package/dist/fish-BTDEUgqH.js +0 -6
- package/dist/fish-DwmQKRZi.cjs +0 -1
- package/dist/flowDiagram-NV44I4VS-BJffdKk6.cjs +0 -162
- package/dist/flowDiagram-NV44I4VS-Dq0-N_i3.js +0 -1627
- package/dist/fluent-BMXUxfv1.js +0 -6
- package/dist/fluent-CJtpNuaO.cjs +0 -1
- package/dist/fortran-fixed-form-DUsA-VGo.js +0 -8
- package/dist/fortran-fixed-form-rAbNFykM.cjs +0 -1
- package/dist/fortran-free-form-DPIT_jbP.js +0 -6
- package/dist/fortran-free-form-DRAcQkel.cjs +0 -1
- package/dist/fsharp-CYOiIVNx.js +0 -8
- package/dist/fsharp-DVcRF7k-.cjs +0 -1
- package/dist/ganttDiagram-LVOFAZNH-CndRZUwp.cjs +0 -267
- package/dist/ganttDiagram-LVOFAZNH-DCuouHg6.js +0 -2506
- package/dist/gdresource-BwtMIoBm.js +0 -10
- package/dist/gdresource-CcLusmd_.cjs +0 -1
- package/dist/gdscript-BifyeYhI.js +0 -6
- package/dist/gdscript-DSegQKMB.cjs +0 -1
- package/dist/gdshader-Bk8fF6yr.js +0 -6
- package/dist/gdshader-DsmqQl4t.cjs +0 -1
- package/dist/genie-Dy2rU8CF.cjs +0 -1
- package/dist/genie-DzUvd7U9.js +0 -6
- package/dist/gherkin-BmiEVBJ1.cjs +0 -1
- package/dist/gherkin-DHRaV0YP.js +0 -6
- package/dist/git-commit-Bd32YZ0K.js +0 -8
- package/dist/git-commit-DlVDzq9L.cjs +0 -1
- package/dist/git-rebase-Bn4RLd7u.cjs +0 -1
- package/dist/git-rebase-ZWUFO_T4.js +0 -8
- package/dist/gitGraph-F6HP7TQM-1lOuaCHS.cjs +0 -1
- package/dist/gitGraph-F6HP7TQM-Bwgh2Tgj.js +0 -5
- package/dist/gitGraphDiagram-NY62KEGX-BFpRv9B4.js +0 -712
- package/dist/gitGraphDiagram-NY62KEGX-Cc8RVspd.cjs +0 -65
- package/dist/github-dark-BKL9xNgN.cjs +0 -1
- package/dist/github-dark-DenFmJkN.js +0 -4
- package/dist/github-dark-default-BJPUVz4H.js +0 -4
- package/dist/github-dark-default-Dsv5MuSi.cjs +0 -1
- package/dist/github-dark-dimmed-CtB9hz8U.cjs +0 -1
- package/dist/github-dark-dimmed-DUshB20C.js +0 -4
- package/dist/github-dark-high-contrast-BqZVM-jF.cjs +0 -1
- package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
- package/dist/github-light-BFTOhCbz.cjs +0 -1
- package/dist/github-light-JYsPkUQd.js +0 -4
- package/dist/github-light-default-BZoWH9dH.cjs +0 -1
- package/dist/github-light-default-D99KPAby.js +0 -4
- package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
- package/dist/github-light-high-contrast-Ks3kPGJU.cjs +0 -1
- package/dist/gleam-Bv284lvN.js +0 -6
- package/dist/gleam-DHVuTCr7.cjs +0 -1
- package/dist/glimmer-js-CzmC7OX8.cjs +0 -1
- package/dist/glimmer-js-DkxNrfPT.js +0 -14
- package/dist/glimmer-ts-D6YZEmK_.js +0 -14
- package/dist/glimmer-ts-DLN2_wRt.cjs +0 -1
- package/dist/glsl-CQekZ3Zq.cjs +0 -1
- package/dist/glsl-CkUcVZNK.js +0 -8
- package/dist/gnuplot-CDPKvI9X.cjs +0 -1
- package/dist/gnuplot-yPG9-sE_.js +0 -6
- package/dist/go-ChxJuLYK.js +0 -6
- package/dist/go-epHseFUa.cjs +0 -1
- package/dist/graph-BJDrjORS.js +0 -244
- package/dist/graph-BLd2spTm.cjs +0 -1
- package/dist/graphql-BnP1YhXQ.cjs +0 -1
- package/dist/graphql-CBu2ehBn.js +0 -14
- package/dist/groovy-CJQTphOW.js +0 -6
- package/dist/groovy-D7VuDBXz.cjs +0 -1
- package/dist/gruvbox-dark-hard-C5HOtKIh.js +0 -4
- package/dist/gruvbox-dark-hard-CUGefKS6.cjs +0 -1
- package/dist/gruvbox-dark-medium-BoKPlKfz.cjs +0 -1
- package/dist/gruvbox-dark-medium-FVgwJHuz.js +0 -4
- package/dist/gruvbox-dark-soft-B46F314v.js +0 -4
- package/dist/gruvbox-dark-soft-DSrhOWeL.cjs +0 -1
- package/dist/gruvbox-light-hard-CJD38wDZ.js +0 -4
- package/dist/gruvbox-light-hard-De4IuseP.cjs +0 -1
- package/dist/gruvbox-light-medium-BlIhMYTA.js +0 -4
- package/dist/gruvbox-light-medium-CzMY3IEJ.cjs +0 -1
- package/dist/gruvbox-light-soft-DoPHyLVZ.js +0 -4
- package/dist/gruvbox-light-soft-U4iAIpWZ.cjs +0 -1
- package/dist/hack-BaDv2o40.cjs +0 -1
- package/dist/hack-ItRNKiEb.js +0 -10
- package/dist/haml-Bk21rGjP.cjs +0 -1
- package/dist/haml-NZLVzu_R.js +0 -10
- package/dist/handlebars-CJJi3lrU.cjs +0 -1
- package/dist/handlebars-mxStpSE7.js +0 -14
- package/dist/haskell-BShesV2P.cjs +0 -1
- package/dist/haskell-WeIwNIP6.js +0 -6
- package/dist/haxe-Bo5XuRS0.cjs +0 -1
- package/dist/haxe-TztHsm5T.js +0 -6
- package/dist/hcl-CrZnvm-1.cjs +0 -1
- package/dist/hcl-D438OF-I.js +0 -6
- package/dist/hjson-CEESwTUP.cjs +0 -1
- package/dist/hjson-DYBUbqOl.js +0 -6
- package/dist/hlsl-Bk8TCZNL.js +0 -6
- package/dist/hlsl-CyvYRIb9.cjs +0 -1
- package/dist/houston-BDYrDoDW.js +0 -4
- package/dist/houston-T57H3gQZ.cjs +0 -1
- package/dist/html-B50bmoVb.js +0 -10
- package/dist/html-C62Zf2h4.cjs +0 -1
- package/dist/html-derivative-C6bxFbFW.js +0 -8
- package/dist/html-derivative-NDb86jON.cjs +0 -1
- package/dist/http-BPlLI56k.cjs +0 -1
- package/dist/http-DLvAkeD-.js +0 -14
- package/dist/hurl-BQGBr8gH.cjs +0 -1
- package/dist/hurl-CgkFN90t.js +0 -12
- package/dist/hxml-GbqSQCLa.js +0 -8
- package/dist/hxml-vnw7fzrV.cjs +0 -1
- package/dist/hy-Brt5EZ7-.js +0 -6
- package/dist/hy-a1E2Ed6P.cjs +0 -1
- package/dist/imba-CR1Q6r17.cjs +0 -1
- package/dist/imba-CimUv-Uh.js +0 -6
- package/dist/info-NVLQJR56-C3piIB8L.cjs +0 -1
- package/dist/info-NVLQJR56-DxpWS9Ek.js +0 -5
- package/dist/infoDiagram-ER5ION4S-DqXS6eRb.cjs +0 -2
- package/dist/infoDiagram-ER5ION4S-iBX13SKY.js +0 -24
- package/dist/ini-BZIuRIvJ.js +0 -6
- package/dist/ini-Dpu3Xy2p.cjs +0 -1
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/java--6gf61wy.cjs +0 -1
- package/dist/java-DY6VlHhP.js +0 -6
- package/dist/javascript-C25yR2R2.js +0 -6
- package/dist/javascript-DgmXW4Ha.cjs +0 -1
- package/dist/jinja-6NmewwV8.cjs +0 -1
- package/dist/jinja-CFW5uAwY.js +0 -11
- package/dist/jison-CD9Qsaj0.cjs +0 -1
- package/dist/jison-DdreslRX.js +0 -8
- package/dist/journeyDiagram-XKPGCS4Q-CIELmZlO.js +0 -836
- package/dist/journeyDiagram-XKPGCS4Q-CJX0XVNj.cjs +0 -139
- package/dist/json-DxJze_jm.js +0 -6
- package/dist/json-YkPizm35.cjs +0 -1
- package/dist/json5-BT4Fjg39.js +0 -6
- package/dist/json5-CCgFZiQn.cjs +0 -1
- package/dist/jsonc-CHjZD8gR.js +0 -6
- package/dist/jsonc-CKPHIcXW.cjs +0 -1
- package/dist/jsonl-BGuvDmy9.js +0 -6
- package/dist/jsonl-Dq56Hab-.cjs +0 -1
- package/dist/jsonnet-Bx2cfsXg.js +0 -6
- package/dist/jsonnet-Csh7E68F.cjs +0 -1
- package/dist/jssm-BcADi6EI.js +0 -6
- package/dist/jssm-D0M9iZPY.cjs +0 -1
- package/dist/jsx-BtKADgXT.js +0 -6
- package/dist/jsx-DLX6UGgg.cjs +0 -1
- package/dist/julia--2-efCjg.js +0 -16
- package/dist/julia-DimQn8rn.cjs +0 -1
- package/dist/kanagawa-dragon-BJZF7xDr.cjs +0 -1
- package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
- package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
- package/dist/kanagawa-lotus-BhgzmRV4.cjs +0 -1
- package/dist/kanagawa-wave-BgJip59C.cjs +0 -1
- package/dist/kanagawa-wave-CQwozSzG.js +0 -4
- package/dist/kanban-definition-3W4ZIXB7-DnhdFt_Y.cjs +0 -89
- package/dist/kanban-definition-3W4ZIXB7-WK7l1gdb.js +0 -721
- package/dist/kdl-BNOv9TC3.js +0 -6
- package/dist/kdl-CDG1p2Qi.cjs +0 -1
- package/dist/kotlin-BHZjvNqT.cjs +0 -1
- package/dist/kotlin-ByBMgTeR.js +0 -6
- package/dist/kusto-BgZ0fOqg.cjs +0 -1
- package/dist/kusto-VWFLl2T0.js +0 -6
- package/dist/laserwave--izBLY1I.cjs +0 -1
- package/dist/laserwave-6a00oqik.js +0 -4
- package/dist/latex-CO8r39zT.js +0 -8
- package/dist/latex-Xma1qZep.cjs +0 -1
- package/dist/layout-AXx0t5i6.cjs +0 -1
- package/dist/layout-B6VyrpKo.js +0 -1223
- package/dist/lean-BCqiTZhG.cjs +0 -1
- package/dist/lean-k2QBx9cb.js +0 -6
- package/dist/less-B1GLI2Di.js +0 -6
- package/dist/less-Dtg8mm6P.cjs +0 -1
- package/dist/light-plus-B5D0le0o.cjs +0 -1
- package/dist/light-plus-CZuVqSLX.js +0 -4
- package/dist/linear-CdbmJ0kA.cjs +0 -1
- package/dist/linear-CebAae2s.js +0 -259
- package/dist/liquid-CHzkx3jT.js +0 -14
- package/dist/liquid-DjlCV7Vm.cjs +0 -1
- package/dist/llvm-DcRvQ_r8.cjs +0 -1
- package/dist/llvm-co1rIKs3.js +0 -6
- package/dist/log-Al8wyEFV.js +0 -6
- package/dist/log-CjTZ0gSB.cjs +0 -1
- package/dist/logo-BAktp_5i.cjs +0 -1
- package/dist/logo-DBa4JDzV.js +0 -6
- package/dist/lua-BfOnSJPp.cjs +0 -1
- package/dist/lua-kX5WP_P5.js +0 -8
- package/dist/luau-DTep-u3e.cjs +0 -1
- package/dist/luau-DtBSxLyz.js +0 -6
- package/dist/make-CsMclxtr.js +0 -6
- package/dist/make-NcdIe21U.cjs +0 -1
- package/dist/markdown-Byu9Sdmq.cjs +0 -1
- package/dist/markdown-CrScaQ96.js +0 -6
- package/dist/marko-Cvx4TamJ.cjs +0 -1
- package/dist/marko-ls0Jg2j8.js +0 -14
- package/dist/material-theme-D6KBX41T.js +0 -4
- package/dist/material-theme-Dj0-OyRN.cjs +0 -1
- package/dist/material-theme-darker-CkRroheE.js +0 -4
- package/dist/material-theme-darker-Dvfs29ir.cjs +0 -1
- package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
- package/dist/material-theme-lighter-EU3ZGl_r.cjs +0 -1
- package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
- package/dist/material-theme-ocean-px_3Pwqa.cjs +0 -1
- package/dist/material-theme-palenight-38jxvsGX.cjs +0 -1
- package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
- package/dist/matlab-BOAaUVP0.js +0 -6
- package/dist/matlab-CHTOL9Kx.cjs +0 -1
- package/dist/mdc-DEPKJPdx.cjs +0 -1
- package/dist/mdc-uaivvctV.js +0 -12
- package/dist/mdx-BOhZZUJ8.js +0 -6
- package/dist/mdx-CjwI68TB.cjs +0 -1
- package/dist/mermaid-B0ixDHKN.js +0 -6
- package/dist/mermaid-XEfjk_VN.cjs +0 -1
- package/dist/mermaid-parser.core-DKJdj2_U.cjs +0 -128
- package/dist/mermaid-parser.core-GitSl6co.js +0 -13256
- package/dist/mermaid.core-3NhAXOzj.js +0 -14260
- package/dist/mermaid.core-Cop_RRH4.cjs +0 -196
- package/dist/min-dark-C7ak0t6c.js +0 -4
- package/dist/min-dark-tt5o_I5e.cjs +0 -1
- package/dist/min-light-CKFxVcPp.js +0 -4
- package/dist/min-light-tmTHl_CQ.cjs +0 -1
- package/dist/mindmap-definition-VGOIOE7T-BOk1rAbB.js +0 -787
- package/dist/mindmap-definition-VGOIOE7T-cJsasSc0.cjs +0 -68
- package/dist/mipsasm-BSlRcFIy.cjs +0 -1
- package/dist/mipsasm-CTx18fBl.js +0 -6
- package/dist/mojo-BD611d7o.js +0 -6
- package/dist/mojo-BQ8pQfYA.cjs +0 -1
- package/dist/monokai-C1KBYcO0.js +0 -4
- package/dist/monokai-DMIxv6MM.cjs +0 -1
- package/dist/move-Bm1vlCWg.cjs +0 -1
- package/dist/move-F-dICmj2.js +0 -6
- package/dist/narrat-CBeKHgTl.cjs +0 -1
- package/dist/narrat-DmhDCBs-.js +0 -6
- package/dist/nextflow-0_vzQJwQ.cjs +0 -1
- package/dist/nextflow-BAAEJxI_.js +0 -6
- package/dist/nginx-5vhPAEw3.js +0 -8
- package/dist/nginx-ByVOUyIE.cjs +0 -1
- package/dist/night-owl-BN78kThQ.cjs +0 -1
- package/dist/night-owl-Bm2rzalh.js +0 -4
- package/dist/nim-Bqmp5Of3.cjs +0 -1
- package/dist/nim-QAjRdh9w.js +0 -20
- package/dist/nix-B_7Vy2bT.js +0 -6
- package/dist/nix-BoOZl1xr.cjs +0 -1
- package/dist/nord-CC5OiUXg.js +0 -4
- package/dist/nord-Ca5AGUWc.cjs +0 -1
- package/dist/nushell-D8j3dhT-.js +0 -6
- package/dist/nushell-nGrB_wpI.cjs +0 -1
- package/dist/objective-c-Itk8tzmv.js +0 -6
- package/dist/objective-c-RjkWwFge.cjs +0 -1
- package/dist/objective-cpp-DGt5UKRO.js +0 -6
- package/dist/objective-cpp-HnfhWwRe.cjs +0 -1
- package/dist/ocaml-Cx8ewW_A.cjs +0 -1
- package/dist/ocaml-eSVK32Eg.js +0 -6
- package/dist/one-dark-pro-C09VQHwB.cjs +0 -1
- package/dist/one-dark-pro-DTA3VF0_.js +0 -4
- package/dist/one-light-020-h_lv.cjs +0 -1
- package/dist/one-light-D9sNaUtq.js +0 -4
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/ordinal-DfAQgscy.js +0 -61
- package/dist/packet-BFZMPI3H-B0uDu6gg.cjs +0 -1
- package/dist/packet-BFZMPI3H-tS-CKRal.js +0 -5
- package/dist/pascal-DBu9vQ2o.cjs +0 -1
- package/dist/pascal-xy8pJNns.js +0 -6
- package/dist/perl-CxWZPeDZ.cjs +0 -1
- package/dist/perl-DkVrgJBg.js +0 -16
- package/dist/php-BLXVJphD.cjs +0 -1
- package/dist/php-j2zCzTEz.js +0 -18
- package/dist/pie-7BOR55EZ-CcDzfu0_.js +0 -5
- package/dist/pie-7BOR55EZ-CqYqIXXG.cjs +0 -1
- package/dist/pieDiagram-ADFJNKIX-CFfE-HG7.js +0 -162
- package/dist/pieDiagram-ADFJNKIX-DWVdC3zW.cjs +0 -30
- package/dist/pkl-C-zSNmaA.js +0 -6
- package/dist/pkl-Dvyry4Rm.cjs +0 -1
- package/dist/plastic-CSTz3KZp.js +0 -4
- package/dist/plastic-r5piqq-S.cjs +0 -1
- package/dist/plsql-IJkoPJ9P.cjs +0 -1
- package/dist/plsql-pVbGZfOv.js +0 -6
- package/dist/po-BNfHvqmm.js +0 -6
- package/dist/po-Rhu6MvnX.cjs +0 -1
- package/dist/poimandres-BLP3NNjc.cjs +0 -1
- package/dist/poimandres-C-VADXHD.js +0 -4
- package/dist/polar-BtWqSUq2.cjs +0 -1
- package/dist/polar-CAZahv3u.js +0 -6
- package/dist/postcss-05aHdL-n.js +0 -6
- package/dist/postcss-Dh97DcaJ.cjs +0 -1
- package/dist/powerquery-BGL6VIw7.cjs +0 -1
- package/dist/powerquery-DI9HkTvs.js +0 -6
- package/dist/powershell-BiEPMjy-.cjs +0 -1
- package/dist/powershell-Clc4ydu-.js +0 -6
- package/dist/prisma-Dp473sn0.cjs +0 -1
- package/dist/prisma-FZjmVtSl.js +0 -6
- package/dist/prolog-C5-yg4TO.js +0 -6
- package/dist/prolog-N1U-3UeF.cjs +0 -1
- package/dist/proto-MmCPeFAD.js +0 -6
- package/dist/proto-kd7Vn2fe.cjs +0 -1
- package/dist/pug-DiGNE7sm.cjs +0 -1
- package/dist/pug-XOw9Q1Ho.js +0 -12
- package/dist/puppet-CUJHmnxV.js +0 -6
- package/dist/puppet-cDQP_ZC_.cjs +0 -1
- package/dist/purescript-DMxb59gF.cjs +0 -1
- package/dist/purescript-rUfGld-4.js +0 -6
- package/dist/python-BFNSHbwJ.js +0 -6
- package/dist/python-s9jfVbew.cjs +0 -1
- package/dist/qml-beorq0E4.cjs +0 -1
- package/dist/qml-rTNXsquU.js +0 -8
- package/dist/qmldir-BInDYbpo.js +0 -6
- package/dist/qmldir-DNF9H2ir.cjs +0 -1
- package/dist/qss-AeJTysr_.js +0 -6
- package/dist/qss-DwA_oiAM.cjs +0 -1
- package/dist/quadrantDiagram-AYHSOK5B-6xSOcCxL.js +0 -1024
- package/dist/quadrantDiagram-AYHSOK5B-J0R9fpox.cjs +0 -7
- package/dist/r-Bm0uF0U2.js +0 -6
- package/dist/r-ChIwckeM.cjs +0 -1
- package/dist/racket-B83wSAja.js +0 -6
- package/dist/racket-D4laxZit.cjs +0 -1
- package/dist/radar-NHE76QYJ-C4G7hzu6.js +0 -5
- package/dist/radar-NHE76QYJ-EznHmPEg.cjs +0 -1
- package/dist/raku-DHySPsLw.cjs +0 -1
- package/dist/raku-nEQ4ZJJ7.js +0 -6
- package/dist/razor-DgCbant-.cjs +0 -1
- package/dist/razor-Dh1wKTmh.js +0 -10
- package/dist/red-7y8PH7HH.js +0 -4
- package/dist/red-BQGOv1D5.cjs +0 -1
- package/dist/reg-CevkCKuZ.cjs +0 -1
- package/dist/reg-m_s_Kiip.js +0 -6
- package/dist/regexp-BazyLpPg.js +0 -6
- package/dist/regexp-DabTWNLE.cjs +0 -1
- package/dist/rel-BS5APza7.cjs +0 -1
- package/dist/rel-BcRfyd6Q.js +0 -6
- package/dist/requirementDiagram-UZGBJVZJ-DXq0f3Op.cjs +0 -64
- package/dist/requirementDiagram-UZGBJVZJ-p2d3AnQ8.js +0 -852
- package/dist/riscv-BnGFr6V7.cjs +0 -1
- package/dist/riscv-Ce8MAQLP.js +0 -6
- package/dist/rose-pine-Cr4kwgAY.js +0 -4
- package/dist/rose-pine-Dynd1SQq.cjs +0 -1
- package/dist/rose-pine-dawn-ClRRUdXX.js +0 -4
- package/dist/rose-pine-dawn-DwrpEjkh.cjs +0 -1
- package/dist/rose-pine-moon-8HmiewSG.cjs +0 -1
- package/dist/rose-pine-moon-ucNn3Gm8.js +0 -4
- package/dist/rosmsg-C7VSFzUC.cjs +0 -1
- package/dist/rosmsg-Cz0w1km8.js +0 -6
- package/dist/rst-CcbeA9zE.js +0 -22
- package/dist/rst-D08gsKw8.cjs +0 -1
- package/dist/ruby-B5H7kBtd.cjs +0 -1
- package/dist/ruby-DMPw6uKF.js +0 -30
- package/dist/rust-CLzF9zIN.js +0 -6
- package/dist/rust-CNeTMPbB.cjs +0 -1
- package/dist/sankeyDiagram-TZEHDZUN-CLBuuob-.cjs +0 -10
- package/dist/sankeyDiagram-TZEHDZUN-CbASga1e.js +0 -810
- package/dist/sas-D5Fn8Q38.cjs +0 -1
- package/dist/sas-fpEvgATw.js +0 -8
- package/dist/sass-DxHp5rTx.js +0 -6
- package/dist/sass-vyo-bUwh.cjs +0 -1
- package/dist/scala-D4grkFkl.js +0 -6
- package/dist/scala-ZSekD-8-.cjs +0 -1
- package/dist/scheme-BCRWuEm4.js +0 -6
- package/dist/scheme-vM0LdD-_.cjs +0 -1
- package/dist/scss-B1FaCqwR.js +0 -8
- package/dist/scss-CKlduTMv.cjs +0 -1
- package/dist/sdbl-B7T8abf4.js +0 -6
- package/dist/sdbl-DeWT5r4i.cjs +0 -1
- package/dist/selected-block-display-CZ3zwgqL.js +0 -43632
- package/dist/selected-block-display-GwQBADhp.cjs +0 -541
- package/dist/sequenceDiagram-WL72ISMW-3T2mzAhA.js +0 -2522
- package/dist/sequenceDiagram-WL72ISMW-DmS_WEPR.cjs +0 -145
- package/dist/shaderlab-Cr62-Wb4.js +0 -8
- package/dist/shaderlab-DGJjQHxC.cjs +0 -1
- package/dist/shellscript-DYWjN7qW.cjs +0 -1
- package/dist/shellscript-InADTalH.js +0 -6
- package/dist/shellsession-DMUSXX8m.cjs +0 -1
- package/dist/shellsession-DiDJNQdy.js +0 -8
- package/dist/slack-dark-akqwQ7ED.cjs +0 -1
- package/dist/slack-dark-i7wN4OET.js +0 -4
- package/dist/slack-ochin-BoQQWmTv.cjs +0 -1
- package/dist/slack-ochin-ndHf0LoP.js +0 -4
- package/dist/smalltalk-BNs6hxu4.cjs +0 -1
- package/dist/smalltalk-BlI1_OkM.js +0 -6
- package/dist/snazzy-light-BlSJXAu4.js +0 -4
- package/dist/snazzy-light-D_IwRieF.cjs +0 -1
- package/dist/solarized-dark-UTmkh7lw.js +0 -4
- package/dist/solarized-dark-gmm-WbDC.cjs +0 -1
- package/dist/solarized-light-BheCkDPT.js +0 -4
- package/dist/solarized-light-DzcxRSZP.cjs +0 -1
- package/dist/solidity-CYggdHYd.cjs +0 -1
- package/dist/solidity-CneOhxmR.js +0 -6
- package/dist/soy-C1-6njHa.js +0 -8
- package/dist/soy-CDFPDtGX.cjs +0 -1
- package/dist/sparql-6Cg9ppCl.cjs +0 -1
- package/dist/sparql-B0KWFEri.js +0 -8
- package/dist/splunk-CRXR8A9s.js +0 -6
- package/dist/splunk-CWPivao_.cjs +0 -1
- package/dist/sql-Cn_v3PB0.js +0 -6
- package/dist/sql-DhUUVgH1.cjs +0 -1
- package/dist/ssh-config-B93wBIBa.cjs +0 -1
- package/dist/ssh-config-DP-hNVbF.js +0 -6
- package/dist/stata-B8c5fTjX.js +0 -8
- package/dist/stata-DCWFCQQG.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-BmMX9umD.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-D9lkyJcL.js +0 -264
- package/dist/stateDiagram-v2-4FDKWEC3-BwQkMtRv.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-D0yq-_gB.js +0 -16
- package/dist/stylus-B64Bt0D4.cjs +0 -1
- package/dist/stylus-CyKEU1Ej.js +0 -6
- package/dist/svelte-5UasyOg7.js +0 -14
- package/dist/svelte-DFg_x5i4.cjs +0 -1
- package/dist/swift-9UzSvamq.js +0 -6
- package/dist/swift-BMbGdc3j.cjs +0 -1
- package/dist/synthwave-84-BBRLOmNT.cjs +0 -1
- package/dist/synthwave-84-NU3C_KFZ.js +0 -4
- package/dist/system-verilog-BCm7smPJ.js +0 -6
- package/dist/system-verilog-BFclLo9e.cjs +0 -1
- package/dist/systemd-C-4qm6XH.js +0 -6
- package/dist/systemd-Dtw7P4tb.cjs +0 -1
- package/dist/talonscript-CFF3LF_O.js +0 -6
- package/dist/talonscript-D8SvZJVc.cjs +0 -1
- package/dist/tasl--DC4oX-L.cjs +0 -1
- package/dist/tasl-Cg_WBUAe.js +0 -6
- package/dist/tcl-0Q0H86Yn.cjs +0 -1
- package/dist/tcl-DN7buRTF.js +0 -6
- package/dist/templ-BDNMUns0.cjs +0 -1
- package/dist/templ-peLZIM2D.js +0 -12
- package/dist/terraform-C0RDrmWi.cjs +0 -1
- package/dist/terraform-DGvcn9zM.js +0 -6
- package/dist/tex-BUUuwxQS.js +0 -8
- package/dist/tex-By7qnogv.cjs +0 -1
- package/dist/timeline-definition-IT6M3QCI-Bi9IiYMF.cjs +0 -61
- package/dist/timeline-definition-IT6M3QCI-LtkAohDp.js +0 -801
- package/dist/tokyo-night-DP4TmcQl.js +0 -4
- package/dist/tokyo-night-GOhjzM5y.cjs +0 -1
- package/dist/toml-DY62mUL_.js +0 -6
- package/dist/toml-Q64DoSvG.cjs +0 -1
- package/dist/treemap-KMMF4GRG-DAuFMsAI.cjs +0 -1
- package/dist/treemap-KMMF4GRG-vy1iI8-N.js +0 -5
- package/dist/ts-tags-DILCom6A.cjs +0 -1
- package/dist/ts-tags-ioVe2PKw.js +0 -41
- package/dist/tsv-BtvSkaG0.js +0 -6
- package/dist/tsv-DqNGnuVj.cjs +0 -1
- package/dist/tsx-B8rCNbgL.js +0 -6
- package/dist/tsx-DIpfUf9u.cjs +0 -1
- package/dist/turtle-DipIidr5.cjs +0 -1
- package/dist/turtle-_H59FV7D.js +0 -6
- package/dist/twig-B42NGISI.cjs +0 -1
- package/dist/twig-CcRLVyUg.js +0 -18
- package/dist/typescript-RycA9KXf.js +0 -6
- package/dist/typescript-b48wo4zk.cjs +0 -1
- package/dist/typespec-CLqB-2XS.cjs +0 -1
- package/dist/typespec-Djmco60m.js +0 -6
- package/dist/typst-Cqq4j4V-.cjs +0 -1
- package/dist/typst-D_1QKWns.js +0 -6
- package/dist/use-page-expand-manager-B5Y2KS1c.cjs +0 -1
- package/dist/v-81C2s01-.cjs +0 -1
- package/dist/v-BPCNiyYe.js +0 -6
- package/dist/vala-CsAYdCD2.cjs +0 -1
- package/dist/vala-uxaPR7d1.js +0 -6
- package/dist/vb-AiTMb16X.cjs +0 -1
- package/dist/vb-D8_c5-KN.js +0 -6
- package/dist/verilog-AMohXZcN.cjs +0 -1
- package/dist/verilog-B-bybjPF.js +0 -6
- package/dist/vesper-B59Iw4gV.cjs +0 -1
- package/dist/vesper-BckBta1U.js +0 -4
- package/dist/vhdl-CUlNa8ac.js +0 -6
- package/dist/vhdl-DIdR1NA5.cjs +0 -1
- package/dist/viml-D01eKeA4.cjs +0 -1
- package/dist/viml-DsfA-sWm.js +0 -6
- package/dist/vitesse-black-BoGvW84i.js +0 -4
- package/dist/vitesse-black-MF-1S1MG.cjs +0 -1
- package/dist/vitesse-dark-Cym-eLtO.js +0 -4
- package/dist/vitesse-dark-SIffJYSe.cjs +0 -1
- package/dist/vitesse-light-CcmG315c.js +0 -4
- package/dist/vitesse-light-U63SkYGT.cjs +0 -1
- package/dist/vue-DUYfTwgV.cjs +0 -1
- package/dist/vue-DrinnB8Y.js +0 -31
- package/dist/vue-html-B8T_zUQ-.cjs +0 -1
- package/dist/vue-html-CQOyCFnQ.js +0 -10
- package/dist/vue-vine-CAyeVfAj.js +0 -20
- package/dist/vue-vine-ClEtVpt5.cjs +0 -1
- package/dist/vyper-CPQuu50u.js +0 -6
- package/dist/vyper-DTzyzn3a.cjs +0 -1
- package/dist/wasm-BBXxrAl7.js +0 -6
- package/dist/wasm-DQxwEHae.js +0 -7
- package/dist/wasm-Dp-QrJpp.cjs +0 -1
- package/dist/wasm-Dw4u1m6u.cjs +0 -1
- package/dist/wenyan-CRNx8UP3.cjs +0 -1
- package/dist/wenyan-pbVjoM9_.js +0 -6
- package/dist/wgsl-DF5qc9dd.cjs +0 -1
- package/dist/wgsl-DY4iK1q1.js +0 -6
- package/dist/wikitext-D7uzEIfK.cjs +0 -1
- package/dist/wikitext-Z-MoUasO.js +0 -6
- package/dist/wit-BjWgLsJj.cjs +0 -1
- package/dist/wit-CQMQOlTg.js +0 -6
- package/dist/wolfram-BR4t3Ffc.cjs +0 -1
- package/dist/wolfram-Dz4KXISs.js +0 -6
- package/dist/xml-BpsKWkuV.cjs +0 -1
- package/dist/xml-C2J0sS9M.js +0 -8
- package/dist/xsl-BmSZphgC.js +0 -8
- package/dist/xsl-D-3VYix6.cjs +0 -1
- package/dist/xychartDiagram-PRI3JC2R-d5V8_6ka.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-ggiHJXU7.js +0 -1340
- package/dist/yaml-DaO7k5B1.js +0 -6
- package/dist/yaml-XVBmpKh-.cjs +0 -1
- package/dist/zenscript-CxBjpf9c.js +0 -6
- package/dist/zenscript-fNvwKexi.cjs +0 -1
- package/dist/zig-BAyIAcWK.cjs +0 -1
- package/dist/zig-Vm0PO9wB.js +0 -6
package/dist/layout-B6VyrpKo.js
DELETED
|
@@ -1,1223 +0,0 @@
|
|
|
1
|
-
import * as i from "lodash-es";
|
|
2
|
-
import { G as w } from "./graph-BJDrjORS.js";
|
|
3
|
-
class ae {
|
|
4
|
-
constructor() {
|
|
5
|
-
var n = {};
|
|
6
|
-
n._next = n._prev = n, this._sentinel = n;
|
|
7
|
-
}
|
|
8
|
-
dequeue() {
|
|
9
|
-
var n = this._sentinel, r = n._prev;
|
|
10
|
-
if (r !== n)
|
|
11
|
-
return j(r), r;
|
|
12
|
-
}
|
|
13
|
-
enqueue(n) {
|
|
14
|
-
var r = this._sentinel;
|
|
15
|
-
n._prev && n._next && j(n), n._next = r._next, r._next._prev = n, r._next = n, n._prev = r;
|
|
16
|
-
}
|
|
17
|
-
toString() {
|
|
18
|
-
for (var n = [], r = this._sentinel, a = r._prev; a !== r; )
|
|
19
|
-
n.push(JSON.stringify(a, te)), a = a._prev;
|
|
20
|
-
return "[" + n.join(", ") + "]";
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function j(e) {
|
|
24
|
-
e._prev._next = e._next, e._next._prev = e._prev, delete e._next, delete e._prev;
|
|
25
|
-
}
|
|
26
|
-
function te(e, n) {
|
|
27
|
-
if (e !== "_next" && e !== "_prev")
|
|
28
|
-
return n;
|
|
29
|
-
}
|
|
30
|
-
i.constant(1);
|
|
31
|
-
function oe(e, n) {
|
|
32
|
-
if (e.nodeCount() <= 1)
|
|
33
|
-
return [];
|
|
34
|
-
var r = de(e, n), a = ie(r.graph, r.buckets, r.zeroIdx);
|
|
35
|
-
return i.flatten(
|
|
36
|
-
i.map(a, function(t) {
|
|
37
|
-
return e.outEdges(t.v, t.w);
|
|
38
|
-
})
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
function ie(e, n, r) {
|
|
42
|
-
for (var a = [], t = n[n.length - 1], d = n[0], o; e.nodeCount(); ) {
|
|
43
|
-
for (; o = d.dequeue(); )
|
|
44
|
-
x(e, n, r, o);
|
|
45
|
-
for (; o = t.dequeue(); )
|
|
46
|
-
x(e, n, r, o);
|
|
47
|
-
if (e.nodeCount()) {
|
|
48
|
-
for (var f = n.length - 2; f > 0; --f)
|
|
49
|
-
if (o = n[f].dequeue(), o) {
|
|
50
|
-
a = a.concat(x(e, n, r, o, !0));
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return a;
|
|
56
|
-
}
|
|
57
|
-
function x(e, n, r, a, t) {
|
|
58
|
-
var d = t ? [] : void 0;
|
|
59
|
-
return i.forEach(e.inEdges(a.v), function(o) {
|
|
60
|
-
var f = e.edge(o), u = e.node(o.v);
|
|
61
|
-
t && d.push({ v: o.v, w: o.w }), u.out -= f, P(n, r, u);
|
|
62
|
-
}), i.forEach(e.outEdges(a.v), function(o) {
|
|
63
|
-
var f = e.edge(o), u = o.w, c = e.node(u);
|
|
64
|
-
c.in -= f, P(n, r, c);
|
|
65
|
-
}), e.removeNode(a.v), d;
|
|
66
|
-
}
|
|
67
|
-
function de(e, n) {
|
|
68
|
-
var r = new w(), a = 0, t = 0;
|
|
69
|
-
i.forEach(e.nodes(), function(f) {
|
|
70
|
-
r.setNode(f, { v: f, in: 0, out: 0 });
|
|
71
|
-
}), i.forEach(e.edges(), function(f) {
|
|
72
|
-
var u = r.edge(f.v, f.w) || 0, c = n(f), s = u + c;
|
|
73
|
-
r.setEdge(f.v, f.w, s), t = Math.max(t, r.node(f.v).out += c), a = Math.max(a, r.node(f.w).in += c);
|
|
74
|
-
});
|
|
75
|
-
var d = i.range(t + a + 3).map(function() {
|
|
76
|
-
return new ae();
|
|
77
|
-
}), o = a + 1;
|
|
78
|
-
return i.forEach(r.nodes(), function(f) {
|
|
79
|
-
P(d, o, r.node(f));
|
|
80
|
-
}), { graph: r, buckets: d, zeroIdx: o };
|
|
81
|
-
}
|
|
82
|
-
function P(e, n, r) {
|
|
83
|
-
r.out ? r.in ? e[r.out - r.in + n].enqueue(r) : e[e.length - 1].enqueue(r) : e[0].enqueue(r);
|
|
84
|
-
}
|
|
85
|
-
function fe(e) {
|
|
86
|
-
var n = e.graph().acyclicer === "greedy" ? oe(e, r(e)) : ue(e);
|
|
87
|
-
i.forEach(n, function(a) {
|
|
88
|
-
var t = e.edge(a);
|
|
89
|
-
e.removeEdge(a), t.forwardName = a.name, t.reversed = !0, e.setEdge(a.w, a.v, t, i.uniqueId("rev"));
|
|
90
|
-
});
|
|
91
|
-
function r(a) {
|
|
92
|
-
return function(t) {
|
|
93
|
-
return a.edge(t).weight;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
function ue(e) {
|
|
98
|
-
var n = [], r = {}, a = {};
|
|
99
|
-
function t(d) {
|
|
100
|
-
Object.prototype.hasOwnProperty.call(a, d) || (a[d] = !0, r[d] = !0, i.forEach(e.outEdges(d), function(o) {
|
|
101
|
-
Object.prototype.hasOwnProperty.call(r, o.w) ? n.push(o) : t(o.w);
|
|
102
|
-
}), delete r[d]);
|
|
103
|
-
}
|
|
104
|
-
return i.forEach(e.nodes(), t), n;
|
|
105
|
-
}
|
|
106
|
-
function ce(e) {
|
|
107
|
-
i.forEach(e.edges(), function(n) {
|
|
108
|
-
var r = e.edge(n);
|
|
109
|
-
if (r.reversed) {
|
|
110
|
-
e.removeEdge(n);
|
|
111
|
-
var a = r.forwardName;
|
|
112
|
-
delete r.reversed, delete r.forwardName, e.setEdge(n.w, n.v, r, a);
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
function E(e, n, r, a) {
|
|
117
|
-
var t;
|
|
118
|
-
do
|
|
119
|
-
t = i.uniqueId(a);
|
|
120
|
-
while (e.hasNode(t));
|
|
121
|
-
return r.dummy = n, e.setNode(t, r), t;
|
|
122
|
-
}
|
|
123
|
-
function se(e) {
|
|
124
|
-
var n = new w().setGraph(e.graph());
|
|
125
|
-
return i.forEach(e.nodes(), function(r) {
|
|
126
|
-
n.setNode(r, e.node(r));
|
|
127
|
-
}), i.forEach(e.edges(), function(r) {
|
|
128
|
-
var a = n.edge(r.v, r.w) || { weight: 0, minlen: 1 }, t = e.edge(r);
|
|
129
|
-
n.setEdge(r.v, r.w, {
|
|
130
|
-
weight: a.weight + t.weight,
|
|
131
|
-
minlen: Math.max(a.minlen, t.minlen)
|
|
132
|
-
});
|
|
133
|
-
}), n;
|
|
134
|
-
}
|
|
135
|
-
function U(e) {
|
|
136
|
-
var n = new w({ multigraph: e.isMultigraph() }).setGraph(e.graph());
|
|
137
|
-
return i.forEach(e.nodes(), function(r) {
|
|
138
|
-
e.children(r).length || n.setNode(r, e.node(r));
|
|
139
|
-
}), i.forEach(e.edges(), function(r) {
|
|
140
|
-
n.setEdge(r, e.edge(r));
|
|
141
|
-
}), n;
|
|
142
|
-
}
|
|
143
|
-
function S(e, n) {
|
|
144
|
-
var r = e.x, a = e.y, t = n.x - r, d = n.y - a, o = e.width / 2, f = e.height / 2;
|
|
145
|
-
if (!t && !d)
|
|
146
|
-
throw new Error("Not possible to find intersection inside of the rectangle");
|
|
147
|
-
var u, c;
|
|
148
|
-
return Math.abs(d) * o > Math.abs(t) * f ? (d < 0 && (f = -f), u = f * t / d, c = f) : (t < 0 && (o = -o), u = o, c = o * d / t), { x: r + u, y: a + c };
|
|
149
|
-
}
|
|
150
|
-
function k(e) {
|
|
151
|
-
var n = i.map(i.range(q(e) + 1), function() {
|
|
152
|
-
return [];
|
|
153
|
-
});
|
|
154
|
-
return i.forEach(e.nodes(), function(r) {
|
|
155
|
-
var a = e.node(r), t = a.rank;
|
|
156
|
-
i.isUndefined(t) || (n[t][a.order] = r);
|
|
157
|
-
}), n;
|
|
158
|
-
}
|
|
159
|
-
function he(e) {
|
|
160
|
-
var n = i.min(
|
|
161
|
-
i.map(e.nodes(), function(r) {
|
|
162
|
-
return e.node(r).rank;
|
|
163
|
-
})
|
|
164
|
-
);
|
|
165
|
-
i.forEach(e.nodes(), function(r) {
|
|
166
|
-
var a = e.node(r);
|
|
167
|
-
i.has(a, "rank") && (a.rank -= n);
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
function le(e) {
|
|
171
|
-
var n = i.min(
|
|
172
|
-
i.map(e.nodes(), function(d) {
|
|
173
|
-
return e.node(d).rank;
|
|
174
|
-
})
|
|
175
|
-
), r = [];
|
|
176
|
-
i.forEach(e.nodes(), function(d) {
|
|
177
|
-
var o = e.node(d).rank - n;
|
|
178
|
-
r[o] || (r[o] = []), r[o].push(d);
|
|
179
|
-
});
|
|
180
|
-
var a = 0, t = e.graph().nodeRankFactor;
|
|
181
|
-
i.forEach(r, function(d, o) {
|
|
182
|
-
i.isUndefined(d) && o % t !== 0 ? --a : a && i.forEach(d, function(f) {
|
|
183
|
-
e.node(f).rank += a;
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
function M(e, n, r, a) {
|
|
188
|
-
var t = {
|
|
189
|
-
width: 0,
|
|
190
|
-
height: 0
|
|
191
|
-
};
|
|
192
|
-
return arguments.length >= 4 && (t.rank = r, t.order = a), E(e, "border", t, n);
|
|
193
|
-
}
|
|
194
|
-
function q(e) {
|
|
195
|
-
return i.max(
|
|
196
|
-
i.map(e.nodes(), function(n) {
|
|
197
|
-
var r = e.node(n).rank;
|
|
198
|
-
if (!i.isUndefined(r))
|
|
199
|
-
return r;
|
|
200
|
-
})
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
function ve(e, n) {
|
|
204
|
-
var r = { lhs: [], rhs: [] };
|
|
205
|
-
return i.forEach(e, function(a) {
|
|
206
|
-
n(a) ? r.lhs.push(a) : r.rhs.push(a);
|
|
207
|
-
}), r;
|
|
208
|
-
}
|
|
209
|
-
function pe(e, n) {
|
|
210
|
-
return n();
|
|
211
|
-
}
|
|
212
|
-
function me(e) {
|
|
213
|
-
function n(r) {
|
|
214
|
-
var a = e.children(r), t = e.node(r);
|
|
215
|
-
if (a.length && i.forEach(a, n), Object.prototype.hasOwnProperty.call(t, "minRank")) {
|
|
216
|
-
t.borderLeft = [], t.borderRight = [];
|
|
217
|
-
for (var d = t.minRank, o = t.maxRank + 1; d < o; ++d)
|
|
218
|
-
V(e, "borderLeft", "_bl", r, t, d), V(e, "borderRight", "_br", r, t, d);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
i.forEach(e.children(), n);
|
|
222
|
-
}
|
|
223
|
-
function V(e, n, r, a, t, d) {
|
|
224
|
-
var o = { width: 0, height: 0, rank: d, borderType: n }, f = t[n][d - 1], u = E(e, "border", o, r);
|
|
225
|
-
t[n][d] = u, e.setParent(u, a), f && e.setEdge(f, u, { weight: 1 });
|
|
226
|
-
}
|
|
227
|
-
function we(e) {
|
|
228
|
-
var n = e.graph().rankdir.toLowerCase();
|
|
229
|
-
(n === "lr" || n === "rl") && W(e);
|
|
230
|
-
}
|
|
231
|
-
function be(e) {
|
|
232
|
-
var n = e.graph().rankdir.toLowerCase();
|
|
233
|
-
(n === "bt" || n === "rl") && Ee(e), (n === "lr" || n === "rl") && (ye(e), W(e));
|
|
234
|
-
}
|
|
235
|
-
function W(e) {
|
|
236
|
-
i.forEach(e.nodes(), function(n) {
|
|
237
|
-
B(e.node(n));
|
|
238
|
-
}), i.forEach(e.edges(), function(n) {
|
|
239
|
-
B(e.edge(n));
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
function B(e) {
|
|
243
|
-
var n = e.width;
|
|
244
|
-
e.width = e.height, e.height = n;
|
|
245
|
-
}
|
|
246
|
-
function Ee(e) {
|
|
247
|
-
i.forEach(e.nodes(), function(n) {
|
|
248
|
-
O(e.node(n));
|
|
249
|
-
}), i.forEach(e.edges(), function(n) {
|
|
250
|
-
var r = e.edge(n);
|
|
251
|
-
i.forEach(r.points, O), Object.prototype.hasOwnProperty.call(r, "y") && O(r);
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
function O(e) {
|
|
255
|
-
e.y = -e.y;
|
|
256
|
-
}
|
|
257
|
-
function ye(e) {
|
|
258
|
-
i.forEach(e.nodes(), function(n) {
|
|
259
|
-
N(e.node(n));
|
|
260
|
-
}), i.forEach(e.edges(), function(n) {
|
|
261
|
-
var r = e.edge(n);
|
|
262
|
-
i.forEach(r.points, N), Object.prototype.hasOwnProperty.call(r, "x") && N(r);
|
|
263
|
-
});
|
|
264
|
-
}
|
|
265
|
-
function N(e) {
|
|
266
|
-
var n = e.x;
|
|
267
|
-
e.x = e.y, e.y = n;
|
|
268
|
-
}
|
|
269
|
-
function ge(e) {
|
|
270
|
-
e.graph().dummyChains = [], i.forEach(e.edges(), function(n) {
|
|
271
|
-
ke(e, n);
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
function ke(e, n) {
|
|
275
|
-
var r = n.v, a = e.node(r).rank, t = n.w, d = e.node(t).rank, o = n.name, f = e.edge(n), u = f.labelRank;
|
|
276
|
-
if (d !== a + 1) {
|
|
277
|
-
e.removeEdge(n);
|
|
278
|
-
var c = void 0, s, h;
|
|
279
|
-
for (h = 0, ++a; a < d; ++h, ++a)
|
|
280
|
-
f.points = [], c = {
|
|
281
|
-
width: 0,
|
|
282
|
-
height: 0,
|
|
283
|
-
edgeLabel: f,
|
|
284
|
-
edgeObj: n,
|
|
285
|
-
rank: a
|
|
286
|
-
}, s = E(e, "edge", c, "_d"), a === u && (c.width = f.width, c.height = f.height, c.dummy = "edge-label", c.labelpos = f.labelpos), e.setEdge(r, s, { weight: f.weight }, o), h === 0 && e.graph().dummyChains.push(s), r = s;
|
|
287
|
-
e.setEdge(r, t, { weight: f.weight }, o);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
function xe(e) {
|
|
291
|
-
i.forEach(e.graph().dummyChains, function(n) {
|
|
292
|
-
var r = e.node(n), a = r.edgeLabel, t;
|
|
293
|
-
for (e.setEdge(r.edgeObj, a); r.dummy; )
|
|
294
|
-
t = e.successors(n)[0], e.removeNode(n), a.points.push({ x: r.x, y: r.y }), r.dummy === "edge-label" && (a.x = r.x, a.y = r.y, a.width = r.width, a.height = r.height), n = t, r = e.node(n);
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
function R(e) {
|
|
298
|
-
var n = {};
|
|
299
|
-
function r(a) {
|
|
300
|
-
var t = e.node(a);
|
|
301
|
-
if (Object.prototype.hasOwnProperty.call(n, a))
|
|
302
|
-
return t.rank;
|
|
303
|
-
n[a] = !0;
|
|
304
|
-
var d = i.min(
|
|
305
|
-
i.map(e.outEdges(a), function(o) {
|
|
306
|
-
return r(o.w) - e.edge(o).minlen;
|
|
307
|
-
})
|
|
308
|
-
);
|
|
309
|
-
return (d === Number.POSITIVE_INFINITY || // return value of _.map([]) for Lodash 3
|
|
310
|
-
d === void 0 || // return value of _.map([]) for Lodash 4
|
|
311
|
-
d === null) && (d = 0), t.rank = d;
|
|
312
|
-
}
|
|
313
|
-
i.forEach(e.sources(), r);
|
|
314
|
-
}
|
|
315
|
-
function g(e, n) {
|
|
316
|
-
return e.node(n.w).rank - e.node(n.v).rank - e.edge(n).minlen;
|
|
317
|
-
}
|
|
318
|
-
function $(e) {
|
|
319
|
-
var n = new w({ directed: !1 }), r = e.nodes()[0], a = e.nodeCount();
|
|
320
|
-
n.setNode(r, {});
|
|
321
|
-
for (var t, d; Oe(n, e) < a; )
|
|
322
|
-
t = Ne(n, e), d = n.hasNode(t.v) ? g(e, t) : -g(e, t), Le(n, e, d);
|
|
323
|
-
return n;
|
|
324
|
-
}
|
|
325
|
-
function Oe(e, n) {
|
|
326
|
-
function r(a) {
|
|
327
|
-
i.forEach(n.nodeEdges(a), function(t) {
|
|
328
|
-
var d = t.v, o = a === d ? t.w : d;
|
|
329
|
-
!e.hasNode(o) && !g(n, t) && (e.setNode(o, {}), e.setEdge(a, o, {}), r(o));
|
|
330
|
-
});
|
|
331
|
-
}
|
|
332
|
-
return i.forEach(e.nodes(), r), e.nodeCount();
|
|
333
|
-
}
|
|
334
|
-
function Ne(e, n) {
|
|
335
|
-
return i.minBy(n.edges(), function(r) {
|
|
336
|
-
if (e.hasNode(r.v) !== e.hasNode(r.w))
|
|
337
|
-
return g(n, r);
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
function Le(e, n, r) {
|
|
341
|
-
i.forEach(e.nodes(), function(a) {
|
|
342
|
-
n.node(a).rank += r;
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
i.constant(1);
|
|
346
|
-
i.constant(1);
|
|
347
|
-
function Ie() {
|
|
348
|
-
}
|
|
349
|
-
Ie.prototype = new Error();
|
|
350
|
-
function z(e, n, r) {
|
|
351
|
-
i.isArray(n) || (n = [n]);
|
|
352
|
-
var a = (e.isDirected() ? e.successors : e.neighbors).bind(e), t = [], d = {};
|
|
353
|
-
return i.each(n, function(o) {
|
|
354
|
-
if (!e.hasNode(o))
|
|
355
|
-
throw new Error("Graph does not have node: " + o);
|
|
356
|
-
X(e, o, r === "post", d, a, t);
|
|
357
|
-
}), t;
|
|
358
|
-
}
|
|
359
|
-
function X(e, n, r, a, t, d) {
|
|
360
|
-
Object.prototype.hasOwnProperty.call(a, n) || (a[n] = !0, r || d.push(n), i.each(t(n), function(o) {
|
|
361
|
-
X(e, o, r, a, t, d);
|
|
362
|
-
}), r && d.push(n));
|
|
363
|
-
}
|
|
364
|
-
function Pe(e, n) {
|
|
365
|
-
return z(e, n, "post");
|
|
366
|
-
}
|
|
367
|
-
function Re(e, n) {
|
|
368
|
-
return z(e, n, "pre");
|
|
369
|
-
}
|
|
370
|
-
b.initLowLimValues = C;
|
|
371
|
-
b.initCutValues = _;
|
|
372
|
-
b.calcCutValue = H;
|
|
373
|
-
b.leaveEdge = K;
|
|
374
|
-
b.enterEdge = Q;
|
|
375
|
-
b.exchangeEdges = Z;
|
|
376
|
-
function b(e) {
|
|
377
|
-
e = se(e), R(e);
|
|
378
|
-
var n = $(e);
|
|
379
|
-
C(n), _(n, e);
|
|
380
|
-
for (var r, a; r = K(n); )
|
|
381
|
-
a = Q(n, e, r), Z(n, e, r, a);
|
|
382
|
-
}
|
|
383
|
-
function _(e, n) {
|
|
384
|
-
var r = Pe(e, e.nodes());
|
|
385
|
-
r = r.slice(0, r.length - 1), i.forEach(r, function(a) {
|
|
386
|
-
_e(e, n, a);
|
|
387
|
-
});
|
|
388
|
-
}
|
|
389
|
-
function _e(e, n, r) {
|
|
390
|
-
var a = e.node(r), t = a.parent;
|
|
391
|
-
e.edge(r, t).cutvalue = H(e, n, r);
|
|
392
|
-
}
|
|
393
|
-
function H(e, n, r) {
|
|
394
|
-
var a = e.node(r), t = a.parent, d = !0, o = n.edge(r, t), f = 0;
|
|
395
|
-
return o || (d = !1, o = n.edge(t, r)), f = o.weight, i.forEach(n.nodeEdges(r), function(u) {
|
|
396
|
-
var c = u.v === r, s = c ? u.w : u.v;
|
|
397
|
-
if (s !== t) {
|
|
398
|
-
var h = c === d, l = n.edge(u).weight;
|
|
399
|
-
if (f += h ? l : -l, Te(e, r, s)) {
|
|
400
|
-
var v = e.edge(r, s).cutvalue;
|
|
401
|
-
f += h ? -v : v;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}), f;
|
|
405
|
-
}
|
|
406
|
-
function C(e, n) {
|
|
407
|
-
arguments.length < 2 && (n = e.nodes()[0]), J(e, {}, 1, n);
|
|
408
|
-
}
|
|
409
|
-
function J(e, n, r, a, t) {
|
|
410
|
-
var d = r, o = e.node(a);
|
|
411
|
-
return n[a] = !0, i.forEach(e.neighbors(a), function(f) {
|
|
412
|
-
Object.prototype.hasOwnProperty.call(n, f) || (r = J(e, n, r, f, a));
|
|
413
|
-
}), o.low = d, o.lim = r++, t ? o.parent = t : delete o.parent, r;
|
|
414
|
-
}
|
|
415
|
-
function K(e) {
|
|
416
|
-
return i.find(e.edges(), function(n) {
|
|
417
|
-
return e.edge(n).cutvalue < 0;
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
function Q(e, n, r) {
|
|
421
|
-
var a = r.v, t = r.w;
|
|
422
|
-
n.hasEdge(a, t) || (a = r.w, t = r.v);
|
|
423
|
-
var d = e.node(a), o = e.node(t), f = d, u = !1;
|
|
424
|
-
d.lim > o.lim && (f = o, u = !0);
|
|
425
|
-
var c = i.filter(n.edges(), function(s) {
|
|
426
|
-
return u === F(e, e.node(s.v), f) && u !== F(e, e.node(s.w), f);
|
|
427
|
-
});
|
|
428
|
-
return i.minBy(c, function(s) {
|
|
429
|
-
return g(n, s);
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
function Z(e, n, r, a) {
|
|
433
|
-
var t = r.v, d = r.w;
|
|
434
|
-
e.removeEdge(t, d), e.setEdge(a.v, a.w, {}), C(e), _(e, n), Ce(e, n);
|
|
435
|
-
}
|
|
436
|
-
function Ce(e, n) {
|
|
437
|
-
var r = i.find(e.nodes(), function(t) {
|
|
438
|
-
return !n.node(t).parent;
|
|
439
|
-
}), a = Re(e, r);
|
|
440
|
-
a = a.slice(1), i.forEach(a, function(t) {
|
|
441
|
-
var d = e.node(t).parent, o = n.edge(t, d), f = !1;
|
|
442
|
-
o || (o = n.edge(d, t), f = !0), n.node(t).rank = n.node(d).rank + (f ? o.minlen : -o.minlen);
|
|
443
|
-
});
|
|
444
|
-
}
|
|
445
|
-
function Te(e, n, r) {
|
|
446
|
-
return e.hasEdge(n, r);
|
|
447
|
-
}
|
|
448
|
-
function F(e, n, r) {
|
|
449
|
-
return r.low <= n.lim && n.lim <= r.lim;
|
|
450
|
-
}
|
|
451
|
-
function je(e) {
|
|
452
|
-
switch (e.graph().ranker) {
|
|
453
|
-
case "network-simplex":
|
|
454
|
-
Y(e);
|
|
455
|
-
break;
|
|
456
|
-
case "tight-tree":
|
|
457
|
-
Me(e);
|
|
458
|
-
break;
|
|
459
|
-
case "longest-path":
|
|
460
|
-
Se(e);
|
|
461
|
-
break;
|
|
462
|
-
default:
|
|
463
|
-
Y(e);
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
var Se = R;
|
|
467
|
-
function Me(e) {
|
|
468
|
-
R(e), $(e);
|
|
469
|
-
}
|
|
470
|
-
function Y(e) {
|
|
471
|
-
b(e);
|
|
472
|
-
}
|
|
473
|
-
function Ve(e) {
|
|
474
|
-
var n = E(e, "root", {}, "_root"), r = Be(e), a = i.max(i.values(r)) - 1, t = 2 * a + 1;
|
|
475
|
-
e.graph().nestingRoot = n, i.forEach(e.edges(), function(o) {
|
|
476
|
-
e.edge(o).minlen *= t;
|
|
477
|
-
});
|
|
478
|
-
var d = Fe(e) + 1;
|
|
479
|
-
i.forEach(e.children(), function(o) {
|
|
480
|
-
ee(e, n, t, d, a, r, o);
|
|
481
|
-
}), e.graph().nodeRankFactor = t;
|
|
482
|
-
}
|
|
483
|
-
function ee(e, n, r, a, t, d, o) {
|
|
484
|
-
var f = e.children(o);
|
|
485
|
-
if (!f.length) {
|
|
486
|
-
o !== n && e.setEdge(n, o, { weight: 0, minlen: r });
|
|
487
|
-
return;
|
|
488
|
-
}
|
|
489
|
-
var u = M(e, "_bt"), c = M(e, "_bb"), s = e.node(o);
|
|
490
|
-
e.setParent(u, o), s.borderTop = u, e.setParent(c, o), s.borderBottom = c, i.forEach(f, function(h) {
|
|
491
|
-
ee(e, n, r, a, t, d, h);
|
|
492
|
-
var l = e.node(h), v = l.borderTop ? l.borderTop : h, p = l.borderBottom ? l.borderBottom : h, m = l.borderTop ? a : 2 * a, y = v !== p ? 1 : t - d[o] + 1;
|
|
493
|
-
e.setEdge(u, v, {
|
|
494
|
-
weight: m,
|
|
495
|
-
minlen: y,
|
|
496
|
-
nestingEdge: !0
|
|
497
|
-
}), e.setEdge(p, c, {
|
|
498
|
-
weight: m,
|
|
499
|
-
minlen: y,
|
|
500
|
-
nestingEdge: !0
|
|
501
|
-
});
|
|
502
|
-
}), e.parent(o) || e.setEdge(n, u, { weight: 0, minlen: t + d[o] });
|
|
503
|
-
}
|
|
504
|
-
function Be(e) {
|
|
505
|
-
var n = {};
|
|
506
|
-
function r(a, t) {
|
|
507
|
-
var d = e.children(a);
|
|
508
|
-
d && d.length && i.forEach(d, function(o) {
|
|
509
|
-
r(o, t + 1);
|
|
510
|
-
}), n[a] = t;
|
|
511
|
-
}
|
|
512
|
-
return i.forEach(e.children(), function(a) {
|
|
513
|
-
r(a, 1);
|
|
514
|
-
}), n;
|
|
515
|
-
}
|
|
516
|
-
function Fe(e) {
|
|
517
|
-
return i.reduce(
|
|
518
|
-
e.edges(),
|
|
519
|
-
function(n, r) {
|
|
520
|
-
return n + e.edge(r).weight;
|
|
521
|
-
},
|
|
522
|
-
0
|
|
523
|
-
);
|
|
524
|
-
}
|
|
525
|
-
function Ye(e) {
|
|
526
|
-
var n = e.graph();
|
|
527
|
-
e.removeNode(n.nestingRoot), delete n.nestingRoot, i.forEach(e.edges(), function(r) {
|
|
528
|
-
var a = e.edge(r);
|
|
529
|
-
a.nestingEdge && e.removeEdge(r);
|
|
530
|
-
});
|
|
531
|
-
}
|
|
532
|
-
function Ae(e, n, r) {
|
|
533
|
-
var a = {}, t;
|
|
534
|
-
i.forEach(r, function(d) {
|
|
535
|
-
for (var o = e.parent(d), f, u; o; ) {
|
|
536
|
-
if (f = e.parent(o), f ? (u = a[f], a[f] = o) : (u = t, t = o), u && u !== o) {
|
|
537
|
-
n.setEdge(u, o);
|
|
538
|
-
return;
|
|
539
|
-
}
|
|
540
|
-
o = f;
|
|
541
|
-
}
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
function De(e, n, r) {
|
|
545
|
-
var a = Ge(e), t = new w({ compound: !0 }).setGraph({ root: a }).setDefaultNodeLabel(function(d) {
|
|
546
|
-
return e.node(d);
|
|
547
|
-
});
|
|
548
|
-
return i.forEach(e.nodes(), function(d) {
|
|
549
|
-
var o = e.node(d), f = e.parent(d);
|
|
550
|
-
(o.rank === n || o.minRank <= n && n <= o.maxRank) && (t.setNode(d), t.setParent(d, f || a), i.forEach(e[r](d), function(u) {
|
|
551
|
-
var c = u.v === d ? u.w : u.v, s = t.edge(c, d), h = i.isUndefined(s) ? 0 : s.weight;
|
|
552
|
-
t.setEdge(c, d, { weight: e.edge(u).weight + h });
|
|
553
|
-
}), Object.prototype.hasOwnProperty.call(o, "minRank") && t.setNode(d, {
|
|
554
|
-
borderLeft: o.borderLeft[n],
|
|
555
|
-
borderRight: o.borderRight[n]
|
|
556
|
-
}));
|
|
557
|
-
}), t;
|
|
558
|
-
}
|
|
559
|
-
function Ge(e) {
|
|
560
|
-
for (var n; e.hasNode(n = i.uniqueId("_root")); ) ;
|
|
561
|
-
return n;
|
|
562
|
-
}
|
|
563
|
-
function Ue(e, n) {
|
|
564
|
-
for (var r = 0, a = 1; a < n.length; ++a)
|
|
565
|
-
r += qe(e, n[a - 1], n[a]);
|
|
566
|
-
return r;
|
|
567
|
-
}
|
|
568
|
-
function qe(e, n, r) {
|
|
569
|
-
for (var a = i.zipObject(
|
|
570
|
-
r,
|
|
571
|
-
i.map(r, function(c, s) {
|
|
572
|
-
return s;
|
|
573
|
-
})
|
|
574
|
-
), t = i.flatten(
|
|
575
|
-
i.map(n, function(c) {
|
|
576
|
-
return i.sortBy(
|
|
577
|
-
i.map(e.outEdges(c), function(s) {
|
|
578
|
-
return { pos: a[s.w], weight: e.edge(s).weight };
|
|
579
|
-
}),
|
|
580
|
-
"pos"
|
|
581
|
-
);
|
|
582
|
-
})
|
|
583
|
-
), d = 1; d < r.length; ) d <<= 1;
|
|
584
|
-
var o = 2 * d - 1;
|
|
585
|
-
d -= 1;
|
|
586
|
-
var f = i.map(new Array(o), function() {
|
|
587
|
-
return 0;
|
|
588
|
-
}), u = 0;
|
|
589
|
-
return i.forEach(
|
|
590
|
-
// @ts-expect-error
|
|
591
|
-
t.forEach(function(c) {
|
|
592
|
-
var s = c.pos + d;
|
|
593
|
-
f[s] += c.weight;
|
|
594
|
-
for (var h = 0; s > 0; )
|
|
595
|
-
s % 2 && (h += f[s + 1]), s = s - 1 >> 1, f[s] += c.weight;
|
|
596
|
-
u += c.weight * h;
|
|
597
|
-
})
|
|
598
|
-
), u;
|
|
599
|
-
}
|
|
600
|
-
function We(e) {
|
|
601
|
-
var n = {}, r = i.filter(e.nodes(), function(f) {
|
|
602
|
-
return !e.children(f).length;
|
|
603
|
-
}), a = i.max(
|
|
604
|
-
i.map(r, function(f) {
|
|
605
|
-
return e.node(f).rank;
|
|
606
|
-
})
|
|
607
|
-
), t = i.map(i.range(a + 1), function() {
|
|
608
|
-
return [];
|
|
609
|
-
});
|
|
610
|
-
function d(f) {
|
|
611
|
-
if (!i.has(n, f)) {
|
|
612
|
-
n[f] = !0;
|
|
613
|
-
var u = e.node(f);
|
|
614
|
-
t[u.rank].push(f), i.forEach(e.successors(f), d);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
var o = i.sortBy(r, function(f) {
|
|
618
|
-
return e.node(f).rank;
|
|
619
|
-
});
|
|
620
|
-
return i.forEach(o, d), t;
|
|
621
|
-
}
|
|
622
|
-
function $e(e, n) {
|
|
623
|
-
return i.map(n, function(r) {
|
|
624
|
-
var a = e.inEdges(r);
|
|
625
|
-
if (a.length) {
|
|
626
|
-
var t = i.reduce(
|
|
627
|
-
a,
|
|
628
|
-
function(d, o) {
|
|
629
|
-
var f = e.edge(o), u = e.node(o.v);
|
|
630
|
-
return {
|
|
631
|
-
sum: d.sum + f.weight * u.order,
|
|
632
|
-
weight: d.weight + f.weight
|
|
633
|
-
};
|
|
634
|
-
},
|
|
635
|
-
{ sum: 0, weight: 0 }
|
|
636
|
-
);
|
|
637
|
-
return {
|
|
638
|
-
v: r,
|
|
639
|
-
barycenter: t.sum / t.weight,
|
|
640
|
-
weight: t.weight
|
|
641
|
-
};
|
|
642
|
-
} else
|
|
643
|
-
return { v: r };
|
|
644
|
-
});
|
|
645
|
-
}
|
|
646
|
-
function ze(e, n) {
|
|
647
|
-
var r = {};
|
|
648
|
-
i.forEach(e, function(t, d) {
|
|
649
|
-
var o = r[t.v] = {
|
|
650
|
-
indegree: 0,
|
|
651
|
-
in: [],
|
|
652
|
-
out: [],
|
|
653
|
-
vs: [t.v],
|
|
654
|
-
i: d
|
|
655
|
-
};
|
|
656
|
-
i.isUndefined(t.barycenter) || (o.barycenter = t.barycenter, o.weight = t.weight);
|
|
657
|
-
}), i.forEach(n.edges(), function(t) {
|
|
658
|
-
var d = r[t.v], o = r[t.w];
|
|
659
|
-
!i.isUndefined(d) && !i.isUndefined(o) && (o.indegree++, d.out.push(r[t.w]));
|
|
660
|
-
});
|
|
661
|
-
var a = i.filter(r, function(t) {
|
|
662
|
-
return !t.indegree;
|
|
663
|
-
});
|
|
664
|
-
return Xe(a);
|
|
665
|
-
}
|
|
666
|
-
function Xe(e) {
|
|
667
|
-
var n = [];
|
|
668
|
-
function r(d) {
|
|
669
|
-
return function(o) {
|
|
670
|
-
o.merged || (i.isUndefined(o.barycenter) || i.isUndefined(d.barycenter) || o.barycenter >= d.barycenter) && He(d, o);
|
|
671
|
-
};
|
|
672
|
-
}
|
|
673
|
-
function a(d) {
|
|
674
|
-
return function(o) {
|
|
675
|
-
o.in.push(d), --o.indegree === 0 && e.push(o);
|
|
676
|
-
};
|
|
677
|
-
}
|
|
678
|
-
for (; e.length; ) {
|
|
679
|
-
var t = e.pop();
|
|
680
|
-
n.push(t), i.forEach(t.in.reverse(), r(t)), i.forEach(t.out, a(t));
|
|
681
|
-
}
|
|
682
|
-
return i.map(
|
|
683
|
-
i.filter(n, function(d) {
|
|
684
|
-
return !d.merged;
|
|
685
|
-
}),
|
|
686
|
-
function(d) {
|
|
687
|
-
return i.pick(d, ["vs", "i", "barycenter", "weight"]);
|
|
688
|
-
}
|
|
689
|
-
);
|
|
690
|
-
}
|
|
691
|
-
function He(e, n) {
|
|
692
|
-
var r = 0, a = 0;
|
|
693
|
-
e.weight && (r += e.barycenter * e.weight, a += e.weight), n.weight && (r += n.barycenter * n.weight, a += n.weight), e.vs = n.vs.concat(e.vs), e.barycenter = r / a, e.weight = a, e.i = Math.min(n.i, e.i), n.merged = !0;
|
|
694
|
-
}
|
|
695
|
-
function Je(e, n) {
|
|
696
|
-
var r = ve(e, function(s) {
|
|
697
|
-
return Object.prototype.hasOwnProperty.call(s, "barycenter");
|
|
698
|
-
}), a = r.lhs, t = i.sortBy(r.rhs, function(s) {
|
|
699
|
-
return -s.i;
|
|
700
|
-
}), d = [], o = 0, f = 0, u = 0;
|
|
701
|
-
a.sort(Ke(!!n)), u = A(d, t, u), i.forEach(a, function(s) {
|
|
702
|
-
u += s.vs.length, d.push(s.vs), o += s.barycenter * s.weight, f += s.weight, u = A(d, t, u);
|
|
703
|
-
});
|
|
704
|
-
var c = { vs: i.flatten(d) };
|
|
705
|
-
return f && (c.barycenter = o / f, c.weight = f), c;
|
|
706
|
-
}
|
|
707
|
-
function A(e, n, r) {
|
|
708
|
-
for (var a; n.length && (a = i.last(n)).i <= r; )
|
|
709
|
-
n.pop(), e.push(a.vs), r++;
|
|
710
|
-
return r;
|
|
711
|
-
}
|
|
712
|
-
function Ke(e) {
|
|
713
|
-
return function(n, r) {
|
|
714
|
-
return n.barycenter < r.barycenter ? -1 : n.barycenter > r.barycenter ? 1 : e ? r.i - n.i : n.i - r.i;
|
|
715
|
-
};
|
|
716
|
-
}
|
|
717
|
-
function ne(e, n, r, a) {
|
|
718
|
-
var t = e.children(n), d = e.node(n), o = d ? d.borderLeft : void 0, f = d ? d.borderRight : void 0, u = {};
|
|
719
|
-
o && (t = i.filter(t, function(p) {
|
|
720
|
-
return p !== o && p !== f;
|
|
721
|
-
}));
|
|
722
|
-
var c = $e(e, t);
|
|
723
|
-
i.forEach(c, function(p) {
|
|
724
|
-
if (e.children(p.v).length) {
|
|
725
|
-
var m = ne(e, p.v, r, a);
|
|
726
|
-
u[p.v] = m, Object.prototype.hasOwnProperty.call(m, "barycenter") && Ze(p, m);
|
|
727
|
-
}
|
|
728
|
-
});
|
|
729
|
-
var s = ze(c, r);
|
|
730
|
-
Qe(s, u);
|
|
731
|
-
var h = Je(s, a);
|
|
732
|
-
if (o && (h.vs = i.flatten([o, h.vs, f]), e.predecessors(o).length)) {
|
|
733
|
-
var l = e.node(e.predecessors(o)[0]), v = e.node(e.predecessors(f)[0]);
|
|
734
|
-
Object.prototype.hasOwnProperty.call(h, "barycenter") || (h.barycenter = 0, h.weight = 0), h.barycenter = (h.barycenter * h.weight + l.order + v.order) / (h.weight + 2), h.weight += 2;
|
|
735
|
-
}
|
|
736
|
-
return h;
|
|
737
|
-
}
|
|
738
|
-
function Qe(e, n) {
|
|
739
|
-
i.forEach(e, function(r) {
|
|
740
|
-
r.vs = i.flatten(
|
|
741
|
-
r.vs.map(function(a) {
|
|
742
|
-
return n[a] ? n[a].vs : a;
|
|
743
|
-
})
|
|
744
|
-
);
|
|
745
|
-
});
|
|
746
|
-
}
|
|
747
|
-
function Ze(e, n) {
|
|
748
|
-
i.isUndefined(e.barycenter) ? (e.barycenter = n.barycenter, e.weight = n.weight) : (e.barycenter = (e.barycenter * e.weight + n.barycenter * n.weight) / (e.weight + n.weight), e.weight += n.weight);
|
|
749
|
-
}
|
|
750
|
-
function en(e) {
|
|
751
|
-
var n = q(e), r = D(e, i.range(1, n + 1), "inEdges"), a = D(e, i.range(n - 1, -1, -1), "outEdges"), t = We(e);
|
|
752
|
-
G(e, t);
|
|
753
|
-
for (var d = Number.POSITIVE_INFINITY, o, f = 0, u = 0; u < 4; ++f, ++u) {
|
|
754
|
-
nn(f % 2 ? r : a, f % 4 >= 2), t = k(e);
|
|
755
|
-
var c = Ue(e, t);
|
|
756
|
-
c < d && (u = 0, o = i.cloneDeep(t), d = c);
|
|
757
|
-
}
|
|
758
|
-
G(e, o);
|
|
759
|
-
}
|
|
760
|
-
function D(e, n, r) {
|
|
761
|
-
return i.map(n, function(a) {
|
|
762
|
-
return De(e, a, r);
|
|
763
|
-
});
|
|
764
|
-
}
|
|
765
|
-
function nn(e, n) {
|
|
766
|
-
var r = new w();
|
|
767
|
-
i.forEach(e, function(a) {
|
|
768
|
-
var t = a.graph().root, d = ne(a, t, r, n);
|
|
769
|
-
i.forEach(d.vs, function(o, f) {
|
|
770
|
-
a.node(o).order = f;
|
|
771
|
-
}), Ae(a, r, d.vs);
|
|
772
|
-
});
|
|
773
|
-
}
|
|
774
|
-
function G(e, n) {
|
|
775
|
-
i.forEach(n, function(r) {
|
|
776
|
-
i.forEach(r, function(a, t) {
|
|
777
|
-
e.node(a).order = t;
|
|
778
|
-
});
|
|
779
|
-
});
|
|
780
|
-
}
|
|
781
|
-
function rn(e) {
|
|
782
|
-
var n = tn(e);
|
|
783
|
-
i.forEach(e.graph().dummyChains, function(r) {
|
|
784
|
-
for (var a = e.node(r), t = a.edgeObj, d = an(e, n, t.v, t.w), o = d.path, f = d.lca, u = 0, c = o[u], s = !0; r !== t.w; ) {
|
|
785
|
-
if (a = e.node(r), s) {
|
|
786
|
-
for (; (c = o[u]) !== f && e.node(c).maxRank < a.rank; )
|
|
787
|
-
u++;
|
|
788
|
-
c === f && (s = !1);
|
|
789
|
-
}
|
|
790
|
-
if (!s) {
|
|
791
|
-
for (; u < o.length - 1 && e.node(c = o[u + 1]).minRank <= a.rank; )
|
|
792
|
-
u++;
|
|
793
|
-
c = o[u];
|
|
794
|
-
}
|
|
795
|
-
e.setParent(r, c), r = e.successors(r)[0];
|
|
796
|
-
}
|
|
797
|
-
});
|
|
798
|
-
}
|
|
799
|
-
function an(e, n, r, a) {
|
|
800
|
-
var t = [], d = [], o = Math.min(n[r].low, n[a].low), f = Math.max(n[r].lim, n[a].lim), u, c;
|
|
801
|
-
u = r;
|
|
802
|
-
do
|
|
803
|
-
u = e.parent(u), t.push(u);
|
|
804
|
-
while (u && (n[u].low > o || f > n[u].lim));
|
|
805
|
-
for (c = u, u = a; (u = e.parent(u)) !== c; )
|
|
806
|
-
d.push(u);
|
|
807
|
-
return { path: t.concat(d.reverse()), lca: c };
|
|
808
|
-
}
|
|
809
|
-
function tn(e) {
|
|
810
|
-
var n = {}, r = 0;
|
|
811
|
-
function a(t) {
|
|
812
|
-
var d = r;
|
|
813
|
-
i.forEach(e.children(t), a), n[t] = { low: d, lim: r++ };
|
|
814
|
-
}
|
|
815
|
-
return i.forEach(e.children(), a), n;
|
|
816
|
-
}
|
|
817
|
-
function on(e, n) {
|
|
818
|
-
var r = {};
|
|
819
|
-
function a(t, d) {
|
|
820
|
-
var o = 0, f = 0, u = t.length, c = i.last(d);
|
|
821
|
-
return i.forEach(d, function(s, h) {
|
|
822
|
-
var l = fn(e, s), v = l ? e.node(l).order : u;
|
|
823
|
-
(l || s === c) && (i.forEach(d.slice(f, h + 1), function(p) {
|
|
824
|
-
i.forEach(e.predecessors(p), function(m) {
|
|
825
|
-
var y = e.node(m), T = y.order;
|
|
826
|
-
(T < o || v < T) && !(y.dummy && e.node(p).dummy) && re(r, m, p);
|
|
827
|
-
});
|
|
828
|
-
}), f = h + 1, o = v);
|
|
829
|
-
}), d;
|
|
830
|
-
}
|
|
831
|
-
return i.reduce(n, a), r;
|
|
832
|
-
}
|
|
833
|
-
function dn(e, n) {
|
|
834
|
-
var r = {};
|
|
835
|
-
function a(d, o, f, u, c) {
|
|
836
|
-
var s;
|
|
837
|
-
i.forEach(i.range(o, f), function(h) {
|
|
838
|
-
s = d[h], e.node(s).dummy && i.forEach(e.predecessors(s), function(l) {
|
|
839
|
-
var v = e.node(l);
|
|
840
|
-
v.dummy && (v.order < u || v.order > c) && re(r, l, s);
|
|
841
|
-
});
|
|
842
|
-
});
|
|
843
|
-
}
|
|
844
|
-
function t(d, o) {
|
|
845
|
-
var f = -1, u, c = 0;
|
|
846
|
-
return i.forEach(o, function(s, h) {
|
|
847
|
-
if (e.node(s).dummy === "border") {
|
|
848
|
-
var l = e.predecessors(s);
|
|
849
|
-
l.length && (u = e.node(l[0]).order, a(o, c, h, f, u), c = h, f = u);
|
|
850
|
-
}
|
|
851
|
-
a(o, c, o.length, u, d.length);
|
|
852
|
-
}), o;
|
|
853
|
-
}
|
|
854
|
-
return i.reduce(n, t), r;
|
|
855
|
-
}
|
|
856
|
-
function fn(e, n) {
|
|
857
|
-
if (e.node(n).dummy)
|
|
858
|
-
return i.find(e.predecessors(n), function(r) {
|
|
859
|
-
return e.node(r).dummy;
|
|
860
|
-
});
|
|
861
|
-
}
|
|
862
|
-
function re(e, n, r) {
|
|
863
|
-
if (n > r) {
|
|
864
|
-
var a = n;
|
|
865
|
-
n = r, r = a;
|
|
866
|
-
}
|
|
867
|
-
Object.prototype.hasOwnProperty.call(e, n) || Object.defineProperty(e, n, {
|
|
868
|
-
enumerable: !0,
|
|
869
|
-
configurable: !0,
|
|
870
|
-
value: {},
|
|
871
|
-
writable: !0
|
|
872
|
-
});
|
|
873
|
-
var t = e[n];
|
|
874
|
-
Object.defineProperty(t, r, {
|
|
875
|
-
enumerable: !0,
|
|
876
|
-
configurable: !0,
|
|
877
|
-
value: !0,
|
|
878
|
-
writable: !0
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
function un(e, n, r) {
|
|
882
|
-
if (n > r) {
|
|
883
|
-
var a = n;
|
|
884
|
-
n = r, r = a;
|
|
885
|
-
}
|
|
886
|
-
return !!e[n] && Object.prototype.hasOwnProperty.call(e[n], r);
|
|
887
|
-
}
|
|
888
|
-
function cn(e, n, r, a) {
|
|
889
|
-
var t = {}, d = {}, o = {};
|
|
890
|
-
return i.forEach(n, function(f) {
|
|
891
|
-
i.forEach(f, function(u, c) {
|
|
892
|
-
t[u] = u, d[u] = u, o[u] = c;
|
|
893
|
-
});
|
|
894
|
-
}), i.forEach(n, function(f) {
|
|
895
|
-
var u = -1;
|
|
896
|
-
i.forEach(f, function(c) {
|
|
897
|
-
var s = a(c);
|
|
898
|
-
if (s.length) {
|
|
899
|
-
s = i.sortBy(s, function(m) {
|
|
900
|
-
return o[m];
|
|
901
|
-
});
|
|
902
|
-
for (var h = (s.length - 1) / 2, l = Math.floor(h), v = Math.ceil(h); l <= v; ++l) {
|
|
903
|
-
var p = s[l];
|
|
904
|
-
d[c] === c && u < o[p] && !un(r, c, p) && (d[p] = c, d[c] = t[c] = t[p], u = o[p]);
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
});
|
|
908
|
-
}), { root: t, align: d };
|
|
909
|
-
}
|
|
910
|
-
function sn(e, n, r, a, t) {
|
|
911
|
-
var d = {}, o = hn(e, n, r, t), f = t ? "borderLeft" : "borderRight";
|
|
912
|
-
function u(h, l) {
|
|
913
|
-
for (var v = o.nodes(), p = v.pop(), m = {}; p; )
|
|
914
|
-
m[p] ? h(p) : (m[p] = !0, v.push(p), v = v.concat(l(p))), p = v.pop();
|
|
915
|
-
}
|
|
916
|
-
function c(h) {
|
|
917
|
-
d[h] = o.inEdges(h).reduce(function(l, v) {
|
|
918
|
-
return Math.max(l, d[v.v] + o.edge(v));
|
|
919
|
-
}, 0);
|
|
920
|
-
}
|
|
921
|
-
function s(h) {
|
|
922
|
-
var l = o.outEdges(h).reduce(function(p, m) {
|
|
923
|
-
return Math.min(p, d[m.w] - o.edge(m));
|
|
924
|
-
}, Number.POSITIVE_INFINITY), v = e.node(h);
|
|
925
|
-
l !== Number.POSITIVE_INFINITY && v.borderType !== f && (d[h] = Math.max(d[h], l));
|
|
926
|
-
}
|
|
927
|
-
return u(c, o.predecessors.bind(o)), u(s, o.successors.bind(o)), i.forEach(a, function(h) {
|
|
928
|
-
d[h] = d[r[h]];
|
|
929
|
-
}), d;
|
|
930
|
-
}
|
|
931
|
-
function hn(e, n, r, a) {
|
|
932
|
-
var t = new w(), d = e.graph(), o = wn(d.nodesep, d.edgesep, a);
|
|
933
|
-
return i.forEach(n, function(f) {
|
|
934
|
-
var u;
|
|
935
|
-
i.forEach(f, function(c) {
|
|
936
|
-
var s = r[c];
|
|
937
|
-
if (t.setNode(s), u) {
|
|
938
|
-
var h = r[u], l = t.edge(h, s);
|
|
939
|
-
t.setEdge(h, s, Math.max(o(e, c, u), l || 0));
|
|
940
|
-
}
|
|
941
|
-
u = c;
|
|
942
|
-
});
|
|
943
|
-
}), t;
|
|
944
|
-
}
|
|
945
|
-
function ln(e, n) {
|
|
946
|
-
return i.minBy(i.values(n), function(r) {
|
|
947
|
-
var a = Number.NEGATIVE_INFINITY, t = Number.POSITIVE_INFINITY;
|
|
948
|
-
return i.forIn(r, function(d, o) {
|
|
949
|
-
var f = bn(e, o) / 2;
|
|
950
|
-
a = Math.max(d + f, a), t = Math.min(d - f, t);
|
|
951
|
-
}), a - t;
|
|
952
|
-
});
|
|
953
|
-
}
|
|
954
|
-
function vn(e, n) {
|
|
955
|
-
var r = i.values(n), a = i.min(r), t = i.max(r);
|
|
956
|
-
i.forEach(["u", "d"], function(d) {
|
|
957
|
-
i.forEach(["l", "r"], function(o) {
|
|
958
|
-
var f = d + o, u = e[f], c;
|
|
959
|
-
if (u !== n) {
|
|
960
|
-
var s = i.values(u);
|
|
961
|
-
c = o === "l" ? a - i.min(s) : t - i.max(s), c && (e[f] = i.mapValues(u, function(h) {
|
|
962
|
-
return h + c;
|
|
963
|
-
}));
|
|
964
|
-
}
|
|
965
|
-
});
|
|
966
|
-
});
|
|
967
|
-
}
|
|
968
|
-
function pn(e, n) {
|
|
969
|
-
return i.mapValues(e.ul, function(r, a) {
|
|
970
|
-
if (n)
|
|
971
|
-
return e[n.toLowerCase()][a];
|
|
972
|
-
var t = i.sortBy(i.map(e, a));
|
|
973
|
-
return (t[1] + t[2]) / 2;
|
|
974
|
-
});
|
|
975
|
-
}
|
|
976
|
-
function mn(e) {
|
|
977
|
-
var n = k(e), r = i.merge(on(e, n), dn(e, n)), a = {}, t;
|
|
978
|
-
i.forEach(["u", "d"], function(o) {
|
|
979
|
-
t = o === "u" ? n : i.values(n).reverse(), i.forEach(["l", "r"], function(f) {
|
|
980
|
-
f === "r" && (t = i.map(t, function(h) {
|
|
981
|
-
return i.values(h).reverse();
|
|
982
|
-
}));
|
|
983
|
-
var u = (o === "u" ? e.predecessors : e.successors).bind(e), c = cn(e, t, r, u), s = sn(e, t, c.root, c.align, f === "r");
|
|
984
|
-
f === "r" && (s = i.mapValues(s, function(h) {
|
|
985
|
-
return -h;
|
|
986
|
-
})), a[o + f] = s;
|
|
987
|
-
});
|
|
988
|
-
});
|
|
989
|
-
var d = ln(e, a);
|
|
990
|
-
return vn(a, d), pn(a, e.graph().align);
|
|
991
|
-
}
|
|
992
|
-
function wn(e, n, r) {
|
|
993
|
-
return function(a, t, d) {
|
|
994
|
-
var o = a.node(t), f = a.node(d), u = 0, c;
|
|
995
|
-
if (u += o.width / 2, Object.prototype.hasOwnProperty.call(o, "labelpos"))
|
|
996
|
-
switch (o.labelpos.toLowerCase()) {
|
|
997
|
-
case "l":
|
|
998
|
-
c = -o.width / 2;
|
|
999
|
-
break;
|
|
1000
|
-
case "r":
|
|
1001
|
-
c = o.width / 2;
|
|
1002
|
-
break;
|
|
1003
|
-
}
|
|
1004
|
-
if (c && (u += r ? c : -c), c = 0, u += (o.dummy ? n : e) / 2, u += (f.dummy ? n : e) / 2, u += f.width / 2, Object.prototype.hasOwnProperty.call(f, "labelpos"))
|
|
1005
|
-
switch (f.labelpos.toLowerCase()) {
|
|
1006
|
-
case "l":
|
|
1007
|
-
c = f.width / 2;
|
|
1008
|
-
break;
|
|
1009
|
-
case "r":
|
|
1010
|
-
c = -f.width / 2;
|
|
1011
|
-
break;
|
|
1012
|
-
}
|
|
1013
|
-
return c && (u += r ? c : -c), c = 0, u;
|
|
1014
|
-
};
|
|
1015
|
-
}
|
|
1016
|
-
function bn(e, n) {
|
|
1017
|
-
return e.node(n).width;
|
|
1018
|
-
}
|
|
1019
|
-
function En(e) {
|
|
1020
|
-
e = U(e), yn(e), i.forOwn(mn(e), function(n, r) {
|
|
1021
|
-
e.node(r).x = n;
|
|
1022
|
-
});
|
|
1023
|
-
}
|
|
1024
|
-
function yn(e) {
|
|
1025
|
-
var n = k(e), r = e.graph().ranksep, a = 0;
|
|
1026
|
-
i.forEach(n, function(t) {
|
|
1027
|
-
var d = i.max(
|
|
1028
|
-
i.map(t, function(o) {
|
|
1029
|
-
return e.node(o).height;
|
|
1030
|
-
})
|
|
1031
|
-
);
|
|
1032
|
-
i.forEach(t, function(o) {
|
|
1033
|
-
e.node(o).y = a + d / 2;
|
|
1034
|
-
}), a += d + r;
|
|
1035
|
-
});
|
|
1036
|
-
}
|
|
1037
|
-
function Wn(e, n) {
|
|
1038
|
-
var r = pe;
|
|
1039
|
-
r("layout", () => {
|
|
1040
|
-
var a = r(" buildLayoutGraph", () => Cn(e));
|
|
1041
|
-
r(" runLayout", () => gn(a, r)), r(" updateInputGraph", () => kn(e, a));
|
|
1042
|
-
});
|
|
1043
|
-
}
|
|
1044
|
-
function gn(e, n) {
|
|
1045
|
-
n(" makeSpaceForEdgeLabels", () => Tn(e)), n(" removeSelfEdges", () => Dn(e)), n(" acyclic", () => fe(e)), n(" nestingGraph.run", () => Ve(e)), n(" rank", () => je(U(e))), n(" injectEdgeLabelProxies", () => jn(e)), n(" removeEmptyRanks", () => le(e)), n(" nestingGraph.cleanup", () => Ye(e)), n(" normalizeRanks", () => he(e)), n(" assignRankMinMax", () => Sn(e)), n(" removeEdgeLabelProxies", () => Mn(e)), n(" normalize.run", () => ge(e)), n(" parentDummyChains", () => rn(e)), n(" addBorderSegments", () => me(e)), n(" order", () => en(e)), n(" insertSelfEdges", () => Gn(e)), n(" adjustCoordinateSystem", () => we(e)), n(" position", () => En(e)), n(" positionSelfEdges", () => Un(e)), n(" removeBorderNodes", () => An(e)), n(" normalize.undo", () => xe(e)), n(" fixupEdgeLabelCoords", () => Fn(e)), n(" undoCoordinateSystem", () => be(e)), n(" translateGraph", () => Vn(e)), n(" assignNodeIntersects", () => Bn(e)), n(" reversePoints", () => Yn(e)), n(" acyclic.undo", () => ce(e));
|
|
1046
|
-
}
|
|
1047
|
-
function kn(e, n) {
|
|
1048
|
-
i.forEach(e.nodes(), function(r) {
|
|
1049
|
-
var a = e.node(r), t = n.node(r);
|
|
1050
|
-
a && (a.x = t.x, a.y = t.y, n.children(r).length && (a.width = t.width, a.height = t.height));
|
|
1051
|
-
}), i.forEach(e.edges(), function(r) {
|
|
1052
|
-
var a = e.edge(r), t = n.edge(r);
|
|
1053
|
-
a.points = t.points, Object.prototype.hasOwnProperty.call(t, "x") && (a.x = t.x, a.y = t.y);
|
|
1054
|
-
}), e.graph().width = n.graph().width, e.graph().height = n.graph().height;
|
|
1055
|
-
}
|
|
1056
|
-
var xn = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], On = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" }, Nn = ["acyclicer", "ranker", "rankdir", "align"], Ln = ["width", "height"], In = { width: 0, height: 0 }, Pn = ["minlen", "weight", "width", "height", "labeloffset"], Rn = {
|
|
1057
|
-
minlen: 1,
|
|
1058
|
-
weight: 1,
|
|
1059
|
-
width: 0,
|
|
1060
|
-
height: 0,
|
|
1061
|
-
labeloffset: 10,
|
|
1062
|
-
labelpos: "r"
|
|
1063
|
-
}, _n = ["labelpos"];
|
|
1064
|
-
function Cn(e) {
|
|
1065
|
-
var n = new w({ multigraph: !0, compound: !0 }), r = I(e.graph());
|
|
1066
|
-
return n.setGraph(
|
|
1067
|
-
i.merge({}, On, L(r, xn), i.pick(r, Nn))
|
|
1068
|
-
), i.forEach(e.nodes(), function(a) {
|
|
1069
|
-
var t = I(e.node(a));
|
|
1070
|
-
n.setNode(a, i.defaults(L(t, Ln), In)), n.setParent(a, e.parent(a));
|
|
1071
|
-
}), i.forEach(e.edges(), function(a) {
|
|
1072
|
-
var t = I(e.edge(a));
|
|
1073
|
-
n.setEdge(
|
|
1074
|
-
a,
|
|
1075
|
-
i.merge({}, Rn, L(t, Pn), i.pick(t, _n))
|
|
1076
|
-
);
|
|
1077
|
-
}), n;
|
|
1078
|
-
}
|
|
1079
|
-
function Tn(e) {
|
|
1080
|
-
var n = e.graph();
|
|
1081
|
-
n.ranksep /= 2, i.forEach(e.edges(), function(r) {
|
|
1082
|
-
var a = e.edge(r);
|
|
1083
|
-
a.minlen *= 2, a.labelpos.toLowerCase() !== "c" && (n.rankdir === "TB" || n.rankdir === "BT" ? a.width += a.labeloffset : a.height += a.labeloffset);
|
|
1084
|
-
});
|
|
1085
|
-
}
|
|
1086
|
-
function jn(e) {
|
|
1087
|
-
i.forEach(e.edges(), function(n) {
|
|
1088
|
-
var r = e.edge(n);
|
|
1089
|
-
if (r.width && r.height) {
|
|
1090
|
-
var a = e.node(n.v), t = e.node(n.w), d = { rank: (t.rank - a.rank) / 2 + a.rank, e: n };
|
|
1091
|
-
E(e, "edge-proxy", d, "_ep");
|
|
1092
|
-
}
|
|
1093
|
-
});
|
|
1094
|
-
}
|
|
1095
|
-
function Sn(e) {
|
|
1096
|
-
var n = 0;
|
|
1097
|
-
i.forEach(e.nodes(), function(r) {
|
|
1098
|
-
var a = e.node(r);
|
|
1099
|
-
a.borderTop && (a.minRank = e.node(a.borderTop).rank, a.maxRank = e.node(a.borderBottom).rank, n = i.max(n, a.maxRank));
|
|
1100
|
-
}), e.graph().maxRank = n;
|
|
1101
|
-
}
|
|
1102
|
-
function Mn(e) {
|
|
1103
|
-
i.forEach(e.nodes(), function(n) {
|
|
1104
|
-
var r = e.node(n);
|
|
1105
|
-
r.dummy === "edge-proxy" && (e.edge(r.e).labelRank = r.rank, e.removeNode(n));
|
|
1106
|
-
});
|
|
1107
|
-
}
|
|
1108
|
-
function Vn(e) {
|
|
1109
|
-
var n = Number.POSITIVE_INFINITY, r = 0, a = Number.POSITIVE_INFINITY, t = 0, d = e.graph(), o = d.marginx || 0, f = d.marginy || 0;
|
|
1110
|
-
function u(c) {
|
|
1111
|
-
var s = c.x, h = c.y, l = c.width, v = c.height;
|
|
1112
|
-
n = Math.min(n, s - l / 2), r = Math.max(r, s + l / 2), a = Math.min(a, h - v / 2), t = Math.max(t, h + v / 2);
|
|
1113
|
-
}
|
|
1114
|
-
i.forEach(e.nodes(), function(c) {
|
|
1115
|
-
u(e.node(c));
|
|
1116
|
-
}), i.forEach(e.edges(), function(c) {
|
|
1117
|
-
var s = e.edge(c);
|
|
1118
|
-
Object.prototype.hasOwnProperty.call(s, "x") && u(s);
|
|
1119
|
-
}), n -= o, a -= f, i.forEach(e.nodes(), function(c) {
|
|
1120
|
-
var s = e.node(c);
|
|
1121
|
-
s.x -= n, s.y -= a;
|
|
1122
|
-
}), i.forEach(e.edges(), function(c) {
|
|
1123
|
-
var s = e.edge(c);
|
|
1124
|
-
i.forEach(s.points, function(h) {
|
|
1125
|
-
h.x -= n, h.y -= a;
|
|
1126
|
-
}), Object.prototype.hasOwnProperty.call(s, "x") && (s.x -= n), Object.prototype.hasOwnProperty.call(s, "y") && (s.y -= a);
|
|
1127
|
-
}), d.width = r - n + o, d.height = t - a + f;
|
|
1128
|
-
}
|
|
1129
|
-
function Bn(e) {
|
|
1130
|
-
i.forEach(e.edges(), function(n) {
|
|
1131
|
-
var r = e.edge(n), a = e.node(n.v), t = e.node(n.w), d, o;
|
|
1132
|
-
r.points ? (d = r.points[0], o = r.points[r.points.length - 1]) : (r.points = [], d = t, o = a), r.points.unshift(S(a, d)), r.points.push(S(t, o));
|
|
1133
|
-
});
|
|
1134
|
-
}
|
|
1135
|
-
function Fn(e) {
|
|
1136
|
-
i.forEach(e.edges(), function(n) {
|
|
1137
|
-
var r = e.edge(n);
|
|
1138
|
-
if (Object.prototype.hasOwnProperty.call(r, "x"))
|
|
1139
|
-
switch ((r.labelpos === "l" || r.labelpos === "r") && (r.width -= r.labeloffset), r.labelpos) {
|
|
1140
|
-
case "l":
|
|
1141
|
-
r.x -= r.width / 2 + r.labeloffset;
|
|
1142
|
-
break;
|
|
1143
|
-
case "r":
|
|
1144
|
-
r.x += r.width / 2 + r.labeloffset;
|
|
1145
|
-
break;
|
|
1146
|
-
}
|
|
1147
|
-
});
|
|
1148
|
-
}
|
|
1149
|
-
function Yn(e) {
|
|
1150
|
-
i.forEach(e.edges(), function(n) {
|
|
1151
|
-
var r = e.edge(n);
|
|
1152
|
-
r.reversed && r.points.reverse();
|
|
1153
|
-
});
|
|
1154
|
-
}
|
|
1155
|
-
function An(e) {
|
|
1156
|
-
i.forEach(e.nodes(), function(n) {
|
|
1157
|
-
if (e.children(n).length) {
|
|
1158
|
-
var r = e.node(n), a = e.node(r.borderTop), t = e.node(r.borderBottom), d = e.node(i.last(r.borderLeft)), o = e.node(i.last(r.borderRight));
|
|
1159
|
-
r.width = Math.abs(o.x - d.x), r.height = Math.abs(t.y - a.y), r.x = d.x + r.width / 2, r.y = a.y + r.height / 2;
|
|
1160
|
-
}
|
|
1161
|
-
}), i.forEach(e.nodes(), function(n) {
|
|
1162
|
-
e.node(n).dummy === "border" && e.removeNode(n);
|
|
1163
|
-
});
|
|
1164
|
-
}
|
|
1165
|
-
function Dn(e) {
|
|
1166
|
-
i.forEach(e.edges(), function(n) {
|
|
1167
|
-
if (n.v === n.w) {
|
|
1168
|
-
var r = e.node(n.v);
|
|
1169
|
-
r.selfEdges || (r.selfEdges = []), r.selfEdges.push({ e: n, label: e.edge(n) }), e.removeEdge(n);
|
|
1170
|
-
}
|
|
1171
|
-
});
|
|
1172
|
-
}
|
|
1173
|
-
function Gn(e) {
|
|
1174
|
-
var n = k(e);
|
|
1175
|
-
i.forEach(n, function(r) {
|
|
1176
|
-
var a = 0;
|
|
1177
|
-
i.forEach(r, function(t, d) {
|
|
1178
|
-
var o = e.node(t);
|
|
1179
|
-
o.order = d + a, i.forEach(o.selfEdges, function(f) {
|
|
1180
|
-
E(
|
|
1181
|
-
e,
|
|
1182
|
-
"selfedge",
|
|
1183
|
-
{
|
|
1184
|
-
width: f.label.width,
|
|
1185
|
-
height: f.label.height,
|
|
1186
|
-
rank: o.rank,
|
|
1187
|
-
order: d + ++a,
|
|
1188
|
-
e: f.e,
|
|
1189
|
-
label: f.label
|
|
1190
|
-
},
|
|
1191
|
-
"_se"
|
|
1192
|
-
);
|
|
1193
|
-
}), delete o.selfEdges;
|
|
1194
|
-
});
|
|
1195
|
-
});
|
|
1196
|
-
}
|
|
1197
|
-
function Un(e) {
|
|
1198
|
-
i.forEach(e.nodes(), function(n) {
|
|
1199
|
-
var r = e.node(n);
|
|
1200
|
-
if (r.dummy === "selfedge") {
|
|
1201
|
-
var a = e.node(r.e.v), t = a.x + a.width / 2, d = a.y, o = r.x - t, f = a.height / 2;
|
|
1202
|
-
e.setEdge(r.e, r.label), e.removeNode(n), r.label.points = [
|
|
1203
|
-
{ x: t + 2 * o / 3, y: d - f },
|
|
1204
|
-
{ x: t + 5 * o / 6, y: d - f },
|
|
1205
|
-
{ x: t + o, y: d },
|
|
1206
|
-
{ x: t + 5 * o / 6, y: d + f },
|
|
1207
|
-
{ x: t + 2 * o / 3, y: d + f }
|
|
1208
|
-
], r.label.x = r.x, r.label.y = r.y;
|
|
1209
|
-
}
|
|
1210
|
-
});
|
|
1211
|
-
}
|
|
1212
|
-
function L(e, n) {
|
|
1213
|
-
return i.mapValues(i.pick(e, n), Number);
|
|
1214
|
-
}
|
|
1215
|
-
function I(e) {
|
|
1216
|
-
var n = {};
|
|
1217
|
-
return i.forEach(e, function(r, a) {
|
|
1218
|
-
n[a.toLowerCase()] = r;
|
|
1219
|
-
}), n;
|
|
1220
|
-
}
|
|
1221
|
-
export {
|
|
1222
|
-
Wn as l
|
|
1223
|
-
};
|