@ensocode/server 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/out/phone/assets/EnsoNerdSymbolsMono-Regular-TdeMQojc.ttf +0 -0
- package/out/phone/assets/abap-CLvhMVsD.js +1 -0
- package/out/phone/assets/abnfDiagram-VCTEODGH-Cega0ZB0.js +1 -0
- package/out/phone/assets/actionscript-3-Cs6JJXT5.js +1 -0
- package/out/phone/assets/ada-C5qYipkI.js +1 -0
- package/out/phone/assets/ahk-CA9gdOdF.js +1 -0
- package/out/phone/assets/ahk2-_6rzW9BS.js +1 -0
- package/out/phone/assets/andromeeda-vGVdxbeo.js +1 -0
- package/out/phone/assets/angular-html-aPuBvESs.js +1 -0
- package/out/phone/assets/angular-ts-ocjSXnvf.js +1 -0
- package/out/phone/assets/apache-U0d_L8uA.js +1 -0
- package/out/phone/assets/apex-KFGFyKwG.js +1 -0
- package/out/phone/assets/apl-D8Zaj6f9.js +1 -0
- package/out/phone/assets/applescript-CCn79oCD.js +1 -0
- package/out/phone/assets/ara-4CJ0cIlV.js +1 -0
- package/out/phone/assets/arc-DgcGdgmL.js +1 -0
- package/out/phone/assets/architecture-7GRP2DOG-DCck1MrK.js +1 -0
- package/out/phone/assets/architectureDiagram-5GKGNRK7-C8f9RvZ3.js +36 -0
- package/out/phone/assets/array-BifhSqXX.js +1 -0
- package/out/phone/assets/asciidoc-SCjQUq34.js +1 -0
- package/out/phone/assets/asm-Cmm7eHzH.js +1 -0
- package/out/phone/assets/astro-CbVusc_k.js +1 -0
- package/out/phone/assets/aurora-x-CDeNXAV0.js +1 -0
- package/out/phone/assets/awk-BWXHIvNe.js +1 -0
- package/out/phone/assets/ayu-dark-DluEY0Gj.js +1 -0
- package/out/phone/assets/ayu-light-C3h-C4tm.js +1 -0
- package/out/phone/assets/ayu-mirage-Bqwy1Gya.js +1 -0
- package/out/phone/assets/ballerina-B7ZEbQpA.js +1 -0
- package/out/phone/assets/bat-qdxAdBWQ.js +1 -0
- package/out/phone/assets/beancount-D-usSTwE.js +1 -0
- package/out/phone/assets/berry-DKpUyyne.js +1 -0
- package/out/phone/assets/bibtex-Ci_nEsc7.js +1 -0
- package/out/phone/assets/bicep-CUHmPFLl.js +1 -0
- package/out/phone/assets/bird2-CYIUgYqB.js +1 -0
- package/out/phone/assets/blade-BuKMbjJR.js +1 -0
- package/out/phone/assets/blockDiagram-I7D4REHJ-BZvd5QEd.js +129 -0
- package/out/phone/assets/bsl-_VjlB9mv.js +1 -0
- package/out/phone/assets/c-BNQJhXlP.js +1 -0
- package/out/phone/assets/c3-D0apG41V.js +1 -0
- package/out/phone/assets/c4Diagram-7LVT6UL2-CJ2qv8Ii.js +38 -0
- package/out/phone/assets/cadence-CQ2zXKGN.js +1 -0
- package/out/phone/assets/cairo-DLTphjLi.js +1 -0
- package/out/phone/assets/catppuccin-frappe-C9Q5zVZY.js +1 -0
- package/out/phone/assets/catppuccin-latte-CtsyrtPq.js +1 -0
- package/out/phone/assets/catppuccin-macchiato-R8nAf1vR.js +1 -0
- package/out/phone/assets/catppuccin-mocha-DjuaAJKi.js +1 -0
- package/out/phone/assets/channel-C8BU0RXD.js +1 -0
- package/out/phone/assets/chapel-CFMD-Djs.js +1 -0
- package/out/phone/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/out/phone/assets/chunk-4HAMMTFA-QpMUBcfy.js +62 -0
- package/out/phone/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/out/phone/assets/chunk-75Z2AOVW-DAFs7o0e.js +2 -0
- package/out/phone/assets/chunk-DU6HZSFF-CHnDtYge.js +127 -0
- package/out/phone/assets/chunk-F27PBJKO-BdAamljM.js +1 -0
- package/out/phone/assets/chunk-FOHPRMQF-DHwB1DNv.js +161 -0
- package/out/phone/assets/chunk-GMAD6QVW-DwZMixrA.js +72 -0
- package/out/phone/assets/chunk-GVQU2GXP-C4OAfnrk.js +1 -0
- package/out/phone/assets/chunk-IMKFNOWR-C3kpXYrw.js +231 -0
- package/out/phone/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/out/phone/assets/chunk-L3NEJ4N5-D056XKtd.js +1 -0
- package/out/phone/assets/chunk-OSK3NFVY-BS9ju3v0.js +10 -0
- package/out/phone/assets/chunk-P2QGCYS3-BlTpKqmw.js +1 -0
- package/out/phone/assets/chunk-POPQ4Y6H-Dxxk_blH.js +1 -0
- package/out/phone/assets/chunk-PWAF6VOD-BcNAXNJ7.js +1 -0
- package/out/phone/assets/chunk-SHT3W25Y-BgymU7VM.js +168 -0
- package/out/phone/assets/chunk-SVP7TREG-BQ0V0mhL.js +88 -0
- package/out/phone/assets/chunk-TICWLB2K-CwD4Xciz.js +206 -0
- package/out/phone/assets/chunk-XXDRQBXY-BvKO0v-W.js +1 -0
- package/out/phone/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/out/phone/assets/clarity-CtfBBspg.js +1 -0
- package/out/phone/assets/classDiagram-ZZMXUADV-CmkyfP4T.js +1 -0
- package/out/phone/assets/classDiagram-v2-VYDZK3BY-CmkyfP4T.js +1 -0
- package/out/phone/assets/clojure-DqKBuwfJ.js +1 -0
- package/out/phone/assets/cmake-Bj61d0ZC.js +1 -0
- package/out/phone/assets/cobol-qSrRm_BU.js +1 -0
- package/out/phone/assets/codeowners-C8r90Shi.js +1 -0
- package/out/phone/assets/codeql-oeQT6MSM.js +1 -0
- package/out/phone/assets/coffee-BP03ytLP.js +1 -0
- package/out/phone/assets/common-lisp-Cv5bFMCO.js +1 -0
- package/out/phone/assets/coq-DuBRPxYg.js +1 -0
- package/out/phone/assets/cose-bilkent-JH36ORCC-DU88WUul.js +1 -0
- package/out/phone/assets/cpp-CUBNVKxn.js +1 -0
- package/out/phone/assets/crystal-CCpd0BXH.js +1 -0
- package/out/phone/assets/csharp-oqKa8noW.js +1 -0
- package/out/phone/assets/css-DlBQoFxe.js +1 -0
- package/out/phone/assets/csv-Dx-8-gkx.js +1 -0
- package/out/phone/assets/cue-CE9AQfxI.js +1 -0
- package/out/phone/assets/cynefin-OW5HDTMX-BtpkGoWh.js +1 -0
- package/out/phone/assets/cynefinDiagram-5FMLGOSQ-S3Likhk7.js +62 -0
- package/out/phone/assets/cypher-ClKdZ_lG.js +1 -0
- package/out/phone/assets/cytoscape.esm-CGd-uY3x.js +321 -0
- package/out/phone/assets/d-qD-0Kul2.js +1 -0
- package/out/phone/assets/dagre-GXQ25YYZ-DYwTFga-.js +4 -0
- package/out/phone/assets/dagre-PrKaheQc.js +1 -0
- package/out/phone/assets/dark-plus-Cs2F2srj.js +1 -0
- package/out/phone/assets/dart-CnvKMtbv.js +1 -0
- package/out/phone/assets/dax-BkyTk9wS.js +1 -0
- package/out/phone/assets/defaultLocale-BFoDCU3G.js +1 -0
- package/out/phone/assets/desk-cShVjFeS.js +2 -0
- package/out/phone/assets/desktop-Dlh5hvp9.js +1 -0
- package/out/phone/assets/diagram-S7CK7UJ4-DCgm4mSi.js +30 -0
- package/out/phone/assets/diagram-UQ7AKVKN-BEJP1vbS.js +41 -0
- package/out/phone/assets/diagram-VSXAHHWV-D-zTGZ-C.js +3 -0
- package/out/phone/assets/diagram-VX7I27RA-DyALsXBK.js +24 -0
- package/out/phone/assets/diagram-Z3DM3KII-2moOTbgb.js +24 -0
- package/out/phone/assets/diff-woXpYk--.js +1 -0
- package/out/phone/assets/dist-B_J_HbC0.js +1 -0
- package/out/phone/assets/docker-IyjqRm3v.js +1 -0
- package/out/phone/assets/dotenv-_5a1GRtc.js +1 -0
- package/out/phone/assets/dracula-BHWKrbxM.js +1 -0
- package/out/phone/assets/dracula-soft-5eyTD99u.js +1 -0
- package/out/phone/assets/dream-maker-DW3nJb8Q.js +1 -0
- package/out/phone/assets/ebnfDiagram-PWID7BFC-qEwH7k_f.js +1 -0
- package/out/phone/assets/edge-k_uo0VIr.js +1 -0
- package/out/phone/assets/elixir-CJS91GrO.js +1 -0
- package/out/phone/assets/elm-Bmx6Fs0i.js +1 -0
- package/out/phone/assets/emacs-lisp-c_oH4hRZ.js +1 -0
- package/out/phone/assets/erDiagram-RLTQ6QDP-YhtKvjVT.js +99 -0
- package/out/phone/assets/erb-yi0ZozmI.js +1 -0
- package/out/phone/assets/erlang-Cphh6RMH.js +1 -0
- package/out/phone/assets/eventmodeling-NTZA5JFV-CXVB8WB2.js +1 -0
- package/out/phone/assets/everforest-dark-sB-x3p7T.js +1 -0
- package/out/phone/assets/everforest-light-Df2xbC6M.js +1 -0
- package/out/phone/assets/fennel-DQxkIbk2.js +1 -0
- package/out/phone/assets/fish-BJitypiv.js +1 -0
- package/out/phone/assets/flowDiagram-HODETNUW-BENXTitz.js +1 -0
- package/out/phone/assets/fluent-C03EYrpw.js +1 -0
- package/out/phone/assets/fortran-fixed-form-DEKoE2YW.js +1 -0
- package/out/phone/assets/fortran-free-form-CYNrtFtB.js +1 -0
- package/out/phone/assets/fsharp-D13ZGOAj.js +1 -0
- package/out/phone/assets/ganttDiagram-EL5Y4UJY-JjCptSO9.js +292 -0
- package/out/phone/assets/gdresource-xMC7jr7x.js +1 -0
- package/out/phone/assets/gdscript-DYvRD3hg.js +1 -0
- package/out/phone/assets/gdshader-CBce3t8t.js +1 -0
- package/out/phone/assets/genie-CV2tkWYe.js +1 -0
- package/out/phone/assets/gherkin-DExj1W_8.js +1 -0
- package/out/phone/assets/git-commit-BSykSTBG.js +1 -0
- package/out/phone/assets/git-rebase-C-RR1FSc.js +1 -0
- package/out/phone/assets/gitGraph-4MIJSDKK--upNpeoD.js +1 -0
- package/out/phone/assets/gitGraphDiagram-WWUBYQGX-G4lioX9s.js +106 -0
- package/out/phone/assets/github-dark-C-LZuMrd.js +1 -0
- package/out/phone/assets/github-dark-default-DXG-b-1a.js +1 -0
- package/out/phone/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/out/phone/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/out/phone/assets/github-light-EUqPIrTm.js +1 -0
- package/out/phone/assets/github-light-default-BXViO-2h.js +1 -0
- package/out/phone/assets/github-light-high-contrast-B68TUdTA.js +1 -0
- package/out/phone/assets/gleam-CSRkHgEL.js +1 -0
- package/out/phone/assets/glimmer-js-Di6EiJvU.js +1 -0
- package/out/phone/assets/glimmer-ts-C2P-EwIP.js +1 -0
- package/out/phone/assets/glsl-CyFpZtQv.js +1 -0
- package/out/phone/assets/gn-ilITqXS6.js +1 -0
- package/out/phone/assets/gnuplot-7GGW24-e.js +1 -0
- package/out/phone/assets/go-rLFTqkRN.js +1 -0
- package/out/phone/assets/graphlib-DS17s2tU.js +1 -0
- package/out/phone/assets/graphql-BIyAKkG2.js +1 -0
- package/out/phone/assets/groovy-CacY0gHj.js +1 -0
- package/out/phone/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/out/phone/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/out/phone/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/out/phone/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/out/phone/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/out/phone/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/out/phone/assets/hack-DDi4pUY-.js +1 -0
- package/out/phone/assets/haml-Dds4VdNJ.js +1 -0
- package/out/phone/assets/handlebars-C81KA5yo.js +1 -0
- package/out/phone/assets/haskell-D8IpX4py.js +1 -0
- package/out/phone/assets/haxe-C8oCnwJJ.js +1 -0
- package/out/phone/assets/hcl-Dh228itO.js +1 -0
- package/out/phone/assets/hjson-CxZEssPk.js +1 -0
- package/out/phone/assets/hlsl-Cvrh5tZx.js +1 -0
- package/out/phone/assets/horizon-CE9ld1lL.js +1 -0
- package/out/phone/assets/horizon-bright-DSNQnXHK.js +1 -0
- package/out/phone/assets/houston-CsvMBhTu.js +1 -0
- package/out/phone/assets/html-BsvMqTlf.js +1 -0
- package/out/phone/assets/html-derivative-D9FvRNj4.js +1 -0
- package/out/phone/assets/http-c4_vT9ST.js +1 -0
- package/out/phone/assets/hurl-BqZA9I9Q.js +1 -0
- package/out/phone/assets/hxml-Dcm88srW.js +1 -0
- package/out/phone/assets/hy-CZbG8q4J.js +1 -0
- package/out/phone/assets/imba-DsUTQ-LC.js +1 -0
- package/out/phone/assets/info-A6RAGUB7-DimHr4wm.js +1 -0
- package/out/phone/assets/infoDiagram-27XIBGKW-mUBJ5ulK.js +2 -0
- package/out/phone/assets/ini-B5eOa1yu.js +1 -0
- package/out/phone/assets/init-C-OQMol4.js +1 -0
- package/out/phone/assets/ishikawaDiagram-5VMMS53U-BeD9kEgT.js +70 -0
- package/out/phone/assets/java-D7h0NA_A.js +1 -0
- package/out/phone/assets/javascript-DcMHgNcu.js +1 -0
- package/out/phone/assets/jinja-CixBDh_U.js +1 -0
- package/out/phone/assets/jison-Ru_S5AEn.js +1 -0
- package/out/phone/assets/journeyDiagram-3NMN7TZE-GY0or-wH.js +139 -0
- package/out/phone/assets/jsQR-B1eQcpQl.js +1 -0
- package/out/phone/assets/json-DePJdKYk.js +1 -0
- package/out/phone/assets/json5-BR5RXkoi.js +1 -0
- package/out/phone/assets/jsonc-CYpm1nAK.js +1 -0
- package/out/phone/assets/jsonl-CmCQp5Yx.js +1 -0
- package/out/phone/assets/jsonnet-CJTPZ8u_.js +1 -0
- package/out/phone/assets/jssm-DXw9l8Rf.js +1 -0
- package/out/phone/assets/jsx-BUUYi3qs.js +1 -0
- package/out/phone/assets/julia-CaY0JZD0.js +1 -0
- package/out/phone/assets/just-Q4EdCjF5.js +1 -0
- package/out/phone/assets/kanagawa-dragon-Bozd7klA.js +1 -0
- package/out/phone/assets/kanagawa-lotus-BmuOG9ZW.js +1 -0
- package/out/phone/assets/kanagawa-wave-BML5mF2J.js +1 -0
- package/out/phone/assets/kanban-definition-UXKFOSKX-HKJcUWdV.js +89 -0
- package/out/phone/assets/katex-CXMH3UgJ.js +257 -0
- package/out/phone/assets/kdl-CsD5j6eV.js +1 -0
- package/out/phone/assets/kotlin-DhhofPvG.js +1 -0
- package/out/phone/assets/kusto-C7mF5XQf.js +1 -0
- package/out/phone/assets/laserwave-C_8bwKvT.js +1 -0
- package/out/phone/assets/latex-t1iljvl0.js +1 -0
- package/out/phone/assets/lean-CewbzKMR.js +1 -0
- package/out/phone/assets/less-DVTAwKKz.js +1 -0
- package/out/phone/assets/light-plus-DVQuIRkW.js +1 -0
- package/out/phone/assets/line-5zNSEFjF.js +1 -0
- package/out/phone/assets/linear-n-3HSMUF.js +1 -0
- package/out/phone/assets/liquid-DEL4RHa9.js +1 -0
- package/out/phone/assets/llvm-DqHOMS-s.js +1 -0
- package/out/phone/assets/log-BNLmms1o.js +1 -0
- package/out/phone/assets/logo-Cluzi2Zq.js +1 -0
- package/out/phone/assets/lua-Z49wBRLR.js +1 -0
- package/out/phone/assets/luau-C2pBCSgt.js +1 -0
- package/out/phone/assets/main-DUhek_LZ.js +1626 -0
- package/out/phone/assets/main-J3o3XX7C.css +1 -0
- package/out/phone/assets/make-Dixweg8N.js +1 -0
- package/out/phone/assets/markdown-BYOwaDjH.js +1 -0
- package/out/phone/assets/marko-DYWPPmCl.js +1 -0
- package/out/phone/assets/material-theme-Bm3Qr25_.js +1 -0
- package/out/phone/assets/material-theme-darker-2IIEA8gg.js +1 -0
- package/out/phone/assets/material-theme-lighter-uhdI0v04.js +1 -0
- package/out/phone/assets/material-theme-ocean-CHQ94UKr.js +1 -0
- package/out/phone/assets/material-theme-palenight-B5W6OYN7.js +1 -0
- package/out/phone/assets/matlab-D7qyCx1q.js +1 -0
- package/out/phone/assets/mdc-CsAWFGA9.js +1 -0
- package/out/phone/assets/mdx-DQZ5AkYe.js +1 -0
- package/out/phone/assets/mermaid-BxpfTIzt.js +1 -0
- package/out/phone/assets/mermaid-parser.core-CESNvrmx.js +7 -0
- package/out/phone/assets/mermaid.core-CHMT4qDd.js +44 -0
- package/out/phone/assets/min-dark-BSWPekZh.js +1 -0
- package/out/phone/assets/min-light-DDpmG2fV.js +1 -0
- package/out/phone/assets/mindmap-definition-YA3MSWOX-D4UPhmEW.js +96 -0
- package/out/phone/assets/mipsasm-BMqwQI7S.js +1 -0
- package/out/phone/assets/mojo-fg40_ntQ.js +1 -0
- package/out/phone/assets/monokai-B_bV9PQ9.js +1 -0
- package/out/phone/assets/moonbit-DgjMoLWr.js +1 -0
- package/out/phone/assets/move-BYnGhZoM.js +1 -0
- package/out/phone/assets/narrat-_X_XdTYD.js +1 -0
- package/out/phone/assets/nextflow-BJtWHP5T.js +1 -0
- package/out/phone/assets/nextflow-groovy-DJMQeKeT.js +1 -0
- package/out/phone/assets/nginx-BrbrEdla.js +1 -0
- package/out/phone/assets/night-owl-DhmEMT88.js +1 -0
- package/out/phone/assets/night-owl-light-eJ-hLW7d.js +1 -0
- package/out/phone/assets/nim-BjwzhXka.js +1 -0
- package/out/phone/assets/nix-IvuFDN5E.js +1 -0
- package/out/phone/assets/nord-Cb4Vim4T.js +1 -0
- package/out/phone/assets/nsis-CjNLYCLg.js +1 -0
- package/out/phone/assets/nushell-DHYfO66s.js +1 -0
- package/out/phone/assets/objective-c-D1A_Heim.js +1 -0
- package/out/phone/assets/objective-cpp-BsSzOQcm.js +1 -0
- package/out/phone/assets/ocaml-O90oeIOV.js +1 -0
- package/out/phone/assets/odin-B1RWQWA5.js +1 -0
- package/out/phone/assets/one-dark-pro-CLwyXe_n.js +1 -0
- package/out/phone/assets/one-light-D7Lr4KcI.js +1 -0
- package/out/phone/assets/openscad-BUDT5pXO.js +1 -0
- package/out/phone/assets/ordinal-BDEzSJ7C.js +1 -0
- package/out/phone/assets/org-TFl3N09_.js +1 -0
- package/out/phone/assets/packet-AYTQ26CC-yYeqVBt3.js +1 -0
- package/out/phone/assets/pascal-4ZHwLPI5.js +1 -0
- package/out/phone/assets/path-fybaL0A-.js +1 -0
- package/out/phone/assets/pegDiagram-XKGWAZYB-C1BeG2En.js +1 -0
- package/out/phone/assets/perl-BtArmf81.js +1 -0
- package/out/phone/assets/php-Cx25uSIP.js +1 -0
- package/out/phone/assets/pie-WAS4IAKB-C7qbVkkZ.js +1 -0
- package/out/phone/assets/pieDiagram-E7YTZNPT-BZtPOCXT.js +39 -0
- package/out/phone/assets/pierre-dark-CpLgRqie.js +1 -0
- package/out/phone/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
- package/out/phone/assets/pierre-dark-soft-kZQmAZld.js +1 -0
- package/out/phone/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
- package/out/phone/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
- package/out/phone/assets/pierre-light-CoaEpmwp.js +1 -0
- package/out/phone/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
- package/out/phone/assets/pierre-light-soft-lWLdNTOI.js +1 -0
- package/out/phone/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
- package/out/phone/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
- package/out/phone/assets/pkl-ot-7Btpt.js +1 -0
- package/out/phone/assets/plastic-DQwYfKfQ.js +1 -0
- package/out/phone/assets/plsql-DGHpHOYJ.js +1 -0
- package/out/phone/assets/po-BiJDBrnU.js +1 -0
- package/out/phone/assets/poimandres-DRFjx7u4.js +1 -0
- package/out/phone/assets/polar-C7UOKdEL.js +1 -0
- package/out/phone/assets/postcss-BXeXVLqQ.js +1 -0
- package/out/phone/assets/powerquery-DNMTfnFr.js +1 -0
- package/out/phone/assets/powershell-CCSX75yM.js +1 -0
- package/out/phone/assets/prisma-DMgNhnYS.js +1 -0
- package/out/phone/assets/prolog-iXnhIJG7.js +1 -0
- package/out/phone/assets/proto-DB4EqR-F.js +1 -0
- package/out/phone/assets/pug-B4bk2kWf.js +1 -0
- package/out/phone/assets/puppet-CDv2pdJW.js +1 -0
- package/out/phone/assets/purescript-9MfHhQsQ.js +1 -0
- package/out/phone/assets/python-gzcpVVnB.js +1 -0
- package/out/phone/assets/qml-g4UDed-8.js +1 -0
- package/out/phone/assets/qmldir-DCQb3MpD.js +1 -0
- package/out/phone/assets/qss-Fe1Jh2GI.js +1 -0
- package/out/phone/assets/quadrantDiagram-AXDQQJYC-DBuAxCC3.js +7 -0
- package/out/phone/assets/r-CvCSiWB_.js +1 -0
- package/out/phone/assets/racket-DcIDlBhZ.js +1 -0
- package/out/phone/assets/radar-RG4KPBEZ-B_BGy3Kr.js +1 -0
- package/out/phone/assets/railroad-74A4TZTK-BsjBmeHC.js +1 -0
- package/out/phone/assets/railroad-abnf-HS5TGJTU-CT8IgF_S.js +1 -0
- package/out/phone/assets/railroad-ebnf-LZEXJU2U-CWaJQOMi.js +1 -0
- package/out/phone/assets/railroad-peg-WCYAUIDC-SNjLanew.js +1 -0
- package/out/phone/assets/railroadDiagram-O6MQD6OU-D9evVxPR.js +1 -0
- package/out/phone/assets/raku-B3gFvitq.js +1 -0
- package/out/phone/assets/razor-BSt2ayLr.js +1 -0
- package/out/phone/assets/rbs-C0MpOrj4.js +1 -0
- package/out/phone/assets/red-DX1BQOs8.js +1 -0
- package/out/phone/assets/reg-CRGYupPL.js +1 -0
- package/out/phone/assets/regexp-I2jnduhj.js +1 -0
- package/out/phone/assets/rel-BtDbiS_P.js +1 -0
- package/out/phone/assets/requirementDiagram-BXWQKSXE-i6bxa2IL.js +84 -0
- package/out/phone/assets/riscv-Ckw8ddFX.js +1 -0
- package/out/phone/assets/rolldown-runtime-Dd_uD5pT.js +1 -0
- package/out/phone/assets/ron-VUp2lXgN.js +1 -0
- package/out/phone/assets/rose-pine-aMsaMD1D.js +1 -0
- package/out/phone/assets/rose-pine-dawn-8PwUyIlP.js +1 -0
- package/out/phone/assets/rose-pine-moon-DO-qXg-I.js +1 -0
- package/out/phone/assets/rosmsg-CAekHB0j.js +1 -0
- package/out/phone/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/out/phone/assets/rst-BucurtmO.js +1 -0
- package/out/phone/assets/ruby-D1ky9XZ0.js +1 -0
- package/out/phone/assets/rust-Cfkwpbl8.js +1 -0
- package/out/phone/assets/sankeyDiagram-P5KCCOFB-DH4NVC2Q.js +40 -0
- package/out/phone/assets/sas-CUQt684o.js +1 -0
- package/out/phone/assets/sass-DXrisJhu.js +1 -0
- package/out/phone/assets/scala-BiFt_7mu.js +1 -0
- package/out/phone/assets/scheme-DQCgrYNe.js +1 -0
- package/out/phone/assets/scss-BaZL6t2Y.js +1 -0
- package/out/phone/assets/sdbl-bTVj8UrX.js +1 -0
- package/out/phone/assets/sequenceDiagram-WJ2MYXX4-DlhlGayV.js +162 -0
- package/out/phone/assets/shaderlab-TOUzSsQk.js +1 -0
- package/out/phone/assets/shellscript-B51zB43X.js +1 -0
- package/out/phone/assets/shellsession-B-KBpmJs.js +1 -0
- package/out/phone/assets/sizeCapture-INFHLROL-B0uUizjq.js +1 -0
- package/out/phone/assets/slack-dark-DnToyrRv.js +1 -0
- package/out/phone/assets/slack-ochin-B2OO5cIa.js +1 -0
- package/out/phone/assets/smalltalk-BHpQb5nM.js +1 -0
- package/out/phone/assets/smithy-Dgaz7aur.js +1 -0
- package/out/phone/assets/snazzy-light-4G7pJPwS.js +1 -0
- package/out/phone/assets/solarized-dark-UdsmMDCL.js +1 -0
- package/out/phone/assets/solarized-light-C1IUL_tW.js +1 -0
- package/out/phone/assets/solidity-Bj7E1mRn.js +1 -0
- package/out/phone/assets/soy-D5xCHD_M.js +1 -0
- package/out/phone/assets/sparql-D_iOobhT.js +1 -0
- package/out/phone/assets/splunk-BC2Px7Mm.js +1 -0
- package/out/phone/assets/sql-DvarVTMJ.js +1 -0
- package/out/phone/assets/src-oBChb5qS.js +1 -0
- package/out/phone/assets/ssh-config-BgfXC-Er.js +1 -0
- package/out/phone/assets/stata-8TbiBYrm.js +1 -0
- package/out/phone/assets/stateDiagram-D77RDMKH-D_DPdH7w.js +1 -0
- package/out/phone/assets/stateDiagram-v2-MP3YSRHH-CoPt9ntw.js +1 -0
- package/out/phone/assets/storage-XVpAo_5O.js +1 -0
- package/out/phone/assets/stylus-B6D30XZt.js +1 -0
- package/out/phone/assets/surrealql-DalIYx4r.js +1 -0
- package/out/phone/assets/svelte-D4FIy7cP.js +1 -0
- package/out/phone/assets/swift-CyEgAFGc.js +1 -0
- package/out/phone/assets/swimlanes-42K2YHIH-CjSAu_NP.js +1 -0
- package/out/phone/assets/swimlanesDiagram-VR7AAH4N-BGqrea9i.js +8 -0
- package/out/phone/assets/synthwave-84-nFMaYfgc.js +1 -0
- package/out/phone/assets/system-verilog-Dh5ihWbf.js +1 -0
- package/out/phone/assets/systemd-BxMlprV5.js +1 -0
- package/out/phone/assets/talonscript-CohzipZa.js +1 -0
- package/out/phone/assets/tasl-DMoTqEGO.js +1 -0
- package/out/phone/assets/tcl-CZd0xW_V.js +1 -0
- package/out/phone/assets/templ-DP4lTcEq.js +1 -0
- package/out/phone/assets/terraform-DswuEJGm.js +1 -0
- package/out/phone/assets/tex-JPaUWOrn.js +1 -0
- package/out/phone/assets/timeline-definition-24CTP7MA-CKjtgbMT.js +120 -0
- package/out/phone/assets/tokyo-night-oM2G3aXe.js +1 -0
- package/out/phone/assets/toml-CcmNWLt0.js +1 -0
- package/out/phone/assets/treeView-Q6P3EWNA-CcXW5eXy.js +1 -0
- package/out/phone/assets/treemap-WGGIJYW6-D-A5QN7t.js +1 -0
- package/out/phone/assets/ts-tags-CNUq3so9.js +1 -0
- package/out/phone/assets/tsv-sltzmVWM.js +1 -0
- package/out/phone/assets/tsx-DvWhG4dC.js +1 -0
- package/out/phone/assets/turtle-ByJddavk.js +1 -0
- package/out/phone/assets/twig-Chu5fnNS.js +1 -0
- package/out/phone/assets/typescript-BTGs5etX.js +1 -0
- package/out/phone/assets/typespec-BRdr0IET.js +1 -0
- package/out/phone/assets/typst--WwEKe8X.js +1 -0
- package/out/phone/assets/v-DBj4K9d_.js +1 -0
- package/out/phone/assets/vala-zf12oZj6.js +1 -0
- package/out/phone/assets/vb-DOwzaHZ0.js +1 -0
- package/out/phone/assets/vennDiagram-4TSXK5OY-Cv7gtgfd.js +34 -0
- package/out/phone/assets/verilog-B2gwz-sJ.js +1 -0
- package/out/phone/assets/vesper-DdrHHSXu.js +1 -0
- package/out/phone/assets/vhdl-BroJfC0k.js +1 -0
- package/out/phone/assets/viml-DvXPmvsu.js +1 -0
- package/out/phone/assets/vitesse-black-fwtXNY1n.js +1 -0
- package/out/phone/assets/vitesse-dark-BZCL-v6S.js +1 -0
- package/out/phone/assets/vitesse-light-VbXTXTou.js +1 -0
- package/out/phone/assets/vue-DjCn01CB.js +1 -0
- package/out/phone/assets/vue-html-BXjKVtKk.js +1 -0
- package/out/phone/assets/vue-vine-By_xyXdL.js +1 -0
- package/out/phone/assets/vyper-CgoNMtux.js +1 -0
- package/out/phone/assets/wardley-WFR3VGLG-D_tvgGg1.js +1 -0
- package/out/phone/assets/wardleyDiagram-VM6X3IG4-DePRObWV.js +78 -0
- package/out/phone/assets/wasm-BnjxR4X6.js +1 -0
- package/out/phone/assets/wasm-ByWQv1Qj.js +1 -0
- package/out/phone/assets/wenyan-C8pVoKbM.js +1 -0
- package/out/phone/assets/wgsl-BsKzXJz4.js +1 -0
- package/out/phone/assets/wikitext-ClFFjSW2.js +1 -0
- package/out/phone/assets/wit-DdvCle-K.js +1 -0
- package/out/phone/assets/wolfram-DLL8P-h_.js +1 -0
- package/out/phone/assets/xml-C01ajBW7.js +1 -0
- package/out/phone/assets/xsl-CCLNyvR3.js +1 -0
- package/out/phone/assets/xychartDiagram-S5SC5T6Z-BHYMMB0o.js +7 -0
- package/out/phone/assets/yaml-BWCS3NLV.js +1 -0
- package/out/phone/assets/zenscript-BnlCZFoB.js +1 -0
- package/out/phone/assets/zig-CMLA9XwU.js +1 -0
- package/out/phone/desk.html +144 -0
- package/out/phone/icons/apple-touch-icon.png +0 -0
- package/out/phone/icons/icon-192.png +0 -0
- package/out/phone/icons/icon-512.png +0 -0
- package/out/phone/icons/icon-maskable-512.png +0 -0
- package/out/phone/index.html +36 -0
- package/out/phone/manifest.webmanifest +30 -0
- package/out/phone/sw.js +176 -0
- package/out/renderer/assets/{abnfDiagram-VCTEODGH-BDMrRlBj.js → abnfDiagram-VCTEODGH-DdK4JluI.js} +1 -1
- package/out/renderer/assets/{arc-BHxAM6vy.js → arc-C3Tu0xaJ.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-5GKGNRK7-DQrws1sS.js → architectureDiagram-5GKGNRK7-PLJjUx-Q.js} +1 -1
- package/out/renderer/assets/{blockDiagram-I7D4REHJ-DNVn9Vt7.js → blockDiagram-I7D4REHJ-BRttER_B.js} +1 -1
- package/out/renderer/assets/{c4Diagram-7LVT6UL2--LtDB-qV.js → c4Diagram-7LVT6UL2-DSrqw52f.js} +1 -1
- package/out/renderer/assets/channel-EreZfF5O.js +1 -0
- package/out/renderer/assets/{chunk-2Q5K7J3B-t33NDV5v.js → chunk-2Q5K7J3B-Dz64b8RH.js} +1 -1
- package/out/renderer/assets/{chunk-5VM5RSS4-aCGmL6_s.js → chunk-5VM5RSS4-BECaJI5N.js} +1 -1
- package/out/renderer/assets/{chunk-F27PBJKO-DQvndxlp.js → chunk-F27PBJKO-S2N-gAv4.js} +1 -1
- package/out/renderer/assets/{chunk-IMKFNOWR-rH1b7xzl.js → chunk-IMKFNOWR-Br9OVSHs.js} +1 -1
- package/out/renderer/assets/{chunk-JWPE2WC7-B7-2fQn6.js → chunk-JWPE2WC7-BuWr_Gi3.js} +1 -1
- package/out/renderer/assets/{chunk-POPQ4Y6H-CVYzlJTE.js → chunk-POPQ4Y6H-DD1X7wFN.js} +1 -1
- package/out/renderer/assets/{chunk-SVP7TREG-v3eUqihT.js → chunk-SVP7TREG-CEwQQJCq.js} +1 -1
- package/out/renderer/assets/{chunk-TICWLB2K-Dq2BsFU4.js → chunk-TICWLB2K-DWxoeJ_a.js} +1 -1
- package/out/renderer/assets/{chunk-XXDRQBXY-DjMnIDLm.js → chunk-XXDRQBXY-BkGqzo8s.js} +1 -1
- package/out/renderer/assets/classDiagram-ZZMXUADV-C0LACBLd.js +1 -0
- package/out/renderer/assets/classDiagram-v2-VYDZK3BY-C0LACBLd.js +1 -0
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-DAUPCDab.js → cose-bilkent-JH36ORCC-C3IrUgep.js} +1 -1
- package/out/renderer/assets/{cynefin-OW5HDTMX-DBni0eSw.js → cynefin-OW5HDTMX-CFjRbSdS.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-5FMLGOSQ-n0u0erlW.js → cynefinDiagram-5FMLGOSQ-DrDEW-bJ.js} +1 -1
- package/out/renderer/assets/{cytoscape-fcose-DVQaQP2R.js → cytoscape-fcose-Fb8TxDQE.js} +1 -1
- package/out/renderer/assets/{dagre-GXQ25YYZ-B-0jlzO1.js → dagre-GXQ25YYZ-I36iN-TB.js} +1 -1
- package/out/renderer/assets/{diagram-S7CK7UJ4-BxXw3viF.js → diagram-S7CK7UJ4-BnpSNo2U.js} +1 -1
- package/out/renderer/assets/{diagram-UQ7AKVKN-BCCjG-ot.js → diagram-UQ7AKVKN-CLSTSMpT.js} +1 -1
- package/out/renderer/assets/{diagram-VSXAHHWV-BK0zhBZp.js → diagram-VSXAHHWV-CYWKB94O.js} +1 -1
- package/out/renderer/assets/{diagram-VX7I27RA-DylHuw1A.js → diagram-VX7I27RA-CiccNLLJ.js} +1 -1
- package/out/renderer/assets/{diagram-Z3DM3KII-biplaxsX.js → diagram-Z3DM3KII-CMa0FQvK.js} +1 -1
- package/out/renderer/assets/{ebnfDiagram-PWID7BFC-DzoKjl97.js → ebnfDiagram-PWID7BFC-D9ixbwCW.js} +1 -1
- package/out/renderer/assets/{erDiagram-RLTQ6QDP-CxhgKPs-.js → erDiagram-RLTQ6QDP-CNrNtPX7.js} +1 -1
- package/out/renderer/assets/{flowDiagram-HODETNUW-DCi3FHwP.js → flowDiagram-HODETNUW-Db6JwvNt.js} +1 -1
- package/out/renderer/assets/{ganttDiagram-EL5Y4UJY-BCmOcEsS.js → ganttDiagram-EL5Y4UJY-DJnwFeHI.js} +1 -1
- package/out/renderer/assets/{gitGraphDiagram-WWUBYQGX-CWwjuui-.js → gitGraphDiagram-WWUBYQGX-CImEr0sA.js} +1 -1
- package/out/renderer/assets/{globals-BwNQF72D.js → globals-dEmzc9xm.js} +1 -1
- package/out/renderer/assets/{index-CzysFMwH.js → index-CRQPDSxu.js} +57 -57
- package/out/renderer/assets/{infoDiagram-27XIBGKW-C2vV0S3R.js → infoDiagram-27XIBGKW-CISUaweB.js} +1 -1
- package/out/renderer/assets/{ishikawaDiagram-5VMMS53U-BSWVe4Qr.js → ishikawaDiagram-5VMMS53U--mjk3ZnD.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-3NMN7TZE-D_D_AgW8.js → journeyDiagram-3NMN7TZE-Ccb8p_Gi.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UXKFOSKX-Dp-tJLJV.js → kanban-definition-UXKFOSKX-ahWZlDgr.js} +1 -1
- package/out/renderer/assets/{layout-BGyL6Nz9.js → layout-JHtZhGkd.js} +1 -1
- package/out/renderer/assets/{linear-NiGqkXcf.js → linear-CiRKfaMD.js} +1 -1
- package/out/renderer/assets/{mermaid.core-CAbX6U-E.js → mermaid.core-1Md-4wKR.js} +5 -5
- package/out/renderer/assets/{mindmap-definition-YA3MSWOX-C_KTsCSk.js → mindmap-definition-YA3MSWOX-CGqaSO2p.js} +1 -1
- package/out/renderer/assets/{pegDiagram-XKGWAZYB-BlEf-4SS.js → pegDiagram-XKGWAZYB-CqdmfX5L.js} +1 -1
- package/out/renderer/assets/{pieDiagram-E7YTZNPT-C2l9VhhT.js → pieDiagram-E7YTZNPT-C7DFu9hs.js} +1 -1
- package/out/renderer/assets/{quadrantDiagram-AXDQQJYC-Bkm2D1II.js → quadrantDiagram-AXDQQJYC-D2IFogXU.js} +1 -1
- package/out/renderer/assets/{railroadDiagram-O6MQD6OU-Cy9AsJch.js → railroadDiagram-O6MQD6OU-CqZN5gvm.js} +1 -1
- package/out/renderer/assets/{requirementDiagram-BXWQKSXE-DaqpZJ20.js → requirementDiagram-BXWQKSXE-B7pdNne4.js} +1 -1
- package/out/renderer/assets/{sankeyDiagram-P5KCCOFB-DShER0Cl.js → sankeyDiagram-P5KCCOFB-CZltFRIP.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-WJ2MYXX4-fA8_5PiI.js → sequenceDiagram-WJ2MYXX4-FS87uVdj.js} +1 -1
- package/out/renderer/assets/{settings-BwM2TgQ9.js → settings-CuIYYlTo.js} +2 -2
- package/out/renderer/assets/{sizeCapture-INFHLROL-CpzQOV5k.js → sizeCapture-INFHLROL-BISO2YGx.js} +1 -1
- package/out/renderer/assets/{stateDiagram-D77RDMKH-CIEGNnJO.js → stateDiagram-D77RDMKH-cJWkYs-j.js} +1 -1
- package/out/renderer/assets/stateDiagram-v2-MP3YSRHH-NE3FMcRP.js +1 -0
- package/out/renderer/assets/{swimlanes-42K2YHIH-CAeLgkB1.js → swimlanes-42K2YHIH-4oMYiWXz.js} +1 -1
- package/out/renderer/assets/swimlanesDiagram-VR7AAH4N-ChFhE3KJ.js +8 -0
- package/out/renderer/assets/{timeline-definition-24CTP7MA-CkWIsYs6.js → timeline-definition-24CTP7MA-4bRgv2xa.js} +1 -1
- package/out/renderer/assets/{vennDiagram-4TSXK5OY-Cus6U3uz.js → vennDiagram-4TSXK5OY-DXJvnPwS.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-VM6X3IG4-BJg1coTW.js → wardleyDiagram-VM6X3IG4-BXYCpL-Q.js} +1 -1
- package/out/renderer/assets/{xychartDiagram-S5SC5T6Z-DjRPfyub.js → xychartDiagram-S5SC5T6Z-CFWwLtGV.js} +1 -1
- package/out/renderer/index.html +2 -2
- package/out/renderer/settings.html +3 -3
- package/out/renderer/web-preload.js +1 -1
- package/out/server/agent.js +1 -1
- package/out/server/chunks/{gpuBackendInstall-CaDq8XnR.js → gpuBackendInstall-01PhfJrX.js} +9 -1
- package/out/server/index.js +5235 -565
- package/package.json +1 -1
- package/out/renderer/assets/channel-DIfxeADv.js +0 -1
- package/out/renderer/assets/classDiagram-ZZMXUADV-D8Q2hInV.js +0 -1
- package/out/renderer/assets/classDiagram-v2-VYDZK3BY-D8Q2hInV.js +0 -1
- package/out/renderer/assets/stateDiagram-v2-MP3YSRHH-DYbIahny.js +0 -1
- package/out/renderer/assets/swimlanesDiagram-VR7AAH4N-BLHkQmpd.js +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{t}from"./java-D7h0NA_A.js";var n=e({default:()=>i}),r=Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml","patterns":[{"match":" ([-A-Za-z]+)","name":"entity.other.attribute-name.xml"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"begin":"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.doctype.xml"},"3":{"name":"variable.language.documentroot.xml"}},"end":"\\\\s*(>)","name":"meta.tag.sgml.doctype.xml","patterns":[{"include":"#internalSubset"}]},{"include":"#comments"},{"begin":"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"},"3":{"name":"entity.name.tag.namespace.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"punctuation.definition.tag.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"entity.name.tag.namespace.xml"},"5":{"name":"punctuation.separator.namespace.xml"},"6":{"name":"entity.name.tag.localname.xml"},"7":{"name":"punctuation.definition.tag.xml"}},"name":"meta.tag.no-content.xml","patterns":[{"include":"#tagStuff"}]},{"begin":"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(/?>)","name":"meta.tag.xml","patterns":[{"include":"#tagStuff"}]},{"include":"#entity"},{"include":"#bare-ampersand"},{"begin":"<%@","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java-props.embedded.xml","patterns":[{"match":"page|include|taglib","name":"keyword.other.page-props.xml"}]},{"begin":"<%[!=]?(?!--)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"(?!--)%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java.embedded.xml","patterns":[{"include":"source.java"}]},{"begin":"<!\\\\[CDATA\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"]]>","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.unquoted.cdata.xml"}],"repository":{"EntityDecl":{"begin":"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.entity.xml"},"3":{"name":"punctuation.definition.entity.xml"},"4":{"name":"variable.language.entity.xml"},"5":{"name":"keyword.other.entitytype.xml"}},"end":"(>)","patterns":[{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},"bare-ampersand":{"match":"&","name":"invalid.illegal.bad-ampersand.xml"},"comments":{"patterns":[{"begin":"<%--","captures":{"0":{"name":"punctuation.definition.comment.xml"},"end":"--%>","name":"comment.block.xml"}},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.xml"}},"end":"-->","name":"comment.block.xml","patterns":[{"begin":"--(?!>)","captures":{"0":{"name":"invalid.illegal.bad-comments-or-CDATA.xml"}}}]}]},"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"entity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.xml"},"internalSubset":{"begin":"(\\\\[)","captures":{"1":{"name":"punctuation.definition.constant.xml"}},"end":"(])","name":"meta.internalsubset.xml","patterns":[{"include":"#EntityDecl"},{"include":"#parameterEntity"},{"include":"#comments"}]},"parameterEntity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)","name":"constant.character.parameter-entity.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"tagStuff":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*="},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]}},"scopeName":"text.xml","embeddedLangs":["java"]}`)),i=[...t,r];export{n,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./xml-C01ajBW7.js";var t=Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`)),n=[...e,t];export{n as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as t}from"./src-oBChb5qS.js";import{D as n,H as r,K as i,U as a,a as o,b as s,c,f as l,v as u,w as d,y as f,z as p}from"./chunk-DU6HZSFF-CHnDtYge.js";import{t as m}from"./linear-n-3HSMUF.js";import{t as h}from"./ordinal-BDEzSJ7C.js";import{t as g}from"./init-C-OQMol4.js";import{i as _}from"./chunk-75Z2AOVW-DAFs7o0e.js";import{t as v}from"./line-5zNSEFjF.js";import"./chunk-PWAF6VOD-BcNAXNJ7.js";import{t as y}from"./chunk-GMAD6QVW-DwZMixrA.js";import{f as b}from"./mermaid.core-CHMT4qDd.js";function x(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function S(){var e=h().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=x(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return S(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},g.apply(d(),arguments)}var C=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,36,37,38],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,36,37,38],E=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],D=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],O=[1,65],k=[26,28],A={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:`error`,5:`XYCHART`,8:`CHART_ORIENTATION`,10:`title`,12:`X_AXIS`,14:`Y_AXIS`,16:`LINE`,18:`BAR`,19:`acc_title`,20:`acc_title_value`,21:`acc_descr`,22:`acc_descr_value`,23:`acc_descr_multiline_value`,24:`SQUARE_BRACES_START`,26:`SQUARE_BRACES_END`,28:`COMMA`,29:`NUMBER_WITH_DECIMAL`,30:`STR`,33:`ARROW_DELIMITER`,36:`NEWLINE`,37:`SEMI`,38:`EOF`,40:`MD_STR`,42:`AMP`,43:`NUM`,44:`ALPHA`,45:`PLUS`,46:`EQUALS`,47:`MULT`,48:`DOT`,49:`BRKT`,50:`MINUS`,51:`UNDERSCORE`},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:case 30:this.$=[a[s-2],...a[s]];break;case 21:case 31:this.$=[a[s]];break;case 22:this.$={value:Number(a[s-1]),label:a[s]};break;case 23:this.$={value:Number(a[s]),label:``};break;case 24:r.setXAxisTitle(a[s]);break;case 25:r.setXAxisTitle(a[s-1]);break;case 26:r.setXAxisTitle({type:`text`,text:``});break;case 27:r.setXAxisBand(a[s]);break;case 28:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 29:this.$=a[s-1];break;case 32:r.setYAxisTitle(a[s]);break;case 33:r.setYAxisTitle(a[s-1]);break;case 34:r.setYAxisTitle({type:`text`,text:``});break;case 35:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 39:this.$={text:a[s],type:`text`};break;case 40:this.$={text:a[s],type:`text`};break;case 41:this.$={text:a[s],type:`markdown`};break;case 42:this.$=a[s];break;case 43:this.$=a[s-1]+``+a[s]}},`anonymous`),table:[t(n,r,{3:1,4:2,7:4,5:i,36:a,37:o,38:s}),{1:[3]},t(n,r,{4:2,7:4,3:8,5:i,36:a,37:o,38:s}),t(n,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],36:a,37:o,38:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(c,[2,36]),t(c,[2,37]),t(c,[2,38]),{1:[2,1]},t(n,r,{4:2,7:4,3:21,5:i,36:a,37:o,38:s}),{1:[2,3]},t(c,[2,5]),t(n,[2,7],{4:22,36:a,37:o,38:s}),{11:23,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:39,13:38,24:x,29:S,30:l,31:40,32:41,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:45,15:44,29:C,30:l,35:46,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:49,17:48,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:52,17:51,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{20:[1,53]},{22:[1,54]},t(T,[2,18]),{1:[2,2]},t(T,[2,8]),t(T,[2,9]),t(E,[2,39],{41:55,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b}),t(E,[2,40]),t(E,[2,41]),t(D,[2,42]),t(D,[2,44]),t(D,[2,45]),t(D,[2,46]),t(D,[2,47]),t(D,[2,48]),t(D,[2,49]),t(D,[2,50]),t(D,[2,51]),t(D,[2,52]),t(D,[2,53]),t(T,[2,10]),t(T,[2,24],{32:41,31:56,24:x,29:S}),t(T,[2,26]),t(T,[2,27]),{33:[1,57]},{11:59,30:l,34:58,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},t(T,[2,11]),t(T,[2,32],{35:60,29:C}),t(T,[2,34]),{33:[1,61]},t(T,[2,12]),{17:62,24:w},{25:63,27:64,29:O},t(T,[2,14]),{17:66,24:w},t(T,[2,16]),t(T,[2,17]),t(D,[2,43]),t(T,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},t(T,[2,33]),{29:[1,70]},t(T,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},t(k,[2,23],{30:[1,73]}),t(T,[2,15]),t(T,[2,28]),t(T,[2,29]),{11:59,30:l,34:74,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},t(T,[2,35]),t(T,[2,19]),{25:75,27:64,29:O},t(k,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
+
`+h.showPosition()+`
|
|
3
|
+
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};A.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:e(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return this.popState(),36;case 3:return this.popState(),36;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState(`acc_title`),19;case 8:return this.popState(),`acc_title_value`;case 9:return this.pushState(`acc_descr`),21;case 10:return this.popState(),`acc_descr_value`;case 11:this.pushState(`acc_descr_multiline`);break;case 12:this.popState();break;case 13:return`acc_descr_multiline_value`;case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState(`axis_data`),`X_AXIS`;case 18:return this.pushState(`axis_data`),`Y_AXIS`;case 19:return this.pushState(`axis_band_data`),24;case 20:return 33;case 21:return this.pushState(`data`),16;case 22:return this.pushState(`data`),18;case 23:return this.pushState(`data_inner`),24;case 24:return 29;case 25:return this.popState(),26;case 26:this.popState();break;case 27:this.pushState(`string`);break;case 28:this.popState();break;case 29:return`STR`;case 30:return 24;case 31:return 26;case 32:return 44;case 33:return`COLON`;case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},`anonymous`),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}})();function j(){this.yy={}}return e(j,`Parser`),j.prototype=A,A.Parser=j,new j})();C.parser=C;var w=C;function T(e){return e.type===`bar`}e(T,`isBarPlot`);function E(e){return e.type===`band`}e(E,`isBandAxisData`);function D(e){return e.type===`linear`}e(D,`isLinearAxisData`);var O=class{constructor(e){this.parentGroup=e}static{e(this,`TextDimensionCalculatorWithFont`)}getMaxDimension(e,t){if(!this.parentGroup)return{width:e.reduce((e,t)=>Math.max(t.length,e),0)*t,height:t};let n={width:0,height:0},r=this.parentGroup.append(`g`).attr(`visibility`,`hidden`).attr(`font-size`,t);for(let i of e){let e=y(r,1,i),a=e?e.width:i.length*t,o=e?e.height:t;n.width=Math.max(n.width,a),n.height=Math.max(n.height,o)}return r.remove(),n}},k=.7,A=.2,j=class{constructor(e,t,n,r){this.axisConfig=e,this.title=t,this.textDimensionCalculator=n,this.axisThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{e(this,`BaseAxis`)}setRange(e){this.range=e,this.axisPosition===`left`||this.axisPosition===`right`?this.boundingRect.height=e[1]-e[0]:this.boundingRect.width=e[1]-e[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(e=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){k*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(k*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let t=e.height;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=A*e.width;this.outerPadding=Math.min(n.width/2,r);let i=n.height;this.axisPosition===`bottom`&&this.normalizedLabelRotationInRad!==0&&(i=Math.max(i,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height))),i+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width,this.boundingRect.height=e.height-t}calculateSpaceIfDrawnVertical(e){let t=e.width;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=A*e.height;this.outerPadding=Math.min(n.height/2,r);let i=n.width+this.axisConfig.labelPadding*2;i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width-t,this.boundingRect.height=e.height}calculateSpace(e){return this.axisPosition===`left`||this.axisPosition===`right`?this.calculateSpaceIfDrawnVertical(e):this.calculateSpaceIfDrawnHorizontally(e),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let t=this.normalizedLabelRotationInRad;return t===0?0:Math.sin(t)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`left-axis`,`axisl-line`],data:[{path:`M ${t},${this.boundingRect.y} L ${t},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`left-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(e),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`middle`,horizontalPos:`right`}))}),this.showTick){let t=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`left-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${t},${this.getScaleValue(e)} L ${t-this.axisConfig.tickLength},${this.getScaleValue(e)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`left-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`bottom-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`bottom-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e)+this.calculateOffsetByRotation(`height`),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation(`width`)),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`bottom-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t} L ${this.getScaleValue(e)},${t+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`bottom-axis`,`title`],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`top-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`top-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y;e.push({type:`path`,groupTexts:[`top-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(e)},${t+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`top-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElements(){if(this.axisPosition===`left`)return this.getDrawableElementsForLeftAxis();if(this.axisPosition===`right`)throw Error(`Drawing of right axis is not implemented`);return this.axisPosition===`bottom`?this.getDrawableElementsForBottomAxis():this.axisPosition===`top`?this.getDrawableElementsForTopAxis():[]}},M=class extends j{static{e(this,`BandAxis`)}constructor(e,t,n,r,i){super(e,r,i,t),this.categories=n,this.scale=S().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),t.trace(`BandAxis axis final categories, range: `,this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},ee=class extends j{static{e(this,`LinearAxis`)}constructor(e,t,n,r,i){super(e,r,i,t),this.domain=n,this.scale=m().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];this.axisPosition===`left`&&e.reverse(),this.scale=m().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function N(e,t,n,r){let i=new O(r);return E(e)?new M(t,n,e.categories,e.title,i):new ee(t,n,[e.min,e.max],e.title,i)}e(N,`getAxis`);var te=class{constructor(e,t,n,r){this.textDimensionCalculator=e,this.chartConfig=t,this.chartData=n,this.chartThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{e(this,`ChartTitle`)}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let t=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(t.width,e.width),r=t.height+2*this.chartConfig.titlePadding;return t.width<=n&&t.height<=r&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=n,this.boundingRect.height=r,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let e=[];return this.showChartTitle&&e.push({groupTexts:[`chart-title`],type:`text`,data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:`middle`,horizontalPos:`center`,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),e}};function P(e,t,n,r){return new te(new O(r),e,t,n)}e(P,`getChartTitleComponent`);var ne=.75,re=.5,ie=.35;function F(e){return{fontSize:e,markerSize:e*ne,markerSpacing:e*ie,itemSpacing:e*re}}e(F,`getLegendLayout`);var ae=class{constructor(e,t,n,r){this.textDimensionCalculator=e,this.chartConfig=t,this.chartData=n,this.chartThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{e(this,`ChartLegend`)}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter(e=>e.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:t,markerSize:n,markerSpacing:r,itemSpacing:i}=F(this.chartConfig.legendFontSize),a=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map(e=>e.title),t),o=this.chartConfig.legendPadding*2+n+r+a.width,s=this.chartConfig.legendPadding*2+this.visiblePlots.length*t+(this.visiblePlots.length-1)*i;return o<=e.width&&s<=e.height?(this.boundingRect.width=o,this.boundingRect.height=s):(this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:t,markerSpacing:n,itemSpacing:r}=F(this.chartConfig.legendFontSize),i=e+r,a=this.boundingRect.x+this.chartConfig.legendPadding,o=this.boundingRect.y+this.chartConfig.legendPadding,s=[],c=[];for(let[e,n]of this.visiblePlots.entries())if(T(n))s.push({x:a,y:o+e*i,width:t,height:t,fill:n.fill,strokeFill:n.fill,strokeWidth:0});else{let r=o+e*i+t/2;c.push({path:`M ${a},${r} L ${a+t},${r}`,strokeFill:n.strokeFill,strokeWidth:n.strokeWidth})}return[{groupTexts:[`legend`,`markers`],type:`rect`,data:s},{groupTexts:[`legend`,`markers`],type:`path`,data:c},{groupTexts:[`legend`,`label`],type:`text`,data:this.visiblePlots.map((r,s)=>({text:r.title,x:a+t+n,y:o+s*i+t/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:`middle`,horizontalPos:`left`}))}]}};function I(e,t,n,r){return new ae(new O(r),e,t,n)}e(I,`getChartLegendComponent`);var oe=class{constructor(e,t,n,r,i){this.plotData=e,this.xAxis=t,this.yAxis=n,this.orientation=r,this.plotIndex=i}static{e(this,`LinePlot`)}getDrawableElement(){let e=this.plotData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t;if(t=this.orientation===`horizontal`?v().y(e=>e[0]).x(e=>e[1])(e):v().x(e=>e[0]).y(e=>e[1])(e),!t)return[];let n=[{groupTexts:[`plot`,`line-plot-${this.plotIndex}`],type:`path`,data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let t=[];for(let[n,[r,i]]of e.entries()){let e=this.plotData.pointLabels[n];e&&(this.orientation===`horizontal`?t.push({x:i+10,y:r,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`left`,fontSize:12,rotation:0}):t.push({x:r,y:i-10,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`center`,fontSize:12,rotation:0}))}t.length>0&&n.push({groupTexts:[`plot`,`line-plot-${this.plotIndex}`,`labels`],type:`text`,data:t})}return n}},se=class{constructor(e,t,n,r,i,a){this.barData=e,this.boundingRect=t,this.xAxis=n,this.yAxis=r,this.orientation=i,this.plotIndex=a}static{e(this,`BarPlot`)}getDrawableElement(){let e=this.barData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*.95,n=t/2;return this.orientation===`horizontal`?[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:this.boundingRect.x,y:e[0]-n,height:t,width:e[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:e[0]-n,y:e[1],width:t,height:this.boundingRect.y+this.boundingRect.height-e[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},ce=class{constructor(e,t,n){this.chartConfig=e,this.chartData=t,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{e(this,`BasePlot`)}setAxes(e,t){this.xAxis=e,this.yAxis=t}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error(`Axes must be passed to render Plots`);let e=[];for(let[t,n]of this.chartData.plots.entries())switch(n.type){case`line`:{let r=new oe(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}break;case`bar`:{let r=new se(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}}return e}};function le(e,t,n){return new ce(e,t,n)}e(le,`getPlotComponent`);var ue=class{constructor(e,t,n,r){this.chartConfig=e,this.chartData=t,this.componentStore={title:P(e,t,n,r),plot:le(e,t,n),legend:I(e,t,n,r),xAxis:N(t.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},r),yAxis:N(t.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},r)}}static{e(this,`Orchestrator`)}calculateVerticalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i={width:0,height:0},a=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),o=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),s=this.componentStore.plot.calculateSpace({width:a,height:o});e-=s.width,t-=s.height,s=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),r=s.height,t-=s.height,this.componentStore.xAxis.setAxisPosition(`bottom`),s=this.componentStore.xAxis.calculateSpace({width:e,height:t}),t-=s.height,this.componentStore.yAxis.setAxisPosition(`left`),s=this.componentStore.yAxis.calculateSpace({width:e,height:t}),n=s.width,e-=s.width,i=this.componentStore.legend.calculateSpace({width:e,height:o}),e-=i.width,e>0&&(a+=e,e=0),t>0&&(o+=t,t=0),this.componentStore.plot.calculateSpace({width:a,height:o}),this.componentStore.plot.setBoundingBoxXY({x:n,y:r}),this.componentStore.legend.setBoundingBoxXY({x:n+a,y:r+Math.max((o-i.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+a]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:r+o}),this.componentStore.yAxis.setRange([r,r+o]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:r}),this.chartData.plots.some(e=>T(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i=0,a={width:0,height:0},o=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),s=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),c=this.componentStore.plot.calculateSpace({width:o,height:s});e-=c.width,t-=c.height,c=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),n=c.height,t-=c.height,this.componentStore.xAxis.setAxisPosition(`left`),c=this.componentStore.xAxis.calculateSpace({width:e,height:t}),e-=c.width,r=c.width,this.componentStore.yAxis.setAxisPosition(`top`),c=this.componentStore.yAxis.calculateSpace({width:e,height:t}),t-=c.height,i=n+c.height,a=this.componentStore.legend.calculateSpace({width:e,height:s}),e-=a.width,e>0&&(o+=e,e=0),t>0&&(s+=t,t=0),this.componentStore.plot.calculateSpace({width:o,height:s}),this.componentStore.plot.setBoundingBoxXY({x:r,y:i}),this.componentStore.legend.setBoundingBoxXY({x:r+o,y:i+Math.max((s-a.height)/2,0)}),this.componentStore.yAxis.setRange([r,r+o]),this.componentStore.yAxis.setBoundingBoxXY({x:r,y:n}),this.componentStore.xAxis.setRange([i,i+s]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:i}),this.chartData.plots.some(e=>T(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation===`horizontal`?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let t of Object.values(this.componentStore))e.push(...t.getDrawableElements());return e}},de=class{static{e(this,`XYChartBuilder`)}static build(e,t,n,r){return new ue(e,t,n,r).getDrawableElement()}},L=0,R,z=K(),B=G(),V=q(),H=B.plotColorPalette.split(`,`).map(e=>e.trim()),U=!1,W=!1;function G(){let e=n(),t=s();return _(e.xyChart,t.themeVariables.xyChart)}e(G,`getChartDefaultThemeConfig`);function K(){let e=s();return _(l.xyChart,e.xyChart)}e(K,`getChartDefaultConfig`);function q(){return{yAxis:{type:`linear`,title:``,min:1/0,max:-1/0},xAxis:{type:`band`,title:``,categories:[]},title:``,plots:[]}}e(q,`getChartDefaultData`);function J(e){let t=s();return p(e.trim(),t)}e(J,`textSanitizer`);function Y(e){R=e}e(Y,`setTmpSVGG`);function fe(e){e===`horizontal`?z.chartOrientation=`horizontal`:z.chartOrientation=`vertical`}e(fe,`setOrientation`);function pe(e){V.xAxis.title=J(e.text)}e(pe,`setXAxisTitle`);function X(e,t){V.xAxis={type:`linear`,title:V.xAxis.title,min:e,max:t},U=!0}e(X,`setXAxisRangeData`);function me(e){V.xAxis={type:`band`,title:V.xAxis.title,categories:e.map(e=>J(e.text))},U=!0}e(me,`setXAxisBand`);function he(e){V.yAxis.title=J(e.text)}e(he,`setYAxisTitle`);function Z(e,t){V.yAxis={type:`linear`,title:V.yAxis.title,min:e,max:t},W=!0}e(Z,`setYAxisRangeData`);function ge(e){let t=Math.min(...e),n=Math.max(...e),r=D(V.yAxis)?V.yAxis.min:1/0,i=D(V.yAxis)?V.yAxis.max:-1/0;V.yAxis={type:`linear`,title:V.yAxis.title,min:Math.min(r,t),max:Math.max(i,n)}}e(ge,`setYAxisRangeFromPlotData`);function Q(e){let t=[];if(e.length===0)return t;if(!U){let t=D(V.xAxis)?V.xAxis.min:1/0,n=D(V.xAxis)?V.xAxis.max:-1/0;X(Math.min(t,1),Math.max(n,e.length))}if(E(V.xAxis)&&e.length>V.xAxis.categories.length&&(e=e.slice(0,V.xAxis.categories.length)),W||ge(e),E(V.xAxis)&&(t=V.xAxis.categories.map((t,n)=>[t,e[n]])),D(V.xAxis)){let n=V.xAxis.min,r=V.xAxis.max;if(e.length===1)t=[[`${n}`,e[0]]];else{let i=(r-n)/(e.length-1);t=e.map((e,t)=>[`${n+t*i}`,e])}}return t}e(Q,`transformDataWithoutCategory`);function $(e){return H[e===0?0:e%H.length]}e($,`getPlotColorFromPalette`);function _e(e,t){let n=t.map(e=>e.value),r=t.map(e=>e.label?J(e.label):``),i=Q(n),a=r.some(e=>e!==``);V.plots.push({type:`line`,title:J(e.text),strokeFill:$(L),strokeWidth:2,data:i,...a?{pointLabels:r}:{}}),L++}e(_e,`setLineData`);function ve(e,t){let n=Q(t.map(e=>e.value));V.plots.push({type:`bar`,title:J(e.text),fill:$(L),data:n}),L++}e(ve,`setBarData`);function ye(){if(V.plots.length===0)throw Error(`No Plot to render, please provide a plot with some data`);return V.title=d(),de.build(z,V,B,R)}e(ye,`getDrawableElem`);function be(){return B}e(be,`getChartThemeConfig`);function xe(){return z}e(xe,`getChartConfig`);function Se(){return V}e(Se,`getXYChartData`);var Ce={parser:w,db:{getDrawableElem:ye,clear:e(function(){o(),L=0,z=K(),V=q(),B=G(),H=B.plotColorPalette.split(`,`).map(e=>e.trim()),U=!1,W=!1},`clear`),setAccTitle:a,getAccTitle:f,setDiagramTitle:i,getDiagramTitle:d,getAccDescription:u,setAccDescription:r,setOrientation:fe,setXAxisTitle:pe,setXAxisRangeData:X,setXAxisBand:me,setYAxisTitle:he,setYAxisRangeData:Z,setLineData:_e,setBarData:ve,setTmpSVGG:Y,getChartThemeConfig:be,getChartConfig:xe,getXYChartData:Se},renderer:{draw:e((n,r,i,a)=>{let o=a.db,s=o.getChartThemeConfig(),l=o.getChartConfig(),u=o.getXYChartData().plots[0].data.map(e=>e[1]);function d(e){return e===`top`?`text-before-edge`:`middle`}e(d,`getDominantBaseLine`);function f(e){return e===`left`?`start`:e===`right`?`end`:`middle`}e(f,`getTextAnchor`);function p(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}e(p,`getTextTransformation`),t.debug(`Rendering xychart chart
|
|
7
|
+
`+n);let m=b(r),h=m.append(`g`).attr(`class`,`main`),g=h.append(`rect`).attr(`width`,l.width).attr(`height`,l.height).attr(`class`,`background`);c(m,l.height,l.width,!0),m.attr(`viewBox`,`0 0 ${l.width} ${l.height}`),g.attr(`fill`,s.backgroundColor),o.setTmpSVGG(m.append(`g`).attr(`class`,`mermaid-tmp-group`));let _=o.getDrawableElem(),v={};function y(e){let t=h,n=``;for(let[r]of e.entries()){let i=h;r>0&&v[n]&&(i=v[n]),n+=e[r],t=v[n],t||=v[n]=i.append(`g`).attr(`class`,e[r])}return t}e(y,`getGroup`);for(let t of _){if(t.data.length===0)continue;let n=y(t.groupTexts);switch(t.type){case`rect`:if(n.selectAll(`rect`).data(t.data).enter().append(`rect`).attr(`x`,e=>e.x).attr(`y`,e=>e.y).attr(`width`,e=>e.width).attr(`height`,e=>e.height).attr(`fill`,e=>e.fill).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth),l.showDataLabel){let r=l.showDataLabelOutsideBar;if(l.chartOrientation===`horizontal`){let i=function(e,t){let{data:n,label:r}=e;return t*r.length*a<=n.width-o};e(i,`fitsHorizontally`);let a=.7,o=10,c=t.data.map((e,t)=>({data:e,label:u[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),l=c.map(e=>{let{data:t}=e,n=t.height*.7;for(;!i(e,n)&&n>0;)--n;return n}),d=Math.floor(Math.min(...l)),f=e(e=>r?e.data.x+e.data.width+10:e.data.x+e.data.width-10,`determineLabelXPosition`);n.selectAll(`text`).data(c).enter().append(`text`).attr(`x`,f).attr(`y`,e=>e.data.y+e.data.height/2).attr(`text-anchor`,r?`start`:`end`).attr(`dominant-baseline`,`middle`).attr(`fill`,s.dataLabelColor).attr(`font-size`,`${d}px`).text(e=>e.label)}else{let i=function(e,t,n){let{data:r,label:i}=e,a=t*i.length*.7,o=r.x+r.width/2,s=o-a/2,c=o+a/2,l=s>=r.x&&c<=r.x+r.width,u=r.y+n+t<=r.y+r.height;return l&&u};e(i,`fitsInBar`);let a=t.data.map((e,t)=>({data:e,label:u[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),o=a.map(e=>{let{data:t,label:n}=e,r=t.width/(n.length*.7);for(;!i(e,r,10)&&r>0;)--r;return r}),c=Math.floor(Math.min(...o)),l=e(e=>r?e.data.y-10:e.data.y+10,`determineLabelYPosition`);n.selectAll(`text`).data(a).enter().append(`text`).attr(`x`,e=>e.data.x+e.data.width/2).attr(`y`,l).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,r?`auto`:`hanging`).attr(`fill`,s.dataLabelColor).attr(`font-size`,`${c}px`).text(e=>e.label)}}break;case`text`:n.selectAll(`text`).data(t.data).enter().append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,e=>e.fill).attr(`font-size`,e=>e.fontSize).attr(`dominant-baseline`,e=>d(e.verticalPos)).attr(`text-anchor`,e=>f(e.horizontalPos)).attr(`transform`,e=>p(e)).text(e=>e.text);break;case`path`:n.selectAll(`path`).data(t.data).enter().append(`path`).attr(`d`,e=>e.path).attr(`fill`,e=>e.fill?e.fill:`none`).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth)}}},`draw`)}};export{Ce as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^( +)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[\\\\t ]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([ \\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))"}]},"flow-scalar-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"''","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![],}])","end":"(?=[],}])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=[!\\\\&])","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?"},{"match":"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}`))];export{t as n,n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse(`{"displayName":"ZenScript","fileTypes":["zs"],"name":"zenscript","patterns":[{"match":"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([DFLUdflu]|UL|ul)?\\\\b","name":"constant.numeric.zenscript"},{"match":"\\\\b-?(0[BOXbox])(0|[1-9A-Fa-f][_\\\\h]*)[A-Z_a-z]*\\\\b","name":"constant.numeric.zenscript"},{"include":"#code"},{"match":"\\\\b((?:[a-z]\\\\w*\\\\.)*[A-Z]+\\\\w*)(?=\\\\[)","name":"storage.type.object.array.zenscript"}],"repository":{"brackets":{"patterns":[{"captures":{"1":{"name":"keyword.control.zenscript"},"2":{"name":"keyword.other.zenscript"},"3":{"name":"keyword.control.zenscript"},"4":{"name":"variable.other.zenscript"},"5":{"name":"keyword.control.zenscript"},"6":{"name":"constant.numeric.zenscript"},"7":{"name":"keyword.control.zenscript"}},"match":"(<)\\\\b(.*?)(:(.*?(:(\\\\*|\\\\d+)?)?)?)(>)","name":"keyword.other.zenscript"}]},"class":{"captures":{"1":{"name":"storage.type.zenscript"},"2":{"name":"entity.name.type.class.zenscript"}},"match":"(zenClass)\\\\s+(\\\\w+)","name":"meta.class.zenscript"},"code":{"patterns":[{"include":"#class"},{"include":"#functions"},{"include":"#dots"},{"include":"#quotes"},{"include":"#brackets"},{"include":"#comments"},{"include":"#var"},{"include":"#keywords"},{"include":"#constants"},{"include":"#operators"}]},"comments":{"patterns":[{"match":"//[^\\\\n]*","name":"comment.line.double=slash"},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"comment.block"}},"end":"\\\\*/","endCaptures":{"0":{"name":"comment.block"}},"name":"comment.block"}]},"dots":{"captures":{"1":{"name":"storage.type.zenscript"},"2":{"name":"keyword.control.zenscript"},"5":{"name":"keyword.control.zenscript"}},"match":"\\\\b(\\\\w+)(\\\\.)(\\\\w+)((\\\\.)(\\\\w+))*","name":"plain.text.zenscript"},"functions":{"captures":{"0":{"name":"storage.type.function.zenscript"},"1":{"name":"entity.name.function.zenscript"}},"match":"function\\\\s+([$A-Z_a-z][$\\\\w]*)\\\\s*(?=\\\\()","name":"meta.function.zenscript"},"keywords":{"patterns":[{"match":"\\\\b(instanceof|get|implements|set|import|function|override|const|if|else|do|while|for|throw|panic|lock|try|catch|finally|return|break|continue|switch|case|default|in|is|as|match|throws|super|new)\\\\b","name":"keyword.control.zenscript"},{"match":"\\\\b(zenClass|zenConstructor|alias|class|interface|enum|struct|expand|variant|set|void|bool|byte|sbyte|short|ushort|int|uint|long|ulong|usize|float|double|char|string)\\\\b","name":"storage.type.zenscript"},{"match":"\\\\b(variant|abstract|final|private|public|export|internal|static|protected|implicit|virtual|extern|immutable)\\\\b","name":"storage.modifier.zenscript"},{"match":"\\\\b(Native|Precondition)\\\\b","name":"entity.other.attribute-name"},{"match":"\\\\b(null|true|false)\\\\b","name":"constant.language"}]},"operators":{"patterns":[{"match":"\\\\b(\\\\.\\\\.??|\\\\.\\\\.\\\\.|[+,]|\\\\+=|\\\\+\\\\+|-=??|--|~=??|\\\\*=??|/=??|%=??|\\\\|=??|\\\\|\\\\||&=??|&&|\\\\^=??|\\\\?\\\\.??|\\\\?\\\\?|<=??|<<=??|>=??|>>=??|>>>=??|=>?|===??|!=??|!==|[$\`])\\\\b","name":"keyword.control"},{"match":"\\\\b([:;])\\\\b","name":"keyword.control"}]},"quotes":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.zenscript"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.zenscript"}},"name":"string.quoted.double.zenscript","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.zenscript"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.zenscript"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.zenscript"}},"name":"string.quoted.single.zenscript","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.zenscript"}]}]},"var":{"match":"\\\\b(va[lr])\\\\b","name":"storage.type"}},"scopeName":"source.zenscript"}`))];export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[Object.freeze(JSON.parse(`{"displayName":"Zig","fileTypes":["zig","zon"],"name":"zig","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#keywords"},{"include":"#operators"},{"include":"#punctuation"},{"include":"#numbers"},{"include":"#support"},{"include":"#variables"}],"repository":{"commentContents":{"patterns":[{"match":"\\\\b(TODO|FIXME|XXX|NOTE)\\\\b:?","name":"keyword.todo.zig"}]},"comments":{"patterns":[{"begin":"//[!/](?=[^/])","end":"$","name":"comment.line.documentation.zig","patterns":[{"include":"#commentContents"}]},{"begin":"//","end":"$","name":"comment.line.double-slash.zig","patterns":[{"include":"#commentContents"}]}]},"keywords":{"patterns":[{"match":"\\\\binline\\\\b(?!\\\\s*\\\\bfn\\\\b)","name":"keyword.control.repeat.zig"},{"match":"\\\\b(while|for)\\\\b","name":"keyword.control.repeat.zig"},{"match":"\\\\b(extern|packed|export|pub|noalias|inline|comptime|volatile|align|linksection|threadlocal|allowzero|noinline|callconv)\\\\b","name":"keyword.storage.zig"},{"match":"\\\\b(struct|enum|union|opaque)\\\\b","name":"keyword.structure.zig"},{"match":"\\\\b(asm|unreachable)\\\\b","name":"keyword.statement.zig"},{"match":"\\\\b(break|return|continue|defer|errdefer)\\\\b","name":"keyword.control.flow.zig"},{"match":"\\\\b(resume|suspend|nosuspend)\\\\b","name":"keyword.control.async.zig"},{"match":"\\\\b(try|catch)\\\\b","name":"keyword.control.trycatch.zig"},{"match":"\\\\b(if|else|switch|orelse)\\\\b","name":"keyword.control.conditional.zig"},{"match":"\\\\b(null|undefined)\\\\b","name":"keyword.constant.default.zig"},{"match":"\\\\b(true|false)\\\\b","name":"keyword.constant.bool.zig"},{"match":"\\\\b(test|and|or)\\\\b","name":"keyword.default.zig"},{"match":"\\\\b(bool|void|noreturn|type|error|anyerror|anyframe|anytype|anyopaque)\\\\b","name":"keyword.type.zig"},{"match":"\\\\b(f16|f32|f64|f80|f128|u\\\\d+|i\\\\d+|isize|usize|comptime_int|comptime_float)\\\\b","name":"keyword.type.integer.zig"},{"match":"\\\\b(c_(?:char|short|ushort|int|uint|long|ulong|longlong|ulonglong|longdouble))\\\\b","name":"keyword.type.c.zig"}]},"numbers":{"patterns":[{"match":"\\\\b0x\\\\h[_\\\\h]*(\\\\.\\\\h[_\\\\h]*)?([Pp][-+]?[_\\\\h]+)?\\\\b","name":"constant.numeric.hexfloat.zig"},{"match":"\\\\b[0-9][0-9_]*(\\\\.[0-9][0-9_]*)?([Ee][-+]?[0-9_]+)?\\\\b","name":"constant.numeric.float.zig"},{"match":"\\\\b[0-9][0-9_]*\\\\b","name":"constant.numeric.decimal.zig"},{"match":"\\\\b0x[_\\\\h]+\\\\b","name":"constant.numeric.hexadecimal.zig"},{"match":"\\\\b0o[0-7_]+\\\\b","name":"constant.numeric.octal.zig"},{"match":"\\\\b0b[01_]+\\\\b","name":"constant.numeric.binary.zig"},{"match":"\\\\b[0-9](([EPep][-+])|[0-9A-Z_a-z])*(\\\\.(([EPep][-+])|[0-9A-Z_a-z])*)?([EPep][-+])?[0-9A-Z_a-z]*\\\\b","name":"constant.numeric.invalid.zig"}]},"operators":{"patterns":[{"match":"(?<=\\\\[)\\\\*c(?=])","name":"keyword.operator.c-pointer.zig"},{"match":"\\\\b((and|or))\\\\b|(==|!=|<=|>=|[<>])","name":"keyword.operator.comparison.zig"},{"match":"(-%?|\\\\+%?|\\\\*%?|[%/])=?","name":"keyword.operator.arithmetic.zig"},{"match":"(<<%?|>>|[!\\\\&^|~])=?","name":"keyword.operator.bitwise.zig"},{"match":"(==|\\\\+\\\\+|\\\\*\\\\*|->)","name":"keyword.operator.special.zig"},{"match":"=","name":"keyword.operator.assignment.zig"},{"match":"\\\\?","name":"keyword.operator.question.zig"}]},"punctuation":{"patterns":[{"match":"\\\\.","name":"punctuation.accessor.zig"},{"match":",","name":"punctuation.comma.zig"},{"match":":","name":"punctuation.separator.key-value.zig"},{"match":";","name":"punctuation.terminator.statement.zig"}]},"stringcontent":{"patterns":[{"match":"\\\\\\\\([\\"'\\\\\\\\nrt]|(x\\\\h{2})|(u\\\\{\\\\h+}))","name":"constant.character.escape.zig"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.zig"}]},"strings":{"patterns":[{"begin":"\\"","end":"\\"","name":"string.quoted.double.zig","patterns":[{"include":"#stringcontent"}]},{"begin":"\\\\\\\\\\\\\\\\","end":"$","name":"string.multiline.zig"},{"match":"'([^'\\\\\\\\]|\\\\\\\\(x\\\\h{2}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.))'","name":"string.quoted.single.zig"}]},"support":{"patterns":[{"match":"@[A-Z_a-z][0-9A-Z_a-z]*","name":"support.function.builtin.zig"}]},"variables":{"patterns":[{"name":"meta.function.declaration.zig","patterns":[{"captures":{"1":{"name":"storage.type.function.zig"},"2":{"name":"entity.name.type.zig"}},"match":"\\\\b(fn)\\\\s+([A-Z][0-9A-Za-z]*)\\\\b"},{"captures":{"1":{"name":"storage.type.function.zig"},"2":{"name":"entity.name.function.zig"}},"match":"\\\\b(fn)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"begin":"\\\\b(fn)\\\\s+@\\"","beginCaptures":{"1":{"name":"storage.type.function.zig"}},"end":"\\"","name":"entity.name.function.string.zig","patterns":[{"include":"#stringcontent"}]},{"match":"\\\\b(const|var|fn)\\\\b","name":"keyword.default.zig"}]},{"name":"meta.function.call.zig","patterns":[{"match":"([A-Z][0-9A-Za-z]*)(?=\\\\s*\\\\()","name":"entity.name.type.zig"},{"match":"([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\()","name":"entity.name.function.zig"}]},{"name":"meta.variable.zig","patterns":[{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*\\\\b","name":"variable.zig"},{"begin":"@\\"","end":"\\"","name":"variable.string.zig","patterns":[{"include":"#stringcontent"}]}]}]}},"scopeName":"source.zig"}`))];export{e as default};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1, viewport-fit=cover, maximum-scale=1"
|
|
8
|
+
/>
|
|
9
|
+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#252529" />
|
|
10
|
+
<meta name="theme-color" content="#ffffff" />
|
|
11
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
12
|
+
<meta name="apple-mobile-web-app-title" content="EnsoCode" />
|
|
13
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" />
|
|
14
|
+
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png" />
|
|
15
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
16
|
+
<title>EnsoCode</title>
|
|
17
|
+
<!--
|
|
18
|
+
iOS 独立 PWA 只在启动时采样顶边定状态栏底色,之后不再重采:首帧前铺上次 renderer
|
|
19
|
+
的边缘色(chrome.ts 写入,key 与格式同 DESK_CHROME_KEY),否则状态栏一直是启动画面的色。
|
|
20
|
+
-->
|
|
21
|
+
<script>
|
|
22
|
+
(() => {
|
|
23
|
+
try {
|
|
24
|
+
const c = JSON.parse(localStorage.getItem('enso-desk-chrome') || 'null');
|
|
25
|
+
const rgb = /^rgb\(\d{1,3}, \d{1,3}, \d{1,3}\)$/;
|
|
26
|
+
if (!c || !rgb.test(c.top) || !rgb.test(c.bottom)) return;
|
|
27
|
+
const style = document.documentElement.style;
|
|
28
|
+
style.setProperty('--desk-top', c.top);
|
|
29
|
+
style.setProperty('--desk-bottom', c.bottom);
|
|
30
|
+
for (const m of document.querySelectorAll('meta[name="theme-color"]')) m.remove();
|
|
31
|
+
const meta = document.createElement('meta');
|
|
32
|
+
meta.name = 'theme-color';
|
|
33
|
+
meta.content = c.top;
|
|
34
|
+
document.head.prepend(meta);
|
|
35
|
+
} catch {}
|
|
36
|
+
})();
|
|
37
|
+
</script>
|
|
38
|
+
<style>
|
|
39
|
+
html,
|
|
40
|
+
body {
|
|
41
|
+
margin: 0;
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
background: var(--desk-top, #ffffff);
|
|
45
|
+
color: #3f3f46;
|
|
46
|
+
font: 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
47
|
+
}
|
|
48
|
+
html {
|
|
49
|
+
background: var(--desk-bottom, #ffffff);
|
|
50
|
+
}
|
|
51
|
+
@media (prefers-color-scheme: dark) {
|
|
52
|
+
html,
|
|
53
|
+
body {
|
|
54
|
+
background: var(--desk-top, #252529);
|
|
55
|
+
color: #d4d4d8;
|
|
56
|
+
}
|
|
57
|
+
html {
|
|
58
|
+
background: var(--desk-bottom, #252529);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
#frames {
|
|
62
|
+
position: fixed;
|
|
63
|
+
top: env(safe-area-inset-top);
|
|
64
|
+
right: env(safe-area-inset-right);
|
|
65
|
+
bottom: env(safe-area-inset-bottom);
|
|
66
|
+
left: env(safe-area-inset-left);
|
|
67
|
+
}
|
|
68
|
+
#frames iframe {
|
|
69
|
+
position: absolute;
|
|
70
|
+
inset: 0;
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: 100%;
|
|
73
|
+
border: 0;
|
|
74
|
+
background: transparent;
|
|
75
|
+
}
|
|
76
|
+
#frames iframe.snapshot {
|
|
77
|
+
z-index: 1;
|
|
78
|
+
transition: opacity 0.2s ease-out;
|
|
79
|
+
}
|
|
80
|
+
#frames iframe.settings {
|
|
81
|
+
z-index: 3;
|
|
82
|
+
}
|
|
83
|
+
#frames .settings-backdrop {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
/* 宽屏上设置是居中弹窗(尺寸同桌面端设置窗口),手机上仍铺满 */
|
|
87
|
+
@media (min-width: 800px) and (min-height: 560px) {
|
|
88
|
+
#frames .settings-backdrop {
|
|
89
|
+
display: block;
|
|
90
|
+
position: absolute;
|
|
91
|
+
inset: 0;
|
|
92
|
+
z-index: 2;
|
|
93
|
+
background: rgba(0, 0, 0, 0.4);
|
|
94
|
+
}
|
|
95
|
+
#frames iframe.settings {
|
|
96
|
+
inset: auto;
|
|
97
|
+
top: 50%;
|
|
98
|
+
left: 50%;
|
|
99
|
+
width: min(960px, calc(100% - 64px));
|
|
100
|
+
height: min(680px, calc(100% - 64px));
|
|
101
|
+
transform: translate(-50%, -50%);
|
|
102
|
+
border-radius: 12px;
|
|
103
|
+
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
#splash {
|
|
107
|
+
position: fixed;
|
|
108
|
+
inset: 0;
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
gap: 12px;
|
|
114
|
+
padding: 24px;
|
|
115
|
+
text-align: center;
|
|
116
|
+
}
|
|
117
|
+
#splash a {
|
|
118
|
+
color: #8ab4ff;
|
|
119
|
+
}
|
|
120
|
+
#status {
|
|
121
|
+
position: fixed;
|
|
122
|
+
z-index: 10;
|
|
123
|
+
left: 50%;
|
|
124
|
+
top: calc(env(safe-area-inset-top) + 8px);
|
|
125
|
+
transform: translateX(-50%);
|
|
126
|
+
padding: 4px 12px;
|
|
127
|
+
border-radius: 999px;
|
|
128
|
+
background: rgba(0, 0, 0, 0.72);
|
|
129
|
+
color: #fff;
|
|
130
|
+
font-size: 12px;
|
|
131
|
+
display: none;
|
|
132
|
+
pointer-events: none;
|
|
133
|
+
}
|
|
134
|
+
</style>
|
|
135
|
+
<script type="module" crossorigin src="/assets/desk-cShVjFeS.js"></script>
|
|
136
|
+
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-Dd_uD5pT.js">
|
|
137
|
+
<link rel="modulepreload" crossorigin href="/assets/storage-XVpAo_5O.js">
|
|
138
|
+
</head>
|
|
139
|
+
<body>
|
|
140
|
+
<div id="frames"></div>
|
|
141
|
+
<div id="splash"><div id="splash-text">正在连接桌面…</div></div>
|
|
142
|
+
<div id="status"></div>
|
|
143
|
+
</body>
|
|
144
|
+
</html>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1, viewport-fit=cover, maximum-scale=1"
|
|
8
|
+
/>
|
|
9
|
+
<!-- 首屏兜底(scoped 在前、裸标签兜底在后:浏览器取第一个匹配的);
|
|
10
|
+
JS 起来后由 theme.ts 清掉这些、按实际背景色重插一条 -->
|
|
11
|
+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#252529" />
|
|
12
|
+
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff" />
|
|
13
|
+
<meta name="theme-color" content="#ffffff" />
|
|
14
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
15
|
+
<!--
|
|
16
|
+
不用 black-translucent:那会把 webview 原点放到 y=0(内容钻到状态栏下),
|
|
17
|
+
但 iOS 给的高度仍是「屏幕高 - 状态栏」,于是底部空出一条与状态栏等高的
|
|
18
|
+
死区。默认样式下 webview 被摆在状态栏下方并铺满,没有这个问题。
|
|
19
|
+
-->
|
|
20
|
+
<!-- iOS 只认 apple-touch-icon,manifest 里的 icons 它不读;缺了会拿页面截图当图标 -->
|
|
21
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" />
|
|
22
|
+
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="/icons/apple-touch-icon.png" />
|
|
23
|
+
<!-- 桌面图标下的名字,缺省会退回 <title> -->
|
|
24
|
+
<meta name="apple-mobile-web-app-title" content="EnsoCode" />
|
|
25
|
+
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192.png" />
|
|
26
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
27
|
+
<title>EnsoCode</title>
|
|
28
|
+
<script type="module" crossorigin src="/assets/main-DUhek_LZ.js"></script>
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-Dd_uD5pT.js">
|
|
30
|
+
<link rel="modulepreload" crossorigin href="/assets/storage-XVpAo_5O.js">
|
|
31
|
+
<link rel="stylesheet" crossorigin href="/assets/main-J3o3XX7C.css">
|
|
32
|
+
</head>
|
|
33
|
+
<body>
|
|
34
|
+
<div id="root"></div>
|
|
35
|
+
</body>
|
|
36
|
+
</html>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "EnsoCode Phone",
|
|
3
|
+
"short_name": "EnsoCode",
|
|
4
|
+
"description": "把手机当作 EnsoCode 的第二块屏幕:查看会话、发消息、批审批。",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"scope": "/",
|
|
7
|
+
"display": "standalone",
|
|
8
|
+
"background_color": "#ffffff",
|
|
9
|
+
"theme_color": "#ffffff",
|
|
10
|
+
"icons": [
|
|
11
|
+
{
|
|
12
|
+
"src": "/icons/icon-192.png",
|
|
13
|
+
"sizes": "192x192",
|
|
14
|
+
"type": "image/png",
|
|
15
|
+
"purpose": "any"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"src": "/icons/icon-512.png",
|
|
19
|
+
"sizes": "512x512",
|
|
20
|
+
"type": "image/png",
|
|
21
|
+
"purpose": "any"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"src": "/icons/icon-maskable-512.png",
|
|
25
|
+
"sizes": "512x512",
|
|
26
|
+
"type": "image/png",
|
|
27
|
+
"purpose": "maskable"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
package/out/phone/sw.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Push Service Worker:桌面 main 直发的推送在此落地为系统通知。
|
|
3
|
+
* 载荷只含通用文案 + sessionId(消息内容不出加密信道),点击通知
|
|
4
|
+
* 聚焦已开窗口(postMessage 让 App 切会话)或带参新开。
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/** 与 packages/phone/src/launchSession.ts 同名:iOS 冷启动常丢掉 query */
|
|
8
|
+
const LAUNCH_SESSION_CACHE = 'enso-phone-launch';
|
|
9
|
+
const LAUNCH_SESSION_URL = '/__open-session';
|
|
10
|
+
|
|
11
|
+
self.addEventListener('install', () => {
|
|
12
|
+
self.skipWaiting();
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
self.addEventListener('activate', (event) => {
|
|
16
|
+
event.waitUntil(self.clients.claim());
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 远程桌面:/desk/r/<pairId>/<build>/<path> 是桌面 renderer 产物,/desk/li/<pairId>/<url> 是本地图片。
|
|
21
|
+
* 资源都不在中继上,经 desk 壳页面持有的加密隧道向桌面取;renderer 产物按 build 分代缓存。
|
|
22
|
+
*/
|
|
23
|
+
const DESK_CACHE_PREFIX = 'enso-desk-';
|
|
24
|
+
const DESK_FETCH_TIMEOUT_MS = 120_000;
|
|
25
|
+
|
|
26
|
+
self.addEventListener('message', (event) => {
|
|
27
|
+
if (event.data?.type === 'desk-ping') event.ports[0]?.postMessage({ desk: 1 });
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
self.addEventListener('fetch', (event) => {
|
|
31
|
+
const url = new URL(event.request.url);
|
|
32
|
+
if (url.origin !== self.location.origin || event.request.method !== 'GET') return;
|
|
33
|
+
const match = /^\/desk\/(r|li)\/([^/]+)\/(.+)$/.exec(url.pathname);
|
|
34
|
+
if (!match) return;
|
|
35
|
+
event.respondWith(deskFetch(url, match[1], decodeURIComponent(match[2]), match[3]));
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
async function deskFetch(url, kind, pairId, rest) {
|
|
39
|
+
if (kind === 'li') return askDeskShell(pairId, `li/${rest}`);
|
|
40
|
+
const slash = rest.indexOf('/');
|
|
41
|
+
if (slash <= 0) return new Response('Not found', { status: 404 });
|
|
42
|
+
const build = decodeURIComponent(rest.slice(0, slash));
|
|
43
|
+
const path = rest.slice(slash + 1);
|
|
44
|
+
const cache = await caches.open(`${DESK_CACHE_PREFIX}${build}`);
|
|
45
|
+
const key = `${url.origin}${url.pathname}`;
|
|
46
|
+
const hit = await cache.match(key);
|
|
47
|
+
if (hit) return hit;
|
|
48
|
+
const reused = await reuseFingerprinted(url, rest.slice(0, slash), path);
|
|
49
|
+
if (reused) {
|
|
50
|
+
await cache.put(key, reused.clone()).catch(() => {});
|
|
51
|
+
return reused;
|
|
52
|
+
}
|
|
53
|
+
const response = await askDeskShell(pairId, `r/${path}`);
|
|
54
|
+
if (response.status === 200) await cache.put(key, response.clone()).catch(() => {});
|
|
55
|
+
return response;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* 桌面升级后大多数产物内容未变:文件名带内容指纹(name-<hash>.ext)的,可直接取旧构建缓存里的同名文件,
|
|
60
|
+
* 不必再经中继重下(终端字体、语法包、mermaid 等动辄数 MB)。
|
|
61
|
+
*/
|
|
62
|
+
const FINGERPRINTED = /^assets\/[^/]+-[A-Za-z0-9_-]{8,}\.[a-z0-9]+$/;
|
|
63
|
+
|
|
64
|
+
async function reuseFingerprinted(url, rawBuild, path) {
|
|
65
|
+
if (!FINGERPRINTED.test(path)) return undefined;
|
|
66
|
+
const current = `${DESK_CACHE_PREFIX}${decodeURIComponent(rawBuild)}`;
|
|
67
|
+
const names = (await caches.keys()).filter(
|
|
68
|
+
(n) => n.startsWith(DESK_CACHE_PREFIX) && n !== current
|
|
69
|
+
);
|
|
70
|
+
const marker = `/${rawBuild}/`;
|
|
71
|
+
const at = url.pathname.indexOf(marker);
|
|
72
|
+
if (at < 0) return undefined;
|
|
73
|
+
for (const name of names.reverse()) {
|
|
74
|
+
const build = encodeURIComponent(name.slice(DESK_CACHE_PREFIX.length));
|
|
75
|
+
const key = `${url.origin}${url.pathname.slice(0, at)}/${build}/${url.pathname.slice(at + marker.length)}`;
|
|
76
|
+
const hit = await (await caches.open(name)).match(key);
|
|
77
|
+
if (hit) return hit;
|
|
78
|
+
}
|
|
79
|
+
return undefined;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
async function askDeskShell(pairId, path) {
|
|
83
|
+
const windows = await self.clients.matchAll({ type: 'window' });
|
|
84
|
+
const isShell = (client) => /^\/desk(\.html)?$/.test(new URL(client.url).pathname);
|
|
85
|
+
const shell =
|
|
86
|
+
windows.find((c) => isShell(c) && new URL(c.url).searchParams.get('device') === pairId) ||
|
|
87
|
+
windows.find(isShell);
|
|
88
|
+
if (!shell) return new Response('Desk shell is not open', { status: 503 });
|
|
89
|
+
return new Promise((resolve) => {
|
|
90
|
+
const channel = new MessageChannel();
|
|
91
|
+
const timer = setTimeout(
|
|
92
|
+
() => resolve(new Response('Timeout', { status: 504 })),
|
|
93
|
+
DESK_FETCH_TIMEOUT_MS
|
|
94
|
+
);
|
|
95
|
+
channel.port1.onmessage = (event) => {
|
|
96
|
+
clearTimeout(timer);
|
|
97
|
+
const { status, mime, body } = event.data || {};
|
|
98
|
+
resolve(
|
|
99
|
+
new Response(status === 204 ? null : body, {
|
|
100
|
+
status: status || 502,
|
|
101
|
+
headers: { 'Content-Type': mime || 'application/octet-stream' },
|
|
102
|
+
})
|
|
103
|
+
);
|
|
104
|
+
};
|
|
105
|
+
shell.postMessage({ type: 'desk-fetch', path }, [channel.port2]);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
self.addEventListener('push', (event) => {
|
|
110
|
+
let payload = { title: 'EnsoCode', body: '', sessionId: '' };
|
|
111
|
+
try {
|
|
112
|
+
payload = { ...payload, ...event.data.json() };
|
|
113
|
+
} catch {
|
|
114
|
+
// 载荷解析失败也要弹通知:iOS 要求每个 push 事件必须 showNotification
|
|
115
|
+
}
|
|
116
|
+
const notify = self.registration.showNotification(payload.title, {
|
|
117
|
+
body: payload.body,
|
|
118
|
+
icon: '/icons/icon-192.png',
|
|
119
|
+
badge: '/icons/icon-192.png',
|
|
120
|
+
tag: payload.sessionId || 'enso',
|
|
121
|
+
data: { sessionId: payload.sessionId },
|
|
122
|
+
});
|
|
123
|
+
const badge =
|
|
124
|
+
(payload.title === '需要审批' || payload.title === '等待你的回答') &&
|
|
125
|
+
typeof self.registration.setAppBadge === 'function'
|
|
126
|
+
? self.registration.setAppBadge(1).catch(() => {})
|
|
127
|
+
: null;
|
|
128
|
+
event.waitUntil(badge ? Promise.all([notify, badge]) : notify);
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
self.addEventListener('notificationclick', (event) => {
|
|
132
|
+
event.notification.close();
|
|
133
|
+
const sessionId = event.notification.data?.sessionId || '';
|
|
134
|
+
const target = sessionId ? `/?session=${encodeURIComponent(sessionId)}` : '/';
|
|
135
|
+
event.waitUntil(
|
|
136
|
+
(async () => {
|
|
137
|
+
if (sessionId) {
|
|
138
|
+
try {
|
|
139
|
+
const cache = await caches.open(LAUNCH_SESSION_CACHE);
|
|
140
|
+
await cache.put(
|
|
141
|
+
LAUNCH_SESSION_URL,
|
|
142
|
+
new Response(sessionId, { headers: { 'Content-Type': 'text/plain' } })
|
|
143
|
+
);
|
|
144
|
+
} catch {}
|
|
145
|
+
}
|
|
146
|
+
const windows = await self.clients.matchAll({
|
|
147
|
+
type: 'window',
|
|
148
|
+
includeUncontrolled: true,
|
|
149
|
+
});
|
|
150
|
+
// 完整版的 renderer / 快照是嵌套 iframe,把消息发给它们不会切会话
|
|
151
|
+
const topLevel = windows.filter((client) => {
|
|
152
|
+
if (client.frameType) return client.frameType === 'top-level';
|
|
153
|
+
try {
|
|
154
|
+
const url = new URL(client.url);
|
|
155
|
+
return url.protocol !== 'about:' && !url.pathname.startsWith('/desk/');
|
|
156
|
+
} catch {
|
|
157
|
+
return false;
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
const existing =
|
|
161
|
+
topLevel.find((client) => client.focused) ||
|
|
162
|
+
topLevel.find((client) => client.visibilityState === 'visible') ||
|
|
163
|
+
topLevel[0];
|
|
164
|
+
if (existing) {
|
|
165
|
+
existing.postMessage({ type: 'open-session', sessionId });
|
|
166
|
+
// 页面自己处理深链;留下的冷启动兜底会让下次打开又跳一次
|
|
167
|
+
try {
|
|
168
|
+
const cache = await caches.open(LAUNCH_SESSION_CACHE);
|
|
169
|
+
await cache.delete(LAUNCH_SESSION_URL);
|
|
170
|
+
} catch {}
|
|
171
|
+
return existing.focus();
|
|
172
|
+
}
|
|
173
|
+
return self.clients.openWindow(target);
|
|
174
|
+
})()
|
|
175
|
+
);
|
|
176
|
+
});
|
package/out/renderer/assets/{abnfDiagram-VCTEODGH-BDMrRlBj.js → abnfDiagram-VCTEODGH-DdK4JluI.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as p,r as u,d as a}from"./chunk-SVP7TREG-
|
|
1
|
+
import{g as p,r as u,d as a}from"./chunk-SVP7TREG-CEwQQJCq.js";import{p as f}from"./chunk-JWPE2WC7-BuWr_Gi3.js";import{_ as n,l as o}from"./mermaid.core-1Md-4wKR.js";import{M as c,b as d}from"./cynefin-OW5HDTMX-CFjRbSdS.js";import"./globals-dEmzc9xm.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},B={parser:R,db:a,renderer:u,styles:p};export{B as diagram};
|