@omg-dev/app 0.1.308
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist-lib/BrowserProfiles-BKqSwtW3.js +650 -0
- package/dist-lib/ChangelogPage-DUF8wn1F.js +2978 -0
- package/dist-lib/File-BszRWhXA.js +5866 -0
- package/dist-lib/FileEditor-ByMnm-sa.js +6892 -0
- package/dist-lib/FileTreePane-BG2k7gTc.js +8422 -0
- package/dist-lib/FileViewer-DgjR_OJp.js +18 -0
- package/dist-lib/SessionFilesPanel-Brfp2niD.js +336 -0
- package/dist-lib/TermView-BNcp4mex.js +4000 -0
- package/dist-lib/__vite-browser-external-2447137e-DYxpcVy9.js +4 -0
- package/dist-lib/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist-lib/abap-Y8Dl9g_6.js +6 -0
- package/dist-lib/abnfDiagram-VRR7QNED-Chn1Z_p9.js +87 -0
- package/dist-lib/actionscript-3-DQVEcJUW.js +6 -0
- package/dist-lib/ada-vP6ak0IW.js +6 -0
- package/dist-lib/agent-claude.svg +1 -0
- package/dist-lib/agent-codex.svg +1 -0
- package/dist-lib/agent-copilot.svg +1 -0
- package/dist-lib/agent-cursor.svg +4 -0
- package/dist-lib/agent-grok.svg +1 -0
- package/dist-lib/agent-hermes.svg +9 -0
- package/dist-lib/agent-opencode.svg +1 -0
- package/dist-lib/agent-pi.svg +7 -0
- package/dist-lib/andromeeda-BbmzSJq1.js +4 -0
- package/dist-lib/angular-html-DPB4Rf0C.js +32 -0
- package/dist-lib/angular-ts-CTOR2ofC.js +21 -0
- package/dist-lib/apache-BUjz-sD2.js +6 -0
- package/dist-lib/apex-OyTfjCYK.js +6 -0
- package/dist-lib/apl-CjNiDgad.js +16 -0
- package/dist-lib/apple-touch-icon.png +0 -0
- package/dist-lib/applescript-BPx7YFFu.js +6 -0
- package/dist-lib/ara-Z2fSOxSw.js +6 -0
- package/dist-lib/arc-B652oHQ-.js +83 -0
- package/dist-lib/architectureDiagram-ZJ3FMSHR-CMatArpz.js +4762 -0
- package/dist-lib/asciidoc-C1T9ziH6.js +6 -0
- package/dist-lib/asm-BTWLY5ym.js +6 -0
- package/dist-lib/astro-CFFExE8Q.js +18 -0
- package/dist-lib/aurora-x-BwoVEUWZ.js +4 -0
- package/dist-lib/awk-Fb0P9dkn.js +6 -0
- package/dist-lib/ayu-dark-DJoqd4M9.js +4 -0
- package/dist-lib/ayu-light-BzXEJRJ-.js +4 -0
- package/dist-lib/ayu-mirage-BJ2oZGzi.js +4 -0
- package/dist-lib/badge-CgdKT4o8.js +46 -0
- package/dist-lib/ballerina-oZK-YekG.js +6 -0
- package/dist-lib/bat-0FvbqU9S.js +6 -0
- package/dist-lib/beancount-DqJEb89h.js +6 -0
- package/dist-lib/berry-DODBq_Ff.js +6 -0
- package/dist-lib/bibtex-EULQRLY5.js +6 -0
- package/dist-lib/bicep-BorU73w0.js +6 -0
- package/dist-lib/bird2-CIjBSNj3.js +6 -0
- package/dist-lib/blade-D0HyNvCw.js +20 -0
- package/dist-lib/blockDiagram-677ZJIJ3-CEOPfI9A.js +2429 -0
- package/dist-lib/bsl-NkNNwerW.js +8 -0
- package/dist-lib/c-eeMepfLm.js +6 -0
- package/dist-lib/c3-BY5XW5ym.js +6 -0
- package/dist-lib/c4Diagram-LMCZKHZV-DcUHrESL.js +1578 -0
- package/dist-lib/cadence-02UX7mW8.js +6 -0
- package/dist-lib/cairo-DM6WF2e3.js +8 -0
- package/dist-lib/catppuccin-frappe-D3cH2rXe.js +4 -0
- package/dist-lib/catppuccin-latte-C0LRGUW4.js +4 -0
- package/dist-lib/catppuccin-macchiato-c5wQ11TT.js +4 -0
- package/dist-lib/catppuccin-mocha-WMD6Qvya.js +4 -0
- package/dist-lib/channel-B5lJFbed.js +5 -0
- package/dist-lib/chat-engine-BeMpvOlJ.js +7272 -0
- package/dist-lib/chunk-2Q5K7J3B-Ex8Ly28R.js +15 -0
- package/dist-lib/chunk-32BRIVSS-IYmNSvH8.js +68 -0
- package/dist-lib/chunk-5VM5RSS4-DO2g-xIj.js +19 -0
- package/dist-lib/chunk-EX3LRPZG-N96wfks9.js +1421 -0
- package/dist-lib/chunk-JWPE2WC7-DFPBClX_.js +9 -0
- package/dist-lib/chunk-MOJQB5TN-dusfI9ob.js +664 -0
- package/dist-lib/chunk-RYQCIY6F-fkeERzIG.js +315 -0
- package/dist-lib/chunk-V7JOEXUC-DQwf2vkP.js +1534 -0
- package/dist-lib/chunk-VR4S4FIN-hOZG7eF3.js +20 -0
- package/dist-lib/chunk-XXDRQBXY-Ccv4aRcn.js +8 -0
- package/dist-lib/clarity-PKm5CwqM.js +6 -0
- package/dist-lib/classDiagram-OUVF2IWQ-DOn-rhuL.js +16 -0
- package/dist-lib/classDiagram-v2-EOCWNBFH-DOn-rhuL.js +16 -0
- package/dist-lib/clipboard-paste-Cq1hNjMN.js +17 -0
- package/dist-lib/clojure-CXJfHrL3.js +6 -0
- package/dist-lib/cmake-BJz8BOTU.js +6 -0
- package/dist-lib/cobol-HihOMwht.js +10 -0
- package/dist-lib/codeowners-Bt9yU6NX.js +6 -0
- package/dist-lib/codeql-DHkodjjI.js +6 -0
- package/dist-lib/coding-agents-page-7V7PKijy.js +209 -0
- package/dist-lib/coffee-DGBR_nr_.js +8 -0
- package/dist-lib/common-lisp-EVqT9Zhp.js +6 -0
- package/dist-lib/coq-B0L9upzn.js +6 -0
- package/dist-lib/cose-bilkent-JH36ORCC-C-tACTrT.js +2609 -0
- package/dist-lib/cpp-Cj177cuW.js +18 -0
- package/dist-lib/create-BrnHvSDE.js +306 -0
- package/dist-lib/crystal-CRJyc4G-.js +18 -0
- package/dist-lib/csharp-CCgA4A09.js +6 -0
- package/dist-lib/css-CECN5uSL.js +6 -0
- package/dist-lib/csv-CmYOceLb.js +6 -0
- package/dist-lib/cue-ZzumE7IT.js +6 -0
- package/dist-lib/cynefin-VYW2F7L2-DQXPWaog.js +23853 -0
- package/dist-lib/cynefinDiagram-TSTJHNR4-Be7CamD2.js +299 -0
- package/dist-lib/cypher-jpdmjtA6.js +6 -0
- package/dist-lib/cytoscape.esm-B0ledd6M.js +18786 -0
- package/dist-lib/d-CBagWSwH.js +6 -0
- package/dist-lib/dagre-VKFMJZFB-BhCjK7XQ.js +346 -0
- package/dist-lib/dark-plus-pUHDTVV0.js +4 -0
- package/dist-lib/dart-6ObCrKr9.js +6 -0
- package/dist-lib/dax-CcDT-8dH.js +6 -0
- package/dist-lib/defaultLocale-BgPVtth8.js +171 -0
- package/dist-lib/desktop-B93p9R9O.js +6 -0
- package/dist-lib/diagram-FQU43EPY-Jg12ow4Z.js +466 -0
- package/dist-lib/diagram-G47NLZAW-C3_z2t6T.js +530 -0
- package/dist-lib/diagram-NH7WQ7WH-DUdK08IT.js +143 -0
- package/dist-lib/diagram-OA4YK3LP-TUUyRYY3.js +353 -0
- package/dist-lib/diagram-WEI45ONY-D1kKPOc_.js +221 -0
- package/dist-lib/diff-BxzP2J8R.js +6 -0
- package/dist-lib/docker-CsHqm9tx.js +6 -0
- package/dist-lib/dotenv-BMjVjUL1.js +6 -0
- package/dist-lib/dracula-BtZx2Kac.js +4 -0
- package/dist-lib/dracula-soft-BKa-aqBv.js +4 -0
- package/dist-lib/dream-maker-PAx17jaB.js +6 -0
- package/dist-lib/ebnfDiagram-CCIWWBDH-BhQWrGMc.js +109 -0
- package/dist-lib/edge-BYQkOzbF.js +12 -0
- package/dist-lib/elixir-Dh036GMp.js +8 -0
- package/dist-lib/elm-BtNbw_Cd.js +8 -0
- package/dist-lib/emacs-lisp-Cfxdx5D-.js +6 -0
- package/dist-lib/embedded-DS7udW2I.js +41876 -0
- package/dist-lib/engine-compile-BeZvvx0I.js +10442 -0
- package/dist-lib/erDiagram-Q63AITRT-D2q6Nmwa.js +911 -0
- package/dist-lib/erb-ScVOXVpH.js +10 -0
- package/dist-lib/erlang-DNcDT8Hi.js +8 -0
- package/dist-lib/everforest-dark-DMCBqXCK.js +4 -0
- package/dist-lib/everforest-light-BbXl82Em.js +4 -0
- package/dist-lib/fennel-N4WcXuKx.js +6 -0
- package/dist-lib/fish-BTDEUgqH.js +6 -0
- package/dist-lib/flowDiagram-23GEKE2U-DU3S3biU.js +1645 -0
- package/dist-lib/fluent-BMXUxfv1.js +6 -0
- package/dist-lib/fortran-fixed-form-B67KFkXH.js +8 -0
- package/dist-lib/fortran-free-form-CwqYvCLJ.js +6 -0
- package/dist-lib/fsharp-CYOiIVNx.js +8 -0
- package/dist-lib/ganttDiagram-NO4QXBWP-C_Lj-cJB.js +2712 -0
- package/dist-lib/gdresource-CvCIUjhi.js +10 -0
- package/dist-lib/gdscript-DSAxJ_aS.js +6 -0
- package/dist-lib/gdshader-Bk8fF6yr.js +6 -0
- package/dist-lib/genie-DzUvd7U9.js +6 -0
- package/dist-lib/gherkin-DHRaV0YP.js +6 -0
- package/dist-lib/git-commit-Bd32YZ0K.js +8 -0
- package/dist-lib/git-rebase-ZWUFO_T4.js +8 -0
- package/dist-lib/gitGraphDiagram-IHSO6WYX-CvGu0XAR.js +828 -0
- package/dist-lib/github-dark-DenFmJkN.js +4 -0
- package/dist-lib/github-dark-default-BJPUVz4H.js +4 -0
- package/dist-lib/github-dark-dimmed-DUshB20C.js +4 -0
- package/dist-lib/github-dark-high-contrast-D3aGCnF8.js +4 -0
- package/dist-lib/github-light-JYsPkUQd.js +4 -0
- package/dist-lib/github-light-default-D99KPAby.js +4 -0
- package/dist-lib/github-light-high-contrast-BbmZE-Mp.js +4 -0
- package/dist-lib/gleam-Bv284lvN.js +6 -0
- package/dist-lib/glimmer-js-DkxNrfPT.js +14 -0
- package/dist-lib/glimmer-ts-D6YZEmK_.js +14 -0
- package/dist-lib/glsl-CkUcVZNK.js +8 -0
- package/dist-lib/gn-XtJxiLa4.js +6 -0
- package/dist-lib/gnuplot-yPG9-sE_.js +6 -0
- package/dist-lib/go-CvFNMTvu.js +6 -0
- package/dist-lib/graph-B68L3K2T.js +1545 -0
- package/dist-lib/graphql-CBu2ehBn.js +14 -0
- package/dist-lib/groovy-CJQTphOW.js +6 -0
- package/dist-lib/gruvbox-dark-hard-C5HOtKIh.js +4 -0
- package/dist-lib/gruvbox-dark-medium-FVgwJHuz.js +4 -0
- package/dist-lib/gruvbox-dark-soft-B46F314v.js +4 -0
- package/dist-lib/gruvbox-light-hard-CJD38wDZ.js +4 -0
- package/dist-lib/gruvbox-light-medium-BlIhMYTA.js +4 -0
- package/dist-lib/gruvbox-light-soft-DoPHyLVZ.js +4 -0
- package/dist-lib/hack-ItRNKiEb.js +10 -0
- package/dist-lib/haml-NZLVzu_R.js +10 -0
- package/dist-lib/handlebars-mxStpSE7.js +14 -0
- package/dist-lib/haskell-WeIwNIP6.js +6 -0
- package/dist-lib/haxe-TztHsm5T.js +6 -0
- package/dist-lib/hcl-D438OF-I.js +6 -0
- package/dist-lib/highlighted-body-OFNGDK62-B2IXPhCU.js +19 -0
- package/dist-lib/hjson-DYBUbqOl.js +6 -0
- package/dist-lib/hlsl-Bk8TCZNL.js +6 -0
- package/dist-lib/horizon-CJQ10nlf.js +4 -0
- package/dist-lib/horizon-bright-CdkBZOMB.js +4 -0
- package/dist-lib/houston-BDYrDoDW.js +4 -0
- package/dist-lib/html-B50bmoVb.js +10 -0
- package/dist-lib/html-derivative-C6bxFbFW.js +8 -0
- package/dist-lib/http-DLvAkeD-.js +14 -0
- package/dist-lib/hurl-CgkFN90t.js +12 -0
- package/dist-lib/hxml-GbqSQCLa.js +8 -0
- package/dist-lib/hy-Brt5EZ7-.js +6 -0
- package/dist-lib/icon-192.png +0 -0
- package/dist-lib/icon-512.png +0 -0
- package/dist-lib/icon-maskable-512.png +0 -0
- package/dist-lib/icon-maskable.svg +16 -0
- package/dist-lib/icon-small.svg +19 -0
- package/dist-lib/icon.svg +19 -0
- package/dist-lib/imba-CimUv-Uh.js +6 -0
- package/dist-lib/index-DhYD46ms.js +5062 -0
- package/dist-lib/index-JkCQXUYs.js +16566 -0
- package/dist-lib/index-npuLMlPS.js +746 -0
- package/dist-lib/index.d.ts +95 -0
- package/dist-lib/index.js +8 -0
- package/dist-lib/infoDiagram-FWYZ7A6U-BbUkT0KS.js +24 -0
- package/dist-lib/ini-BZIuRIvJ.js +6 -0
- package/dist-lib/init-DjUOC4st.js +16 -0
- package/dist-lib/ishikawaDiagram-FXEZZL3T-D_Y6Tuyb.js +622 -0
- package/dist-lib/java-DY6VlHhP.js +6 -0
- package/dist-lib/javascript-C25yR2R2.js +6 -0
- package/dist-lib/jinja-CFW5uAwY.js +11 -0
- package/dist-lib/jison-DdreslRX.js +8 -0
- package/dist-lib/journeyDiagram-5HDEW3XC-CgykmVSC.js +834 -0
- package/dist-lib/json-DxJze_jm.js +6 -0
- package/dist-lib/json5-BT4Fjg39.js +6 -0
- package/dist-lib/jsonc-CHjZD8gR.js +6 -0
- package/dist-lib/jsonl-BGuvDmy9.js +6 -0
- package/dist-lib/jsonnet-Bx2cfsXg.js +6 -0
- package/dist-lib/jssm-BcADi6EI.js +6 -0
- package/dist-lib/jsx-BtKADgXT.js +6 -0
- package/dist-lib/julia-CZiKXNNP.js +16 -0
- package/dist-lib/just-CEK2SJ_k.js +18 -0
- package/dist-lib/kanagawa-dragon-CiKur4Hl.js +4 -0
- package/dist-lib/kanagawa-lotus-BKu-smKu.js +4 -0
- package/dist-lib/kanagawa-wave-CQwozSzG.js +4 -0
- package/dist-lib/kanban-definition-HUTT4EX6-CPFLTskY.js +726 -0
- package/dist-lib/katex-jHfnQmlp.js +11682 -0
- package/dist-lib/kdl-BNOv9TC3.js +6 -0
- package/dist-lib/kotlin-ByBMgTeR.js +6 -0
- package/dist-lib/kusto-DH_XitHS.js +6 -0
- package/dist-lib/laserwave-6a00oqik.js +4 -0
- package/dist-lib/latex-B8Egmqc5.js +8 -0
- package/dist-lib/layout-BGrtsiRL.js +1519 -0
- package/dist-lib/lean-BnVxaZxY.js +6 -0
- package/dist-lib/less-B1GLI2Di.js +6 -0
- package/dist-lib/light-plus-CZuVqSLX.js +4 -0
- package/dist-lib/linear-B5ZSwawJ.js +259 -0
- package/dist-lib/liquid-CHzkx3jT.js +14 -0
- package/dist-lib/llvm-Bk2XctFf.js +6 -0
- package/dist-lib/log-Al8wyEFV.js +6 -0
- package/dist-lib/logo-DBa4JDzV.js +6 -0
- package/dist-lib/lua-Bp3IRv7I.js +8 -0
- package/dist-lib/luau-UQyhudEE.js +6 -0
- package/dist-lib/make-CsMclxtr.js +6 -0
- package/dist-lib/manifest.webmanifest +19 -0
- package/dist-lib/map-hbfFlSln.js +224 -0
- package/dist-lib/markdown-CrScaQ96.js +6 -0
- package/dist-lib/marko-CJBA24Ri.js +14 -0
- package/dist-lib/material-theme-D6KBX41T.js +4 -0
- package/dist-lib/material-theme-darker-CkRroheE.js +4 -0
- package/dist-lib/material-theme-lighter-BUBw43Yz.js +4 -0
- package/dist-lib/material-theme-ocean-ClGX14Ja.js +4 -0
- package/dist-lib/material-theme-palenight-C1RVm8K1.js +4 -0
- package/dist-lib/matlab-BOAaUVP0.js +6 -0
- package/dist-lib/mdc-C9YSUwVC.js +12 -0
- package/dist-lib/mdx-BOhZZUJ8.js +6 -0
- package/dist-lib/mermaid-C3rz4dYh.js +6 -0
- package/dist-lib/mermaid-GHXKKRXX-BepkNUDb.js +4 -0
- package/dist-lib/min-dark-C7ak0t6c.js +4 -0
- package/dist-lib/min-light-CKFxVcPp.js +4 -0
- package/dist-lib/mindmap-definition-LN4V7U3C-CfhfeEht.js +831 -0
- package/dist-lib/mipsasm-CTx18fBl.js +6 -0
- package/dist-lib/mojo-EIZIZRTQ.js +6 -0
- package/dist-lib/monokai-C1KBYcO0.js +4 -0
- package/dist-lib/moonbit-B1TV0fG3.js +6 -0
- package/dist-lib/move-Db4ltDq1.js +6 -0
- package/dist-lib/narrat-DmhDCBs-.js +6 -0
- package/dist-lib/nextflow-47kAzSl1.js +8 -0
- package/dist-lib/nextflow-groovy-Drz_2V0j.js +6 -0
- package/dist-lib/nginx-D7O4WoB1.js +8 -0
- package/dist-lib/night-owl-Bm2rzalh.js +4 -0
- package/dist-lib/night-owl-light-CBI5u5kw.js +4 -0
- package/dist-lib/nim-QAjRdh9w.js +20 -0
- package/dist-lib/nix-fTRXMGic.js +9 -0
- package/dist-lib/nord-CC5OiUXg.js +4 -0
- package/dist-lib/nushell-BGCPRlV5.js +6 -0
- package/dist-lib/objective-c-Itk8tzmv.js +6 -0
- package/dist-lib/objective-cpp-DGt5UKRO.js +6 -0
- package/dist-lib/ocaml-eSVK32Eg.js +6 -0
- package/dist-lib/odin-BItnF517.js +6 -0
- package/dist-lib/one-dark-pro-DTA3VF0_.js +4 -0
- package/dist-lib/one-light-LkMrt1Cf.js +4 -0
- package/dist-lib/openscad-Sp5uZ6f2.js +6 -0
- package/dist-lib/ordinal-DfAQgscy.js +61 -0
- package/dist-lib/pascal-xy8pJNns.js +6 -0
- package/dist-lib/pegDiagram-2B236MQR-CYDAJHPF.js +95 -0
- package/dist-lib/perl-DkVrgJBg.js +16 -0
- package/dist-lib/php-BIzsF_5x.js +18 -0
- package/dist-lib/pieDiagram-ENE6RG2P-udKxQm4p.js +209 -0
- package/dist-lib/pierre-dark-D52vmD1t.js +4 -0
- package/dist-lib/pierre-dark-protanopia-deuteranopia-Coza2ydH.js +4 -0
- package/dist-lib/pierre-dark-soft-D0o08Lfm.js +4 -0
- package/dist-lib/pierre-dark-tritanopia-BP-A_WyN.js +4 -0
- package/dist-lib/pierre-dark-vibrant-BjUzbiGn.js +4 -0
- package/dist-lib/pierre-light-CzM3AfLn.js +4 -0
- package/dist-lib/pierre-light-protanopia-deuteranopia-DFclCKch.js +4 -0
- package/dist-lib/pierre-light-soft-m3tr_5b6.js +4 -0
- package/dist-lib/pierre-light-tritanopia-Dh0MAsTp.js +4 -0
- package/dist-lib/pierre-light-vibrant-BZSORskK.js +4 -0
- package/dist-lib/pkl-C-zSNmaA.js +6 -0
- package/dist-lib/plastic-CSTz3KZp.js +4 -0
- package/dist-lib/plsql-pVbGZfOv.js +6 -0
- package/dist-lib/po-BNfHvqmm.js +6 -0
- package/dist-lib/poimandres-C-VADXHD.js +4 -0
- package/dist-lib/polar-CAZahv3u.js +6 -0
- package/dist-lib/postcss-05aHdL-n.js +6 -0
- package/dist-lib/powerquery-DI9HkTvs.js +6 -0
- package/dist-lib/powershell-Clc4ydu-.js +6 -0
- package/dist-lib/prisma-FZjmVtSl.js +6 -0
- package/dist-lib/prolog-C5-yg4TO.js +6 -0
- package/dist-lib/proto-C7QgialS.js +6 -0
- package/dist-lib/pug-XOw9Q1Ho.js +12 -0
- package/dist-lib/puppet-CUJHmnxV.js +6 -0
- package/dist-lib/purescript-rUfGld-4.js +6 -0
- package/dist-lib/python-BFNSHbwJ.js +6 -0
- package/dist-lib/qml-rTNXsquU.js +8 -0
- package/dist-lib/qmldir-BInDYbpo.js +6 -0
- package/dist-lib/qss-AeJTysr_.js +6 -0
- package/dist-lib/quadrantDiagram-ABIIQ3AL-BmDmLczk.js +1025 -0
- package/dist-lib/r-CSmzDPi7.js +6 -0
- package/dist-lib/racket-B83wSAja.js +6 -0
- package/dist-lib/railroadDiagram-RFXS5EU6-q0Svkmuy.js +77 -0
- package/dist-lib/raku-nEQ4ZJJ7.js +6 -0
- package/dist-lib/razor-Ci8D0dQK.js +10 -0
- package/dist-lib/red-7y8PH7HH.js +4 -0
- package/dist-lib/reg-m_s_Kiip.js +6 -0
- package/dist-lib/regexp-BazyLpPg.js +6 -0
- package/dist-lib/rel-BcRfyd6Q.js +6 -0
- package/dist-lib/requirementDiagram-TGXJPOKE-tNxRI1gc.js +884 -0
- package/dist-lib/resume-session-sheet-YCOfKuXl.js +316 -0
- package/dist-lib/riscv-Ce8MAQLP.js +6 -0
- package/dist-lib/ron-DCEEQypA.js +6 -0
- package/dist-lib/rose-pine-BKc3yVeu.js +4 -0
- package/dist-lib/rose-pine-dawn-BulJcPZT.js +4 -0
- package/dist-lib/rose-pine-moon-j6jiXKV8.js +4 -0
- package/dist-lib/rosmsg-Cz0w1km8.js +6 -0
- package/dist-lib/rst-DM32Wy3O.js +22 -0
- package/dist-lib/ruby-BeqCs27h.js +30 -0
- package/dist-lib/rust-CLzF9zIN.js +6 -0
- package/dist-lib/sankeyDiagram-HTMAVEWB-B9Bl7f2P.js +847 -0
- package/dist-lib/sas-fpEvgATw.js +8 -0
- package/dist-lib/sass-DxHp5rTx.js +6 -0
- package/dist-lib/scala-D4grkFkl.js +6 -0
- package/dist-lib/scheme-BCRWuEm4.js +6 -0
- package/dist-lib/scss-B1FaCqwR.js +8 -0
- package/dist-lib/sdbl-B7T8abf4.js +6 -0
- package/dist-lib/sequenceDiagram-DBY2YBRQ-Dvl2_CXL.js +2898 -0
- package/dist-lib/session-token-usage-DIMXh6Pi.js +236 -0
- package/dist-lib/shaderlab-Cr62-Wb4.js +8 -0
- package/dist-lib/shadow-text-size-CBCTdbYU.js +39 -0
- package/dist-lib/shellscript-InADTalH.js +6 -0
- package/dist-lib/shellsession-DiDJNQdy.js +8 -0
- package/dist-lib/shipped-page-D51HiXpe.js +574 -0
- package/dist-lib/sizeCapture-X5ZJPWSS-B1EeO3N9.js +47 -0
- package/dist-lib/slack-dark-i7wN4OET.js +4 -0
- package/dist-lib/slack-ochin-ndHf0LoP.js +4 -0
- package/dist-lib/smalltalk-BlI1_OkM.js +6 -0
- package/dist-lib/snazzy-light-BlSJXAu4.js +4 -0
- package/dist-lib/solarized-dark-UTmkh7lw.js +4 -0
- package/dist-lib/solarized-light-BheCkDPT.js +4 -0
- package/dist-lib/solidity-DUWnFhS6.js +6 -0
- package/dist-lib/soy-C1-6njHa.js +8 -0
- package/dist-lib/sparql-B0KWFEri.js +8 -0
- package/dist-lib/splunk-CRXR8A9s.js +6 -0
- package/dist-lib/sql-Cn_v3PB0.js +6 -0
- package/dist-lib/ssh-config-DP-hNVbF.js +6 -0
- package/dist-lib/stata-B8c5fTjX.js +8 -0
- package/dist-lib/stateDiagram-2N3HPSRC-CnWB7HvU.js +263 -0
- package/dist-lib/stateDiagram-v2-6OUMAXLB-DnZ0UI2p.js +16 -0
- package/dist-lib/streamdown-response-DPrve_Vt.js +20929 -0
- package/dist-lib/styles.css +1 -0
- package/dist-lib/stylus-CyKEU1Ej.js +6 -0
- package/dist-lib/surrealql-CQi7GQN7.js +8 -0
- package/dist-lib/svelte-rYri41WT.js +14 -0
- package/dist-lib/sw.js +215 -0
- package/dist-lib/swift-DJpUqPLg.js +6 -0
- package/dist-lib/swimlanes-5IMT3BWC-CvqDJcS9.js +5353 -0
- package/dist-lib/swimlanesDiagram-G3AALYLV-CKyOeqF_.js +13 -0
- package/dist-lib/synthwave-84-NU3C_KFZ.js +4 -0
- package/dist-lib/system-verilog-BCm7smPJ.js +6 -0
- package/dist-lib/systemd-C-4qm6XH.js +6 -0
- package/dist-lib/talonscript-CFF3LF_O.js +6 -0
- package/dist-lib/tasl-Cg_WBUAe.js +6 -0
- package/dist-lib/tcl-DN7buRTF.js +6 -0
- package/dist-lib/templ-Crs9Ui8q.js +12 -0
- package/dist-lib/terraform-DGvcn9zM.js +6 -0
- package/dist-lib/tex-AHxmLTL0.js +8 -0
- package/dist-lib/timeline-definition-FHXFAJF6-b15X0Oru.js +1066 -0
- package/dist-lib/tokyo-night-DP4TmcQl.js +4 -0
- package/dist-lib/toml-DY62mUL_.js +6 -0
- package/dist-lib/ts-tags-ioVe2PKw.js +41 -0
- package/dist-lib/tsv-BtvSkaG0.js +6 -0
- package/dist-lib/tsx-B8rCNbgL.js +6 -0
- package/dist-lib/turtle-_H59FV7D.js +6 -0
- package/dist-lib/twig-DwV2Fi4L.js +18 -0
- package/dist-lib/types-BSXdE6DF.js +4 -0
- package/dist-lib/typescript-RycA9KXf.js +6 -0
- package/dist-lib/typespec-DWqp-kUU.js +6 -0
- package/dist-lib/typst-D_1QKWns.js +6 -0
- package/dist-lib/v-BPCNiyYe.js +6 -0
- package/dist-lib/vala-uxaPR7d1.js +6 -0
- package/dist-lib/vb-D8_c5-KN.js +6 -0
- package/dist-lib/vennDiagram-L72KCM5P-C4lh5m77.js +1585 -0
- package/dist-lib/verilog-B-bybjPF.js +6 -0
- package/dist-lib/vesper-BckBta1U.js +4 -0
- package/dist-lib/vhdl-CUlNa8ac.js +6 -0
- package/dist-lib/viml-DsfA-sWm.js +6 -0
- package/dist-lib/vitesse-black-BoGvW84i.js +4 -0
- package/dist-lib/vitesse-dark-Cym-eLtO.js +4 -0
- package/dist-lib/vitesse-light-CcmG315c.js +4 -0
- package/dist-lib/vue-DXEmyXn9.js +31 -0
- package/dist-lib/vue-html-j9xNEdu3.js +8 -0
- package/dist-lib/vue-vine-D41-N99t.js +18 -0
- package/dist-lib/vyper-CPQuu50u.js +6 -0
- package/dist-lib/wardleyDiagram-EHGQE667-Cev6fT_D.js +684 -0
- package/dist-lib/wasm-BBXxrAl7.js +6 -0
- package/dist-lib/wasm-DQxwEHae.js +7 -0
- package/dist-lib/wenyan-pbVjoM9_.js +6 -0
- package/dist-lib/wgsl-DY4iK1q1.js +6 -0
- package/dist-lib/wikitext-Z-MoUasO.js +6 -0
- package/dist-lib/wit-CQMQOlTg.js +6 -0
- package/dist-lib/wolfram-Dz4KXISs.js +6 -0
- package/dist-lib/xml-C2J0sS9M.js +8 -0
- package/dist-lib/xsl-BmSZphgC.js +8 -0
- package/dist-lib/xychartDiagram-FW5EYKEG-m3s7caPv.js +1385 -0
- package/dist-lib/yaml-DaO7k5B1.js +6 -0
- package/dist-lib/zenscript-CxBjpf9c.js +6 -0
- package/dist-lib/zig-Vm0PO9wB.js +6 -0
- package/package.json +55 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"displayName":"D","fileTypes":["d","di","dpp"],"name":"d","patterns":[{"include":"#comment"},{"include":"#type"},{"include":"#statement"},{"include":"#expression"}],"repository":{"aggregate-declaration":{"patterns":[{"include":"#class-declaration"},{"include":"#interface-declaration"},{"include":"#struct-declaration"},{"include":"#union-declaration"},{"include":"#mixin-template-declaration"},{"include":"#template-declaration"}]},"alias-declaration":{"patterns":[{"begin":"\\\\b(alias)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.other.alias.d"}},"end":";","endCaptures":{"0":{"name":"meta.alias.end.d"}},"patterns":[{"include":"#type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"},{"include":"#expression"}]}]},"align-attribute":{"patterns":[{"begin":"\\\\balign\\\\s*\\\\(","end":"\\\\)","name":"storage.modifier.align-attribute.d","patterns":[{"include":"#integer-literal"}]},{"match":"\\\\balign\\\\b\\\\s*(?!\\\\()","name":"storage.modifier.align-attribute.d"}]},"alternate-wysiwyg-string":{"patterns":[{"begin":"`","end":"`[cdw]?","name":"string.alternate-wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"arbitrary-delimited-string":{"begin":"q\\"(\\\\w+)","end":"\\\\1\\"","name":"string.delimited.d","patterns":[{"match":".","name":"string.delimited.d"}]},"arithmetic-expression":{"patterns":[{"match":"\\\\^\\\\^|\\\\+\\\\+|--|(?<!/)\\\\+(?!/)|[-~]|(?<!/)\\\\*(?!/)|(?<![*+/])/(?![*+/])|%","name":"keyword.operator.numeric.d"}]},"asm-instruction":{"patterns":[{"include":"#comment"},{"match":"\\\\b(align|even|naked|db|ds|di|dl|df|dd|de)\\\\b|:","name":"keyword.asm-instruction.d"},{"match":"\\\\b__LOCAL_SIZE\\\\b","name":"constant.language.assembly.d"},{"match":"\\\\b(offsetof|seg)\\\\b","name":"support.type.assembly.d"},{"include":"#asm-type-prefix"},{"include":"#asm-primary-expression"},{"include":"#operands"},{"include":"#register"},{"include":"#register-64"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#identifier"}]},"asm-statement":{"patterns":[{"begin":"\\\\b(asm)\\\\b\\\\s*(?=\\\\{)","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=})","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"keyword.control.asm.begin.d"}},"contentName":"gfm.markup.raw.assembly.d","end":"}","endCaptures":{"0":{"name":"keyword.control.asm.end.d"}},"patterns":[{"include":"#asm-instruction"}]}]}]},"asm-type-prefix":{"patterns":[{"match":"\\\\b((near\\\\s+ptr)|(far\\\\s+ptr)|(byte\\\\s+ptr)|(short\\\\s+ptr)|(int\\\\s+ptr)|(word\\\\s+ptr)|(dword\\\\s+ptr)|(qword\\\\s+ptr)|(float\\\\s+ptr)|(double\\\\s+ptr)|(real\\\\s+ptr))\\\\b","name":"support.type.asm-type-prefix.d"}]},"assert-expression":{"patterns":[{"begin":"\\\\bassert\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.assert.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"assign-expression":{"patterns":[{"match":">>>=|\\\\^\\\\^=|>>=|<<=|~=|\\\\^=|\\\\|=|&=|%=|/=|\\\\*=|-=|\\\\+=|=(?!>)","name":"keyword.operator.assign.d"}]},"attribute":{"patterns":[{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#deprecated-attribute"},{"include":"#protection-attribute"},{"include":"#pragma"},{"match":"\\\\b(static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"entity.other.attribute-name.d"},{"include":"#property"}]},"base-type":{"patterns":[{"match":"\\\\b(auto|bool|byte|ubyte|short|ushort|int|uint|long|ulong|char|wchar|dchar|float|double|real|ifloat|idouble|ireal|cfloat|cdouble|creal|void|noreturn)\\\\b","name":"storage.type.basic-type.d"},{"match":"\\\\b(string|wstring|dstring|size_t|ptrdiff_t)\\\\b(?!\\\\s*=)","name":"storage.type.basic-type.d"}]},"binary-integer":{"patterns":[{"match":"\\\\b(0[Bb])[01_]+(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.binary.d"}]},"bitwise-expression":{"patterns":[{"match":"[\\\\&^|]","name":"keyword.operator.bitwise.d"}]},"block-comment":{"patterns":[{"begin":"/((?!\\\\*/)\\\\*)+","beginCaptures":{"0":{"name":"comment.block.begin.d"}},"end":"\\\\*+/","endCaptures":{"0":{"name":"comment.block.end.d"}},"name":"comment.block.content.d"}]},"break-statement":{"patterns":[{"match":"\\\\bbreak\\\\b","name":"keyword.control.break.d"}]},"case-statement":{"patterns":[{"begin":"\\\\b(case)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.case.range.d"}},"end":":","endCaptures":{"0":{"name":"meta.case.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"cast-expression":{"patterns":[{"begin":"\\\\b(cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.cast.d"},"2":{"name":"keyword.operator.cast.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.operator.cast.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"}]}]},"catch":{"patterns":[{"begin":"\\\\b(catch)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.catch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"catches":{"patterns":[{"include":"#catch"}]},"character":{"patterns":[{"match":"[\\\\w\\\\s]+","name":"string.character.d"}]},"character-literal":{"patterns":[{"begin":"\'","end":"\'","name":"string.character-literal.d","patterns":[{"include":"#character"},{"include":"#escape-sequence"}]}]},"class-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.class.d"},"2":{"name":"entity.name.class.d"}},"match":"\\\\b(class)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"},{"include":"#protection-attribute"},{"include":"#class-members"}]},"class-members":{"patterns":[{"include":"#shared-static-constructor"},{"include":"#shared-static-destructor"},{"include":"#constructor"},{"include":"#destructor"},{"include":"#postblit"},{"include":"#invariant"},{"include":"#member-function-attribute"}]},"colon":{"patterns":[{"match":":","name":"support.type.colon.d"}]},"comma":{"patterns":[{"match":",","name":"keyword.operator.comma.d"}]},"comment":{"patterns":[{"include":"#block-comment"},{"include":"#line-comment"},{"include":"#nesting-block-comment"}]},"condition":{"patterns":[{"include":"#version-condition"},{"include":"#debug-condition"},{"include":"#static-if-condition"}]},"conditional-declaration":{"patterns":[{"include":"#condition"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"},{"include":"#colon"},{"include":"#decl-defs"}]},"conditional-expression":{"patterns":[{"match":"\\\\s([:?])\\\\s","name":"keyword.operator.ternary.d"}]},"conditional-statement":{"patterns":[{"include":"#condition"},{"include":"#no-scope-non-empty-statement"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"}]},"constructor":{"patterns":[{"match":"\\\\bthis\\\\b","name":"entity.name.function.constructor.d"}]},"continue-statement":{"patterns":[{"match":"\\\\bcontinue\\\\b","name":"keyword.control.continue.d"}]},"debug-condition":{"patterns":[{"begin":"\\\\bdebug\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.debug.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.debug.identifier.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"match":"\\\\bdebug\\\\b\\\\s*(?!\\\\()","name":"keyword.other.debug.plain.d"}]},"debug-specification":{"patterns":[{"match":"\\\\bdebug\\\\b\\\\s*(?==)","name":"keyword.other.debug-specification.d"}]},"decimal-float":{"patterns":[{"match":"\\\\b((\\\\.[0-9])|(0\\\\.)|(([1-9]|(0[1-9_]))[0-9_]*\\\\.))[0-9_]*((e-|E-|e\\\\+|E\\\\+|[Ee])[0-9][0-9_]*)?[FLf]?i?\\\\b","name":"constant.numeric.float.decimal.d"}]},"decimal-integer":{"patterns":[{"match":"\\\\b(0(?=[^BXbx\\\\d]))|([1-9][0-9_]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.decimal.d"}]},"declaration":{"patterns":[{"include":"#alias-declaration"},{"include":"#aggregate-declaration"},{"include":"#enum-declaration"},{"include":"#import-declaration"},{"include":"#storage-class"},{"include":"#void-initializer"},{"include":"#mixin-declaration"}]},"declaration-statement":{"patterns":[{"include":"#declaration"}]},"default-statement":{"patterns":[{"captures":{"1":{"name":"keyword.control.case.default.d"},"2":{"name":"meta.default.colon.d"}},"match":"\\\\b(default)\\\\s*(:)"}]},"delete-expression":{"patterns":[{"match":"\\\\bdelete\\\\s+","name":"keyword.other.delete.d"}]},"delimited-string":{"begin":"q\\"","end":"\\"","name":"string.delimited.d","patterns":[{"include":"#delimited-string-bracket"},{"include":"#delimited-string-parens"},{"include":"#delimited-string-angle-brackets"},{"include":"#delimited-string-braces"}]},"delimited-string-angle-brackets":{"patterns":[{"begin":"<","end":">","name":"constant.character.angle-brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-braces":{"patterns":[{"begin":"\\\\{","end":"}","name":"constant.character.delimited.braces.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-bracket":{"patterns":[{"begin":"\\\\[","end":"]","name":"constant.characters.delimited.brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-parens":{"patterns":[{"begin":"\\\\(","end":"\\\\)","name":"constant.character.delimited.parens.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"deprecated-statement":{"patterns":[{"begin":"\\\\bdeprecated\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.deprecated.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.deprecated.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]},{"match":"\\\\bdeprecated\\\\b\\\\s*(?!\\\\()","name":"keyword.other.deprecated.plain.d"}]},"destructor":{"patterns":[{"match":"\\\\b~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.d"}]},"do-statement":{"patterns":[{"match":"\\\\bdo\\\\b","name":"keyword.control.do.d"}]},"double-quoted-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"},{"include":"#escape-sequence"}]},"double-quoted-string":{"patterns":[{"begin":"\\"","end":"\\"[cdw]?","name":"string.double-quoted-string.d","patterns":[{"include":"#double-quoted-characters"}]}]},"end-of-line":{"patterns":[{"match":"\\\\n+","name":"string.character.end-of-line.d"}]},"enum-declaration":{"patterns":[{"begin":"\\\\b(enum)\\\\b\\\\s+(?=.*[;=])","beginCaptures":{"1":{"name":"storage.type.enum.d"}},"end":"([A-Z_a-z][_\\\\w\\\\d]*)\\\\s*(?=[(;=])(;)?","endCaptures":{"1":{"name":"entity.name.type.enum.d"},"2":{"name":"meta.enum.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"}]}]},"eof":{"patterns":[{"begin":"__EOF__","beginCaptures":{"0":{"name":"comment.block.documentation.eof.start.d"}},"end":"(?!__NEVER_MATCH__)__NEVER_MATCH__","name":"text.eof.d"}]},"equal":{"patterns":[{"match":"=(?![=>])","name":"keyword.operator.equal.d"}]},"escape-sequence":{"patterns":[{"match":"(\\\\\\\\(?:quot|amp|lt|gt|OElig|oelig|Scaron|scaron|Yuml|circ|tilde|ensp|emsp|thinsp|zwnj|zwj|lrm|rlm|ndash|mdash|lsquo|rsquo|sbquo|ldquo|rdquo|bdquo|dagger|Dagger|permil|lsaquo|rsaquo|euro|nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|Aelig|Ccedil|egrave|eacute|ecirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|fnof|Alpha|Beta|Gamma|Delta|Epsilon|Zeta|Eta|Theta|Iota|Kappa|Lambda|Mu|Nu|Xi|Omicron|Pi|Rho|Sigma|Tau|Upsilon|Phi|Chi|Psi|Omega|alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigmaf?|tau|upsilon|phi|chi|psi|omega|thetasym|upsih|piv|bull|hellip|prime|Prime|oline|frasl|weierp|image|real|trade|alefsym|larr|uarr|rarr|darr|harr|crarr|lArr|uArr|rArr|dArr|hArr|forall|part|exist|empty|nabla|isin|notin|ni|prod|sum|minux|lowast|radic|prop|infin|ang|and|or|cap|cup|int|there4|sim|cong|asymp|ne|equiv|le|ge|sub|sup|nsub|sube|supe|oplus|otimes|perp|sdot|lceil|rceil|lfloor|rfloor|loz|spades|clubs|hearts|diams|lang|rang))","name":"constant.character.escape-sequence.entity.d"},{"match":"(\\\\\\\\(?:x[_\\\\h]{2}|u[_\\\\h]{4}|U[_\\\\h]{8}|[0-7]{1,3}))","name":"constant.character.escape-sequence.number.d"},{"match":"(\\\\\\\\[\\"\'0?\\\\\\\\abfnrtv])","name":"constant.character.escape-sequence.d"}]},"expression":{"patterns":[{"include":"#index-expression"},{"include":"#expression-no-index"}]},"expression-no-index":{"patterns":[{"include":"#function-literal"},{"include":"#assert-expression"},{"include":"#assign-expression"},{"include":"#mixin-expression"},{"include":"#import-expression"},{"include":"#traits-expression"},{"include":"#is-expression"},{"include":"#typeid-expression"},{"include":"#shift-expression"},{"include":"#logical-expression"},{"include":"#rel-expression"},{"include":"#bitwise-expression"},{"include":"#identity-expression"},{"include":"#in-expression"},{"include":"#conditional-expression"},{"include":"#arithmetic-expression"},{"include":"#new-expression"},{"include":"#delete-expression"},{"include":"#cast-expression"},{"include":"#type-specialization"},{"include":"#comma"},{"include":"#special-keyword"},{"include":"#functions"},{"include":"#type"},{"include":"#parentheses-expression"},{"include":"#lexical"}]},"extended-type":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"entity.name.type.d"},{"begin":"\\\\[","beginCaptures":{"0":{"name":"storage.type.array.expression.begin.d"}},"end":"]","endCaptures":{"0":{"name":"storage.type.array.expression.end.d"}},"patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#type"},{"include":"#expression"}]}]},"final-switch-statement":{"patterns":[{"begin":"\\\\b(final\\\\s+switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.final.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"finally-statement":{"patterns":[{"match":"\\\\bfinally\\\\b","name":"keyword.control.throw.d"}]},"float-literal":{"patterns":[{"include":"#decimal-float"},{"include":"#hexadecimal-float"}]},"for-statement":{"patterns":[{"begin":"\\\\b(for)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.for.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"foreach-reverse-statement":{"patterns":[{"begin":"\\\\b(foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach_reverse.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"foreach-statement":{"patterns":[{"begin":"\\\\b(foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"function-attribute":{"patterns":[{"match":"\\\\b(nothrow|pure)\\\\b","name":"storage.type.modifier.function-attribute.d"},{"include":"#property"}]},"function-body":{"patterns":[{"include":"#in-statement"},{"include":"#out-statement"},{"include":"#block-statement"}]},"function-literal":{"patterns":[{"match":"=>","name":"keyword.operator.lambda.d"},{"match":"\\\\b(function|delegate)\\\\b","name":"keyword.other.function-literal.d"},{"begin":"\\\\b([_\\\\w][_\\\\d\\\\w]*)\\\\s*(=>)","beginCaptures":{"1":{"name":"variable.parameter.d"},"2":{"name":"meta.lexical.token.symbolic.d"}},"end":"(?=[]),;}])","patterns":[{"include":"source.d"}]},{"begin":"(?<=[()])(\\\\s*)(\\\\{)","beginCaptures":{"1":{"name":"source.d"},"2":{"name":"source.d"}},"end":"}","patterns":[{"include":"source.d"}]}]},"function-prelude":{"patterns":[{"match":"(?!type(?:of|id))((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\s*(?=\\\\()","name":"entity.name.function.d"}]},"functions":{"patterns":[{"include":"#function-attribute"},{"include":"#function-prelude"}]},"goto-statement":{"patterns":[{"match":"\\\\bgoto\\\\s+default\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\s+case\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.control.goto.d"}]},"hex-string":{"patterns":[{"begin":"x\\"","end":"\\"[cdw]?","name":"string.hex-string.d","patterns":[{"match":"[_s\\\\h]+","name":"constant.character.hex-string.d"}]}]},"hexadecimal-float":{"patterns":[{"match":"\\\\b0[Xx][_\\\\h]*(\\\\.[_\\\\h]*)?(p-|P-|p\\\\+|P\\\\+|[Pp])[0-9][0-9_]*[FLf]?i?\\\\b","name":"constant.numeric.float.hexadecimal.d"}]},"hexadecimal-integer":{"patterns":[{"match":"\\\\b(0[Xx])(\\\\h[_\\\\h]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.hexadecimal.d"}]},"identifier":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"variable.d"}]},"identifier-list":{"patterns":[{"match":",","name":"keyword.other.comma.d"},{"include":"#identifier"}]},"identity-expression":{"patterns":[{"match":"\\\\b(!??is)\\\\b","name":"keyword.operator.identity.d"}]},"ies-string":{"patterns":[{"begin":"i\\"","end":"\\"[cdw]?","name":"string.ies-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#double-quoted-characters"}]}]},"ies-token-string":{"begin":"iq\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#interpolation-sequence"},{"include":"#token-string-content"}]},"ies-wysiwyg-string":{"patterns":[{"begin":"i`","end":"`[cdw]?","name":"string.ies-wysiwyg-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#wysiwyg-characters"}]}]},"if-statement":{"patterns":[{"begin":"\\\\b(if)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.if.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]},{"match":"\\\\belse\\\\b\\\\s*","name":"keyword.control.else.d"}]},"import-declaration":{"patterns":[{"begin":"\\\\b(static\\\\s+)?(import)\\\\s+(?!\\\\()","beginCaptures":{"1":{"name":"keyword.package.import.d"},"2":{"name":"keyword.package.import.d"}},"end":";","endCaptures":{"0":{"name":"meta.import.end.d"}},"patterns":[{"include":"#import-identifier"},{"include":"#comma"},{"include":"#comment"}]}]},"import-expression":{"patterns":[{"begin":"\\\\b(import)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.import.d"},"2":{"name":"keyword.other.import.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.import.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"import-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.import.d"}]},"in-expression":{"patterns":[{"match":"\\\\b(!??in)\\\\b","name":"keyword.operator.in.d"}]},"in-statement":{"patterns":[{"match":"\\\\bin\\\\b","name":"keyword.control.in.d"}]},"index-expression":{"patterns":[{"begin":"\\\\[","end":"]","patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#expression-no-index"}]}]},"integer-literal":{"patterns":[{"include":"#decimal-integer"},{"include":"#binary-integer"},{"include":"#hexadecimal-integer"}]},"interface-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.interface.d"},"2":{"name":"entity.name.type.interface.d"}},"match":"\\\\b(interface)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"interpolation-escape":{"match":"\\\\\\\\\\\\$","name":"constant.character.escape-sequence.d"},"interpolation-sequence":{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.d"}},"name":"meta.interpolation.expression.d","patterns":[{"include":"#expression"}]},"invariant":{"patterns":[{"match":"\\\\binvariant\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.invariant.d"}]},"is-expression":{"patterns":[{"begin":"\\\\bis\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.token.is.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.token.is.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"keyword":{"patterns":[{"match":"\\\\babstract\\\\b","name":"keyword.token.abstract.d"},{"match":"\\\\balias\\\\b","name":"keyword.token.alias.d"},{"match":"\\\\balign\\\\b","name":"keyword.token.align.d"},{"match":"\\\\basm\\\\b","name":"keyword.token.asm.d"},{"match":"\\\\bassert\\\\b","name":"keyword.token.assert.d"},{"match":"\\\\bauto\\\\b","name":"keyword.token.auto.d"},{"match":"\\\\bbool\\\\b","name":"keyword.token.bool.d"},{"match":"\\\\bbreak\\\\b","name":"keyword.token.break.d"},{"match":"\\\\bbyte\\\\b","name":"keyword.token.byte.d"},{"match":"\\\\bcase\\\\b","name":"keyword.token.case.d"},{"match":"\\\\bcast\\\\b","name":"keyword.token.cast.d"},{"match":"\\\\bcatch\\\\b","name":"keyword.token.catch.d"},{"match":"\\\\bcdouble\\\\b","name":"keyword.token.cdouble.d"},{"match":"\\\\bcent\\\\b","name":"keyword.token.cent.d"},{"match":"\\\\bcfloat\\\\b","name":"keyword.token.cfloat.d"},{"match":"\\\\bchar\\\\b","name":"keyword.token.char.d"},{"match":"\\\\bclass\\\\b","name":"keyword.token.class.d"},{"match":"\\\\bconst\\\\b","name":"keyword.token.const.d"},{"match":"\\\\bcontinue\\\\b","name":"keyword.token.continue.d"},{"match":"\\\\bcreal\\\\b","name":"keyword.token.creal.d"},{"match":"\\\\bdchar\\\\b","name":"keyword.token.dchar.d"},{"match":"\\\\bdebug\\\\b","name":"keyword.token.debug.d"},{"match":"\\\\bdefault\\\\b","name":"keyword.token.default.d"},{"match":"\\\\bdelegate\\\\b","name":"keyword.token.delegate.d"},{"match":"\\\\bdelete\\\\b","name":"keyword.token.delete.d"},{"match":"\\\\bdeprecated\\\\b","name":"keyword.token.deprecated.d"},{"match":"\\\\bdo\\\\b","name":"keyword.token.do.d"},{"match":"\\\\bdouble\\\\b","name":"keyword.token.double.d"},{"match":"\\\\belse\\\\b","name":"keyword.token.else.d"},{"match":"\\\\benum\\\\b","name":"keyword.token.enum.d"},{"match":"\\\\bexport\\\\b","name":"keyword.token.export.d"},{"match":"\\\\bextern\\\\b","name":"keyword.token.extern.d"},{"match":"\\\\bfalse\\\\b","name":"constant.language.boolean.false.d"},{"match":"\\\\bfinal\\\\b","name":"keyword.token.final.d"},{"match":"\\\\bfinally\\\\b","name":"keyword.token.finally.d"},{"match":"\\\\bfloat\\\\b","name":"keyword.token.float.d"},{"match":"\\\\bfor\\\\b","name":"keyword.token.for.d"},{"match":"\\\\bforeach\\\\b","name":"keyword.token.foreach.d"},{"match":"\\\\bforeach_reverse\\\\b","name":"keyword.token.foreach_reverse.d"},{"match":"\\\\bfunction\\\\b","name":"keyword.token.function.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.token.goto.d"},{"match":"\\\\bidouble\\\\b","name":"keyword.token.idouble.d"},{"match":"\\\\bif\\\\b","name":"keyword.token.if.d"},{"match":"\\\\bifloat\\\\b","name":"keyword.token.ifloat.d"},{"match":"\\\\bimmutable\\\\b","name":"keyword.token.immutable.d"},{"match":"\\\\bimport\\\\b","name":"keyword.token.import.d"},{"match":"\\\\bin\\\\b","name":"keyword.token.in.d"},{"match":"\\\\binout\\\\b","name":"keyword.token.inout.d"},{"match":"\\\\bint\\\\b","name":"keyword.token.int.d"},{"match":"\\\\binterface\\\\b","name":"keyword.token.interface.d"},{"match":"\\\\binvariant\\\\b","name":"keyword.token.invariant.d"},{"match":"\\\\bireal\\\\b","name":"keyword.token.ireal.d"},{"match":"\\\\bis\\\\b","name":"keyword.token.is.d"},{"match":"\\\\blazy\\\\b","name":"keyword.token.lazy.d"},{"match":"\\\\blong\\\\b","name":"keyword.token.long.d"},{"match":"\\\\bmacro\\\\b","name":"keyword.token.macro.d"},{"match":"\\\\bmixin\\\\b","name":"keyword.token.mixin.d"},{"match":"\\\\bmodule\\\\b","name":"keyword.token.module.d"},{"match":"\\\\bnew\\\\b","name":"keyword.token.new.d"},{"match":"\\\\bnothrow\\\\b","name":"keyword.token.nothrow.d"},{"match":"\\\\bnull\\\\b","name":"constant.language.null.d"},{"match":"\\\\bout\\\\b","name":"keyword.token.out.d"},{"match":"\\\\boverride\\\\b","name":"keyword.token.override.d"},{"match":"\\\\bpackage\\\\b","name":"keyword.token.package.d"},{"match":"\\\\bpragma\\\\b","name":"keyword.token.pragma.d"},{"match":"\\\\bprivate\\\\b","name":"keyword.token.private.d"},{"match":"\\\\bprotected\\\\b","name":"keyword.token.protected.d"},{"match":"\\\\bpublic\\\\b","name":"keyword.token.public.d"},{"match":"\\\\bpure\\\\b","name":"keyword.token.pure.d"},{"match":"\\\\breal\\\\b","name":"keyword.token.real.d"},{"match":"\\\\bref\\\\b","name":"keyword.token.ref.d"},{"match":"\\\\breturn\\\\b","name":"keyword.token.return.d"},{"match":"\\\\bscope\\\\b","name":"keyword.token.scope.d"},{"match":"\\\\bshared\\\\b","name":"keyword.token.shared.d"},{"match":"\\\\bshort\\\\b","name":"keyword.token.short.d"},{"match":"\\\\bstatic\\\\b","name":"keyword.token.static.d"},{"match":"\\\\bstruct\\\\b","name":"keyword.token.struct.d"},{"match":"\\\\bsuper\\\\b","name":"keyword.token.super.d"},{"match":"\\\\bswitch\\\\b","name":"keyword.token.switch.d"},{"match":"\\\\bsynchronized\\\\b","name":"keyword.token.synchronized.d"},{"match":"\\\\btemplate\\\\b","name":"keyword.token.template.d"},{"match":"\\\\bthis\\\\b","name":"keyword.token.this.d"},{"match":"\\\\bthrow\\\\b","name":"keyword.token.throw.d"},{"match":"\\\\btrue\\\\b","name":"constant.language.boolean.true.d"},{"match":"\\\\btry\\\\b","name":"keyword.token.try.d"},{"match":"\\\\btypedef\\\\b","name":"keyword.token.typedef.d"},{"match":"\\\\btypeid\\\\b","name":"keyword.token.typeid.d"},{"match":"\\\\btypeof\\\\b","name":"keyword.token.typeof.d"},{"match":"\\\\bubyte\\\\b","name":"keyword.token.ubyte.d"},{"match":"\\\\bucent\\\\b","name":"keyword.token.ucent.d"},{"match":"\\\\buint\\\\b","name":"keyword.token.uint.d"},{"match":"\\\\bulong\\\\b","name":"keyword.token.ulong.d"},{"match":"\\\\bunion\\\\b","name":"keyword.token.union.d"},{"match":"\\\\bunittest\\\\b","name":"keyword.token.unittest.d"},{"match":"\\\\bushort\\\\b","name":"keyword.token.ushort.d"},{"match":"\\\\bversion\\\\b","name":"keyword.token.version.d"},{"match":"\\\\bvoid\\\\b","name":"keyword.token.void.d"},{"match":"\\\\bvolatile\\\\b","name":"keyword.token.volatile.d"},{"match":"\\\\bwchar\\\\b","name":"keyword.token.wchar.d"},{"match":"\\\\bwhile\\\\b","name":"keyword.token.while.d"},{"match":"\\\\bwith\\\\b","name":"keyword.token.with.d"},{"match":"\\\\b__FILE__\\\\b","name":"keyword.token.__FILE__.d"},{"match":"\\\\b__MODULE__\\\\b","name":"keyword.token.__MODULE__.d"},{"match":"\\\\b__LINE__\\\\b","name":"keyword.token.__LINE__.d"},{"match":"\\\\b__FUNCTION__\\\\b","name":"keyword.token.__FUNCTION__.d"},{"match":"\\\\b__PRETTY_FUNCTION__\\\\b","name":"keyword.token.__PRETTY_FUNCTION__.d"},{"match":"\\\\b__gshared\\\\b","name":"keyword.token.__gshared.d"},{"match":"\\\\b__traits\\\\b","name":"keyword.token.__traits.d"},{"match":"\\\\b__vector\\\\b","name":"keyword.token.__vector.d"},{"match":"\\\\b__parameters\\\\b","name":"keyword.token.__parameters.d"}]},"labeled-statement":{"patterns":[{"match":"\\\\b(?!abstract|alias|align|asm|assert|auto|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|in|inout|int|interface|invariant|ireal|is|lazy|long|macro|mixin|module|new|nothrow|noreturn|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__FILE__|__MODULE__|__LINE__|__FUNCTION__|__PRETTY_FUNCTION__|__gshared|__traits|__vector|__parameters)[A-Z_a-z][0-9A-Z_a-z]*\\\\s*:","name":"entity.name.d"}]},"lexical":{"patterns":[{"include":"#comment"},{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#eof"},{"include":"#special-tokens"},{"include":"#special-token-sequence"},{"include":"#keyword"},{"include":"#identifier"}]},"line-comment":{"patterns":[{"match":"//+.*$","name":"comment.line.d"}]},"linkage-attribute":{"patterns":[{"begin":"\\\\bextern\\\\s*\\\\(\\\\s*C\\\\+\\\\+\\\\s*,","beginCaptures":{"0":{"name":"keyword.other.extern.cplusplus.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.cplusplus.end.d"}},"patterns":[{"include":"#identifier"},{"include":"#comma"}]},{"begin":"\\\\bextern\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.extern.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.end.d"}},"patterns":[{"include":"#linkage-type"}]}]},"linkage-type":{"patterns":[{"match":"C|C\\\\+\\\\+|D|Windows|Pascal|System","name":"storage.modifier.linkage-type.d"}]},"logical-expression":{"patterns":[{"match":"\\\\|\\\\||&&|==|!=?","name":"keyword.operator.logical.d"}]},"member-function-attribute":{"patterns":[{"match":"\\\\b(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.member-function-attribute"}]},"mixin-declaration":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-expression":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-statement":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.mixintemplate.d"},"2":{"name":"entity.name.type.mixintemplate.d"}},"match":"\\\\b(mixin\\\\s*template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"module":{"packages":[{"import":"#module-declaration"}]},"module-declaration":{"patterns":[{"begin":"\\\\b(module)\\\\s+","beginCaptures":{"1":{"name":"keyword.package.module.d"}},"end":";","endCaptures":{"0":{"name":"meta.module.end.d"}},"patterns":[{"include":"#module-identifier"},{"include":"#comment"}]}]},"module-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.module.d"}]},"nesting-block-comment":{"patterns":[{"begin":"/((?!\\\\+/)\\\\+)+","beginCaptures":{"0":{"name":"comment.block.documentation.begin.d"}},"end":"\\\\++/","endCaptures":{"0":{"name":"comment.block.documentation.end.d"}},"name":"comment.block.documentation.content.d","patterns":[{"include":"#nesting-block-comment"}]}]},"new-expression":{"patterns":[{"match":"\\\\bnew\\\\s+","name":"keyword.other.new.d"}]},"non-block-statement":{"patterns":[{"include":"#module-declaration"},{"include":"#labeled-statement"},{"include":"#if-statement"},{"include":"#while-statement"},{"include":"#do-statement"},{"include":"#for-statement"},{"include":"#static-foreach"},{"include":"#static-foreach-reverse"},{"include":"#foreach-statement"},{"include":"#foreach-reverse-statement"},{"include":"#switch-statement"},{"include":"#final-switch-statement"},{"include":"#case-statement"},{"include":"#default-statement"},{"include":"#continue-statement"},{"include":"#break-statement"},{"include":"#return-statement"},{"include":"#goto-statement"},{"include":"#with-statement"},{"include":"#synchronized-statement"},{"include":"#try-statement"},{"include":"#catches"},{"include":"#scope-guard-statement"},{"include":"#throw-statement"},{"include":"#finally-statement"},{"include":"#asm-statement"},{"include":"#pragma-statement"},{"include":"#mixin-statement"},{"include":"#conditional-statement"},{"include":"#static-assert"},{"include":"#deprecated-statement"},{"include":"#unit-test"},{"include":"#declaration-statement"}]},"operands":{"patterns":[{"match":"[:?]","name":"keyword.operator.ternary.assembly.d"},{"match":"[]\\\\[]","name":"keyword.operator.bracket.assembly.d"},{"match":">>>|\\\\|\\\\||&&|==|!=|<=|>=|<<|>>|[-!%\\\\&*+/<>^|~]","name":"keyword.operator.assembly.d"}]},"out-statement":{"patterns":[{"begin":"\\\\bout\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.out.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.out.end.d"}},"patterns":[{"include":"#identifier"}]},{"match":"\\\\bout\\\\b","name":"keyword.control.out.d"}]},"parentheses-expression":{"patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#expression"}]}]},"postblit":{"patterns":[{"match":"\\\\bthis\\\\s*\\\\(\\\\s*this\\\\s*\\\\)\\\\s","name":"entity.name.class.postblit.d"}]},"pragma":{"patterns":[{"match":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*\\\\)","name":"keyword.other.pragma.d"},{"begin":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*,","end":"\\\\)","name":"keyword.other.pragma.d","patterns":[{"include":"#expression"}]},{"match":"^#!.+","name":"gfm.markup.header.preprocessor.script-tag.d"}]},"pragma-statement":{"patterns":[{"include":"#pragma"}]},"property":{"patterns":[{"match":"@(property|safe|trusted|system|disable|nogc)\\\\b","name":"entity.name.tag.property.d"},{"include":"#user-defined-attribute"}]},"protection-attribute":{"patterns":[{"match":"\\\\b(private|package|protected|public|export)\\\\b","name":"keyword.other.protections.d"}]},"register":{"patterns":[{"match":"\\\\b(XMM0|XMM1|XMM2|XMM3|XMM4|XMM5|XMM6|XMM7|MM0|MM1|MM2|MM3|MM4|MM5|MM6|MM7|ST\\\\(0\\\\)|ST\\\\(1\\\\)|ST\\\\(2\\\\)|ST\\\\(3\\\\)|ST\\\\(4\\\\)|ST\\\\(5\\\\)|ST\\\\(6\\\\)|ST\\\\(7\\\\)|ST|TR1|TR2|TR3|TR4|TR5|TR6|TR7|DR0|DR1|DR2|DR3|DR4|DR5|DR6|DR7|CR0|CR2|CR3|CR4|EAX|EBX|ECX|EDX|EBP|ESP|EDI|ESI|AL|AH|AX|BL|BH|BX|CL|CH|CX|DL|DH|DX|BP|SP|DI|SI|ES|CS|SS|DS|GS|FS)\\\\b","name":"storage.type.assembly.register.d"}]},"register-64":{"patterns":[{"match":"\\\\b(RAX|RBX|RCX|RDX|BPL|RBP|SPL|RSP|DIL|RDI|SIL|RSI|R8B|R8W|R8D?|R9B|R9W|R9D?|R10B|R10W|R10D?|R11B|R11W|R11D?|R12B|R12W|R12D?|R13B|R13W|R13D?|R14B|R14W|R14D?|R15B|R15W|R15D?|XMM8|XMM9|XMM10|XMM11|XMM12|XMM13|XMM14|XMM15|YMM0|YMM1|YMM2|YMM3|YMM4|YMM5|YMM6|YMM7|YMM8|YMM9|YMM10|YMM11|YMM12|YMM13|YMM14|YMM15)\\\\b","name":"storage.type.assembly.register-64.d"}]},"rel-expression":{"patterns":[{"match":"!<>=?|<>=|!>=|!<=|<=|>=|<>|!>|!<|[<>]","name":"keyword.operator.rel.d"}]},"return-statement":{"patterns":[{"match":"\\\\breturn\\\\b","name":"keyword.control.return.d"}]},"scope-guard-statement":{"patterns":[{"match":"\\\\bscope\\\\s*\\\\((exit|success|failure)\\\\)","name":"keyword.control.scope.d"}]},"semi-colon":{"patterns":[{"match":";","name":"meta.statement.end.d"}]},"shared-static-constructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.constructor.shared-static.d"},{"include":"#function-body"}]},"shared-static-destructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.static.d"}]},"shift-expression":{"patterns":[{"match":"<<|>>>??","name":"keyword.operator.shift.d"},{"include":"#add-expression"}]},"special-keyword":{"patterns":[{"match":"\\\\b(__(?:FILE|FILE_FULL_PATH|MODULE|LINE|FUNCTION|PRETTY_FUNCTION)__)\\\\b","name":"constant.language.special-keyword.d"}]},"special-token-sequence":{"patterns":[{"match":"#\\\\s*line.*","name":"gfm.markup.italic.special-token-sequence.d"}]},"special-tokens":{"patterns":[{"match":"\\\\b(__(?:DATE|TIME|TIMESTAMP|VENDOR|VERSION)__)\\\\b","name":"gfm.markup.raw.special-tokens.d"}]},"statement":{"patterns":[{"include":"#non-block-statement"},{"include":"#semi-colon"}]},"static-assert":{"patterns":[{"begin":"\\\\bstatic\\\\s+assert\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.static-assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.static-assert.end.d"}},"patterns":[{"include":"#expression"}]}]},"static-foreach":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-foreach-reverse":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-if-condition":{"patterns":[{"begin":"\\\\bstatic\\\\s+if\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.static-if.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.static-if.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"}]}]},"storage-class":{"patterns":[{"match":"\\\\b(deprecated|enum|static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"storage.class.d"},{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#property"}]},"string-literal":{"patterns":[{"include":"#wysiwyg-string"},{"include":"#alternate-wysiwyg-string"},{"include":"#hex-string"},{"include":"#arbitrary-delimited-string"},{"include":"#delimited-string"},{"include":"#double-quoted-string"},{"include":"#token-string"},{"include":"#ies-string"},{"include":"#ies-wysiwyg-string"},{"include":"#ies-token-string"}]},"struct-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.struct.d"},"2":{"name":"entity.name.type.struct.d"}},"match":"\\\\b(struct)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"switch-statement":{"patterns":[{"begin":"\\\\b(switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"synchronized-statement":{"patterns":[{"begin":"\\\\b(synchronized)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.synchronized.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.template.d"},"2":{"name":"entity.name.type.template.d"}},"match":"\\\\b(template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"throw-statement":{"patterns":[{"match":"\\\\bthrow\\\\b","name":"keyword.control.throw.d"}]},"token-string":{"begin":"q\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#token-string-content"}]},"token-string-content":{"patterns":[{"begin":"\\\\{","end":"}","patterns":[{"include":"#token-string-content"}]},{"include":"#comment"},{"include":"#tokens"}]},"tokens":{"patterns":[{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#integer-literal"},{"include":"#float-literal"},{"include":"#keyword"},{"match":"~=?|>>>|>>=?|>=?|=>|==?|<>|<=|<<?|%=|[#%]|&=|&&|[$\\\\&]|\\\\|=|\\\\|\\\\|?|\\\\+=|\\\\+\\\\+?|\\\\^=|\\\\^\\\\^=?|\\\\^|\\\\*=|[]()*\\\\[{}]|\\\\.\\\\.\\\\.?|[.?]|!>=?|!=|!<>=?|!<=?|!|/=|[,/:;@]|-=|--?","name":"meta.lexical.token.symbolic.d"},{"include":"#identifier"}]},"traits-argument":{"patterns":[{"include":"#expression"},{"include":"#type"}]},"traits-arguments":{"patterns":[{"include":"#traits-argument"},{"include":"#comma"}]},"traits-expression":{"patterns":[{"begin":"\\\\b__traits\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.traits.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.traits.end.d"}},"patterns":[{"include":"#traits-keyword"},{"include":"#comma"},{"include":"#traits-argument"}]}]},"traits-keyword":{"patterns":[{"match":"isAbstractClass|isArithmetic|isAssociativeArray|isFinalClass|isPOD|isNested|isFloating|isIntegral|isScalar|isStaticArray|isUnsigned|isVirtualFunction|isVirtualMethod|isAbstractFunction|isFinalFunction|isStaticFunction|isOverrideFunction|isRef|isOut|isLazy|hasMember|identifier|getAliasThis|getAttributes|getMember|getOverloads|getProtection|getVirtualFunctions|getVirtualMethods|getUnitTests|parent|classInstanceSize|getVirtualIndex|allMembers|derivedMembers|isSame|compiles","name":"support.constant.traits-keyword.d"}]},"try-statement":{"patterns":[{"match":"\\\\btry\\\\b","name":"keyword.control.try.d"}]},"type":{"patterns":[{"include":"#typeof"},{"include":"#base-type"},{"include":"#type-ctor"},{"begin":"!\\\\(","end":"\\\\)","patterns":[{"include":"#type"},{"include":"#expression"}]}]},"type-ctor":{"patterns":[{"match":"(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.d"}]},"type-specialization":{"patterns":[{"match":"\\\\b(struct|union|class|interface|enum|function|delegate|super|const|immutable|inout|shared|return|__parameters)\\\\b","name":"keyword.other.storage.type-specialization.d"}]},"typeid-expression":{"patterns":[{"match":"\\\\btypeid\\\\s*(?=\\\\()","name":"keyword.other.typeid.d"}]},"typeof":{"begin":"typeof\\\\s*\\\\(","end":"\\\\)","name":"keyword.token.typeof.d","patterns":[{"match":"return","name":"keyword.control.return.d"},{"include":"#expression"}]},"union-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.union.d"},"2":{"name":"entity.name.type.union.d"}},"match":"\\\\b(union)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"user-defined-attribute":{"patterns":[{"match":"@([_\\\\w][_\\\\d\\\\w]*)\\\\b","name":"entity.name.tag.user-defined-property.d"},{"begin":"@([_\\\\w][_\\\\d\\\\w]*)?\\\\(","end":"\\\\)","name":"entity.name.tag.user-defined-property.d","patterns":[{"include":"#expression"}]}]},"version-condition":{"patterns":[{"match":"\\\\bversion\\\\s*\\\\(\\\\s*unittest\\\\s*\\\\)","name":"keyword.other.version.unittest.d"},{"match":"\\\\bversion\\\\s*\\\\(\\\\s*assert\\\\s*\\\\)","name":"keyword.other.version.assert.d"},{"begin":"\\\\bversion\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.version.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.version.identifer.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"include":"#version-specification"}]},"version-specification":{"patterns":[{"match":"\\\\bversion\\\\b\\\\s*(?==)","name":"keyword.other.version-specification.d"}]},"void-initializer":{"patterns":[{"match":"\\\\bvoid\\\\b","name":"support.type.void.d"}]},"while-statement":{"patterns":[{"begin":"\\\\b(while)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.while.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"with-statement":{"patterns":[{"begin":"\\\\b(with)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.with.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"wysiwyg-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"}]},"wysiwyg-string":{"patterns":[{"begin":"r\\"","end":"\\"[cdw]?","name":"string.wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]}},"scopeName":"source.d"}')), t = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
t as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { c as O, w as M, a as J, f as P, b as N, s as A } from "./chunk-RYQCIY6F-fkeERzIG.js";
|
|
2
|
+
import { _ as X, am as v, an as D, ao as H, ap as Y, l as d, c as _, aq as W, ar as $, ag as j, as as q, ah as R, af as F, at as z, au as K, av as G } from "./index-JkCQXUYs.js";
|
|
3
|
+
import { G as Q } from "./graph-B68L3K2T.js";
|
|
4
|
+
import { l as U } from "./layout-BGrtsiRL.js";
|
|
5
|
+
var C = /* @__PURE__ */ X((o, s, l) => Math.max(s, Math.min(l, o)), "clamp"), B = /* @__PURE__ */ X((o = "TB") => {
|
|
6
|
+
switch (o) {
|
|
7
|
+
case "BT":
|
|
8
|
+
return "bottom";
|
|
9
|
+
case "LR":
|
|
10
|
+
return "right";
|
|
11
|
+
case "RL":
|
|
12
|
+
return "left";
|
|
13
|
+
case "TB":
|
|
14
|
+
default:
|
|
15
|
+
return "top";
|
|
16
|
+
}
|
|
17
|
+
}, "getDefaultSelfLoopSide"), V = /* @__PURE__ */ X((o) => o === "flowchart" || o === "flowchart-v2" || o === "stateDiagram", "shouldMergeSelfLoopSegments"), Z = /* @__PURE__ */ X((o, s, l, y, a) => {
|
|
18
|
+
const f = [], p = /* @__PURE__ */ new Set();
|
|
19
|
+
if (l.forEach(({ start: r, end: t }) => {
|
|
20
|
+
r !== y && p.add(r), t !== y && p.add(t);
|
|
21
|
+
}), p.forEach((r) => {
|
|
22
|
+
const t = o.node(r);
|
|
23
|
+
typeof (t == null ? void 0 : t.x) == "number" && typeof (t == null ? void 0 : t.y) == "number" && f.push(t);
|
|
24
|
+
}), f.length === 0 && l.forEach(({ edge: r }) => {
|
|
25
|
+
(r.points ?? []).forEach((t) => {
|
|
26
|
+
typeof (t == null ? void 0 : t.x) == "number" && typeof (t == null ? void 0 : t.y) == "number" && f.push(t);
|
|
27
|
+
});
|
|
28
|
+
}), f.length === 0)
|
|
29
|
+
return B(a);
|
|
30
|
+
const c = f.reduce(
|
|
31
|
+
(r, t) => ({
|
|
32
|
+
x: r.x + t.x / f.length,
|
|
33
|
+
y: r.y + t.y / f.length
|
|
34
|
+
}),
|
|
35
|
+
{ x: 0, y: 0 }
|
|
36
|
+
), h = c.x - s.x, i = c.y - s.y;
|
|
37
|
+
return Math.abs(h) > Math.abs(i) ? h > 0 ? "right" : "left" : Math.abs(i) > 0 ? i > 0 ? "bottom" : "top" : B(a);
|
|
38
|
+
}, "getSelfLoopSide"), ee = /* @__PURE__ */ X((o, s = "top", l = 0, y = 0) => {
|
|
39
|
+
const a = o.x, f = o.y - l, p = o.width / 2, c = o.height / 2, h = Math.max(36, Math.min(100, o.width * 0.8)), i = C(Math.max(y, o.width * 0.35), 36, h), r = C(Math.min(o.width, o.height) * 0.45, 24, 48);
|
|
40
|
+
switch (s) {
|
|
41
|
+
case "bottom": {
|
|
42
|
+
const t = f + c;
|
|
43
|
+
return [
|
|
44
|
+
{ x: a - i / 2, y: t },
|
|
45
|
+
{ x: a - i / 2, y: t + r },
|
|
46
|
+
{ x: a + i / 2, y: t + r },
|
|
47
|
+
{ x: a + i / 2, y: t }
|
|
48
|
+
];
|
|
49
|
+
}
|
|
50
|
+
case "right": {
|
|
51
|
+
const t = a + p;
|
|
52
|
+
return [
|
|
53
|
+
{ x: t, y: f - i / 2 },
|
|
54
|
+
{ x: t + r, y: f - i / 2 },
|
|
55
|
+
{ x: t + r, y: f + i / 2 },
|
|
56
|
+
{ x: t, y: f + i / 2 }
|
|
57
|
+
];
|
|
58
|
+
}
|
|
59
|
+
case "left": {
|
|
60
|
+
const t = a - p;
|
|
61
|
+
return [
|
|
62
|
+
{ x: t, y: f - i / 2 },
|
|
63
|
+
{ x: t - r, y: f - i / 2 },
|
|
64
|
+
{ x: t - r, y: f + i / 2 },
|
|
65
|
+
{ x: t, y: f + i / 2 }
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
case "top":
|
|
69
|
+
default: {
|
|
70
|
+
const t = f - c;
|
|
71
|
+
return [
|
|
72
|
+
{ x: a - i / 2, y: t },
|
|
73
|
+
{ x: a - i / 2, y: t - r },
|
|
74
|
+
{ x: a + i / 2, y: t - r },
|
|
75
|
+
{ x: a + i / 2, y: t }
|
|
76
|
+
];
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}, "getSelfLoopPoints"), te = /* @__PURE__ */ X((o, s, l = "top", y = 0, a = {}) => {
|
|
80
|
+
const p = o.x, c = o.y - y, h = a.width ?? 0, i = a.height ?? 0;
|
|
81
|
+
switch (l) {
|
|
82
|
+
case "bottom":
|
|
83
|
+
return { x: p, y: Math.max(...s.map((r) => r.y)) + i / 2 + 4 };
|
|
84
|
+
case "right":
|
|
85
|
+
return { x: Math.max(...s.map((r) => r.x)) + h / 2 + 4, y: c };
|
|
86
|
+
case "left":
|
|
87
|
+
return { x: Math.min(...s.map((r) => r.x)) - h / 2 - 4, y: c };
|
|
88
|
+
case "top":
|
|
89
|
+
default:
|
|
90
|
+
return { x: p, y: Math.min(...s.map((r) => r.y)) - i / 2 - 4 };
|
|
91
|
+
}
|
|
92
|
+
}, "getSelfLoopLabelPosition"), se = /* @__PURE__ */ X((o, s = 0, { mergeSelfLoops: l = !0 } = {}) => {
|
|
93
|
+
var p;
|
|
94
|
+
const y = /* @__PURE__ */ new Map(), a = [], f = (p = o.graph()) == null ? void 0 : p.rankdir;
|
|
95
|
+
return o.edges().forEach((c) => {
|
|
96
|
+
const h = o.edge(c);
|
|
97
|
+
if (l && h.selfLoop) {
|
|
98
|
+
const i = h.selfLoop.id;
|
|
99
|
+
y.has(i) || y.set(i, []), y.get(i).push({ edge: h, start: c.v, end: c.w });
|
|
100
|
+
} else
|
|
101
|
+
a.push({ edge: h, start: c.v, end: c.w });
|
|
102
|
+
}), y.forEach((c) => {
|
|
103
|
+
if (c.length !== 3) {
|
|
104
|
+
c.forEach((n) => a.push(n));
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
c.sort((n, e) => n.edge.selfLoop.order - e.edge.selfLoop.order);
|
|
108
|
+
const [h, i, r] = c, t = h.edge.originalEdge ?? i.edge.originalEdge ?? r.edge.originalEdge ?? i.edge, g = o.node(t.start);
|
|
109
|
+
if (!g) {
|
|
110
|
+
c.forEach((n) => a.push(n));
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
const S = {
|
|
114
|
+
width: i.edge.width,
|
|
115
|
+
height: i.edge.height
|
|
116
|
+
}, w = Z(o, g, c, t.start, f), b = ee(g, w, s, S.width ?? 0), E = te(g, b, w, s, S), m = {
|
|
117
|
+
...i.edge,
|
|
118
|
+
...t,
|
|
119
|
+
id: t.id,
|
|
120
|
+
points: b,
|
|
121
|
+
start: t.start,
|
|
122
|
+
end: t.end,
|
|
123
|
+
x: E.x,
|
|
124
|
+
y: E.y,
|
|
125
|
+
width: S.width,
|
|
126
|
+
height: S.height,
|
|
127
|
+
labelStyle: i.edge.labelStyle,
|
|
128
|
+
fromCluster: h.edge.fromCluster ?? i.edge.fromCluster ?? r.edge.fromCluster,
|
|
129
|
+
toCluster: h.edge.toCluster ?? i.edge.toCluster ?? r.edge.toCluster
|
|
130
|
+
};
|
|
131
|
+
delete m.selfLoop, delete m.originalEdge, a.push({ edge: m, start: m.start, end: m.end });
|
|
132
|
+
}), a;
|
|
133
|
+
}, "getEdgesToRender"), T = /* @__PURE__ */ X(async (o, s, l, y, a, f) => {
|
|
134
|
+
d.warn("Graph in recursive render:XAX", M(s), a);
|
|
135
|
+
const p = s.graph().rankdir;
|
|
136
|
+
d.trace("Dir in recursive render - dir:", p);
|
|
137
|
+
const c = o.insert("g").attr("class", "root");
|
|
138
|
+
s.nodes() ? d.info("Recursive render XXX", s.nodes()) : d.info("No nodes found for", s), s.edges().length > 0 && d.info("Recursive edges", s.edge(s.edges()[0]));
|
|
139
|
+
const h = c.insert("g").attr("class", "clusters"), i = c.insert("g").attr("class", "edgePaths"), r = c.insert("g").attr("class", "edgeLabels"), t = c.insert("g").attr("class", "nodes"), g = V(l);
|
|
140
|
+
await Promise.all(
|
|
141
|
+
s.nodes().map(async function(n) {
|
|
142
|
+
const e = s.node(n);
|
|
143
|
+
if (a !== void 0) {
|
|
144
|
+
const u = JSON.parse(JSON.stringify(a.clusterData));
|
|
145
|
+
d.trace(
|
|
146
|
+
`Setting data for parent cluster XXX
|
|
147
|
+
Node.id = `,
|
|
148
|
+
n,
|
|
149
|
+
`
|
|
150
|
+
data=`,
|
|
151
|
+
u.height,
|
|
152
|
+
`
|
|
153
|
+
Parent cluster`,
|
|
154
|
+
a.height
|
|
155
|
+
), s.setNode(a.id, u), s.parent(n) || (d.trace("Setting parent", n, a.id), s.setParent(n, a.id, u));
|
|
156
|
+
}
|
|
157
|
+
if (d.info("(Insert) Node XXX" + n + ": " + JSON.stringify(s.node(n))), e != null && e.clusterNode) {
|
|
158
|
+
d.info("Cluster identified XBX", n, e.width, s.node(n));
|
|
159
|
+
const { ranksep: u, nodesep: x } = s.graph();
|
|
160
|
+
e.graph.setGraph({
|
|
161
|
+
...e.graph.graph(),
|
|
162
|
+
ranksep: u + 25,
|
|
163
|
+
nodesep: x
|
|
164
|
+
});
|
|
165
|
+
const L = await T(
|
|
166
|
+
t,
|
|
167
|
+
e.graph,
|
|
168
|
+
l,
|
|
169
|
+
y,
|
|
170
|
+
s.node(n),
|
|
171
|
+
f
|
|
172
|
+
), I = L.elem;
|
|
173
|
+
W(e, I), e.diff = L.diff || 0, d.info(
|
|
174
|
+
"New compound node after recursive render XAX",
|
|
175
|
+
n,
|
|
176
|
+
"width",
|
|
177
|
+
// node,
|
|
178
|
+
e.width,
|
|
179
|
+
"height",
|
|
180
|
+
e.height
|
|
181
|
+
// node.x,
|
|
182
|
+
// node.y
|
|
183
|
+
), $(I, e);
|
|
184
|
+
} else
|
|
185
|
+
s.children(n).length > 0 ? (d.trace(
|
|
186
|
+
"Cluster - the non recursive path XBX",
|
|
187
|
+
n,
|
|
188
|
+
e.id,
|
|
189
|
+
e,
|
|
190
|
+
e.width,
|
|
191
|
+
"Graph:",
|
|
192
|
+
s
|
|
193
|
+
), d.trace(P(e.id, s)), N.set(e.id, { id: P(e.id, s), node: e })) : (d.trace("Node - the non recursive path XAX", n, t, s.node(n), p), await j(t, s.node(n), { config: f, dir: p }));
|
|
194
|
+
})
|
|
195
|
+
), await (/* @__PURE__ */ X(async () => {
|
|
196
|
+
const n = s.edges().map(async function(e) {
|
|
197
|
+
const u = s.edge(e.v, e.w, e.name);
|
|
198
|
+
if (d.info("Edge " + e.v + " -> " + e.w + ": " + JSON.stringify(e)), d.info("Edge " + e.v + " -> " + e.w + ": ", e, " ", JSON.stringify(s.edge(e))), d.info(
|
|
199
|
+
"Fix",
|
|
200
|
+
N,
|
|
201
|
+
"ids:",
|
|
202
|
+
e.v,
|
|
203
|
+
e.w,
|
|
204
|
+
"Translating: ",
|
|
205
|
+
N.get(e.v),
|
|
206
|
+
N.get(e.w)
|
|
207
|
+
), g && u.selfLoop) {
|
|
208
|
+
if (u.selfLoop.order !== 1)
|
|
209
|
+
return;
|
|
210
|
+
const x = u.id;
|
|
211
|
+
u.id = u.selfLoop.id, await G(r, u), u.id = x;
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
await G(r, u);
|
|
215
|
+
});
|
|
216
|
+
await Promise.all(n);
|
|
217
|
+
}, "processEdges"))(), d.info("Graph before layout:", JSON.stringify(M(s))), d.info("############################################# XXX"), d.info("### Layout ### XXX"), d.info("############################################# XXX"), U(s), d.info("Graph after layout:", JSON.stringify(M(s)));
|
|
218
|
+
let w = 0, { subGraphTitleTotalMargin: b } = q(f);
|
|
219
|
+
await Promise.all(
|
|
220
|
+
A(s).map(async function(n) {
|
|
221
|
+
var u;
|
|
222
|
+
const e = s.node(n);
|
|
223
|
+
if (d.info(
|
|
224
|
+
"Position XBX => " + n + ": (" + e.x,
|
|
225
|
+
"," + e.y,
|
|
226
|
+
") width: ",
|
|
227
|
+
e.width,
|
|
228
|
+
" height: ",
|
|
229
|
+
e.height
|
|
230
|
+
), e != null && e.clusterNode)
|
|
231
|
+
e.y += b, d.info(
|
|
232
|
+
"A tainted cluster node XBX1",
|
|
233
|
+
n,
|
|
234
|
+
e.id,
|
|
235
|
+
e.width,
|
|
236
|
+
e.height,
|
|
237
|
+
e.x,
|
|
238
|
+
e.y,
|
|
239
|
+
s.parent(n)
|
|
240
|
+
), N.get(e.id).node = e, R(e);
|
|
241
|
+
else if (s.children(n).length > 0) {
|
|
242
|
+
d.info(
|
|
243
|
+
"A pure cluster node XBX1",
|
|
244
|
+
n,
|
|
245
|
+
e.id,
|
|
246
|
+
e.x,
|
|
247
|
+
e.y,
|
|
248
|
+
e.width,
|
|
249
|
+
e.height,
|
|
250
|
+
s.parent(n)
|
|
251
|
+
), e.height += b, s.node(e.parentId);
|
|
252
|
+
const x = (e == null ? void 0 : e.padding) / 2 || 0, L = ((u = e == null ? void 0 : e.labelBBox) == null ? void 0 : u.height) || 0, I = L - x || 0;
|
|
253
|
+
d.debug("OffsetY", I, "labelHeight", L, "halfPadding", x), await F(h, e), N.get(e.id).node = e;
|
|
254
|
+
} else {
|
|
255
|
+
const x = s.node(e.parentId);
|
|
256
|
+
e.y += b / 2, d.info(
|
|
257
|
+
"A regular node XBX1 - using the padding",
|
|
258
|
+
e.id,
|
|
259
|
+
"parent",
|
|
260
|
+
e.parentId,
|
|
261
|
+
e.width,
|
|
262
|
+
e.height,
|
|
263
|
+
e.x,
|
|
264
|
+
e.y,
|
|
265
|
+
"offsetY",
|
|
266
|
+
e.offsetY,
|
|
267
|
+
"parent",
|
|
268
|
+
x,
|
|
269
|
+
x == null ? void 0 : x.offsetY,
|
|
270
|
+
e
|
|
271
|
+
), R(e);
|
|
272
|
+
}
|
|
273
|
+
})
|
|
274
|
+
);
|
|
275
|
+
const E = b / 2;
|
|
276
|
+
return se(s, E, { mergeSelfLoops: g }).forEach(function({ edge: n, start: e, end: u }) {
|
|
277
|
+
d.info("Edge " + e + " -> " + u + ": " + JSON.stringify(n), n), n.points.forEach((k) => k.y += E);
|
|
278
|
+
const x = s.node(e), L = s.node(u), I = z(i, n, N, l, x, L, y);
|
|
279
|
+
K(n, I);
|
|
280
|
+
}), s.nodes().forEach(function(n) {
|
|
281
|
+
const e = s.node(n);
|
|
282
|
+
d.info(n, e.type, e.diff), e.isGroup && (w = e.diff);
|
|
283
|
+
}), d.warn("Returning from recursive render XAX", c, w), { elem: c, diff: w };
|
|
284
|
+
}, "recursiveRender"), ae = /* @__PURE__ */ X(async (o, s) => {
|
|
285
|
+
var f, p, c, h, i, r;
|
|
286
|
+
const l = new Q({
|
|
287
|
+
multigraph: !0,
|
|
288
|
+
compound: !0
|
|
289
|
+
}).setGraph({
|
|
290
|
+
rankdir: o.direction,
|
|
291
|
+
nodesep: ((f = o.config) == null ? void 0 : f.nodeSpacing) || ((c = (p = o.config) == null ? void 0 : p.flowchart) == null ? void 0 : c.nodeSpacing) || o.nodeSpacing,
|
|
292
|
+
ranksep: ((h = o.config) == null ? void 0 : h.rankSpacing) || ((r = (i = o.config) == null ? void 0 : i.flowchart) == null ? void 0 : r.rankSpacing) || o.rankSpacing,
|
|
293
|
+
marginx: 8,
|
|
294
|
+
marginy: 8
|
|
295
|
+
}).setDefaultEdgeLabel(function() {
|
|
296
|
+
return {};
|
|
297
|
+
}), y = s.select("g");
|
|
298
|
+
v(y, o.markers, o.type, o.diagramId), D(), H(), Y(), O(), o.nodes.forEach((t) => {
|
|
299
|
+
l.setNode(t.id, { ...t }), t.parentId && l.setParent(t.id, t.parentId);
|
|
300
|
+
}), d.debug("Edges:", o.edges), o.edges.forEach((t) => {
|
|
301
|
+
if (t.start === t.end) {
|
|
302
|
+
const g = t.start, S = g + "---" + g + "---1", w = g + "---" + g + "---2", b = l.node(g);
|
|
303
|
+
l.setNode(S, {
|
|
304
|
+
domId: S,
|
|
305
|
+
id: S,
|
|
306
|
+
parentId: b.parentId,
|
|
307
|
+
labelStyle: "",
|
|
308
|
+
label: "",
|
|
309
|
+
padding: 0,
|
|
310
|
+
shape: "labelRect",
|
|
311
|
+
// shape: 'rect',
|
|
312
|
+
style: "",
|
|
313
|
+
width: 10,
|
|
314
|
+
height: 10
|
|
315
|
+
}), l.setParent(S, b.parentId), l.setNode(w, {
|
|
316
|
+
domId: w,
|
|
317
|
+
id: w,
|
|
318
|
+
parentId: b.parentId,
|
|
319
|
+
labelStyle: "",
|
|
320
|
+
padding: 0,
|
|
321
|
+
// shape: 'rect',
|
|
322
|
+
shape: "labelRect",
|
|
323
|
+
label: "",
|
|
324
|
+
style: "",
|
|
325
|
+
width: 10,
|
|
326
|
+
height: 10
|
|
327
|
+
}), l.setParent(w, b.parentId);
|
|
328
|
+
const E = structuredClone(t), m = structuredClone(t), n = structuredClone(t), e = structuredClone(t);
|
|
329
|
+
m.originalEdge = E, m.selfLoop = { id: E.id, order: 0 }, n.originalEdge = E, n.selfLoop = { id: E.id, order: 1 }, e.originalEdge = E, e.selfLoop = { id: E.id, order: 2 }, m.label = "", m.arrowTypeEnd = "none", m.endLabelLeft = "", m.endLabelRight = "", m.startLabelLeft = "", m.id = g + "-cyclic-special-1", n.startLabelRight = "", n.startLabelLeft = "", n.endLabelLeft = "", n.endLabelRight = "", n.arrowTypeStart = "none", n.arrowTypeEnd = "none", n.id = g + "-cyclic-special-mid", e.label = "", e.startLabelRight = "", e.startLabelLeft = "", e.arrowTypeStart = "none", b.isGroup && (m.fromCluster = g, e.toCluster = g), e.id = g + "-cyclic-special-2", e.arrowTypeStart = "none", l.setEdge(g, S, m, g + "-cyclic-special-0"), l.setEdge(S, w, n, g + "-cyclic-special-1"), l.setEdge(w, g, e, g + "-cyclic-special-2");
|
|
330
|
+
} else
|
|
331
|
+
l.setEdge(t.start, t.end, { ...t }, t.id);
|
|
332
|
+
}), d.warn("Graph at first:", JSON.stringify(M(l))), J(l), d.warn("Graph after XAX:", JSON.stringify(M(l)));
|
|
333
|
+
const a = _();
|
|
334
|
+
await T(
|
|
335
|
+
y,
|
|
336
|
+
l,
|
|
337
|
+
o.type,
|
|
338
|
+
o.diagramId,
|
|
339
|
+
void 0,
|
|
340
|
+
a
|
|
341
|
+
);
|
|
342
|
+
}, "render");
|
|
343
|
+
export {
|
|
344
|
+
se as getEdgesToRender,
|
|
345
|
+
ae as render
|
|
346
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"colors":{"actionBar.toggledBackground":"#383a49","activityBarBadge.background":"#007ACC","checkbox.border":"#6B6B6B","editor.background":"#1E1E1E","editor.foreground":"#D4D4D4","editor.inactiveSelectionBackground":"#3A3D41","editor.selectionHighlightBackground":"#ADD6FF26","editorIndentGuide.activeBackground1":"#707070","editorIndentGuide.background1":"#404040","input.placeholderForeground":"#A6A6A6","list.activeSelectionIconForeground":"#FFF","list.dropBackground":"#383B3D","menu.background":"#252526","menu.border":"#454545","menu.foreground":"#CCCCCC","menu.selectionBackground":"#0078d4","menu.separatorBackground":"#454545","ports.iconRunningProcessForeground":"#369432","sideBarSectionHeader.background":"#0000","sideBarSectionHeader.border":"#ccc3","sideBarTitle.foreground":"#BBBBBB","statusBarItem.remoteBackground":"#16825D","statusBarItem.remoteForeground":"#FFF","tab.lastPinnedBorder":"#ccc3","tab.selectedBackground":"#222222","tab.selectedForeground":"#ffffffa0","terminal.inactiveSelectionBackground":"#3A3D41","widget.border":"#303031"},"displayName":"Dark Plus","name":"dark-plus","semanticHighlighting":true,"semanticTokenColors":{"customLiteral":"#DCDCAA","newOperator":"#C586C0","numberLiteral":"#b5cea8","stringLiteral":"#ce9178"},"tokenColors":[{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown","variable.legacy.builtin.python"],"settings":{"foreground":"#D4D4D4"}},{"scope":"emphasis","settings":{"fontStyle":"italic"}},{"scope":"strong","settings":{"fontStyle":"bold"}},{"scope":"header","settings":{"foreground":"#000080"}},{"scope":"comment","settings":{"foreground":"#6A9955"}},{"scope":"constant.language","settings":{"foreground":"#569cd6"}},{"scope":["constant.numeric","variable.other.enummember","keyword.operator.plus.exponent","keyword.operator.minus.exponent"],"settings":{"foreground":"#b5cea8"}},{"scope":"constant.regexp","settings":{"foreground":"#646695"}},{"scope":"entity.name.tag","settings":{"foreground":"#569cd6"}},{"scope":["entity.name.tag.css","entity.name.tag.less"],"settings":{"foreground":"#d7ba7d"}},{"scope":"entity.other.attribute-name","settings":{"foreground":"#9cdcfe"}},{"scope":["entity.other.attribute-name.class.css","source.css entity.other.attribute-name.class","entity.other.attribute-name.id.css","entity.other.attribute-name.parent-selector.css","entity.other.attribute-name.parent.less","source.css entity.other.attribute-name.pseudo-class","entity.other.attribute-name.pseudo-element.css","source.css.less entity.other.attribute-name.id","entity.other.attribute-name.scss"],"settings":{"foreground":"#d7ba7d"}},{"scope":"invalid","settings":{"foreground":"#f44747"}},{"scope":"markup.underline","settings":{"fontStyle":"underline"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.heading","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.italic","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inserted","settings":{"foreground":"#b5cea8"}},{"scope":"markup.deleted","settings":{"foreground":"#ce9178"}},{"scope":"markup.changed","settings":{"foreground":"#569cd6"}},{"scope":"punctuation.definition.quote.begin.markdown","settings":{"foreground":"#6A9955"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#6796e6"}},{"scope":"markup.inline.raw","settings":{"foreground":"#ce9178"}},{"scope":"punctuation.definition.tag","settings":{"foreground":"#808080"}},{"scope":["meta.preprocessor","entity.name.function.preprocessor"],"settings":{"foreground":"#569cd6"}},{"scope":"meta.preprocessor.string","settings":{"foreground":"#ce9178"}},{"scope":"meta.preprocessor.numeric","settings":{"foreground":"#b5cea8"}},{"scope":"meta.structure.dictionary.key.python","settings":{"foreground":"#9cdcfe"}},{"scope":"meta.diff.header","settings":{"foreground":"#569cd6"}},{"scope":"storage","settings":{"foreground":"#569cd6"}},{"scope":"storage.type","settings":{"foreground":"#569cd6"}},{"scope":["storage.modifier","keyword.operator.noexcept"],"settings":{"foreground":"#569cd6"}},{"scope":["string","meta.embedded.assembly"],"settings":{"foreground":"#ce9178"}},{"scope":"string.tag","settings":{"foreground":"#ce9178"}},{"scope":"string.value","settings":{"foreground":"#ce9178"}},{"scope":"string.regexp","settings":{"foreground":"#d16969"}},{"scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#569cd6"}},{"scope":["meta.template.expression"],"settings":{"foreground":"#d4d4d4"}},{"scope":["support.type.vendored.property-name","support.type.property-name","source.css variable","source.coffee.embedded"],"settings":{"foreground":"#9cdcfe"}},{"scope":"keyword","settings":{"foreground":"#569cd6"}},{"scope":"keyword.control","settings":{"foreground":"#569cd6"}},{"scope":"keyword.operator","settings":{"foreground":"#d4d4d4"}},{"scope":["keyword.operator.new","keyword.operator.expression","keyword.operator.cast","keyword.operator.sizeof","keyword.operator.alignof","keyword.operator.typeid","keyword.operator.alignas","keyword.operator.instanceof","keyword.operator.logical.python","keyword.operator.wordlike"],"settings":{"foreground":"#569cd6"}},{"scope":"keyword.other.unit","settings":{"foreground":"#b5cea8"}},{"scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#569cd6"}},{"scope":"support.function.git-rebase","settings":{"foreground":"#9cdcfe"}},{"scope":"constant.sha.git-rebase","settings":{"foreground":"#b5cea8"}},{"scope":["storage.modifier.import.java","variable.language.wildcard.java","storage.modifier.package.java"],"settings":{"foreground":"#d4d4d4"}},{"scope":"variable.language","settings":{"foreground":"#569cd6"}},{"scope":["entity.name.function","support.function","support.constant.handlebars","source.powershell variable.other.member","entity.name.operator.custom-literal"],"settings":{"foreground":"#DCDCAA"}},{"scope":["support.class","support.type","entity.name.type","entity.name.namespace","entity.other.attribute","entity.name.scope-resolution","entity.name.class","storage.type.numeric.go","storage.type.byte.go","storage.type.boolean.go","storage.type.string.go","storage.type.uintptr.go","storage.type.error.go","storage.type.rune.go","storage.type.cs","storage.type.generic.cs","storage.type.modifier.cs","storage.type.variable.cs","storage.type.annotation.java","storage.type.generic.java","storage.type.java","storage.type.object.array.java","storage.type.primitive.array.java","storage.type.primitive.java","storage.type.token.java","storage.type.groovy","storage.type.annotation.groovy","storage.type.parameters.groovy","storage.type.generic.groovy","storage.type.object.array.groovy","storage.type.primitive.array.groovy","storage.type.primitive.groovy"],"settings":{"foreground":"#4EC9B0"}},{"scope":["meta.type.cast.expr","meta.type.new.expr","support.constant.math","support.constant.dom","support.constant.json","entity.other.inherited-class","punctuation.separator.namespace.ruby"],"settings":{"foreground":"#4EC9B0"}},{"scope":["keyword.control","source.cpp keyword.operator.new","keyword.operator.delete","keyword.other.using","keyword.other.directive.using","keyword.other.operator","entity.name.operator"],"settings":{"foreground":"#C586C0"}},{"scope":["variable","meta.definition.variable.name","support.variable","entity.name.variable","constant.other.placeholder"],"settings":{"foreground":"#9CDCFE"}},{"scope":["variable.other.constant","variable.other.enummember"],"settings":{"foreground":"#4FC1FF"}},{"scope":["meta.object-literal.key"],"settings":{"foreground":"#9CDCFE"}},{"scope":["support.constant.property-value","support.constant.font-name","support.constant.media-type","support.constant.media","constant.other.color.rgb-value","constant.other.rgb-value","support.constant.color"],"settings":{"foreground":"#CE9178"}},{"scope":["punctuation.definition.group.regexp","punctuation.definition.group.assertion.regexp","punctuation.definition.character-class.regexp","punctuation.character.set.begin.regexp","punctuation.character.set.end.regexp","keyword.operator.negation.regexp","support.other.parenthesis.regexp"],"settings":{"foreground":"#CE9178"}},{"scope":["constant.character.character-class.regexp","constant.other.character-class.set.regexp","constant.other.character-class.regexp","constant.character.set.regexp"],"settings":{"foreground":"#d16969"}},{"scope":["keyword.operator.or.regexp","keyword.control.anchor.regexp"],"settings":{"foreground":"#DCDCAA"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d7ba7d"}},{"scope":["constant.character","constant.other.option"],"settings":{"foreground":"#569cd6"}},{"scope":"constant.character.escape","settings":{"foreground":"#d7ba7d"}},{"scope":"entity.name.label","settings":{"foreground":"#C8C8C8"}}],"type":"dark"}'));
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"displayName":"Dart","name":"dart","patterns":[{"match":"^(#!.*)$","name":"meta.preprocessor.script.dart"},{"begin":"^\\\\w*\\\\b(augment\\\\s+library|library|import\\\\s+augment|import|part\\\\s+of|part|export)\\\\b","beginCaptures":{"0":{"name":"keyword.other.import.dart"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.dart"}},"name":"meta.declaration.dart","patterns":[{"include":"#strings"},{"include":"#comments"},{"match":"\\\\b(as|show|hide)\\\\b","name":"keyword.other.import.dart"},{"match":"\\\\b(if)\\\\b","name":"keyword.control.dart"}]},{"include":"#comments"},{"include":"#punctuation"},{"include":"#annotations"},{"include":"#keywords"},{"include":"#constants-and-special-vars"},{"include":"#operators"},{"include":"#strings"}],"repository":{"annotations":{"patterns":[{"match":"@[A-Za-z]+","name":"storage.type.annotation.dart"}]},"class-identifier":{"patterns":[{"match":"(?<!\\\\$)\\\\b(bool|num|int|double|dynamic)\\\\b(?!\\\\$)","name":"support.class.dart"},{"match":"(?<!\\\\$)\\\\bvoid\\\\b(?!\\\\$)","name":"storage.type.primitive.dart"},{"begin":"(?<![$0-9A-Z_a-z])([$_]*[A-Z][$0-9A-Z_a-z]*)\\\\b","beginCaptures":{"1":{"name":"support.class.dart"}},"end":"(?!<)","patterns":[{"include":"#type-args"}]}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.dart"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.dart"},{"include":"#comments-doc-oldschool"},{"include":"#comments-doc"},{"include":"#comments-inline"}]},"comments-block":{"patterns":[{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.dart","patterns":[{"include":"#comments-block"}]}]},"comments-doc":{"patterns":[{"begin":"///","end":"^(?!\\\\s*///)","name":"comment.block.documentation.dart","patterns":[{"include":"#dartdoc"}]}]},"comments-doc-oldschool":{"patterns":[{"begin":"/\\\\*\\\\*","end":"\\\\*/","name":"comment.block.documentation.dart","patterns":[{"include":"#comments-doc-oldschool"},{"include":"#comments-block"},{"include":"#dartdoc"}]}]},"comments-inline":{"patterns":[{"include":"#comments-block"},{"captures":{"1":{"name":"comment.line.double-slash.dart"}},"match":"((//).*)$"}]},"constants-and-special-vars":{"patterns":[{"match":"(?<!\\\\$)\\\\b(true|false|null)\\\\b(?!\\\\$)","name":"constant.language.dart"},{"match":"(?<!\\\\$)\\\\b(this|super|augmented)\\\\b(?!\\\\$)","name":"variable.language.dart"},{"match":"(?<!\\\\$)\\\\b((0([Xx])\\\\h[_\\\\h]*)|(([0-9][0-9_]*\\\\.?[0-9_]*)|(\\\\.[0-9][0-9_]*))(([Ee])([-+])?[0-9][0-9_]*)?)\\\\b(?!\\\\$)","name":"constant.numeric.dart"},{"include":"#class-identifier"},{"include":"#function-identifier"}]},"dartdoc":{"patterns":[{"captures":{"0":{"name":"variable.name.source.dart"}},"match":"(\\\\[.*?])"},{"begin":"^\\\\s*///\\\\s*(```)","end":"^(?:\\\\s*///\\\\s*(```)|(?!\\\\s*///))","patterns":[{"include":"#dartdoc-codeblock-triple"}]},{"begin":"^\\\\s*\\\\*\\\\s*(```)","end":"^(?:\\\\s*\\\\*\\\\s*(```)|(?=\\\\s*\\\\*/))","patterns":[{"include":"#dartdoc-codeblock-block"}]},{"match":"`[^\\\\n`]+`","name":"variable.other.source.dart"},{"captures":{"1":{"name":"variable.other.source.dart"}},"match":"(?:\\\\*|//)\\\\s{4,}(.*?)(?=($|\\\\*/))"}]},"dartdoc-codeblock-block":{"begin":"^\\\\s*\\\\*\\\\s*(?!(\\\\s*```|/))","contentName":"variable.other.source.dart","end":"\\\\n"},"dartdoc-codeblock-triple":{"begin":"^\\\\s*///\\\\s*(?!\\\\s*```)","contentName":"variable.other.source.dart","end":"\\\\n"},"expression":{"patterns":[{"include":"#constants-and-special-vars"},{"include":"#strings"},{"match":"[0-9A-Z_a-z]+","name":"variable.parameter.dart"},{"begin":"\\\\{","end":"}","patterns":[{"include":"#expression"}]}]},"function-identifier":{"patterns":[{"captures":{"1":{"name":"entity.name.function.dart"},"2":{"patterns":[{"include":"#type-args"}]}},"match":"([$_]*[a-z][$0-9A-Z_a-z]*)(<(?:[$0-9<>?A-Z_a-z]|,\\\\s*|\\\\s+extends\\\\s+)+>)?[!?]?\\\\("}]},"keywords":{"patterns":[{"match":"(?<!\\\\$)\\\\bas\\\\b(?!\\\\$)","name":"keyword.cast.dart"},{"match":"(?<!\\\\$)\\\\b(try|on|catch|finally|throw|rethrow)\\\\b(?!\\\\$)","name":"keyword.control.catch-exception.dart"},{"match":"(?<!\\\\$)\\\\b(break|case|continue|default|do|else|for|if|in|switch|while|when)\\\\b(?!\\\\$)","name":"keyword.control.dart"},{"match":"(?<!\\\\$)\\\\b(sync(\\\\*)?|async(\\\\*)?|await|yield(\\\\*)?)\\\\b(?!\\\\$)","name":"keyword.control.dart"},{"match":"(?<!\\\\$)\\\\bassert\\\\b(?!\\\\$)","name":"keyword.control.dart"},{"match":"(?<!\\\\$)\\\\b(new)\\\\b(?!\\\\$)","name":"keyword.control.new.dart"},{"match":"(?<!\\\\$)\\\\b(return)\\\\b(?!\\\\$)","name":"keyword.control.return.dart"},{"match":"(?<!\\\\$)\\\\b(abstract|sealed|base|interface|class|enum|extends|extension\\\\s+type|extension|external|factory|implements|get(?![(<])|mixin|native|operator|set(?![(<])|typedef|with|covariant)\\\\b(?!\\\\$)","name":"keyword.declaration.dart"},{"match":"(?<!\\\\$)\\\\b(macro|augment|static|final|const|required|late)\\\\b(?!\\\\$)","name":"storage.modifier.dart"},{"match":"(?<!\\\\$)\\\\bv(?:oid|ar)\\\\b(?!\\\\$)","name":"storage.type.primitive.dart"}]},"operators":{"patterns":[{"match":"(?<!\\\\$)\\\\b(is!?)\\\\b(?!\\\\$)","name":"keyword.operator.dart"},{"match":"[:?]","name":"keyword.operator.ternary.dart"},{"match":"(<<|>>>?|[\\\\&^|~])","name":"keyword.operator.bitwise.dart"},{"match":"(([\\\\&^|]|<<|>>>?)=)","name":"keyword.operator.assignment.bitwise.dart"},{"match":"(=>)","name":"keyword.operator.closure.dart"},{"match":"(==|!=|<=?|>=?)","name":"keyword.operator.comparison.dart"},{"match":"(([-%*+/~])=)","name":"keyword.operator.assignment.arithmetic.dart"},{"match":"(=)","name":"keyword.operator.assignment.dart"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.dart"},{"match":"([-*+/]|~/|%)","name":"keyword.operator.arithmetic.dart"},{"match":"(!|&&|\\\\|\\\\|)","name":"keyword.operator.logical.dart"}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.comma.dart"},{"match":";","name":"punctuation.terminator.dart"},{"match":"\\\\.","name":"punctuation.dot.dart"}]},"string-interp":{"patterns":[{"captures":{"1":{"name":"variable.parameter.dart"}},"match":"\\\\$([0-9A-Z_a-z]+)","name":"meta.embedded.expression.dart"},{"begin":"\\\\$\\\\{","end":"}","name":"meta.embedded.expression.dart","patterns":[{"include":"#expression"}]},{"match":"\\\\\\\\.","name":"constant.character.escape.dart"}]},"strings":{"patterns":[{"begin":"(?<!r)\\"\\"\\"","end":"\\"\\"\\"(?!\\")","name":"string.interpolated.triple.double.dart","patterns":[{"include":"#string-interp"}]},{"begin":"(?<!r)\'\'\'","end":"\'\'\'(?!\')","name":"string.interpolated.triple.single.dart","patterns":[{"include":"#string-interp"}]},{"begin":"r\\"\\"\\"","end":"\\"\\"\\"(?!\\")","name":"string.quoted.triple.double.dart"},{"begin":"r\'\'\'","end":"\'\'\'(?!\')","name":"string.quoted.triple.single.dart"},{"begin":"(?<!\\\\|r)\\"","end":"\\"","name":"string.interpolated.double.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"},{"include":"#string-interp"}]},{"begin":"r\\"","end":"\\"","name":"string.quoted.double.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"}]},{"begin":"(?<!\\\\|r)\'","end":"\'","name":"string.interpolated.single.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"},{"include":"#string-interp"}]},{"begin":"r\'","end":"\'","name":"string.quoted.single.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"}]}]},"type-args":{"begin":"(<)","beginCaptures":{"1":{"name":"other.source.dart"}},"end":"(>)","endCaptures":{"1":{"name":"other.source.dart"}},"patterns":[{"include":"#class-identifier"},{"match":","},{"match":"extends","name":"keyword.declaration.dart"},{"include":"#comments"}]}},"scopeName":"source.dart"}')), t = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
t as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const E = Object.freeze(JSON.parse(`{"displayName":"DAX","name":"dax","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#labels"},{"include":"#parameters"},{"include":"#strings"},{"include":"#numbers"}],"repository":{"comments":{"patterns":[{"begin":"//","captures":{"0":{"name":"punctuation.definition.comment.dax"}},"end":"\\\\n","name":"comment.line.dax"},{"begin":"--","captures":{"0":{"name":"punctuation.definition.comment.dax"}},"end":"\\\\n","name":"comment.line.dax"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.dax"}},"end":"\\\\*/","name":"comment.block.dax"}]},"keywords":{"patterns":[{"match":"\\\\b(YIELDMAT|YIELDDISC|YIELD|YEARFRAC|YEAR|XNPV|XIRR|WEEKNUM|WEEKDAY|VDB|VARX.S|VARX.P|VAR.S|VAR.P|VALUES?|UTCTODAY|UTCNOW|USERPRINCIPALNAME|USEROBJECTID|USERNAME|USERELATIONSHIP|USERCULTURE|UPPER|UNION|UNICODE|UNICHAR|TRUNC|TRUE|TRIM|TREATAS|TOTALYTD|TOTALQTD|TOTALMTD|TOPNSKIP|TOPNPERLEVEL|TOPN|TODAY|TIMEVALUE|TIME|TBILLYIELD|TBILLPRICE|TBILLEQ|TANH?|T.INV.2T|T.INV|T.DIST.RT|T.DIST.2T|T.DIST|SYD|SWITCH|SUMX|SUMMARIZECOLUMNS|SUMMARIZE|SUM|SUBSTITUTEWITHINDEX|SUBSTITUTE|STDEVX.S|STDEVX.P|STDEV.S|STDEV.P|STARTOFYEAR|STARTOFQUARTER|STARTOFMONTH|SQRTPI|SQRT|SLN|SINH?|SIGN|SELECTEDVALUE|SELECTEDMEASURENAME|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURE|SELECTCOLUMNS|SECOND|SEARCH|SAMPLE|SAMEPERIODLASTYEAR|RRI|ROW|ROUNDUP|ROUNDDOWN|ROUND|ROLLUPISSUBTOTAL|ROLLUPGROUP|ROLLUPADDISSUBTOTAL|ROLLUP|RIGHT|REPT|REPLACE|REMOVEFILTERS|RELATEDTABLE|RELATED|RECEIVED|RATE|RANKX|RANK.EQ|RANDBETWEEN|RAND|RADIANS|QUOTIENT|QUARTER|PV|PRODUCTX?|PRICEMAT|PRICEDISC|PRICE|PREVIOUSYEAR|PREVIOUSQUARTER|PREVIOUSMONTH|PREVIOUSDAY|PPMT|POWER|POISSON.DIST|PMT|PI|PERMUT|PERCENTILEX.INC|PERCENTILEX.EXC|PERCENTILE.INC|PERCENTILE.EXC|PDURATION|PATHLENGTH|PATHITEMREVERSE|PATHITEM|PATHCONTAINS|PATH|PARALLELPERIOD|OR|OPENINGBALANCEYEAR|OPENINGBALANCEQUARTER|OPENINGBALANCEMONTH|ODDLYIELD|ODDLPRICE|ODDFYIELD|ODDFPRICE|ODD|NPER|NOW|NOT|NORM.S.INV|NORM.S.DIST|NORM.INV|NORM.DIST|NONVISUAL|NOMINAL|NEXTYEAR|NEXTQUARTER|NEXTMONTH|NEXTDAY|NATURALLEFTOUTERJOIN|NATURALINNERJOIN|MROUND|MONTH|MOD|MINX|MINUTE|MINA?|MID|MEDIANX?|MDURATION|MAXX|MAXA?|LOWER|LOOKUPVALUE|LOG10|LOG|LN|LEN|LEFT|LCM|LASTNONBLANKVALUE|LASTNONBLANK|LASTDATE|KEYWORDMATCH|KEEPFILTERS|ISTEXT|ISSUBTOTAL|ISSELECTEDMEASURE|ISPMT|ISONORAFTER|ISODD|ISO.CEILING|ISNUMBER|ISNONTEXT|ISLOGICAL|ISINSCOPE|ISFILTERED|ISEVEN|ISERROR|ISEMPTY|ISCROSSFILTERED|ISBLANK|ISAFTER|IPMT|INTRATE|INTERSECT|INT|IGNORE|IFERROR|IF.EAGER|IF|HOUR|HASONEVALUE|HASONEFILTER|HASH|GROUPBY|GEOMEANX?|GENERATESERIES|GENERATEALL|GENERATE|GCD|FV|FORMAT|FLOOR|FIXED|FIRSTNONBLANKVALUE|FIRSTNONBLANK|FIRSTDATE|FIND|FILTERS?|FALSE|FACT|EXPON.DIST|EXP|EXCEPT|EXACT|EVEN|ERROR|EOMONTH|ENDOFYEAR|ENDOFQUARTER|ENDOFMONTH|EFFECT|EDATE|EARLIEST|EARLIER|DURATION|DOLLARFR|DOLLARDE|DIVIDE|DISTINCTCOUNTNOBLANK|DISTINCTCOUNT|DISTINCT|DISC|DETAILROWS|DEGREES|DDB|DB|DAY|DATEVALUE|DATESYTD|DATESQTD|DATESMTD|DATESINPERIOD|DATESBETWEEN|DATEDIFF|DATEADD|DATE|DATATABLE|CUSTOMDATA|CURRENTGROUP|CURRENCY|CUMPRINC|CUMIPMT|CROSSJOIN|CROSSFILTER|COUPPCD|COUPNUM|COUPNCD|COUPDAYSNC|COUPDAYS|COUPDAYBS|COUNTX|COUNTROWS|COUNTBLANK|COUNTAX?|COUNT|COTH?|COSH?|CONVERT|CONTAINSSTRINGEXACT|CONTAINSSTRING|CONTAINSROW|CONTAINS|CONFIDENCE.T|CONFIDENCE.NORM|CONCATENATEX?|COMBINEVALUES|COMBINA?|COLUMNSTATISTICS|COALESCE|CLOSINGBALANCEYEAR|CLOSINGBALANCEQUARTER|CLOSINGBALANCEMONTH|CHISQ.INV.RT|CHISQ.INV|CHISQ.DIST.RT|CHISQ.DIST|CEILING|CALENDARAUTO|CALENDAR|CALCULATETABLE|CALCULATE|BLANK|BETA.INV|BETA.DIST|AVERAGEX|AVERAGEA?|ATANH?|ASINH?|APPROXIMATEDISTINCTCOUNT|AND|AMORLINC|AMORDEGRC|ALLSELECTED|ALLNOBLANKROW|ALLEXCEPT|ALLCROSSFILTERED|ALL|ADDMISSINGITEMS|ADDCOLUMNS|ACOTH?|ACOSH?|ACCRINTM?|ABS)\\\\b","name":"variable.language.dax"},{"match":"\\\\b(DEFINE|EVALUATE|ORDER BY|RETURN|VAR)\\\\b","name":"keyword.control.dax"},{"match":"[{}]","name":"keyword.array.constructor.dax"},{"match":"[<>]|>=|<=|=(?!==)","name":"keyword.operator.comparison.dax"},{"match":"&&|IN|NOT|\\\\|\\\\|","name":"keyword.operator.logical.dax"},{"match":"[-*+/]","name":"keyword.arithmetic.operator.dax"},{"begin":"\\\\[","end":"]","name":"support.function.dax"},{"begin":"\\"","end":"\\"","name":"string.quoted.double.dax"},{"begin":"'","end":"'","name":"support.class.dax"}]},"labels":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.label.dax"},"2":{"name":"entity.name.label.dax"}},"match":"^((.*?)\\\\s*([!:]=))"}]},"metas":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.dax"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.dax"}}}]},"numbers":{"match":"-?(?:0|[1-9]\\\\d*)(?:(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)?","name":"constant.numeric.dax"},"parameters":{"patterns":[{"begin":"\\\\b(?<!\\\\.)(VAR)\\\\b(?<!\\\\.)\\\\b","beginCaptures":{"1":{"name":"keyword.control.dax"},"2":{"name":"variable.other.readwrite.dax"}},"end":"=","endCaptures":{"0":{"name":"keyword.operator.assignment.dax"}},"name":"meta.function.definition.parameters.dax","patterns":[{"match":"=","name":"keyword.control.dax"}]},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"variable.other.constant.dax"}]},"strings":{"begin":"\\"","end":"\\"","name":"string.quoted.double.dax","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.dax"}]}},"scopeName":"source.dax"}`)), T = [
|
|
2
|
+
E
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
T as default
|
|
6
|
+
};
|