@marimo-team/islands 0.23.17-dev54 → 0.23.17-dev56
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/{ConnectedDataExplorerComponent-BBZRR1-C.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
- package/dist/{ErrorBoundary-CptUP1_t.js → ErrorBoundary-BniTEhHn.js} +7 -7
- package/dist/{ImageComparisonComponent-fdY0LUuf.js → ImageComparisonComponent-B7b8DcJI.js} +4 -4
- package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
- package/dist/_initCloneObject-DNUst5Cg.js +91 -0
- package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
- package/dist/{any-language-editor-BnIS9Mvg.js → any-language-editor-LHl8ZmVN.js} +26 -26
- package/dist/apl-Cwo7GIH7.js +4 -0
- package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
- package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
- package/dist/{architectureDiagram-VXUJARFQ-CfGr729i.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
- package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
- package/dist/asciiarmor-jrfEZ3j_.js +4 -0
- package/dist/asn1-BNEiJ4nQ.js +4 -0
- package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
- package/dist/brainfuck-BCunvTbd.js +4 -0
- package/dist/{button-8aS1QcHr.js → button-Dr2uAwhT.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-C_3ITiA6.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
- package/dist/{capabilities-D23lgbH_.js → capabilities-BilXeZ7p.js} +2 -2
- package/dist/{channel-Bg4StoYP.js → channel-CuV_jmG4.js} +1 -1
- package/dist/{chat-ui-JS5FK7Ls.js → chat-ui-o-tATfmW.js} +32 -33
- package/dist/{check-D-BaEjEh.js → check-58HHfHKy.js} +1 -1
- package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
- package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
- package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
- package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
- package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
- package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
- package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
- package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
- package/dist/{chunk-DI55MBZ5-CFmDWujZ.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
- package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
- package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
- package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
- package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
- package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
- package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
- package/dist/chunk-Bfp04NdC.js +25 -0
- package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
- package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
- package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
- package/dist/{chunk-B4BG7PRW-C0gy-pwj.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
- package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
- package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
- package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
- package/dist/{flowDiagram-NV44I4VS-C4JhRtt8.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
- package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
- package/dist/{chunk-QN33PNHL-D3s0CL4V.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
- package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
- package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
- package/dist/{chunk-S3R3BYOJ-eotljhmB.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
- package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
- package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
- package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
- package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
- package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
- package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
- package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
- package/dist/{chunk-ATLVNIR6-BPcuM5bj.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
- package/dist/{chunk-JA3XYJ7Z-Bpyllnke.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
- package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
- package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
- package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
- package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
- package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
- package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
- package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
- package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
- package/dist/clojure-2X0Rfij9.js +4 -0
- package/dist/cmake-DEwzCy9U.js +4 -0
- package/dist/cobol-Ck4eCoAB.js +4 -0
- package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
- package/dist/coffeescript-bB1IDwhg.js +4 -0
- package/dist/{common-BlDVQnXS.js → common-04M48ICO.js} +36 -36
- package/dist/commonlisp-BDYrVBNC.js +4 -0
- package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
- package/dist/{copy-BkA3t7rJ.js → copy-C7ZKMKox.js} +5 -5
- package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
- package/dist/crystal-BSoiVUiH.js +4 -0
- package/dist/css-w1h9i21f.js +4 -0
- package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
- package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
- package/dist/cypher-B4xzuKGP.js +4 -0
- package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
- package/dist/d-D50Bz34p.js +4 -0
- package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
- package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
- package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
- package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
- package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
- package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
- package/dist/{diagram-S2PKOQOG-B1wW-oRg.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
- package/dist/{diagram-PSM6KHXK-DK8uv8Yo.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
- package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
- package/dist/diff-BMdzfXq-.js +4 -0
- package/dist/{dist-DQj6A7SE.js → dist-72nb8Uag.js} +3 -3
- package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
- package/dist/{dist-BNeJ8P-4.js → dist-Awj73yUw.js} +3 -3
- package/dist/{dist-v-kAJfMq.js → dist-B0Ctcrt9.js} +1 -1
- package/dist/{dist-DjQRRttD.js → dist-B1Donbpk.js} +2 -2
- package/dist/dist-BC6wzWNb.js +5 -0
- package/dist/dist-BMd_RcOy.js +5 -0
- package/dist/dist-BZEWjN6r.js +5 -0
- package/dist/{dist-B-upo54Y.js → dist-B_K4AAkc.js} +1 -1
- package/dist/dist-BeuGjR3n.js +6 -0
- package/dist/dist-BfDQCUe6.js +5 -0
- package/dist/dist-BhNblTOV.js +8 -0
- package/dist/{dist-DGQmYLkh.js → dist-C0ifRfXi.js} +1 -1
- package/dist/{dist-BxR-g1ig.js → dist-C3mEki35.js} +2 -2
- package/dist/{dist-BT96P4oR.js → dist-CNfV2vDI.js} +2 -2
- package/dist/{dist-CBraAJlT.js → dist-COcQ5Vyc.js} +4 -4
- package/dist/dist-CRCm4Fuo.js +5 -0
- package/dist/{dist-Slyx4vXr.js → dist-CSZpLb9d.js} +1 -1
- package/dist/{dist-BvvQUFUK.js → dist-CWswQBvu.js} +1 -1
- package/dist/{dist-DFQ91Mx1.js → dist-CXYro_Nw.js} +4 -4
- package/dist/{dist-BrKNRKC8.js → dist-Ckfsc8C3.js} +2 -2
- package/dist/{dist-CWYsUX_O.js → dist-Cyq6Pxtv.js} +1 -1
- package/dist/{dist-Ba1WFESi.js → dist-D-BWPyoX.js} +5 -5
- package/dist/{dist-BDwn6WIk.js → dist-D-YB6j-O.js} +2 -2
- package/dist/{dist-dJeh9ef4.js → dist-D1vYHETp.js} +2 -2
- package/dist/{dist-3F1XDSYc.js → dist-D9-ePb6D.js} +2 -2
- package/dist/dist-DBPEbGkd.js +8 -0
- package/dist/{dist-DK0pFEmc.js → dist-DC409ROm.js} +1 -1
- package/dist/{dist-B1W12VzQ.js → dist-DJRUd9aM.js} +2 -2
- package/dist/{dist-Ddb0VFS3.js → dist-DLvxZEAK.js} +2 -2
- package/dist/dist-DSsl8IAI.js +5 -0
- package/dist/{dist-B6au1PTB.js → dist-D_ulymry.js} +2 -2
- package/dist/{dist-DgkJegw4.js → dist-DgY27bJ4.js} +3 -3
- package/dist/{dist-CDBV8n0I.js → dist-DiwVZiK7.js} +1 -1
- package/dist/{dist-CdKRSqjo.js → dist-DnYHhW6c.js} +2 -2
- package/dist/dist-Dx0kkrek.js +5 -0
- package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
- package/dist/dist-NKA1TU8a.js +6 -0
- package/dist/dist-ZFcsIdHj.js +8 -0
- package/dist/{dist-D8SX5Qdg.js → dist-iZ8-rtUy.js} +2 -2
- package/dist/{dist-DarwE0ZO.js → dist-j30bBjjN.js} +6 -6
- package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
- package/dist/{dist-BUzxp0Xf.js → dist-sxRUVPmt.js} +1 -1
- package/dist/dist-uA2RbGmY.js +5 -0
- package/dist/{dist-PQDZaPEo.js → dist-xVU82Nq7.js} +2 -2
- package/dist/dist-zSCo-xCB.js +8 -0
- package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
- package/dist/dtd-B9dCT0pu.js +4 -0
- package/dist/dylan-DLghDyuR.js +4 -0
- package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
- package/dist/ecl-w0qdPHDB.js +4 -0
- package/dist/eiffel-C5AWRCNP.js +4 -0
- package/dist/elm-CT8FZrOm.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-Cj186Id-.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
- package/dist/erlang-DPD-9M5g.js +4 -0
- package/dist/{error-banner-dmkbm21G.js → error-banner-BwCLtmkH.js} +6 -6
- package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
- package/dist/{esm-DEQU-LUO.js → esm-Dusmf6uu.js} +105 -105
- package/dist/{esm-D8vjxCyn.js → esm-QLUgkqzZ.js} +6 -6
- package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
- package/dist/{extends-DDOVg_b8.js → extends-iFBneQO_.js} +9 -9
- package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
- package/dist/factor-rFfeJu3r.js +4 -0
- package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
- package/dist/{formats-xc-Msa0v.js → formats-HSfYlcA8.js} +7 -7
- package/dist/forth-C-3AyQx4.js +4 -0
- package/dist/fortran-BSN9TeT7.js +4 -0
- package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
- package/dist/gas-DwmuvQpB.js +4 -0
- package/dist/gherkin-gmCjL-Sn.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
- package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
- package/dist/{glide-data-editor-CyTNN635.js → glide-data-editor-BI2i_IEE.js} +18 -18
- package/dist/graphlib-DMVIRZap.js +614 -0
- package/dist/groovy-DCjvesOy.js +4 -0
- package/dist/hasIn-synBnXn4.js +119 -0
- package/dist/haskell-C1p0D9L8.js +4 -0
- package/dist/haxe-q-fgv0zr.js +5 -0
- package/dist/{html-to-image-BHmg0rCT.js → html-to-image-BOiFHx3u.js} +7464 -2995
- package/dist/idl-Bmg4bsnK.js +4 -0
- package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
- package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
- package/dist/{input-B4ddy8Jy.js → input-BRE2a7Ay.js} +13 -13
- package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
- package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
- package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
- package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
- package/dist/javascript-BY5QZ-eN.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-C2o4LTpc.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
- package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
- package/dist/julia-DbR1YalK.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-jhGlnPMR.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
- package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
- package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
- package/dist/{label-CzHncDvS.js → label-CMh2d8pJ.js} +6 -6
- package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
- package/dist/{linear-BOGUO8Cd.js → linear-6pDlrp1I.js} +4 -4
- package/dist/livescript-BDUooIeL.js +4 -0
- package/dist/{loader-C7SfUdOD.js → loader-DTnbNSVZ.js} +3 -3
- package/dist/lua-CswAWSkH.js +4 -0
- package/dist/main.js +70 -71
- package/dist/map-BQ_Xp80D.js +137 -0
- package/dist/mathematica-Bw7v11B5.js +4 -0
- package/dist/mbox-j35IMz1j.js +4 -0
- package/dist/merge-CDbSrd9f.js +69 -0
- package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
- package/dist/mermaid-DpAz2sTy.js +1265 -0
- package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
- package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
- package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-5xLUaD4Q.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
- package/dist/mirc-Ba_RHVXO.js +4 -0
- package/dist/mllike-DbTP2dPp.js +6 -0
- package/dist/modelica-lpT3V1X6.js +4 -0
- package/dist/mscgen-BN4ZSJMx.js +6 -0
- package/dist/mumps-uI5g1A0g.js +4 -0
- package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
- package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
- package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
- package/dist/nsis-Df56GiRg.js +4 -0
- package/dist/ntriples-B3LWuG7W.js +4 -0
- package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
- package/dist/octave-CovfQgOx.js +4 -0
- package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
- package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
- package/dist/oz-DQQAvVFb.js +4 -0
- package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
- package/dist/pascal-xz94P9sf.js +4 -0
- package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
- package/dist/perl-aEWKE-1n.js +4 -0
- package/dist/pick-CaEWivSF.js +47 -0
- package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
- package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
- package/dist/pig-DB6DOZl7.js +4 -0
- package/dist/powershell-DM5saUx1.js +4 -0
- package/dist/{precisionRound-Bq50n-bG.js → precisionRound-BOoJTbDj.js} +1 -1
- package/dist/{process-output-hGrYEMdn.js → process-output-HrsM52f8.js} +7 -7
- package/dist/properties-BGjYQuGo.js +4 -0
- package/dist/protobuf-BPpEyPud.js +4 -0
- package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
- package/dist/pug-uJzB88ft.js +4 -0
- package/dist/puppet-oIm2d_Lg.js +4 -0
- package/dist/python-WE57eUzD.js +4 -0
- package/dist/q-CR8xPodo.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-_dxtOvzG.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
- package/dist/r-CJdmQZNj.js +4 -0
- package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
- package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
- package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
- package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
- package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
- package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
- package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
- package/dist/{react-vega-Cg17A6rO.js → react-vega-zyfTF9SY.js} +26 -26
- package/dist/{requirementDiagram-UZGBJVZJ-D13iq26A.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
- package/dist/{reveal-component-C-bXmcGz.js → reveal-component-CshIEPkn.js} +27 -28
- package/dist/rough.esm-lGyFQ0B-.js +1363 -0
- package/dist/rpm-Cm5K4RH9.js +5 -0
- package/dist/ruby-ArsuTozQ.js +4 -0
- package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
- package/dist/sas-DShligrE.js +4 -0
- package/dist/scheme-kDLirQL7.js +4 -0
- package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
- package/dist/shell-CVQuWP_N.js +4 -0
- package/dist/sieve-BW-ePwnq.js +4 -0
- package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
- package/dist/smalltalk-DI4aAXxY.js +4 -0
- package/dist/sparql-B2sp0oiz.js +4 -0
- package/dist/{spec-uMKNvMRZ.js → spec-BL1GSUUF.js} +4 -4
- package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
- package/dist/{stateDiagram-FKZM4ZOC-D5HAk2nG.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
- package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
- package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
- package/dist/stex-D2rme5UG.js +4 -0
- package/dist/{strings-BUDhKc0s.js → strings-DMLVGXRo.js} +10 -10
- package/dist/stylus-xxO-85eO.js +4 -0
- package/dist/swift-Ctg533nZ.js +4 -0
- package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
- package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
- package/dist/{swiper-component-dl1H9WIW.js → swiper-component-Cx0cRWLk.js} +6 -6
- package/dist/tcl-phm9c5Nd.js +4 -0
- package/dist/textile-CphjAg90.js +4 -0
- package/dist/{time-CQnohwNM.js → time-DAJu9fnj.js} +4 -4
- package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
- package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
- package/dist/{toDate-BiyuFdnT.js → toDate-BGM7kFtQ.js} +6 -6
- package/dist/toml-BUuMK772.js +4 -0
- package/dist/{tooltip-CkCWlUOf.js → tooltip-BtUxZT5h.js} +7 -7
- package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
- package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
- package/dist/troff-lCtc05A3.js +4 -0
- package/dist/ttcn-CcykzBcW.js +4 -0
- package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
- package/dist/turtle-CpfVZs8G.js +4 -0
- package/dist/{types-uENjXsiC.js → types-DT8UHI5w.js} +1 -1
- package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
- package/dist/{useAsyncData-DqJLysjC.js → useAsyncData-CDcbh-Qv.js} +5 -5
- package/dist/{useDateFormatter-BeN3fHMH.js → useDateFormatter-B_vTzxpm.js} +4 -4
- package/dist/{useDeepCompareMemoize-CvlmHAmy.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
- package/dist/{useIframeCapabilities-pLC-ceDP.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
- package/dist/{useLifecycle-D4N02q82.js → useLifecycle-Bw4wRj_O.js} +7 -7
- package/dist/{useTheme-Dur2p3iC.js → useTheme-BzEXeAR5.js} +6 -6
- package/dist/vb-VOIzXwm9.js +4 -0
- package/dist/vbscript-D0WfcnVk.js +4 -0
- package/dist/{vega-component-Cft458Sr.js → vega-component-CJug-VdR.js} +24 -24
- package/dist/{vega-embed-container-S9gRu4TZ.js → vega-embed-container-BRjjqRGz.js} +9 -9
- package/dist/{vega-loader.browser-CmLRI3wk.js → vega-loader.browser-CGb-2Kwi.js} +4 -4
- package/dist/velocity-CCrc5n-0.js +4 -0
- package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
- package/dist/verilog-BLFhaDBH.js +4 -0
- package/dist/vhdl-DjuqPE9b.js +4 -0
- package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
- package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
- package/dist/webidl-Cc7RrfeK.js +4 -0
- package/dist/xquery-BiCRLnNG.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BteofzPY.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
- package/dist/yacas-CWcjav-O.js +4 -0
- package/dist/z80-DpYS2lE7.js +4 -0
- package/dist/{zod-yTHHzJiv.js → zod-BFY2SnzC.js} +6 -6
- package/package.json +1 -1
- package/dist/_baseUniq-B_2Hw7zG.js +0 -380
- package/dist/apl-e1B5LPEL.js +0 -4
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
- package/dist/asciiarmor-B-gwgesP.js +0 -4
- package/dist/asn1-DF2ckRB4.js +0 -4
- package/dist/blockDiagram-VD42YOAC-hD9KGMwe.js +0 -3131
- package/dist/brainfuck-4G-7_gq_.js +0 -4
- package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
- package/dist/chunk-ABZYJK2D-BK1Rtvs7.js +0 -2438
- package/dist/chunk-BNovOVIE.js +0 -28
- package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
- package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
- package/dist/chunk-EXTU4WIE-7ui7-6r0.js +0 -10
- package/dist/chunk-JZLCHNYA-B4cRqwyW.js +0 -4901
- package/dist/chunk-N4CR4FBY-B3gMBPd2.js +0 -65
- package/dist/chunk-QXUST7PY-Dd6bFvvl.js +0 -498
- package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
- package/dist/chunk-TZMSLE5B-CA_LyLfN.js +0 -63
- package/dist/classDiagram-2ON5EDUG-DX1IPeNG.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-BOkyBkSn.js +0 -30
- package/dist/clojure-CUybM11R.js +0 -4
- package/dist/clone-Q4Fqwn6q.js +0 -9
- package/dist/cmake-BPjGcuDL.js +0 -4
- package/dist/cobol-BETk_nb6.js +0 -4
- package/dist/coffeescript-CManZxXL.js +0 -4
- package/dist/commonlisp-DWkn7GW8.js +0 -4
- package/dist/crystal-CCbg5EUH.js +0 -4
- package/dist/css-By8eo-XS.js +0 -4
- package/dist/cypher-DwfHg3nP.js +0 -4
- package/dist/d-Brs1wNbw.js +0 -4
- package/dist/dagre-6UL2VRFP-Dtksc2Ic.js +0 -296
- package/dist/diagram-QEK2KX5R-BiGjCFD8.js +0 -228
- package/dist/diff-DJIRmJ1g.js +0 -4
- package/dist/dist-BDzVdDo2.js +0 -8
- package/dist/dist-BH2Tq1S1.js +0 -5
- package/dist/dist-BIhBrzqg.js +0 -5
- package/dist/dist-BLCsvXTG.js +0 -6
- package/dist/dist-BNVtuFdd.js +0 -5
- package/dist/dist-CEJ6Lowi.js +0 -5
- package/dist/dist-CYoa69kj.js +0 -5
- package/dist/dist-CnZyXFq3.js +0 -8
- package/dist/dist-D-4HaJKc.js +0 -8
- package/dist/dist-DIGyvbg3.js +0 -5
- package/dist/dist-DIhaoCL4.js +0 -5
- package/dist/dist-DgQleHmb.js +0 -8
- package/dist/dist-JaoLzZmt.js +0 -5
- package/dist/dist-pEX0t8ZV.js +0 -6
- package/dist/dtd-Dyiazv4N.js +0 -4
- package/dist/dylan-D8Fcw7NA.js +0 -4
- package/dist/ecl-CjKp8Vii.js +0 -4
- package/dist/eiffel-K9ViOX5r.js +0 -4
- package/dist/elm-B5NVtRco.js +0 -4
- package/dist/erlang-BnLzgk7R.js +0 -4
- package/dist/factor-C7f9Jz5R.js +0 -4
- package/dist/flatten-Bbw7g6-K.js +0 -8
- package/dist/forth-rGM8jLao.js +0 -4
- package/dist/fortran-B3acSe0i.js +0 -4
- package/dist/ganttDiagram-JELNMOA3-BajNb0ER.js +0 -2170
- package/dist/gas-Bb1Vmv_N.js +0 -4
- package/dist/gherkin-C9Lyidgd.js +0 -4
- package/dist/gitGraphDiagram-V2S2FVAM-DOqdyiwH.js +0 -652
- package/dist/graphlib-Ns7y5crs.js +0 -359
- package/dist/groovy-DQk6XcGH.js +0 -4
- package/dist/hasIn-Deg7jl_j.js +0 -108
- package/dist/haskell-mV0Vw9gv.js +0 -4
- package/dist/haxe-DqxN89zH.js +0 -5
- package/dist/idl-ya8W561J.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-BH1Wx7lK.js +0 -30
- package/dist/javascript-CgqgptVu.js +0 -4
- package/dist/julia-CFQ-HusI.js +0 -4
- package/dist/livescript-D__3TmDo.js +0 -4
- package/dist/lua-Bytcgj_W.js +0 -4
- package/dist/main-B1Jo_8pC.js +0 -4321
- package/dist/mathematica-DJhvVKvl.js +0 -4
- package/dist/mbox-IGHPCjfR.js +0 -4
- package/dist/memoize-BOtf2yFf.js +0 -17
- package/dist/merge-Be1CqGnU.js +0 -222
- package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
- package/dist/mermaid-CcP2SLvE.js +0 -1100
- package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
- package/dist/min-Dtgc8txR.js +0 -38
- package/dist/mirc-tcwvVugm.js +0 -4
- package/dist/mllike-Dx91i62r.js +0 -6
- package/dist/modelica-_SRt-yU5.js +0 -4
- package/dist/mscgen-GZrGS9gt.js +0 -6
- package/dist/mumps-Cv3ygyod.js +0 -4
- package/dist/nsis-BU7GeGbI.js +0 -4
- package/dist/ntriples-CL-FCYXb.js +0 -4
- package/dist/octave-Dc6_3DIu.js +0 -4
- package/dist/oz-DpUAJCXf.js +0 -4
- package/dist/pascal-B17mncXs.js +0 -4
- package/dist/perl-BTpK97q9.js +0 -4
- package/dist/pick-D1Qo8s2C.js +0 -43
- package/dist/pieDiagram-ADFJNKIX-QtR5ck48.js +0 -170
- package/dist/pig-CFb638Ap.js +0 -4
- package/dist/powershell-Cxo-_2A5.js +0 -4
- package/dist/properties-BPgT1xTB.js +0 -4
- package/dist/protobuf-BgHBaIIK.js +0 -4
- package/dist/pug-25-oS0SG.js +0 -4
- package/dist/puppet-DarIr20S.js +0 -4
- package/dist/python-BqmOsBsi.js +0 -4
- package/dist/q-D3QJCTup.js +0 -4
- package/dist/r-Cz_yBX4z.js +0 -4
- package/dist/rpm-DGOtYwAI.js +0 -5
- package/dist/ruby-DBZu4rPc.js +0 -4
- package/dist/sankeyDiagram-TZEHDZUN-DH-_Uzcr.js +0 -892
- package/dist/sas-Dd1D9qTq.js +0 -4
- package/dist/scheme-BmDjvTHX.js +0 -4
- package/dist/sequenceDiagram-WL72ISMW-DZrj5IJC.js +0 -3652
- package/dist/shell-BL8zFSaj.js +0 -4
- package/dist/sieve-BAx2WqUP.js +0 -4
- package/dist/smalltalk-CYRzF7VV.js +0 -4
- package/dist/sparql-YWaDRO4A.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-DAfwaV0Z.js +0 -29
- package/dist/stex-B5O-env2.js +0 -4
- package/dist/stylus-lYsyLFc1.js +0 -4
- package/dist/swift-ClQz9z1n.js +0 -4
- package/dist/tcl-B3jhsfqY.js +0 -4
- package/dist/textile-Cb1Dw7Aq.js +0 -4
- package/dist/timeline-definition-IT6M3QCI-O5etBvZb.js +0 -856
- package/dist/toml-nHZhetdO.js +0 -4
- package/dist/troff-DuJAGWKH.js +0 -4
- package/dist/ttcn-BxrcwP21.js +0 -4
- package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
- package/dist/turtle-zCq949as.js +0 -4
- package/dist/vb-De5hElus.js +0 -4
- package/dist/vbscript-Cypcpv4F.js +0 -4
- package/dist/velocity-Di7l-yhe.js +0 -4
- package/dist/verilog-Bzi-S3g2.js +0 -4
- package/dist/vhdl-B0ZZITaW.js +0 -4
- package/dist/webidl-0sviiRcN.js +0 -4
- package/dist/xquery-B4qMVWaB.js +0 -4
- package/dist/yacas-Jt25Fuv8.js +0 -4
- package/dist/z80-CrcbYzmp.js +0 -4
- /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
- /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
- /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
- /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
- /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
- /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
- /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
- /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
- /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
- /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
- /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
- /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
- /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
- /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
- /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
- /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
- /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
- /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
- /package/dist/{defaultLocale-BsfI21d_.js → defaultLocale-CMezyvMc.js} +0 -0
- /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
- /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
- /package/dist/{dist-Cds3J-EE.js → dist-BJ2IUa0l.js} +0 -0
- /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
- /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
- /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
- /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
- /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
- /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
- /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
- /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
- /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
- /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
- /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
- /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
- /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
- /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
- /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
- /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
- /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
- /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
- /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
- /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
- /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
- /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
- /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
- /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
- /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
- /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
- /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
- /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
- /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
- /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
- /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
- /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
- /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
- /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
- /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
- /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
- /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
- /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
- /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
- /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
- /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
- /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
- /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
- /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
- /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
- /package/dist/{purify.es-dp2utXxY.js → purify.es-DR5PNXwx.js} +0 -0
- /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
- /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
- /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
- /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
- /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
- /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
- /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
- /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
- /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
- /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
- /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
- /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
- /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
- /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
- /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
- /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
- /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
- /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
- /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
- /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
- /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
- /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
- /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
- /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
- /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
- /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
- /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
- /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
- /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
- /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
- /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
- /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
- /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
- /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
- /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
- /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
- /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
- /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
- /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
|
@@ -1900,12 +1900,12 @@ var Heap = /* @__PURE__ */ getDefaultExportFromCjs(requireHeap()), dijkstraDefau
|
|
|
1900
1900
|
Q.push(b(Z).edge);
|
|
1901
1901
|
for (var $ = b(Z).pred; Q.indexOf($) === -1; ) Q.push($), Q.push(b($).edge), $ = b($).pred;
|
|
1902
1902
|
Q = Q.slice(Q.indexOf($));
|
|
1903
|
-
for (var
|
|
1904
|
-
Q = Q.slice(
|
|
1905
|
-
var
|
|
1903
|
+
for (var Nh = Q[0].id(), Ph = 0, Fh = 2; Fh < Q.length; Fh += 2) Q[Fh].id() < Nh && (Nh = Q[Fh].id(), Ph = Fh);
|
|
1904
|
+
Q = Q.slice(Ph).concat(Q.slice(0, Ph)), Q.push(Q[0]);
|
|
1905
|
+
var Ih = Q.map(function(e2) {
|
|
1906
1906
|
return e2.id();
|
|
1907
1907
|
}).join(",");
|
|
1908
|
-
z.indexOf(
|
|
1908
|
+
z.indexOf(Ih) === -1 && (_.push(c.spawn(Q)), z.push(Ih));
|
|
1909
1909
|
}
|
|
1910
1910
|
} else break;
|
|
1911
1911
|
}
|
|
@@ -3089,7 +3089,7 @@ var defaults$b = defaults$g({
|
|
|
3089
3089
|
var Q = J[a[n[Z].id()]];
|
|
3090
3090
|
Q != null && Y[Q].push(n[Z]);
|
|
3091
3091
|
}
|
|
3092
|
-
for (var $ = Array(q.length),
|
|
3092
|
+
for (var $ = Array(q.length), Nh = 0; Nh < q.length; Nh++) $[Nh] = t.collection(Y[q[Nh]]);
|
|
3093
3093
|
return $;
|
|
3094
3094
|
}, affinityPropagation$1 = {
|
|
3095
3095
|
affinityPropagation,
|
|
@@ -5438,7 +5438,42 @@ fn$4 = elesfn$c = {
|
|
|
5438
5438
|
return this;
|
|
5439
5439
|
}
|
|
5440
5440
|
}, fn$4.modelPosition = fn$4.point = fn$4.position, fn$4.modelPositions = fn$4.points = fn$4.positions, fn$4.renderedPoint = fn$4.renderedPosition, fn$4.relativePoint = fn$4.relativePosition;
|
|
5441
|
-
var position = elesfn$c,
|
|
5441
|
+
var position = elesfn$c, labelHalign = function(e) {
|
|
5442
|
+
switch (e) {
|
|
5443
|
+
case "left":
|
|
5444
|
+
case "right-inside":
|
|
5445
|
+
return "left";
|
|
5446
|
+
case "right":
|
|
5447
|
+
case "left-inside":
|
|
5448
|
+
return "right";
|
|
5449
|
+
default:
|
|
5450
|
+
return "center";
|
|
5451
|
+
}
|
|
5452
|
+
}, labelValign = function(e) {
|
|
5453
|
+
switch (e) {
|
|
5454
|
+
case "top":
|
|
5455
|
+
case "bottom-inside":
|
|
5456
|
+
return "top";
|
|
5457
|
+
case "bottom":
|
|
5458
|
+
case "top-inside":
|
|
5459
|
+
return "bottom";
|
|
5460
|
+
default:
|
|
5461
|
+
return "center";
|
|
5462
|
+
}
|
|
5463
|
+
}, labelJustification = function(e) {
|
|
5464
|
+
switch (e) {
|
|
5465
|
+
case "left":
|
|
5466
|
+
return "right";
|
|
5467
|
+
case "right":
|
|
5468
|
+
return "left";
|
|
5469
|
+
case "left-inside":
|
|
5470
|
+
return "left";
|
|
5471
|
+
case "right-inside":
|
|
5472
|
+
return "right";
|
|
5473
|
+
default:
|
|
5474
|
+
return "center";
|
|
5475
|
+
}
|
|
5476
|
+
}, fn$3 = elesfn$b = {}, elesfn$b;
|
|
5442
5477
|
elesfn$b.renderedBoundingBox = function(e) {
|
|
5443
5478
|
var t = this.boundingBox(e), n = this.cy(), r = n.zoom(), a = n.pan(), o = t.x1 * r + a.x, s = t.x2 * r + a.x, c = t.y1 * r + a.y, l = t.y2 * r + a.y;
|
|
5444
5479
|
return {
|
|
@@ -5548,7 +5583,7 @@ var noninf = function(e) {
|
|
|
5548
5583
|
var s = t.pstyle("text-halign"), c = t.pstyle("text-valign"), l = prefixedProperty(o, "labelWidth", n), u = prefixedProperty(o, "labelHeight", n), d = prefixedProperty(o, "labelX", n), f = prefixedProperty(o, "labelY", n), m = t.pstyle(r + "text-margin-x").pfValue, h = t.pstyle(r + "text-margin-y").pfValue, g = t.isEdge(), _ = t.pstyle(r + "text-rotation"), v = t.pstyle("text-outline-width").pfValue, b = t.pstyle("text-border-width").pfValue / 2, S = t.pstyle("text-background-padding").pfValue, C = 2, w = u, T = l, E = T / 2, D = w / 2, O, k, A, j;
|
|
5549
5584
|
if (g) O = d - E, k = d + E, A = f - D, j = f + D;
|
|
5550
5585
|
else {
|
|
5551
|
-
switch (s.value) {
|
|
5586
|
+
switch (labelHalign(s.value)) {
|
|
5552
5587
|
case "left":
|
|
5553
5588
|
O = d - T, k = d;
|
|
5554
5589
|
break;
|
|
@@ -5559,7 +5594,7 @@ var noninf = function(e) {
|
|
|
5559
5594
|
O = d, k = d + T;
|
|
5560
5595
|
break;
|
|
5561
5596
|
}
|
|
5562
|
-
switch (c.value) {
|
|
5597
|
+
switch (labelValign(c.value)) {
|
|
5563
5598
|
case "top":
|
|
5564
5599
|
A = f - w, j = f;
|
|
5565
5600
|
break;
|
|
@@ -5579,7 +5614,7 @@ var noninf = function(e) {
|
|
|
5579
5614
|
if (z || B) {
|
|
5580
5615
|
var V = z ? prefixedProperty(a.rstyle, "labelAngle", n) : _.pfValue, H = Math.cos(V), U = Math.sin(V), W = (O + k) / 2, G = (A + j) / 2;
|
|
5581
5616
|
if (!g) {
|
|
5582
|
-
switch (s.value) {
|
|
5617
|
+
switch (labelHalign(s.value)) {
|
|
5583
5618
|
case "left":
|
|
5584
5619
|
W = k;
|
|
5585
5620
|
break;
|
|
@@ -5587,7 +5622,7 @@ var noninf = function(e) {
|
|
|
5587
5622
|
W = O;
|
|
5588
5623
|
break;
|
|
5589
5624
|
}
|
|
5590
|
-
switch (c.value) {
|
|
5625
|
+
switch (labelValign(c.value)) {
|
|
5591
5626
|
case "top":
|
|
5592
5627
|
G = j;
|
|
5593
5628
|
break;
|
|
@@ -5616,13 +5651,16 @@ var noninf = function(e) {
|
|
|
5616
5651
|
}
|
|
5617
5652
|
}, updateBoundsFromMiter = function(e, t, n, r, a, o) {
|
|
5618
5653
|
if (!(n === 0 || r <= 0 || a === "inside")) {
|
|
5619
|
-
var s = t.cy()
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
o,
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5654
|
+
var s = t.cy().renderer(), c = s.nodeShapes[s.getNodeShape(t)];
|
|
5655
|
+
if (c) {
|
|
5656
|
+
var l = t.position(), u = l.x, d = l.y, f = t.width(), m = t.height();
|
|
5657
|
+
c.hasMiterBounds ? (a === "center" && (r /= 2), updateBoundsFromBox(e, c.miterBounds(u, d, f, m, r))) : o != null && o > 0 && expandBoundingBoxSides(e, [
|
|
5658
|
+
o,
|
|
5659
|
+
o,
|
|
5660
|
+
o,
|
|
5661
|
+
o
|
|
5662
|
+
]);
|
|
5663
|
+
}
|
|
5626
5664
|
}
|
|
5627
5665
|
}, updateBoundsFromMiterBorder = function(e, t) {
|
|
5628
5666
|
if (!t.cy().headless()) {
|
|
@@ -7122,7 +7160,7 @@ elesfn$1.instanceString = function() {
|
|
|
7122
7160
|
if (h.isEdge()) {
|
|
7123
7161
|
for (var S = h, C = ["source", "target"], w = C.length, T = false, E = 0; E < w; E++) {
|
|
7124
7162
|
var D = C[E], O = _[D];
|
|
7125
|
-
number$1(O) && (O = _[D] = "" + _[D]), O == null || O === "" ? (error("Can not create edge `" + v + "` with unspecified " + D), T = true) : r.hasElementWithId(O) || (error("Can not create edge `" + v + "` with
|
|
7163
|
+
number$1(O) && (O = _[D] = "" + _[D]), O == null || O === "" ? (error("Can not create edge `" + v + "` with unspecified " + D), T = true) : r.hasElementWithId(O) || (error("Can not create edge `" + v + "` with nonexistent " + D + " `" + O + "`"), T = true);
|
|
7126
7164
|
}
|
|
7127
7165
|
if (T) {
|
|
7128
7166
|
m();
|
|
@@ -8619,13 +8657,17 @@ var styfn$2 = {};
|
|
|
8619
8657
|
zIndexCompare: { enums: ["auto", "manual"] },
|
|
8620
8658
|
valign: { enums: [
|
|
8621
8659
|
"top",
|
|
8660
|
+
"top-inside",
|
|
8622
8661
|
"center",
|
|
8623
|
-
"bottom"
|
|
8662
|
+
"bottom",
|
|
8663
|
+
"bottom-inside"
|
|
8624
8664
|
] },
|
|
8625
8665
|
halign: { enums: [
|
|
8626
8666
|
"left",
|
|
8667
|
+
"left-inside",
|
|
8627
8668
|
"center",
|
|
8628
|
-
"right"
|
|
8669
|
+
"right",
|
|
8670
|
+
"right-inside"
|
|
8629
8671
|
] },
|
|
8630
8672
|
justification: { enums: [
|
|
8631
8673
|
"left",
|
|
@@ -8633,6 +8675,7 @@ var styfn$2 = {};
|
|
|
8633
8675
|
"right",
|
|
8634
8676
|
"auto"
|
|
8635
8677
|
] },
|
|
8678
|
+
textMetrics: { enums: ["font", "glyph"] },
|
|
8636
8679
|
text: { string: true },
|
|
8637
8680
|
data: {
|
|
8638
8681
|
mapping: true,
|
|
@@ -8947,6 +8990,10 @@ var styfn$2 = {};
|
|
|
8947
8990
|
name: "text-justification",
|
|
8948
8991
|
type: u.justification
|
|
8949
8992
|
},
|
|
8993
|
+
{
|
|
8994
|
+
name: "text-metrics",
|
|
8995
|
+
type: u.textMetrics
|
|
8996
|
+
},
|
|
8950
8997
|
{
|
|
8951
8998
|
name: "box-select-labels",
|
|
8952
8999
|
type: u.bool,
|
|
@@ -9765,6 +9812,7 @@ var styfn$2 = {};
|
|
|
9765
9812
|
"underlay-padding": 10,
|
|
9766
9813
|
"underlay-shape": "round-rectangle",
|
|
9767
9814
|
"underlay-corner-radius": "auto",
|
|
9815
|
+
"text-metrics": "font",
|
|
9768
9816
|
"transition-property": "none",
|
|
9769
9817
|
"transition-duration": 0,
|
|
9770
9818
|
"transition-delay": 0,
|
|
@@ -10885,10 +10933,10 @@ BreadthFirstLayout.prototype.run = function() {
|
|
|
10885
10933
|
for (var e2 = 0; e2 < J; e2++) O(e2);
|
|
10886
10934
|
})());
|
|
10887
10935
|
for (var Q = 0, $ = 0; $ < J; $++) Q = Math.max(b[$].length, Q);
|
|
10888
|
-
var
|
|
10936
|
+
var Nh = {
|
|
10889
10937
|
x: l.x1 + l.w / 2,
|
|
10890
10938
|
y: l.y1 + l.h / 2
|
|
10891
|
-
},
|
|
10939
|
+
}, Ph = r.reduce(function(t2, n2) {
|
|
10892
10940
|
return (function(e2) {
|
|
10893
10941
|
return {
|
|
10894
10942
|
w: t2.w === -1 ? e2.w : (t2.w + e2.w) / 2,
|
|
@@ -10898,33 +10946,33 @@ BreadthFirstLayout.prototype.run = function() {
|
|
|
10898
10946
|
}, {
|
|
10899
10947
|
w: -1,
|
|
10900
10948
|
h: -1
|
|
10901
|
-
}),
|
|
10949
|
+
}), Fh = Math.max(J === 1 ? 0 : c ? (l.h - e.padding * 2 - Ph.h) / (J - 1) : (l.h - e.padding * 2 - Ph.h) / (J + 1), z), Ih = b.reduce(function(e2, t2) {
|
|
10902
10950
|
return Math.max(e2, t2.length);
|
|
10903
|
-
}, 0),
|
|
10951
|
+
}, 0), Lh = function(t2) {
|
|
10904
10952
|
var n2 = getInfo(t2), r2 = n2.depth, a2 = n2.index;
|
|
10905
10953
|
if (e.circle) {
|
|
10906
10954
|
var o2 = Math.min(l.w / 2 / J, l.h / 2 / J);
|
|
10907
10955
|
o2 = Math.max(o2, z);
|
|
10908
10956
|
var s2 = o2 * r2 + o2 - (J > 0 && b[0].length <= 3 ? o2 / 2 : 0), u2 = 2 * Math.PI / b[r2].length * a2;
|
|
10909
10957
|
return r2 === 0 && b[0].length === 1 && (s2 = 1), {
|
|
10910
|
-
x:
|
|
10911
|
-
y:
|
|
10958
|
+
x: Nh.x + s2 * Math.cos(u2),
|
|
10959
|
+
y: Nh.y + s2 * Math.sin(u2)
|
|
10912
10960
|
};
|
|
10913
10961
|
} else {
|
|
10914
|
-
var d2 = b[r2].length, f2 = Math.max(d2 === 1 ? 0 : c ? (l.w - e.padding * 2 -
|
|
10962
|
+
var d2 = b[r2].length, f2 = Math.max(d2 === 1 ? 0 : c ? (l.w - e.padding * 2 - Ph.w) / ((e.grid ? Ih : d2) - 1) : (l.w - e.padding * 2 - Ph.w) / ((e.grid ? Ih : d2) + 1), z);
|
|
10915
10963
|
return {
|
|
10916
|
-
x:
|
|
10917
|
-
y:
|
|
10964
|
+
x: Nh.x + (a2 + 1 - (d2 + 1) / 2) * f2,
|
|
10965
|
+
y: Nh.y + (r2 + 1 - (J + 1) / 2) * Fh
|
|
10918
10966
|
};
|
|
10919
10967
|
}
|
|
10920
|
-
},
|
|
10968
|
+
}, Rh = {
|
|
10921
10969
|
downward: 0,
|
|
10922
10970
|
leftward: 90,
|
|
10923
10971
|
upward: 180,
|
|
10924
10972
|
rightward: -90
|
|
10925
10973
|
};
|
|
10926
|
-
return Object.keys(
|
|
10927
|
-
return rotatePosAndSkewByBox(
|
|
10974
|
+
return Object.keys(Rh).indexOf(e.direction) === -1 && error(`Invalid direction '${e.direction}' specified for breadthfirst layout. Valid values are: ${Object.keys(Rh).join(", ")}`), n.nodes().layoutPositions(this, e, function(t2) {
|
|
10975
|
+
return rotatePosAndSkewByBox(Lh(t2), l, Rh[e.direction]);
|
|
10928
10976
|
}), this;
|
|
10929
10977
|
};
|
|
10930
10978
|
var defaults$6 = {
|
|
@@ -11284,7 +11332,7 @@ var createLayoutInfo = function(e, t, n) {
|
|
|
11284
11332
|
nodeRepulsion(s, l, e, t);
|
|
11285
11333
|
}
|
|
11286
11334
|
}, randomDistance = function(e) {
|
|
11287
|
-
return -
|
|
11335
|
+
return -e + 2 * e * Math.random();
|
|
11288
11336
|
}, nodeRepulsion = function(e, t, n, r) {
|
|
11289
11337
|
if (!(e.cmptId !== t.cmptId && !n.isCompound)) {
|
|
11290
11338
|
var a = t.positionX - e.positionX, o = t.positionY - e.positionY, s = 1;
|
|
@@ -12452,17 +12500,17 @@ BRp$c.findMidptPtsEtc = function(e, t) {
|
|
|
12452
12500
|
$
|
|
12453
12501
|
];
|
|
12454
12502
|
} else {
|
|
12455
|
-
var
|
|
12503
|
+
var Nh = d.x1 + B + (_ ? f / 2 * R : 0);
|
|
12456
12504
|
n.segpts = [
|
|
12457
|
-
|
|
12505
|
+
Nh,
|
|
12458
12506
|
d.y1,
|
|
12459
|
-
|
|
12507
|
+
Nh,
|
|
12460
12508
|
d.y2
|
|
12461
12509
|
];
|
|
12462
12510
|
}
|
|
12463
12511
|
if (n.isRound) {
|
|
12464
|
-
var
|
|
12465
|
-
n.radii = Array(n.segpts.length / 2).fill(
|
|
12512
|
+
var Ph = e.pstyle("taxi-radius").value, Fh = e.pstyle("radius-type").value[0] === "arc-radius";
|
|
12513
|
+
n.radii = Array(n.segpts.length / 2).fill(Ph), n.isArcRadius = Array(n.segpts.length / 2).fill(Fh);
|
|
12466
12514
|
}
|
|
12467
12515
|
}, BRp$c.tryToCorrectInvalidPoints = function(e, t) {
|
|
12468
12516
|
var n = e._private.rscratch;
|
|
@@ -12689,8 +12737,8 @@ BRp$c.findMidptPtsEtc = function(e, t) {
|
|
|
12689
12737
|
}
|
|
12690
12738
|
};
|
|
12691
12739
|
}
|
|
12692
|
-
var
|
|
12693
|
-
L.nodesOverlap =
|
|
12740
|
+
var Ph = B ? f2 : d2;
|
|
12741
|
+
L.nodesOverlap = Ph.nodesOverlap, L.srcIntn = Ph.srcIntn, L.tgtIntn = Ph.tgtIntn, L.isRound = R.startsWith("round"), r && (g2.isParent() || g2.isChild() || _2.isParent() || _2.isChild()) && (g2.parents().anySame(_2) || _2.parents().anySame(g2) || g2.same(_2) && g2.isParent()) ? t.findCompoundLoopPoints(I, Ph, F, z) : g2 === _2 ? t.findLoopPoints(I, Ph, F, z) : R.endsWith("segments") ? t.findSegmentsPoints(I, Ph) : R.endsWith("taxi") ? t.findTaxiPoints(I, Ph) : R === "straight" || !z && d2.eles.length % 2 == 1 && F === Math.floor(d2.eles.length / 2) ? t.findStraightEdgePoints(I) : t.findBezierPoints(I, Ph, F, z, B), t.findEndpoints(I), t.tryToCorrectInvalidPoints(I, Ph), t.checkForInvalidEdgeWarning(I), t.storeAllpts(I), t.storeEdgeProjections(I), t.calculateArrowAngles(I), t.recalculateEdgeLabelProjections(I), t.calculateLabelAngles(I);
|
|
12694
12742
|
}
|
|
12695
12743
|
}, T = 0; T < s.length; T++) w();
|
|
12696
12744
|
this.findHaystackPoints(c);
|
|
@@ -12752,10 +12800,10 @@ BRp$b.manualEndptToPx = function(e, t) {
|
|
|
12752
12800
|
else if (F === "outside-to-line") a = v.tgtIntn;
|
|
12753
12801
|
else if (F === "outside-to-node" || F === "outside-to-node-or-label" ? z = L : (F === "outside-to-line" || F === "outside-to-line-or-label") && (z = [c.x, c.y]), a = r.nodeShapes[this.getNodeShape(s)].intersectLine(l.x, l.y, s.outerWidth(), s.outerHeight(), z[0], z[1], 0, I, g), F === "outside-to-node-or-label" || F === "outside-to-line-or-label") {
|
|
12754
12802
|
var G = s._private.rscratch, q = G.labelWidth, J = G.labelHeight, Y = G.labelX, X = G.labelY, Z = q / 2, Q = J / 2, $ = s.pstyle("text-valign").value;
|
|
12755
|
-
$ === "top" ? X -= Q : $ === "bottom" && (X += Q);
|
|
12756
|
-
var
|
|
12757
|
-
|
|
12758
|
-
var
|
|
12803
|
+
$ = labelValign($), $ === "top" ? X -= Q : $ === "bottom" && (X += Q);
|
|
12804
|
+
var Ph = s.pstyle("text-halign").value;
|
|
12805
|
+
Ph = labelHalign(Ph), Ph === "left" ? Y -= Z : Ph === "right" && (Y += Z);
|
|
12806
|
+
var Fh = polygonIntersectLine(z[0], z[1], [
|
|
12759
12807
|
Y - Z,
|
|
12760
12808
|
X - Q,
|
|
12761
12809
|
Y + Z,
|
|
@@ -12765,43 +12813,43 @@ BRp$b.manualEndptToPx = function(e, t) {
|
|
|
12765
12813
|
Y - Z,
|
|
12766
12814
|
X + Q
|
|
12767
12815
|
], l.x, l.y);
|
|
12768
|
-
if (
|
|
12769
|
-
var
|
|
12770
|
-
|
|
12771
|
-
x:
|
|
12772
|
-
y:
|
|
12773
|
-
}) <
|
|
12816
|
+
if (Fh.length > 0) {
|
|
12817
|
+
var Ih = c, Lh = sqdist(Ih, array2point(a)), Rh = sqdist(Ih, array2point(Fh)), zh = Lh;
|
|
12818
|
+
Rh < Lh && (a = Fh, zh = Rh), Fh.length > 2 && sqdist(Ih, {
|
|
12819
|
+
x: Fh[2],
|
|
12820
|
+
y: Fh[3]
|
|
12821
|
+
}) < zh && (a = [Fh[2], Fh[3]]);
|
|
12774
12822
|
}
|
|
12775
12823
|
}
|
|
12776
|
-
var
|
|
12777
|
-
if (v.endX =
|
|
12824
|
+
var Bh = shortenIntersection(a, L, r.arrowShapes[u].spacing(e) + f), Vh = shortenIntersection(a, L, r.arrowShapes[u].gap(e) + f);
|
|
12825
|
+
if (v.endX = Vh[0], v.endY = Vh[1], v.arrowEndX = Bh[0], v.arrowEndY = Bh[1], j === "inside-to-node") a = [c.x, c.y];
|
|
12778
12826
|
else if (A.units) a = this.manualEndptToPx(o, A);
|
|
12779
12827
|
else if (j === "outside-to-line") a = v.srcIntn;
|
|
12780
12828
|
else if (j === "outside-to-node" || j === "outside-to-node-or-label" ? B = R : (j === "outside-to-line" || j === "outside-to-line-or-label") && (B = [l.x, l.y]), a = r.nodeShapes[this.getNodeShape(o)].intersectLine(c.x, c.y, o.outerWidth(), o.outerHeight(), B[0], B[1], 0, M, h), j === "outside-to-node-or-label" || j === "outside-to-line-or-label") {
|
|
12781
|
-
var
|
|
12782
|
-
|
|
12783
|
-
var
|
|
12784
|
-
|
|
12785
|
-
var
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12789
|
-
|
|
12790
|
-
|
|
12791
|
-
|
|
12792
|
-
|
|
12793
|
-
|
|
12829
|
+
var Hh = o._private.rscratch, Uh = Hh.labelWidth, Wh = Hh.labelHeight, Gh = Hh.labelX, Kh = Hh.labelY, qh = Uh / 2, Jh = Wh / 2, Yh = o.pstyle("text-valign").value;
|
|
12830
|
+
Yh = labelValign(Yh), Yh === "top" ? Kh -= Jh : Yh === "bottom" && (Kh += Jh);
|
|
12831
|
+
var Xh = o.pstyle("text-halign").value;
|
|
12832
|
+
Xh = labelHalign(Xh), Xh === "left" ? Gh -= qh : Xh === "right" && (Gh += qh);
|
|
12833
|
+
var Zh = polygonIntersectLine(B[0], B[1], [
|
|
12834
|
+
Gh - qh,
|
|
12835
|
+
Kh - Jh,
|
|
12836
|
+
Gh + qh,
|
|
12837
|
+
Kh - Jh,
|
|
12838
|
+
Gh + qh,
|
|
12839
|
+
Kh + Jh,
|
|
12840
|
+
Gh - qh,
|
|
12841
|
+
Kh + Jh
|
|
12794
12842
|
], c.x, c.y);
|
|
12795
|
-
if (
|
|
12796
|
-
var
|
|
12797
|
-
|
|
12798
|
-
x:
|
|
12799
|
-
y:
|
|
12800
|
-
}) <
|
|
12843
|
+
if (Zh.length > 0) {
|
|
12844
|
+
var Qh = l, $h = sqdist(Qh, array2point(a)), eg = sqdist(Qh, array2point(Zh)), tg = $h;
|
|
12845
|
+
eg < $h && (a = [Zh[0], Zh[1]], tg = eg), Zh.length > 2 && sqdist(Qh, {
|
|
12846
|
+
x: Zh[2],
|
|
12847
|
+
y: Zh[3]
|
|
12848
|
+
}) < tg && (a = [Zh[2], Zh[3]]);
|
|
12801
12849
|
}
|
|
12802
12850
|
}
|
|
12803
|
-
var
|
|
12804
|
-
v.startX =
|
|
12851
|
+
var ng = shortenIntersection(a, R, r.arrowShapes[d].spacing(e) + m), rg = shortenIntersection(a, R, r.arrowShapes[d].gap(e) + m);
|
|
12852
|
+
v.startX = rg[0], v.startY = rg[1], v.arrowStartX = ng[0], v.arrowStartY = ng[1], O && (!number$1(v.startX) || !number$1(v.startY) || !number$1(v.endX) || !number$1(v.endY) ? v.badLine = true : v.badLine = false);
|
|
12805
12853
|
}, BRp$b.getSourceEndpoint = function(e) {
|
|
12806
12854
|
var t = e[0]._private.rscratch;
|
|
12807
12855
|
switch (this.recalculateRenderedStyle(e), t.edgeType) {
|
|
@@ -12875,9 +12923,15 @@ BRp$9.recalculateNodeLabelProjection = function(e) {
|
|
|
12875
12923
|
case "left":
|
|
12876
12924
|
n = l.x - o / 2 - c;
|
|
12877
12925
|
break;
|
|
12926
|
+
case "left-inside":
|
|
12927
|
+
n = l.x - o / 2 + c;
|
|
12928
|
+
break;
|
|
12878
12929
|
case "right":
|
|
12879
12930
|
n = l.x + o / 2 + c;
|
|
12880
12931
|
break;
|
|
12932
|
+
case "right-inside":
|
|
12933
|
+
n = l.x + o / 2 - c;
|
|
12934
|
+
break;
|
|
12881
12935
|
default:
|
|
12882
12936
|
n = l.x;
|
|
12883
12937
|
}
|
|
@@ -12885,9 +12939,15 @@ BRp$9.recalculateNodeLabelProjection = function(e) {
|
|
|
12885
12939
|
case "top":
|
|
12886
12940
|
r = l.y - s / 2 - c;
|
|
12887
12941
|
break;
|
|
12942
|
+
case "top-inside":
|
|
12943
|
+
r = l.y - s / 2 + c;
|
|
12944
|
+
break;
|
|
12888
12945
|
case "bottom":
|
|
12889
12946
|
r = l.y + s / 2 + c;
|
|
12890
12947
|
break;
|
|
12948
|
+
case "bottom-inside":
|
|
12949
|
+
r = l.y + s / 2 - c;
|
|
12950
|
+
break;
|
|
12891
12951
|
default:
|
|
12892
12952
|
r = l.y;
|
|
12893
12953
|
}
|
|
@@ -13015,8 +13075,8 @@ BRp$9.recalculateEdgeLabelProjections = function(e) {
|
|
|
13015
13075
|
var n = e._private, r = this.getLabelText(e, t), a = hashString(r, e._private.labelDimsKey);
|
|
13016
13076
|
if (getPrefixedProperty(n.rscratch, "prefixedLabelDimsKey", t) !== a) {
|
|
13017
13077
|
setPrefixedProperty(n.rscratch, "prefixedLabelDimsKey", t, a);
|
|
13018
|
-
var o = this.calculateLabelDimensions(e, r), s = e.pstyle("line-height").pfValue, c = e.pstyle("text-wrap").strValue,
|
|
13019
|
-
setPrefixedProperty(n.rstyle, "labelWidth", t, m), setPrefixedProperty(n.rscratch, "labelWidth", t, m), setPrefixedProperty(n.rstyle, "labelHeight", t, h), setPrefixedProperty(n.rscratch, "labelHeight", t, h), setPrefixedProperty(n.rscratch, "labelLineHeight", t, f);
|
|
13078
|
+
var o = this.calculateLabelDimensions(e, r), s = e.pstyle("line-height").pfValue, c = e.pstyle("font-size").pfValue, l = e.pstyle("text-wrap").strValue, u = getPrefixedProperty(n.rscratch, "labelWrapCachedLines", t) || [], d = l === "wrap" ? Math.max(u.length, 1) : 1, f = c * s, m = o.width, h = o.height + (d - 1) * (s - 1) * c;
|
|
13079
|
+
setPrefixedProperty(n.rstyle, "labelWidth", t, m), setPrefixedProperty(n.rscratch, "labelWidth", t, m), setPrefixedProperty(n.rstyle, "labelHeight", t, h), setPrefixedProperty(n.rscratch, "labelHeight", t, h), setPrefixedProperty(n.rscratch, "labelLineHeight", t, f), setPrefixedProperty(n.rscratch, "labelActualDescent", t, o.labelActualDescent);
|
|
13020
13080
|
}
|
|
13021
13081
|
}, BRp$9.getLabelText = function(e, t) {
|
|
13022
13082
|
var n = e._private, r = t ? t + "-" : "", a = e.pstyle(r + "label").strValue, o = e.pstyle("text-transform").value, c = function(e2, r2) {
|
|
@@ -13057,31 +13117,24 @@ BRp$9.recalculateEdgeLabelProjections = function(e) {
|
|
|
13057
13117
|
return a;
|
|
13058
13118
|
}, BRp$9.getLabelJustification = function(e) {
|
|
13059
13119
|
var t = e.pstyle("text-justification").strValue, n = e.pstyle("text-halign").strValue;
|
|
13060
|
-
|
|
13061
|
-
case "left":
|
|
13062
|
-
return "right";
|
|
13063
|
-
case "right":
|
|
13064
|
-
return "left";
|
|
13065
|
-
default:
|
|
13066
|
-
return "center";
|
|
13067
|
-
}
|
|
13068
|
-
else return "center";
|
|
13069
|
-
else return t;
|
|
13120
|
+
return t === "auto" ? e.isNode() ? labelJustification(n) : "center" : t;
|
|
13070
13121
|
}, BRp$9.calculateLabelDimensions = function(e, t) {
|
|
13071
|
-
var n = this.cy.window().document, r = 0, a = e.pstyle("font-style").strValue, o = e.pstyle("font-size").pfValue, s = e.pstyle("font-family").strValue, c = e.pstyle("font-weight").strValue, l = this.labelCalcCanvas,
|
|
13072
|
-
if (!
|
|
13073
|
-
|
|
13074
|
-
var
|
|
13075
|
-
|
|
13076
|
-
}
|
|
13077
|
-
|
|
13078
|
-
for (var
|
|
13079
|
-
var
|
|
13080
|
-
|
|
13081
|
-
}
|
|
13082
|
-
return
|
|
13083
|
-
width:
|
|
13084
|
-
height:
|
|
13122
|
+
var n = this.cy.window().document, r = 0, a = e.pstyle("font-style").strValue, o = e.pstyle("font-size").pfValue, s = e.pstyle("font-family").strValue, c = e.pstyle("font-weight").strValue, l = e.pstyle("text-metrics").strValue || "font", u = this.labelCalcCanvas, d = this.labelCalcCanvasContext;
|
|
13123
|
+
if (!u) {
|
|
13124
|
+
u = this.labelCalcCanvas = n.createElement("canvas"), d = this.labelCalcCanvasContext = u.getContext("2d");
|
|
13125
|
+
var f = u.style;
|
|
13126
|
+
f.position = "absolute", f.left = "-9999px", f.top = "-9999px", f.zIndex = "-1", f.visibility = "hidden", f.pointerEvents = "none";
|
|
13127
|
+
}
|
|
13128
|
+
d.font = `${a} ${c} ${o}px ${s}`;
|
|
13129
|
+
for (var m = 0, h = 0, g = t.split("\n"), _ = g.length, v = 0, b = 0, S = 0; S < _; S++) {
|
|
13130
|
+
var C = g[S], w = d.measureText(C), T = Math.ceil(w.width), E = o;
|
|
13131
|
+
l === "glyph" && (S === 0 && (b = w.actualBoundingBoxAscent), S === _ - 1 && (v = w.actualBoundingBoxDescent)), m = Math.max(T, m), h += E;
|
|
13132
|
+
}
|
|
13133
|
+
return l === "glyph" && (h -= o - b - v), m += r, h += r, {
|
|
13134
|
+
width: m,
|
|
13135
|
+
height: h,
|
|
13136
|
+
labelActualAscent: b,
|
|
13137
|
+
labelActualDescent: v
|
|
13085
13138
|
};
|
|
13086
13139
|
}, BRp$9.calculateLabelAngle = function(e, t) {
|
|
13087
13140
|
var n = e._private.rscratch, r = e.isEdge(), a = t ? t + "-" : "", o = e.pstyle(a + "text-rotation"), s = o.strValue;
|
|
@@ -13214,7 +13267,14 @@ BRp$4.getCachedImage = function(e, t, n) {
|
|
|
13214
13267
|
var c = "data:";
|
|
13215
13268
|
return e.substring(0, c.length).toLowerCase() !== c && (t = t === "null" ? null : t, s.crossOrigin = t), s.src = e, s;
|
|
13216
13269
|
};
|
|
13217
|
-
var
|
|
13270
|
+
var setGrabState = function(e, t) {
|
|
13271
|
+
var n = e[0];
|
|
13272
|
+
!n || n._private.grabbed === t || (n._private.grabbed = t, e.updateStyle(false));
|
|
13273
|
+
}, setGrabbed = function(e) {
|
|
13274
|
+
setGrabState(e, true);
|
|
13275
|
+
}, setFreed = function(e) {
|
|
13276
|
+
setGrabState(e, false);
|
|
13277
|
+
}, BRp$3 = {};
|
|
13218
13278
|
BRp$3.registerBinding = function(e, t, n, r) {
|
|
13219
13279
|
var a = Array.prototype.slice.apply(arguments, [1]);
|
|
13220
13280
|
if (Array.isArray(e)) {
|
|
@@ -13293,51 +13353,47 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13293
13353
|
else r2 = true;
|
|
13294
13354
|
return r2;
|
|
13295
13355
|
}, c = function(e2) {
|
|
13296
|
-
e2[0]._private.grabbed = true;
|
|
13297
|
-
}, l = function(e2) {
|
|
13298
|
-
e2[0]._private.grabbed = false;
|
|
13299
|
-
}, u = function(e2) {
|
|
13300
13356
|
e2[0]._private.rscratch.inDragLayer = true;
|
|
13301
|
-
},
|
|
13357
|
+
}, l = function(e2) {
|
|
13302
13358
|
e2[0]._private.rscratch.inDragLayer = false;
|
|
13303
|
-
},
|
|
13359
|
+
}, u = function(e2) {
|
|
13304
13360
|
e2[0]._private.rscratch.isGrabTarget = true;
|
|
13305
|
-
},
|
|
13361
|
+
}, d = function(e2) {
|
|
13306
13362
|
e2[0]._private.rscratch.isGrabTarget = false;
|
|
13307
|
-
},
|
|
13363
|
+
}, f = function(e2, t2) {
|
|
13308
13364
|
var n2 = t2.addToList;
|
|
13309
|
-
!n2.has(e2) && e2.grabbable() && !e2.locked() && (n2.merge(e2),
|
|
13310
|
-
},
|
|
13365
|
+
!n2.has(e2) && e2.grabbable() && !e2.locked() && (n2.merge(e2), setGrabbed(e2));
|
|
13366
|
+
}, m = function(e2, t2) {
|
|
13311
13367
|
if (e2.cy().hasCompoundNodes() && !(t2.inDragLayer == null && t2.addToList == null)) {
|
|
13312
13368
|
var n2 = e2.descendants();
|
|
13313
|
-
t2.inDragLayer && (n2.forEach(
|
|
13369
|
+
t2.inDragLayer && (n2.forEach(c), n2.connectedEdges().forEach(c)), t2.addToList && f(n2, t2);
|
|
13314
13370
|
}
|
|
13315
|
-
},
|
|
13371
|
+
}, h = function(t2, n2) {
|
|
13316
13372
|
n2 || (n2 = {});
|
|
13317
13373
|
var r2 = t2.cy().hasCompoundNodes();
|
|
13318
|
-
n2.inDragLayer && (t2.forEach(
|
|
13374
|
+
n2.inDragLayer && (t2.forEach(c), t2.neighborhood().stdFilter(function(e2) {
|
|
13319
13375
|
return !r2 || e2.isEdge();
|
|
13320
|
-
}).forEach(
|
|
13321
|
-
|
|
13322
|
-
}),
|
|
13323
|
-
},
|
|
13376
|
+
}).forEach(c)), n2.addToList && t2.forEach(function(e2) {
|
|
13377
|
+
f(e2, n2);
|
|
13378
|
+
}), m(t2, n2), v(t2, { inDragLayer: n2.inDragLayer }), e.updateCachedGrabbedEles();
|
|
13379
|
+
}, g = h, _ = function(t2) {
|
|
13324
13380
|
t2 && (e.getCachedZSortedEles().forEach(function(e2) {
|
|
13325
|
-
|
|
13381
|
+
setFreed(e2), l(e2), d(e2);
|
|
13326
13382
|
}), e.updateCachedGrabbedEles());
|
|
13327
|
-
},
|
|
13383
|
+
}, v = function(e2, t2) {
|
|
13328
13384
|
if (!(t2.inDragLayer == null && t2.addToList == null) && e2.cy().hasCompoundNodes()) {
|
|
13329
13385
|
var n2 = e2.ancestors().orphans();
|
|
13330
13386
|
if (!n2.same(e2)) {
|
|
13331
13387
|
var r2 = n2.descendants().spawnSelf().merge(n2).unmerge(e2).unmerge(e2.descendants()), a2 = r2.connectedEdges();
|
|
13332
|
-
t2.inDragLayer && (a2.forEach(
|
|
13333
|
-
|
|
13388
|
+
t2.inDragLayer && (a2.forEach(c), r2.forEach(c)), t2.addToList && r2.forEach(function(e3) {
|
|
13389
|
+
f(e3, t2);
|
|
13334
13390
|
});
|
|
13335
13391
|
}
|
|
13336
13392
|
}
|
|
13337
|
-
},
|
|
13393
|
+
}, b = function() {
|
|
13338
13394
|
document.activeElement != null && document.activeElement.blur != null && document.activeElement.blur();
|
|
13339
|
-
},
|
|
13340
|
-
|
|
13395
|
+
}, S = typeof MutationObserver < "u", C = typeof ResizeObserver < "u";
|
|
13396
|
+
S ? (e.removeObserver = new MutationObserver(function(t2) {
|
|
13341
13397
|
for (var n2 = 0; n2 < t2.length; n2++) {
|
|
13342
13398
|
var r2 = t2[n2].removedNodes;
|
|
13343
13399
|
if (r2) {
|
|
@@ -13350,23 +13406,23 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13350
13406
|
}), e.container.parentNode && e.removeObserver.observe(e.container.parentNode, { childList: true })) : e.registerBinding(e.container, "DOMNodeRemoved", function(t2) {
|
|
13351
13407
|
e.destroy();
|
|
13352
13408
|
});
|
|
13353
|
-
var
|
|
13409
|
+
var w = debounce(function() {
|
|
13354
13410
|
e.cy.resize();
|
|
13355
13411
|
}, 100);
|
|
13356
|
-
|
|
13357
|
-
var
|
|
13412
|
+
S && (e.styleObserver = new MutationObserver(w), e.styleObserver.observe(e.container, { attributes: true })), e.registerBinding(t, "resize", w), C && (e.resizeObserver = new ResizeObserver(w), e.resizeObserver.observe(e.container));
|
|
13413
|
+
var T = function(e2, t2) {
|
|
13358
13414
|
for (; e2 != null; ) t2(e2), e2 = e2.parentNode;
|
|
13359
|
-
},
|
|
13415
|
+
}, E = function() {
|
|
13360
13416
|
e.invalidateContainerClientCoordsCache();
|
|
13361
13417
|
};
|
|
13362
|
-
|
|
13363
|
-
e.registerBinding(t2, "transitionend",
|
|
13418
|
+
T(e.container, function(t2) {
|
|
13419
|
+
e.registerBinding(t2, "transitionend", E), e.registerBinding(t2, "animationend", E), e.registerBinding(t2, "scroll", E);
|
|
13364
13420
|
}), e.registerBinding(e.container, "contextmenu", function(e2) {
|
|
13365
13421
|
e2.preventDefault();
|
|
13366
13422
|
});
|
|
13367
|
-
var
|
|
13423
|
+
var D = function() {
|
|
13368
13424
|
return e.selection[4] !== 0;
|
|
13369
|
-
},
|
|
13425
|
+
}, O = function(t2) {
|
|
13370
13426
|
for (var n2 = e.findContainerClientCoords(), r2 = n2[0], a2 = n2[1], o2 = n2[2], s2 = n2[3], c2 = t2.touches ? t2.touches : [t2], l2 = false, u2 = 0; u2 < c2.length; u2++) {
|
|
13371
13427
|
var d2 = c2[u2];
|
|
13372
13428
|
if (r2 <= d2.clientX && d2.clientX <= r2 + o2 && a2 <= d2.clientY && d2.clientY <= a2 + s2) {
|
|
@@ -13385,11 +13441,11 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13385
13441
|
return !!h2;
|
|
13386
13442
|
};
|
|
13387
13443
|
e.registerBinding(e.container, "mousedown", function(t2) {
|
|
13388
|
-
if (
|
|
13389
|
-
t2.preventDefault(),
|
|
13390
|
-
var n2 = e.cy, r2 = [t2.clientX, t2.clientY], o2 = e.projectIntoViewport(r2[0], r2[1]), s2 = e.selection, c2 = e.findNearestElements(o2[0], o2[1], true, false), l2 = c2[0],
|
|
13444
|
+
if (O(t2) && !(e.hoverData.which === 1 && t2.which !== 1)) {
|
|
13445
|
+
t2.preventDefault(), b(), e.hoverData.capture = true, e.hoverData.which = t2.which;
|
|
13446
|
+
var n2 = e.cy, r2 = [t2.clientX, t2.clientY], o2 = e.projectIntoViewport(r2[0], r2[1]), s2 = e.selection, c2 = e.findNearestElements(o2[0], o2[1], true, false), l2 = c2[0], d2 = e.dragData.possibleDragElements;
|
|
13391
13447
|
e.hoverData.mdownPos = o2, e.hoverData.mdownGPos = r2;
|
|
13392
|
-
var
|
|
13448
|
+
var f2 = function(e2) {
|
|
13393
13449
|
return {
|
|
13394
13450
|
originalEvent: t2,
|
|
13395
13451
|
type: e2,
|
|
@@ -13402,13 +13458,13 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13402
13458
|
e.hoverData.tapholdCancelled = false, clearTimeout(e.hoverData.tapholdTimeout), e.hoverData.tapholdTimeout = setTimeout(function() {
|
|
13403
13459
|
if (!e.hoverData.tapholdCancelled) {
|
|
13404
13460
|
var t3 = e.hoverData.down;
|
|
13405
|
-
t3 ? t3.emit(
|
|
13461
|
+
t3 ? t3.emit(f2("taphold")) : n2.emit(f2("taphold"));
|
|
13406
13462
|
}
|
|
13407
13463
|
}, e.tapholdDuration);
|
|
13408
13464
|
};
|
|
13409
13465
|
if (t2.which == 3) {
|
|
13410
13466
|
e.hoverData.cxtStarted = true;
|
|
13411
|
-
var
|
|
13467
|
+
var _2 = {
|
|
13412
13468
|
originalEvent: t2,
|
|
13413
13469
|
type: "cxttapstart",
|
|
13414
13470
|
position: {
|
|
@@ -13416,19 +13472,19 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13416
13472
|
y: o2[1]
|
|
13417
13473
|
}
|
|
13418
13474
|
};
|
|
13419
|
-
l2 ? (l2.activate(), l2.emit(
|
|
13475
|
+
l2 ? (l2.activate(), l2.emit(_2), e.hoverData.down = l2) : n2.emit(_2), e.hoverData.downTime = (/* @__PURE__ */ new Date()).getTime(), e.hoverData.cxtDragged = false;
|
|
13420
13476
|
} else if (t2.which == 1) {
|
|
13421
13477
|
if (l2 && l2.activate(), l2 != null && e.nodeIsGrabbable(l2)) {
|
|
13422
|
-
var
|
|
13423
|
-
e2.emit(
|
|
13478
|
+
var v3 = function(e2) {
|
|
13479
|
+
e2.emit(f2("grab"));
|
|
13424
13480
|
};
|
|
13425
|
-
if (
|
|
13481
|
+
if (u(l2), !l2.selected()) d2 = e.dragData.possibleDragElements = n2.collection(), g(l2, { addToList: d2 }), l2.emit(f2("grabon")).emit(f2("grab"));
|
|
13426
13482
|
else {
|
|
13427
|
-
|
|
13428
|
-
var
|
|
13483
|
+
d2 = e.dragData.possibleDragElements = n2.collection();
|
|
13484
|
+
var S2 = n2.$(function(t3) {
|
|
13429
13485
|
return t3.isNode() && t3.selected() && e.nodeIsGrabbable(t3);
|
|
13430
13486
|
});
|
|
13431
|
-
|
|
13487
|
+
h(S2, { addToList: d2 }), l2.emit(f2("grabon")), S2.forEach(v3);
|
|
13432
13488
|
}
|
|
13433
13489
|
e.redrawHint("eles", true), e.redrawHint("drag", true);
|
|
13434
13490
|
}
|
|
@@ -13447,23 +13503,23 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13447
13503
|
s2[0] = s2[2] = o2[0], s2[1] = s2[3] = o2[1];
|
|
13448
13504
|
}
|
|
13449
13505
|
}, false);
|
|
13450
|
-
var
|
|
13451
|
-
e.registerBinding([t,
|
|
13452
|
-
if (!(!e.hoverData.capture && !
|
|
13453
|
-
var n2 = false, r2 = e.cy, c2 = r2.zoom(), l2 = [t2.clientX, t2.clientY], u2 = e.projectIntoViewport(l2[0], l2[1]), d2 = e.hoverData.mdownPos, f2 = e.hoverData.mdownGPos, m2 = e.selection,
|
|
13454
|
-
!e.hoverData.draggingEles && !e.hoverData.dragging && !e.hoverData.selecting && (
|
|
13455
|
-
var
|
|
13506
|
+
var k = r(e.container);
|
|
13507
|
+
e.registerBinding([t, k], "mousemove", function(t2) {
|
|
13508
|
+
if (!(!e.hoverData.capture && !O(t2))) {
|
|
13509
|
+
var n2 = false, r2 = e.cy, c2 = r2.zoom(), l2 = [t2.clientX, t2.clientY], u2 = e.projectIntoViewport(l2[0], l2[1]), d2 = e.hoverData.mdownPos, f2 = e.hoverData.mdownGPos, m2 = e.selection, g2 = null;
|
|
13510
|
+
!e.hoverData.draggingEles && !e.hoverData.dragging && !e.hoverData.selecting && (g2 = e.findNearestElement(u2[0], u2[1], true, false));
|
|
13511
|
+
var v3 = e.hoverData.last, b2 = e.hoverData.down, S2 = [u2[0] - m2[2], u2[1] - m2[3]], C2 = e.dragData.possibleDragElements, w2;
|
|
13456
13512
|
if (f2) {
|
|
13457
|
-
var T2 = l2[0] - f2[0], E2 = T2 * T2, D2 = l2[1] - f2[1],
|
|
13458
|
-
e.hoverData.isOverThresholdDrag = w2 =
|
|
13513
|
+
var T2 = l2[0] - f2[0], E2 = T2 * T2, D2 = l2[1] - f2[1], k2 = E2 + D2 * D2;
|
|
13514
|
+
e.hoverData.isOverThresholdDrag = w2 = k2 >= e.desktopTapThreshold2;
|
|
13459
13515
|
}
|
|
13460
|
-
var
|
|
13516
|
+
var A2 = o(t2);
|
|
13461
13517
|
w2 && (e.hoverData.tapholdCancelled = true);
|
|
13462
13518
|
var j2 = function() {
|
|
13463
13519
|
var t3 = e.hoverData.dragDelta = e.hoverData.dragDelta || [];
|
|
13464
13520
|
t3.length === 0 ? (t3.push(S2[0]), t3.push(S2[1])) : (t3[0] += S2[0], t3[1] += S2[1]);
|
|
13465
13521
|
};
|
|
13466
|
-
n2 = true, a(
|
|
13522
|
+
n2 = true, a(g2, [
|
|
13467
13523
|
"mousemove",
|
|
13468
13524
|
"vmousemove",
|
|
13469
13525
|
"tapdrag"
|
|
@@ -13486,7 +13542,7 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13486
13542
|
if (e.hoverData.which === 3) {
|
|
13487
13543
|
if (w2) {
|
|
13488
13544
|
var F2 = M2("cxtdrag");
|
|
13489
|
-
|
|
13545
|
+
b2 ? b2.emit(F2) : r2.emit(F2), e.hoverData.cxtDragged = true, (!e.hoverData.cxtOver || g2 !== e.hoverData.cxtOver) && (e.hoverData.cxtOver && e.hoverData.cxtOver.emit(M2("cxtdragout")), e.hoverData.cxtOver = g2, g2 && g2.emit(M2("cxtdragover")));
|
|
13490
13546
|
}
|
|
13491
13547
|
} else if (e.hoverData.dragging) {
|
|
13492
13548
|
if (n2 = true, r2.panningEnabled() && r2.userPanningEnabled()) {
|
|
@@ -13504,19 +13560,19 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13504
13560
|
r2.panBy(I2), r2.emit(M2("dragpan")), e.hoverData.dragged = true;
|
|
13505
13561
|
}
|
|
13506
13562
|
u2 = e.projectIntoViewport(t2.clientX, t2.clientY);
|
|
13507
|
-
} else if (m2[4] == 1 && (
|
|
13563
|
+
} else if (m2[4] == 1 && (b2 == null || b2.pannable())) w2 && (!e.hoverData.dragging && r2.boxSelectionEnabled() && (A2 || !r2.panningEnabled() || !r2.userPanningEnabled()) ? N2() : !e.hoverData.selecting && r2.panningEnabled() && r2.userPanningEnabled() && s(b2, e.hoverData.downs) && (e.hoverData.dragging = true, e.hoverData.justStartedPan = true, m2[4] = 0, e.data.bgActivePosistion = array2point(d2), e.redrawHint("select", true), e.redraw()), b2 && b2.pannable() && b2.active() && b2.unactivate());
|
|
13508
13564
|
else {
|
|
13509
|
-
if (
|
|
13565
|
+
if (b2 && b2.pannable() && b2.active() && b2.unactivate(), (!b2 || !b2.grabbed()) && g2 != v3 && (v3 && a(v3, ["mouseout", "tapdragout"], t2, {
|
|
13510
13566
|
x: u2[0],
|
|
13511
13567
|
y: u2[1]
|
|
13512
|
-
}),
|
|
13568
|
+
}), g2 && a(g2, ["mouseover", "tapdragover"], t2, {
|
|
13513
13569
|
x: u2[0],
|
|
13514
13570
|
y: u2[1]
|
|
13515
|
-
}), e.hoverData.last =
|
|
13516
|
-
if (r2.boxSelectionEnabled() &&
|
|
13517
|
-
else if (
|
|
13571
|
+
}), e.hoverData.last = g2), b2) if (w2) {
|
|
13572
|
+
if (r2.boxSelectionEnabled() && A2) b2 && b2.grabbed() && (_(C2), b2.emit(M2("freeon")), C2.emit(M2("free")), e.dragData.didDrag && (b2.emit(M2("dragfreeon")), C2.emit(M2("dragfree")))), N2();
|
|
13573
|
+
else if (b2 && b2.grabbed() && e.nodeIsDraggable(b2)) {
|
|
13518
13574
|
var R2 = !e.dragData.didDrag;
|
|
13519
|
-
R2 && e.redrawHint("eles", true), e.dragData.didDrag = true, e.hoverData.draggingEles ||
|
|
13575
|
+
R2 && e.redrawHint("eles", true), e.dragData.didDrag = true, e.hoverData.draggingEles || h(C2, { inDragLayer: true });
|
|
13520
13576
|
var z2 = {
|
|
13521
13577
|
x: 0,
|
|
13522
13578
|
y: 0
|
|
@@ -13533,7 +13589,7 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13533
13589
|
if (m2[2] = u2[0], m2[3] = u2[1], n2) return t2.stopPropagation && t2.stopPropagation(), t2.preventDefault && t2.preventDefault(), false;
|
|
13534
13590
|
}
|
|
13535
13591
|
}, false);
|
|
13536
|
-
var
|
|
13592
|
+
var A, j, M;
|
|
13537
13593
|
e.registerBinding(t, "mouseup", function(t2) {
|
|
13538
13594
|
if (!(e.hoverData.which === 1 && t2.which !== 1 && e.hoverData.capture) && e.hoverData.capture) {
|
|
13539
13595
|
e.hoverData.capture = false;
|
|
@@ -13571,15 +13627,15 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13571
13627
|
], t2, {
|
|
13572
13628
|
x: s2[0],
|
|
13573
13629
|
y: s2[1]
|
|
13574
|
-
}),
|
|
13630
|
+
}), j = false, t2.timeStamp - M <= r2.multiClickDebounceTime() ? (A && clearTimeout(A), j = true, M = null, a(d2, [
|
|
13575
13631
|
"dblclick",
|
|
13576
13632
|
"dbltap",
|
|
13577
13633
|
"vdblclick"
|
|
13578
13634
|
], t2, {
|
|
13579
13635
|
x: s2[0],
|
|
13580
13636
|
y: s2[1]
|
|
13581
|
-
})) : (
|
|
13582
|
-
|
|
13637
|
+
})) : (A = setTimeout(function() {
|
|
13638
|
+
j || a(d2, [
|
|
13583
13639
|
"oneclick",
|
|
13584
13640
|
"onetap",
|
|
13585
13641
|
"voneclick"
|
|
@@ -13587,42 +13643,42 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13587
13643
|
x: s2[0],
|
|
13588
13644
|
y: s2[1]
|
|
13589
13645
|
});
|
|
13590
|
-
}, r2.multiClickDebounceTime()),
|
|
13591
|
-
var
|
|
13592
|
-
e.redrawHint("select", true),
|
|
13646
|
+
}, r2.multiClickDebounceTime()), M = t2.timeStamp)), d2 == null && !e.dragData.didDrag && !e.hoverData.selecting && !e.hoverData.dragged && !o(t2) && (r2.$(n).unselect(["tapunselect"]), u2.length > 0 && e.redrawHint("eles", true), e.dragData.possibleDragElements = u2 = r2.collection()), l2 == d2 && !e.dragData.didDrag && !e.hoverData.selecting && l2 != null && l2._private.selectable && (e.hoverData.dragging || (r2.selectionType() === "additive" || f2 ? l2.selected() ? l2.unselect(["tapunselect"]) : l2.select(["tapselect"]) : f2 || (r2.$(n).unmerge(l2).unselect(["tapunselect"]), l2.select(["tapselect"]))), e.redrawHint("eles", true)), e.hoverData.selecting) {
|
|
13647
|
+
var v3 = r2.collection(e.getAllInBox(c2[0], c2[1], c2[2], c2[3]));
|
|
13648
|
+
e.redrawHint("select", true), v3.length > 0 && e.redrawHint("eles", true), r2.emit(m2("boxend")), r2.selectionType() === "additive" || f2 || r2.$(n).unmerge(v3).unselect(), v3.emit(m2("box")).stdFilter(function(e2) {
|
|
13593
13649
|
return e2.selectable() && !e2.selected();
|
|
13594
13650
|
}).select().emit(m2("boxselect")), e.redraw();
|
|
13595
13651
|
}
|
|
13596
13652
|
if (e.hoverData.dragging && (e.hoverData.dragging = false, e.redrawHint("select", true), e.redrawHint("eles", true), e.redraw()), !c2[4]) {
|
|
13597
13653
|
e.redrawHint("drag", true), e.redrawHint("eles", true);
|
|
13598
|
-
var
|
|
13599
|
-
|
|
13654
|
+
var b2 = d2 && d2.grabbed();
|
|
13655
|
+
_(u2), b2 && (d2.emit(m2("freeon")), u2.emit(m2("free")), e.dragData.didDrag && (d2.emit(m2("dragfreeon")), u2.emit(m2("dragfree"))));
|
|
13600
13656
|
}
|
|
13601
13657
|
}
|
|
13602
13658
|
c2[4] = 0, e.hoverData.down = null, e.hoverData.cxtStarted = false, e.hoverData.draggingEles = false, e.hoverData.selecting = false, e.hoverData.isOverThresholdDrag = false, e.dragData.didDrag = false, e.hoverData.dragged = false, e.hoverData.dragDelta = [], e.hoverData.mdownPos = null, e.hoverData.mdownGPos = null, e.hoverData.which = null;
|
|
13603
13659
|
}
|
|
13604
13660
|
}, false);
|
|
13605
|
-
var
|
|
13661
|
+
var N = [], F = 4, I, L = 1e5, R = function(e2, t2) {
|
|
13606
13662
|
for (var n2 = 0; n2 < e2.length; n2++) if (e2[n2] % t2 !== 0) return false;
|
|
13607
13663
|
return true;
|
|
13608
|
-
},
|
|
13664
|
+
}, z = function(e2) {
|
|
13609
13665
|
for (var t2 = Math.abs(e2[0]), n2 = 1; n2 < e2.length; n2++) if (Math.abs(e2[n2]) !== t2) return false;
|
|
13610
13666
|
return true;
|
|
13611
|
-
},
|
|
13667
|
+
}, B = function(t2) {
|
|
13612
13668
|
var n2 = false, r2 = t2.deltaY;
|
|
13613
13669
|
if (r2 ?? (t2.wheelDeltaY == null ? t2.wheelDelta != null && (r2 = t2.wheelDelta / 4) : r2 = t2.wheelDeltaY / 4), r2 !== 0) {
|
|
13614
|
-
if (
|
|
13615
|
-
var a2 =
|
|
13616
|
-
if (
|
|
13670
|
+
if (I == null) if (N.length >= F) {
|
|
13671
|
+
var a2 = N;
|
|
13672
|
+
if (I = R(a2, 5), !I) {
|
|
13617
13673
|
var o2 = Math.abs(a2[0]);
|
|
13618
|
-
|
|
13674
|
+
I = z(a2) && o2 > 5;
|
|
13619
13675
|
}
|
|
13620
|
-
if (
|
|
13621
|
-
} else
|
|
13622
|
-
else
|
|
13676
|
+
if (I) for (var s2 = 0; s2 < a2.length; s2++) L = Math.min(Math.abs(a2[s2]), L);
|
|
13677
|
+
} else N.push(r2), n2 = true;
|
|
13678
|
+
else I && (L = Math.min(Math.abs(r2), L));
|
|
13623
13679
|
if (!e.scrollingPage) {
|
|
13624
13680
|
var c2 = e.cy, l2 = c2.zoom(), u2 = c2.pan(), d2 = e.projectIntoViewport(t2.clientX, t2.clientY), f2 = [d2[0] * l2 + u2.x, d2[1] * l2 + u2.y];
|
|
13625
|
-
if (e.hoverData.draggingEles || e.hoverData.dragging || e.hoverData.cxtStarted ||
|
|
13681
|
+
if (e.hoverData.draggingEles || e.hoverData.dragging || e.hoverData.cxtStarted || D()) {
|
|
13626
13682
|
t2.preventDefault();
|
|
13627
13683
|
return;
|
|
13628
13684
|
}
|
|
@@ -13631,7 +13687,7 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13631
13687
|
e.data.wheelZooming = false, e.redrawHint("eles", true), e.redraw();
|
|
13632
13688
|
}, 150);
|
|
13633
13689
|
var m2;
|
|
13634
|
-
n2 && Math.abs(r2) > 5 && (r2 = signum(r2) * 5), m2 = r2 / -250,
|
|
13690
|
+
n2 && Math.abs(r2) > 5 && (r2 = signum(r2) * 5), m2 = r2 / -250, I && (m2 /= L, m2 *= 3), m2 *= e.wheelSensitivity, t2.deltaMode === 1 && (m2 *= 33);
|
|
13635
13691
|
var h2 = c2.zoom() * 10 ** m2;
|
|
13636
13692
|
t2.type === "gesturechange" && (h2 = e.gestureStartZoom * t2.scale), c2.zoom({
|
|
13637
13693
|
level: h2,
|
|
@@ -13651,14 +13707,14 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13651
13707
|
}
|
|
13652
13708
|
}
|
|
13653
13709
|
};
|
|
13654
|
-
e.registerBinding(e.container, "wheel",
|
|
13710
|
+
e.registerBinding(e.container, "wheel", B, true), e.registerBinding(t, "scroll", function(t2) {
|
|
13655
13711
|
e.scrollingPage = true, clearTimeout(e.scrollingPageTimeout), e.scrollingPageTimeout = setTimeout(function() {
|
|
13656
13712
|
e.scrollingPage = false;
|
|
13657
13713
|
}, 250);
|
|
13658
13714
|
}, true), e.registerBinding(e.container, "gesturestart", function(t2) {
|
|
13659
13715
|
e.gestureStartZoom = e.cy.zoom(), e.hasTouchStarted || t2.preventDefault();
|
|
13660
13716
|
}, true), e.registerBinding(e.container, "gesturechange", function(t2) {
|
|
13661
|
-
e.hasTouchStarted ||
|
|
13717
|
+
e.hasTouchStarted || B(t2);
|
|
13662
13718
|
}, true), e.registerBinding(e.container, "mouseout", function(t2) {
|
|
13663
13719
|
var n2 = e.projectIntoViewport(t2.clientX, t2.clientY);
|
|
13664
13720
|
e.cy.emit({
|
|
@@ -13680,14 +13736,14 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13680
13736
|
}
|
|
13681
13737
|
});
|
|
13682
13738
|
}, false);
|
|
13683
|
-
var U, W, G, q, J, Y, X, Z, Q, $,
|
|
13739
|
+
var V, H, U, W, G, q, J, Y, X, Z, Q, $, Nh, Ph = function(e2, t2, n2, r2) {
|
|
13684
13740
|
return Math.sqrt((n2 - e2) * (n2 - e2) + (r2 - t2) * (r2 - t2));
|
|
13685
|
-
},
|
|
13741
|
+
}, Fh = function(e2, t2, n2, r2) {
|
|
13686
13742
|
return (n2 - e2) * (n2 - e2) + (r2 - t2) * (r2 - t2);
|
|
13687
|
-
},
|
|
13688
|
-
e.registerBinding(e.container, "touchstart",
|
|
13689
|
-
if (e.hasTouchStarted = true,
|
|
13690
|
-
|
|
13743
|
+
}, Ih;
|
|
13744
|
+
e.registerBinding(e.container, "touchstart", Ih = function(t2) {
|
|
13745
|
+
if (e.hasTouchStarted = true, O(t2)) {
|
|
13746
|
+
b(), e.touchData.capture = true, e.data.bgActivePosistion = void 0;
|
|
13691
13747
|
var n2 = e.cy, r2 = e.touchData.now, o2 = e.touchData.earlier;
|
|
13692
13748
|
if (t2.touches[0]) {
|
|
13693
13749
|
var s2 = e.projectIntoViewport(t2.touches[0].clientX, t2.touches[0].clientY);
|
|
@@ -13712,15 +13768,15 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13712
13768
|
};
|
|
13713
13769
|
};
|
|
13714
13770
|
if (t2.touches[1]) {
|
|
13715
|
-
e.touchData.singleTouchMoved = true,
|
|
13771
|
+
e.touchData.singleTouchMoved = true, _(e.dragData.touchDragEles);
|
|
13716
13772
|
var l2 = e.findContainerClientCoords();
|
|
13717
|
-
|
|
13718
|
-
var
|
|
13719
|
-
|
|
13720
|
-
var m2 = 200,
|
|
13721
|
-
if (
|
|
13722
|
-
var
|
|
13723
|
-
|
|
13773
|
+
X = l2[0], Z = l2[1], Q = l2[2], $ = l2[3], V = t2.touches[0].clientX - X, H = t2.touches[0].clientY - Z, U = t2.touches[1].clientX - X, W = t2.touches[1].clientY - Z, Nh = 0 <= V && V <= Q && 0 <= U && U <= Q && 0 <= H && H <= $ && 0 <= W && W <= $;
|
|
13774
|
+
var d2 = n2.pan(), f2 = n2.zoom();
|
|
13775
|
+
G = Ph(V, H, U, W), q = Fh(V, H, U, W), J = [(V + U) / 2, (H + W) / 2], Y = [(J[0] - d2.x) / f2, (J[1] - d2.y) / f2];
|
|
13776
|
+
var m2 = 200, v3 = m2 * m2;
|
|
13777
|
+
if (q < v3 && !t2.touches[2]) {
|
|
13778
|
+
var S2 = e.findNearestElement(r2[0], r2[1], true, true), C2 = e.findNearestElement(r2[2], r2[3], true, true);
|
|
13779
|
+
S2 && S2.isNode() ? (S2.activate().emit(c2("cxttapstart")), e.touchData.start = S2) : C2 && C2.isNode() ? (C2.activate().emit(c2("cxttapstart")), e.touchData.start = C2) : n2.emit(c2("cxttapstart")), e.touchData.start && (e.touchData.start._private.grabbed = false), e.touchData.cxt = true, e.touchData.cxtDragged = false, e.data.bgActivePosistion = void 0, e.redraw();
|
|
13724
13780
|
return;
|
|
13725
13781
|
}
|
|
13726
13782
|
}
|
|
@@ -13731,7 +13787,7 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13731
13787
|
var E2 = e.dragData.touchDragEles = n2.collection(), D2 = null;
|
|
13732
13788
|
e.redrawHint("eles", true), e.redrawHint("drag", true), T2.selected() ? (D2 = n2.$(function(t3) {
|
|
13733
13789
|
return t3.selected() && e.nodeIsGrabbable(t3);
|
|
13734
|
-
}),
|
|
13790
|
+
}), h(D2, { addToList: E2 })) : g(T2, { addToList: E2 }), u(T2), T2.emit(c2("grabon")), D2 ? D2.forEach(function(e2) {
|
|
13735
13791
|
e2.emit(c2("grab"));
|
|
13736
13792
|
}) : T2.emit(c2("grab"));
|
|
13737
13793
|
}
|
|
@@ -13753,23 +13809,23 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13753
13809
|
}, e.tapholdDuration);
|
|
13754
13810
|
}
|
|
13755
13811
|
if (t2.touches.length >= 1) {
|
|
13756
|
-
for (var
|
|
13812
|
+
for (var k2 = e.touchData.startPosition = [
|
|
13757
13813
|
null,
|
|
13758
13814
|
null,
|
|
13759
13815
|
null,
|
|
13760
13816
|
null,
|
|
13761
13817
|
null,
|
|
13762
13818
|
null
|
|
13763
|
-
],
|
|
13819
|
+
], A2 = 0; A2 < r2.length; A2++) k2[A2] = o2[A2] = r2[A2];
|
|
13764
13820
|
var j2 = t2.touches[0];
|
|
13765
13821
|
e.touchData.startGPosition = [j2.clientX, j2.clientY];
|
|
13766
13822
|
}
|
|
13767
13823
|
}
|
|
13768
13824
|
}, false);
|
|
13769
|
-
var
|
|
13770
|
-
e.registerBinding(t, "touchmove",
|
|
13825
|
+
var Lh;
|
|
13826
|
+
e.registerBinding(t, "touchmove", Lh = function(t2) {
|
|
13771
13827
|
var n2 = e.touchData.capture;
|
|
13772
|
-
if (!(!n2 && !
|
|
13828
|
+
if (!(!n2 && !O(t2))) {
|
|
13773
13829
|
var r2 = e.selection, o2 = e.cy, c2 = e.touchData.now, l2 = e.touchData.earlier, u2 = o2.zoom();
|
|
13774
13830
|
if (t2.touches[0]) {
|
|
13775
13831
|
var d2 = e.projectIntoViewport(t2.touches[0].clientX, t2.touches[0].clientY);
|
|
@@ -13792,16 +13848,16 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13792
13848
|
y: c2[1]
|
|
13793
13849
|
}
|
|
13794
13850
|
};
|
|
13795
|
-
}, m2 = e.touchData.startGPosition,
|
|
13851
|
+
}, m2 = e.touchData.startGPosition, g2;
|
|
13796
13852
|
if (n2 && t2.touches[0] && m2) {
|
|
13797
|
-
for (var
|
|
13853
|
+
for (var v3 = [], b2 = 0; b2 < c2.length; b2++) v3[b2] = c2[b2] - l2[b2];
|
|
13798
13854
|
var S2 = t2.touches[0].clientX - m2[0], C2 = S2 * S2, w2 = t2.touches[0].clientY - m2[1];
|
|
13799
|
-
|
|
13855
|
+
g2 = C2 + w2 * w2 >= e.touchTapThreshold2;
|
|
13800
13856
|
}
|
|
13801
13857
|
if (n2 && e.touchData.cxt) {
|
|
13802
13858
|
t2.preventDefault();
|
|
13803
|
-
var T2 = t2.touches[0].clientX -
|
|
13804
|
-
if (j2 >= F2 * F2 ||
|
|
13859
|
+
var T2 = t2.touches[0].clientX - X, E2 = t2.touches[0].clientY - Z, D2 = t2.touches[1].clientX - X, k2 = t2.touches[1].clientY - Z, A2 = Fh(T2, E2, D2, k2), j2 = A2 / q, M2 = 150, N2 = M2 * M2, F2 = 1.5;
|
|
13860
|
+
if (j2 >= F2 * F2 || A2 >= N2) {
|
|
13805
13861
|
e.touchData.cxt = false, e.data.bgActivePosistion = void 0, e.redrawHint("select", true);
|
|
13806
13862
|
var I2 = f2("cxttapend");
|
|
13807
13863
|
e.touchData.start ? (e.touchData.start.unactivate().emit(I2), e.touchData.start = null) : o2.emit(I2);
|
|
@@ -13823,21 +13879,21 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13823
13879
|
B2.grabbed = false, B2.rscratch.inDragLayer = false;
|
|
13824
13880
|
}
|
|
13825
13881
|
}
|
|
13826
|
-
var
|
|
13827
|
-
if (
|
|
13828
|
-
var
|
|
13829
|
-
x: -
|
|
13830
|
-
y: -
|
|
13882
|
+
var J2 = e.touchData.start, T2 = t2.touches[0].clientX - X, E2 = t2.touches[0].clientY - Z, D2 = t2.touches[1].clientX - X, k2 = t2.touches[1].clientY - Z, Q2 = Ph(T2, E2, D2, k2), $2 = Q2 / G;
|
|
13883
|
+
if (Nh) {
|
|
13884
|
+
var Ih2 = T2 - V, Lh2 = E2 - H, Rh2 = D2 - U, zh2 = k2 - W, Bh2 = (Ih2 + Rh2) / 2, Vh2 = (Lh2 + zh2) / 2, Hh2 = o2.zoom(), Uh2 = Hh2 * $2, Wh2 = o2.pan(), Gh2 = Y[0] * Hh2 + Wh2.x, Kh2 = Y[1] * Hh2 + Wh2.y, qh2 = {
|
|
13885
|
+
x: -Uh2 / Hh2 * (Gh2 - Wh2.x - Bh2) + Gh2,
|
|
13886
|
+
y: -Uh2 / Hh2 * (Kh2 - Wh2.y - Vh2) + Kh2
|
|
13831
13887
|
};
|
|
13832
|
-
if (
|
|
13888
|
+
if (J2 && J2.active()) {
|
|
13833
13889
|
var R2 = e.dragData.touchDragEles;
|
|
13834
|
-
|
|
13890
|
+
_(R2), e.redrawHint("drag", true), e.redrawHint("eles", true), J2.unactivate().emit(f2("freeon")), R2.emit(f2("free")), e.dragData.didDrag && (J2.emit(f2("dragfreeon")), R2.emit(f2("dragfree")));
|
|
13835
13891
|
}
|
|
13836
13892
|
o2.viewport({
|
|
13837
|
-
zoom:
|
|
13838
|
-
pan:
|
|
13893
|
+
zoom: Uh2,
|
|
13894
|
+
pan: qh2,
|
|
13839
13895
|
cancelOnFailedZoom: true
|
|
13840
|
-
}), o2.emit(f2("pinchzoom")),
|
|
13896
|
+
}), o2.emit(f2("pinchzoom")), G = Q2, V = T2, H = E2, U = D2, W = k2, e.pinching = true;
|
|
13841
13897
|
}
|
|
13842
13898
|
if (t2.touches[0]) {
|
|
13843
13899
|
var d2 = e.projectIntoViewport(t2.touches[0].clientX, t2.touches[0].clientY);
|
|
@@ -13852,55 +13908,55 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13852
13908
|
c2[4] = d2[0], c2[5] = d2[1];
|
|
13853
13909
|
}
|
|
13854
13910
|
} else if (t2.touches[0] && !e.touchData.didSelect) {
|
|
13855
|
-
var
|
|
13856
|
-
if (!e.hoverData.draggingEles && !e.swipePanning && (L2 = e.findNearestElement(c2[0], c2[1], true, true)), n2 &&
|
|
13857
|
-
var R2 = e.dragData.touchDragEles,
|
|
13858
|
-
|
|
13859
|
-
var
|
|
13911
|
+
var Jh2 = e.touchData.start, Yh2 = e.touchData.last, L2;
|
|
13912
|
+
if (!e.hoverData.draggingEles && !e.swipePanning && (L2 = e.findNearestElement(c2[0], c2[1], true, true)), n2 && Jh2 != null && t2.preventDefault(), n2 && Jh2 != null && e.nodeIsDraggable(Jh2)) if (g2) {
|
|
13913
|
+
var R2 = e.dragData.touchDragEles, Xh2 = !e.dragData.didDrag;
|
|
13914
|
+
Xh2 && h(R2, { inDragLayer: true }), e.dragData.didDrag = true;
|
|
13915
|
+
var Zh = {
|
|
13860
13916
|
x: 0,
|
|
13861
13917
|
y: 0
|
|
13862
13918
|
};
|
|
13863
|
-
if (number$1(
|
|
13919
|
+
if (number$1(v3[0]) && number$1(v3[1]) && (Zh.x += v3[0], Zh.y += v3[1], Xh2)) {
|
|
13864
13920
|
e.redrawHint("eles", true);
|
|
13865
|
-
var
|
|
13866
|
-
|
|
13921
|
+
var Qh = e.touchData.dragDelta;
|
|
13922
|
+
Qh && number$1(Qh[0]) && number$1(Qh[1]) && (Zh.x += Qh[0], Zh.y += Qh[1]);
|
|
13867
13923
|
}
|
|
13868
|
-
e.hoverData.draggingEles = true, R2.silentShift(
|
|
13924
|
+
e.hoverData.draggingEles = true, R2.silentShift(Zh).emit(f2("position")).emit(f2("drag")), e.redrawHint("drag", true), e.touchData.startPosition[0] == l2[0] && e.touchData.startPosition[1] == l2[1] && e.redrawHint("eles", true), e.redraw();
|
|
13869
13925
|
} else {
|
|
13870
|
-
var
|
|
13871
|
-
|
|
13926
|
+
var Qh = e.touchData.dragDelta = e.touchData.dragDelta || [];
|
|
13927
|
+
Qh.length === 0 ? (Qh.push(v3[0]), Qh.push(v3[1])) : (Qh[0] += v3[0], Qh[1] += v3[1]);
|
|
13872
13928
|
}
|
|
13873
|
-
if (a(
|
|
13929
|
+
if (a(Jh2 || L2, [
|
|
13874
13930
|
"touchmove",
|
|
13875
13931
|
"tapdrag",
|
|
13876
13932
|
"vmousemove"
|
|
13877
13933
|
], t2, {
|
|
13878
13934
|
x: c2[0],
|
|
13879
13935
|
y: c2[1]
|
|
13880
|
-
}), (!
|
|
13881
|
-
if (n2 && (
|
|
13882
|
-
s(
|
|
13883
|
-
x:
|
|
13884
|
-
y:
|
|
13885
|
-
}), o2.emit(f2("dragpan"))) :
|
|
13936
|
+
}), (!Jh2 || !Jh2.grabbed()) && L2 != Yh2 && (Yh2 && Yh2.emit(f2("tapdragout")), L2 && L2.emit(f2("tapdragover"))), e.touchData.last = L2, n2) for (var z2 = 0; z2 < c2.length; z2++) c2[z2] && e.touchData.startPosition[z2] && g2 && (e.touchData.singleTouchMoved = true);
|
|
13937
|
+
if (n2 && (Jh2 == null || Jh2.pannable()) && o2.panningEnabled() && o2.userPanningEnabled()) {
|
|
13938
|
+
s(Jh2, e.touchData.starts) && (t2.preventDefault(), e.data.bgActivePosistion || (e.data.bgActivePosistion = array2point(e.touchData.startPosition)), e.swipePanning ? (o2.panBy({
|
|
13939
|
+
x: v3[0] * u2,
|
|
13940
|
+
y: v3[1] * u2
|
|
13941
|
+
}), o2.emit(f2("dragpan"))) : g2 && (e.swipePanning = true, o2.panBy({
|
|
13886
13942
|
x: S2 * u2,
|
|
13887
13943
|
y: w2 * u2
|
|
13888
|
-
}), o2.emit(f2("dragpan")),
|
|
13944
|
+
}), o2.emit(f2("dragpan")), Jh2 && (Jh2.unactivate(), e.redrawHint("select", true), e.touchData.start = null)));
|
|
13889
13945
|
var d2 = e.projectIntoViewport(t2.touches[0].clientX, t2.touches[0].clientY);
|
|
13890
13946
|
c2[0] = d2[0], c2[1] = d2[1];
|
|
13891
13947
|
}
|
|
13892
13948
|
}
|
|
13893
|
-
for (var
|
|
13949
|
+
for (var b2 = 0; b2 < c2.length; b2++) l2[b2] = c2[b2];
|
|
13894
13950
|
n2 && t2.touches.length > 0 && !e.hoverData.draggingEles && !e.swipePanning && e.data.bgActivePosistion != null && (e.data.bgActivePosistion = void 0, e.redrawHint("select", true), e.redraw());
|
|
13895
13951
|
}
|
|
13896
13952
|
}, false);
|
|
13897
|
-
var
|
|
13898
|
-
e.registerBinding(t, "touchcancel",
|
|
13953
|
+
var Rh;
|
|
13954
|
+
e.registerBinding(t, "touchcancel", Rh = function(t2) {
|
|
13899
13955
|
var n2 = e.touchData.start;
|
|
13900
13956
|
e.touchData.capture = false, n2 && n2.unactivate();
|
|
13901
13957
|
});
|
|
13902
|
-
var
|
|
13903
|
-
if (e.registerBinding(t, "touchend",
|
|
13958
|
+
var zh, Bh, Vh, Hh;
|
|
13959
|
+
if (e.registerBinding(t, "touchend", zh = function(t2) {
|
|
13904
13960
|
var r2 = e.touchData.start;
|
|
13905
13961
|
if (e.touchData.capture) t2.touches.length === 0 && (e.touchData.capture = false), t2.preventDefault();
|
|
13906
13962
|
else return;
|
|
@@ -13949,10 +14005,10 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13949
14005
|
if (r2 == null ? void 0 : r2.unactivate(), t2.touches[2]) e.data.bgActivePosistion = void 0, e.redrawHint("select", true);
|
|
13950
14006
|
else if (!t2.touches[1] && !t2.touches[0] && !t2.touches[0]) {
|
|
13951
14007
|
e.data.bgActivePosistion = void 0, e.redrawHint("select", true);
|
|
13952
|
-
var
|
|
14008
|
+
var v3 = e.dragData.touchDragEles;
|
|
13953
14009
|
if (r2 != null) {
|
|
13954
|
-
var
|
|
13955
|
-
|
|
14010
|
+
var b2 = r2._private.grabbed;
|
|
14011
|
+
_(v3), e.redrawHint("drag", true), e.redrawHint("eles", true), b2 && (r2.emit(f2("freeon")), v3.emit(f2("free")), e.dragData.didDrag && (r2.emit(f2("dragfreeon")), v3.emit(f2("dragfree")))), a(r2, [
|
|
13956
14012
|
"touchend",
|
|
13957
14013
|
"tapend",
|
|
13958
14014
|
"vmouseup",
|
|
@@ -13974,15 +14030,15 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13974
14030
|
e.touchData.singleTouchMoved || (r2 || s2.$(":selected").unselect(["tapunselect"]), a(r2, ["tap", "vclick"], t2, {
|
|
13975
14031
|
x: l2[0],
|
|
13976
14032
|
y: l2[1]
|
|
13977
|
-
}),
|
|
14033
|
+
}), Bh = false, t2.timeStamp - Hh <= s2.multiClickDebounceTime() ? (Vh && clearTimeout(Vh), Bh = true, Hh = null, a(r2, ["dbltap", "vdblclick"], t2, {
|
|
13978
14034
|
x: l2[0],
|
|
13979
14035
|
y: l2[1]
|
|
13980
|
-
})) : (
|
|
13981
|
-
|
|
14036
|
+
})) : (Vh = setTimeout(function() {
|
|
14037
|
+
Bh || a(r2, ["onetap", "voneclick"], t2, {
|
|
13982
14038
|
x: l2[0],
|
|
13983
14039
|
y: l2[1]
|
|
13984
14040
|
});
|
|
13985
|
-
}, s2.multiClickDebounceTime()),
|
|
14041
|
+
}, s2.multiClickDebounceTime()), Hh = t2.timeStamp)), r2 != null && !e.dragData.didDrag && r2._private.selectable && T2 < e.touchTapThreshold2 && !e.pinching && (s2.selectionType() === "single" ? (s2.$(n).unmerge(r2).unselect(["tapunselect"]), r2.select(["tapselect"])) : r2.selected() ? r2.unselect(["tapunselect"]) : r2.select(["tapselect"]), e.redrawHint("eles", true)), e.touchData.singleTouchMoved = true;
|
|
13986
14042
|
}
|
|
13987
14043
|
for (var E2 = 0; E2 < l2.length; E2++) u2[E2] = l2[E2];
|
|
13988
14044
|
e.dragData.didDrag = false, t2.touches.length === 0 && (e.touchData.dragDelta = [], e.touchData.startPosition = [
|
|
@@ -13994,7 +14050,7 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
13994
14050
|
null
|
|
13995
14051
|
], e.touchData.startGPosition = null, e.touchData.didSelect = false), t2.touches.length < 2 && (t2.touches.length === 1 && (e.touchData.startGPosition = [t2.touches[0].clientX, t2.touches[0].clientY]), e.pinching = false, e.redrawHint("eles", true), e.redraw());
|
|
13996
14052
|
}, false), typeof TouchEvent > "u") {
|
|
13997
|
-
var
|
|
14053
|
+
var Uh = [], Wh = function(e2) {
|
|
13998
14054
|
return {
|
|
13999
14055
|
clientX: e2.clientX,
|
|
14000
14056
|
clientY: e2.clientY,
|
|
@@ -14008,38 +14064,38 @@ BRp$3.registerBinding = function(e, t, n, r) {
|
|
|
14008
14064
|
screenY: e2.screenY,
|
|
14009
14065
|
target: e2.target
|
|
14010
14066
|
};
|
|
14011
|
-
},
|
|
14067
|
+
}, Gh = function(e2) {
|
|
14012
14068
|
return {
|
|
14013
14069
|
event: e2,
|
|
14014
|
-
touch:
|
|
14070
|
+
touch: Wh(e2)
|
|
14015
14071
|
};
|
|
14016
|
-
},
|
|
14017
|
-
|
|
14018
|
-
},
|
|
14019
|
-
for (var t2 = 0; t2 <
|
|
14020
|
-
|
|
14072
|
+
}, Kh = function(e2) {
|
|
14073
|
+
Uh.push(Gh(e2));
|
|
14074
|
+
}, qh = function(e2) {
|
|
14075
|
+
for (var t2 = 0; t2 < Uh.length; t2++) if (Uh[t2].event.pointerId === e2.pointerId) {
|
|
14076
|
+
Uh.splice(t2, 1);
|
|
14021
14077
|
return;
|
|
14022
14078
|
}
|
|
14023
|
-
},
|
|
14024
|
-
var t2 =
|
|
14079
|
+
}, Jh = function(e2) {
|
|
14080
|
+
var t2 = Uh.filter(function(t3) {
|
|
14025
14081
|
return t3.event.pointerId === e2.pointerId;
|
|
14026
14082
|
})[0];
|
|
14027
|
-
t2.event = e2, t2.touch =
|
|
14028
|
-
},
|
|
14029
|
-
e2.touches =
|
|
14083
|
+
t2.event = e2, t2.touch = Wh(e2);
|
|
14084
|
+
}, Yh = function(e2) {
|
|
14085
|
+
e2.touches = Uh.map(function(e3) {
|
|
14030
14086
|
return e3.touch;
|
|
14031
14087
|
});
|
|
14032
|
-
},
|
|
14088
|
+
}, Xh = function(e2) {
|
|
14033
14089
|
return e2.pointerType === "mouse" || e2.pointerType === 4;
|
|
14034
14090
|
};
|
|
14035
14091
|
e.registerBinding(e.container, "pointerdown", function(e2) {
|
|
14036
|
-
|
|
14092
|
+
Xh(e2) || (e2.preventDefault(), Kh(e2), Yh(e2), Ih(e2));
|
|
14037
14093
|
}), e.registerBinding(e.container, "pointerup", function(e2) {
|
|
14038
|
-
|
|
14094
|
+
Xh(e2) || (qh(e2), Yh(e2), zh(e2));
|
|
14039
14095
|
}), e.registerBinding(e.container, "pointercancel", function(e2) {
|
|
14040
|
-
|
|
14096
|
+
Xh(e2) || (qh(e2), Yh(e2), Rh(e2));
|
|
14041
14097
|
}), e.registerBinding(e.container, "pointermove", function(e2) {
|
|
14042
|
-
|
|
14098
|
+
Xh(e2) || (e2.preventDefault(), Jh(e2), Yh(e2), Lh(e2));
|
|
14043
14099
|
});
|
|
14044
14100
|
}
|
|
14045
14101
|
};
|
|
@@ -15407,14 +15463,15 @@ CRp$7.eleTextBiggerThanMin = function(e, t) {
|
|
|
15407
15463
|
if (t.isNode()) {
|
|
15408
15464
|
var c = t.pstyle("label");
|
|
15409
15465
|
if (!c || !c.value) return;
|
|
15410
|
-
|
|
15466
|
+
var l = s.getLabelJustification(t), u = t.pstyle("text-metrics").strValue === "glyph";
|
|
15467
|
+
e.textAlign = l, e.textBaseline = u ? "alphabetic" : "bottom";
|
|
15411
15468
|
} else {
|
|
15412
|
-
var
|
|
15413
|
-
if (
|
|
15469
|
+
var d = t.element()._private.rscratch.badLine, f = t.pstyle("label"), m = t.pstyle("source-label"), h = t.pstyle("target-label");
|
|
15470
|
+
if (d || (!f || !f.value) && (!m || !m.value) && (!h || !h.value)) return;
|
|
15414
15471
|
e.textAlign = "center", e.textBaseline = "bottom";
|
|
15415
15472
|
}
|
|
15416
|
-
var
|
|
15417
|
-
n && (
|
|
15473
|
+
var g = !n, _;
|
|
15474
|
+
n && (_ = n, e.translate(-_.x1, -_.y1)), a == null ? (s.drawText(e, t, null, g, o), t.isEdge() && (s.drawText(e, t, "source", g, o), s.drawText(e, t, "target", g, o))) : s.drawText(e, t, a, g, o), n && e.translate(_.x1, _.y1);
|
|
15418
15475
|
}, CRp$7.getFontCache = function(e) {
|
|
15419
15476
|
var t;
|
|
15420
15477
|
this.fontCaches = this.fontCaches || [];
|
|
@@ -15446,10 +15503,12 @@ CRp$7.getTextAngle = function(e, t) {
|
|
|
15446
15503
|
var c = getPrefixedProperty(o, "labelX", n), l = getPrefixedProperty(o, "labelY", n), u, d, f = this.getLabelText(t, n);
|
|
15447
15504
|
if (f != null && f !== "" && !isNaN(c) && !isNaN(l)) {
|
|
15448
15505
|
this.setupTextStyle(e, t, a);
|
|
15449
|
-
var m = n ? n + "-" : "", h = getPrefixedProperty(o, "labelWidth", n), g = getPrefixedProperty(o, "labelHeight", n), _ = t.pstyle(m + "text-margin-x").pfValue,
|
|
15450
|
-
|
|
15451
|
-
var
|
|
15452
|
-
|
|
15506
|
+
var m = n ? n + "-" : "", h = getPrefixedProperty(o, "labelWidth", n), g = getPrefixedProperty(o, "labelHeight", n), _ = getPrefixedProperty(o, "labelActualDescent", n), v = t.pstyle(m + "text-margin-x").pfValue, b = t.pstyle(m + "text-margin-y").pfValue, S = t.isEdge(), C = t.pstyle("text-halign").value, w = t.pstyle("text-valign").value;
|
|
15507
|
+
S && (C = "center", w = "center"), c += v, l += b;
|
|
15508
|
+
var T = r ? this.getTextAngle(t, n) : 0;
|
|
15509
|
+
T !== 0 && (u = c, d = l, e.translate(u, d), e.rotate(T), c = 0, l = 0);
|
|
15510
|
+
var E = labelHalign(C), D = labelValign(w);
|
|
15511
|
+
switch (D) {
|
|
15453
15512
|
case "top":
|
|
15454
15513
|
break;
|
|
15455
15514
|
case "center":
|
|
@@ -15459,19 +15518,19 @@ CRp$7.getTextAngle = function(e, t) {
|
|
|
15459
15518
|
l += g;
|
|
15460
15519
|
break;
|
|
15461
15520
|
}
|
|
15462
|
-
var
|
|
15463
|
-
if (
|
|
15464
|
-
var
|
|
15465
|
-
switch (
|
|
15521
|
+
var O = t.pstyle("text-background-opacity").value, k = t.pstyle("text-border-opacity").value, A = t.pstyle("text-border-width").pfValue, j = t.pstyle("text-background-padding").pfValue, M = t.pstyle("text-background-shape").strValue, N = M === "round-rectangle" || M === "roundrectangle", P = M === "circle", F = 2;
|
|
15522
|
+
if (O > 0 || A > 0 && k > 0) {
|
|
15523
|
+
var I = e.fillStyle, L = e.strokeStyle, R = e.lineWidth, z = t.pstyle("text-background-color").value, B = t.pstyle("text-border-color").value, V = t.pstyle("text-border-style").value, H = O > 0, U = A > 0 && k > 0, W = c - j;
|
|
15524
|
+
switch (E) {
|
|
15466
15525
|
case "left":
|
|
15467
|
-
|
|
15526
|
+
W -= h;
|
|
15468
15527
|
break;
|
|
15469
15528
|
case "center":
|
|
15470
|
-
|
|
15529
|
+
W -= h / 2;
|
|
15471
15530
|
break;
|
|
15472
15531
|
}
|
|
15473
|
-
var
|
|
15474
|
-
if (
|
|
15532
|
+
var G = l - g - j, q = h + 2 * j, J = g + 2 * j;
|
|
15533
|
+
if (H && (e.fillStyle = `rgba(${z[0]},${z[1]},${z[2]},${O * s})`), U && (e.strokeStyle = `rgba(${B[0]},${B[1]},${B[2]},${k * s})`, e.lineWidth = A, e.setLineDash)) switch (V) {
|
|
15475
15534
|
case "dotted":
|
|
15476
15535
|
e.setLineDash([1, 1]);
|
|
15477
15536
|
break;
|
|
@@ -15479,34 +15538,34 @@ CRp$7.getTextAngle = function(e, t) {
|
|
|
15479
15538
|
e.setLineDash([4, 2]);
|
|
15480
15539
|
break;
|
|
15481
15540
|
case "double":
|
|
15482
|
-
e.lineWidth =
|
|
15541
|
+
e.lineWidth = A / 4, e.setLineDash([]);
|
|
15483
15542
|
break;
|
|
15484
15543
|
case "solid":
|
|
15485
15544
|
default:
|
|
15486
15545
|
e.setLineDash([]);
|
|
15487
15546
|
break;
|
|
15488
15547
|
}
|
|
15489
|
-
if (
|
|
15490
|
-
var
|
|
15491
|
-
e.beginPath(),
|
|
15548
|
+
if (N ? (e.beginPath(), roundRect(e, W, G, q, J, F)) : P ? (e.beginPath(), circle(e, W, G, q, J)) : (e.beginPath(), e.rect(W, G, q, J)), H && e.fill(), U && e.stroke(), U && V === "double") {
|
|
15549
|
+
var Y = A / 2;
|
|
15550
|
+
e.beginPath(), N ? roundRect(e, W + Y, G + Y, q - 2 * Y, J - 2 * Y, F) : e.rect(W + Y, G + Y, q - 2 * Y, J - 2 * Y), e.stroke();
|
|
15492
15551
|
}
|
|
15493
|
-
e.fillStyle =
|
|
15552
|
+
e.fillStyle = I, e.strokeStyle = L, e.lineWidth = R, e.setLineDash && e.setLineDash([]);
|
|
15494
15553
|
}
|
|
15495
|
-
var
|
|
15496
|
-
if (
|
|
15497
|
-
var
|
|
15498
|
-
switch (
|
|
15554
|
+
var X = 2 * t.pstyle("text-outline-width").pfValue;
|
|
15555
|
+
if (X > 0 && (e.lineWidth = X), l -= _, t.pstyle("text-wrap").value === "wrap") {
|
|
15556
|
+
var Z = getPrefixedProperty(o, "labelWrapCachedLines", n), Q = getPrefixedProperty(o, "labelLineHeight", n), $ = h / 2, Nh = this.getLabelJustification(t);
|
|
15557
|
+
switch (Nh === "auto" || (E === "left" ? Nh === "left" ? c += -h : Nh === "center" && (c += -$) : E === "center" ? Nh === "left" ? c += -$ : Nh === "right" && (c += $) : E === "right" && (Nh === "center" ? c += $ : Nh === "right" && (c += h))), D) {
|
|
15499
15558
|
case "top":
|
|
15500
|
-
l -= (
|
|
15559
|
+
l -= (Z.length - 1) * Q;
|
|
15501
15560
|
break;
|
|
15502
15561
|
case "center":
|
|
15503
15562
|
case "bottom":
|
|
15504
|
-
l -= (
|
|
15563
|
+
l -= (Z.length - 1) * Q;
|
|
15505
15564
|
break;
|
|
15506
15565
|
}
|
|
15507
|
-
for (var
|
|
15508
|
-
} else
|
|
15509
|
-
|
|
15566
|
+
for (var Ph = 0; Ph < Z.length; Ph++) X > 0 && e.strokeText(Z[Ph], c, l), e.fillText(Z[Ph], c, l), l += Q;
|
|
15567
|
+
} else X > 0 && e.strokeText(f, c, l), e.fillText(f, c, l);
|
|
15568
|
+
T !== 0 && (e.rotate(-T), e.translate(-u, -d));
|
|
15510
15569
|
}
|
|
15511
15570
|
}
|
|
15512
15571
|
};
|
|
@@ -15547,10 +15606,10 @@ CRp$6.drawNode = function(e, t, n) {
|
|
|
15547
15606
|
}, Q = t.pstyle("shape").strValue, $ = t.pstyle("shape-polygon-points").pfValue;
|
|
15548
15607
|
if (h) {
|
|
15549
15608
|
e.translate(f.x, f.y);
|
|
15550
|
-
var
|
|
15551
|
-
g =
|
|
15609
|
+
var Nh = Z(c, l, Q, $);
|
|
15610
|
+
g = Nh.path, _ = Nh.cacheHit;
|
|
15552
15611
|
}
|
|
15553
|
-
var
|
|
15612
|
+
var Ph = function() {
|
|
15554
15613
|
if (!_) {
|
|
15555
15614
|
var n2 = f;
|
|
15556
15615
|
h && (n2 = {
|
|
@@ -15559,7 +15618,7 @@ CRp$6.drawNode = function(e, t, n) {
|
|
|
15559
15618
|
}), s.nodeShapes[s.getNodeShape(t)].draw(g || e, n2.x, n2.y, c, l, q, d);
|
|
15560
15619
|
}
|
|
15561
15620
|
h ? e.fill(g) : e.fill();
|
|
15562
|
-
},
|
|
15621
|
+
}, Fh = function() {
|
|
15563
15622
|
for (var n2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : m, r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true, a2 = u.backgrounding, o2 = 0, c2 = 0; c2 < w.length; c2++) {
|
|
15564
15623
|
var l2 = t.cy().style().getIndexedStyle(t, "background-image-containment", "value", c2);
|
|
15565
15624
|
if (r2 && l2 === "over" || !r2 && l2 === "inside") {
|
|
@@ -15569,16 +15628,16 @@ CRp$6.drawNode = function(e, t, n) {
|
|
|
15569
15628
|
C[c2] && w[c2].complete && !w[c2].error && (o2++, s.drawInscribedImage(e, w[c2], t, c2, n2));
|
|
15570
15629
|
}
|
|
15571
15630
|
u.backgrounding = o2 !== T, a2 !== u.backgrounding && t.updateStyle(false);
|
|
15572
|
-
},
|
|
15631
|
+
}, Ih = function() {
|
|
15573
15632
|
var n2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false, r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : m;
|
|
15574
15633
|
s.hasPie(t) && (s.drawPie(e, t, r2), n2 && (h || s.nodeShapes[s.getNodeShape(t)].draw(e, f.x, f.y, c, l, q, d)));
|
|
15575
|
-
},
|
|
15634
|
+
}, Lh = function() {
|
|
15576
15635
|
var n2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false, r2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : m;
|
|
15577
15636
|
s.hasStripe(t) && (e.save(), h ? e.clip(d.pathCache) : (s.nodeShapes[s.getNodeShape(t)].draw(e, f.x, f.y, c, l, q, d), e.clip()), s.drawStripe(e, t, r2), e.restore(), n2 && (h || s.nodeShapes[s.getNodeShape(t)].draw(e, f.x, f.y, c, l, q, d)));
|
|
15578
|
-
},
|
|
15637
|
+
}, Rh = function() {
|
|
15579
15638
|
var t2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : m, n2 = (k > 0 ? k : -k) * t2, r2 = k > 0 ? 0 : 255;
|
|
15580
15639
|
k !== 0 && (s.colorFillStyle(e, r2, r2, r2, n2), h ? e.fill(g) : e.fill());
|
|
15581
|
-
},
|
|
15640
|
+
}, zh = function() {
|
|
15582
15641
|
if (A > 0) {
|
|
15583
15642
|
if (e.lineWidth = A, e.lineCap = I, e.lineJoin = F, e.setLineDash) switch (N) {
|
|
15584
15643
|
case "dotted":
|
|
@@ -15607,7 +15666,7 @@ CRp$6.drawNode = function(e, t, n) {
|
|
|
15607
15666
|
}
|
|
15608
15667
|
e.setLineDash && e.setLineDash([]);
|
|
15609
15668
|
}
|
|
15610
|
-
},
|
|
15669
|
+
}, Bh = function() {
|
|
15611
15670
|
if (V > 0) {
|
|
15612
15671
|
if (e.lineWidth = V, e.lineCap = "butt", e.setLineDash) switch (U) {
|
|
15613
15672
|
case "dotted":
|
|
@@ -15673,18 +15732,18 @@ CRp$6.drawNode = function(e, t, n) {
|
|
|
15673
15732
|
}
|
|
15674
15733
|
e.setLineDash && e.setLineDash([]);
|
|
15675
15734
|
}
|
|
15676
|
-
},
|
|
15735
|
+
}, Vh = function() {
|
|
15677
15736
|
a && s.drawNodeOverlay(e, t, f, c, l);
|
|
15678
|
-
},
|
|
15737
|
+
}, Hh = function() {
|
|
15679
15738
|
a && s.drawNodeUnderlay(e, t, f, c, l);
|
|
15680
|
-
},
|
|
15739
|
+
}, Uh = function() {
|
|
15681
15740
|
s.drawElementText(e, t, null, r);
|
|
15682
15741
|
};
|
|
15683
15742
|
if (t.pstyle("ghost").value === "yes") {
|
|
15684
|
-
var
|
|
15685
|
-
e.translate(
|
|
15743
|
+
var Wh = t.pstyle("ghost-offset-x").pfValue, Gh = t.pstyle("ghost-offset-y").pfValue, Kh = t.pstyle("ghost-opacity").value, qh = Kh * m;
|
|
15744
|
+
e.translate(Wh, Gh), X(), Bh(), J(Kh * j), Ph(), Fh(qh, true), Y(Kh * B), zh(), Ih(k !== 0 || A !== 0), Lh(k !== 0 || A !== 0), Fh(qh, false), Rh(qh), e.translate(-Wh, -Gh);
|
|
15686
15745
|
}
|
|
15687
|
-
h && e.translate(-f.x, -f.y),
|
|
15746
|
+
h && e.translate(-f.x, -f.y), Hh(), h && e.translate(f.x, f.y), X(), Bh(), J(), Ph(), Fh(m, true), Y(), zh(), Ih(k !== 0 || A !== 0), Lh(k !== 0 || A !== 0), Fh(m, false), Rh(), h && e.translate(-f.x, -f.y), Uh(), Vh(), n && e.translate(b.x1, b.y1);
|
|
15688
15747
|
}
|
|
15689
15748
|
};
|
|
15690
15749
|
var drawNodeOverlayUnderlay = function(e) {
|
|
@@ -15992,8 +16051,8 @@ function modelToRenderedPosition(e, t, n, r, a) {
|
|
|
15992
16051
|
var o = r * n + t.x, s = a * n + t.y;
|
|
15993
16052
|
return s = Math.round(e.canvasHeight - s), [o, s];
|
|
15994
16053
|
}
|
|
15995
|
-
function isSimpleShape(e) {
|
|
15996
|
-
return e.pstyle("background-fill").value !== "solid" || e.pstyle("background-image").strValue !== "none" ? false : e.pstyle("border-width").value === 0 || e.pstyle("border-opacity").value === 0 ? true : e.pstyle("border-style").value === "solid";
|
|
16054
|
+
function isSimpleShape(e, t) {
|
|
16055
|
+
return t.picking ? true : e.pstyle("background-fill").value !== "solid" || e.pstyle("background-image").strValue !== "none" ? false : e.pstyle("border-width").value === 0 || e.pstyle("border-opacity").value === 0 ? true : e.pstyle("border-style").value === "solid";
|
|
15997
16056
|
}
|
|
15998
16057
|
function arrayEqual(e, t) {
|
|
15999
16058
|
if (e.length !== t.length) return false;
|
|
@@ -17139,7 +17198,7 @@ var AtlasManager = /* @__PURE__ */ (function() {
|
|
|
17139
17198
|
var r = this.simpleShapeOptions.get(n);
|
|
17140
17199
|
if (this._isVisible(e2, r)) {
|
|
17141
17200
|
var a = r.shapeProps, o = this._getVertTypeForShape(e2, a.shape);
|
|
17142
|
-
if (o === void 0 || r.isSimple && !r.isSimple(e2)) {
|
|
17201
|
+
if (o === void 0 || r.isSimple && !r.isSimple(e2, this.renderTarget)) {
|
|
17143
17202
|
this.drawTexture(e2, t, n);
|
|
17144
17203
|
return;
|
|
17145
17204
|
}
|
|
@@ -17149,20 +17208,20 @@ var AtlasManager = /* @__PURE__ */ (function() {
|
|
|
17149
17208
|
u[0] = l, u[1] = l, u[2] = l, u[3] = l, o === BOTTOM_ROUND_RECTANGLE && (u[0] = 0, u[2] = 0);
|
|
17150
17209
|
}
|
|
17151
17210
|
indexToVec4(t, this.indexBuffer.getView(s));
|
|
17152
|
-
var d = e2.pstyle(a.
|
|
17153
|
-
toWebGLColor(
|
|
17154
|
-
var
|
|
17155
|
-
if (
|
|
17156
|
-
var
|
|
17157
|
-
if (
|
|
17158
|
-
var
|
|
17159
|
-
toWebGLColor(
|
|
17211
|
+
var d = this.renderTarget.picking ? 1 : n === "node-body" ? e2.effectiveOpacity() : 1, f = this.renderTarget.picking ? 1 : e2.pstyle(a.opacity).value * d, m = e2.pstyle(a.color).value;
|
|
17212
|
+
toWebGLColor(m, f, this.colorBuffer.getView(s));
|
|
17213
|
+
var h = this.lineWidthBuffer.getView(s);
|
|
17214
|
+
if (h[0] = 0, h[1] = 0, a.border) {
|
|
17215
|
+
var g = e2.pstyle("border-width").value;
|
|
17216
|
+
if (g > 0) {
|
|
17217
|
+
var _ = e2.pstyle("border-color").value;
|
|
17218
|
+
toWebGLColor(_, d * e2.pstyle("border-opacity").value, this.borderColorBuffer.getView(s));
|
|
17160
17219
|
var v = e2.pstyle("border-position").value;
|
|
17161
|
-
if (v === "inside")
|
|
17162
|
-
else if (v === "outside")
|
|
17220
|
+
if (v === "inside") h[0] = 0, h[1] = -g;
|
|
17221
|
+
else if (v === "outside") h[0] = g, h[1] = 0;
|
|
17163
17222
|
else {
|
|
17164
|
-
var b =
|
|
17165
|
-
|
|
17223
|
+
var b = g / 2;
|
|
17224
|
+
h[0] = b, h[1] = -b;
|
|
17166
17225
|
}
|
|
17167
17226
|
}
|
|
17168
17227
|
}
|
|
@@ -17839,7 +17898,7 @@ function CanvasRenderer(e) {
|
|
|
17839
17898
|
}, V = function(e2) {
|
|
17840
17899
|
var t2 = O(e2), n2 = h(O(e2));
|
|
17841
17900
|
if (e2.isNode()) {
|
|
17842
|
-
switch (e2.pstyle("text-halign").value) {
|
|
17901
|
+
switch (labelHalign(e2.pstyle("text-halign").value)) {
|
|
17843
17902
|
case "left":
|
|
17844
17903
|
n2.x = -t2.w - (t2.leftPad || 0);
|
|
17845
17904
|
break;
|
|
@@ -17847,7 +17906,7 @@ function CanvasRenderer(e) {
|
|
|
17847
17906
|
n2.x = -(t2.rightPad || 0);
|
|
17848
17907
|
break;
|
|
17849
17908
|
}
|
|
17850
|
-
switch (e2.pstyle("text-valign").value) {
|
|
17909
|
+
switch (labelValign(e2.pstyle("text-valign").value)) {
|
|
17851
17910
|
case "top":
|
|
17852
17911
|
n2.y = -t2.h - (t2.topPad || 0);
|
|
17853
17912
|
break;
|
|
@@ -18171,7 +18230,7 @@ sheetfn.instanceString = function() {
|
|
|
18171
18230
|
}
|
|
18172
18231
|
return e;
|
|
18173
18232
|
};
|
|
18174
|
-
var version = "3.
|
|
18233
|
+
var version = "3.34.0", cytoscape = function(e) {
|
|
18175
18234
|
if (e === void 0 && (e = {}), plainObject(e)) return new Core(e);
|
|
18176
18235
|
if (string(e)) return extension.apply(extension, arguments);
|
|
18177
18236
|
};
|